blob 195 lib/cib/cib_client.c cib_callback_client_t *blob = data; blob 197 lib/cib/cib_client.c if (blob->timer && blob->timer->ref > 0) { blob 198 lib/cib/cib_client.c g_source_remove(blob->timer->ref); blob 200 lib/cib/cib_client.c free(blob->timer); blob 202 lib/cib/cib_client.c if (blob->user_data && blob->free_func) { blob 203 lib/cib/cib_client.c blob->free_func(blob->user_data); blob 206 lib/cib/cib_client.c free(blob); blob 611 lib/cib/cib_client.c cib_callback_client_t *blob = NULL; blob 625 lib/cib/cib_client.c blob = calloc(1, sizeof(cib_callback_client_t)); blob 626 lib/cib/cib_client.c blob->id = callback_name; blob 627 lib/cib/cib_client.c blob->only_success = only_success; blob 628 lib/cib/cib_client.c blob->user_data = user_data; blob 629 lib/cib/cib_client.c blob->callback = callback; blob 630 lib/cib/cib_client.c blob->free_func = free_func; blob 636 lib/cib/cib_client.c blob->timer = async_timer; blob 646 lib/cib/cib_client.c g_hash_table_insert(cib_op_callback_table, GINT_TO_POINTER(call_id), blob); blob 676 lib/cib/cib_client.c cib_callback_client_t *blob = value; blob 678 lib/cib/cib_client.c crm_debug("Call %d (%s): pending", call, crm_str(blob->id)); blob 626 lib/cib/cib_utils.c cib_callback_client_t *blob = NULL; blob 634 lib/cib/cib_utils.c blob = g_hash_table_lookup(cib_op_callback_table, GINT_TO_POINTER(call_id)); blob 635 lib/cib/cib_utils.c if (blob == NULL) { blob 648 lib/cib/cib_utils.c if (blob && blob->callback && (rc == pcmk_ok || blob->only_success == FALSE)) { blob 649 lib/cib/cib_utils.c crm_trace("Invoking callback %s for call %d", crm_str(blob->id), call_id); blob 650 lib/cib/cib_utils.c blob->callback(msg, call_id, rc, output, blob->user_data); blob 658 lib/cib/cib_utils.c if (blob) { blob 186 lib/fencing/st_client.c struct notify_blob_s blob; blob 189 lib/fencing/st_client.c blob.stonith = stonith; blob 190 lib/fencing/st_client.c blob.xml = create_xml_node(NULL, "notify"); blob 197 lib/fencing/st_client.c crm_xml_add(blob.xml, F_TYPE, T_STONITH_NOTIFY); blob 198 lib/fencing/st_client.c crm_xml_add(blob.xml, F_SUBTYPE, T_STONITH_NOTIFY_DISCONNECT); blob 200 lib/fencing/st_client.c g_list_foreach(native->notify_list, stonith_send_notification, &blob); blob 201 lib/fencing/st_client.c free_xml(blob.xml); blob 1696 lib/fencing/st_client.c stonith_callback_client_t *blob = data; blob 1698 lib/fencing/st_client.c if (blob->timer && blob->timer->ref > 0) { blob 1699 lib/fencing/st_client.c g_source_remove(blob->timer->ref); blob 1701 lib/fencing/st_client.c free(blob->timer); blob 1702 lib/fencing/st_client.c free(blob); blob 1992 lib/fencing/st_client.c stonith_callback_client_t *blob = NULL; blob 2012 lib/fencing/st_client.c blob = calloc(1, sizeof(stonith_callback_client_t)); blob 2013 lib/fencing/st_client.c blob->id = callback_name; blob 2014 lib/fencing/st_client.c blob->only_success = (options & st_opt_report_only_success) ? TRUE : FALSE; blob 2015 lib/fencing/st_client.c blob->user_data = user_data; blob 2016 lib/fencing/st_client.c blob->callback = callback; blob 2017 lib/fencing/st_client.c blob->allow_timeout_updates = (options & st_opt_timeout_updates) ? TRUE : FALSE; blob 2020 lib/fencing/st_client.c set_callback_timeout(blob, stonith, call_id, timeout); blob 2023 lib/fencing/st_client.c g_hash_table_insert(private->stonith_op_callback_table, GINT_TO_POINTER(call_id), blob); blob 2054 lib/fencing/st_client.c stonith_callback_client_t *blob = value; blob 2056 lib/fencing/st_client.c crm_debug("Call %d (%s): pending", call, crm_str(blob->id)); blob 2074 lib/fencing/st_client.c stonith_callback_client_t *blob = NULL; blob 2094 lib/fencing/st_client.c blob = g_hash_table_lookup(private->stonith_op_callback_table, GINT_TO_POINTER(call_id)); blob 2096 lib/fencing/st_client.c if (blob != NULL) { blob 2097 lib/fencing/st_client.c local_blob = *blob; blob 2098 lib/fencing/st_client.c blob = NULL; blob 2195 lib/fencing/st_client.c struct notify_blob_s *blob = user_data; blob 2200 lib/fencing/st_client.c if (blob->xml == NULL) { blob 2205 lib/fencing/st_client.c event = crm_element_value(blob->xml, F_SUBTYPE); blob 2220 lib/fencing/st_client.c st_event = xml_to_event(blob->xml); blob 2223 lib/fencing/st_client.c entry->notify(blob->stonith, st_event); blob 2369 lib/fencing/st_client.c struct notify_blob_s blob; blob 2377 lib/fencing/st_client.c blob.stonith = st; blob 2378 lib/fencing/st_client.c blob.xml = string2xml(buffer); blob 2379 lib/fencing/st_client.c if (blob.xml == NULL) { blob 2385 lib/fencing/st_client.c type = crm_element_value(blob.xml, F_TYPE); blob 2389 lib/fencing/st_client.c stonith_perform_callback(st, blob.xml, 0, 0); blob 2392 lib/fencing/st_client.c g_list_foreach(private->notify_list, stonith_send_notification, &blob); blob 2397 lib/fencing/st_client.c crm_element_value_int(blob.xml, F_STONITH_TIMEOUT, &timeout); blob 2398 lib/fencing/st_client.c crm_element_value_int(blob.xml, F_STONITH_CALLID, &call_id); blob 2403 lib/fencing/st_client.c crm_log_xml_warn(blob.xml, "BadReply"); blob 2406 lib/fencing/st_client.c free_xml(blob.xml);