st 20 daemons/controld/controld_fencing.c tengine_stonith_history_synced(stonith_t *st, stonith_event_t *st_event); st 411 daemons/controld/controld_fencing.c tengine_stonith_connection_destroy(stonith_t *st, stonith_event_t *e) st 413 daemons/controld/controld_fencing.c te_cleanup_stonith_history_sync(st, FALSE); st 428 daemons/controld/controld_fencing.c stonith_api->cmds->disconnect(st); st 447 daemons/controld/controld_fencing.c handle_fence_notification(stonith_t *st, stonith_event_t *event) st 985 daemons/controld/controld_fencing.c te_cleanup_stonith_history_sync(stonith_t *st, bool free_timers) st 997 daemons/controld/controld_fencing.c if (st) { st 998 daemons/controld/controld_fencing.c st->cmds->remove_notification(st, T_STONITH_NOTIFY_HISTORY_SYNCED); st 1003 daemons/controld/controld_fencing.c tengine_stonith_history_synced(stonith_t *st, stonith_event_t *st_event) st 1005 daemons/controld/controld_fencing.c te_cleanup_stonith_history_sync(st, FALSE); st 38 daemons/controld/controld_fencing.h void te_cleanup_stonith_history_sync(stonith_t *st, bool free_timers); st 43 daemons/execd/pacemaker-execd.c stonith_connection_destroy_cb(stonith_t * st, stonith_event_t * e) st 88 daemons/fenced/cts-fence-helper.c static stonith_t *st = NULL; st 121 daemons/fenced/cts-fence-helper.c if (!stonith_dispatch(st)) { st 131 daemons/fenced/cts-fence-helper.c st_callback(stonith_t * st, stonith_event_t * e) st 135 daemons/fenced/cts-fence-helper.c if (st->state == stonith_disconnected) { st 162 daemons/fenced/cts-fence-helper.c rc = st->cmds->connect(st, crm_system_name, &pollfd.fd); st 164 daemons/fenced/cts-fence-helper.c stonith_api_delete(st); st 167 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, T_STONITH_NOTIFY_DISCONNECT, st_callback); st 168 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, T_STONITH_NOTIFY_FENCE, st_callback); st 169 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_ADD, st_callback); st 170 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_DEL, st_callback); st 171 daemons/fenced/cts-fence-helper.c st->cmds->register_callback(st, 0, 120, st_opt_timeout_updates, NULL, "st_global_callback", st 211 daemons/fenced/cts-fence-helper.c single_test(st-> st 212 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id1", "stonith-ng", "fence_dummy", params), st 215 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", "off", 3, 0), st 218 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", "reboot", 3, 0), st 221 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id1"), st 236 daemons/fenced/cts-fence-helper.c single_test(st-> st 237 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id1", "stonith-ng", "fence_dummy", params), st 245 daemons/fenced/cts-fence-helper.c single_test(st-> st 246 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id2", "stonith-ng", "fence_dummy", params), st 249 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", "off", 3, 0), st 253 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", "on", 3, 0), st 256 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id1"), st 259 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id2"), st 275 daemons/fenced/cts-fence-helper.c single_test(st-> st 276 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id", "stonith-ng", "fence_dummy", params), st 281 daemons/fenced/cts-fence-helper.c single_test(st->cmds->list(st, st_opts, "test-id", NULL, 1), "list", 1, 0); st 283 daemons/fenced/cts-fence-helper.c single_test(st->cmds->monitor(st, st_opts, "test-id", 1), "Monitor", 1, 0); st 285 daemons/fenced/cts-fence-helper.c single_test(st->cmds->status(st, st_opts, "test-id", "false_1_node2", 1), st 288 daemons/fenced/cts-fence-helper.c single_test(st->cmds->status(st, st_opts, "test-id", "false_1_node1", 1), st 291 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "unknown-host", "off", 1, 0), st 294 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node1", "off", 1, 0), st 298 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node1", "on", 1, 0), st 302 daemons/fenced/cts-fence-helper.c single_test(st->cmds->register_level(st, st_opts, "node1", 999, params), st 305 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id"), "Remove test-id", 1, 0); st 315 daemons/fenced/cts-fence-helper.c rc = st->cmds->connect(st, crm_system_name, &pollfd.fd); st 317 daemons/fenced/cts-fence-helper.c stonith_api_delete(st); st 320 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, T_STONITH_NOTIFY_DISCONNECT, st_callback); st 321 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, T_STONITH_NOTIFY_FENCE, st_callback); st 322 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_ADD, st_callback); st 323 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_DEL, st_callback); st 324 daemons/fenced/cts-fence-helper.c st->cmds->register_callback(st, 0, 120, st_opt_timeout_updates, NULL, "st_global_callback", st 341 daemons/fenced/cts-fence-helper.c rc = st->cmds->connect(st, crm_system_name, &pollfd.fd); st 343 daemons/fenced/cts-fence-helper.c stonith_api_delete(st); st 350 daemons/fenced/cts-fence-helper.c rc = st->cmds->register_device(st, st_opts, "test-id", "stonith-ng", "fence_xvm", params); st 353 daemons/fenced/cts-fence-helper.c rc = st->cmds->list(st, st_opts, "test-id", &tmp, 10); st 356 daemons/fenced/cts-fence-helper.c rc = st->cmds->monitor(st, st_opts, "test-id", 10); st 359 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node2", 10); st 362 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); st 365 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "unknown-host", "off", 60, 0); st 368 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); st 371 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "false_1_node1", "off", 60, 0); st 374 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); st 377 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "false_1_node1", "on", 10, 0); st 380 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); st 383 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "some-host", "off", 10, 0); st 386 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "some-host", 10); st 389 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "false_1_node1", "on", 10, 0); st 392 daemons/fenced/cts-fence-helper.c rc = st->cmds->remove_device(st, st_opts, "test-id"); st 413 daemons/fenced/cts-fence-helper.c return st->cmds->register_callback(st, st 429 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, 0, "true_1_node1", "off", MAINLOOP_DEFAULT_TIMEOUT, 0); st 462 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, 0, "custom_timeout_node1", "off", MAINLOOP_DEFAULT_TIMEOUT, 0); st 482 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, 0, "false_1_node2", "off", MAINLOOP_DEFAULT_TIMEOUT, 0); st 501 daemons/fenced/cts-fence-helper.c rc = st->cmds->monitor(st, 0, "false_1", MAINLOOP_DEFAULT_TIMEOUT); st 520 daemons/fenced/cts-fence-helper.c st->cmds->register_device(st, st_opts, "false_1", "stonith-ng", "fence_dummy", params); st 527 daemons/fenced/cts-fence-helper.c st->cmds->register_device(st, st_opts, "true_1", "stonith-ng", "fence_dummy", params); st 537 daemons/fenced/cts-fence-helper.c st->cmds->register_device(st, st_opts, "false_custom_timeout", "stonith-ng", "fence_dummy", st 547 daemons/fenced/cts-fence-helper.c int rc = stonith_api_connect_retry(st, crm_system_name, 10); st 590 daemons/fenced/cts-fence-helper.c if (st) { st 591 daemons/fenced/cts-fence-helper.c rc = st->cmds->disconnect(st); st 595 daemons/fenced/cts-fence-helper.c stonith_api_delete(st); st 650 daemons/fenced/cts-fence-helper.c st = stonith_api_new(); st 651 daemons/fenced/cts-fence-helper.c if (st == NULL) { st 878 daemons/fenced/fenced_commands.c stonith_t *st = stonith_api_new(); st 881 daemons/fenced/fenced_commands.c if (st == NULL) { st 886 daemons/fenced/fenced_commands.c rc = st->cmds->metadata(st, st_opt_sync_call, agent, st 888 daemons/fenced/fenced_commands.c stonith_api_delete(st); st 237 include/crm/common/ipc_internal.h #define pcmk__ipc_create_ack(flags, tag, ver, st) \ st 238 include/crm/common/ipc_internal.h pcmk__ipc_create_ack_as(__func__, __LINE__, (flags), (tag), (ver), (st)) st 243 include/crm/common/ipc_internal.h #define pcmk__ipc_send_ack(c, req, flags, tag, ver, st) \ st 244 include/crm/common/ipc_internal.h pcmk__ipc_send_ack_as(__func__, __LINE__, (c), (req), (flags), (tag), (ver), (st)) st 219 include/crm/fencing/internal.h gboolean stonith__watchdog_fencing_enabled_for_node_api(stonith_t *st, const char *node); st 157 include/crm/stonith-ng.h int (*free) (stonith_t *st); st 169 include/crm/stonith-ng.h int (*connect) (stonith_t *st, const char *name, int *stonith_fd); st 178 include/crm/stonith-ng.h int (*disconnect)(stonith_t *st); st 190 include/crm/stonith-ng.h int (*remove_device)(stonith_t *st, int options, const char *name); st 208 include/crm/stonith-ng.h int (*register_device)(stonith_t *st, int options, const char *id, st 223 include/crm/stonith-ng.h int (*remove_level)(stonith_t *st, int options, const char *node, st 238 include/crm/stonith-ng.h int (*register_level)(stonith_t *st, int options, const char *node, st 398 include/crm/stonith-ng.h void (*callback)(stonith_t *st, st 431 include/crm/stonith-ng.h void (*callback)(stonith_t *st, st 467 include/crm/stonith-ng.h int (*remove_level_full)(stonith_t *st, int options, st 494 include/crm/stonith-ng.h int (*register_level_full)(stonith_t *st, int options, st 519 include/crm/stonith-ng.h int (*validate)(stonith_t *st, int call_options, const char *rsc_id, st 562 include/crm/stonith-ng.h void stonith_api_delete(stonith_t * st); st 564 include/crm/stonith-ng.h void stonith_dump_pending_callbacks(stonith_t * st); st 566 include/crm/stonith-ng.h bool stonith_dispatch(stonith_t * st); st 575 include/crm/stonith-ng.h int stonith_api_connect_retry(stonith_t *st, const char *name, st 293 include/pacemaker.h int pcmk_request_fencing(stonith_t *st, const char *target, const char *action, st 314 include/pacemaker.h int pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, char *target, st 330 include/pacemaker.h int pcmk_fence_installed(xmlNodePtr *xml, stonith_t *st, unsigned int timeout); st 359 include/pacemaker.h int pcmk_fence_list_targets(xmlNodePtr *xml, stonith_t *st, st 375 include/pacemaker.h int pcmk_fence_metadata(xmlNodePtr *xml, stonith_t *st, char *agent, st 392 include/pacemaker.h int pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, char *target, st 410 include/pacemaker.h int pcmk_fence_register_level(stonith_t *st, char *target, int fence_level, st 427 include/pacemaker.h int pcmk_fence_unregister_level(stonith_t *st, char *target, int fence_level); st 444 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, 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, char *agent, st 171 include/pcmki/pcmki_fence.h int pcmk__fence_registered(pcmk__output_t *out, stonith_t *st, char *target, st 192 include/pcmki/pcmki_fence.h int pcmk__fence_register_level(stonith_t *st, char *target, int fence_level, st 212 include/pcmki/pcmki_fence.h int pcmk__fence_unregister_level(stonith_t *st, char *target, int fence_level); st 233 include/pcmki/pcmki_fence.h int pcmk__fence_validate(pcmk__output_t *out, stonith_t *st, const char *agent, st 247 include/pcmki/pcmki_fence.h pcmk__get_fencing_history(stonith_t *st, stonith_history_t **stonith_history, st 207 lib/common/logging.c struct stat st; st 211 lib/common/logging.c if (fstat(logfd, &st) < 0) { st 224 lib/common/logging.c if ((st.st_gid == pcmk_gid) st 225 lib/common/logging.c && ((st.st_mode & S_IRWXG) == (S_IRGRP|S_IWGRP))) { st 445 lib/common/options.c struct stat st; st 451 lib/common/options.c if (stat(value, &st) != 0) { st 456 lib/common/options.c if (S_ISREG(st.st_mode) == 0) { st 461 lib/common/options.c if ((st.st_mode & (S_IXUSR | S_IXGRP)) == 0) { 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 329 lib/fencing/st_client.c stonith_api_register_device(stonith_t *st, int call_options, st 340 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_DEVICE_ADD, data, NULL, call_options, 0); st 347 lib/fencing/st_client.c stonith_api_remove_device(stonith_t * st, int call_options, const char *name) st 355 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_DEVICE_DEL, data, NULL, call_options, 0); st 362 lib/fencing/st_client.c stonith_api_remove_level_full(stonith_t *st, int options, st 386 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_LEVEL_DEL, data, NULL, options, 0); st 393 lib/fencing/st_client.c stonith_api_remove_level(stonith_t * st, int options, const char *node, int level) st 395 lib/fencing/st_client.c return stonith_api_remove_level_full(st, options, node, st 454 lib/fencing/st_client.c stonith_api_register_level_full(stonith_t *st, int options, const char *node, st 464 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_LEVEL_ADD, data, NULL, options, 0); st 471 lib/fencing/st_client.c stonith_api_register_level(stonith_t * st, int options, const char *node, int level, st 474 lib/fencing/st_client.c return stonith_api_register_level_full(st, options, node, NULL, NULL, NULL, st 895 lib/fencing/st_client.c invoke_fence_action_callback(stonith_t *st, int call_id, st 898 lib/fencing/st_client.c void (*callback) (stonith_t *st, st 908 lib/fencing/st_client.c callback(st, &data); st 1025 lib/fencing/st_client.c update_callback_timeout(int call_id, int timeout, stonith_t * st) st 1028 lib/fencing/st_client.c stonith_private_t *private = st->st_private; st 1036 lib/fencing/st_client.c set_callback_timeout(callback, st, call_id, timeout); st 1045 lib/fencing/st_client.c stonith_t *st = userdata; st 1048 lib/fencing/st_client.c CRM_ASSERT(st != NULL); st 1049 lib/fencing/st_client.c private = st->st_private; st 1051 lib/fencing/st_client.c blob.stonith = st; st 1063 lib/fencing/st_client.c invoke_registered_callbacks(st, blob.xml, 0); st 1074 lib/fencing/st_client.c update_callback_timeout(call_id, timeout, st); st 1298 lib/fencing/st_client.c void (*callback) (stonith_t * st, stonith_callback_data_t * data)) st 1650 lib/fencing/st_client.c stonith_dispatch(stonith_t * st) st 1655 lib/fencing/st_client.c CRM_ASSERT(st != NULL); st 1656 lib/fencing/st_client.c private = st->st_private; st 1663 lib/fencing/st_client.c stonith_dispatch_internal(msg, strlen(msg), st); st 1717 lib/fencing/st_client.c stonith_api_validate(stonith_t *st, int call_options, const char *rsc_id, st 1772 lib/fencing/st_client.c rc = stonith__rhcs_validate(st, call_options, target, agent, st 1779 lib/fencing/st_client.c rc = stonith__lha_validate(st, call_options, target, agent, st 1894 lib/fencing/st_client.c stonith_api_connect_retry(stonith_t *st, const char *name, int max_attempts) st 1899 lib/fencing/st_client.c rc = st->cmds->connect(st, name, NULL); st 1962 lib/fencing/st_client.c stonith_t *st = stonith_api_new(); st 1966 lib/fencing/st_client.c if (st == NULL) { st 1972 lib/fencing/st_client.c rc = st->cmds->connect(st, "stonith-api", NULL); st 1985 lib/fencing/st_client.c rc = st->cmds->fence(st, opts, name, action, timeout, 0); st 1996 lib/fencing/st_client.c stonith_api_delete(st); st 2005 lib/fencing/st_client.c stonith_t *st = stonith_api_new(); st 2008 lib/fencing/st_client.c if (st == NULL) { st 2014 lib/fencing/st_client.c rc = st->cmds->connect(st, "stonith-api", NULL); st 2028 lib/fencing/st_client.c rc = st->cmds->history(st, opts, name, &history, 120); st 2056 lib/fencing/st_client.c stonith_api_delete(st); st 2067 lib/fencing/st_client.c stonith_t *st = NULL; st 2076 lib/fencing/st_client.c st = stonith_api_new(); st 2077 lib/fencing/st_client.c if (st == NULL) { st 2081 lib/fencing/st_client.c st->cmds->list_agents(st, st_opt_sync_call, NULL, &devices, timeout == 0 ? 120 : timeout); st 2091 lib/fencing/st_client.c stonith_api_delete(st); st 272 lib/fencing/st_lha.c stonith__lha_validate(stonith_t *st, int call_options, const char *target, st 254 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, char *target, int fence_level, st 65 lib/pacemaker/pcmk_fence.c rc = st->cmds->register_level_full(st, st_opts, node, pattern, st 69 lib/pacemaker/pcmk_fence.c rc = st->cmds->remove_level_full(st, st_opts, node, pattern, st 120 lib/pacemaker/pcmk_fence.c notify_callback(stonith_t * st, stonith_event_t * e) st 145 lib/pacemaker/pcmk_fence.c stonith_t *st = async_fence_data.st; st 147 lib/pacemaker/pcmk_fence.c int rc = stonith_api_connect_retry(st, async_fence_data.name, 10); st 156 lib/pacemaker/pcmk_fence.c st->cmds->register_notification(st, T_STONITH_NOTIFY_FENCE, notify_callback); st 158 lib/pacemaker/pcmk_fence.c call_id = st->cmds->fence_with_delay(st, st 173 lib/pacemaker/pcmk_fence.c st->cmds->register_callback(st, st 182 lib/pacemaker/pcmk_fence.c pcmk__request_fencing(stonith_t *st, const char *target, const char *action, st 189 lib/pacemaker/pcmk_fence.c async_fence_data.st = st; st 219 lib/pacemaker/pcmk_fence.c pcmk_request_fencing(stonith_t *st, const char *target, const char *action, st 223 lib/pacemaker/pcmk_fence.c return pcmk__request_fencing(st, target, action, name, timeout, tolerance, st 229 lib/pacemaker/pcmk_fence.c pcmk__fence_history(pcmk__output_t *out, stonith_t *st, char *target, st 251 lib/pacemaker/pcmk_fence.c rc = st->cmds->history(st, opts, st 298 lib/pacemaker/pcmk_fence.c pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, char *target, unsigned int timeout, st 312 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_history(out, st, target, timeout, verbose, broadcast, cleanup); st 319 lib/pacemaker/pcmk_fence.c pcmk__fence_installed(pcmk__output_t *out, stonith_t *st, unsigned int timeout) { st 323 lib/pacemaker/pcmk_fence.c rc = st->cmds->list_agents(st, st_opt_sync_call, NULL, &devices, timeout/1000); st 341 lib/pacemaker/pcmk_fence.c pcmk_fence_installed(xmlNodePtr *xml, stonith_t *st, unsigned int timeout) { st 352 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_installed(out, st, timeout); st 395 lib/pacemaker/pcmk_fence.c pcmk__fence_list_targets(pcmk__output_t *out, stonith_t *st, st 401 lib/pacemaker/pcmk_fence.c rc = st->cmds->list(st, st_opts, device_id, &lists, timeout/1000); st 421 lib/pacemaker/pcmk_fence.c pcmk_fence_list_targets(xmlNodePtr *xml, stonith_t *st, const char *device_id, st 433 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_list_targets(out, st, device_id, timeout); st 440 lib/pacemaker/pcmk_fence.c pcmk__fence_metadata(pcmk__output_t *out, stonith_t *st, char *agent, st 443 lib/pacemaker/pcmk_fence.c int rc = st->cmds->metadata(st, st_opt_sync_call, agent, NULL, &buffer, st 457 lib/pacemaker/pcmk_fence.c pcmk_fence_metadata(xmlNodePtr *xml, stonith_t *st, char *agent, st 469 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_metadata(out, st, agent, timeout); st 476 lib/pacemaker/pcmk_fence.c pcmk__fence_registered(pcmk__output_t *out, stonith_t *st, char *target, st 481 lib/pacemaker/pcmk_fence.c rc = st->cmds->query(st, st_opts, target, &devices, timeout/1000); st 503 lib/pacemaker/pcmk_fence.c pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, char *target, st 515 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_registered(out, st, target, timeout); st 522 lib/pacemaker/pcmk_fence.c pcmk__fence_register_level(stonith_t *st, char *target, int fence_level, st 524 lib/pacemaker/pcmk_fence.c return handle_level(st, target, fence_level, devices, true); st 529 lib/pacemaker/pcmk_fence.c pcmk_fence_register_level(stonith_t *st, char *target, int fence_level, st 531 lib/pacemaker/pcmk_fence.c return pcmk__fence_register_level(st, target, fence_level, devices); st 536 lib/pacemaker/pcmk_fence.c pcmk__fence_unregister_level(stonith_t *st, char *target, int fence_level) { st 537 lib/pacemaker/pcmk_fence.c return handle_level(st, target, fence_level, NULL, false); st 542 lib/pacemaker/pcmk_fence.c pcmk_fence_unregister_level(stonith_t *st, char *target, int fence_level) { st 543 lib/pacemaker/pcmk_fence.c return pcmk__fence_unregister_level(st, target, fence_level); st 548 lib/pacemaker/pcmk_fence.c pcmk__fence_validate(pcmk__output_t *out, stonith_t *st, const char *agent, st 555 lib/pacemaker/pcmk_fence.c rc = st->cmds->validate(st, st_opt_sync_call, id, NULL, agent, params, st 563 lib/pacemaker/pcmk_fence.c pcmk_fence_validate(xmlNodePtr *xml, stonith_t *st, const char *agent, st 576 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_validate(out, st, agent, id, params, timeout); st 583 lib/pacemaker/pcmk_fence.c pcmk__get_fencing_history(stonith_t *st, stonith_history_t **stonith_history, st 588 lib/pacemaker/pcmk_fence.c if (st == NULL) { st 591 lib/pacemaker/pcmk_fence.c rc = st->cmds->history(st, st_opt_sync_call, NULL, stonith_history, 120); st 57 lib/pacemaker/pcmk_status.c stonith_t *st = stonith_api_new(); st 60 lib/pacemaker/pcmk_status.c if (st == NULL) { st 64 lib/pacemaker/pcmk_status.c rc = st->cmds->connect(st, crm_system_name, NULL); st 66 lib/pacemaker/pcmk_status.c return st; st 68 lib/pacemaker/pcmk_status.c stonith_api_delete(st); st 1174 lib/services/services_linux.c struct stat st; st 1178 lib/services/services_linux.c if (stat(op->opaque->exec, &st) != 0) { st 252 lib/services/services_lsb.c struct stat st; st 255 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 143 tools/crm_mon.c static void mon_st_callback_event(stonith_t * st, stonith_event_t * e); st 144 tools/crm_mon.c static void mon_st_callback_display(stonith_t * st, stonith_event_t * e); st 692 tools/crm_mon.c if (st) { st 748 tools/crm_mon.c if (options.fence_connect && st == NULL) { st 749 tools/crm_mon.c st = stonith_api_new(); st 752 tools/crm_mon.c if (!options.fence_connect || st == NULL || st->state != stonith_disconnected) { st 756 tools/crm_mon.c rc = st->cmds->connect(st, crm_system_name, NULL); st 760 tools/crm_mon.c st->cmds->register_notification(st, T_STONITH_NOTIFY_DISCONNECT, st 762 tools/crm_mon.c st->cmds->register_notification(st, T_STONITH_NOTIFY_FENCE, mon_st_callback_event); st 764 tools/crm_mon.c st->cmds->register_notification(st, T_STONITH_NOTIFY_DISCONNECT, st 766 tools/crm_mon.c st->cmds->register_notification(st, T_STONITH_NOTIFY_HISTORY, mon_st_callback_display); st 2003 tools/crm_mon.c rc = pcmk__output_cluster_status(out, st, cib, current_cib, fence_history, st 2027 tools/crm_mon.c mon_st_callback_event(stonith_t * st, stonith_event_t * e) st 2029 tools/crm_mon.c if (st->state == stonith_disconnected) { st 2092 tools/crm_mon.c mon_st_callback_display(stonith_t * st, stonith_event_t * e) st 2094 tools/crm_mon.c if (st->state == stonith_disconnected) { st 2106 tools/crm_mon.c if (st == NULL) { st 2110 tools/crm_mon.c if (st->state != stonith_disconnected) { st 2111 tools/crm_mon.c st->cmds->remove_notification(st, NULL); st 2112 tools/crm_mon.c st->cmds->disconnect(st); st 2115 tools/crm_mon.c stonith_api_delete(st); st 2116 tools/crm_mon.c st = NULL; st 336 tools/stonith_admin.c request_fencing(stonith_t *st, const char *target, const char *command, st 340 tools/stonith_admin.c int rc = pcmk__request_fencing(st, target, command, name, st 376 tools/stonith_admin.c stonith_t *st = NULL; st 529 tools/stonith_admin.c st = stonith_api_new(); st 530 tools/stonith_admin.c if (st == NULL) { st 533 tools/stonith_admin.c rc = st->cmds->connect(st, name, NULL); st 543 tools/stonith_admin.c rc = pcmk__fence_installed(out, st, options.timeout*1000); st 551 tools/stonith_admin.c rc = pcmk__fence_registered(out, st, target, options.timeout*1000); st 559 tools/stonith_admin.c rc = st->cmds->monitor(st, st_opts, device, options.timeout); st 561 tools/stonith_admin.c rc = st->cmds->list(st, st_opts, device, NULL, options.timeout); st 567 tools/stonith_admin.c rc = pcmk__fence_list_targets(out, st, device, options.timeout*1000); st 575 tools/stonith_admin.c rc = st->cmds->register_device(st, st_opts, device, NULL, options.agent, st 585 tools/stonith_admin.c rc = st->cmds->remove_device(st, st_opts, device); st 594 tools/stonith_admin.c rc = pcmk__fence_unregister_level(st, target, options.fence_level); st 602 tools/stonith_admin.c rc = pcmk__fence_register_level(st, target, options.fence_level, options.devices); st 610 tools/stonith_admin.c rc = pcmk__fence_metadata(out, st, options.agent, options.timeout*1000); st 619 tools/stonith_admin.c rc = st->cmds->confirm(st, st_opts, target); st 624 tools/stonith_admin.c rc = request_fencing(st, target, "reboot", &error); st 628 tools/stonith_admin.c rc = request_fencing(st, target, "off", &error); st 632 tools/stonith_admin.c rc = request_fencing(st, target, "on", &error); st 640 tools/stonith_admin.c rc = pcmk__fence_history(out, st, target, options.timeout*1000, args->verbosity, st 646 tools/stonith_admin.c rc = pcmk__fence_validate(out, st, options.agent, device, options.params, st 667 tools/stonith_admin.c if (st != NULL) { st 668 tools/stonith_admin.c st->cmds->disconnect(st); st 669 tools/stonith_admin.c stonith_api_delete(st);