async_fence_data 36 lib/pacemaker/pcmk_fence.c } async_fence_data = { NULL, }; async_fence_data 123 lib/pacemaker/pcmk_fence.c if (pcmk__str_eq(async_fence_data.target, e->target, pcmk__str_casei) async_fence_data 124 lib/pacemaker/pcmk_fence.c && pcmk__str_eq(async_fence_data.action, e->action, pcmk__str_none)) { async_fence_data 126 lib/pacemaker/pcmk_fence.c pcmk__set_result(&async_fence_data.result, async_fence_data 137 lib/pacemaker/pcmk_fence.c pcmk__set_result(&async_fence_data.result, stonith__exit_status(data), async_fence_data 146 lib/pacemaker/pcmk_fence.c stonith_t *st = async_fence_data.st; async_fence_data 148 lib/pacemaker/pcmk_fence.c int rc = stonith_api_connect_retry(st, async_fence_data.name, 10); async_fence_data 152 lib/pacemaker/pcmk_fence.c pcmk__set_result(&async_fence_data.result, CRM_EX_ERROR, async_fence_data 161 lib/pacemaker/pcmk_fence.c async_fence_data.target, async_fence_data 162 lib/pacemaker/pcmk_fence.c async_fence_data.action, async_fence_data 163 lib/pacemaker/pcmk_fence.c async_fence_data.timeout/1000, async_fence_data 164 lib/pacemaker/pcmk_fence.c async_fence_data.tolerance/1000, async_fence_data 165 lib/pacemaker/pcmk_fence.c async_fence_data.delay); async_fence_data 169 lib/pacemaker/pcmk_fence.c pcmk__set_result(&async_fence_data.result, CRM_EX_ERROR, async_fence_data 176 lib/pacemaker/pcmk_fence.c (async_fence_data.timeout/1000 async_fence_data 177 lib/pacemaker/pcmk_fence.c + (async_fence_data.delay > 0 ? async_fence_data.delay : 0)), async_fence_data 191 lib/pacemaker/pcmk_fence.c async_fence_data.st = st; async_fence_data 192 lib/pacemaker/pcmk_fence.c async_fence_data.name = strdup(name); async_fence_data 193 lib/pacemaker/pcmk_fence.c async_fence_data.target = target; async_fence_data 194 lib/pacemaker/pcmk_fence.c async_fence_data.action = action; async_fence_data 195 lib/pacemaker/pcmk_fence.c async_fence_data.timeout = timeout; async_fence_data 196 lib/pacemaker/pcmk_fence.c async_fence_data.tolerance = tolerance; async_fence_data 197 lib/pacemaker/pcmk_fence.c async_fence_data.delay = delay; async_fence_data 198 lib/pacemaker/pcmk_fence.c pcmk__set_result(&async_fence_data.result, CRM_EX_ERROR, PCMK_EXEC_UNKNOWN, async_fence_data 207 lib/pacemaker/pcmk_fence.c free(async_fence_data.name); async_fence_data 211 lib/pacemaker/pcmk_fence.c *reason = async_fence_data.result.exit_reason; async_fence_data 212 lib/pacemaker/pcmk_fence.c async_fence_data.result.exit_reason = NULL; async_fence_data 214 lib/pacemaker/pcmk_fence.c rc = stonith__result2rc(&async_fence_data.result); async_fence_data 215 lib/pacemaker/pcmk_fence.c pcmk__reset_result(&async_fence_data.result);