async_fence_data 36 lib/pacemaker/pcmk_fence.c } async_fence_data = { NULL, }; async_fence_data 124 lib/pacemaker/pcmk_fence.c if (pcmk__str_eq(async_fence_data.target, e->target, pcmk__str_casei) async_fence_data 125 lib/pacemaker/pcmk_fence.c && pcmk__str_eq(async_fence_data.action, e->action, pcmk__str_none)) { async_fence_data 127 lib/pacemaker/pcmk_fence.c pcmk__set_result(&async_fence_data.result, async_fence_data 138 lib/pacemaker/pcmk_fence.c pcmk__set_result(&async_fence_data.result, stonith__exit_status(data), async_fence_data 147 lib/pacemaker/pcmk_fence.c stonith_t *st = async_fence_data.st; async_fence_data 149 lib/pacemaker/pcmk_fence.c int rc = stonith_api_connect_retry(st, async_fence_data.name, 10); async_fence_data 154 lib/pacemaker/pcmk_fence.c pcmk__set_result(&async_fence_data.result, CRM_EX_ERROR, async_fence_data 164 lib/pacemaker/pcmk_fence.c async_fence_data.target, async_fence_data 165 lib/pacemaker/pcmk_fence.c async_fence_data.action, async_fence_data 166 lib/pacemaker/pcmk_fence.c async_fence_data.timeout/1000, async_fence_data 167 lib/pacemaker/pcmk_fence.c async_fence_data.tolerance/1000, async_fence_data 168 lib/pacemaker/pcmk_fence.c async_fence_data.delay); async_fence_data 172 lib/pacemaker/pcmk_fence.c pcmk__set_result(&async_fence_data.result, CRM_EX_ERROR, async_fence_data 177 lib/pacemaker/pcmk_fence.c timeout = async_fence_data.timeout / 1000; async_fence_data 178 lib/pacemaker/pcmk_fence.c if (async_fence_data.delay > 0) { async_fence_data 179 lib/pacemaker/pcmk_fence.c timeout += async_fence_data.delay; async_fence_data 194 lib/pacemaker/pcmk_fence.c async_fence_data.st = st; async_fence_data 195 lib/pacemaker/pcmk_fence.c async_fence_data.name = strdup(name); async_fence_data 196 lib/pacemaker/pcmk_fence.c async_fence_data.target = target; async_fence_data 197 lib/pacemaker/pcmk_fence.c async_fence_data.action = action; async_fence_data 198 lib/pacemaker/pcmk_fence.c async_fence_data.timeout = timeout; async_fence_data 199 lib/pacemaker/pcmk_fence.c async_fence_data.tolerance = tolerance; async_fence_data 200 lib/pacemaker/pcmk_fence.c async_fence_data.delay = delay; async_fence_data 201 lib/pacemaker/pcmk_fence.c pcmk__set_result(&async_fence_data.result, CRM_EX_ERROR, PCMK_EXEC_UNKNOWN, async_fence_data 210 lib/pacemaker/pcmk_fence.c free(async_fence_data.name); async_fence_data 214 lib/pacemaker/pcmk_fence.c *reason = async_fence_data.result.exit_reason; async_fence_data 215 lib/pacemaker/pcmk_fence.c async_fence_data.result.exit_reason = NULL; async_fence_data 217 lib/pacemaker/pcmk_fence.c rc = stonith__result2rc(&async_fence_data.result); async_fence_data 218 lib/pacemaker/pcmk_fence.c pcmk__reset_result(&async_fence_data.result);