st 19 daemons/controld/controld_fencing.c tengine_stonith_history_synced(stonith_t *st, stonith_event_t *st_event); st 450 daemons/controld/controld_fencing.c tengine_stonith_connection_destroy(stonith_t *st, stonith_event_t *e) st 452 daemons/controld/controld_fencing.c te_cleanup_stonith_history_sync(st, FALSE); st 468 daemons/controld/controld_fencing.c stonith_api->cmds->disconnect(st); st 487 daemons/controld/controld_fencing.c handle_fence_notification(stonith_t *st, stonith_event_t *event) st 1041 daemons/controld/controld_fencing.c te_cleanup_stonith_history_sync(stonith_t *st, bool free_timers) st 1053 daemons/controld/controld_fencing.c if (st) { st 1054 daemons/controld/controld_fencing.c st->cmds->remove_notification(st, PCMK__VALUE_ST_NOTIFY_HISTORY_SYNCED); st 1059 daemons/controld/controld_fencing.c tengine_stonith_history_synced(stonith_t *st, stonith_event_t *st_event) st 1061 daemons/controld/controld_fencing.c te_cleanup_stonith_history_sync(st, FALSE); st 36 daemons/controld/controld_fencing.h void te_cleanup_stonith_history_sync(stonith_t *st, bool free_timers); st 63 daemons/execd/pacemaker-execd.c stonith_connection_destroy_cb(stonith_t * st, stonith_event_t * e) st 87 daemons/fenced/cts-fence-helper.c static stonith_t *st = NULL; st 120 daemons/fenced/cts-fence-helper.c if (!stonith_dispatch(st)) { st 130 daemons/fenced/cts-fence-helper.c st_callback(stonith_t * st, stonith_event_t * e) st 134 daemons/fenced/cts-fence-helper.c if (st->state == stonith_disconnected) { st 161 daemons/fenced/cts-fence-helper.c rc = st->cmds->connect(st, crm_system_name, &pollfd.fd); st 163 daemons/fenced/cts-fence-helper.c stonith_api_delete(st); st 166 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, PCMK__VALUE_ST_NOTIFY_DISCONNECT, st 168 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, PCMK__VALUE_ST_NOTIFY_FENCE, st 170 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_ADD, st_callback); st 171 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_DEL, st_callback); st 172 daemons/fenced/cts-fence-helper.c st->cmds->register_callback(st, 0, 120, st_opt_timeout_updates, NULL, "st_global_callback", st 212 daemons/fenced/cts-fence-helper.c single_test(st-> st 213 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id1", "stonith-ng", "fence_dummy", params), st 216 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", PCMK_ACTION_OFF, st 220 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", st 224 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id1"), st 239 daemons/fenced/cts-fence-helper.c single_test(st-> st 240 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id1", "stonith-ng", "fence_dummy", params), st 248 daemons/fenced/cts-fence-helper.c single_test(st-> st 249 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id2", "stonith-ng", "fence_dummy", params), st 252 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", PCMK_ACTION_OFF, st 257 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", PCMK_ACTION_ON, 3, st 261 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id1"), st 264 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id2"), st 280 daemons/fenced/cts-fence-helper.c single_test(st-> st 281 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id", "stonith-ng", "fence_dummy", params), st 286 daemons/fenced/cts-fence-helper.c single_test(st->cmds->list(st, st_opts, "test-id", NULL, 1), st 289 daemons/fenced/cts-fence-helper.c single_test(st->cmds->monitor(st, st_opts, "test-id", 1), "Monitor", 1, 0); st 291 daemons/fenced/cts-fence-helper.c single_test(st->cmds->status(st, st_opts, "test-id", "false_1_node2", 1), st 294 daemons/fenced/cts-fence-helper.c single_test(st->cmds->status(st, st_opts, "test-id", "false_1_node1", 1), st 297 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "unknown-host", PCMK_ACTION_OFF, st 301 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node1", PCMK_ACTION_OFF, st 306 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node1", PCMK_ACTION_ON, 1, st 311 daemons/fenced/cts-fence-helper.c single_test(st->cmds->register_level(st, st_opts, "node1", 999, params), st 314 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id"), "Remove test-id", 1, 0); st 324 daemons/fenced/cts-fence-helper.c rc = st->cmds->connect(st, crm_system_name, &pollfd.fd); st 326 daemons/fenced/cts-fence-helper.c stonith_api_delete(st); st 329 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, PCMK__VALUE_ST_NOTIFY_DISCONNECT, st 331 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, PCMK__VALUE_ST_NOTIFY_FENCE, st 333 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_ADD, st_callback); st 334 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_DEL, st_callback); st 335 daemons/fenced/cts-fence-helper.c st->cmds->register_callback(st, 0, 120, st_opt_timeout_updates, NULL, "st_global_callback", st 352 daemons/fenced/cts-fence-helper.c rc = st->cmds->connect(st, crm_system_name, &pollfd.fd); st 354 daemons/fenced/cts-fence-helper.c stonith_api_delete(st); st 361 daemons/fenced/cts-fence-helper.c rc = st->cmds->register_device(st, st_opts, "test-id", "stonith-ng", "fence_xvm", params); st 364 daemons/fenced/cts-fence-helper.c rc = st->cmds->list(st, st_opts, "test-id", &tmp, 10); st 367 daemons/fenced/cts-fence-helper.c rc = st->cmds->monitor(st, st_opts, "test-id", 10); st 370 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node2", 10); st 373 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); st 376 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "unknown-host", PCMK_ACTION_OFF, 60, 0); st 379 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); st 382 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "false_1_node1", PCMK_ACTION_OFF, 60, 0); st 385 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); st 388 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "false_1_node1", PCMK_ACTION_ON, 10, 0); st 391 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); st 394 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "some-host", PCMK_ACTION_OFF, 10, 0); st 397 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "some-host", 10); st 400 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "false_1_node1", PCMK_ACTION_ON, 10, 0); st 403 daemons/fenced/cts-fence-helper.c rc = st->cmds->remove_device(st, st_opts, "test-id"); st 424 daemons/fenced/cts-fence-helper.c return st->cmds->register_callback(st, st 440 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, 0, "true_1_node1", PCMK_ACTION_OFF, st 474 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, 0, "custom_timeout_node1", PCMK_ACTION_OFF, st 495 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, 0, "false_1_node2", PCMK_ACTION_OFF, st 515 daemons/fenced/cts-fence-helper.c rc = st->cmds->monitor(st, 0, "false_1", MAINLOOP_DEFAULT_TIMEOUT); st 534 daemons/fenced/cts-fence-helper.c st->cmds->register_device(st, st_opts, "false_1", "stonith-ng", "fence_dummy", params); st 541 daemons/fenced/cts-fence-helper.c st->cmds->register_device(st, st_opts, "true_1", "stonith-ng", "fence_dummy", params); st 551 daemons/fenced/cts-fence-helper.c st->cmds->register_device(st, st_opts, "false_custom_timeout", "stonith-ng", "fence_dummy", st 561 daemons/fenced/cts-fence-helper.c int rc = stonith_api_connect_retry(st, crm_system_name, 10); st 604 daemons/fenced/cts-fence-helper.c if (st) { st 605 daemons/fenced/cts-fence-helper.c rc = st->cmds->disconnect(st); st 609 daemons/fenced/cts-fence-helper.c stonith_api_delete(st); st 664 daemons/fenced/cts-fence-helper.c st = stonith_api_new(); st 665 daemons/fenced/cts-fence-helper.c if (st == NULL) { st 876 daemons/fenced/fenced_commands.c stonith_t *st = stonith_api_new(); st 879 daemons/fenced/fenced_commands.c if (st == NULL) { st 884 daemons/fenced/fenced_commands.c rc = st->cmds->metadata(st, st_opt_sync_call, agent, st 886 daemons/fenced/fenced_commands.c stonith_api_delete(st); st 244 include/crm/common/ipc_internal.h #define pcmk__ipc_create_ack(flags, tag, ver, st) \ st 245 include/crm/common/ipc_internal.h pcmk__ipc_create_ack_as(__func__, __LINE__, (flags), (tag), (ver), (st)) st 250 include/crm/common/ipc_internal.h #define pcmk__ipc_send_ack(c, req, flags, tag, ver, st) \ st 251 include/crm/common/ipc_internal.h pcmk__ipc_send_ack_as(__func__, __LINE__, (c), (req), (flags), (tag), (ver), (st)) st 168 include/crm/fencing/internal.h gboolean stonith__watchdog_fencing_enabled_for_node_api(stonith_t *st, const char *node); st 152 include/crm/stonith-ng.h int (*free) (stonith_t *st); st 164 include/crm/stonith-ng.h int (*connect) (stonith_t *st, const char *name, int *stonith_fd); st 173 include/crm/stonith-ng.h int (*disconnect)(stonith_t *st); st 185 include/crm/stonith-ng.h int (*remove_device)(stonith_t *st, int options, const char *name); st 203 include/crm/stonith-ng.h int (*register_device)(stonith_t *st, int options, const char *id, st 218 include/crm/stonith-ng.h int (*remove_level)(stonith_t *st, int options, const char *node, st 233 include/crm/stonith-ng.h int (*register_level)(stonith_t *st, int options, const char *node, st 393 include/crm/stonith-ng.h void (*callback)(stonith_t *st, st 426 include/crm/stonith-ng.h void (*callback)(stonith_t *st, st 462 include/crm/stonith-ng.h int (*remove_level_full)(stonith_t *st, int options, st 489 include/crm/stonith-ng.h int (*register_level_full)(stonith_t *st, int options, st 514 include/crm/stonith-ng.h int (*validate)(stonith_t *st, int call_options, const char *rsc_id, st 557 include/crm/stonith-ng.h void stonith_api_delete(stonith_t * st); st 559 include/crm/stonith-ng.h void stonith_dump_pending_callbacks(stonith_t * st); st 561 include/crm/stonith-ng.h bool stonith_dispatch(stonith_t * st); st 570 include/crm/stonith-ng.h int stonith_api_connect_retry(stonith_t *st, const char *name, st 568 include/pacemaker.h int pcmk_request_fencing(stonith_t *st, const char *target, const char *action, st 589 include/pacemaker.h int pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, const char *target, st 603 include/pacemaker.h int pcmk_fence_installed(xmlNodePtr *xml, stonith_t *st, unsigned int timeout); st 628 include/pacemaker.h int pcmk_fence_list_targets(xmlNodePtr *xml, stonith_t *st, st 645 include/pacemaker.h int pcmk_fence_metadata(xmlNodePtr *xml, stonith_t *st, const char *agent, st 659 include/pacemaker.h int pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, const char *target, st 674 include/pacemaker.h int pcmk_fence_register_level(stonith_t *st, const char *target, st 689 include/pacemaker.h int pcmk_fence_unregister_level(stonith_t *st, const char *target, st 705 include/pacemaker.h int pcmk_fence_validate(xmlNodePtr *xml, stonith_t *st, const char *agent, st 49 include/pcmki/pcmki_fence.h int pcmk__request_fencing(stonith_t *st, const char *target, const char *action, st 73 include/pcmki/pcmki_fence.h int pcmk__fence_history(pcmk__output_t *out, stonith_t *st, const char *target, st 93 include/pcmki/pcmki_fence.h int pcmk__fence_installed(pcmk__output_t *out, stonith_t *st, unsigned int timeout); st 130 include/pcmki/pcmki_fence.h int pcmk__fence_list_targets(pcmk__output_t *out, stonith_t *st, st 150 include/pcmki/pcmki_fence.h int pcmk__fence_metadata(pcmk__output_t *out, stonith_t *st, const char *agent, st 170 include/pcmki/pcmki_fence.h int pcmk__fence_registered(pcmk__output_t *out, stonith_t *st, st 191 include/pcmki/pcmki_fence.h int pcmk__fence_register_level(stonith_t *st, const char *target, st 212 include/pcmki/pcmki_fence.h int pcmk__fence_unregister_level(stonith_t *st, const char *target, st 234 include/pcmki/pcmki_fence.h int pcmk__fence_validate(pcmk__output_t *out, stonith_t *st, const char *agent, st 248 include/pcmki/pcmki_fence.h pcmk__get_fencing_history(stonith_t *st, stonith_history_t **stonith_history, st 213 lib/common/logging.c struct stat st; st 217 lib/common/logging.c if (fstat(logfd, &st) < 0) { st 230 lib/common/logging.c if ((st.st_gid == pcmk_gid) st 231 lib/common/logging.c && ((st.st_mode & S_IRWXG) == (S_IRGRP|S_IWGRP))) { st 28 lib/fencing/fencing_private.h int stonith__rhcs_validate(stonith_t *st, int call_options, const char *target, st 46 lib/fencing/fencing_private.h int stonith__lha_validate(stonith_t *st, int call_options, const char *target, st 42 lib/fencing/st_client.c void (*op_callback) (stonith_t * st, stonith_callback_data_t * data); st 55 lib/fencing/st_client.c void (*notify) (stonith_t * st, stonith_event_t * e); st 61 lib/fencing/st_client.c void (*callback) (stonith_t * st, stonith_callback_data_t * data); st 85 lib/fencing/st_client.c bool stonith_dispatch(stonith_t * st); st 172 lib/fencing/st_client.c stonith__watchdog_fencing_enabled_for_node_api(stonith_t *st, const char *node) st 175 lib/fencing/st_client.c stonith_t *stonith_api = st?st:stonith_api_new(); st 211 lib/fencing/st_client.c if (!st) { st 219 lib/fencing/st_client.c if (!st) { st 330 lib/fencing/st_client.c stonith_api_register_device(stonith_t *st, int call_options, st 342 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_DEVICE_ADD, data, NULL, call_options, 0); st 349 lib/fencing/st_client.c stonith_api_remove_device(stonith_t * st, int call_options, const char *name) st 357 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_DEVICE_DEL, data, NULL, call_options, 0); st 364 lib/fencing/st_client.c stonith_api_remove_level_full(stonith_t *st, int options, st 388 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_LEVEL_DEL, data, NULL, options, 0); st 395 lib/fencing/st_client.c stonith_api_remove_level(stonith_t * st, int options, const char *node, int level) st 397 lib/fencing/st_client.c return stonith_api_remove_level_full(st, options, node, st 455 lib/fencing/st_client.c stonith_api_register_level_full(stonith_t *st, int options, const char *node, st 465 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_LEVEL_ADD, data, NULL, options, 0); st 472 lib/fencing/st_client.c stonith_api_register_level(stonith_t * st, int options, const char *node, int level, st 475 lib/fencing/st_client.c return stonith_api_register_level_full(st, options, node, NULL, NULL, NULL, st 901 lib/fencing/st_client.c invoke_fence_action_callback(stonith_t *st, int call_id, st 904 lib/fencing/st_client.c void (*callback) (stonith_t *st, st 914 lib/fencing/st_client.c callback(st, &data); st 1031 lib/fencing/st_client.c update_callback_timeout(int call_id, int timeout, stonith_t * st) st 1034 lib/fencing/st_client.c stonith_private_t *private = st->st_private; st 1042 lib/fencing/st_client.c set_callback_timeout(callback, st, call_id, timeout); st 1051 lib/fencing/st_client.c stonith_t *st = userdata; st 1054 lib/fencing/st_client.c CRM_ASSERT(st != NULL); st 1055 lib/fencing/st_client.c private = st->st_private; st 1057 lib/fencing/st_client.c blob.stonith = st; st 1069 lib/fencing/st_client.c invoke_registered_callbacks(st, blob.xml, 0); st 1082 lib/fencing/st_client.c update_callback_timeout(call_id, timeout, st); st 1313 lib/fencing/st_client.c void (*callback) (stonith_t * st, stonith_callback_data_t * data)) st 1666 lib/fencing/st_client.c stonith_dispatch(stonith_t * st) st 1671 lib/fencing/st_client.c CRM_ASSERT(st != NULL); st 1672 lib/fencing/st_client.c private = st->st_private; st 1679 lib/fencing/st_client.c stonith_dispatch_internal(msg, strlen(msg), st); st 1735 lib/fencing/st_client.c stonith_api_validate(stonith_t *st, int call_options, const char *rsc_id, st 1789 lib/fencing/st_client.c rc = stonith__rhcs_validate(st, call_options, target, agent, st 1796 lib/fencing/st_client.c rc = stonith__lha_validate(st, call_options, target, agent, st 1911 lib/fencing/st_client.c stonith_api_connect_retry(stonith_t *st, const char *name, int max_attempts) st 1916 lib/fencing/st_client.c rc = st->cmds->connect(st, name, NULL); st 1979 lib/fencing/st_client.c stonith_t *st = stonith_api_new(); st 1983 lib/fencing/st_client.c if (st == NULL) { st 1989 lib/fencing/st_client.c rc = st->cmds->connect(st, "stonith-api", NULL); st 2002 lib/fencing/st_client.c rc = st->cmds->fence(st, opts, name, action, timeout, 0); st 2013 lib/fencing/st_client.c stonith_api_delete(st); st 2022 lib/fencing/st_client.c stonith_t *st = stonith_api_new(); st 2025 lib/fencing/st_client.c if (st == NULL) { st 2031 lib/fencing/st_client.c rc = st->cmds->connect(st, "stonith-api", NULL); st 2045 lib/fencing/st_client.c rc = st->cmds->history(st, opts, name, &history, 120); st 2073 lib/fencing/st_client.c stonith_api_delete(st); st 2084 lib/fencing/st_client.c stonith_t *st = NULL; st 2093 lib/fencing/st_client.c st = stonith_api_new(); st 2094 lib/fencing/st_client.c if (st == NULL) { st 2098 lib/fencing/st_client.c st->cmds->list_agents(st, st_opt_sync_call, NULL, &devices, timeout == 0 ? 120 : timeout); st 2108 lib/fencing/st_client.c stonith_api_delete(st); st 302 lib/fencing/st_lha.c stonith__lha_validate(stonith_t *st, int call_options, const char *target, st 268 lib/fencing/st_rhcs.c stonith__rhcs_validate(stonith_t *st, int call_options, const char *target, st 28 lib/pacemaker/pcmk_fence.c stonith_t *st; st 39 lib/pacemaker/pcmk_fence.c handle_level(stonith_t *st, const char *target, int fence_level, st 66 lib/pacemaker/pcmk_fence.c rc = st->cmds->register_level_full(st, st_opts, node, pattern, st 70 lib/pacemaker/pcmk_fence.c rc = st->cmds->remove_level_full(st, st_opts, node, pattern, st 122 lib/pacemaker/pcmk_fence.c notify_callback(stonith_t * st, stonith_event_t * e) st 147 lib/pacemaker/pcmk_fence.c stonith_t *st = async_fence_data.st; st 149 lib/pacemaker/pcmk_fence.c int rc = stonith_api_connect_retry(st, async_fence_data.name, 10); st 159 lib/pacemaker/pcmk_fence.c st->cmds->register_notification(st, PCMK__VALUE_ST_NOTIFY_FENCE, st 162 lib/pacemaker/pcmk_fence.c call_id = st->cmds->fence_with_delay(st, st 181 lib/pacemaker/pcmk_fence.c st->cmds->register_callback(st, call_id, timeout, st_opt_timeout_updates, st 187 lib/pacemaker/pcmk_fence.c pcmk__request_fencing(stonith_t *st, const char *target, const char *action, st 194 lib/pacemaker/pcmk_fence.c async_fence_data.st = st; st 224 lib/pacemaker/pcmk_fence.c pcmk_request_fencing(stonith_t *st, const char *target, const char *action, st 228 lib/pacemaker/pcmk_fence.c return pcmk__request_fencing(st, target, action, name, timeout, tolerance, st 234 lib/pacemaker/pcmk_fence.c pcmk__fence_history(pcmk__output_t *out, stonith_t *st, const char *target, st 260 lib/pacemaker/pcmk_fence.c rc = st->cmds->history(st, opts, target, &history, (timeout / 1000)); st 305 lib/pacemaker/pcmk_fence.c pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, const char *target, st 321 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_history(out, st, target, timeout, verbose, broadcast, st 329 lib/pacemaker/pcmk_fence.c pcmk__fence_installed(pcmk__output_t *out, stonith_t *st, unsigned int timeout) st 334 lib/pacemaker/pcmk_fence.c rc = st->cmds->list_agents(st, st_opt_sync_call, NULL, &devices, st 354 lib/pacemaker/pcmk_fence.c pcmk_fence_installed(xmlNodePtr *xml, stonith_t *st, unsigned int timeout) st 366 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_installed(out, st, timeout); st 411 lib/pacemaker/pcmk_fence.c pcmk__fence_list_targets(pcmk__output_t *out, stonith_t *st, st 418 lib/pacemaker/pcmk_fence.c rc = st->cmds->list(st, st_opts, device_id, &lists, timeout/1000); st 438 lib/pacemaker/pcmk_fence.c pcmk_fence_list_targets(xmlNodePtr *xml, stonith_t *st, const char *device_id, st 451 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_list_targets(out, st, device_id, timeout); st 458 lib/pacemaker/pcmk_fence.c pcmk__fence_metadata(pcmk__output_t *out, stonith_t *st, const char *agent, st 462 lib/pacemaker/pcmk_fence.c int rc = st->cmds->metadata(st, st_opt_sync_call, agent, NULL, &buffer, st 476 lib/pacemaker/pcmk_fence.c pcmk_fence_metadata(xmlNodePtr *xml, stonith_t *st, const char *agent, st 489 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_metadata(out, st, agent, timeout); st 496 lib/pacemaker/pcmk_fence.c pcmk__fence_registered(pcmk__output_t *out, stonith_t *st, const char *target, st 502 lib/pacemaker/pcmk_fence.c rc = st->cmds->query(st, st_opts, target, &devices, timeout/1000); st 525 lib/pacemaker/pcmk_fence.c pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, const char *target, st 538 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_registered(out, st, target, timeout); st 545 lib/pacemaker/pcmk_fence.c pcmk__fence_register_level(stonith_t *st, const char *target, int fence_level, st 548 lib/pacemaker/pcmk_fence.c return handle_level(st, target, fence_level, devices, true); st 553 lib/pacemaker/pcmk_fence.c pcmk_fence_register_level(stonith_t *st, const char *target, int fence_level, st 556 lib/pacemaker/pcmk_fence.c return pcmk__fence_register_level(st, target, fence_level, devices); st 561 lib/pacemaker/pcmk_fence.c pcmk__fence_unregister_level(stonith_t *st, const char *target, int fence_level) st 563 lib/pacemaker/pcmk_fence.c return handle_level(st, target, fence_level, NULL, false); st 568 lib/pacemaker/pcmk_fence.c pcmk_fence_unregister_level(stonith_t *st, const char *target, int fence_level) st 570 lib/pacemaker/pcmk_fence.c return pcmk__fence_unregister_level(st, target, fence_level); st 575 lib/pacemaker/pcmk_fence.c pcmk__fence_validate(pcmk__output_t *out, stonith_t *st, const char *agent, st 583 lib/pacemaker/pcmk_fence.c rc = st->cmds->validate(st, st_opt_sync_call, id, NULL, agent, params, st 591 lib/pacemaker/pcmk_fence.c pcmk_fence_validate(xmlNodePtr *xml, stonith_t *st, const char *agent, st 605 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_validate(out, st, agent, id, params, timeout); st 612 lib/pacemaker/pcmk_fence.c pcmk__get_fencing_history(stonith_t *st, stonith_history_t **stonith_history, st 617 lib/pacemaker/pcmk_fence.c if ((st == NULL) || (st->state == stonith_disconnected)) { st 620 lib/pacemaker/pcmk_fence.c rc = st->cmds->history(st, st_opt_sync_call, NULL, stonith_history, st 28 lib/pacemaker/pcmk_status.c stonith_t *st = stonith_api_new(); st 31 lib/pacemaker/pcmk_status.c if (st == NULL) { st 35 lib/pacemaker/pcmk_status.c rc = st->cmds->connect(st, crm_system_name, NULL); st 37 lib/pacemaker/pcmk_status.c return st; st 39 lib/pacemaker/pcmk_status.c stonith_api_delete(st); st 1216 lib/services/services_linux.c struct stat st; st 1220 lib/services/services_linux.c if (stat(op->opaque->exec, &st) != 0) { st 255 lib/services/services_lsb.c struct stat st; st 258 lib/services/services_lsb.c rc = (stat(path, &st) == 0); st 141 lib/services/services_nagios.c struct stat st; st 145 lib/services/services_nagios.c if (stat(metadata, &st) == 0) { st 159 lib/services/services_nagios.c struct stat st; st 166 lib/services/services_nagios.c if (stat(buf, &st) == 0) { st 88 lib/services/services_ocf.c struct stat st; st 100 lib/services/services_ocf.c if (stat(buf, &st) == 0) { st 126 lib/services/services_ocf.c struct stat st; st 136 lib/services/services_ocf.c if (stat(buf, &st) == 0) { st 115 maint/gnulib/lib/af_alg.c struct stat st; st 117 maint/gnulib/lib/af_alg.c if (0 <= off && fstat (fd, &st) == 0 st 118 maint/gnulib/lib/af_alg.c && (S_ISREG (st.st_mode) || S_TYPEISSHM (&st) || S_TYPEISTMO (&st)) st 119 maint/gnulib/lib/af_alg.c && off < st.st_size && st.st_size - off < SYS_BUFSIZE_MAX) st 129 maint/gnulib/lib/af_alg.c off_t nbytes = st.st_size - off; st 106 maint/gnulib/lib/canonicalize-lgpl.c struct stat st; st 107 maint/gnulib/lib/canonicalize-lgpl.c return stat (file, &st) == 0 || errno == EOVERFLOW; st 63 maint/gnulib/lib/canonicalize.c struct stat st; st 64 maint/gnulib/lib/canonicalize.c return stat (file, &st) == 0 || errno == EOVERFLOW; st 145 maint/gnulib/lib/canonicalize.c seen_triple (Hash_table **ht, char const *filename, struct stat const *st) st 159 maint/gnulib/lib/canonicalize.c if (seen_file (*ht, filename, st)) st 162 maint/gnulib/lib/canonicalize.c record_file (*ht, filename, st); st 365 maint/gnulib/lib/canonicalize.c struct stat st; st 367 maint/gnulib/lib/canonicalize.c if (stat (*rname ? rname : ".", &st) != 0) st 376 maint/gnulib/lib/canonicalize.c if (seen_triple (&ht, start, &st)) st 57 maint/gnulib/lib/chown.c struct stat st; st 64 maint/gnulib/lib/chown.c if (stat (file, &st)) st 74 maint/gnulib/lib/chown.c if (!stat_valid && stat (file, &st)) st 77 maint/gnulib/lib/chown.c gid = st.st_gid; st 79 maint/gnulib/lib/chown.c uid = st.st_uid; st 106 maint/gnulib/lib/chown.c && fstat (fd, &st) == 0 st 107 maint/gnulib/lib/chown.c && (S_ISFIFO (st.st_mode) || S_ISSOCK (st.st_mode))); st 126 maint/gnulib/lib/chown.c if (len && file[len - 1] == '/' && stat (file, &st)) st 135 maint/gnulib/lib/chown.c && (uid == st.st_uid || uid == (uid_t) -1) st 136 maint/gnulib/lib/chown.c && (gid == st.st_gid || gid == (gid_t) -1)) st 143 maint/gnulib/lib/chown.c result = chmod (file, st.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO st 65 maint/gnulib/lib/dirchownmod.c struct stat st; st 66 maint/gnulib/lib/dirchownmod.c int result = (fd < 0 ? stat (dir, &st) : fstat (fd, &st)); st 70 maint/gnulib/lib/dirchownmod.c mode_t dir_mode = st.st_mode; st 94 maint/gnulib/lib/dirchownmod.c if ((owner != (uid_t) -1 && owner != st.st_uid) st 95 maint/gnulib/lib/dirchownmod.c || (group != (gid_t) -1 && group != st.st_gid)) st 213 maint/gnulib/lib/error.c mbstate_t st; st 239 maint/gnulib/lib/error.c memset (&st, '\0', sizeof (st)); st 242 maint/gnulib/lib/error.c res = mbsrtowcs (wmessage, &tmp, len, &st); st 64 maint/gnulib/lib/faccessat.c struct stat st; st 65 maint/gnulib/lib/faccessat.c result = fstatat (fd, file, &st, 0); st 66 maint/gnulib/lib/faccessat.c if (result == 0 && !S_ISDIR (st.st_mode)) st 72 maint/gnulib/lib/fchmodat.c struct stat st; st 73 maint/gnulib/lib/fchmodat.c if (fstatat (dir, file, &st, flags & AT_SYMLINK_NOFOLLOW) < 0) st 75 maint/gnulib/lib/fchmodat.c if (!S_ISDIR (st.st_mode)) st 86 maint/gnulib/lib/fchmodat.c struct stat st; st 104 maint/gnulib/lib/fchmodat.c if (fstatat (fd, "", &st, AT_EMPTY_PATH) != 0) st 111 maint/gnulib/lib/fchmodat.c if (S_ISLNK (st.st_mode)) st 136 maint/gnulib/lib/fchmodat.c int fstatat_result = fstatat (dir, file, &st, AT_SYMLINK_NOFOLLOW); st 139 maint/gnulib/lib/fchmodat.c if (S_ISLNK (st.st_mode)) st 103 maint/gnulib/lib/fchownat.c struct stat st; st 106 maint/gnulib/lib/fchownat.c if (statat (fd, file, &st)) st 238 maint/gnulib/lib/fdopendir.c struct stat st; st 239 maint/gnulib/lib/fdopendir.c if (fstat (fd, &st)) st 241 maint/gnulib/lib/fdopendir.c if (!S_ISDIR (st.st_mode)) st 29 maint/gnulib/lib/file-type.c file_type (struct stat const *st) st 39 maint/gnulib/lib/file-type.c if (S_ISREG (st->st_mode)) st 40 maint/gnulib/lib/file-type.c return st->st_size == 0 ? _("regular empty file") : _("regular file"); st 42 maint/gnulib/lib/file-type.c if (S_ISDIR (st->st_mode)) st 45 maint/gnulib/lib/file-type.c if (S_ISLNK (st->st_mode)) st 51 maint/gnulib/lib/file-type.c if (S_TYPEISMQ (st)) st 54 maint/gnulib/lib/file-type.c if (S_TYPEISSEM (st)) st 57 maint/gnulib/lib/file-type.c if (S_TYPEISSHM (st)) st 60 maint/gnulib/lib/file-type.c if (S_TYPEISTMO (st)) st 65 maint/gnulib/lib/file-type.c if (S_ISBLK (st->st_mode)) st 68 maint/gnulib/lib/file-type.c if (S_ISCHR (st->st_mode)) st 71 maint/gnulib/lib/file-type.c if (S_ISCTG (st->st_mode)) st 74 maint/gnulib/lib/file-type.c if (S_ISFIFO (st->st_mode)) st 77 maint/gnulib/lib/file-type.c if (S_ISDOOR (st->st_mode)) st 80 maint/gnulib/lib/file-type.c if (S_ISMPB (st->st_mode)) st 83 maint/gnulib/lib/file-type.c if (S_ISMPC (st->st_mode)) st 86 maint/gnulib/lib/file-type.c if (S_ISMPX (st->st_mode)) st 89 maint/gnulib/lib/file-type.c if (S_ISNAM (st->st_mode)) st 92 maint/gnulib/lib/file-type.c if (S_ISNWK (st->st_mode)) st 95 maint/gnulib/lib/file-type.c if (S_ISOFD (st->st_mode)) st 98 maint/gnulib/lib/file-type.c if (S_ISOFL (st->st_mode)) st 101 maint/gnulib/lib/file-type.c if (S_ISPORT (st->st_mode)) st 104 maint/gnulib/lib/file-type.c if (S_ISSOCK (st->st_mode)) st 107 maint/gnulib/lib/file-type.c if (S_ISWHT (st->st_mode)) st 62 maint/gnulib/lib/fstatat.c normal_fstatat (int fd, char const *file, struct stat *st, int flag) st 64 maint/gnulib/lib/fstatat.c return stat_time_normalize (orig_fstatat (fd, file, st, flag), st); st 77 maint/gnulib/lib/fstatat.c rpl_fstatat (int fd, char const *file, struct stat *st, int flag) st 79 maint/gnulib/lib/fstatat.c int result = normal_fstatat (fd, file, st, flag); st 88 maint/gnulib/lib/fstatat.c if (file[len - 1] != '/' || S_ISDIR (st->st_mode)) st 90 maint/gnulib/lib/fstatat.c if (!S_ISLNK (st->st_mode)) st 95 maint/gnulib/lib/fstatat.c result = normal_fstatat (fd, file, st, flag & ~AT_SYMLINK_NOFOLLOW); st 98 maint/gnulib/lib/fstatat.c if (result == 0 && !S_ISDIR (st->st_mode) && file[len - 1] == '/') st 114 maint/gnulib/lib/fstatat.c stat_func (char const *name, struct stat *st) st 116 maint/gnulib/lib/fstatat.c return stat (name, st); st 138 maint/gnulib/lib/fstatat.c # define AT_FUNC_POST_FILE_PARAM_DECLS , struct stat *st, int flag st 139 maint/gnulib/lib/fstatat.c # define AT_FUNC_POST_FILE_ARGS , st st 78 maint/gnulib/lib/fts-cycle.c struct stat const *st = ent->fts_statp; st 85 maint/gnulib/lib/fts-cycle.c ad->dev = st->st_dev; st 86 maint/gnulib/lib/fts-cycle.c ad->ino = st->st_ino; st 127 maint/gnulib/lib/fts-cycle.c struct stat const *st = ent->fts_statp; st 132 maint/gnulib/lib/fts-cycle.c obj.dev = st->st_dev; st 133 maint/gnulib/lib/fts-cycle.c obj.ino = st->st_ino; st 144 maint/gnulib/lib/fts-cycle.c *(parent->fts_statp), *st); st 1199 maint/gnulib/lib/fts.c set_stat_type (struct stat *st, unsigned int dtype) st 1228 maint/gnulib/lib/fts.c st->st_mode = type; st 187 maint/gnulib/lib/getcwd.c struct stat64 st; st 253 maint/gnulib/lib/getcwd.c if (__lstat64 (".", &st) < 0) st 255 maint/gnulib/lib/getcwd.c thisdev = st.st_dev; st 256 maint/gnulib/lib/getcwd.c thisino = st.st_ino; st 258 maint/gnulib/lib/getcwd.c if (__lstat64 ("/", &st) < 0) st 260 maint/gnulib/lib/getcwd.c rootdev = st.st_dev; st 261 maint/gnulib/lib/getcwd.c rootino = st.st_ino; st 280 maint/gnulib/lib/getcwd.c parent_status = __fstat64 (fd, &st); st 285 maint/gnulib/lib/getcwd.c parent_status = __lstat64 (dotlist, &st); st 297 maint/gnulib/lib/getcwd.c dotdev = st.st_dev; st 298 maint/gnulib/lib/getcwd.c dotino = st.st_ino; st 357 maint/gnulib/lib/getcwd.c entry_status = __fstatat64 (fd, d->d_name, &st, AT_SYMLINK_NOFOLLOW); st 394 maint/gnulib/lib/getcwd.c entry_status = __lstat64 (dotlist, &st); st 401 maint/gnulib/lib/getcwd.c if (entry_status == 0 && S_ISDIR (st.st_mode) st 402 maint/gnulib/lib/getcwd.c && st.st_dev == thisdev && st.st_ino == thisino) st 82 maint/gnulib/lib/glob.c # define __fxstatat64(_, d, f, st, flag) fstatat (d, f, st, flag) st 213 maint/gnulib/lib/glob.c struct_stat st; st 217 maint/gnulib/lib/glob.c ? pglob->GLOB_LSTAT (fullname, &ust.st) st 256 maint/gnulib/lib/glob.c struct_stat st; st 259 maint/gnulib/lib/glob.c ? pglob->gl_stat (filename, &st) == 0 && S_ISDIR (st.st_mode) st 473 maint/gnulib/lib/intprops.h # define _GL_INT_OP_WRAPV_SMALLISH(a,b,r,op,overflow,st,smin,smax,ut,umax) \ st 475 maint/gnulib/lib/intprops.h ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, st, smin, smax) \ st 478 maint/gnulib/lib/intprops.h # define _GL_INT_OP_WRAPV_SMALLISH(a,b,r,op,overflow,st,smin,smax,ut,umax) \ st 481 maint/gnulib/lib/intprops.h ? (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a,b,op,unsigned,st), 1) \ st 482 maint/gnulib/lib/intprops.h : (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a,b,op,unsigned,st)) < 0) \ st 484 maint/gnulib/lib/intprops.h ? (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a,b,op,unsigned,st)) >= 0 \ st 485 maint/gnulib/lib/intprops.h : (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a,b,op,unsigned,st), 0))) st 77 maint/gnulib/lib/isapipe.c struct stat st; st 78 maint/gnulib/lib/isapipe.c int fstat_result = fstat (fd, &st); st 95 maint/gnulib/lib/isapipe.c && (S_ISFIFO (st.st_mode) | S_ISSOCK (st.st_mode))) st 119 maint/gnulib/lib/isapipe.c (st.st_nlink <= pipe_link_count_max st 120 maint/gnulib/lib/isapipe.c && (check_for_fifo ? S_ISFIFO (st.st_mode) : S_ISSOCK (st.st_mode))); st 64 maint/gnulib/lib/lchmod.c struct stat st; st 65 maint/gnulib/lib/lchmod.c if (fstatat (fd, "", &st, AT_EMPTY_PATH) != 0) st 72 maint/gnulib/lib/lchmod.c if (S_ISLNK (st.st_mode)) st 97 maint/gnulib/lib/lchmod.c struct stat st; st 98 maint/gnulib/lib/lchmod.c int lstat_result = lstat (file, &st); st 101 maint/gnulib/lib/lchmod.c if (S_ISLNK (st.st_mode)) st 77 maint/gnulib/lib/lchown.c struct stat st; st 81 maint/gnulib/lib/lchown.c if (lstat (file, &st)) st 84 maint/gnulib/lib/lchown.c if (!S_ISLNK (st.st_mode)) st 102 maint/gnulib/lib/lchown.c && (uid == st.st_uid || uid == (uid_t) -1) st 103 maint/gnulib/lib/lchown.c && (gid == st.st_gid || gid == (gid_t) -1)) st 109 maint/gnulib/lib/lchown.c result = lchmod (file, st.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO st 94 maint/gnulib/lib/link.c struct stat st; st 95 maint/gnulib/lib/link.c if (stat (file1, &st)) st 102 maint/gnulib/lib/link.c if (!S_ISDIR (st.st_mode)) st 114 maint/gnulib/lib/link.c struct stat st; st 118 maint/gnulib/lib/link.c if (p != dir && stat (dir, &st) != 0 && errno != EOVERFLOW) st 187 maint/gnulib/lib/link.c struct stat st; st 190 maint/gnulib/lib/link.c if (lstat (file2, &st) == 0 || errno == EOVERFLOW) st 206 maint/gnulib/lib/link.c if (stat (file1, &st)) st 208 maint/gnulib/lib/link.c if (!S_ISDIR (st.st_mode)) st 227 maint/gnulib/lib/link.c if (stat (dir, &st) != 0 && errno != EOVERFLOW) st 287 maint/gnulib/lib/linkat.c struct stat st; st 288 maint/gnulib/lib/linkat.c if (fstatat (fd1, file1, &st, flag ? 0 : AT_SYMLINK_NOFOLLOW)) st 290 maint/gnulib/lib/linkat.c if (!S_ISDIR (st.st_mode)) st 24 maint/gnulib/lib/memset.c register char *st = str; st 27 maint/gnulib/lib/memset.c *st++ = c; st 153 maint/gnulib/lib/mkdir-p.c struct stat st; st 154 maint/gnulib/lib/mkdir-p.c if (stat (dir + prefix_len, &st) == 0) st 156 maint/gnulib/lib/mkdir-p.c if (S_ISDIR (st.st_mode)) st 79 maint/gnulib/lib/mkdir.c struct stat st; st 80 maint/gnulib/lib/mkdir.c if (stat (tmp_dir, &st) == 0 || errno == EOVERFLOW) st 50 maint/gnulib/lib/mkfifo.c struct stat st; st 51 maint/gnulib/lib/mkfifo.c if (stat (name, &st) == 0 || errno == EOVERFLOW) st 40 maint/gnulib/lib/mkfifoat.c struct stat st; st 42 maint/gnulib/lib/mkfifoat.c if (fstatat (fd, file, &st, AT_SYMLINK_NOFOLLOW) < 0) st 58 maint/gnulib/lib/mknod.c struct stat st; st 59 maint/gnulib/lib/mknod.c if (stat (name, &st) == 0 || errno == EOVERFLOW) st 40 maint/gnulib/lib/mknodat.c struct stat st; st 42 maint/gnulib/lib/mknodat.c if (fstatat (fd, file, &st, AT_SYMLINK_NOFOLLOW) < 0) st 228 maint/gnulib/lib/nstrftime.c # define __mbsrtowcs_l(d, s, l, st, loc) __mbsrtowcs (d, s, l, st) st 102 maint/gnulib/lib/openat.h statat (int fd, char const *name, struct stat *st) st 104 maint/gnulib/lib/openat.h return fstatat (fd, name, st, 0); st 108 maint/gnulib/lib/openat.h lstatat (int fd, char const *name, struct stat *st) st 110 maint/gnulib/lib/openat.h return fstatat (fd, name, st, AT_SYMLINK_NOFOLLOW); st 42 maint/gnulib/lib/pt_chown.c struct stat st; st 53 maint/gnulib/lib/pt_chown.c if (stat (pty, &st) < 0 || !S_ISCHR (st.st_mode)) st 62 maint/gnulib/lib/pt_chown.c if (st.st_gid != gid && chown (pty, getuid (), gid) < 0) st 67 maint/gnulib/lib/pt_chown.c if ((st.st_mode & (S_IRWXU|S_IRWXG|S_IRWXO)) != (S_IRUSR|S_IWUSR|S_IWGRP) st 108 maint/gnulib/lib/ptsname_r.c struct stat st; st 117 maint/gnulib/lib/ptsname_r.c if (fstat (fd, &st) < 0) st 119 maint/gnulib/lib/ptsname_r.c if (!S_ISCHR (st.st_mode)) st 145 maint/gnulib/lib/ptsname_r.c int n = sprintf (tmpbuf, "/dev/pts/%u", minor (st.st_rdev)); st 157 maint/gnulib/lib/ptsname_r.c if (fstat (fd, &st) < 0) st 159 maint/gnulib/lib/ptsname_r.c if (!S_ISCHR (st.st_mode)) st 219 maint/gnulib/lib/ptsname_r.c if (stat (buf, &st) < 0 && errno != EOVERFLOW) st 60 maint/gnulib/lib/read-file.c struct stat st; st 62 maint/gnulib/lib/read-file.c if (fstat (fileno (stream), &st) >= 0 && S_ISREG (st.st_mode)) st 66 maint/gnulib/lib/read-file.c if (pos >= 0 && pos < st.st_size) st 68 maint/gnulib/lib/read-file.c off_t alloc_off = st.st_size - pos; st 65 maint/gnulib/lib/readlink.c struct stat st; st 66 maint/gnulib/lib/readlink.c if (stat (file, &st) == 0 || errno == EOVERFLOW) st 46 maint/gnulib/lib/readlinkat.c struct stat st; st 47 maint/gnulib/lib/readlinkat.c if (fstatat (fd, file, &st, 0) == 0 || errno == EOVERFLOW) st 43 maint/gnulib/lib/regex.c # define regexec(pr, st, nm, pm, ef) __regexec (pr, st, nm, pm, ef) st 47 maint/gnulib/lib/regex.c # define re_set_registers(bu, re, nu, st, en) \ st 48 maint/gnulib/lib/regex.c __re_set_registers (bu, re, nu, st, en) st 55 maint/gnulib/lib/renameatu.c struct stat st; st 56 maint/gnulib/lib/renameatu.c return (lstat (dst, &st) == 0 || errno == EOVERFLOW ? errno_fail (EEXIST) st 741 maint/gnulib/lib/rijndael-alg-fst.c #define PUTU32(ct, st) { \ st 742 maint/gnulib/lib/rijndael-alg-fst.c (ct)[0] = (char)((st) >> 24); \ st 743 maint/gnulib/lib/rijndael-alg-fst.c (ct)[1] = (char)((st) >> 16); \ st 744 maint/gnulib/lib/rijndael-alg-fst.c (ct)[2] = (char)((st) >> 8); \ st 745 maint/gnulib/lib/rijndael-alg-fst.c (ct)[3] = (char)(st); } st 52 maint/gnulib/lib/stat-time.h # define STAT_TIMESPEC(st, st_xtim) ((st)->st_xtim) st 54 maint/gnulib/lib/stat-time.h # define STAT_TIMESPEC_NS(st, st_xtim) ((st)->st_xtim.tv_nsec) st 57 maint/gnulib/lib/stat-time.h # define STAT_TIMESPEC(st, st_xtim) ((st)->st_xtim##espec) st 59 maint/gnulib/lib/stat-time.h # define STAT_TIMESPEC_NS(st, st_xtim) ((st)->st_xtim##ensec) st 61 maint/gnulib/lib/stat-time.h # define STAT_TIMESPEC_NS(st, st_xtim) ((st)->st_xtim.st__tim.tv_nsec) st 66 maint/gnulib/lib/stat-time.h get_stat_atime_ns (struct stat const *st) st 69 maint/gnulib/lib/stat-time.h return STAT_TIMESPEC (st, st_atim).tv_nsec; st 71 maint/gnulib/lib/stat-time.h return STAT_TIMESPEC_NS (st, st_atim); st 79 maint/gnulib/lib/stat-time.h get_stat_ctime_ns (struct stat const *st) st 82 maint/gnulib/lib/stat-time.h return STAT_TIMESPEC (st, st_ctim).tv_nsec; st 84 maint/gnulib/lib/stat-time.h return STAT_TIMESPEC_NS (st, st_ctim); st 92 maint/gnulib/lib/stat-time.h get_stat_mtime_ns (struct stat const *st) st 95 maint/gnulib/lib/stat-time.h return STAT_TIMESPEC (st, st_mtim).tv_nsec; st 97 maint/gnulib/lib/stat-time.h return STAT_TIMESPEC_NS (st, st_mtim); st 105 maint/gnulib/lib/stat-time.h get_stat_birthtime_ns (_GL_UNUSED struct stat const *st) st 108 maint/gnulib/lib/stat-time.h return STAT_TIMESPEC (st, st_birthtim).tv_nsec; st 110 maint/gnulib/lib/stat-time.h return STAT_TIMESPEC_NS (st, st_birthtim); st 118 maint/gnulib/lib/stat-time.h get_stat_atime (struct stat const *st) st 121 maint/gnulib/lib/stat-time.h return STAT_TIMESPEC (st, st_atim); st 124 maint/gnulib/lib/stat-time.h t.tv_sec = st->st_atime; st 125 maint/gnulib/lib/stat-time.h t.tv_nsec = get_stat_atime_ns (st); st 132 maint/gnulib/lib/stat-time.h get_stat_ctime (struct stat const *st) st 135 maint/gnulib/lib/stat-time.h return STAT_TIMESPEC (st, st_ctim); st 138 maint/gnulib/lib/stat-time.h t.tv_sec = st->st_ctime; st 139 maint/gnulib/lib/stat-time.h t.tv_nsec = get_stat_ctime_ns (st); st 146 maint/gnulib/lib/stat-time.h get_stat_mtime (struct stat const *st) st 149 maint/gnulib/lib/stat-time.h return STAT_TIMESPEC (st, st_mtim); st 152 maint/gnulib/lib/stat-time.h t.tv_sec = st->st_mtime; st 153 maint/gnulib/lib/stat-time.h t.tv_nsec = get_stat_mtime_ns (st); st 161 maint/gnulib/lib/stat-time.h get_stat_birthtime (_GL_UNUSED struct stat const *st) st 167 maint/gnulib/lib/stat-time.h t = STAT_TIMESPEC (st, st_birthtim); st 169 maint/gnulib/lib/stat-time.h t.tv_sec = st->st_birthtime; st 170 maint/gnulib/lib/stat-time.h t.tv_nsec = st->st_birthtimensec; st 176 maint/gnulib/lib/stat-time.h t = st->st_ctim; st 178 maint/gnulib/lib/stat-time.h t.tv_sec = st->st_ctime; st 211 maint/gnulib/lib/stat-time.h stat_time_normalize (int result, _GL_UNUSED struct stat *st) st 223 maint/gnulib/lib/stat-time.h struct timespec *ts = (struct timespec *) ((char *) st + ts_off[i]); st 38 maint/gnulib/lib/symlink.c struct stat st; st 39 maint/gnulib/lib/symlink.c if (lstat (name, &st) == 0 || errno == EOVERFLOW) st 41 maint/gnulib/lib/symlinkat.c struct stat st; st 42 maint/gnulib/lib/symlinkat.c if (fstatat (fd, name, &st, AT_SYMLINK_NOFOLLOW) == 0 st 478 maint/gnulib/lib/sys_stat.in.h (int fd, char const *restrict name, struct stat *restrict st, st 482 maint/gnulib/lib/sys_stat.in.h (int fd, char const *restrict name, struct stat *restrict st, st 487 maint/gnulib/lib/sys_stat.in.h (int fd, char const *restrict name, struct stat *restrict st, st 492 maint/gnulib/lib/sys_stat.in.h (int fd, char const *restrict name, struct stat *restrict st, st 808 maint/gnulib/lib/sys_stat.in.h # define stat64(name, st) rpl_stat (name, st) st 815 maint/gnulib/lib/sys_stat.in.h # define _stat64(name, st) rpl_stat (name, st) st 821 maint/gnulib/lib/sys_stat.in.h # define _stat32i64(name, st) rpl_stat (name, st) st 825 maint/gnulib/lib/sys_stat.in.h # define _stat64(name, st) rpl_stat (name, st) st 829 maint/gnulib/lib/sys_stat.in.h # define _stati64(name, st) rpl_stat (name, st) st 835 maint/gnulib/lib/sys_stat.in.h # define _stat32i64(name, st) rpl_stat (name, st) st 839 maint/gnulib/lib/sys_stat.in.h # define _stat64(name, st) rpl_stat (name, st) st 845 maint/gnulib/lib/sys_stat.in.h # define _stat32(name, st) rpl_stat (name, st) st 849 maint/gnulib/lib/sys_stat.in.h # define _stat64i32(name, st) rpl_stat (name, st) st 853 maint/gnulib/lib/sys_stat.in.h # define stat(name, st) rpl_stat (name, st) st 192 maint/gnulib/lib/tempname.c struct_stat64 st; st 194 maint/gnulib/lib/tempname.c if (__lstat64 (tmpl, &st) == 0 || errno == EOVERFLOW) st 53 maint/gnulib/lib/truncate.c struct stat st; st 54 maint/gnulib/lib/truncate.c if (stat (filename, &st) == 0) st 55 maint/gnulib/lib/truncate.c errno = (S_ISDIR (st.st_mode) ? EISDIR : ENOTDIR); st 64 maint/gnulib/lib/unlink.c struct stat st; st 65 maint/gnulib/lib/unlink.c result = lstat (name, &st); st 75 maint/gnulib/lib/unlink.c if (len && (lstat (short_name, &st) || S_ISLNK (st.st_mode))) st 60 maint/gnulib/lib/unlinkat.c struct stat st; st 61 maint/gnulib/lib/unlinkat.c result = lstatat (fd, name, &st); st 74 maint/gnulib/lib/unlinkat.c if (len && (lstatat (fd, short_name, &st) || S_ISLNK (st.st_mode))) st 178 maint/gnulib/lib/utimens.c struct stat st; st 239 maint/gnulib/lib/utimens.c if (fd < 0 ? stat (file, &st) : fstat (fd, &st)) st 242 maint/gnulib/lib/utimens.c ts[0] = get_stat_atime (&st); st 244 maint/gnulib/lib/utimens.c ts[1] = get_stat_mtime (&st); st 397 maint/gnulib/lib/utimens.c && (fd < 0 ? stat (file, &st) : fstat (fd, &st))) st 399 maint/gnulib/lib/utimens.c if (ts && update_timespec (&st, &ts)) st 454 maint/gnulib/lib/utimens.c if ((abig | mbig) && fstat (fd, &st) == 0) st 458 maint/gnulib/lib/utimens.c time_t adiff = st.st_atime - t[0].tv_sec; st 459 maint/gnulib/lib/utimens.c time_t mdiff = st.st_mtime - t[1].tv_sec; st 465 maint/gnulib/lib/utimens.c if (abig && adiff == 1 && get_stat_atime_ns (&st) == 0) st 470 maint/gnulib/lib/utimens.c if (mbig && mdiff == 1 && get_stat_mtime_ns (&st) == 0) st 537 maint/gnulib/lib/utimens.c struct stat st; st 572 maint/gnulib/lib/utimens.c if (lstat (file, &st)) st 575 maint/gnulib/lib/utimens.c ts[0] = get_stat_atime (&st); st 577 maint/gnulib/lib/utimens.c ts[1] = get_stat_mtime (&st); st 610 maint/gnulib/lib/utimens.c if (adjustment_needed != 3 && lstat (file, &st)) st 612 maint/gnulib/lib/utimens.c if (ts && update_timespec (&st, &ts)) st 641 maint/gnulib/lib/utimens.c if (!(adjustment_needed || REPLACE_FUNC_STAT_FILE) && lstat (file, &st)) st 643 maint/gnulib/lib/utimens.c if (!S_ISLNK (st.st_mode)) st 45 maint/gnulib/lib/utimensat.c struct stat st; st 46 maint/gnulib/lib/utimensat.c if (fstatat (fd, file, &st, flag & AT_SYMLINK_NOFOLLOW) < 0) st 48 maint/gnulib/lib/utimensat.c if (!S_ISDIR (st.st_mode)) st 90 maint/gnulib/lib/utimensat.c struct stat st; st 106 maint/gnulib/lib/utimensat.c if (fstatat (fd, file, &st, flag)) st 111 maint/gnulib/lib/utimensat.c ts[0] = get_stat_atime (&st); st 115 maint/gnulib/lib/utimensat.c ts[1] = get_stat_mtime (&st); st 69 maint/gnulib/tests/nap.h nap_get_stat (struct stat *st, int do_write) st 84 maint/gnulib/tests/nap.h ASSERT (fstat (nap_fd, st) == 0); st 93 maint/gnulib/tests/nap.h struct stat st; st 98 maint/gnulib/tests/nap.h nap_get_stat (&st, 1); st 100 maint/gnulib/tests/nap.h if (diff_timespec (get_stat_mtime (&st), get_stat_mtime (&old_st))) st 33 maint/gnulib/tests/test-execute-child.c struct _stat st; st 34 maint/gnulib/tests/test-execute-child.c return _fstat (fd, &st) >= 0 && !((st.st_mode & S_IFMT) == S_IFREG); st 36 maint/gnulib/tests/test-execute-child.c struct stat st; st 37 maint/gnulib/tests/test-execute-child.c return fstat (fd, &st) >= 0 && !S_ISREG (st.st_mode); st 129 maint/gnulib/tests/test-fdutimensat.c struct stat st; st 134 maint/gnulib/tests/test-fdutimensat.c ASSERT (stat ("file", &st) == 0); st 135 maint/gnulib/tests/test-fdutimensat.c ASSERT (st.st_atime == Y2K); st 136 maint/gnulib/tests/test-fdutimensat.c ASSERT (get_stat_atime_ns (&st) == 0); st 137 maint/gnulib/tests/test-fdutimensat.c ASSERT (st.st_mtime == Y2K); st 138 maint/gnulib/tests/test-fdutimensat.c ASSERT (get_stat_mtime_ns (&st) == 0); st 49 maint/gnulib/tests/test-fstatat.c do_stat (char const *name, struct stat *st) st 52 maint/gnulib/tests/test-fstatat.c return statat (dfd, name, st); st 54 maint/gnulib/tests/test-fstatat.c return fstatat (dfd, name, st, 0); st 60 maint/gnulib/tests/test-fstatat.c do_lstat (char const *name, struct stat *st) st 63 maint/gnulib/tests/test-fstatat.c return lstatat (dfd, name, st); st 65 maint/gnulib/tests/test-fstatat.c return fstatat (dfd, name, st, AT_SYMLINK_NOFOLLOW); st 98 maint/gnulib/tests/test-fts.c struct stat st; st 123 maint/gnulib/tests/test-fts.c if (needles < i && stat (base_d, &st) == 0 && st.st_nlink != i + 2) st 162 maint/gnulib/tests/test-fts.c if (stat (base, &st) == 0) st 44 maint/gnulib/tests/test-link.h struct stat st; st 45 maint/gnulib/tests/test-link.h ASSERT (stat (BASE "b", &st) == 0); st 46 maint/gnulib/tests/test-link.h if (st.st_ino && st.st_nlink != 2) st 48 maint/gnulib/tests/test-lstat.c do_lstat (char const *name, struct stat *st) st 50 maint/gnulib/tests/test-lstat.c return lstat (name, st); st 29 maint/gnulib/tests/test-mkfifo.h struct stat st; st 37 maint/gnulib/tests/test-mkfifo.h ASSERT (stat (BASE "fifo", &st) == 0); st 38 maint/gnulib/tests/test-mkfifo.h ASSERT (S_ISFIFO (st.st_mode)); st 89 maint/gnulib/tests/test-mkfifoat.c struct stat st; st 119 maint/gnulib/tests/test-mkfifoat.c ASSERT (fstatat (AT_FDCWD, BASE "fifo", &st, 0) == -1); st 121 maint/gnulib/tests/test-mkfifoat.c memset (&st, 0, sizeof st); st 122 maint/gnulib/tests/test-mkfifoat.c ASSERT (fstatat (dfd, BASE "fifo", &st, 0) == 0); st 123 maint/gnulib/tests/test-mkfifoat.c ASSERT (S_ISFIFO (st.st_mode)); st 136 maint/gnulib/tests/test-mkfifoat.c memset (&st, 0, sizeof st); st 137 maint/gnulib/tests/test-mkfifoat.c ASSERT (fstatat (AT_FDCWD, BASE "fifo", &st, AT_SYMLINK_NOFOLLOW) st 139 maint/gnulib/tests/test-mkfifoat.c ASSERT (S_ISFIFO (st.st_mode)); st 140 maint/gnulib/tests/test-mkfifoat.c memset (&st, 0, sizeof st); st 141 maint/gnulib/tests/test-mkfifoat.c ASSERT (fstatat (dfd, BASE "fifo", &st, AT_SYMLINK_NOFOLLOW) == 0); st 142 maint/gnulib/tests/test-mkfifoat.c ASSERT (S_ISFIFO (st.st_mode)); st 44 maint/gnulib/tests/test-passfd.c struct stat st; st 114 maint/gnulib/tests/test-passfd.c ret = fstat (fd, &st); st 97 maint/gnulib/tests/test-remove.c struct stat st; st 99 maint/gnulib/tests/test-remove.c ASSERT (stat (BASE "link", &st) == -1); st 105 maint/gnulib/tests/test-remove.c struct stat st; st 106 maint/gnulib/tests/test-remove.c ASSERT (lstat (BASE "link", &st) == 0); st 107 maint/gnulib/tests/test-remove.c ASSERT (S_ISLNK (st.st_mode)); st 52 maint/gnulib/tests/test-rename.h struct stat st; st 56 maint/gnulib/tests/test-rename.h if (stat (filename, &st) == -1) st 75 maint/gnulib/tests/test-rename.h struct stat st; st 139 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "file2", &st) == -1); st 146 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "file", &st) == -1); st 148 maint/gnulib/tests/test-rename.h memset (&st, 0, sizeof st); st 149 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "file2", &st) == 0); st 150 maint/gnulib/tests/test-rename.h ASSERT (st.st_size == 2); st 162 maint/gnulib/tests/test-rename.h memset (&st, 0, sizeof st); st 163 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "file", &st) == 0); st 164 maint/gnulib/tests/test-rename.h ASSERT (st.st_size == 2); st 166 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "file2", &st) == -1); st 180 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir", &st) == -1); st 182 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir2", &st) == 0); st 190 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir", &st) == 0); st 192 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir2", &st) == -1); st 202 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir", &st) == -1); st 204 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir2", &st) == 0); st 278 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir2/file", &st) == 0); st 293 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir/file", &st) == 0); st 295 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir2", &st) == -1); st 313 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir2/file", &st) == 0); st 394 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir/sub", &st) == -1); st 407 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir/sub", &st) == 0); st 450 maint/gnulib/tests/test-rename.h memset (&st, 0, sizeof st); st 451 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "file", &st) == 0); st 452 maint/gnulib/tests/test-rename.h ASSERT (st.st_size == 2); st 460 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir", &st) == 0); st 490 maint/gnulib/tests/test-rename.h memset (&st, 0, sizeof st); st 491 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "file2", &st) == 0); st 492 maint/gnulib/tests/test-rename.h if (st.st_ino && st.st_nlink != 2) st 528 maint/gnulib/tests/test-rename.h memset (&st, 0, sizeof st); st 529 maint/gnulib/tests/test-rename.h if (stat (BASE "file", &st) != 0) st 534 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "file", &st) == 0); st 536 maint/gnulib/tests/test-rename.h ASSERT (st.st_size == 2); st 537 maint/gnulib/tests/test-rename.h memset (&st, 0, sizeof st); st 538 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "file2", &st) == 0); st 539 maint/gnulib/tests/test-rename.h ASSERT (st.st_size == 2); st 570 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "file", &st) == 0); st 572 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link1", &st) == -1); st 574 maint/gnulib/tests/test-rename.h memset (&st, 0, sizeof st); st 575 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link2", &st) == 0); st 576 maint/gnulib/tests/test-rename.h ASSERT (S_ISLNK (st.st_mode)); st 593 maint/gnulib/tests/test-rename.h memset (&st, 0, sizeof st); st 594 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "link1", &st) == 0); st 595 maint/gnulib/tests/test-rename.h ASSERT (st.st_size == 2); st 597 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link2", &st) == -1); st 647 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link2", &st) == -1); st 649 maint/gnulib/tests/test-rename.h memset (&st, 0, sizeof st); st 650 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link3", &st) == 0); st 672 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link2", &st) == -1); st 675 maint/gnulib/tests/test-rename.h memset (&st, 0, sizeof st); st 676 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link3", &st) == 0); st 717 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "file2", &st) == -1); st 719 maint/gnulib/tests/test-rename.h memset (&st, 0, sizeof st); st 720 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link3", &st) == 0); st 721 maint/gnulib/tests/test-rename.h ASSERT (S_ISREG (st.st_mode)); st 755 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link2", &st) == -1); st 757 maint/gnulib/tests/test-rename.h memset (&st, 0, sizeof st); st 758 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "file2", &st) == 0); st 759 maint/gnulib/tests/test-rename.h ASSERT (S_ISLNK (st.st_mode)); st 794 maint/gnulib/tests/test-rename.h memset (&st, 0, sizeof st); st 795 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "file", &st) == 0); st 796 maint/gnulib/tests/test-rename.h ASSERT (S_ISREG (st.st_mode)); st 797 maint/gnulib/tests/test-rename.h memset (&st, 0, sizeof st); st 798 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link1", &st) == 0); st 799 maint/gnulib/tests/test-rename.h ASSERT (S_ISLNK (st.st_mode)); st 842 maint/gnulib/tests/test-rename.h memset (&st, 0, sizeof st); st 843 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link1", &st) == 0); st 844 maint/gnulib/tests/test-rename.h ASSERT (S_ISLNK (st.st_mode)); st 845 maint/gnulib/tests/test-rename.h memset (&st, 0, sizeof st); st 846 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "dir", &st) == 0); st 847 maint/gnulib/tests/test-rename.h ASSERT (S_ISDIR (st.st_mode)); st 878 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "dir", &st) == -1); st 880 maint/gnulib/tests/test-rename.h memset (&st, 0, sizeof st); st 881 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "dir2", &st) == 0); st 882 maint/gnulib/tests/test-rename.h ASSERT (S_ISDIR (st.st_mode)); st 883 maint/gnulib/tests/test-rename.h memset (&st, 0, sizeof st); st 884 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link2", &st) == 0); st 885 maint/gnulib/tests/test-rename.h ASSERT (S_ISLNK (st.st_mode)); st 894 maint/gnulib/tests/test-rename.h memset (&st, 0, sizeof st); st 895 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "dir", &st) == 0); st 896 maint/gnulib/tests/test-rename.h ASSERT (S_ISDIR (st.st_mode)); st 898 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "dir2", &st) == -1); st 900 maint/gnulib/tests/test-rename.h memset (&st, 0, sizeof st); st 901 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link2", &st) == 0); st 902 maint/gnulib/tests/test-rename.h ASSERT (S_ISLNK (st.st_mode)); st 910 maint/gnulib/tests/test-rename.h memset (&st, 0, sizeof st); st 911 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "dir", &st) == 0); st 912 maint/gnulib/tests/test-rename.h ASSERT (S_ISDIR (st.st_mode)); st 914 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "dir2", &st) == -1); st 916 maint/gnulib/tests/test-rename.h memset (&st, 0, sizeof st); st 917 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link2", &st) == 0); st 918 maint/gnulib/tests/test-rename.h ASSERT (S_ISLNK (st.st_mode)); st 934 maint/gnulib/tests/test-rename.h memset (&st, 0, sizeof st); st 935 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "dir", &st) == 0); st 936 maint/gnulib/tests/test-rename.h ASSERT (S_ISDIR (st.st_mode)); st 938 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "dir2", &st) == -1); st 940 maint/gnulib/tests/test-rename.h memset (&st, 0, sizeof st); st 941 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link2", &st) == 0); st 942 maint/gnulib/tests/test-rename.h ASSERT (S_ISLNK (st.st_mode)); st 89 maint/gnulib/tests/test-rmdir.h struct stat st; st 91 maint/gnulib/tests/test-rmdir.h ASSERT (stat (BASE "link", &st) == -1); st 47 maint/gnulib/tests/test-stat.c do_stat (char const *name, struct stat *st) st 49 maint/gnulib/tests/test-stat.c return stat (name, st); st 334 maint/gnulib/tests/test-sys_stat.c struct timespec st; st 105 maint/gnulib/tests/test-utimensat.c struct stat st; st 111 maint/gnulib/tests/test-utimensat.c ASSERT (stat ("file", &st) == 0); st 112 maint/gnulib/tests/test-utimensat.c ASSERT (st.st_atime == Y2K); st 113 maint/gnulib/tests/test-utimensat.c ASSERT (get_stat_atime_ns (&st) == 0); st 114 maint/gnulib/tests/test-utimensat.c ASSERT (st.st_mtime == Y2K); st 115 maint/gnulib/tests/test-utimensat.c ASSERT (get_stat_mtime_ns (&st) == 0); st 75 tools/crm_mon.c static stonith_t *st = NULL; st 243 tools/crm_mon.c static void mon_st_callback_event(stonith_t * st, stonith_event_t * e); st 244 tools/crm_mon.c static void mon_st_callback_display(stonith_t * st, stonith_event_t * e); st 857 tools/crm_mon.c if (st != NULL) { st 858 tools/crm_mon.c if (st->state != stonith_disconnected) { st 859 tools/crm_mon.c st->cmds->disconnect(st); st 861 tools/crm_mon.c st->cmds->remove_notification(st, NULL); st 913 tools/crm_mon.c if (options.fence_connect && st == NULL) { st 914 tools/crm_mon.c st = stonith_api_new(); st 917 tools/crm_mon.c if (!options.fence_connect || st == NULL || st->state != stonith_disconnected) { st 921 tools/crm_mon.c rc = st->cmds->connect(st, crm_system_name, NULL); st 925 tools/crm_mon.c st->cmds->register_notification(st, st 928 tools/crm_mon.c st->cmds->register_notification(st, PCMK__VALUE_ST_NOTIFY_FENCE, st 931 tools/crm_mon.c st->cmds->register_notification(st, st 934 tools/crm_mon.c st->cmds->register_notification(st, PCMK__VALUE_ST_NOTIFY_HISTORY, st 938 tools/crm_mon.c stonith_api_delete(st); st 939 tools/crm_mon.c st = NULL; st 989 tools/crm_mon.c stonith_api_delete(st); st 990 tools/crm_mon.c st = NULL; st 2142 tools/crm_mon.c rc = pcmk__output_cluster_status(out, st, cib, current_cib, pcmkd_state, st 2167 tools/crm_mon.c mon_st_callback_event(stonith_t * st, stonith_event_t * e) st 2169 tools/crm_mon.c if (st->state == stonith_disconnected) { st 2232 tools/crm_mon.c mon_st_callback_display(stonith_t * st, stonith_event_t * e) st 2234 tools/crm_mon.c if (st->state == stonith_disconnected) { st 2262 tools/crm_mon.c stonith_api_delete(st); st 343 tools/stonith_admin.c request_fencing(stonith_t *st, const char *target, const char *command, st 347 tools/stonith_admin.c int rc = pcmk__request_fencing(st, target, command, name, st 387 tools/stonith_admin.c stonith_t *st = NULL; st 542 tools/stonith_admin.c st = stonith_api_new(); st 543 tools/stonith_admin.c if (st == NULL) { st 546 tools/stonith_admin.c rc = st->cmds->connect(st, name, NULL); st 556 tools/stonith_admin.c rc = pcmk__fence_installed(out, st, options.timeout*1000); st 564 tools/stonith_admin.c rc = pcmk__fence_registered(out, st, target, options.timeout*1000); st 572 tools/stonith_admin.c rc = st->cmds->monitor(st, st_opts, device, options.timeout); st 574 tools/stonith_admin.c rc = st->cmds->list(st, st_opts, device, NULL, options.timeout); st 580 tools/stonith_admin.c rc = pcmk__fence_list_targets(out, st, device, options.timeout*1000); st 588 tools/stonith_admin.c rc = st->cmds->register_device(st, st_opts, device, NULL, options.agent, st 598 tools/stonith_admin.c rc = st->cmds->remove_device(st, st_opts, device); st 607 tools/stonith_admin.c rc = pcmk__fence_unregister_level(st, target, options.fence_level); st 615 tools/stonith_admin.c rc = pcmk__fence_register_level(st, target, options.fence_level, options.devices); st 623 tools/stonith_admin.c rc = pcmk__fence_metadata(out, st, options.agent, options.timeout*1000); st 632 tools/stonith_admin.c rc = st->cmds->confirm(st, st_opts, target); st 637 tools/stonith_admin.c rc = request_fencing(st, target, PCMK_ACTION_REBOOT, &error); st 641 tools/stonith_admin.c rc = request_fencing(st, target, PCMK_ACTION_OFF, &error); st 645 tools/stonith_admin.c rc = request_fencing(st, target, PCMK_ACTION_ON, &error); st 653 tools/stonith_admin.c rc = pcmk__fence_history(out, st, target, options.timeout*1000, args->verbosity, st 659 tools/stonith_admin.c rc = pcmk__fence_validate(out, st, options.agent, device, options.params, st 681 tools/stonith_admin.c if (st != NULL) { st 682 tools/stonith_admin.c st->cmds->disconnect(st); st 683 tools/stonith_admin.c stonith_api_delete(st);