userdata 429 daemons/based/based_remote.c if (client->userdata == NULL) { userdata 432 daemons/based/based_remote.c client->userdata = strdup(value); userdata 433 daemons/based/based_remote.c crm_trace("Callback channel for %s is %s", client->id, (char*)client->userdata); userdata 436 daemons/based/based_remote.c client->userdata = strdup(client->id); userdata 414 daemons/controld/controld_control.c (client->userdata? "" : "un"), pcmk__client_name(client), userdata 416 daemons/controld/controld_control.c free(client->userdata); userdata 27 daemons/controld/controld_execd_state.c void lrmd_internal_set_proxy_callback(lrmd_t * lrmd, void *userdata, void (*callback)(lrmd_t *lrmd, void *userdata, xmlNode *msg)); userdata 476 daemons/controld/controld_execd_state.c crmd_remote_proxy_cb(lrmd_t *lrmd, void *userdata, xmlNode *msg) userdata 478 daemons/controld/controld_execd_state.c lrm_state_t *lrm_state = userdata; userdata 702 daemons/controld/controld_execd_state.c const char *action, const char *userdata, userdata 715 daemons/controld/controld_execd_state.c userdata, interval_ms, timeout_ms, userdata 720 daemons/controld/controld_execd_state.c action, userdata, userdata 746 daemons/controld/controld_fencing.c if ((data == NULL) || (data->userdata == NULL)) { userdata 761 daemons/controld/controld_fencing.c (const char *) data->userdata); userdata 765 daemons/controld/controld_fencing.c CRM_CHECK(decode_transition_key(data->userdata, &uuid, &transition_id, userdata 879 daemons/controld/controld_fencing.c free(data->userdata); userdata 153 daemons/controld/controld_lrm.h const char *action, const char *userdata, userdata 174 daemons/controld/controld_lrm.h const char *userdata, userdata 550 daemons/controld/controld_messages.c curr_client->userdata = strdup(client_name); userdata 34 daemons/controld/controld_remote_ra.c char *userdata; userdata 113 daemons/controld/controld_remote_ra.c free(cmd->userdata); userdata 364 daemons/controld/controld_remote_ra.c op.user_data = cmd->userdata; userdata 973 daemons/controld/controld_remote_ra.c cmd->action, cmd->rsc_id, cmd->interval_ms, cmd->userdata); userdata 1034 daemons/controld/controld_remote_ra.c const char *userdata) userdata 1082 daemons/controld/controld_remote_ra.c if (userdata) { userdata 1083 daemons/controld/controld_remote_ra.c free(cmd->userdata); userdata 1084 daemons/controld/controld_remote_ra.c cmd->userdata = strdup(userdata); userdata 1126 daemons/controld/controld_remote_ra.c const char *action, const char *userdata, userdata 1138 daemons/controld/controld_remote_ra.c && (userdata != NULL) && (call_id != NULL), userdata 1155 daemons/controld/controld_remote_ra.c cmd = handle_dup_monitor(ra_data, interval_ms, userdata); userdata 1171 daemons/controld/controld_remote_ra.c cmd->userdata = strdup(userdata); userdata 1173 daemons/controld/controld_remote_ra.c || (cmd->userdata == NULL)) { userdata 1068 daemons/execd/execd_commands.c if ((data == NULL) || (data->userdata == NULL)) { userdata 1072 daemons/execd/execd_commands.c stonith_action_complete((lrmd_cmd_t *) data->userdata, userdata 89 daemons/execd/remoted_proxy.c client->userdata = strdup(ipc_proxy->id); userdata 227 daemons/execd/remoted_proxy.c pcmk__client_t *ipc_proxy = pcmk__find_client_by_id(client->userdata); userdata 317 daemons/execd/remoted_proxy.c ipc_proxy = pcmk__find_client_by_id(client->userdata); userdata 331 daemons/execd/remoted_proxy.c free(client->userdata); userdata 332 daemons/execd/remoted_proxy.c client->userdata = NULL; userdata 412 daemons/execd/remoted_proxy.c const char *proxy_id = ipc_client->userdata; userdata 646 daemons/fenced/fenced_remote.c remote_op_watchdog_done(gpointer userdata) userdata 648 daemons/fenced/fenced_remote.c remote_fencing_op_t *op = userdata; userdata 662 daemons/fenced/fenced_remote.c remote_op_timeout_one(gpointer userdata) userdata 664 daemons/fenced/fenced_remote.c remote_fencing_op_t *op = userdata; userdata 717 daemons/fenced/fenced_remote.c remote_op_timeout(gpointer userdata) userdata 719 daemons/fenced/fenced_remote.c remote_fencing_op_t *op = userdata; userdata 726 daemons/fenced/fenced_remote.c finalize_timed_out_op(userdata, "Fencing did not complete within a " userdata 57 include/crm/common/internal.h int pcmk__add_mainloop_ipc(crm_ipc_t *ipc, int priority, void *userdata, userdata 174 include/crm/common/ipc_internal.h void *userdata; userdata 40 include/crm/common/mainloop.h gpointer userdata); userdata 66 include/crm/common/mainloop.h mainloop_timer_t *mainloop_timer_add(const char *name, guint period_ms, bool repeat, GSourceFunc cb, void *userdata); userdata 84 include/crm/common/mainloop.h int (*dispatch) (const char *buffer, ssize_t length, gpointer userdata); userdata 91 include/crm/common/mainloop.h void (*destroy) (gpointer userdata); userdata 124 include/crm/common/mainloop.h void *userdata, struct ipc_client_callbacks *callbacks); userdata 138 include/crm/common/mainloop.h int (*dispatch) (gpointer userdata); userdata 145 include/crm/common/mainloop.h void (*destroy) (gpointer userdata); userdata 148 include/crm/common/mainloop.h mainloop_io_t *mainloop_add_fd(const char *name, int priority, int fd, void *userdata, userdata 160 include/crm/common/mainloop.h void *userdata, userdata 166 include/crm/common/mainloop.h void *userdata, userdata 22 include/crm/common/remote_internal.h int *timer_id, int *sock_fd, void *userdata, userdata 23 include/crm/common/remote_internal.h void (*callback) (void *userdata, int rc, int sock)); userdata 366 include/crm/common/xml_internal.h int (*handler)(xmlNode *xml, void *userdata), userdata 367 include/crm/common/xml_internal.h void *userdata); userdata 68 include/crm/fencing/internal.h int stonith__execute_async(stonith_action_t *action, void *userdata, userdata 457 include/crm/lrmd.h const char *userdata, guint interval_ms, int timeout, userdata 75 include/crm/lrmd_internal.h gpointer userdata); userdata 144 include/crm/stonith-ng.h void *userdata; userdata 99 lib/cib/cib_native.c cib_native_dispatch_internal(const char *buffer, ssize_t length, gpointer userdata) userdata 104 lib/cib/cib_native.c cib_t *cib = userdata; userdata 106 lib/cib/cib_native.c crm_trace("dispatching %p", userdata); userdata 140 lib/cib/cib_native.c cib_native_destroy(void *userdata) userdata 142 lib/cib/cib_native.c cib_t *cib = userdata; userdata 145 lib/cib/cib_native.c crm_trace("destroying %p", userdata); userdata 151 lib/cib/cib_native.c native->dnotify_fn(userdata); userdata 58 lib/common/mainloop.c void *userdata; userdata 107 lib/common/mainloop.c crm_trigger_dispatch(GSource *source, GSourceFunc callback, gpointer userdata) userdata 146 lib/common/mainloop.c gpointer userdata) userdata 154 lib/common/mainloop.c trigger->user_data = userdata; userdata 188 lib/common/mainloop.c gpointer userdata) userdata 196 lib/common/mainloop.c return mainloop_setup_trigger(source, priority, dispatch, userdata); userdata 254 lib/common/mainloop.c crm_signal_dispatch(GSource *source, GSourceFunc callback, gpointer userdata) userdata 703 lib/common/mainloop.c void *userdata; userdata 710 lib/common/mainloop.c int (*dispatch_fn_ipc) (const char *buffer, ssize_t length, gpointer userdata); userdata 711 lib/common/mainloop.c int (*dispatch_fn_io) (gpointer userdata); userdata 712 lib/common/mainloop.c void (*destroy_fn) (gpointer userdata); userdata 751 lib/common/mainloop.c if (client->dispatch_fn_ipc(buffer, read_rc, client->userdata) < 0) { userdata 763 lib/common/mainloop.c if (client->dispatch_fn_io(client->userdata) < 0) { userdata 834 lib/common/mainloop.c void (*destroy_fn) (gpointer userdata) = client->destroy_fn; userdata 837 lib/common/mainloop.c destroy_fn(client->userdata); userdata 874 lib/common/mainloop.c pcmk__add_mainloop_ipc(crm_ipc_t *ipc, int priority, void *userdata, userdata 886 lib/common/mainloop.c userdata, NULL); userdata 917 lib/common/mainloop.c void *userdata, struct ipc_client_callbacks *callbacks) userdata 921 lib/common/mainloop.c int rc = pcmk__add_mainloop_ipc(ipc, priority, userdata, callbacks, userdata 956 lib/common/mainloop.c mainloop_add_fd(const char *name, int priority, int fd, void *userdata, userdata 967 lib/common/mainloop.c client->userdata = userdata; userdata 1306 lib/common/mainloop.c if(t->cb(t->userdata) == FALSE) { userdata 1366 lib/common/mainloop.c mainloop_timer_add(const char *name, guint period_ms, bool repeat, GSourceFunc cb, void *userdata) userdata 1380 lib/common/mainloop.c t->userdata = userdata; userdata 1381 lib/common/mainloop.c crm_trace("Created timer %s with %p %p", t->name, userdata, t->userdata); userdata 845 lib/common/remote.c void *userdata; userdata 846 lib/common/remote.c void (*callback) (void *userdata, int rc, int sock); userdata 851 lib/common/remote.c check_connect_finished(gpointer userdata) userdata 853 lib/common/remote.c struct tcp_async_cb_data *cb_data = userdata; userdata 927 lib/common/remote.c cb_data->callback(cb_data->userdata, rc, cb_data->sock); userdata 953 lib/common/remote.c int timeout_ms, int *timer_id, void *userdata, userdata 954 lib/common/remote.c void (*callback) (void *userdata, int rc, int sock)) userdata 977 lib/common/remote.c cb_data->userdata = userdata; userdata 1064 lib/common/remote.c int *sock_fd, void *userdata, userdata 1065 lib/common/remote.c void (*callback) (void *userdata, int rc, int sock)) userdata 1130 lib/common/remote.c timer_id, userdata, callback) == pcmk_rc_ok) { userdata 15 lib/common/tests/xml/pcmk__xe_foreach_child_test.c static int compare_name_handler(xmlNode *xml, void *userdata) { userdata 17 lib/common/tests/xml/pcmk__xe_foreach_child_test.c assert_string_equal((char *) userdata, crm_element_name(xml)); userdata 141 lib/common/tests/xml/pcmk__xe_foreach_child_test.c static int any_of_handler(xmlNode *xml, void *userdata) { userdata 160 lib/common/tests/xml/pcmk__xe_foreach_child_test.c static int stops_on_first_handler(xmlNode *xml, void *userdata) { userdata 170 lib/common/tests/xml/pcmk__xe_foreach_child_test.c static int stops_on_second_handler(xmlNode *xml, void *userdata) { userdata 180 lib/common/tests/xml/pcmk__xe_foreach_child_test.c static int stops_on_third_handler(xmlNode *xml, void *userdata) { userdata 3113 lib/common/xml.c int (*handler)(xmlNode *xml, void *userdata), userdata 3114 lib/common/xml.c void *userdata) userdata 3123 lib/common/xml.c int rc = handler(node, userdata); userdata 36 lib/fencing/st_actions.c void *userdata; userdata 552 lib/fencing/st_actions.c action->done_cb(action->pid, &(action->result), action->userdata); userdata 568 lib/fencing/st_actions.c (action->fork_cb) (svc_action->pid, action->userdata); userdata 671 lib/fencing/st_actions.c stonith__execute_async(stonith_action_t * action, void *userdata, userdata 681 lib/fencing/st_actions.c action->userdata = userdata; userdata 897 lib/fencing/st_client.c void *userdata, userdata 905 lib/fencing/st_client.c data.userdata = userdata; userdata 1040 lib/fencing/st_client.c stonith_dispatch_internal(const char *buffer, ssize_t length, gpointer userdata) userdata 1045 lib/fencing/st_client.c stonith_t *st = userdata; userdata 60 lib/lrmd/lrmd_client.c void lrmd_internal_set_proxy_callback(lrmd_t * lrmd, void *userdata, void (*callback)(lrmd_t *lrmd, void *userdata, xmlNode *msg)); userdata 67 lib/lrmd/lrmd_client.c static void lrmd_tls_connection_destroy(gpointer userdata); userdata 103 lib/lrmd/lrmd_client.c void (*proxy_callback)(lrmd_t *lrmd, void *userdata, xmlNode *msg); userdata 335 lib/lrmd/lrmd_client.c lrmd_ipc_dispatch(const char *buffer, ssize_t length, gpointer userdata) userdata 337 lib/lrmd/lrmd_client.c lrmd_t *lrmd = userdata; userdata 351 lib/lrmd/lrmd_client.c lrmd_free_xml(gpointer userdata) userdata 353 lib/lrmd/lrmd_client.c free_xml((xmlNode *) userdata); userdata 376 lib/lrmd/lrmd_client.c lrmd_tls_dispatch(gpointer userdata) userdata 378 lib/lrmd/lrmd_client.c lrmd_t *lrmd = userdata; userdata 542 lib/lrmd/lrmd_client.c lrmd_ipc_connection_destroy(gpointer userdata) userdata 544 lib/lrmd/lrmd_client.c lrmd_t *lrmd = userdata; userdata 563 lib/lrmd/lrmd_client.c lrmd_tls_connection_destroy(gpointer userdata) userdata 565 lib/lrmd/lrmd_client.c lrmd_t *lrmd = userdata; userdata 1382 lib/lrmd/lrmd_client.c lrmd_tcp_connect_cb(void *userdata, int rc, int sock) userdata 1384 lib/lrmd/lrmd_client.c lrmd_t *lrmd = userdata; userdata 1874 lib/lrmd/lrmd_client.c lrmd_internal_set_proxy_callback(lrmd_t * lrmd, void *userdata, void (*callback)(lrmd_t *lrmd, void *userdata, xmlNode *msg)) userdata 1879 lib/lrmd/lrmd_client.c native->proxy_callback_userdata = userdata; userdata 1993 lib/lrmd/lrmd_client.c const char *userdata, guint interval_ms, userdata 2006 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_RSC_USERDATA_STR, userdata); userdata 119 lib/lrmd/proxy_common.c remote_proxy_dispatch(const char *buffer, ssize_t length, gpointer userdata) userdata 124 lib/lrmd/proxy_common.c remote_proxy_t *proxy = userdata; userdata 148 lib/lrmd/proxy_common.c remote_proxy_disconnected(gpointer userdata) userdata 150 lib/lrmd/proxy_common.c remote_proxy_t *proxy = userdata; userdata 107 lib/services/dbus.c dispatch_fd_data(gpointer userdata) userdata 110 lib/services/dbus.c DBusWatch *watch = userdata; userdata 141 lib/services/dbus.c watch_fd_closed(gpointer userdata) userdata 144 lib/services/dbus.c dbus_watch_get_unix_fd((DBusWatch *) userdata)); userdata 568 lib/services/dbus.c void *userdata); // Caller-provided data userdata 575 lib/services/dbus.c void *userdata; // Caller-provided data to supply to callback userdata 643 lib/services/dbus.c data->callback(data->name, (value.str? value.str : ""), data->userdata); userdata 695 lib/services/dbus.c property_callback_func callback, void *userdata, userdata 738 lib/services/dbus.c query_data->userdata = userdata; userdata 38 lib/services/pcmk-dbus.h void (*callback)(const char *name, const char *value, void *userdata), void *userdata, userdata 312 lib/services/services_linux.c dispatch_stdout(gpointer userdata) userdata 314 lib/services/services_linux.c svc_action_t *op = (svc_action_t *) userdata; userdata 320 lib/services/services_linux.c dispatch_stderr(gpointer userdata) userdata 322 lib/services/services_linux.c svc_action_t *op = (svc_action_t *) userdata; userdata 161 lib/services/systemd.c void (*callback)(const char *name, const char *value, void *userdata), userdata 162 lib/services/systemd.c void *userdata, DBusPendingCall **pending, int timeout) userdata 166 lib/services/systemd.c name, callback, userdata, pending, timeout) userdata 891 lib/services/systemd.c parse_status_result(const char *name, const char *state, void *userdata) userdata 893 lib/services/systemd.c svc_action_t *op = userdata; userdata 357 lib/services/upstart.c parse_status_result(const char *name, const char *state, void *userdata) userdata 359 lib/services/upstart.c svc_action_t *op = userdata; userdata 60 libltdl/libltdl/slist.h const void *userdata; /* for boxed 'SList' item */ userdata 63 libltdl/libltdl/slist.h typedef void * SListCallback (SList *item, void *userdata); userdata 65 libltdl/libltdl/slist.h void *userdata); userdata 75 libltdl/libltdl/slist.h void *userdata); userdata 84 libltdl/libltdl/slist.h void *userdata); userdata 86 libltdl/libltdl/slist.h LT_SCOPE SList *slist_box (const void *userdata); userdata 38 libltdl/lt_dlloader.c static void * loader_callback (SList *item, void *userdata); userdata 49 libltdl/lt_dlloader.c loader_callback (SList *item, void *userdata) userdata 51 libltdl/lt_dlloader.c const lt_dlvtable *vtable = (const lt_dlvtable *) item->userdata; userdata 52 libltdl/lt_dlloader.c const char * name = (const char *) userdata; userdata 103 libltdl/lt_dlloader.c loader_dump_callback (SList *item, void *userdata) userdata 105 libltdl/lt_dlloader.c const lt_dlvtable *vtable = (const lt_dlvtable *) item->userdata; userdata 120 libltdl/lt_dlloader.c const lt_dlvtable *head = (const lt_dlvtable *) loaders->userdata; userdata 143 libltdl/lt_dlloader.c return (const lt_dlvtable *) (loader ? ((SList *) loader)->userdata : NULL); userdata 38 libltdl/slist.c SListCompare *compare, void *userdata); userdata 242 libltdl/slist.c slist_foreach (SList *slist, SListCallback *foreach, void *userdata) userdata 251 libltdl/slist.c result = (*foreach) (slist, userdata); userdata 274 libltdl/slist.c void *userdata) userdata 282 libltdl/slist.c if ((*compare) (left, right, userdata) <= 0) userdata 307 libltdl/slist.c slist_sort (SList *slist, SListCompare *compare, void *userdata) userdata 333 libltdl/slist.c return slist_sort_merge (slist_sort (left, compare, userdata), userdata 334 libltdl/slist.c slist_sort (right, compare, userdata), userdata 335 libltdl/slist.c compare, userdata); userdata 351 libltdl/slist.c slist_box (const void *userdata) userdata 358 libltdl/slist.c item->userdata = userdata; userdata 368 libltdl/slist.c void *userdata = 0; userdata 374 libltdl/slist.c userdata = (void *) item->userdata; userdata 378 libltdl/slist.c return userdata; userdata 415 tools/crm_attribute.c delete_attr_on_node(xmlNode *child, void *userdata) userdata 417 tools/crm_attribute.c struct delete_data_s *dd = (struct delete_data_s *) userdata; userdata 491 tools/crm_attribute.c update_attr_on_node(xmlNode *child, void *userdata) userdata 493 tools/crm_attribute.c struct update_data_s *ud = (struct update_data_s *) userdata; userdata 558 tools/crm_attribute.c output_one_attribute(xmlNode *node, void *userdata) userdata 560 tools/crm_attribute.c struct output_data_s *od = (struct output_data_s *) userdata; userdata 1698 tools/crm_mon.c handle_rsc_op(xmlNode *xml, void *userdata) userdata 1700 tools/crm_mon.c const char *node_id = (const char *) userdata; userdata 1806 tools/crm_mon.c handle_op_for_node(xmlNode *xml, void *userdata) userdata 21 tools/crm_resource_print.c print_constraint(xmlNode *xml_obj, void *userdata) userdata 23 tools/crm_resource_print.c pe_working_set_t *data_set = (pe_working_set_t *) userdata;