NULL 21 daemons/attrd/attrd_alerts.c static GList *attrd_alert_list = NULL; NULL 26 daemons/attrd/attrd_alerts.c CRM_CHECK(op != NULL, return); NULL 40 daemons/attrd/attrd_alerts.c if (the_lrmd == NULL) { NULL 50 daemons/attrd/attrd_alerts.c ret = the_lrmd->cmds->connect(the_lrmd, T_ATTRD, NULL); NULL 76 daemons/attrd/attrd_alerts.c the_lrmd = NULL; /* in case we're called recursively */ NULL 84 daemons/attrd/attrd_alerts.c xmlNode *crmalerts = NULL; NULL 115 daemons/attrd/attrd_alerts.c CRM_CHECK(the_cib != NULL, return TRUE); NULL 117 daemons/attrd/attrd_alerts.c call_id = the_cib->cmds->query(the_cib, XPATH_ALERTS, NULL, NULL 120 daemons/attrd/attrd_alerts.c the_cib->cmds->register_callback_full(the_cib, call_id, 120, FALSE, NULL, NULL 140 daemons/attrd/attrd_alerts.c if (attrd_alert_list == NULL) { NULL 50 daemons/attrd/attrd_commands.c GHashTable *attributes = NULL; NULL 132 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; NULL 135 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&aIter, NULL, (gpointer *) & a)) { NULL 137 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&vIter, NULL, (gpointer *) & v)) { NULL 154 daemons/attrd/attrd_commands.c a->values = pcmk__strikey_table(NULL, free_attribute_value); NULL 193 daemons/attrd/attrd_commands.c char *host_alloc = NULL; NULL 195 daemons/attrd/attrd_commands.c if (host == NULL) { NULL 200 daemons/attrd/attrd_commands.c crm_node_t *node = pcmk__search_cluster_node_cache(nodeid, NULL); NULL 201 daemons/attrd/attrd_commands.c char *host_alloc = NULL; NULL 218 daemons/attrd/attrd_commands.c send_attrd_message(NULL, xml); /* ends up at attrd_peer_message() */ NULL 237 daemons/attrd/attrd_commands.c attribute_t *a = NULL; NULL 244 daemons/attrd/attrd_commands.c if ((attr == NULL) && regex) { NULL 254 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&aIter, (gpointer *) & attr, NULL)) { NULL 255 daemons/attrd/attrd_commands.c int status = regexec(r_patt, attr, 0, NULL, 0); NULL 260 daemons/attrd/attrd_commands.c send_attrd_message(NULL, xml); NULL 270 daemons/attrd/attrd_commands.c } else if (attr == NULL) { NULL 276 daemons/attrd/attrd_commands.c if (host == NULL) { NULL 289 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; NULL 294 daemons/attrd/attrd_commands.c int_value = attrd_expand_value(value, (v? v->current : NULL)); NULL 309 daemons/attrd/attrd_commands.c send_attrd_message(NULL, xml); /* ends up at attrd_peer_message() */ NULL 329 daemons/attrd/attrd_commands.c send_attrd_message(NULL, xml); NULL 346 daemons/attrd/attrd_commands.c if (op == NULL) { NULL 365 daemons/attrd/attrd_commands.c crm_xml_replace(xml, PCMK__XA_ATTR_NAME, NULL); NULL 368 daemons/attrd/attrd_commands.c crm_xml_replace(xml, PCMK__XA_ATTR_VALUE, NULL); NULL 399 daemons/attrd/attrd_commands.c xmlNode *reply = create_xml_node(NULL, __func__); NULL 402 daemons/attrd/attrd_commands.c if (reply == NULL) { NULL 403 daemons/attrd/attrd_commands.c return NULL; NULL 426 daemons/attrd/attrd_commands.c if (host_value == NULL) { NULL 428 daemons/attrd/attrd_commands.c return NULL; NULL 432 daemons/attrd/attrd_commands.c (v? v->current : NULL)); NULL 439 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &v)) { NULL 441 daemons/attrd/attrd_commands.c if (host_value == NULL) { NULL 443 daemons/attrd/attrd_commands.c return NULL; NULL 470 daemons/attrd/attrd_commands.c if (origin == NULL) { NULL 477 daemons/attrd/attrd_commands.c if (attr == NULL) { NULL 486 daemons/attrd/attrd_commands.c if (reply == NULL) { NULL 521 daemons/attrd/attrd_commands.c char *attr = NULL; NULL 535 daemons/attrd/attrd_commands.c crm_xml_replace(xml, PCMK__XA_ATTR_VALUE, NULL); NULL 539 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&iter, (gpointer *) &attr, NULL)) { NULL 540 daemons/attrd/attrd_commands.c if (regexec(®ex, attr, 0, NULL, 0) == 0) { NULL 557 daemons/attrd/attrd_commands.c xmlNode *attrd_op = create_xml_node(NULL, __func__); NULL 593 daemons/attrd/attrd_commands.c PCMK__ATTRD_CMD_UPDATE_DELAY, NULL)) { NULL 610 daemons/attrd/attrd_commands.c xmlNode *child = NULL; NULL 619 daemons/attrd/attrd_commands.c for (child = pcmk__xml_first_child(xml); child != NULL; NULL 643 daemons/attrd/attrd_commands.c attribute_t *a = NULL; NULL 644 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; NULL 645 daemons/attrd/attrd_commands.c xmlNode *sync = create_xml_node(NULL, __func__); NULL 650 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&aIter, NULL, (gpointer *) & a)) { NULL 652 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&vIter, NULL, (gpointer *) & v)) { NULL 675 daemons/attrd/attrd_commands.c attribute_t *a = NULL; NULL 678 daemons/attrd/attrd_commands.c CRM_CHECK(host != NULL, return); NULL 682 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&aIter, NULL, (gpointer *) & a)) { NULL 717 daemons/attrd/attrd_commands.c if (dup && (dup->uuid == NULL)) { NULL 722 daemons/attrd/attrd_commands.c CRM_ASSERT(crm_remote_peer_get(host) != NULL); NULL 725 daemons/attrd/attrd_commands.c if (v == NULL) { NULL 727 daemons/attrd/attrd_commands.c CRM_ASSERT(v != NULL); NULL 730 daemons/attrd/attrd_commands.c CRM_ASSERT(v->nodename != NULL); NULL 744 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; NULL 745 daemons/attrd/attrd_commands.c xmlNode *sync = create_xml_node(NULL, __func__); NULL 751 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&aIter, NULL, (gpointer *) & a)) { NULL 753 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&vIter, NULL, (gpointer *) & v)) { NULL 769 daemons/attrd/attrd_commands.c send_attrd_message(NULL, sync); NULL 779 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; NULL 787 daemons/attrd/attrd_commands.c if (attr == NULL) { NULL 798 daemons/attrd/attrd_commands.c if (a == NULL) { NULL 812 daemons/attrd/attrd_commands.c if (dvalue == NULL) { NULL 834 daemons/attrd/attrd_commands.c a->timer = NULL; NULL 850 daemons/attrd/attrd_commands.c if (host == NULL) { NULL 856 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&vIter, (gpointer *) & host, NULL)) { NULL 869 daemons/attrd/attrd_commands.c xmlNode *sync = create_xml_node(NULL, __func__); NULL 882 daemons/attrd/attrd_commands.c send_attrd_message(NULL, sync); NULL 889 daemons/attrd/attrd_commands.c v->current = (value? strdup(value) : NULL); NULL 956 daemons/attrd/attrd_commands.c attrd_peer_sync(NULL, NULL); NULL 986 daemons/attrd/attrd_commands.c attrd_peer_sync(peer, NULL); NULL 1007 daemons/attrd/attrd_commands.c const char *peer = NULL; NULL 1008 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; NULL 1013 daemons/attrd/attrd_commands.c if(a == NULL) { NULL 1030 daemons/attrd/attrd_commands.c a->timer = NULL; NULL 1050 daemons/attrd/attrd_commands.c v->requested = NULL; NULL 1095 daemons/attrd/attrd_commands.c attribute_t *a = NULL; NULL 1099 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & a)) { NULL 1120 daemons/attrd/attrd_commands.c const char *set = NULL; NULL 1121 daemons/attrd/attrd_commands.c xmlNode *xml_obj = NULL; NULL 1157 daemons/attrd/attrd_commands.c attribute_value_t *a_v = NULL; NULL 1159 daemons/attrd/attrd_commands.c CRM_ASSERT(a_v != NULL); NULL 1164 daemons/attrd/attrd_commands.c if (v->current != NULL) { NULL 1175 daemons/attrd/attrd_commands.c attribute_value_t *at = NULL; NULL 1180 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&vIter, NULL, (gpointer *) & at)) { NULL 1192 daemons/attrd/attrd_commands.c xmlNode *xml_top = NULL; NULL 1193 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; NULL 1196 daemons/attrd/attrd_commands.c GHashTable *alert_attribute_value = NULL; NULL 1198 daemons/attrd/attrd_commands.c if (a == NULL) { NULL 1206 daemons/attrd/attrd_commands.c CRM_CHECK(the_cib != NULL, return); NULL 1229 daemons/attrd/attrd_commands.c xml_top = create_xml_node(NULL, XML_CIB_TAG_STATUS); NULL 1242 daemons/attrd/attrd_commands.c alert_attribute_value = pcmk__strikey_table(NULL, free_attribute_value); NULL 1246 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & v)) { NULL 1250 daemons/attrd/attrd_commands.c if (peer == NULL) { NULL 1269 daemons/attrd/attrd_commands.c if (peer->uuid == NULL) { NULL 1288 daemons/attrd/attrd_commands.c v->requested = NULL; NULL 1308 daemons/attrd/attrd_commands.c a->update = cib_internal_op(the_cib, CIB_OP_MODIFY, NULL, XML_CIB_TAG_STATUS, xml_top, NULL, NULL 17 daemons/attrd/attrd_elections.c static char *peer_writer = NULL; NULL 18 daemons/attrd/attrd_elections.c static election_t *writer = NULL; NULL 36 daemons/attrd/attrd_elections.c if ((peer_writer == NULL) NULL 67 daemons/attrd/attrd_elections.c peer_writer = NULL; NULL 83 daemons/attrd/attrd_elections.c if ((peer_writer == NULL) || (previous != election_lost)) { NULL 139 daemons/attrd/attrd_elections.c peer_writer = NULL; NULL 25 daemons/attrd/attrd_utils.c cib_t *the_cib = NULL; NULL 29 daemons/attrd/attrd_utils.c static GMainLoop *mloop = NULL; NULL 95 daemons/attrd/attrd_utils.c if ((mloop == NULL) || !g_main_loop_is_running(mloop)) { NULL 113 daemons/attrd/attrd_utils.c mloop = g_main_loop_new(NULL, FALSE); NULL 146 daemons/attrd/attrd_utils.c if (pcmk__new_client(c, uid, gid) == NULL) { NULL 165 daemons/attrd/attrd_utils.c if (client == NULL) { NULL 203 daemons/attrd/attrd_utils.c .connection_created = NULL, NULL 204 daemons/attrd/attrd_utils.c .msg_process = NULL, NULL 216 daemons/attrd/attrd_utils.c CRM_CHECK(the_cib != NULL, return); NULL 221 daemons/attrd/attrd_utils.c the_cib = NULL; NULL 305 daemons/attrd/attrd_utils.c char *pattern = NULL; NULL 310 daemons/attrd/attrd_utils.c if (rsc == NULL) { NULL 312 daemons/attrd/attrd_utils.c } else if (op == NULL) { NULL 35 daemons/attrd/pacemaker-attrd.c lrmd_t *the_lrmd = NULL; NULL 36 daemons/attrd/pacemaker-attrd.c crm_cluster_t *attrd_cluster = NULL; NULL 37 daemons/attrd/pacemaker-attrd.c crm_trigger_t *attrd_config_read = NULL; NULL 46 daemons/attrd/pacemaker-attrd.c xmlNode *xml = NULL; NULL 47 daemons/attrd/pacemaker-attrd.c const char *from = NULL; NULL 50 daemons/attrd/pacemaker-attrd.c if(data == NULL) { NULL 58 daemons/attrd/pacemaker-attrd.c if (xml == NULL) { NULL 138 daemons/attrd/pacemaker-attrd.c call_id = the_cib->cmds->remove(the_cib, xpath, NULL, NULL 153 daemons/attrd/pacemaker-attrd.c if (the_cib == NULL) { NULL 199 daemons/attrd/pacemaker-attrd.c the_cib = NULL; NULL 214 daemons/attrd/pacemaker-attrd.c attrd_config_read = mainloop_add_trigger(G_PRIORITY_HIGH, attrd_read_options, NULL); NULL 220 daemons/attrd/pacemaker-attrd.c static qb_ipcs_service_t *ipcs = NULL; NULL 228 daemons/attrd/pacemaker-attrd.c xmlNode *xml = NULL; NULL 232 daemons/attrd/pacemaker-attrd.c CRM_CHECK((c != NULL) && (client != NULL), return 0); NULL 233 daemons/attrd/pacemaker-attrd.c if (data == NULL) { NULL 238 daemons/attrd/pacemaker-attrd.c if (xml == NULL) { NULL 243 daemons/attrd/pacemaker-attrd.c CRM_ASSERT(client->user != NULL); NULL 248 daemons/attrd/pacemaker-attrd.c if (client->name == NULL) { NULL 293 daemons/attrd/pacemaker-attrd.c if (ipcs != NULL) { NULL 296 daemons/attrd/pacemaker-attrd.c ipcs = NULL; NULL 321 daemons/attrd/pacemaker-attrd.c "help", no_argument, NULL, '?', NULL 325 daemons/attrd/pacemaker-attrd.c "verbose", no_argument, NULL, 'V', NULL 337 daemons/attrd/pacemaker-attrd.c crm_ipc_t *old_instance = NULL; NULL 340 daemons/attrd/pacemaker-attrd.c crm_log_preinit(NULL, argc, argv); NULL 341 daemons/attrd/pacemaker-attrd.c pcmk__set_cli_options(NULL, "[options]", long_options, NULL 347 daemons/attrd/pacemaker-attrd.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); NULL 385 daemons/attrd/pacemaker-attrd.c old_instance = NULL; NULL 388 daemons/attrd/pacemaker-attrd.c attributes = pcmk__strkey_table(NULL, free_attribute); NULL 48 daemons/based/based_callbacks.c qb_ipcs_service_t *ipcs_ro = NULL; NULL 49 daemons/based/based_callbacks.c qb_ipcs_service_t *ipcs_rw = NULL; NULL 50 daemons/based/based_callbacks.c qb_ipcs_service_t *ipcs_shm = NULL; NULL 78 daemons/based/based_callbacks.c if (pcmk__new_client(c, uid, gid) == NULL) { NULL 108 daemons/based/based_callbacks.c if (client == NULL) { NULL 128 daemons/based/based_callbacks.c .connection_created = NULL, NULL 136 daemons/based/based_callbacks.c .connection_created = NULL, NULL 150 daemons/based/based_callbacks.c xmlNode *ack = create_xml_node(NULL, __func__); NULL 219 daemons/based/based_callbacks.c if (op_request == NULL) { NULL 224 daemons/based/based_callbacks.c } else if(cib_client == NULL) { NULL 235 daemons/based/based_callbacks.c if (cib_client->name == NULL) { NULL 238 daemons/based/based_callbacks.c if (value == NULL) { NULL 262 daemons/based/based_callbacks.c CRM_LOG_ASSERT(cib_client->user != NULL); NULL 272 daemons/based/based_callbacks.c static char *ping_digest = NULL; NULL 281 daemons/based/based_callbacks.c xmlNode *ping = create_xml_node(NULL, "ping"); NULL 285 daemons/based/based_callbacks.c ping_digest = NULL; NULL 295 daemons/based/based_callbacks.c send_cluster_message(NULL, crm_msg_cib, ping, TRUE); NULL 312 daemons/based/based_callbacks.c if (seq_s == NULL) { NULL 325 daemons/based/based_callbacks.c if(digest == NULL) { NULL 337 daemons/based/based_callbacks.c if(ping_digest == NULL) { NULL 375 daemons/based/based_callbacks.c pcmk__client_t *client_obj = NULL; NULL 382 daemons/based/based_callbacks.c if (client_obj == NULL) { NULL 451 daemons/based/based_callbacks.c cib_local_notify_t *notify = NULL; NULL 499 daemons/based/based_callbacks.c if (host == NULL && (call_options & cib_scope_local)) { NULL 504 daemons/based/based_callbacks.c } else if (host == NULL && cib_is_master) { NULL 535 daemons/based/based_callbacks.c if (pcmk__strcase_any_of(op, CIB_OP_MASTER, CIB_OP_SLAVE, NULL)) { NULL 565 daemons/based/based_callbacks.c } else if (host == NULL) { NULL 601 daemons/based/based_callbacks.c const char *op = NULL; NULL 602 daemons/based/based_callbacks.c const char *host = NULL; NULL 603 daemons/based/based_callbacks.c const char *delegated = NULL; NULL 627 daemons/based/based_callbacks.c if (reply_to == NULL || is_reply) { NULL 650 daemons/based/based_callbacks.c if (host != NULL && pcmk__str_eq(host, cib_our_uname, pcmk__str_casei)) { NULL 659 daemons/based/based_callbacks.c } else if (host == NULL && cib_is_master == TRUE) { NULL 665 daemons/based/based_callbacks.c if (delegated != NULL) { NULL 668 daemons/based/based_callbacks.c } else if (host != NULL) { NULL 672 daemons/based/based_callbacks.c } else if (reply_to == NULL && cib_is_master == FALSE) { NULL 677 daemons/based/based_callbacks.c if (reply_to != NULL) { NULL 699 daemons/based/based_callbacks.c const char *host = NULL; NULL 740 daemons/based/based_callbacks.c if (upgrade_rc != NULL) { NULL 744 daemons/based/based_callbacks.c } else if ((max == NULL) && cib_is_master) { NULL 759 daemons/based/based_callbacks.c send_sync_request(NULL); NULL 771 daemons/based/based_callbacks.c if (reply_to == NULL) { NULL 796 daemons/based/based_callbacks.c if (host != NULL && pcmk__str_eq(host, cib_our_uname, pcmk__str_casei)) { NULL 801 daemons/based/based_callbacks.c } else if (host != NULL) { NULL 843 daemons/based/based_callbacks.c if (host != NULL) { NULL 849 daemons/based/based_callbacks.c send_cluster_message(NULL, crm_msg_cib, request, FALSE); NULL 863 daemons/based/based_callbacks.c CRM_ASSERT(msg != NULL); NULL 878 daemons/based/based_callbacks.c const char *digest = NULL; NULL 881 daemons/based/based_callbacks.c CRM_LOG_ASSERT(result_diff != NULL); NULL 899 daemons/based/based_callbacks.c CRM_ASSERT(digest != NULL); NULL 904 daemons/based/based_callbacks.c return send_cluster_message(NULL, crm_msg_cib, msg, TRUE); NULL 906 daemons/based/based_callbacks.c } else if (originator != NULL) { NULL 939 daemons/based/based_callbacks.c xmlNode *op_reply = NULL; NULL 940 daemons/based/based_callbacks.c xmlNode *result_diff = NULL; NULL 946 daemons/based/based_callbacks.c const char *target = NULL; NULL 954 daemons/based/based_callbacks.c if ((host != NULL) && (*host == '\0')) { NULL 955 daemons/based/based_callbacks.c host = NULL; NULL 968 daemons/based/based_callbacks.c if (cib_client == NULL) { NULL 983 daemons/based/based_callbacks.c if (cib_client != NULL) { NULL 1030 daemons/based/based_callbacks.c op_reply = create_xml_node(NULL, "cib-reply"); NULL 1045 daemons/based/based_callbacks.c time_t now = time(NULL); NULL 1080 daemons/based/based_callbacks.c finished = time(NULL); NULL 1083 daemons/based/based_callbacks.c crm_write_blackbox(0, NULL); NULL 1086 daemons/based/based_callbacks.c if (op_reply == NULL && (needs_reply || local_notify)) { NULL 1104 daemons/based/based_callbacks.c rc == pcmk_ok && result_diff != NULL && !(call_options & cib_inhibit_bcast)) { NULL 1122 daemons/based/based_callbacks.c (cib_client == NULL)); NULL 1123 daemons/based/based_callbacks.c op_reply = NULL; /* the reply is queued, so don't free here */ NULL 1129 daemons/based/based_callbacks.c } else if (cib_client == NULL) { NULL 1130 daemons/based/based_callbacks.c if (is_update == FALSE || result_diff == NULL) { NULL 1153 daemons/based/based_callbacks.c (cib_client == NULL)); NULL 1157 daemons/based/based_callbacks.c (cib_client == NULL)); NULL 1170 daemons/based/based_callbacks.c xmlNode *input = NULL; NULL 1171 daemons/based/based_callbacks.c xmlNode *output = NULL; NULL 1172 daemons/based/based_callbacks.c xmlNode *result_cib = NULL; NULL 1173 daemons/based/based_callbacks.c xmlNode *current_cib = NULL; NULL 1178 daemons/based/based_callbacks.c const char *op = NULL; NULL 1179 daemons/based/based_callbacks.c const char *section = NULL; NULL 1190 daemons/based/based_callbacks.c static mainloop_timer_t *digest_timer = NULL; NULL 1194 daemons/based/based_callbacks.c if(digest_timer == NULL) { NULL 1195 daemons/based/based_callbacks.c digest_timer = mainloop_timer_add("digester", 5000, FALSE, cib_digester_cb, NULL); NULL 1198 daemons/based/based_callbacks.c *reply = NULL; NULL 1199 daemons/based/based_callbacks.c *cib_diff = NULL; NULL 1223 daemons/based/based_callbacks.c current_cib, &result_cib, NULL, &output); NULL 1225 daemons/based/based_callbacks.c CRM_CHECK(result_cib == NULL, free_xml(result_cib)); NULL 1272 daemons/based/based_callbacks.c config_changed = cib_config_changed(NULL, NULL, cib_diff); NULL 1301 daemons/based/based_callbacks.c if (section == NULL) { NULL 1327 daemons/based/based_callbacks.c if (output != NULL) { NULL 1362 daemons/based/based_callbacks.c *reply = create_xml_node(NULL, "cib-reply"); NULL 1370 daemons/based/based_callbacks.c if (output != NULL) { NULL 1382 daemons/based/based_callbacks.c output = NULL; NULL 1396 daemons/based/based_callbacks.c const char *reason = NULL; NULL 1408 daemons/based/based_callbacks.c } else if (crm_peer_cache == NULL) { NULL 1413 daemons/based/based_callbacks.c if (crm_element_value(msg, F_CIB_CLIENTNAME) == NULL) { NULL 1418 daemons/based/based_callbacks.c cib_process_request(msg, TRUE, NULL); NULL 1454 daemons/based/based_callbacks.c qb_ipcs_connection_t *c = NULL; NULL 1459 daemons/based/based_callbacks.c while (c != NULL) { NULL 1471 daemons/based/based_callbacks.c while (c != NULL) { NULL 1483 daemons/based/based_callbacks.c while (c != NULL) { NULL 1497 daemons/based/based_callbacks.c pcmk__foreach_ipc_client(disconnect_remote_client, NULL); NULL 1517 daemons/based/based_callbacks.c xmlNode *leaving = NULL; NULL 1527 daemons/based/based_callbacks.c leaving = create_xml_node(NULL, "exit-notification"); NULL 1531 daemons/based/based_callbacks.c send_cluster_message(NULL, crm_msg_cib, leaving, TRUE); NULL 1534 daemons/based/based_callbacks.c g_timeout_add(EXIT_ESCALATION_MS, cib_force_exit, NULL); NULL 1569 daemons/based/based_callbacks.c } else if ((mainloop != NULL) && g_main_loop_is_running(mainloop)) { NULL 39 daemons/based/based_common.c xmlNode *data = NULL; NULL 42 daemons/based/based_common.c if (root == NULL) { NULL 43 daemons/based/based_common.c return NULL; NULL 46 daemons/based/based_common.c F_CRM_DATA, F_CIB_CALLDATA, NULL)) { NULL 54 daemons/based/based_common.c if (section != NULL && data != NULL && pcmk__str_eq(crm_element_name(data), XML_TAG_CIB, pcmk__str_none)) { NULL 65 daemons/based/based_common.c *data = NULL; NULL 84 daemons/based/based_common.c *data = NULL; NULL 92 daemons/based/based_common.c xmlNode *input_fragment = NULL; NULL 95 daemons/based/based_common.c *data = NULL; NULL 96 daemons/based/based_common.c *section = NULL; NULL 105 daemons/based/based_common.c CRM_CHECK(input_fragment != NULL, crm_log_xml_warn(request, "no input")); NULL 106 daemons/based/based_common.c *data = cib_prepare_common(input_fragment, NULL); NULL 113 daemons/based/based_common.c CRM_LOG_ASSERT(*data == NULL); NULL 125 daemons/based/based_common.c *data = NULL; NULL 139 daemons/based/based_common.c CRM_LOG_ASSERT(*data == NULL); NULL 140 daemons/based/based_common.c CRM_LOG_ASSERT(*output == NULL); NULL 146 daemons/based/based_common.c {NULL, FALSE, FALSE, FALSE, cib_prepare_none, cib_cleanup_none, cib_process_default}, NULL 171 daemons/based/based_common.c static GHashTable *operation_hash = NULL; NULL 173 daemons/based/based_common.c if (operation_hash == NULL) { NULL 177 daemons/based/based_common.c operation_hash = pcmk__strkey_table(NULL, free); NULL 188 daemons/based/based_common.c if (op != NULL) { NULL 205 daemons/based/based_common.c const char *field = NULL; NULL 206 daemons/based/based_common.c const char *value = NULL; NULL 207 daemons/based/based_common.c xmlNode *value_struct = NULL; NULL 240 daemons/based/based_common.c xmlNode *copy = create_xml_node(NULL, "copy"); NULL 242 daemons/based/based_common.c CRM_ASSERT(copy != NULL); NULL 247 daemons/based/based_common.c if (value != NULL) { NULL 254 daemons/based/based_common.c if (value_struct != NULL) { NULL 36 daemons/based/based_io.c crm_trigger_t *cib_writer = NULL; NULL 67 daemons/based/based_io.c xmlNode *root = NULL; NULL 183 daemons/based/based_io.c struct dirent **namelist = NULL; NULL 186 daemons/based/based_io.c char *sigfile = NULL; NULL 187 daemons/based/based_io.c char *sigfilepath = NULL; NULL 188 daemons/based/based_io.c char *filename = NULL; NULL 189 daemons/based/based_io.c const char *name = NULL; NULL 190 daemons/based/based_io.c const char *value = NULL; NULL 191 daemons/based/based_io.c const char *validation = NULL; NULL 194 daemons/based/based_io.c xmlNode *root = NULL; NULL 195 daemons/based/based_io.c xmlNode *status = NULL; NULL 201 daemons/based/based_io.c return NULL; NULL 213 daemons/based/based_io.c if (root == NULL) { NULL 221 daemons/based/based_io.c while (root == NULL && lpc > 1) { NULL 243 daemons/based/based_io.c if (root == NULL) { NULL 256 daemons/based/based_io.c if (discard_status && status != NULL) { NULL 259 daemons/based/based_io.c status = NULL; NULL 261 daemons/based/based_io.c if (status == NULL) { NULL 270 daemons/based/based_io.c if (value == NULL) { NULL 282 daemons/based/based_io.c if (value == NULL) { NULL 288 daemons/based/based_io.c if (value == NULL) { NULL 300 daemons/based/based_io.c if (validate_xml(root, NULL, TRUE) == FALSE) { NULL 304 daemons/based/based_io.c } else if (validation == NULL) { NULL 325 daemons/based/based_io.c if (tmp_cib == NULL) { NULL 330 daemons/based/based_io.c the_cib = NULL; NULL 394 daemons/based/based_io.c xmlNode *cib_local = NULL; NULL 422 daemons/based/based_io.c mainloop_child_add(pid, 0, "disk-writer", NULL, cib_diskwrite_complete); NULL 444 daemons/based/based_io.c if (p == NULL) { NULL 38 daemons/based/based_messages.c xmlNode *the_cib = NULL; NULL 58 daemons/based/based_messages.c *answer = NULL; NULL 60 daemons/based/based_messages.c if (crm_element_value(req, F_CIB_ISREPLY) == NULL) { NULL 83 daemons/based/based_messages.c *answer = NULL; NULL 85 daemons/based/based_messages.c if (op == NULL) { NULL 141 daemons/based/based_messages.c xmlNode *sync_me = create_xml_node(NULL, "sync-me"); NULL 150 daemons/based/based_messages.c send_cluster_message(host ? crm_get_peer(0, host) : NULL, crm_msg_cib, sync_me, FALSE); NULL 162 daemons/based/based_messages.c static struct qb_log_callsite *cs = NULL; NULL 165 daemons/based/based_messages.c *answer = create_xml_node(NULL, XML_CRM_TAG_PING); NULL 171 daemons/based/based_messages.c if (cs == NULL) { NULL 182 daemons/based/based_messages.c xmlNode *shallow = create_xml_node(NULL, tag); NULL 215 daemons/based/based_messages.c *answer = NULL; NULL 237 daemons/based/based_messages.c if (value != NULL) { NULL 243 daemons/based/based_messages.c xmlNode *up = create_xml_node(NULL, __func__); NULL 261 daemons/based/based_messages.c send_cluster_message(NULL, crm_msg_cib, up, FALSE); NULL 279 daemons/based/based_messages.c xmlNode *up = create_xml_node(NULL, __func__); NULL 349 daemons/based/based_messages.c *result_cib = NULL; NULL 350 daemons/based/based_messages.c send_sync_request(NULL); NULL 363 daemons/based/based_messages.c *result_cib = NULL; NULL 364 daemons/based/based_messages.c send_sync_request(NULL); NULL 387 daemons/based/based_messages.c const char *object_name = NULL; NULL 388 daemons/based/based_messages.c const char *object_id = NULL; NULL 389 daemons/based/based_messages.c xmlNode *equiv_node = NULL; NULL 392 daemons/based/based_messages.c if (delete_spec != NULL) { NULL 399 daemons/based/based_messages.c if (delete_spec == NULL) { NULL 402 daemons/based/based_messages.c } else if (parent == NULL) { NULL 405 daemons/based/based_messages.c } else if (object_id == NULL) { NULL 417 daemons/based/based_messages.c } else if (equiv_node == NULL) { NULL 424 daemons/based/based_messages.c equiv_node = NULL; NULL 427 daemons/based/based_messages.c xmlNode *child = NULL; NULL 429 daemons/based/based_messages.c for (child = pcmk__xml_first_child(delete_spec); child != NULL; NULL 448 daemons/based/based_messages.c xmlNode *failed = NULL; NULL 450 daemons/based/based_messages.c xmlNode *update_section = NULL; NULL 454 daemons/based/based_messages.c section = NULL; NULL 457 daemons/based/based_messages.c section = NULL; NULL 460 daemons/based/based_messages.c section = NULL; NULL 465 daemons/based/based_messages.c if (input == NULL) { NULL 470 daemons/based/based_messages.c failed = create_xml_node(NULL, XML_TAG_FAILED); NULL 495 daemons/based/based_messages.c char *digest = NULL; NULL 501 daemons/based/based_messages.c CRM_CHECK(the_cib != NULL,;); NULL 502 daemons/based/based_messages.c CRM_CHECK(replace_request != NULL,;); NULL 505 daemons/based/based_messages.c if (all == FALSE && host == NULL) { NULL 516 daemons/based/based_messages.c if (host != NULL) { NULL 534 daemons/based/based_messages.c (all ? NULL : crm_get_peer(0, host), crm_msg_cib, replace_request, FALSE) == FALSE) { NULL 49 daemons/based/based_notify.c const char *type = NULL; NULL 56 daemons/based/based_notify.c if (client->ipcs == NULL && client->remote == NULL) { NULL 62 daemons/based/based_notify.c CRM_LOG_ASSERT(type != NULL); NULL 150 daemons/based/based_notify.c if (diff == NULL) { NULL 168 daemons/based/based_notify.c } else if (diff != NULL) { NULL 182 daemons/based/based_notify.c xmlNode *update_msg = NULL; NULL 183 daemons/based/based_notify.c const char *id = NULL; NULL 185 daemons/based/based_notify.c update_msg = create_xml_node(NULL, "notify"); NULL 187 daemons/based/based_notify.c if (result_data != NULL) { NULL 196 daemons/based/based_notify.c if (id != NULL) { NULL 200 daemons/based/based_notify.c if (update != NULL) { NULL 204 daemons/based/based_notify.c } else if (result_data != NULL) { NULL 213 daemons/based/based_notify.c if (update != NULL) { NULL 216 daemons/based/based_notify.c if (result_data != NULL) { NULL 227 daemons/based/based_notify.c xmlNode *generation = create_xml_node(NULL, XML_CIB_TAG_GENERATION_TUPPLE); NULL 229 daemons/based/based_notify.c if (a_cib != NULL) { NULL 239 daemons/based/based_notify.c xmlNode *replace_msg = NULL; NULL 249 daemons/based/based_notify.c if (diff == NULL) { NULL 264 daemons/based/based_notify.c } else if (diff != NULL) { NULL 269 daemons/based/based_notify.c replace_msg = create_xml_node(NULL, "notify-replace"); NULL 91 daemons/based/based_remote.c int *ssock = NULL; NULL 129 daemons/based/based_remote.c if(ssock == NULL) { NULL 177 daemons/based/based_remote.c struct passwd *pwd = NULL; NULL 178 daemons/based/based_remote.c struct group *group = NULL; NULL 180 daemons/based/based_remote.c CRM_CHECK(usr != NULL, return FALSE); NULL 181 daemons/based/based_remote.c CRM_CHECK(grp != NULL, return FALSE); NULL 184 daemons/based/based_remote.c if (pwd == NULL) { NULL 190 daemons/based/based_remote.c if (group != NULL && pcmk__str_eq(grp, group->gr_name, pcmk__str_none)) { NULL 195 daemons/based/based_remote.c if (group == NULL) { NULL 203 daemons/based/based_remote.c if (member == NULL) { NULL 217 daemons/based/based_remote.c const char *user = NULL; NULL 218 daemons/based/based_remote.c const char *pass = NULL; NULL 219 daemons/based/based_remote.c const char *tmp = NULL; NULL 222 daemons/based/based_remote.c if (login == NULL) { NULL 288 daemons/based/based_remote.c pcmk__client_t *new_client = NULL; NULL 318 daemons/based/based_remote.c new_client = pcmk__new_unauth_client(NULL); NULL 330 daemons/based/based_remote.c if (new_client->remote->tls_session == NULL) { NULL 360 daemons/based/based_remote.c if (client == NULL) { NULL 385 daemons/based/based_remote.c client->remote->tls_session = NULL; NULL 412 daemons/based/based_remote.c const char *value = NULL; NULL 420 daemons/based/based_remote.c if (client->name == NULL) { NULL 422 daemons/based/based_remote.c if (value == NULL) { NULL 429 daemons/based/based_remote.c if (client->userdata == NULL) { NULL 431 daemons/based/based_remote.c if (value != NULL) { NULL 450 daemons/based/based_remote.c if (crm_element_value(command, F_CIB_CALLID) == NULL) { NULL 458 daemons/based/based_remote.c if (crm_element_value(command, F_CIB_CALLOPTS) == NULL) { NULL 469 daemons/based/based_remote.c xmlNode *command = NULL; NULL 512 daemons/based/based_remote.c const char *user = NULL; NULL 532 daemons/based/based_remote.c reg = create_xml_node(NULL, "cib_result"); NULL 569 daemons/based/based_remote.c CRM_ASSERT(reply != NULL); NULL 593 daemons/based/based_remote.c reply = NULL; NULL 599 daemons/based/based_remote.c if (reply[count].resp != NULL) { NULL 610 daemons/based/based_remote.c reply[count].resp = NULL; NULL 614 daemons/based/based_remote.c reply = NULL; NULL 628 daemons/based/based_remote.c const void *p_user = NULL; NULL 631 daemons/based/based_remote.c struct pam_handle *pam_h = NULL; NULL 632 daemons/based/based_remote.c static const char *pam_name = NULL; NULL 634 daemons/based/based_remote.c if (pam_name == NULL) { NULL 637 daemons/based/based_remote.c if (pam_name == NULL) { NULL 666 daemons/based/based_remote.c } else if (p_user == NULL) { NULL 36 daemons/based/pacemaker-based.c GMainLoop *mainloop = NULL; NULL 37 daemons/based/pacemaker-based.c const char *cib_root = NULL; NULL 38 daemons/based/pacemaker-based.c char *cib_our_uname = NULL; NULL 46 daemons/based/pacemaker-based.c GHashTable *config_hash = NULL; NULL 47 daemons/based/pacemaker-based.c GHashTable *local_notify_queue = NULL; NULL 69 daemons/based/pacemaker-based.c "verbose", no_argument, NULL, 'V', NULL 73 daemons/based/pacemaker-based.c "stand-alone", no_argument, NULL, 's', NULL 77 daemons/based/pacemaker-based.c "disk-writes", no_argument, NULL, 'w', NULL 81 daemons/based/pacemaker-based.c "cib-root", required_argument, NULL, 'r', NULL 94 daemons/based/pacemaker-based.c struct passwd *pwentry = NULL; NULL 95 daemons/based/pacemaker-based.c crm_ipc_t *old_instance = NULL; NULL 97 daemons/based/pacemaker-based.c crm_log_preinit(NULL, argc, argv); NULL 98 daemons/based/pacemaker-based.c pcmk__set_cli_options(NULL, "[options]", long_options, NULL 105 daemons/based/pacemaker-based.c cib_writer = mainloop_add_trigger(G_PRIORITY_LOW, write_cib_contents, NULL); NULL 108 daemons/based/pacemaker-based.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); NULL 122 daemons/based/pacemaker-based.c CRM_CHECK(pwentry != NULL, NULL 174 daemons/based/pacemaker-based.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); NULL 188 daemons/based/pacemaker-based.c old_instance = NULL; NULL 191 daemons/based/pacemaker-based.c if (cib_root == NULL) { NULL 197 daemons/based/pacemaker-based.c if (pcmk__daemon_can_write(cib_root, NULL) == FALSE) { NULL 211 daemons/based/pacemaker-based.c mainloop = g_main_loop_new(NULL, FALSE); NULL 242 daemons/based/pacemaker-based.c xmlNode *xml = NULL; NULL 243 daemons/based/pacemaker-based.c const char *from = NULL; NULL 246 daemons/based/pacemaker-based.c if(data == NULL) { NULL 251 daemons/based/pacemaker-based.c if (xml == NULL) { NULL 258 daemons/based/pacemaker-based.c cib_peer_callback(xml, NULL); NULL 18 daemons/controld/controld_attrd.c static crm_ipc_t *attrd_ipc = NULL; NULL 27 daemons/controld/controld_attrd.c attrd_ipc = NULL; NULL 72 daemons/controld/controld_attrd.c register_fsa_input(C_FSA_INTERNAL, I_FAIL, NULL); NULL 90 daemons/controld/controld_attrd.c if (attrd_ipc == NULL) { NULL 113 daemons/controld/controld_attrd.c value, XML_CIB_TAG_STATUS, NULL, NULL 114 daemons/controld/controld_attrd.c NULL, user_name, attrd_opts); NULL 156 daemons/controld/controld_attrd.c update_attrd_helper(host, name, value, NULL, user_name, is_remote_node, NULL 165 daemons/controld/controld_attrd.c update_attrd_helper(host, NULL, NULL, NULL, user_name, TRUE, 'C'); NULL 172 daemons/controld/controld_attrd.c const char *op_desc = NULL; NULL 173 daemons/controld/controld_attrd.c const char *interval_desc = NULL; NULL 185 daemons/controld/controld_attrd.c update_attrd_helper(host, rsc, op, interval_spec, NULL, is_remote_node, 0); NULL 46 daemons/controld/controld_based.c register_fsa_input(C_FSA_INTERNAL, I_ELECTION, NULL); NULL 56 daemons/controld/controld_based.c CRM_ASSERT(fsa_cib_conn != NULL); NULL 132 daemons/controld/controld_based.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 167 daemons/controld/controld_based.c CRMD_ACTION_NOTIFY, CRMD_ACTION_METADATA, NULL); NULL 219 daemons/controld/controld_based.c char *xpath = NULL; NULL 220 daemons/controld/controld_based.c char *desc = NULL; NULL 222 daemons/controld/controld_based.c CRM_CHECK(uname != NULL, return); NULL 249 daemons/controld/controld_based.c if (fsa_cib_conn == NULL) { NULL 257 daemons/controld/controld_based.c call_id = fsa_cib_conn->cmds->remove(fsa_cib_conn, xpath, NULL, options); NULL 289 daemons/controld/controld_based.c char *desc = NULL; NULL 290 daemons/controld/controld_based.c char *xpath = NULL; NULL 293 daemons/controld/controld_based.c CRM_CHECK((rsc_id != NULL) && (node != NULL), return EINVAL); NULL 296 daemons/controld/controld_based.c if (fsa_cib_conn == NULL) { NULL 304 daemons/controld/controld_based.c rc = cib_internal_op(fsa_cib_conn, CIB_OP_DELETE, NULL, xpath, NULL, NULL 305 daemons/controld/controld_based.c NULL, call_options|cib_xpath, user_name); NULL 45 daemons/controld/controld_callbacks.c register_fsa_error_adv(C_FSA_INTERNAL, I_ELECTION, NULL, &new_input, NULL 117 daemons/controld/controld_callbacks.c if (node->uname == NULL) { NULL 153 daemons/controld/controld_callbacks.c CRM_CHECK(data != NULL, return); NULL 179 daemons/controld/controld_callbacks.c xmlNode *query = create_request(CRM_OP_HELLO, NULL, NULL, CRM_SYSTEM_CRMD, CRM_SYSTEM_CRMD, NULL); NULL 199 daemons/controld/controld_callbacks.c register_fsa_input(C_CRMD_STATUS_CALLBACK, I_ERROR, NULL); NULL 204 daemons/controld/controld_callbacks.c register_fsa_input(C_CRMD_STATUS_CALLBACK, I_ELECTION, NULL); NULL 220 daemons/controld/controld_callbacks.c } else if (AM_I_DC || (fsa_our_dc == NULL)) { NULL 237 daemons/controld/controld_callbacks.c xmlNode *update = NULL; NULL 246 daemons/controld/controld_callbacks.c register_fsa_input_before(C_FSA_INTERNAL, I_NODE_JOIN, NULL); NULL 291 daemons/controld/controld_callbacks.c abort_transition(INFINITY, tg_restart, "Node failure", NULL); NULL 308 daemons/controld/controld_callbacks.c "pacemaker_remote node integrated", NULL); NULL 313 daemons/controld/controld_callbacks.c update = create_node_state_update(node, flags, NULL, __func__); NULL 314 daemons/controld/controld_callbacks.c if (update == NULL) { NULL 341 daemons/controld/controld_callbacks.c register_fsa_input(C_FSA_INTERNAL, I_ERROR, NULL); NULL 25 daemons/controld/controld_control.c qb_ipcs_service_t *ipcs = NULL; NULL 35 daemons/controld/controld_control.c crm_trigger_t *fsa_source = NULL; NULL 36 daemons/controld/controld_control.c crm_trigger_t *config_read = NULL; NULL 48 daemons/controld/controld_control.c static crm_cluster_t *cluster = NULL; NULL 50 daemons/controld/controld_control.c if (cluster == NULL) { NULL 75 daemons/controld/controld_control.c if(cluster->uuid == NULL) { NULL 83 daemons/controld/controld_control.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 116 daemons/controld/controld_control.c xmlNode *msg = NULL; NULL 122 daemons/controld/controld_control.c msg = create_request(CRM_OP_SHUTDOWN_REQ, NULL, NULL, CRM_SYSTEM_CRMD, CRM_SYSTEM_CRMD, NULL); NULL 124 daemons/controld/controld_control.c if (send_cluster_message(NULL, crm_msg_crmd, msg, TRUE) == FALSE) { NULL 125 daemons/controld/controld_control.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 154 daemons/controld/controld_control.c GList *gIter = NULL; NULL 166 daemons/controld/controld_control.c crm_write_blackbox(SIGTRAP, NULL); NULL 182 daemons/controld/controld_control.c ipcs = NULL; NULL 189 daemons/controld/controld_control.c if ((exit_code == CRM_EX_OK) && (crmd_mainloop == NULL)) { NULL 203 daemons/controld/controld_control.c crm_write_blackbox(SIGTRAP, NULL); NULL 209 daemons/controld/controld_control.c for (gIter = fsa_message_queue; gIter != NULL; gIter = gIter->next) { NULL 220 daemons/controld/controld_control.c g_list_free(fsa_message_queue); fsa_message_queue = NULL; NULL 238 daemons/controld/controld_control.c mainloop_destroy_trigger(fsa_source); fsa_source = NULL; NULL 240 daemons/controld/controld_control.c mainloop_destroy_trigger(config_read); config_read = NULL; NULL 241 daemons/controld/controld_control.c mainloop_destroy_trigger(transition_trigger); transition_trigger = NULL; NULL 247 daemons/controld/controld_control.c te_cleanup_stonith_history_sync(NULL, TRUE); NULL 250 daemons/controld/controld_control.c free(fsa_our_dc_version); fsa_our_dc_version = NULL; NULL 251 daemons/controld/controld_control.c free(fsa_our_uname); fsa_our_uname = NULL; NULL 252 daemons/controld/controld_control.c free(fsa_our_uuid); fsa_our_uuid = NULL; NULL 253 daemons/controld/controld_control.c free(fsa_our_dc); fsa_our_dc = NULL; NULL 255 daemons/controld/controld_control.c free(fsa_cluster_name); fsa_cluster_name = NULL; NULL 257 daemons/controld/controld_control.c free(te_uuid); te_uuid = NULL; NULL 258 daemons/controld/controld_control.c free(failed_stop_offset); failed_stop_offset = NULL; NULL 259 daemons/controld/controld_control.c free(failed_start_offset); failed_start_offset = NULL; NULL 261 daemons/controld/controld_control.c free(max_generation_from); max_generation_from = NULL; NULL 262 daemons/controld/controld_control.c free_xml(max_generation_xml); max_generation_xml = NULL; NULL 274 daemons/controld/controld_control.c crmd_mainloop = NULL; NULL 301 daemons/controld/controld_control.c fsa_cib_conn = NULL; NULL 347 daemons/controld/controld_control.c fsa_source = mainloop_add_trigger(G_PRIORITY_HIGH, crm_fsa_trigger, NULL); NULL 348 daemons/controld/controld_control.c config_read = mainloop_add_trigger(G_PRIORITY_HIGH, crm_read_options, NULL); NULL 349 daemons/controld/controld_control.c transition_trigger = mainloop_add_trigger(G_PRIORITY_LOW, te_graph_trigger, NULL); NULL 356 daemons/controld/controld_control.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 365 daemons/controld/controld_control.c if (pcmk__new_client(c, uid, gid) == NULL) { NULL 381 daemons/controld/controld_control.c if (msg == NULL) { NULL 387 daemons/controld/controld_control.c CRM_ASSERT(client->user != NULL); NULL 391 daemons/controld/controld_control.c if (controld_authorize_ipc_message(msg, client, NULL)) { NULL 432 daemons/controld/controld_control.c mainloop_del_ipc_server(ipcs); ipcs = NULL; NULL 433 daemons/controld/controld_control.c register_fsa_input(C_FSA_INTERNAL, I_TERMINATE, NULL); NULL 444 daemons/controld/controld_control.c .connection_created = NULL, NULL 487 daemons/controld/controld_control.c if (ipcs == NULL) { NULL 489 daemons/controld/controld_control.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 496 daemons/controld/controld_control.c register_fsa_input(msg_data->fsa_cause, I_PENDING, NULL); NULL 508 daemons/controld/controld_control.c register_fsa_input(C_FSA_INTERNAL, I_TERMINATE, NULL); NULL 518 daemons/controld/controld_control.c "dc-version", NULL, "string", NULL, "none", NULL, NULL 524 daemons/controld/controld_control.c "cluster-infrastructure", NULL, "string", NULL, "corosync", NULL, NULL 529 daemons/controld/controld_control.c "cluster-name", NULL, "string", NULL, NULL, NULL, NULL 537 daemons/controld/controld_control.c XML_CONFIG_ATTR_DC_DEADTIME, NULL, "time", NULL 538 daemons/controld/controld_control.c NULL, "20s", pcmk__valid_interval_spec, NULL 544 daemons/controld/controld_control.c XML_CONFIG_ATTR_RECHECK, NULL, "time", NULL 557 daemons/controld/controld_control.c "load-threshold", NULL, "percentage", NULL, NULL 564 daemons/controld/controld_control.c "node-action-limit", NULL, "integer", NULL, NULL 569 daemons/controld/controld_control.c { XML_CONFIG_ATTR_FENCE_REACTION, NULL, "string", NULL, "stop", NULL, NULL 578 daemons/controld/controld_control.c XML_CONFIG_ATTR_ELECTION_FAIL, NULL, "time", NULL, NULL 586 daemons/controld/controld_control.c XML_CONFIG_ATTR_FORCE_QUIT, NULL, "time", NULL, NULL 594 daemons/controld/controld_control.c "join-integration-timeout", "crmd-integration-timeout", "time", NULL, NULL 601 daemons/controld/controld_control.c "join-finalization-timeout", "crmd-finalization-timeout", "time", NULL, NULL 608 daemons/controld/controld_control.c "transition-delay", "crmd-transition-delay", "time", NULL, NULL 617 daemons/controld/controld_control.c "stonith-watchdog-timeout", NULL, "time", NULL, NULL 640 daemons/controld/controld_control.c "stonith-max-attempts", NULL, "integer", NULL, NULL 648 daemons/controld/controld_control.c "no-quorum-policy", NULL, "enum", "stop, freeze, ignore, demote, suicide", NULL 649 daemons/controld/controld_control.c "stop", pcmk__valid_quorum, NULL, NULL NULL 652 daemons/controld/controld_control.c XML_CONFIG_ATTR_SHUTDOWN_LOCK, NULL, "boolean", NULL, NULL 653 daemons/controld/controld_control.c "false", pcmk__valid_boolean, NULL, NULL NULL 683 daemons/controld/controld_control.c const char *value = NULL; NULL 684 daemons/controld/controld_control.c GHashTable *config_hash = NULL; NULL 685 daemons/controld/controld_control.c crm_time_t *now = crm_time_new(NULL); NULL 686 daemons/controld/controld_control.c xmlNode *crmconfig = NULL; NULL 687 daemons/controld/controld_control.c xmlNode *alerts = NULL; NULL 690 daemons/controld/controld_control.c fsa_data_t *msg_data = NULL; NULL 693 daemons/controld/controld_control.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 709 daemons/controld/controld_control.c fsa_data_t *msg_data = NULL; NULL 712 daemons/controld/controld_control.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 718 daemons/controld/controld_control.c pe_unpack_nvpairs(crmconfig, crmconfig, XML_CIB_TAG_PROPSET, NULL, NULL 719 daemons/controld/controld_control.c config_hash, CIB_OPTIONS_FIRST, FALSE, now, NULL); NULL 731 daemons/controld/controld_control.c throttle_set_load_target(strtof(value, NULL) / 100.0); NULL 769 daemons/controld/controld_control.c fsa_cluster_name = NULL; NULL 794 daemons/controld/controld_control.c NULL, cib_xpath | cib_scope_local); NULL 796 daemons/controld/controld_control.c fsa_register_cib_callback(call_id, FALSE, NULL, config_query_callback); NULL 815 daemons/controld/controld_control.c if ((crmd_mainloop == NULL) || !g_main_loop_is_running(crmd_mainloop)) { NULL 822 daemons/controld/controld_control.c register_fsa_input_before(C_SHUTDOWN, I_ERROR, NULL); NULL 827 daemons/controld/controld_control.c register_fsa_input(C_SHUTDOWN, I_SHUTDOWN, NULL); NULL 830 daemons/controld/controld_control.c const char *value = crmd_pref(NULL, XML_CONFIG_ATTR_FORCE_QUIT); NULL 33 daemons/controld/controld_corosync.c const char *from = NULL; NULL 36 daemons/controld/controld_corosync.c if(data == NULL) { NULL 40 daemons/controld/controld_corosync.c crm_node_t *peer = NULL; NULL 43 daemons/controld/controld_corosync.c if (xml == NULL) { NULL 23 daemons/controld/controld_election.c static election_t *fsa_election = NULL; NULL 28 daemons/controld/controld_election.c register_fsa_input(C_FSA_INTERNAL, I_ELECTION_DC, NULL); NULL 55 daemons/controld/controld_election.c fsa_election = NULL; NULL 105 daemons/controld/controld_election.c register_fsa_input(C_FSA_INTERNAL, I_RELEASE_DC, NULL); NULL 108 daemons/controld/controld_election.c register_fsa_input(C_FSA_INTERNAL, I_PENDING, NULL); NULL 140 daemons/controld/controld_election.c if(crm_peer_cache == NULL) { NULL 151 daemons/controld/controld_election.c register_fsa_input(C_FSA_INTERNAL, I_ELECTION, NULL); NULL 155 daemons/controld/controld_election.c update_dc(NULL); NULL 158 daemons/controld/controld_election.c register_fsa_input(C_FSA_INTERNAL, I_RELEASE_DC, NULL); NULL 162 daemons/controld/controld_election.c register_fsa_input(C_FSA_INTERNAL, I_PENDING, NULL); NULL 175 daemons/controld/controld_election.c fsa_data_t *msg_data = NULL; NULL 179 daemons/controld/controld_election.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 191 daemons/controld/controld_election.c xmlNode *cib = NULL; NULL 204 daemons/controld/controld_election.c cib = create_xml_node(NULL, XML_TAG_CIB); NULL 206 daemons/controld/controld_election.c fsa_cib_update(XML_TAG_CIB, cib, cib_quorum_override, rc, NULL); NULL 207 daemons/controld/controld_election.c fsa_register_cib_callback(rc, FALSE, NULL, feature_update_callback); NULL 209 daemons/controld/controld_election.c update_attr_delegate(fsa_cib_conn, cib_none, XML_CIB_TAG_CRMCONFIG, NULL, NULL 210 daemons/controld/controld_election.c NULL, NULL, NULL, XML_ATTR_HAVE_WATCHDOG, NULL 211 daemons/controld/controld_election.c pcmk__btoa(watchdog), FALSE, NULL, NULL); NULL 213 daemons/controld/controld_election.c update_attr_delegate(fsa_cib_conn, cib_none, XML_CIB_TAG_CRMCONFIG, NULL, NULL, NULL, NULL, NULL 214 daemons/controld/controld_election.c "dc-version", PACEMAKER_VERSION "-" BUILD_VERSION, FALSE, NULL, NULL); NULL 216 daemons/controld/controld_election.c update_attr_delegate(fsa_cib_conn, cib_none, XML_CIB_TAG_CRMCONFIG, NULL, NULL, NULL, NULL, NULL 217 daemons/controld/controld_election.c "cluster-infrastructure", cluster_type, FALSE, NULL, NULL); NULL 220 daemons/controld/controld_election.c if (fsa_cluster_name == NULL && is_corosync_cluster()) { NULL 224 daemons/controld/controld_election.c update_attr_delegate(fsa_cib_conn, cib_none, XML_CIB_TAG_CRMCONFIG, NULL, NULL, NULL, NULL, NULL 225 daemons/controld/controld_election.c "cluster-name", cluster_name, FALSE, NULL, NULL); NULL 245 daemons/controld/controld_election.c controld_expect_sched_reply(NULL); NULL 257 daemons/controld/controld_election.c xmlNode *update = NULL; NULL 261 daemons/controld/controld_election.c update = create_node_state_update(node, node_update_expected, NULL, NULL 267 daemons/controld/controld_election.c register_fsa_input(C_FSA_INTERNAL, I_RELEASE_SUCCESS, NULL); NULL 55 daemons/controld/controld_execd.c register_fsa_input(C_FSA_INTERNAL, I_ERROR, NULL); NULL 73 daemons/controld/controld_execd.c if (strstr(key, CRM_META "_") == NULL) { NULL 81 daemons/controld/controld_execd.c if (strstr(key, CRM_META "_") != NULL) { NULL 100 daemons/controld/controld_execd.c for (iter = history->recurring_op_list; iter != NULL; iter = iter->next) { NULL 126 daemons/controld/controld_execd.c for (iter = history->recurring_op_list; iter != NULL; iter = iter->next) { NULL 130 daemons/controld/controld_execd.c history->recurring_op_list = NULL; NULL 164 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; NULL 169 daemons/controld/controld_execd.c NULL, crmd_cib_smart_opt()); NULL 180 daemons/controld/controld_execd.c if (entry == NULL && rsc) { NULL 191 daemons/controld/controld_execd.c entry->rsc.provider = NULL; NULL 194 daemons/controld/controld_execd.c } else if (entry == NULL) { NULL 231 daemons/controld/controld_execd.c CRMD_ACTION_STATUS, NULL)) { NULL 291 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return); NULL 294 daemons/controld/controld_execd.c if (op->remote_nodename == NULL) { NULL 306 daemons/controld/controld_execd.c CRM_ASSERT(lrm_state != NULL); NULL 307 daemons/controld/controld_execd.c process_lrm_event(lrm_state, op, NULL, NULL); NULL 328 daemons/controld/controld_execd.c lrm_state_t *lrm_state = NULL; NULL 330 daemons/controld/controld_execd.c if(fsa_our_uname == NULL) { NULL 334 daemons/controld/controld_execd.c if (lrm_state == NULL) { NULL 335 daemons/controld/controld_execd.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 377 daemons/controld/controld_execd.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 399 daemons/controld/controld_execd.c const char *key = NULL; NULL 400 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; NULL 401 daemons/controld/controld_execd.c active_op_t *pending = NULL; NULL 426 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&pending)) { NULL 451 daemons/controld/controld_execd.c if (lrm_state->resource_history == NULL) { NULL 462 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&gIter, NULL, (gpointer*)&entry)) { NULL 519 daemons/controld/controld_execd.c char *list = NULL; NULL 522 daemons/controld/controld_execd.c *result = create_xml_node(NULL, XML_TAG_PARAMS); NULL 524 daemons/controld/controld_execd.c for (GList *iter = metadata->ra_params; iter != NULL; iter = iter->next) { NULL 550 daemons/controld/controld_execd.c if (list == NULL) { NULL 563 daemons/controld/controld_execd.c if (v != NULL) { NULL 570 daemons/controld/controld_execd.c if (list != NULL) { NULL 581 daemons/controld/controld_execd.c char *list = NULL; NULL 582 daemons/controld/controld_execd.c char *digest = NULL; NULL 583 daemons/controld/controld_execd.c xmlNode *restart = NULL; NULL 585 daemons/controld/controld_execd.c CRM_LOG_ASSERT(op->params != NULL); NULL 629 daemons/controld/controld_execd.c char *list = NULL; NULL 630 daemons/controld/controld_execd.c char *digest = NULL; NULL 631 daemons/controld/controld_execd.c xmlNode *secure = NULL; NULL 633 daemons/controld/controld_execd.c CRM_LOG_ASSERT(op->params != NULL); NULL 642 daemons/controld/controld_execd.c if (list != NULL) { NULL 663 daemons/controld/controld_execd.c xmlNode *xml_op = NULL; NULL 664 daemons/controld/controld_execd.c struct ra_metadata_s *metadata = NULL; NULL 665 daemons/controld/controld_execd.c const char *caller_version = NULL; NULL 666 daemons/controld/controld_execd.c lrm_state_t *lrm_state = NULL; NULL 669 daemons/controld/controld_execd.c if (op == NULL) { NULL 682 daemons/controld/controld_execd.c CRM_LOG_ASSERT(caller_version != NULL); NULL 684 daemons/controld/controld_execd.c if(caller_version == NULL) { NULL 691 daemons/controld/controld_execd.c if (xml_op == NULL) { NULL 695 daemons/controld/controld_execd.c if ((rsc == NULL) || (op->params == NULL) NULL 704 daemons/controld/controld_execd.c if (lrm_state == NULL) { NULL 724 daemons/controld/controld_execd.c if (metadata == NULL) { NULL 743 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; NULL 746 daemons/controld/controld_execd.c if (entry == NULL || entry->last == NULL) { NULL 776 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; NULL 779 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&iter, NULL, (void **)&entry)) { NULL 781 daemons/controld/controld_execd.c GList *gIter = NULL; NULL 800 daemons/controld/controld_execd.c for (gIter = entry->recurring_op_list; gIter != NULL; gIter = gIter->next) { NULL 812 daemons/controld/controld_execd.c xmlNode *xml_state = NULL; NULL 813 daemons/controld/controld_execd.c xmlNode *xml_data = NULL; NULL 814 daemons/controld/controld_execd.c xmlNode *rsc_list = NULL; NULL 815 daemons/controld/controld_execd.c crm_node_t *peer = NULL; NULL 818 daemons/controld/controld_execd.c CRM_CHECK(peer != NULL, return NULL); NULL 820 daemons/controld/controld_execd.c xml_state = create_node_state_update(peer, update_flags, NULL, NULL 822 daemons/controld/controld_execd.c if (xml_state == NULL) { NULL 823 daemons/controld/controld_execd.c return NULL; NULL 845 daemons/controld/controld_execd.c return NULL; NULL 892 daemons/controld/controld_execd.c char *now_s = crm_strdup_printf("%lld", (long long) time(NULL)); NULL 896 daemons/controld/controld_execd.c NULL, NULL, NULL, NULL, "last-lrm-refresh", now_s, NULL 897 daemons/controld/controld_execd.c FALSE, NULL, NULL); NULL 905 daemons/controld/controld_execd.c lrmd_event_data_t *op = NULL; NULL 914 daemons/controld/controld_execd.c controld_ack_event_directly(from_host, from_sys, NULL, op, rsc_id); NULL 952 daemons/controld/controld_execd.c CRM_CHECK(rsc_id != NULL, return); NULL 988 daemons/controld/controld_execd.c xmlNode *xml_top = NULL; NULL 990 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return); NULL 992 daemons/controld/controld_execd.c xml_top = create_xml_node(NULL, XML_LRM_TAG_RSC_OP); NULL 1048 daemons/controld/controld_execd.c char *op_xpath = NULL; NULL 1050 daemons/controld/controld_execd.c CRM_CHECK((rsc_id != NULL) && (key != NULL), return); NULL 1068 daemons/controld/controld_execd.c fsa_cib_conn->cmds->remove(fsa_cib_conn, op_xpath, NULL, NULL 1076 daemons/controld/controld_execd.c if (entry == NULL) { NULL 1079 daemons/controld/controld_execd.c if (op == NULL) { NULL 1103 daemons/controld/controld_execd.c char *op_key = NULL; NULL 1104 daemons/controld/controld_execd.c char *orig_op_key = NULL; NULL 1105 daemons/controld/controld_execd.c lrm_state_t *lrm_state = NULL; NULL 1108 daemons/controld/controld_execd.c if (lrm_state == NULL) { NULL 1128 daemons/controld/controld_execd.c entry->failed = NULL; NULL 1138 daemons/controld/controld_execd.c char *local_key = NULL; NULL 1139 daemons/controld/controld_execd.c active_op_t *pending = NULL; NULL 1142 daemons/controld/controld_execd.c CRM_CHECK(rsc_id != NULL, return FALSE); NULL 1143 daemons/controld/controld_execd.c if (key == NULL) { NULL 1219 daemons/controld/controld_execd.c CRM_CHECK(rsc != NULL, return FALSE); NULL 1220 daemons/controld/controld_execd.c CRM_CHECK(key != NULL, return FALSE); NULL 1276 daemons/controld/controld_execd.c if ((*rsc_info == NULL) && do_create) { NULL 1286 daemons/controld/controld_execd.c fsa_data_t *msg_data = NULL; NULL 1297 daemons/controld/controld_execd.c register_fsa_error(C_FSA_INTERNAL, I_FAIL, NULL); NULL 1331 daemons/controld/controld_execd.c struct pending_deletion_op_s *op = NULL; NULL 1353 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; NULL 1377 daemons/controld/controld_execd.c op->t_run = time(NULL); NULL 1389 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; NULL 1393 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&entry)) { NULL 1399 daemons/controld/controld_execd.c if (is_remote_lrmd_ra(NULL, NULL, entry->id)) { NULL 1410 daemons/controld/controld_execd.c user_name, NULL, unregister); NULL 1420 daemons/controld/controld_execd.c update_attrd(lrm_state->node_name, CRM_OP_PROBED, NULL, user_name, is_remote_node); NULL 1440 daemons/controld/controld_execd.c lrmd_event_data_t *op = NULL; NULL 1445 daemons/controld/controld_execd.c if ((xml_rsc == NULL) || (ID(xml_rsc) == NULL)) { NULL 1452 daemons/controld/controld_execd.c } else if(operation == NULL) { NULL 1471 daemons/controld/controld_execd.c process_lrm_event(lrm_state, op, NULL, action); NULL 1486 daemons/controld/controld_execd.c const char *target = NULL; NULL 1491 daemons/controld/controld_execd.c if (target == NULL) { NULL 1501 daemons/controld/controld_execd.c lrmd_event_data_t *op = NULL; NULL 1502 daemons/controld/controld_execd.c lrmd_rsc_info_t *rsc = NULL; NULL 1505 daemons/controld/controld_execd.c CRM_CHECK(xml_rsc != NULL, return); NULL 1519 daemons/controld/controld_execd.c op->user_data = NULL; NULL 1524 daemons/controld/controld_execd.c controld_ack_event_directly(from_host, from_sys, NULL, op, ID(xml_rsc)); NULL 1532 daemons/controld/controld_execd.c process_lrm_event(lrm_state, op, NULL, xml); NULL 1542 daemons/controld/controld_execd.c controld_ack_event_directly(from_host, from_sys, NULL, op, ID(xml_rsc)); NULL 1594 daemons/controld/controld_execd.c if (!pcmk__strcase_any_of(from_sys, CRM_SYSTEM_PENGINE, CRM_SYSTEM_TENGINE, NULL)) { NULL 1596 daemons/controld/controld_execd.c xmlNode *reply = create_request(CRM_OP_INVOKE_LRM, NULL, from_host, NULL 1612 daemons/controld/controld_execd.c char *op_key = NULL; NULL 1613 daemons/controld/controld_execd.c char *meta_key = NULL; NULL 1615 daemons/controld/controld_execd.c const char *call_id = NULL; NULL 1616 daemons/controld/controld_execd.c const char *op_task = NULL; NULL 1621 daemons/controld/controld_execd.c CRM_CHECK(params != NULL, return FALSE); NULL 1626 daemons/controld/controld_execd.c CRM_CHECK(op_task != NULL, return FALSE); NULL 1650 daemons/controld/controld_execd.c in_progress = cancel_op(lrm_state, rsc->id, NULL, call, TRUE); NULL 1654 daemons/controld/controld_execd.c if (!in_progress || is_remote_lrmd_ra(NULL, NULL, rsc->id)) { NULL 1657 daemons/controld/controld_execd.c if (is_remote_lrmd_ra(NULL, NULL, rsc->id) == FALSE) { NULL 1660 daemons/controld/controld_execd.c erase_lrm_history_by_id(lrm_state, rsc->id, op_key, NULL, call); NULL 1701 daemons/controld/controld_execd.c lrmd_event_data_t *op = NULL; NULL 1711 daemons/controld/controld_execd.c controld_ack_event_directly(from_host, from_sys, NULL, op, rsc->id); NULL 1716 daemons/controld/controld_execd.c if (crm_rsc_delete && is_remote_lrmd_ra(NULL, NULL, rsc->id)) { NULL 1720 daemons/controld/controld_execd.c delete_resource(lrm_state, rsc->id, rsc, NULL, from_sys, NULL 1731 daemons/controld/controld_execd.c lrm_state_t *lrm_state = NULL; NULL 1732 daemons/controld/controld_execd.c const char *crm_op = NULL; NULL 1733 daemons/controld/controld_execd.c const char *from_sys = NULL; NULL 1734 daemons/controld/controld_execd.c const char *from_host = NULL; NULL 1735 daemons/controld/controld_execd.c const char *operation = NULL; NULL 1737 daemons/controld/controld_execd.c const char *user_name = NULL; NULL 1738 daemons/controld/controld_execd.c const char *target_node = NULL; NULL 1747 daemons/controld/controld_execd.c if ((lrm_state == NULL) && is_remote_node) { NULL 1750 daemons/controld/controld_execd.c synthesize_lrmd_failure(NULL, input->xml, PCMK_LRM_OP_NOT_CONNECTED, NULL 1754 daemons/controld/controld_execd.c CRM_ASSERT(lrm_state != NULL); NULL 1756 daemons/controld/controld_execd.c user_name = pcmk__update_acl_user(input->msg, F_CRM_USER, NULL); NULL 1776 daemons/controld/controld_execd.c } else if (input->xml != NULL) { NULL 1795 daemons/controld/controld_execd.c } else if (operation != NULL) { NULL 1796 daemons/controld/controld_execd.c lrmd_rsc_info_t *rsc = NULL; NULL 1820 daemons/controld/controld_execd.c delete_rsc_entry(lrm_state, input, ID(xml_rsc), NULL, pcmk_ok, NULL 1853 daemons/controld/controld_execd.c CRMD_ACTION_RELOAD_AGENT, NULL)) { NULL 1859 daemons/controld/controld_execd.c struct ra_metadata_s *md = NULL; NULL 1864 daemons/controld/controld_execd.c if ((md != NULL) NULL 1878 daemons/controld/controld_execd.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 1895 daemons/controld/controld_execd.c xmlNode *versioned_attrs = NULL; NULL 1896 daemons/controld/controld_execd.c GHashTable *hash = NULL; NULL 1897 daemons/controld/controld_execd.c char *key = NULL; NULL 1898 daemons/controld/controld_execd.c char *value = NULL; NULL 1942 daemons/controld/controld_execd.c lrmd_event_data_t *op = NULL; NULL 1943 daemons/controld/controld_execd.c const char *op_delay = NULL; NULL 1944 daemons/controld/controld_execd.c const char *op_timeout = NULL; NULL 1945 daemons/controld/controld_execd.c GHashTable *params = NULL; NULL 1947 daemons/controld/controld_execd.c xmlNode *primitive = NULL; NULL 1948 daemons/controld/controld_execd.c const char *class = NULL; NULL 1950 daemons/controld/controld_execd.c const char *transition = NULL; NULL 1961 daemons/controld/controld_execd.c if (rsc_op == NULL) { NULL 1963 daemons/controld/controld_execd.c op->user_data = NULL; NULL 2001 daemons/controld/controld_execd.c if (op_timeout != NULL) { NULL 2007 daemons/controld/controld_execd.c if (lrm_state && !is_remote_lrmd_ra(NULL, NULL, rsc_id) NULL 2009 daemons/controld/controld_execd.c NULL)) { NULL 2018 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; NULL 2036 daemons/controld/controld_execd.c params = NULL; NULL 2049 daemons/controld/controld_execd.c CRM_CHECK(transition != NULL, return op); NULL 2054 daemons/controld/controld_execd.c if (pcmk__strcase_any_of(operation, CRMD_ACTION_START, CRMD_ACTION_STOP, NULL)) { NULL 2085 daemons/controld/controld_execd.c xmlNode *reply = NULL; NULL 2087 daemons/controld/controld_execd.c crm_node_t *peer = NULL; NULL 2089 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return); NULL 2090 daemons/controld/controld_execd.c if (op->rsc_id == NULL) { NULL 2091 daemons/controld/controld_execd.c CRM_ASSERT(rsc_id != NULL); NULL 2094 daemons/controld/controld_execd.c if (to_sys == NULL) { NULL 2099 daemons/controld/controld_execd.c update = create_node_state_update(peer, node_update_none, NULL, NULL 2110 daemons/controld/controld_execd.c reply = create_request(CRM_OP_INVOKE_LRM, update, to_host, to_sys, CRM_SYSTEM_LRMD, NULL); NULL 2133 daemons/controld/controld_execd.c for (state_entry = lrm_state_list; state_entry != NULL; state_entry = state_entry->next) { NULL 2143 daemons/controld/controld_execd.c g_list_free(lrm_state_list); lrm_state_list = NULL; NULL 2188 daemons/controld/controld_execd.c const char *record_pending = NULL; NULL 2190 daemons/controld/controld_execd.c CRM_CHECK(node_name != NULL, return); NULL 2191 daemons/controld/controld_execd.c CRM_CHECK(rsc != NULL, return); NULL 2192 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return); NULL 2195 daemons/controld/controld_execd.c if ((op->op_type == NULL) || (op->params == NULL) NULL 2210 daemons/controld/controld_execd.c op->t_run = time(NULL); NULL 2225 daemons/controld/controld_execd.c char *op_id = NULL; NULL 2226 daemons/controld/controld_execd.c lrmd_event_data_t *op = NULL; NULL 2227 daemons/controld/controld_execd.c lrmd_key_value_t *params = NULL; NULL 2228 daemons/controld/controld_execd.c fsa_data_t *msg_data = NULL; NULL 2229 daemons/controld/controld_execd.c const char *transition = NULL; NULL 2233 daemons/controld/controld_execd.c CRM_CHECK(rsc != NULL, return); NULL 2234 daemons/controld/controld_execd.c CRM_CHECK(operation != NULL, return); NULL 2236 daemons/controld/controld_execd.c if (msg != NULL) { NULL 2238 daemons/controld/controld_execd.c if (transition == NULL) { NULL 2244 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return); NULL 2246 daemons/controld/controld_execd.c if (is_remote_lrmd_ra(NULL, NULL, rsc->id) NULL 2289 daemons/controld/controld_execd.c register_fsa_input(C_SHUTDOWN, I_SHUTDOWN, NULL); NULL 2306 daemons/controld/controld_execd.c controld_ack_event_directly(NULL, NULL, rsc, op, rsc->id); NULL 2322 daemons/controld/controld_execd.c char *key = NULL; NULL 2323 daemons/controld/controld_execd.c char *value = NULL; NULL 2338 daemons/controld/controld_execd.c register_fsa_error(C_FSA_INTERNAL, I_FAIL, NULL); NULL 2344 daemons/controld/controld_execd.c process_lrm_event(lrm_state, op, NULL, NULL); NULL 2351 daemons/controld/controld_execd.c active_op_t *pending = NULL; NULL 2361 daemons/controld/controld_execd.c pending->start_time = time(NULL); NULL 2362 daemons/controld/controld_execd.c pending->user_data = op->user_data? strdup(op->user_data) : NULL; NULL 2374 daemons/controld/controld_execd.c decode_transition_key(op->user_data, NULL, NULL, NULL, &target_rc); NULL 2377 daemons/controld/controld_execd.c controld_ack_event_directly(NULL, NULL, rsc, op, rsc->id); NULL 2381 daemons/controld/controld_execd.c op->params = NULL; NULL 2442 daemons/controld/controld_execd.c xmlNode *update, *iter = NULL; NULL 2444 daemons/controld/controld_execd.c const char *uuid = NULL; NULL 2446 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return 0); NULL 2461 daemons/controld/controld_execd.c CRM_LOG_ASSERT(uuid != NULL); NULL 2462 daemons/controld/controld_execd.c if(uuid == NULL) { NULL 2481 daemons/controld/controld_execd.c const char *container = NULL; NULL 2507 daemons/controld/controld_execd.c controld_ack_event_directly(NULL, NULL, rsc, op, op->rsc_id); NULL 2530 daemons/controld/controld_execd.c fsa_cib_update(XML_CIB_TAG_STATUS, update, call_opt, rc, NULL); NULL 2539 daemons/controld/controld_execd.c fsa_register_cib_callback(rc, FALSE, NULL, cib_rsc_callback); NULL 2557 daemons/controld/controld_execd.c char *pch = NULL; NULL 2558 daemons/controld/controld_execd.c char *ret = NULL; NULL 2562 daemons/controld/controld_execd.c return NULL; NULL 2567 daemons/controld/controld_execd.c while (pch != NULL) { NULL 2583 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; NULL 2585 daemons/controld/controld_execd.c CRM_CHECK(lrm_state != NULL, return FALSE); NULL 2586 daemons/controld/controld_execd.c CRM_CHECK(rsc_id != NULL, return FALSE); NULL 2587 daemons/controld/controld_execd.c CRM_CHECK(op_type != NULL, return FALSE); NULL 2590 daemons/controld/controld_execd.c if (entry == NULL || entry->failed == NULL) { NULL 2607 daemons/controld/controld_execd.c char *op_id = NULL; NULL 2608 daemons/controld/controld_execd.c char *op_key = NULL; NULL 2614 daemons/controld/controld_execd.c lrmd_rsc_info_t *rsc = NULL; NULL 2615 daemons/controld/controld_execd.c const char *node_name = NULL; NULL 2617 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return); NULL 2618 daemons/controld/controld_execd.c CRM_CHECK(op->rsc_id != NULL, return); NULL 2643 daemons/controld/controld_execd.c if ((rsc == NULL) && action_xml) { NULL 2668 daemons/controld/controld_execd.c if(pending == NULL) { NULL 2729 daemons/controld/controld_execd.c } else if (pending == NULL) { NULL 2734 daemons/controld/controld_execd.c } else if (op->user_data == NULL) { NULL 2780 daemons/controld/controld_execd.c controld_ack_event_directly(NULL, NULL, NULL, op, op->rsc_id); NULL 2802 daemons/controld/controld_execd.c if (node_name == NULL) { NULL 2871 daemons/controld/controld_execd.c delete_rsc_entry(lrm_state, NULL, op->rsc_id, NULL, pcmk_ok, NULL); NULL 21 daemons/controld/controld_execd_state.c GHashTable *lrm_state_table = NULL; NULL 85 daemons/controld/controld_execd_state.c process_lrm_event(lrm_state, &event, op, NULL); NULL 92 daemons/controld/controld_execd_state.c if (lrm_state == NULL || fsa_our_uname == NULL) { NULL 107 daemons/controld/controld_execd_state.c lrm_state_t *state = NULL; NULL 111 daemons/controld/controld_execd_state.c return NULL; NULL 116 daemons/controld/controld_execd_state.c return NULL; NULL 120 daemons/controld/controld_execd_state.c state->rsc_info_cache = pcmk__strkey_table(NULL, free_rsc_info); NULL 123 daemons/controld/controld_execd_state.c state->resource_history = pcmk__strkey_table(NULL, history_free); NULL 220 daemons/controld/controld_execd_state.c lrm_state_table = pcmk__strikey_table(NULL, internal_lrm_state_destroy); NULL 225 daemons/controld/controld_execd_state.c proxy_table = pcmk__strikey_table(NULL, remote_proxy_free); NULL 228 daemons/controld/controld_execd_state.c lrm_state_table = NULL; NULL 240 daemons/controld/controld_execd_state.c g_hash_table_destroy(lrm_state_table); lrm_state_table = NULL; NULL 244 daemons/controld/controld_execd_state.c g_hash_table_destroy(proxy_table); proxy_table = NULL; NULL 252 daemons/controld/controld_execd_state.c return NULL; NULL 280 daemons/controld/controld_execd_state.c remote_proxy_t *proxy = NULL; NULL 282 daemons/controld/controld_execd_state.c CRM_CHECK(proxy_table != NULL, return NULL); NULL 286 daemons/controld/controld_execd_state.c while (g_hash_table_iter_next(&gIter, NULL, (gpointer *) &proxy)) { NULL 293 daemons/controld/controld_execd_state.c return NULL; NULL 299 daemons/controld/controld_execd_state.c remote_proxy_t *proxy = NULL; NULL 301 daemons/controld/controld_execd_state.c CRM_CHECK(proxy_table != NULL, return); NULL 303 daemons/controld/controld_execd_state.c while ((proxy = find_connected_proxy_by_node(node_name)) != NULL) { NULL 345 daemons/controld/controld_execd_state.c lrm_state->conn = NULL; NULL 377 daemons/controld/controld_execd_state.c ret = ((lrmd_t *) lrm_state->conn)->cmds->connect(lrm_state->conn, CRM_SYSTEM_CRMD, NULL); NULL 410 daemons/controld/controld_execd_state.c lrm_state_t *lrm_state = NULL; NULL 429 daemons/controld/controld_execd_state.c if (controld_authorize_ipc_message(msg, NULL, session)) { NULL 447 daemons/controld/controld_execd_state.c crm_time_t *now = crm_time_new(NULL); NULL 452 daemons/controld/controld_execd_state.c pe_unpack_nvpairs(output, output, XML_CIB_TAG_PROPSET, NULL, NULL 453 daemons/controld/controld_execd_state.c config_hash, CIB_OPTIONS_FIRST, FALSE, now, NULL); NULL 476 daemons/controld/controld_execd_state.c if (proxy != NULL) { NULL 478 daemons/controld/controld_execd_state.c int rc = fsa_cib_conn->cmds->query(fsa_cib_conn, XML_CIB_TAG_CRMCONFIG, NULL, cib_scope_local); NULL 480 daemons/controld/controld_execd_state.c "remote_config_check", remote_config_check, NULL); NULL 487 daemons/controld/controld_execd_state.c char *now_s = NULL; NULL 493 daemons/controld/controld_execd_state.c now_s = pcmk__ttoa(time(NULL)); NULL 494 daemons/controld/controld_execd_state.c update_attrd(lrm_state->node_name, XML_CIB_ATTR_SHUTDOWN, now_s, NULL, TRUE); NULL 516 daemons/controld/controld_execd_state.c CRM_CHECK(request != NULL, return); NULL 531 daemons/controld/controld_execd_state.c && (crm_element_value(request, XML_ATTR_UNAME) == NULL)) { NULL 541 daemons/controld/controld_execd_state.c xmlNode *op_reply = create_xml_node(NULL, "ack"); NULL 593 daemons/controld/controld_execd_state.c lrmd_key_value_t *params = NULL; NULL 630 daemons/controld/controld_execd_state.c if (is_remote_lrmd_ra(NULL, NULL, rsc_id)) { NULL 640 daemons/controld/controld_execd_state.c lrmd_rsc_info_t *rsc = NULL; NULL 643 daemons/controld/controld_execd_state.c return NULL; NULL 645 daemons/controld/controld_execd_state.c if (is_remote_lrmd_ra(NULL, NULL, rsc_id)) { NULL 650 daemons/controld/controld_execd_state.c if (rsc == NULL) { NULL 653 daemons/controld/controld_execd_state.c if (rsc == NULL) { NULL 654 daemons/controld/controld_execd_state.c return NULL; NULL 677 daemons/controld/controld_execd_state.c if (is_remote_lrmd_ra(NULL, NULL, rsc_id)) { NULL 700 daemons/controld/controld_execd_state.c if (conn == NULL) { NULL 704 daemons/controld/controld_execd_state.c if (is_remote_lrmd_ra(agent, provider, NULL)) { NULL 723 daemons/controld/controld_execd_state.c if (is_remote_lrmd_ra(NULL, NULL, rsc_id)) { NULL 742 daemons/controld/controld_execd_state.c static GList *crmd_alert_list = NULL; NULL 756 daemons/controld/controld_execd_state.c if (crmd_alert_list == NULL) { NULL 761 daemons/controld/controld_execd_state.c if (lrm_state == NULL) { NULL 775 daemons/controld/controld_execd_state.c if (crmd_alert_list == NULL) { NULL 780 daemons/controld/controld_execd_state.c if (lrm_state == NULL) { NULL 800 daemons/controld/controld_execd_state.c if (crmd_alert_list == NULL) { NULL 805 daemons/controld/controld_execd_state.c if (lrm_state == NULL) { NULL 35 daemons/controld/controld_fencing.c static GHashTable *stonith_failures = NULL; NULL 65 daemons/controld/controld_fencing.c const char *key = NULL; NULL 66 daemons/controld/controld_fencing.c struct st_fail_rec *value = NULL; NULL 68 daemons/controld/controld_fencing.c if (stonith_failures == NULL) { NULL 72 daemons/controld/controld_fencing.c if (target == NULL) { NULL 84 daemons/controld/controld_fencing.c if ((value != NULL) && (value->count >= stonith_max_attempts)) { NULL 105 daemons/controld/controld_fencing.c if (stonith_failures == NULL) { NULL 110 daemons/controld/controld_fencing.c struct st_fail_rec *rec = NULL; NULL 118 daemons/controld/controld_fencing.c const char *key = NULL; NULL 119 daemons/controld/controld_fencing.c struct st_fail_rec *rec = NULL; NULL 132 daemons/controld/controld_fencing.c struct st_fail_rec *rec = NULL; NULL 134 daemons/controld/controld_fencing.c if (stonith_failures == NULL) { NULL 143 daemons/controld/controld_fencing.c if(rec == NULL) { NULL 163 daemons/controld/controld_fencing.c abort_transition(INFINITY, tg_shutdown, "CIB update failed", NULL); NULL 174 daemons/controld/controld_fencing.c crm_node_t *peer = NULL; NULL 183 daemons/controld/controld_fencing.c xmlNode *node_state = NULL; NULL 185 daemons/controld/controld_fencing.c CRM_CHECK(target != NULL, return); NULL 186 daemons/controld/controld_fencing.c CRM_CHECK(uuid != NULL, return); NULL 191 daemons/controld/controld_fencing.c CRM_CHECK(peer != NULL, return); NULL 193 daemons/controld/controld_fencing.c if (peer->state == NULL) { NULL 201 daemons/controld/controld_fencing.c if (peer->uuid == NULL) { NULL 209 daemons/controld/controld_fencing.c node_state = create_node_state_update(peer, flags, NULL, __func__); NULL 213 daemons/controld/controld_fencing.c char *now_s = pcmk__ttoa(time(NULL)); NULL 268 daemons/controld/controld_fencing.c static GList *stonith_cleanup_list = NULL; NULL 292 daemons/controld/controld_fencing.c while (iter != NULL) { NULL 313 daemons/controld/controld_fencing.c GList *iter = NULL; NULL 315 daemons/controld/controld_fencing.c for (iter = stonith_cleanup_list; iter != NULL; iter = iter->next) { NULL 322 daemons/controld/controld_fencing.c stonith_cleanup_list = NULL; NULL 335 daemons/controld/controld_fencing.c for (iter = stonith_cleanup_list; iter != NULL; iter = iter->next) { NULL 341 daemons/controld/controld_fencing.c send_stonith_update(NULL, target, uuid); NULL 345 daemons/controld/controld_fencing.c stonith_cleanup_list = NULL; NULL 356 daemons/controld/controld_fencing.c static stonith_t *stonith_api = NULL; NULL 357 daemons/controld/controld_fencing.c static crm_trigger_t *stonith_reconnect = NULL; NULL 358 daemons/controld/controld_fencing.c static char *te_client_id = NULL; NULL 363 daemons/controld/controld_fencing.c GList *lpc = NULL; NULL 364 daemons/controld/controld_fencing.c const char *task = NULL; NULL 365 daemons/controld/controld_fencing.c xmlNode *last_action = NULL; NULL 367 daemons/controld/controld_fencing.c if (graph == NULL) { NULL 371 daemons/controld/controld_fencing.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { NULL 372 daemons/controld/controld_fencing.c GList *lpc2 = NULL; NULL 379 daemons/controld/controld_fencing.c for (lpc2 = synapse->actions; lpc2 != NULL; lpc2 = lpc2->next) { NULL 397 daemons/controld/controld_fencing.c if (last_action != NULL) { NULL 399 daemons/controld/controld_fencing.c abort_for_stonith_failure(tg_restart, NULL, last_action); NULL 440 daemons/controld/controld_fencing.c if (te_client_id == NULL) { NULL 445 daemons/controld/controld_fencing.c if (st_event == NULL) { NULL 514 daemons/controld/controld_fencing.c const char *uuid = NULL; NULL 519 daemons/controld/controld_fencing.c if (peer == NULL) { NULL 528 daemons/controld/controld_fencing.c send_stonith_update(NULL, st_event->target, uuid); NULL 545 daemons/controld/controld_fencing.c abort_transition(INFINITY, tg_restart, "External Fencing Operation", NULL); NULL 560 daemons/controld/controld_fencing.c send_stonith_update(NULL, st_event->target, uuid); NULL 592 daemons/controld/controld_fencing.c if (stonith_api == NULL) { NULL 594 daemons/controld/controld_fencing.c if (stonith_api == NULL) { NULL 605 daemons/controld/controld_fencing.c if (user_data == NULL) { NULL 614 daemons/controld/controld_fencing.c rc = stonith_api->cmds->connect(stonith_api, crm_system_name, NULL); NULL 652 daemons/controld/controld_fencing.c if (stonith_reconnect == NULL) { NULL 678 daemons/controld/controld_fencing.c stonith_api = NULL; NULL 682 daemons/controld/controld_fencing.c stonith_reconnect = NULL; NULL 686 daemons/controld/controld_fencing.c te_client_id = NULL; NULL 695 daemons/controld/controld_fencing.c stonith_history_t *history = NULL; NULL 700 daemons/controld/controld_fencing.c NULL, &history, 5); NULL 712 daemons/controld/controld_fencing.c char *uuid = NULL; NULL 715 daemons/controld/controld_fencing.c crm_action_t *action = NULL; NULL 720 daemons/controld/controld_fencing.c CRM_CHECK(userdata != NULL, return); NULL 733 daemons/controld/controld_fencing.c CRM_CHECK(decode_transition_key(userdata, &uuid, &transition_id, &stonith_id, NULL), NULL 743 daemons/controld/controld_fencing.c if (action == NULL) { NULL 756 daemons/controld/controld_fencing.c te_action_confirmed(action, NULL); NULL 758 daemons/controld/controld_fencing.c const char *value = NULL; NULL 759 daemons/controld/controld_fencing.c char *now = pcmk__ttoa(time(NULL)); NULL 761 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_UNFENCED, now, NULL, FALSE); NULL 765 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_DIGESTS_ALL, value, NULL, FALSE); NULL 768 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_DIGESTS_SECURE, value, NULL, FALSE); NULL 798 daemons/controld/controld_fencing.c abort_for_stonith_failure(abort_action, target, NULL); NULL 829 daemons/controld/controld_fencing.c const char *id = NULL; NULL 830 daemons/controld/controld_fencing.c const char *uuid = NULL; NULL 831 daemons/controld/controld_fencing.c const char *target = NULL; NULL 832 daemons/controld/controld_fencing.c const char *type = NULL; NULL 833 daemons/controld/controld_fencing.c char *transition_key = NULL; NULL 834 daemons/controld/controld_fencing.c const char *priority_delay = NULL; NULL 842 daemons/controld/controld_fencing.c CRM_CHECK(id != NULL, invalid_action = TRUE); NULL 843 daemons/controld/controld_fencing.c CRM_CHECK(uuid != NULL, invalid_action = TRUE); NULL 844 daemons/controld/controld_fencing.c CRM_CHECK(type != NULL, invalid_action = TRUE); NULL 845 daemons/controld/controld_fencing.c CRM_CHECK(target != NULL, invalid_action = TRUE); NULL 861 daemons/controld/controld_fencing.c te_connect_stonith(NULL); NULL 884 daemons/controld/controld_fencing.c static crm_trigger_t *stonith_history_sync_trigger = NULL; NULL 885 daemons/controld/controld_fencing.c static mainloop_timer_t *stonith_history_sync_timer_short = NULL; NULL 886 daemons/controld/controld_fencing.c static mainloop_timer_t *stonith_history_sync_timer_long = NULL; NULL 893 daemons/controld/controld_fencing.c stonith_history_sync_timer_short = NULL; NULL 895 daemons/controld/controld_fencing.c stonith_history_sync_timer_long = NULL; NULL 940 daemons/controld/controld_fencing.c if (stonith_history_sync_trigger == NULL) { NULL 943 daemons/controld/controld_fencing.c do_stonith_history_sync, NULL); NULL 947 daemons/controld/controld_fencing.c if(stonith_history_sync_timer_long == NULL) { NULL 951 daemons/controld/controld_fencing.c NULL); NULL 956 daemons/controld/controld_fencing.c if(stonith_history_sync_timer_short == NULL) { NULL 960 daemons/controld/controld_fencing.c NULL); NULL 29 daemons/controld/controld_fsa.c char *fsa_our_dc = NULL; NULL 30 daemons/controld/controld_fsa.c cib_t *fsa_cib_conn = NULL; NULL 31 daemons/controld/controld_fsa.c char *fsa_our_dc_version = NULL; NULL 33 daemons/controld/controld_fsa.c char *fsa_our_uuid = NULL; NULL 34 daemons/controld/controld_fsa.c char *fsa_our_uname = NULL; NULL 36 daemons/controld/controld_fsa.c char *fsa_cluster_name = NULL; NULL 161 daemons/controld/controld_fsa.c fsa_data_t *fsa_data = NULL; NULL 172 daemons/controld/controld_fsa.c if ((fsa_message_queue == NULL) && (fsa_actions != A_NOTHING)) { NULL 180 daemons/controld/controld_fsa.c fsa_data = NULL; NULL 182 daemons/controld/controld_fsa.c while ((fsa_message_queue != NULL) && !do_fsa_stall) { NULL 186 daemons/controld/controld_fsa.c if(fsa_data == NULL) { NULL 247 daemons/controld/controld_fsa.c fsa_data = NULL; NULL 250 daemons/controld/controld_fsa.c if ((fsa_message_queue != NULL) || (fsa_actions != A_NOTHING) NULL 280 daemons/controld/controld_fsa.c CRM_CHECK(fsa_data != NULL, return); NULL 442 daemons/controld/controld_fsa.c register_fsa_error_adv(C_FSA_INTERNAL, I_ERROR, fsa_data, NULL, NULL 456 daemons/controld/controld_fsa.c } else if (stored_msg->data == NULL) { NULL 494 daemons/controld/controld_fsa.c register_fsa_input(C_FSA_INTERNAL, I_ELECTION, NULL); NULL 499 daemons/controld/controld_fsa.c register_fsa_input_before(C_FSA_INTERNAL, I_NODE_JOIN, NULL); NULL 588 daemons/controld/controld_fsa.c update_dc(NULL); NULL 598 daemons/controld/controld_fsa.c CRM_LOG_ASSERT(fsa_our_dc != NULL); NULL 599 daemons/controld/controld_fsa.c if (fsa_our_dc == NULL) { NULL 533 daemons/controld/controld_fsa.h if (fsa_source != NULL) { \ NULL 52 daemons/controld/controld_join_client.c xmlNode *req = create_request(CRM_OP_JOIN_ANNOUNCE, NULL, NULL, NULL 53 daemons/controld/controld_join_client.c CRM_SYSTEM_DC, CRM_SYSTEM_CRMD, NULL); NULL 56 daemons/controld/controld_join_client.c update_dc(NULL); /* Unset any existing value so that the result is not discarded */ NULL 58 daemons/controld/controld_join_client.c send_cluster_message(NULL, crm_msg_crmd, req, FALSE); NULL 82 daemons/controld/controld_join_client.c xmlNode *req = create_request(CRM_OP_JOIN_ANNOUNCE, NULL, NULL, NULL 83 daemons/controld/controld_join_client.c CRM_SYSTEM_DC, CRM_SYSTEM_CRMD, NULL); NULL 86 daemons/controld/controld_join_client.c update_dc(NULL); NULL 87 daemons/controld/controld_join_client.c send_cluster_message(NULL, crm_msg_crmd, req, FALSE); NULL 111 daemons/controld/controld_join_client.c CRM_CHECK(input != NULL, return); NULL 143 daemons/controld/controld_join_client.c fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local | cib_no_children); NULL 155 daemons/controld/controld_join_client.c xmlNode *generation = create_xml_node(NULL, XML_CIB_TAG_GENERATION_TUPPLE); NULL 157 daemons/controld/controld_join_client.c CRM_LOG_ASSERT(join_id != NULL); NULL 165 daemons/controld/controld_join_client.c if(rc != pcmk_ok || output == NULL) { NULL 168 daemons/controld/controld_join_client.c register_fsa_error_adv(C_FSA_INTERNAL, I_ERROR, NULL, NULL, __func__); NULL 170 daemons/controld/controld_join_client.c } else if (fsa_our_dc == NULL) { NULL 174 daemons/controld/controld_join_client.c xmlNode *reply = NULL; NULL 180 daemons/controld/controld_join_client.c CRM_SYSTEM_DC, CRM_SYSTEM_CRMD, NULL); NULL 199 daemons/controld/controld_join_client.c NULL, NULL, NULL, "standby", "on", TRUE, NULL, NULL); NULL 205 daemons/controld/controld_join_client.c NULL, NULL, NULL, "standby", "off", TRUE, NULL, NULL); NULL 224 daemons/controld/controld_join_client.c xmlNode *tmp1 = NULL; NULL 250 daemons/controld/controld_join_client.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 269 daemons/controld/controld_join_client.c if (tmp1 != NULL) { NULL 271 daemons/controld/controld_join_client.c CRM_SYSTEM_DC, CRM_SYSTEM_CRMD, NULL); NULL 301 daemons/controld/controld_join_client.c register_fsa_input_adv(cause, I_NOT_DC, NULL, A_NOTHING, TRUE, NULL 310 daemons/controld/controld_join_client.c register_fsa_error(C_FSA_INTERNAL, I_FAIL, NULL); NULL 20 daemons/controld/controld_join_dc.c char *max_epoch = NULL; NULL 21 daemons/controld/controld_join_dc.c char *max_generation_from = NULL; NULL 22 daemons/controld/controld_join_dc.c xmlNode *max_generation_xml = NULL; NULL 40 daemons/controld/controld_join_dc.c CRM_CHECK(node != NULL, return); NULL 74 daemons/controld/controld_join_dc.c crm_node_t *peer = NULL; NULL 79 daemons/controld/controld_join_dc.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &peer)) { NULL 82 daemons/controld/controld_join_dc.c if (max_generation_from != NULL) { NULL 84 daemons/controld/controld_join_dc.c max_generation_from = NULL; NULL 86 daemons/controld/controld_join_dc.c if (max_generation_xml != NULL) { NULL 88 daemons/controld/controld_join_dc.c max_generation_xml = NULL; NULL 103 daemons/controld/controld_join_dc.c xmlNode *msg = create_request(join_op, NULL, host_to, CRM_SYSTEM_CRMD, NULL 104 daemons/controld/controld_join_dc.c CRM_SYSTEM_DC, NULL); NULL 120 daemons/controld/controld_join_dc.c xmlNode *offer = NULL; NULL 123 daemons/controld/controld_join_dc.c CRM_ASSERT(member != NULL); NULL 128 daemons/controld/controld_join_dc.c if(member->expected == NULL && pcmk__str_eq(member->state, CRM_NODE_LOST, pcmk__str_casei)) { NULL 143 daemons/controld/controld_join_dc.c if (member->uname == NULL) { NULL 193 daemons/controld/controld_join_dc.c update_dc(NULL); NULL 197 daemons/controld/controld_join_dc.c g_hash_table_foreach(crm_peer_cache, join_make_offer, NULL); NULL 214 daemons/controld/controld_join_dc.c ha_msg_input_t *welcome = NULL; NULL 216 daemons/controld/controld_join_dc.c const char *join_to = NULL; NULL 218 daemons/controld/controld_join_dc.c if (msg_data->data == NULL) { NULL 227 daemons/controld/controld_join_dc.c if (welcome == NULL) { NULL 233 daemons/controld/controld_join_dc.c if (join_to == NULL) { NULL 245 daemons/controld/controld_join_dc.c join_make_offer(NULL, member, NULL); NULL 252 daemons/controld/controld_join_dc.c join_make_offer(NULL, member, NULL); NULL 258 daemons/controld/controld_join_dc.c abort_transition(INFINITY, tg_restart, "Node join", NULL); NULL 296 daemons/controld/controld_join_dc.c xmlNode *generation = NULL; NULL 308 daemons/controld/controld_join_dc.c crm_node_t *join_node = NULL; NULL 310 daemons/controld/controld_join_dc.c if (join_from == NULL) { NULL 325 daemons/controld/controld_join_dc.c if (max_generation_xml != NULL && generation != NULL) { NULL 339 daemons/controld/controld_join_dc.c if (ref == NULL) { NULL 348 daemons/controld/controld_join_dc.c } else if (generation == NULL) { NULL 354 daemons/controld/controld_join_dc.c } else if ((join_version == NULL) NULL 362 daemons/controld/controld_join_dc.c } else if (max_generation_xml == NULL) { NULL 414 daemons/controld/controld_join_dc.c char *sync_from = NULL; NULL 470 daemons/controld/controld_join_dc.c rc = fsa_cib_conn->cmds->sync_from(fsa_cib_conn, sync_from, NULL, cib_quorum_override); NULL 485 daemons/controld/controld_join_dc.c register_fsa_error_adv(C_FSA_INTERNAL, I_ELECTION_DC, NULL, NULL, NULL 506 daemons/controld/controld_join_dc.c g_hash_table_foreach(crm_peer_cache, finalize_join_for, NULL); NULL 514 daemons/controld/controld_join_dc.c fsa_data_t *msg_data = NULL; NULL 526 daemons/controld/controld_join_dc.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 544 daemons/controld/controld_join_dc.c crm_node_t *peer = NULL; NULL 547 daemons/controld/controld_join_dc.c if (join_from == NULL) { NULL 551 daemons/controld/controld_join_dc.c if (op == NULL) { NULL 597 daemons/controld/controld_join_dc.c if (now_dc_lrmd_state != NULL) { NULL 599 daemons/controld/controld_join_dc.c cib_scope_local | cib_quorum_override | cib_can_create, call_id, NULL); NULL 605 daemons/controld/controld_join_dc.c cib_scope_local | cib_quorum_override | cib_can_create, call_id, NULL); NULL 611 daemons/controld/controld_join_dc.c cib_scope_local | cib_quorum_override | cib_can_create, call_id, NULL); NULL 615 daemons/controld/controld_join_dc.c fsa_register_cib_callback(call_id, FALSE, NULL, join_update_complete_callback); NULL 621 daemons/controld/controld_join_dc.c xmlNode *acknak = NULL; NULL 622 daemons/controld/controld_join_dc.c xmlNode *tmp1 = NULL; NULL 634 daemons/controld/controld_join_dc.c tmp1 = create_xml_node(NULL, XML_CIB_TAG_NODE); NULL 681 daemons/controld/controld_join_dc.c register_fsa_input_before(C_FSA_INTERNAL, I_NODE_JOIN, NULL); NULL 692 daemons/controld/controld_join_dc.c register_fsa_input_before(C_FSA_INTERNAL, I_INTEGRATED, NULL); NULL 733 daemons/controld/controld_join_dc.c register_fsa_input_later(C_FSA_INTERNAL, I_FINALIZED, NULL); NULL 758 daemons/controld/controld_join_dc.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &peer)) { NULL 772 daemons/controld/controld_join_dc.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &peer)) { NULL 42 daemons/controld/controld_membership.c register_fsa_input(C_FSA_INTERNAL, I_ERROR, NULL); NULL 46 daemons/controld/controld_membership.c register_fsa_input(C_FSA_INTERNAL, I_ELECTION, NULL); NULL 64 daemons/controld/controld_membership.c xmlNode *no_op = NULL; NULL 69 daemons/controld/controld_membership.c g_hash_table_foreach(crm_peer_cache, reap_dead_nodes, NULL); NULL 87 daemons/controld/controld_membership.c no_op = create_request(CRM_OP_NOOP, NULL, NULL, CRM_SYSTEM_CRMD, NULL 88 daemons/controld/controld_membership.c AM_I_DC ? CRM_SYSTEM_DC : CRM_SYSTEM_CRMD, NULL); NULL 89 daemons/controld/controld_membership.c send_cluster_message(NULL, crm_msg_crmd, no_op, FALSE); NULL 96 daemons/controld/controld_membership.c fsa_data_t *msg_data = NULL; NULL 106 daemons/controld/controld_membership.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 111 daemons/controld/controld_membership.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 130 daemons/controld/controld_membership.c const char *value = NULL; NULL 135 daemons/controld/controld_membership.c return NULL; NULL 146 daemons/controld/controld_membership.c if (crm_element_value(node_state, XML_ATTR_UUID) == NULL) { NULL 149 daemons/controld/controld_membership.c return NULL; NULL 203 daemons/controld/controld_membership.c xmlNode *node_xml = NULL; NULL 212 daemons/controld/controld_membership.c } else if (output == NULL) { NULL 223 daemons/controld/controld_membership.c for (; node_xml != NULL; node_xml = pcmk__xml_next(node_xml)) { NULL 224 daemons/controld/controld_membership.c const char *node_uuid = NULL; NULL 225 daemons/controld/controld_membership.c const char *node_uname = NULL; NULL 227 daemons/controld/controld_membership.c crm_node_t *node = NULL; NULL 237 daemons/controld/controld_membership.c if (node_uuid == NULL || node_uname == NULL) { NULL 242 daemons/controld/controld_membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 255 daemons/controld/controld_membership.c xmlNode *node_state_xml = NULL; NULL 265 daemons/controld/controld_membership.c node_state_xml = create_xml_node(NULL, XML_CIB_TAG_STATE); NULL 281 daemons/controld/controld_membership.c fsa_data_t *msg_data = NULL; NULL 286 daemons/controld/controld_membership.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 291 daemons/controld/controld_membership.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 303 daemons/controld/controld_membership.c xmlNode *node_list = create_xml_node(NULL, XML_CIB_TAG_NODES); NULL 313 daemons/controld/controld_membership.c crm_node_t *node = NULL; NULL 316 daemons/controld/controld_membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 317 daemons/controld/controld_membership.c xmlNode *new_node = NULL; NULL 334 daemons/controld/controld_membership.c call_id = fsa_cib_conn->cmds->query(fsa_cib_conn, xpath, NULL, NULL 344 daemons/controld/controld_membership.c fsa_cib_update(XML_CIB_TAG_NODES, node_list, call_options, call_id, NULL); NULL 345 daemons/controld/controld_membership.c fsa_register_cib_callback(call_id, FALSE, NULL, node_list_update_callback); NULL 349 daemons/controld/controld_membership.c if (call_id >= pcmk_ok && crm_peer_cache != NULL && AM_I_DC) { NULL 355 daemons/controld/controld_membership.c crm_node_t *node = NULL; NULL 357 daemons/controld/controld_membership.c node_list = create_xml_node(NULL, XML_CIB_TAG_STATUS); NULL 360 daemons/controld/controld_membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 366 daemons/controld/controld_membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 371 daemons/controld/controld_membership.c fsa_cib_update(XML_CIB_TAG_STATUS, node_list, call_options, call_id, NULL); NULL 372 daemons/controld/controld_membership.c fsa_register_cib_callback(call_id, FALSE, NULL, crmd_node_update_complete); NULL 382 daemons/controld/controld_membership.c fsa_data_t *msg_data = NULL; NULL 390 daemons/controld/controld_membership.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 405 daemons/controld/controld_membership.c xmlNode *update = NULL; NULL 408 daemons/controld/controld_membership.c update = create_xml_node(NULL, XML_TAG_CIB); NULL 412 daemons/controld/controld_membership.c fsa_cib_update(XML_TAG_CIB, update, call_options, call_id, NULL); NULL 415 daemons/controld/controld_membership.c fsa_register_cib_callback(call_id, FALSE, NULL, cib_quorum_update_complete); NULL 435 daemons/controld/controld_membership.c abort_transition(INFINITY, tg_restart, "Quorum lost", NULL); NULL 25 daemons/controld/controld_messages.c GList *fsa_message_queue = NULL; NULL 46 daemons/controld/controld_messages.c I_NULL, cur_data ? cur_data->data : NULL, NULL 65 daemons/controld/controld_messages.c fsa_data_t *fsa_data = NULL; NULL 67 daemons/controld/controld_messages.c if (raised_from == NULL) { NULL 87 daemons/controld/controld_messages.c if (data == NULL) { NULL 109 daemons/controld/controld_messages.c fsa_data->data = NULL; NULL 118 daemons/controld/controld_messages.c if (data != NULL) { NULL 124 daemons/controld/controld_messages.c CRM_CHECK(((ha_msg_input_t *) data)->msg != NULL, NULL 177 daemons/controld/controld_messages.c GList *lpc = NULL; NULL 179 daemons/controld/controld_messages.c for (lpc = fsa_message_queue; lpc != NULL; lpc = lpc->next) { NULL 195 daemons/controld/controld_messages.c CRM_ASSERT(copy != NULL); NULL 196 daemons/controld/controld_messages.c copy->msg = (orig && orig->msg)? copy_xml(orig->msg) : NULL; NULL 204 daemons/controld/controld_messages.c lrmd_event_data_t *op = NULL; NULL 205 daemons/controld/controld_messages.c xmlNode *foo = NULL; NULL 207 daemons/controld/controld_messages.c if (fsa_data == NULL) { NULL 212 daemons/controld/controld_messages.c if (fsa_data->data != NULL) { NULL 229 daemons/controld/controld_messages.c if (fsa_data->data != NULL) { NULL 256 daemons/controld/controld_messages.c void *ret_val = NULL; NULL 258 daemons/controld/controld_messages.c if (fsa_data == NULL) { NULL 261 daemons/controld/controld_messages.c } else if (fsa_data->data == NULL) { NULL 342 daemons/controld/controld_messages.c if (ref == NULL) { NULL 346 daemons/controld/controld_messages.c if (msg == NULL) { NULL 361 daemons/controld/controld_messages.c } else if (sys_to == NULL) { NULL 380 daemons/controld/controld_messages.c PCMK__CONTROLD_CMD_NODES, NULL)) { NULL 417 daemons/controld/controld_messages.c CRM_SYSTEM_TENGINE, NULL)) { NULL 425 daemons/controld/controld_messages.c send_cluster_message(host_to ? crm_get_peer(0, host_to) : NULL, dest, msg, TRUE); NULL 446 daemons/controld/controld_messages.c crm_node_t *node_to = NULL; NULL 460 daemons/controld/controld_messages.c if (node_to == NULL) { NULL 470 daemons/controld/controld_messages.c send_cluster_message(host_to ? node_to : NULL, dest, msg, TRUE); NULL 489 daemons/controld/controld_messages.c client_name, ((version == NULL)? "" : version), NULL 515 daemons/controld/controld_messages.c xmlNode *message_data = NULL; NULL 516 daemons/controld/controld_messages.c const char *client_name = NULL; NULL 521 daemons/controld/controld_messages.c if (uuid == NULL) { NULL 566 daemons/controld/controld_messages.c const char *type = NULL; NULL 568 daemons/controld/controld_messages.c CRM_CHECK(msg != NULL, return I_NULL); NULL 586 daemons/controld/controld_messages.c const char *rsc = NULL; NULL 587 daemons/controld/controld_messages.c const char *uname = NULL; NULL 588 daemons/controld/controld_messages.c const char *op = NULL; NULL 589 daemons/controld/controld_messages.c char *interval_spec = NULL; NULL 611 daemons/controld/controld_messages.c if ((rsc == NULL) || (uname == NULL)) { NULL 634 daemons/controld/controld_messages.c const char *mode = NULL; NULL 637 daemons/controld/controld_messages.c CRM_CHECK(msg_data != NULL, return I_NULL); NULL 650 daemons/controld/controld_messages.c if ((mode == NULL) || strcmp(mode, XML_TAG_CIB)) { NULL 657 daemons/controld/controld_messages.c const char *from_sys = NULL; NULL 658 daemons/controld/controld_messages.c const char *user_name = NULL; NULL 659 daemons/controld/controld_messages.c const char *rsc_id = NULL; NULL 660 daemons/controld/controld_messages.c const char *node = NULL; NULL 661 daemons/controld/controld_messages.c xmlNode *rsc_xml = NULL; NULL 665 daemons/controld/controld_messages.c CRM_CHECK(rsc_xml != NULL, return I_NULL); NULL 670 daemons/controld/controld_messages.c user_name = pcmk__update_acl_user(stored_msg, F_CRM_USER, NULL); NULL 683 daemons/controld/controld_messages.c lrmd_event_data_t *op = NULL; NULL 706 daemons/controld/controld_messages.c controld_ack_event_directly(from_host, from_sys, NULL, op, rsc_id); NULL 749 daemons/controld/controld_messages.c const char *value = NULL; NULL 750 daemons/controld/controld_messages.c xmlNode *ping = NULL; NULL 754 daemons/controld/controld_messages.c ping = create_xml_node(NULL, XML_CRM_TAG_PING); NULL 788 daemons/controld/controld_messages.c crm_node_t *node = NULL; NULL 789 daemons/controld/controld_messages.c xmlNode *reply = NULL; NULL 790 daemons/controld/controld_messages.c xmlNode *reply_data = NULL; NULL 793 daemons/controld/controld_messages.c reply_data = create_xml_node(NULL, XML_CIB_TAG_NODES); NULL 795 daemons/controld/controld_messages.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & node)) { NULL 825 daemons/controld/controld_messages.c const char *value = NULL; NULL 826 daemons/controld/controld_messages.c crm_node_t *node = NULL; NULL 828 daemons/controld/controld_messages.c xmlNode *reply = NULL; NULL 832 daemons/controld/controld_messages.c reply = create_xml_node(NULL, XML_CIB_TAG_NODE); NULL 846 daemons/controld/controld_messages.c if ((node_id == 0) && (value == NULL)) { NULL 877 daemons/controld/controld_messages.c if (dc_version == NULL) { NULL 936 daemons/controld/controld_messages.c if (host_from == NULL) { NULL 941 daemons/controld/controld_messages.c if ((fsa_our_dc == NULL) || (strcmp(host_from, fsa_our_dc) == 0)) { NULL 962 daemons/controld/controld_messages.c xmlNode *msg = NULL; NULL 967 daemons/controld/controld_messages.c if (op == NULL) { NULL 1017 daemons/controld/controld_messages.c if (AM_I_DC && transition_graph != NULL) { NULL 1084 daemons/controld/controld_messages.c const char *name = NULL; NULL 1090 daemons/controld/controld_messages.c msg = create_request(CRM_OP_RM_NODE_CACHE, NULL, NULL, CRM_SYSTEM_CRMD, CRM_SYSTEM_CRMD, NULL); NULL 1091 daemons/controld/controld_messages.c if (send_cluster_message(NULL, crm_msg_crmd, msg, TRUE) == FALSE) { NULL 1136 daemons/controld/controld_messages.c if (op == NULL) { NULL 1143 daemons/controld/controld_messages.c if (msg_ref == NULL) { NULL 1178 daemons/controld/controld_messages.c char *now_s = NULL; NULL 1181 daemons/controld/controld_messages.c if (host_from == NULL) { NULL 1189 daemons/controld/controld_messages.c now_s = pcmk__ttoa(time(NULL)); NULL 1190 daemons/controld/controld_messages.c update_attrd(host_from, XML_CIB_ATTR_SHUTDOWN, now_s, NULL, FALSE); NULL 1205 daemons/controld/controld_messages.c if (crm_element_value(msg, F_CRM_HOST_FROM) == NULL) { NULL 1209 daemons/controld/controld_messages.c if (client_channel != NULL) { NULL 1213 daemons/controld/controld_messages.c } else if (sys != NULL && strcmp(sys, CRM_SYSTEM_TENGINE) == 0) { NULL 1218 daemons/controld/controld_messages.c } else if (sys != NULL && strcmp(sys, CRM_SYSTEM_LRMD) == 0) { NULL 1235 daemons/controld/controld_messages.c } else if (sys != NULL && crmd_is_proxy_session(sys)) { NULL 1246 daemons/controld/controld_messages.c if (orig == NULL) { NULL 1268 daemons/controld/controld_messages.c xmlNode *msg = create_request(CRM_OP_REMOTE_STATE, NULL, fsa_our_dc, NULL 1269 daemons/controld/controld_messages.c CRM_SYSTEM_DC, CRM_SYSTEM_CRMD, NULL); NULL 47 daemons/controld/controld_messages.h if(suppress == FALSE && msg_data != NULL) { \ NULL 54 daemons/controld/controld_messages.h NULL, action, TRUE, __func__); \ NULL 22 daemons/controld/controld_metadata.c static regex_t *version_format_regex = NULL; NULL 81 daemons/controld/controld_metadata.c if (version == NULL) { NULL 85 daemons/controld/controld_metadata.c if (version_format_regex == NULL) { NULL 101 daemons/controld/controld_metadata.c CRM_CHECK(version_format_regex != NULL, return TRUE); NULL 104 daemons/controld/controld_metadata.c return regexec(version_format_regex, version, 0, NULL, 0) == 0; NULL 115 daemons/controld/controld_metadata.c version_format_regex = NULL; NULL 126 daemons/controld/controld_metadata.c if (version == NULL) { NULL 152 daemons/controld/controld_metadata.c if (p == NULL) { NULL 154 daemons/controld/controld_metadata.c return NULL; NULL 158 daemons/controld/controld_metadata.c if (p->rap_name == NULL) { NULL 161 daemons/controld/controld_metadata.c return NULL; NULL 206 daemons/controld/controld_metadata.c char *key = NULL; NULL 207 daemons/controld/controld_metadata.c xmlNode *metadata = NULL; NULL 208 daemons/controld/controld_metadata.c xmlNode *match = NULL; NULL 209 daemons/controld/controld_metadata.c struct ra_metadata_s *md = NULL; NULL 213 daemons/controld/controld_metadata.c CRM_CHECK(mdc && rsc && metadata_str, return NULL); NULL 229 daemons/controld/controld_metadata.c if (md == NULL) { NULL 239 daemons/controld/controld_metadata.c xmlChar *content = NULL; NULL 242 daemons/controld/controld_metadata.c if (version_element != NULL) { NULL 246 daemons/controld/controld_metadata.c if (content != NULL) { NULL 254 daemons/controld/controld_metadata.c for (match = first_named_child(match, "action"); match != NULL; NULL 276 daemons/controld/controld_metadata.c for (match = first_named_child(match, "parameter"); match != NULL; NULL 281 daemons/controld/controld_metadata.c if (param_name == NULL) { NULL 287 daemons/controld/controld_metadata.c if (p == NULL) { NULL 303 daemons/controld/controld_metadata.c for (GList *iter = md->ra_params; iter != NULL; iter = iter->next) { NULL 307 daemons/controld/controld_metadata.c NULL)) { NULL 321 daemons/controld/controld_metadata.c return NULL; NULL 339 daemons/controld/controld_metadata.c struct ra_metadata_s *metadata = NULL; NULL 340 daemons/controld/controld_metadata.c char *metadata_str = NULL; NULL 341 daemons/controld/controld_metadata.c char *key = NULL; NULL 344 daemons/controld/controld_metadata.c CRM_CHECK((lrm_state != NULL) && (rsc != NULL), return NULL); NULL 348 daemons/controld/controld_metadata.c if (key != NULL) { NULL 352 daemons/controld/controld_metadata.c if (metadata != NULL) { NULL 358 daemons/controld/controld_metadata.c return NULL; NULL 379 daemons/controld/controld_metadata.c return NULL; NULL 385 daemons/controld/controld_metadata.c if (metadata == NULL) { NULL 138 daemons/controld/controld_remote_ra.c lrm_state_t *connection_rsc = NULL; NULL 157 daemons/controld/controld_remote_ra.c lrm_state_t *connection_rsc = NULL; NULL 183 daemons/controld/controld_remote_ra.c CRM_CHECK(node_name != NULL, return); NULL 198 daemons/controld/controld_remote_ra.c update_attrd(node_name, CRM_OP_PROBED, NULL, NULL, TRUE); NULL 202 daemons/controld/controld_remote_ra.c CRM_CHECK(node != NULL, return); NULL 213 daemons/controld/controld_remote_ra.c update = create_xml_node(NULL, XML_CIB_TAG_STATUS); NULL 230 daemons/controld/controld_remote_ra.c fsa_cib_update(XML_CIB_TAG_STATUS, update, call_opt, call_id, NULL); NULL 258 daemons/controld/controld_remote_ra.c update_attrd_remote_node_removed(node_name, NULL); NULL 273 daemons/controld/controld_remote_ra.c CRM_CHECK(node != NULL, return); NULL 280 daemons/controld/controld_remote_ra.c update = create_xml_node(NULL, XML_CIB_TAG_STATUS); NULL 282 daemons/controld/controld_remote_ra.c fsa_cib_update(XML_CIB_TAG_STATUS, update, call_opt, call_id, NULL); NULL 316 daemons/controld/controld_remote_ra.c CRM_CHECK(node != NULL, return); NULL 321 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state? lrm_state->remote_ra_data : NULL; NULL 367 daemons/controld/controld_remote_ra.c op.t_rcchange = (unsigned int) time(NULL); NULL 404 daemons/controld/controld_remote_ra.c cmd->remaining_timeout = ((cmd->timeout / 1000) - (time(NULL) - cmd->start_time)) * 1000; NULL 412 daemons/controld/controld_remote_ra.c remote_ra_cmd_t *cmd = NULL; NULL 419 daemons/controld/controld_remote_ra.c if (!pcmk__strcase_any_of(cmd->action, "start", "migrate_from", NULL)) { NULL 436 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = NULL; NULL 449 daemons/controld/controld_remote_ra.c lrm_state_t *lrm_state = NULL; NULL 466 daemons/controld/controld_remote_ra.c lrm_state_t *lrm_state = NULL; NULL 481 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = NULL; NULL 502 daemons/controld/controld_remote_ra.c if (lrm_state == NULL) { NULL 506 daemons/controld/controld_remote_ra.c CRM_ASSERT(lrm_state != NULL); NULL 513 daemons/controld/controld_remote_ra.c op.t_run = (unsigned int) time(NULL); NULL 516 daemons/controld/controld_remote_ra.c process_lrm_event(lrm_state, &op, NULL, NULL); NULL 523 daemons/controld/controld_remote_ra.c lrm_state_t *lrm_state = NULL; NULL 524 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; NULL 525 daemons/controld/controld_remote_ra.c remote_ra_cmd_t *cmd = NULL; NULL 568 daemons/controld/controld_remote_ra.c if ((op->type == lrmd_event_disconnect) && (ra_data->cur_cmd == NULL)) { NULL 584 daemons/controld/controld_remote_ra.c handle_remote_ra_stop(lrm_state, NULL); NULL 587 daemons/controld/controld_remote_ra.c synthesize_lrmd_success(NULL, lrm_state->node_name, "stop"); NULL 602 daemons/controld/controld_remote_ra.c "migrate_from", NULL)) { NULL 659 daemons/controld/controld_remote_ra.c cmd = NULL; /* prevent free */ NULL 683 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = NULL; NULL 694 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; NULL 717 daemons/controld/controld_remote_ra.c ra_data->cmds = NULL; NULL 718 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = NULL; NULL 719 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = NULL; NULL 732 daemons/controld/controld_remote_ra.c const char *server = NULL; NULL 733 daemons/controld/controld_remote_ra.c lrmd_key_value_t *tmp = NULL; NULL 740 daemons/controld/controld_remote_ra.c XML_RSC_ATTR_REMOTE_RA_SERVER, NULL)) { NULL 759 daemons/controld/controld_remote_ra.c GList *first = NULL; NULL 839 daemons/controld/controld_remote_ra.c CRMD_ACTION_RELOAD_AGENT, NULL)) { NULL 863 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; NULL 892 daemons/controld/controld_remote_ra.c lrm_state->remote_ra_data = NULL; NULL 911 daemons/controld/controld_remote_ra.c lrmd_rsc_info_t *info = NULL; NULL 936 daemons/controld/controld_remote_ra.c NULL); NULL 942 daemons/controld/controld_remote_ra.c GList *rm_list = NULL; NULL 943 daemons/controld/controld_remote_ra.c remote_ra_cmd_t *cmd = NULL; NULL 944 daemons/controld/controld_remote_ra.c GList *gIter = NULL; NULL 946 daemons/controld/controld_remote_ra.c for (gIter = list; gIter != NULL; gIter = gIter->next) { NULL 953 daemons/controld/controld_remote_ra.c for (gIter = rm_list; gIter != NULL; gIter = gIter->next) { NULL 974 daemons/controld/controld_remote_ra.c remote_ra_cmd_t *cmd = NULL; NULL 975 daemons/controld/controld_remote_ra.c GList *gIter = NULL; NULL 977 daemons/controld/controld_remote_ra.c for (gIter = list; gIter != NULL; gIter = gIter->next) { NULL 983 daemons/controld/controld_remote_ra.c cmd = NULL; NULL 996 daemons/controld/controld_remote_ra.c lrm_state_t *connection_rsc = NULL; NULL 997 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; NULL 1022 daemons/controld/controld_remote_ra.c GList *gIter = NULL; NULL 1023 daemons/controld/controld_remote_ra.c remote_ra_cmd_t *cmd = NULL; NULL 1032 daemons/controld/controld_remote_ra.c return NULL; NULL 1044 daemons/controld/controld_remote_ra.c for (gIter = ra_data->recurring_cmds; gIter != NULL; gIter = gIter->next) { NULL 1052 daemons/controld/controld_remote_ra.c for (gIter = ra_data->cmds; gIter != NULL; gIter = gIter->next) { NULL 1060 daemons/controld/controld_remote_ra.c return NULL; NULL 1075 daemons/controld/controld_remote_ra.c cmd->start_time = time(NULL); NULL 1100 daemons/controld/controld_remote_ra.c lrm_state_t *connection_rsc = NULL; NULL 1101 daemons/controld/controld_remote_ra.c remote_ra_cmd_t *cmd = NULL; NULL 1102 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; NULL 1133 daemons/controld/controld_remote_ra.c cmd->start_time = time(NULL); NULL 1235 daemons/controld/controld_remote_ra.c CRM_CHECK(node != NULL, return); NULL 1236 daemons/controld/controld_remote_ra.c update = create_xml_node(NULL, XML_CIB_TAG_STATUS); NULL 1240 daemons/controld/controld_remote_ra.c fsa_cib_update(XML_CIB_TAG_STATUS, update, call_opt, call_id, NULL); NULL 1272 daemons/controld/controld_remote_ra.c node != NULL; node = pcmk__xml_next(node)) { NULL 23 daemons/controld/controld_schedulerd.c static mainloop_io_t *pe_subsystem = NULL; NULL 34 daemons/controld/controld_schedulerd.c controld_expect_sched_reply(NULL); NULL 36 daemons/controld/controld_schedulerd.c pe_subsystem = NULL; NULL 59 daemons/controld/controld_schedulerd.c register_fsa_error_adv(C_FSA_INTERNAL, I_ERROR, NULL, NULL, __func__); NULL 60 daemons/controld/controld_schedulerd.c CRM_CHECK(id != NULL, return); NULL 86 daemons/controld/controld_schedulerd.c controld_expect_sched_reply(NULL); NULL 105 daemons/controld/controld_schedulerd.c rc = fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local); NULL 113 daemons/controld/controld_schedulerd.c pe_subsystem = NULL; NULL 160 daemons/controld/controld_schedulerd.c NULL, &pe_callbacks); NULL 161 daemons/controld/controld_schedulerd.c if (pe_subsystem == NULL) { NULL 189 daemons/controld/controld_schedulerd.c 0, 0, NULL); NULL 222 daemons/controld/controld_schedulerd.c register_fsa_error(C_FSA_INTERNAL, I_FAIL, NULL); NULL 228 daemons/controld/controld_schedulerd.c char *fsa_pe_ref = NULL; NULL 229 daemons/controld/controld_schedulerd.c static mainloop_timer_t *controld_sched_timer = NULL; NULL 278 daemons/controld/controld_schedulerd.c char *ref = NULL; NULL 282 daemons/controld/controld_schedulerd.c CRM_ASSERT(ref != NULL); NULL 284 daemons/controld/controld_schedulerd.c if (controld_sched_timer == NULL) { NULL 288 daemons/controld/controld_schedulerd.c NULL); NULL 305 daemons/controld/controld_schedulerd.c if (controld_sched_timer != NULL) { NULL 307 daemons/controld/controld_schedulerd.c controld_sched_timer = NULL; NULL 327 daemons/controld/controld_schedulerd.c register_fsa_input_before(C_FSA_INTERNAL, I_TERMINATE, NULL); NULL 347 daemons/controld/controld_schedulerd.c register_fsa_input_before(C_FSA_INTERNAL, I_ELECTION, NULL); NULL 351 daemons/controld/controld_schedulerd.c fsa_pe_query = fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local); NULL 356 daemons/controld/controld_schedulerd.c controld_expect_sched_reply(NULL); NULL 357 daemons/controld/controld_schedulerd.c fsa_register_cib_callback(fsa_pe_query, FALSE, NULL, do_pe_invoke_callback); NULL 365 daemons/controld/controld_schedulerd.c char *xpath_string = NULL; NULL 366 daemons/controld/controld_schedulerd.c xmlXPathObjectPtr xpathObj = NULL; NULL 382 daemons/controld/controld_schedulerd.c xmlNode *configuration = NULL; NULL 383 daemons/controld/controld_schedulerd.c xmlNode *crm_config = NULL; NULL 384 daemons/controld/controld_schedulerd.c xmlNode *cluster_property_set = NULL; NULL 389 daemons/controld/controld_schedulerd.c configuration = pcmk__xe_match(xml, XML_CIB_TAG_CONFIGURATION, NULL, NULL 390 daemons/controld/controld_schedulerd.c NULL); NULL 391 daemons/controld/controld_schedulerd.c if (configuration == NULL) { NULL 395 daemons/controld/controld_schedulerd.c crm_config = pcmk__xe_match(configuration, XML_CIB_TAG_CRMCONFIG, NULL, NULL 396 daemons/controld/controld_schedulerd.c NULL); NULL 397 daemons/controld/controld_schedulerd.c if (crm_config == NULL) { NULL 402 daemons/controld/controld_schedulerd.c NULL, NULL); NULL 403 daemons/controld/controld_schedulerd.c if (cluster_property_set == NULL) { NULL 420 daemons/controld/controld_schedulerd.c xmlNode *cmd = NULL; NULL 426 daemons/controld/controld_schedulerd.c register_fsa_error_adv(C_FSA_INTERNAL, I_ERROR, NULL, NULL, __func__); NULL 452 daemons/controld/controld_schedulerd.c CRM_LOG_ASSERT(output != NULL); NULL 467 daemons/controld/controld_schedulerd.c cmd = create_request(CRM_OP_PECALC, output, NULL, CRM_SYSTEM_PENGINE, CRM_SYSTEM_DC, NULL); NULL 473 daemons/controld/controld_schedulerd.c register_fsa_error_adv(C_FSA_INTERNAL, I_ERROR, NULL, NULL, __func__); NULL 23 daemons/controld/controld_te_actions.c char *te_uuid = NULL; NULL 24 daemons/controld/controld_te_actions.c GHashTable *te_targets = NULL; NULL 48 daemons/controld/controld_te_actions.c crm_node_t *node = NULL; NULL 51 daemons/controld/controld_te_actions.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 52 daemons/controld/controld_te_actions.c xmlNode *cmd = NULL; NULL 59 daemons/controld/controld_te_actions.c CRM_SYSTEM_CRMD, CRM_SYSTEM_TENGINE, NULL); NULL 89 daemons/controld/controld_te_actions.c char *counter = NULL; NULL 90 daemons/controld/controld_te_actions.c xmlNode *cmd = NULL; NULL 93 daemons/controld/controld_te_actions.c const char *id = NULL; NULL 94 daemons/controld/controld_te_actions.c const char *task = NULL; NULL 95 daemons/controld/controld_te_actions.c const char *value = NULL; NULL 96 daemons/controld/controld_te_actions.c const char *on_node = NULL; NULL 97 daemons/controld/controld_te_actions.c const char *router_node = NULL; NULL 118 daemons/controld/controld_te_actions.c CRM_CHECK(on_node != NULL && strlen(on_node) != 0, NULL 149 daemons/controld/controld_te_actions.c cmd = create_request(task, action->xml, router_node, CRM_SYSTEM_CRMD, CRM_SYSTEM_TENGINE, NULL); NULL 181 daemons/controld/controld_te_actions.c lrmd_event_data_t *op = NULL; NULL 182 daemons/controld/controld_te_actions.c xmlNode *state = NULL; NULL 183 daemons/controld/controld_te_actions.c xmlNode *rsc = NULL; NULL 184 daemons/controld/controld_te_actions.c xmlNode *xml_op = NULL; NULL 185 daemons/controld/controld_te_actions.c xmlNode *action_rsc = NULL; NULL 189 daemons/controld/controld_te_actions.c const char *rsc_id = NULL; NULL 201 daemons/controld/controld_te_actions.c if (action_rsc == NULL) { NULL 206 daemons/controld/controld_te_actions.c CRM_CHECK(rsc_id != NULL, NULL 218 daemons/controld/controld_te_actions.c state = create_xml_node(NULL, XML_CIB_TAG_STATE); NULL 244 daemons/controld/controld_te_actions.c op = convert_graph_action(NULL, action, PCMK_LRM_OP_TIMEOUT, NULL 257 daemons/controld/controld_te_actions.c fsa_register_cib_callback(rc, FALSE, NULL, cib_action_updated); NULL 274 daemons/controld/controld_te_actions.c xmlNode *cmd = NULL; NULL 275 daemons/controld/controld_te_actions.c xmlNode *rsc_op = NULL; NULL 281 daemons/controld/controld_te_actions.c char *counter = NULL; NULL 282 daemons/controld/controld_te_actions.c const char *task = NULL; NULL 283 daemons/controld/controld_te_actions.c const char *value = NULL; NULL 284 daemons/controld/controld_te_actions.c const char *on_node = NULL; NULL 285 daemons/controld/controld_te_actions.c const char *router_node = NULL; NULL 286 daemons/controld/controld_te_actions.c const char *task_uuid = NULL; NULL 288 daemons/controld/controld_te_actions.c CRM_ASSERT(action != NULL); NULL 289 daemons/controld/controld_te_actions.c CRM_ASSERT(action->xml != NULL); NULL 294 daemons/controld/controld_te_actions.c CRM_CHECK(on_node != NULL && strlen(on_node) != 0, NULL 325 daemons/controld/controld_te_actions.c CRM_SYSTEM_LRMD, CRM_SYSTEM_TENGINE, NULL); NULL 401 daemons/controld/controld_te_actions.c struct te_peer_s *peer = NULL; NULL 403 daemons/controld/controld_te_actions.c if(te_targets == NULL) { NULL 404 daemons/controld/controld_te_actions.c te_targets = pcmk__strkey_table(NULL, te_peer_free); NULL 408 daemons/controld/controld_te_actions.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & peer)) { NULL 417 daemons/controld/controld_te_actions.c struct te_peer_s *r = NULL; NULL 419 daemons/controld/controld_te_actions.c if(target == NULL || te_targets == NULL) { NULL 424 daemons/controld/controld_te_actions.c if(r == NULL) { NULL 443 daemons/controld/controld_te_actions.c if (action->type != action_type_rsc || target == NULL) { NULL 454 daemons/controld/controld_te_actions.c if ((target == NULL) && pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, NULL 455 daemons/controld/controld_te_actions.c CRMD_ACTION_MIGRATED, NULL)) { NULL 463 daemons/controld/controld_te_actions.c } else if (target == NULL) { NULL 474 daemons/controld/controld_te_actions.c struct te_peer_s *r = NULL; NULL 478 daemons/controld/controld_te_actions.c if(target == NULL) { NULL 482 daemons/controld/controld_te_actions.c } else if(te_targets == NULL) { NULL 489 daemons/controld/controld_te_actions.c if(r == NULL) { NULL 501 daemons/controld/controld_te_actions.c if (pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, CRMD_ACTION_MIGRATED, NULL)) { NULL 516 daemons/controld/controld_te_actions.c const char *target = NULL; NULL 530 daemons/controld/controld_te_actions.c if ((target == NULL) && pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, NULL 531 daemons/controld/controld_te_actions.c CRMD_ACTION_MIGRATED, NULL)) { NULL 539 daemons/controld/controld_te_actions.c } else if (target == NULL) { NULL 557 daemons/controld/controld_te_actions.c && (crm_element_value(action->xml, XML_LRM_ATTR_TARGET) != NULL)) { NULL 633 daemons/controld/controld_te_actions.c graph->abort_reason = NULL; NULL 638 daemons/controld/controld_te_actions.c register_fsa_input(C_FSA_INTERNAL, event, NULL); NULL 27 daemons/controld/controld_te_callbacks.c crm_trigger_t *transition_trigger = NULL; NULL 47 daemons/controld/controld_te_callbacks.c xmlXPathObject *xpathObj = NULL; NULL 49 daemons/controld/controld_te_callbacks.c CRM_CHECK(diff != NULL, return); NULL 52 daemons/controld/controld_te_callbacks.c if (cib_config_changed(NULL, NULL, &diff)) { NULL 92 daemons/controld/controld_te_callbacks.c const char *value = NULL; NULL 142 daemons/controld/controld_te_callbacks.c abort_transition(INFINITY, tg_restart, "History refresh", NULL); NULL 180 daemons/controld/controld_te_callbacks.c const char *op_id = NULL; NULL 181 daemons/controld/controld_te_callbacks.c char *rsc_op_xpath = NULL; NULL 182 daemons/controld/controld_te_callbacks.c xmlXPathObject *op_match = NULL; NULL 185 daemons/controld/controld_te_callbacks.c CRM_LOG_ASSERT(match != NULL); NULL 186 daemons/controld/controld_te_callbacks.c if(match == NULL) { continue; }; NULL 200 daemons/controld/controld_te_callbacks.c if (cancelled == NULL) { NULL 225 daemons/controld/controld_te_callbacks.c for (xmlNode *rsc_op = pcmk__xml_first_child(lrm_resource); rsc_op != NULL; NULL 240 daemons/controld/controld_te_callbacks.c xmlNode *rsc = NULL; NULL 242 daemons/controld/controld_te_callbacks.c if (xml == NULL) { NULL 268 daemons/controld/controld_te_callbacks.c abort_transition(INFINITY, tg_restart, "History refresh", NULL); NULL 272 daemons/controld/controld_te_callbacks.c for (rsc = pcmk__xml_first_child(xml); rsc != NULL; NULL 282 daemons/controld/controld_te_callbacks.c char *node_uuid = NULL; NULL 283 daemons/controld/controld_te_callbacks.c char *search = NULL; NULL 284 daemons/controld/controld_te_callbacks.c char *match = NULL; NULL 287 daemons/controld/controld_te_callbacks.c if (match == NULL) { NULL 289 daemons/controld/controld_te_callbacks.c return NULL; NULL 294 daemons/controld/controld_te_callbacks.c if (search == NULL) { NULL 296 daemons/controld/controld_te_callbacks.c return NULL; NULL 309 daemons/controld/controld_te_callbacks.c char *node_uuid = NULL; NULL 310 daemons/controld/controld_te_callbacks.c crm_action_t *down = NULL; NULL 318 daemons/controld/controld_te_callbacks.c if(node_uuid == NULL) { NULL 325 daemons/controld/controld_te_callbacks.c if (down == NULL) { NULL 343 daemons/controld/controld_te_callbacks.c if (key != NULL) { NULL 347 daemons/controld/controld_te_callbacks.c if (key == NULL) { NULL 394 daemons/controld/controld_te_callbacks.c for (xmlNode *state = pcmk__xml_first_child(status); state != NULL; NULL 421 daemons/controld/controld_te_callbacks.c for (xmlNode *change = pcmk__xml_first_child(diff); change != NULL; NULL 424 daemons/controld/controld_te_callbacks.c xmlNode *match = NULL; NULL 425 daemons/controld/controld_te_callbacks.c const char *name = NULL; NULL 432 daemons/controld/controld_te_callbacks.c if (op == NULL) { NULL 435 daemons/controld/controld_te_callbacks.c } else if (xpath == NULL) { NULL 490 daemons/controld/controld_te_callbacks.c } else if (name == NULL) { NULL 534 daemons/controld/controld_te_callbacks.c xmlNode *diff = NULL; NULL 535 daemons/controld/controld_te_callbacks.c const char *op = NULL; NULL 541 daemons/controld/controld_te_callbacks.c CRM_CHECK(msg != NULL, return); NULL 544 daemons/controld/controld_te_callbacks.c if (transition_graph == NULL) { NULL 596 daemons/controld/controld_te_callbacks.c if (op == NULL) { NULL 599 daemons/controld/controld_te_callbacks.c } else if (sys_to == NULL || strcasecmp(sys_to, CRM_SYSTEM_TENGINE) != 0) { NULL 607 daemons/controld/controld_te_callbacks.c xmlXPathObject *xpathObj = NULL; NULL 657 daemons/controld/controld_te_callbacks.c crm_action_timer_t *timer = NULL; NULL 658 daemons/controld/controld_te_callbacks.c const char *task = NULL; NULL 659 daemons/controld/controld_te_callbacks.c const char *on_node = NULL; NULL 660 daemons/controld/controld_te_callbacks.c const char *via_node = NULL; NULL 662 daemons/controld/controld_te_callbacks.c CRM_CHECK(data != NULL, return FALSE); NULL 667 daemons/controld/controld_te_callbacks.c CRM_CHECK(timer->action != NULL, return FALSE); NULL 690 daemons/controld/controld_te_callbacks.c abort_transition(INFINITY, tg_restart, "Action lost", NULL); NULL 20 daemons/controld/controld_te_events.c char *failed_stop_offset = NULL; NULL 21 daemons/controld/controld_te_events.c char *failed_start_offset = NULL; NULL 26 daemons/controld/controld_te_events.c const char *target_uuid = NULL; NULL 27 daemons/controld/controld_te_events.c const char *router = NULL; NULL 28 daemons/controld/controld_te_events.c const char *router_uuid = NULL; NULL 29 daemons/controld/controld_te_events.c xmlNode *last_action = NULL; NULL 31 daemons/controld/controld_te_events.c GList *gIter = NULL; NULL 32 daemons/controld/controld_te_events.c GList *gIter2 = NULL; NULL 34 daemons/controld/controld_te_events.c if (graph == NULL || graph->complete) { NULL 39 daemons/controld/controld_te_events.c for (; gIter != NULL; gIter = gIter->next) { NULL 48 daemons/controld/controld_te_events.c for (; gIter2 != NULL; gIter2 = gIter2->next) { NULL 88 daemons/controld/controld_te_events.c if (last_action != NULL) { NULL 116 daemons/controld/controld_te_events.c char *task = NULL; NULL 117 daemons/controld/controld_te_events.c char *rsc_id = NULL; NULL 119 daemons/controld/controld_te_events.c const char *value = NULL; NULL 134 daemons/controld/controld_te_events.c CRM_CHECK(on_uname != NULL, return TRUE); NULL 145 daemons/controld/controld_te_events.c if (failed_start_offset == NULL) { NULL 152 daemons/controld/controld_te_events.c if (failed_stop_offset == NULL) { NULL 164 daemons/controld/controld_te_events.c char *now = pcmk__ttoa(time(NULL)); NULL 165 daemons/controld/controld_te_events.c char *attr_name = NULL; NULL 179 daemons/controld/controld_te_events.c update_attrd(on_uname, attr_name, value, NULL, is_remote_node); NULL 187 daemons/controld/controld_te_events.c update_attrd(on_uname, attr_name, now, NULL, is_remote_node); NULL 213 daemons/controld/controld_te_events.c return NULL; NULL 219 daemons/controld/controld_te_events.c GList *gIter = NULL; NULL 220 daemons/controld/controld_te_events.c GList *gIter2 = NULL; NULL 223 daemons/controld/controld_te_events.c for (; gIter != NULL; gIter = gIter->next) { NULL 227 daemons/controld/controld_te_events.c for (; gIter2 != NULL; gIter2 = gIter2->next) { NULL 228 daemons/controld/controld_te_events.c const char *task = NULL; NULL 229 daemons/controld/controld_te_events.c const char *target = NULL; NULL 254 daemons/controld/controld_te_events.c return NULL; NULL 260 daemons/controld/controld_te_events.c const char *op_key = NULL; NULL 261 daemons/controld/controld_te_events.c const char *node_name = NULL; NULL 264 daemons/controld/controld_te_events.c if (cancel == NULL) { NULL 292 daemons/controld/controld_te_events.c crm_action_t *match = NULL; NULL 293 daemons/controld/controld_te_events.c xmlXPathObjectPtr xpath_ret = NULL; NULL 299 daemons/controld/controld_te_events.c gIter != NULL && match == NULL; NULL 303 daemons/controld/controld_te_events.c gIter2 != NULL && match == NULL; NULL 310 daemons/controld/controld_te_events.c match = NULL; NULL 315 daemons/controld/controld_te_events.c match = NULL; NULL 322 daemons/controld/controld_te_events.c if (match != NULL) { NULL 340 daemons/controld/controld_te_events.c char *update_te_uuid = NULL; NULL 342 daemons/controld/controld_te_events.c const char *id = NULL; NULL 343 daemons/controld/controld_te_events.c const char *desc = NULL; NULL 344 daemons/controld/controld_te_events.c const char *magic = NULL; NULL 345 daemons/controld/controld_te_events.c const char *uname = NULL; NULL 347 daemons/controld/controld_te_events.c CRM_ASSERT(event != NULL); NULL 354 daemons/controld/controld_te_events.c if (magic == NULL) { NULL 395 daemons/controld/controld_te_events.c if (parse_op_key(id, NULL, NULL, &interval_ms) NULL 422 daemons/controld/controld_te_events.c if (action == NULL) { NULL 459 daemons/controld/controld_te_events.c if (id == NULL) { NULL 463 daemons/controld/controld_te_events.c if (uname == NULL) { NULL 20 daemons/controld/controld_te_utils.c if (timer == NULL) { NULL 39 daemons/controld/controld_te_utils.c if (transition_graph == NULL) { NULL 111 daemons/controld/controld_te_utils.c abort_timer.text, NULL); NULL 135 daemons/controld/controld_te_utils.c abort_timer.id = g_timeout_add(delay_ms, abort_timer_popped, NULL); NULL 145 daemons/controld/controld_te_utils.c xmlNode *diff = NULL; NULL 146 daemons/controld/controld_te_utils.c xmlNode *change = NULL; NULL 148 daemons/controld/controld_te_utils.c CRM_CHECK(transition_graph != NULL, return); NULL 166 daemons/controld/controld_te_utils.c controld_expect_sched_reply(NULL); NULL 175 daemons/controld/controld_te_utils.c xmlNode *search = NULL; NULL 195 daemons/controld/controld_te_utils.c if(reason == NULL) { NULL 200 daemons/controld/controld_te_utils.c } else if(change == NULL) { NULL 211 daemons/controld/controld_te_utils.c const char *kind = NULL; NULL 259 daemons/controld/controld_te_utils.c } else if (pcmk__strcase_any_of(kind, XML_CIB_TAG_STATE, XML_CIB_TAG_NODE, NULL)) { NULL 286 daemons/controld/controld_te_utils.c register_fsa_input(C_FSA_INTERNAL, I_PE_CALC, NULL); NULL 49 daemons/controld/controld_throttle.c static GHashTable *throttle_records = NULL; NULL 50 daemons/controld/controld_throttle.c static mainloop_timer_t *throttle_timer = NULL; NULL 81 daemons/controld/controld_throttle.c return pid? crm_strdup_printf("/proc/%lld/stat", (long long) pid) : NULL; NULL 125 daemons/controld/controld_throttle.c static char *loadfile = NULL; NULL 131 daemons/controld/controld_throttle.c FILE *stream = NULL; NULL 132 daemons/controld/controld_throttle.c time_t now = time(NULL); NULL 134 daemons/controld/controld_throttle.c if(load == NULL) { NULL 140 daemons/controld/controld_throttle.c if(loadfile == NULL) { NULL 145 daemons/controld/controld_throttle.c if (loadfile == NULL) { NULL 154 daemons/controld/controld_throttle.c if(stream == NULL) { NULL 158 daemons/controld/controld_throttle.c free(loadfile); loadfile = NULL; NULL 213 daemons/controld/controld_throttle.c FILE *stream = NULL; NULL 216 daemons/controld/controld_throttle.c if(load == NULL) { NULL 221 daemons/controld/controld_throttle.c if(stream == NULL) { NULL 231 daemons/controld/controld_throttle.c *load = strtof(buffer, NULL); NULL 361 daemons/controld/controld_throttle.c xmlNode *xml = NULL; NULL 369 daemons/controld/controld_throttle.c xml = create_request(CRM_OP_THROTTLE, NULL, NULL, CRM_SYSTEM_CRMD, CRM_SYSTEM_CRMD, NULL); NULL 373 daemons/controld/controld_throttle.c send_cluster_message(NULL, crm_msg_crmd, xml, TRUE); NULL 411 daemons/controld/controld_throttle.c if (env_limit != NULL) { NULL 414 daemons/controld/controld_throttle.c if (preference != NULL) { NULL 428 daemons/controld/controld_throttle.c if(throttle_records == NULL) { NULL 429 daemons/controld/controld_throttle.c throttle_records = pcmk__strkey_table(NULL, throttle_record_free); NULL 430 daemons/controld/controld_throttle.c throttle_timer = mainloop_timer_add("throttle", 30 * 1000, TRUE, throttle_timer_cb, NULL); NULL 433 daemons/controld/controld_throttle.c throttle_update_job_max(NULL); NULL 440 daemons/controld/controld_throttle.c if (throttle_timer != NULL) { NULL 442 daemons/controld/controld_throttle.c throttle_timer = NULL; NULL 444 daemons/controld/controld_throttle.c if (throttle_records != NULL) { NULL 446 daemons/controld/controld_throttle.c throttle_records = NULL; NULL 457 daemons/controld/controld_throttle.c struct throttle_record_s *r = NULL; NULL 461 daemons/controld/controld_throttle.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &r)) { NULL 495 daemons/controld/controld_throttle.c struct throttle_record_s *r = NULL; NULL 498 daemons/controld/controld_throttle.c if(r == NULL) { NULL 534 daemons/controld/controld_throttle.c struct throttle_record_s *r = NULL; NULL 542 daemons/controld/controld_throttle.c if(r == NULL) { NULL 20 daemons/controld/controld_timers.c fsa_timer_t *wait_timer = NULL; NULL 23 daemons/controld/controld_timers.c fsa_timer_t *recheck_timer = NULL; NULL 26 daemons/controld/controld_timers.c fsa_timer_t *election_trigger = NULL; NULL 29 daemons/controld/controld_timers.c fsa_timer_t *transition_timer = NULL; NULL 32 daemons/controld/controld_timers.c fsa_timer_t *integration_timer = NULL; NULL 35 daemons/controld/controld_timers.c fsa_timer_t *finalization_timer = NULL; NULL 38 daemons/controld/controld_timers.c fsa_timer_t *shutdown_escalation_timer = NULL; NULL 73 daemons/controld/controld_timers.c register_fsa_input(cause, I_ELECTION, NULL); NULL 130 daemons/controld/controld_timers.c crm_write_blackbox(0, NULL); NULL 142 daemons/controld/controld_timers.c register_fsa_error_adv(C_FSA_INTERNAL, I_ELECTION, NULL, NULL, NULL 146 daemons/controld/controld_timers.c register_fsa_input_before(C_TIMER_POPPED, timer->fsa_input, NULL); NULL 158 daemons/controld/controld_timers.c register_fsa_input(C_TIMER_POPPED, timer->fsa_input, NULL); NULL 171 daemons/controld/controld_timers.c if (transition_timer == NULL) { NULL 176 daemons/controld/controld_timers.c if (integration_timer == NULL) { NULL 181 daemons/controld/controld_timers.c if (finalization_timer == NULL) { NULL 186 daemons/controld/controld_timers.c if (election_trigger == NULL) { NULL 191 daemons/controld/controld_timers.c if (shutdown_escalation_timer == NULL) { NULL 196 daemons/controld/controld_timers.c if (wait_timer == NULL) { NULL 201 daemons/controld/controld_timers.c if (recheck_timer == NULL) { NULL 272 daemons/controld/controld_timers.c free(transition_timer); transition_timer = NULL; NULL 273 daemons/controld/controld_timers.c free(integration_timer); integration_timer = NULL; NULL 274 daemons/controld/controld_timers.c free(finalization_timer); finalization_timer = NULL; NULL 275 daemons/controld/controld_timers.c free(election_trigger); election_trigger = NULL; NULL 276 daemons/controld/controld_timers.c free(shutdown_escalation_timer); shutdown_escalation_timer = NULL; NULL 277 daemons/controld/controld_timers.c free(wait_timer); wait_timer = NULL; NULL 278 daemons/controld/controld_timers.c free(recheck_timer); recheck_timer = NULL; NULL 311 daemons/controld/controld_timers.c time_t diff_seconds = recheck_by - time(NULL); NULL 335 daemons/controld/controld_timers.c CRM_CHECK(timer != NULL, return FALSE); NULL 28 daemons/controld/controld_transition.c crm_graph_t *a_graph = unpack_graph(NULL, NULL); NULL 48 daemons/controld/controld_transition.c transition_graph = NULL; NULL 72 daemons/controld/controld_transition.c if (te_uuid == NULL) { NULL 77 daemons/controld/controld_transition.c if (fsa_cib_conn == NULL) { NULL 129 daemons/controld/controld_transition.c abort_transition(INFINITY, tg_restart, "Peer Cancelled", NULL); NULL 136 daemons/controld/controld_transition.c abort_transition(INFINITY, tg_stop, "Peer Halt", NULL); NULL 142 daemons/controld/controld_transition.c const char *value = NULL; NULL 143 daemons/controld/controld_transition.c xmlNode *graph_data = NULL; NULL 149 daemons/controld/controld_transition.c if (graph_file == NULL && input->xml == NULL) { NULL 151 daemons/controld/controld_transition.c register_fsa_error(C_FSA_INTERNAL, I_FAIL, NULL); NULL 157 daemons/controld/controld_transition.c abort_transition(INFINITY, tg_restart, "Transition Active", NULL); NULL 161 daemons/controld/controld_transition.c if (fsa_pe_ref == NULL || !pcmk__str_eq(fsa_pe_ref, ref, pcmk__str_casei)) { NULL 163 daemons/controld/controld_transition.c abort_transition(INFINITY, tg_restart, "Transition Redundant", NULL); NULL 168 daemons/controld/controld_transition.c if (graph_data == NULL && graph_file != NULL) { NULL 177 daemons/controld/controld_transition.c CRM_CHECK(graph_data != NULL, NULL 184 daemons/controld/controld_transition.c if (transition_graph == NULL) { NULL 185 daemons/controld/controld_transition.c CRM_CHECK(transition_graph != NULL,); NULL 25 daemons/controld/controld_utils.c const char *inputAsText = NULL; NULL 132 daemons/controld/controld_utils.c if (inputAsText == NULL) { NULL 143 daemons/controld/controld_utils.c const char *stateAsText = NULL; NULL 193 daemons/controld/controld_utils.c if (stateAsText == NULL) { NULL 204 daemons/controld/controld_utils.c const char *causeAsText = NULL; NULL 236 daemons/controld/controld_utils.c if (causeAsText == NULL) { NULL 247 daemons/controld/controld_utils.c const char *actionAsText = NULL; NULL 440 daemons/controld/controld_utils.c if (actionAsText == NULL) { NULL 454 daemons/controld/controld_utils.c if (text == NULL) { NULL 694 daemons/controld/controld_utils.c const char *dc_version = NULL; NULL 695 daemons/controld/controld_utils.c const char *welcome_from = NULL; NULL 697 daemons/controld/controld_utils.c if (msg != NULL) { NULL 703 daemons/controld/controld_utils.c CRM_CHECK(dc_version != NULL, return FALSE); NULL 704 daemons/controld/controld_utils.c CRM_CHECK(welcome_from != NULL, return FALSE); NULL 714 daemons/controld/controld_utils.c CRM_CHECK(fsa_our_dc != NULL, crm_err("We have no DC")); NULL 728 daemons/controld/controld_utils.c fsa_our_dc_version = NULL; NULL 730 daemons/controld/controld_utils.c fsa_our_dc = NULL; /* Free'd as last_dc */ NULL 732 daemons/controld/controld_utils.c if (welcome_from != NULL) { NULL 735 daemons/controld/controld_utils.c if (dc_version != NULL) { NULL 742 daemons/controld/controld_utils.c } else if (fsa_our_dc != NULL) { NULL 748 daemons/controld/controld_utils.c } else if (last_dc != NULL) { NULL 758 daemons/controld/controld_utils.c if(full && peer->state == NULL) { NULL 760 daemons/controld/controld_utils.c crm_update_peer_proc(__func__, peer, crm_proc_none, NULL); NULL 813 daemons/controld/controld_utils.c char *dc_minor = NULL; NULL 814 daemons/controld/controld_utils.c char *join_minor = NULL; NULL 842 daemons/controld/controld_utils.c dc_v = strtol(dc_minor, NULL, 10); NULL 852 daemons/controld/controld_utils.c join_v = strtol(join_minor, NULL, 10); NULL 866 daemons/controld/controld_utils.c while (node != NULL && !pcmk__str_eq(XML_CIB_TAG_STATE, TYPE(node), pcmk__str_casei)) { NULL 870 daemons/controld/controld_utils.c CRM_CHECK(node != NULL, return NULL); NULL 23 daemons/controld/controld_utils.h if(fsa_cib_conn != NULL) { \ NULL 25 daemons/controld/controld_utils.h fsa_cib_conn, CIB_OP_MODIFY, NULL, section, data, \ NULL 26 daemons/controld/controld_utils.h NULL, options, user_name); \ NULL 34 daemons/controld/controld_utils.h if (fsa_cib_conn == NULL) { NULL 45 daemons/controld/controld_utils.h if (fsa_cib_conn == NULL) { NULL 35 daemons/controld/pacemaker-controld.c GMainLoop *crmd_mainloop = NULL; NULL 40 daemons/controld/pacemaker-controld.c "help", no_argument, NULL, '?', NULL 44 daemons/controld/pacemaker-controld.c "verbose", no_argument, NULL, 'V', NULL 56 daemons/controld/pacemaker-controld.c crm_ipc_t *old_instance = NULL; NULL 58 daemons/controld/pacemaker-controld.c crmd_mainloop = g_main_loop_new(NULL, FALSE); NULL 59 daemons/controld/pacemaker-controld.c crm_log_preinit(NULL, argc, argv); NULL 60 daemons/controld/pacemaker-controld.c pcmk__set_cli_options(NULL, "[options]", long_options, NULL 65 daemons/controld/pacemaker-controld.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); NULL 90 daemons/controld/pacemaker-controld.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); NULL 112 daemons/controld/pacemaker-controld.c old_instance = NULL; NULL 115 daemons/controld/pacemaker-controld.c if (pcmk__daemon_can_write(PE_STATE_DIR, NULL) == FALSE) { NULL 122 daemons/controld/pacemaker-controld.c } else if (pcmk__daemon_can_write(CRM_CONFIG_DIR, NULL) == FALSE) { NULL 152 daemons/controld/pacemaker-controld.c register_fsa_input(C_STARTUP, I_STARTUP, NULL); NULL 27 daemons/execd/cts-exec-helper.c "help", no_argument, NULL, '?', NULL 28 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 31 daemons/execd/cts-exec-helper.c "verbose", no_argument, NULL, 'V', NULL 35 daemons/execd/cts-exec-helper.c "quiet", no_argument, NULL, 'Q', NULL 39 daemons/execd/cts-exec-helper.c "tls", no_argument, NULL, 'S', NULL 43 daemons/execd/cts-exec-helper.c "listen", required_argument, NULL, 'l', NULL 47 daemons/execd/cts-exec-helper.c "api-call", required_argument, NULL, 'c', NULL 51 daemons/execd/cts-exec-helper.c "no-wait", no_argument, NULL, 'w', NULL 55 daemons/execd/cts-exec-helper.c "is-running", no_argument, NULL, 'R', NULL 60 daemons/execd/cts-exec-helper.c "notify-orig", no_argument, NULL, 'n', NULL 65 daemons/execd/cts-exec-helper.c "notify-changes", no_argument, NULL, 'o', NULL 70 daemons/execd/cts-exec-helper.c "-spacer-", no_argument, NULL, '-', NULL 74 daemons/execd/cts-exec-helper.c "action", required_argument, NULL, 'a', NULL 75 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 78 daemons/execd/cts-exec-helper.c "rsc-id", required_argument, NULL, 'r', NULL 79 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 82 daemons/execd/cts-exec-helper.c "cancel-call-id", required_argument, NULL, 'x', NULL 83 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 86 daemons/execd/cts-exec-helper.c "provider", required_argument, NULL, 'P', NULL 87 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 90 daemons/execd/cts-exec-helper.c "class", required_argument, NULL, 'C', NULL 91 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 94 daemons/execd/cts-exec-helper.c "type", required_argument, NULL, 'T', NULL 95 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 98 daemons/execd/cts-exec-helper.c "interval", required_argument, NULL, 'i', NULL 99 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 102 daemons/execd/cts-exec-helper.c "timeout", required_argument, NULL, 't', NULL 103 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 106 daemons/execd/cts-exec-helper.c "start-delay", required_argument, NULL, 's', NULL 107 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 110 daemons/execd/cts-exec-helper.c "param-key", required_argument, NULL, 'k', NULL 111 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 114 daemons/execd/cts-exec-helper.c "param-val", required_argument, NULL, 'v', NULL 115 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 118 daemons/execd/cts-exec-helper.c "-spacer-", no_argument, NULL, '-', NULL 119 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 124 daemons/execd/cts-exec-helper.c static cib_t *cib_conn = NULL; NULL 150 daemons/execd/cts-exec-helper.c static GMainLoop *mainloop = NULL; NULL 151 daemons/execd/cts-exec-helper.c static lrmd_t *lrmd_conn = NULL; NULL 180 daemons/execd/cts-exec-helper.c lrmd_conn = NULL; NULL 229 daemons/execd/cts-exec-helper.c start_test(NULL); NULL 274 daemons/execd/cts-exec-helper.c g_timeout_add(options.timeout, timeout_err, NULL); NULL 285 daemons/execd/cts-exec-helper.c NULL, NULL 320 daemons/execd/cts-exec-helper.c char *output = NULL; NULL 330 daemons/execd/cts-exec-helper.c lrmd_list_t *list = NULL; NULL 331 daemons/execd/cts-exec-helper.c lrmd_list_t *iter = NULL; NULL 337 daemons/execd/cts-exec-helper.c for (iter = list; iter != NULL; iter = iter->next) { NULL 347 daemons/execd/cts-exec-helper.c lrmd_list_t *list = NULL; NULL 348 daemons/execd/cts-exec-helper.c lrmd_list_t *iter = NULL; NULL 354 daemons/execd/cts-exec-helper.c for (iter = list; iter != NULL; iter = iter->next) { NULL 365 daemons/execd/cts-exec-helper.c lrmd_list_t *list = NULL; NULL 366 daemons/execd/cts-exec-helper.c lrmd_list_t *iter = NULL; NULL 372 daemons/execd/cts-exec-helper.c for (iter = list; iter != NULL; iter = iter->next) { NULL 383 daemons/execd/cts-exec-helper.c GList *op_list = NULL; NULL 384 daemons/execd/cts-exec-helper.c GList *op_item = NULL; NULL 388 daemons/execd/cts-exec-helper.c for (op_item = op_list; op_item != NULL; op_item = op_item->next) { NULL 427 daemons/execd/cts-exec-helper.c pe_working_set_t *data_set = NULL; NULL 428 daemons/execd/cts-exec-helper.c xmlNode *cib_xml_copy = NULL; NULL 429 daemons/execd/cts-exec-helper.c pe_resource_t *rsc = NULL; NULL 430 daemons/execd/cts-exec-helper.c GHashTable *params = NULL; NULL 431 daemons/execd/cts-exec-helper.c GHashTable *meta = NULL; NULL 439 daemons/execd/cts-exec-helper.c if (data_set == NULL) { NULL 453 daemons/execd/cts-exec-helper.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); NULL 458 daemons/execd/cts-exec-helper.c } else if (cib_xml_copy == NULL) { NULL 464 daemons/execd/cts-exec-helper.c if (cli_config_update(&cib_xml_copy, NULL, FALSE) == FALSE) { NULL 471 daemons/execd/cts-exec-helper.c data_set->now = crm_time_new(NULL); NULL 485 daemons/execd/cts-exec-helper.c params = pe_rsc_params(rsc, NULL, data_set); NULL 488 daemons/execd/cts-exec-helper.c get_meta_attributes(meta, rsc, NULL, data_set); NULL 490 daemons/execd/cts-exec-helper.c if (params != NULL) { NULL 491 daemons/execd/cts-exec-helper.c char *key = NULL; NULL 492 daemons/execd/cts-exec-helper.c char *value = NULL; NULL 501 daemons/execd/cts-exec-helper.c char *key = NULL; NULL 502 daemons/execd/cts-exec-helper.c char *value = NULL; NULL 525 daemons/execd/cts-exec-helper.c char *key = NULL; NULL 526 daemons/execd/cts-exec-helper.c char *val = NULL; NULL 531 daemons/execd/cts-exec-helper.c pcmk__set_cli_options(NULL, "<mode> [options]", long_options, NULL 536 daemons/execd/cts-exec-helper.c flag = pcmk__next_cli_option(argc, argv, &option_index, NULL); NULL 609 daemons/execd/cts-exec-helper.c key = val = NULL; NULL 616 daemons/execd/cts-exec-helper.c key = val = NULL; NULL 636 daemons/execd/cts-exec-helper.c "list_standards", "list_ocf_providers", NULL)) { NULL 640 daemons/execd/cts-exec-helper.c crm_log_init(NULL, LOG_INFO, TRUE, (options.verbose? TRUE : FALSE), NULL 671 daemons/execd/cts-exec-helper.c lrmd_conn = lrmd_remote_api_new(NULL, "localhost", 0); NULL 675 daemons/execd/cts-exec-helper.c trig = mainloop_add_trigger(G_PRIORITY_HIGH, start_test, NULL); NULL 680 daemons/execd/cts-exec-helper.c mainloop = g_main_loop_new(NULL, FALSE); NULL 683 daemons/execd/cts-exec-helper.c if (cib_conn != NULL) { NULL 30 daemons/execd/execd_alerts.c if (inflight_alerts == NULL) { NULL 31 daemons/execd/execd_alerts.c inflight_alerts = pcmk__intkey_table(NULL); NULL 40 daemons/execd/execd_alerts.c if (inflight_alerts != NULL) { NULL 54 daemons/execd/execd_alerts.c while (g_hash_table_iter_next(&iter, NULL, &timeout)) { NULL 79 daemons/execd/execd_alerts.c action->cb_data = NULL; NULL 90 daemons/execd/execd_alerts.c svc_action_t *action = NULL; NULL 93 daemons/execd/execd_alerts.c GHashTable *params = NULL; NULL 94 daemons/execd/execd_alerts.c struct alert_cb_s *cb_data = NULL; NULL 96 daemons/execd/execd_alerts.c if ((alert_id == NULL) || (alert_path == NULL) || NULL 97 daemons/execd/execd_alerts.c (client == NULL) || (client->id == NULL)) { /* hint static analyzer */ NULL 113 daemons/execd/execd_alerts.c CRM_CHECK(cb_data != NULL, NULL 118 daemons/execd/execd_alerts.c CRM_CHECK(cb_data->client_id != NULL, NULL 152 daemons/execd/execd_alerts.c if (inflight_alerts != NULL) { NULL 167 daemons/execd/execd_alerts.c if (inflight_alerts != NULL) { NULL 175 daemons/execd/execd_alerts.c inflight_alerts = NULL; NULL 35 daemons/execd/execd_commands.c GHashTable *rsc_list = NULL; NULL 119 daemons/execd/execd_commands.c return (timespec != NULL) && NULL 134 daemons/execd/execd_commands.c if ((t_orig != NULL) && !time_is_set(t_orig)) { NULL 159 daemons/execd/execd_commands.c if (now == NULL) { NULL 257 daemons/execd/execd_commands.c lrmd_rsc_t *rsc = NULL; NULL 277 daemons/execd/execd_commands.c lrmd_cmd_t *cmd = NULL; NULL 357 daemons/execd/execd_commands.c CRM_ASSERT(rsc != NULL); NULL 384 daemons/execd/execd_commands.c lrmd_rsc_t *rsc = NULL; NULL 387 daemons/execd/execd_commands.c rsc = cmd->rsc_id ? g_hash_table_lookup(rsc_list, cmd->rsc_id) : NULL; NULL 403 daemons/execd/execd_commands.c for (GList *item = action_list; item != NULL; item = item->next) { NULL 410 daemons/execd/execd_commands.c return NULL; NULL 416 daemons/execd/execd_commands.c lrmd_cmd_t * dup = NULL; NULL 425 daemons/execd/execd_commands.c if (dup == NULL) { NULL 428 daemons/execd/execd_commands.c if (dup == NULL) { NULL 454 daemons/execd/execd_commands.c cmd->userdata_str = NULL; NULL 457 daemons/execd/execd_commands.c cmd = NULL; NULL 480 daemons/execd/execd_commands.c CRM_CHECK(cmd != NULL, return); NULL 481 daemons/execd/execd_commands.c CRM_CHECK(rsc != NULL, return); NULL 494 daemons/execd/execd_commands.c cancel_all_recurring(rsc, NULL); NULL 511 daemons/execd/execd_commands.c xmlNode *reply = create_xml_node(NULL, T_LRMD_REPLY); NULL 526 daemons/execd/execd_commands.c const char *msg = NULL; NULL 528 daemons/execd/execd_commands.c CRM_CHECK(client != NULL, return); NULL 529 daemons/execd/execd_commands.c if (client->name == NULL) { NULL 566 daemons/execd/execd_commands.c xmlNode *notify = NULL; NULL 569 daemons/execd/execd_commands.c int exec_time = time_diff_ms(NULL, &(cmd->t_run)); NULL 594 daemons/execd/execd_commands.c notify = create_xml_node(NULL, T_LRMD_NOTIFY); NULL 626 daemons/execd/execd_commands.c char *key = NULL; NULL 627 daemons/execd/execd_commands.c char *value = NULL; NULL 655 daemons/execd/execd_commands.c xmlNode *notify = NULL; NULL 662 daemons/execd/execd_commands.c notify = create_xml_node(NULL, T_LRMD_NOTIFY); NULL 686 daemons/execd/execd_commands.c cmd->exit_reason = NULL; NULL 688 daemons/execd/execd_commands.c cmd->output = NULL; NULL 695 daemons/execd/execd_commands.c rsc ? rsc->active : NULL, cmd); NULL 698 daemons/execd/execd_commands.c rsc->active = NULL; NULL 857 daemons/execd/execd_commands.c data.notify = create_xml_node(NULL, T_LRMD_NOTIFY); NULL 867 daemons/execd/execd_commands.c const char *cur = NULL; NULL 868 daemons/execd/execd_commands.c const char *last = NULL; NULL 870 daemons/execd/execd_commands.c char *eol = NULL; NULL 873 daemons/execd/execd_commands.c if (output == NULL) { NULL 874 daemons/execd/execd_commands.c return NULL; NULL 882 daemons/execd/execd_commands.c for (; cur != NULL; cur = strstr(cur, PCMK_OCF_REASON_PREFIX)) { NULL 887 daemons/execd/execd_commands.c if (last == NULL) { NULL 888 daemons/execd/execd_commands.c return NULL; NULL 903 daemons/execd/execd_commands.c lrmd_rsc_t *rsc = NULL; NULL 904 daemons/execd/execd_commands.c char *key = NULL; NULL 921 daemons/execd/execd_commands.c const char *rclass = NULL; NULL 935 daemons/execd/execd_commands.c cmd->epoch_rcchange = time(NULL); NULL 942 daemons/execd/execd_commands.c rsc = cmd->rsc_id ? g_hash_table_lookup(rsc_list, cmd->rsc_id) : NULL; NULL 953 daemons/execd/execd_commands.c && pcmk__strcase_any_of(cmd->action, "start", "stop", NULL)) { NULL 963 daemons/execd/execd_commands.c } else if (cmd->real_action != NULL) { NULL 974 daemons/execd/execd_commands.c int time_sum = time_diff_ms(NULL, &(cmd->t_first_run)); NULL 1016 daemons/execd/execd_commands.c int time_sum = time_diff_ms(NULL, &(cmd->t_first_run)); NULL 1044 daemons/execd/execd_commands.c rsc->active = NULL; NULL 1175 daemons/execd/execd_commands.c GList *cmd_list = NULL; NULL 1176 daemons/execd/execd_commands.c GList *cmd_iter = NULL; NULL 1177 daemons/execd/execd_commands.c lrmd_rsc_t *rsc = NULL; NULL 1178 daemons/execd/execd_commands.c char *key = NULL; NULL 1204 daemons/execd/execd_commands.c rsc->pending_ops = rsc->recurring_ops = NULL; NULL 1236 daemons/execd/execd_commands.c char *key = NULL; NULL 1237 daemons/execd/execd_commands.c char *value = NULL; NULL 1238 daemons/execd/execd_commands.c stonith_key_value_t *device_params = NULL; NULL 1357 daemons/execd/execd_commands.c svc_action_t *action = NULL; NULL 1358 daemons/execd/execd_commands.c GHashTable *params_copy = NULL; NULL 1417 daemons/execd/execd_commands.c action = NULL; NULL 1427 daemons/execd/execd_commands.c lrmd_cmd_t *cmd = NULL; NULL 1429 daemons/execd/execd_commands.c CRM_CHECK(rsc != NULL, return FALSE); NULL 1452 daemons/execd/execd_commands.c cmd->epoch_last_run = time(NULL); NULL 1485 daemons/execd/execd_commands.c GList *gIter = NULL; NULL 1491 daemons/execd/execd_commands.c while (gIter != NULL) { NULL 1497 daemons/execd/execd_commands.c cmd_finalize(cmd, NULL); NULL 1505 daemons/execd/execd_commands.c while (gIter != NULL) { NULL 1516 daemons/execd/execd_commands.c cmd_finalize(cmd, NULL); NULL 1558 daemons/execd/execd_commands.c if ((client->remote != NULL) && client->remote->tls_handshake_complete) { NULL 1604 daemons/execd/execd_commands.c xmlNode *reply = NULL; NULL 1605 daemons/execd/execd_commands.c lrmd_rsc_t *rsc = NULL; NULL 1607 daemons/execd/execd_commands.c if (rsc_id == NULL) { NULL 1611 daemons/execd/execd_commands.c if (rsc == NULL) { NULL 1632 daemons/execd/execd_commands.c lrmd_rsc_t *rsc = NULL; NULL 1641 daemons/execd/execd_commands.c if (rsc == NULL) { NULL 1662 daemons/execd/execd_commands.c lrmd_rsc_t *rsc = NULL; NULL 1663 daemons/execd/execd_commands.c lrmd_cmd_t *cmd = NULL; NULL 1690 daemons/execd/execd_commands.c GList *gIter = NULL; NULL 1708 daemons/execd/execd_commands.c for (gIter = rsc->pending_ops; gIter != NULL; gIter = gIter->next) { NULL 1721 daemons/execd/execd_commands.c for (gIter = rsc->recurring_ops; gIter != NULL; gIter = gIter->next) { NULL 1748 daemons/execd/execd_commands.c GList *cmd_list = NULL; NULL 1749 daemons/execd/execd_commands.c GList *cmd_iter = NULL; NULL 1807 daemons/execd/execd_commands.c for (GList *item = rsc->recurring_ops; item != NULL; item = item->next) { NULL 1822 daemons/execd/execd_commands.c const char *rsc_id = NULL; NULL 1823 daemons/execd/execd_commands.c lrmd_rsc_t *rsc = NULL; NULL 1824 daemons/execd/execd_commands.c xmlNode *reply = NULL; NULL 1825 daemons/execd/execd_commands.c xmlNode *rsc_xml = NULL; NULL 1837 daemons/execd/execd_commands.c if (rsc_id != NULL) { NULL 1839 daemons/execd/execd_commands.c if (rsc == NULL) { NULL 1849 daemons/execd/execd_commands.c if (rsc_id == NULL) { NULL 1851 daemons/execd/execd_commands.c char *key = NULL; NULL 1872 daemons/execd/execd_commands.c xmlNode *reply = NULL; NULL 1944 daemons/execd/execd_commands.c CRM_LOG_ASSERT(data != NULL); NULL 1981 daemons/execd/execd_commands.c if (reply == NULL) { NULL 27 daemons/execd/pacemaker-execd.c static GMainLoop *mainloop = NULL; NULL 28 daemons/execd/pacemaker-execd.c static qb_ipcs_service_t *ipcs = NULL; NULL 29 daemons/execd/pacemaker-execd.c static stonith_t *stonith_api = NULL; NULL 55 daemons/execd/pacemaker-execd.c stonith_api = NULL; NULL 58 daemons/execd/pacemaker-execd.c if (stonith_api == NULL) { NULL 62 daemons/execd/pacemaker-execd.c if (stonith_api == NULL) { NULL 64 daemons/execd/pacemaker-execd.c return NULL; NULL 71 daemons/execd/pacemaker-execd.c stonith_api = NULL; NULL 85 daemons/execd/pacemaker-execd.c if (pcmk__new_client(c, uid, gid) == NULL) { NULL 97 daemons/execd/pacemaker-execd.c CRM_ASSERT(new_client != NULL); NULL 112 daemons/execd/pacemaker-execd.c CRM_CHECK(client != NULL, crm_err("Invalid client"); NULL 114 daemons/execd/pacemaker-execd.c CRM_CHECK(client->id != NULL, crm_err("Invalid client: %p", client); NULL 127 daemons/execd/pacemaker-execd.c if (value == NULL) { NULL 164 daemons/execd/pacemaker-execd.c if (shutting_down && (ipc_proxy_get_provider() == NULL)) { NULL 165 daemons/execd/pacemaker-execd.c lrmd_exit(NULL); NULL 175 daemons/execd/pacemaker-execd.c if (client == NULL) { NULL 230 daemons/execd/pacemaker-execd.c if (client->ipcs == NULL) { NULL 237 daemons/execd/pacemaker-execd.c if (client->remote == NULL) { NULL 330 daemons/execd/pacemaker-execd.c shutdown_ack_timer = g_timeout_add_seconds(20, lrmd_exit, NULL); NULL 341 daemons/execd/pacemaker-execd.c lrmd_exit(NULL); NULL 374 daemons/execd/pacemaker-execd.c shutdown_ack_timer = g_timeout_add(0, lrmd_exit, NULL); NULL 385 daemons/execd/pacemaker-execd.c "help", no_argument, NULL, '?', NULL 389 daemons/execd/pacemaker-execd.c "version", no_argument, NULL, '$', NULL 393 daemons/execd/pacemaker-execd.c "verbose", no_argument, NULL, 'V', NULL 397 daemons/execd/pacemaker-execd.c "logfile", required_argument, NULL, 'l', NULL 402 daemons/execd/pacemaker-execd.c "port", required_argument, NULL, 'p', NULL 425 daemons/execd/pacemaker-execd.c const char *option = NULL; NULL 433 daemons/execd/pacemaker-execd.c pcmk__set_cli_options(NULL, "[options]", long_options, EXECD_DESC); NULL 436 daemons/execd/pacemaker-execd.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); NULL 471 daemons/execd/pacemaker-execd.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); NULL 479 daemons/execd/pacemaker-execd.c if (option && !pcmk__strcase_any_of(option, "none", "/dev/null", NULL)) { NULL 510 daemons/execd/pacemaker-execd.c rsc_list = pcmk__strkey_table(NULL, free_rsc); NULL 512 daemons/execd/pacemaker-execd.c if (ipcs == NULL) { NULL 526 daemons/execd/pacemaker-execd.c mainloop = g_main_loop_new(NULL, FALSE); NULL 532 daemons/execd/pacemaker-execd.c lrmd_exit(NULL); NULL 92 daemons/execd/remoted_pidone.c *first = *last = NULL; NULL 104 daemons/execd/remoted_pidone.c if (fp != NULL) { NULL 107 daemons/execd/remoted_pidone.c while (fgets(line, LINE_MAX, fp) != NULL) { NULL 108 daemons/execd/remoted_pidone.c char *name = NULL; NULL 109 daemons/execd/remoted_pidone.c char *end = NULL; NULL 110 daemons/execd/remoted_pidone.c char *value = NULL; NULL 111 daemons/execd/remoted_pidone.c char *quote = NULL; NULL 138 daemons/execd/remoted_pidone.c value = NULL; NULL 152 daemons/execd/remoted_pidone.c value = NULL; NULL 169 daemons/execd/remoted_pidone.c if (quote == NULL) { NULL 178 daemons/execd/remoted_pidone.c value = NULL; NULL 183 daemons/execd/remoted_pidone.c if ((value == NULL) && (strchr(line, '\n') == NULL)) { NULL 186 daemons/execd/remoted_pidone.c value = NULL; // Don't care, make compiler happy NULL 208 daemons/execd/remoted_pidone.c if (pid1 == NULL) { NULL 228 daemons/execd/remoted_pidone.c if (pcmk__env_option("logfile") == NULL) { NULL 238 daemons/execd/remoted_pidone.c sigprocmask(SIG_UNBLOCK, &set, NULL); NULL 256 daemons/execd/remoted_pidone.c char *LastArgv = NULL; NULL 264 daemons/execd/remoted_pidone.c for (i = 0; envp[i] != NULL; i++) { NULL 282 daemons/execd/remoted_pidone.c argv[1] = NULL; NULL 25 daemons/execd/remoted_proxy.c static qb_ipcs_service_t *cib_ro = NULL; NULL 26 daemons/execd/remoted_proxy.c static qb_ipcs_service_t *cib_rw = NULL; NULL 27 daemons/execd/remoted_proxy.c static qb_ipcs_service_t *cib_shm = NULL; NULL 29 daemons/execd/remoted_proxy.c static qb_ipcs_service_t *attrd_ipcs = NULL; NULL 30 daemons/execd/remoted_proxy.c static qb_ipcs_service_t *crmd_ipcs = NULL; NULL 31 daemons/execd/remoted_proxy.c static qb_ipcs_service_t *stonith_ipcs = NULL; NULL 32 daemons/execd/remoted_proxy.c static qb_ipcs_service_t *pacemakerd_ipcs = NULL; NULL 35 daemons/execd/remoted_proxy.c static GList *ipc_providers = NULL; NULL 37 daemons/execd/remoted_proxy.c static GHashTable *ipc_clients = NULL; NULL 52 daemons/execd/remoted_proxy.c return ipc_providers? (pcmk__client_t *) (ipc_providers->data) : NULL; NULL 73 daemons/execd/remoted_proxy.c if (ipc_proxy == NULL) { NULL 83 daemons/execd/remoted_proxy.c if (client == NULL) { NULL 99 daemons/execd/remoted_proxy.c msg = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 171 daemons/execd/remoted_proxy.c if (ipc_client == NULL) { NULL 172 daemons/execd/remoted_proxy.c xmlNode *msg = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 228 daemons/execd/remoted_proxy.c xmlNode *request = NULL; NULL 229 daemons/execd/remoted_proxy.c xmlNode *msg = NULL; NULL 255 daemons/execd/remoted_proxy.c CRM_CHECK(client != NULL, crm_err("Invalid client"); NULL 257 daemons/execd/remoted_proxy.c CRM_CHECK(client->id != NULL, crm_err("Invalid client: %p", client); NULL 266 daemons/execd/remoted_proxy.c msg = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 290 daemons/execd/remoted_proxy.c xmlNode *msg = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 311 daemons/execd/remoted_proxy.c if (client == NULL) { NULL 320 daemons/execd/remoted_proxy.c xmlNode *msg = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 330 daemons/execd/remoted_proxy.c client->userdata = NULL; NULL 344 daemons/execd/remoted_proxy.c .connection_created = NULL, NULL 352 daemons/execd/remoted_proxy.c .connection_created = NULL, NULL 360 daemons/execd/remoted_proxy.c .connection_created = NULL, NULL 368 daemons/execd/remoted_proxy.c .connection_created = NULL, NULL 369 daemons/execd/remoted_proxy.c .msg_process = NULL, NULL 370 daemons/execd/remoted_proxy.c .connection_closed = NULL, NULL 371 daemons/execd/remoted_proxy.c .connection_destroyed = NULL NULL 376 daemons/execd/remoted_proxy.c .connection_created = NULL, NULL 384 daemons/execd/remoted_proxy.c .connection_created = NULL, NULL 401 daemons/execd/remoted_proxy.c pcmk__client_t *ipc_client = NULL; NULL 402 daemons/execd/remoted_proxy.c char *key = NULL; NULL 403 daemons/execd/remoted_proxy.c GList *remove_these = NULL; NULL 404 daemons/execd/remoted_proxy.c GList *gIter = NULL; NULL 420 daemons/execd/remoted_proxy.c for (gIter = remove_these; gIter != NULL; gIter = gIter->next) { NULL 434 daemons/execd/remoted_proxy.c ipc_clients = pcmk__strkey_table(NULL, NULL); NULL 442 daemons/execd/remoted_proxy.c if (crmd_ipcs == NULL) { NULL 454 daemons/execd/remoted_proxy.c ipc_providers = NULL; NULL 458 daemons/execd/remoted_proxy.c ipc_clients = NULL; NULL 465 daemons/execd/remoted_proxy.c cib_ro = NULL; NULL 466 daemons/execd/remoted_proxy.c cib_rw = NULL; NULL 467 daemons/execd/remoted_proxy.c cib_shm = NULL; NULL 88 daemons/execd/remoted_tls.c xmlNode *request = NULL; NULL 148 daemons/execd/remoted_tls.c if (client == NULL) { NULL 160 daemons/execd/remoted_tls.c client_disconnect_cleanup(NULL); NULL 192 daemons/execd/remoted_tls.c client->remote->source = NULL; NULL 203 daemons/execd/remoted_tls.c gnutls_session_t *session = NULL; NULL 204 daemons/execd/remoted_tls.c pcmk__client_t *new_client = NULL; NULL 220 daemons/execd/remoted_tls.c if (session == NULL) { NULL 225 daemons/execd/remoted_tls.c new_client = pcmk__new_unauth_client(NULL); NULL 335 daemons/execd/remoted_tls.c struct addrinfo *res = NULL, *iter; NULL 336 daemons/execd/remoted_tls.c gnutls_datum_t psk_key = { NULL, 0 }; NULL 393 daemons/execd/remoted_tls.c if (iter == NULL && filter == AF_INET6) { NULL 401 daemons/execd/remoted_tls.c NULL, &remote_listen_fd_callbacks); NULL 34 daemons/fenced/cts-fence-helper.c static GMainLoop *mainloop = NULL; NULL 35 daemons/fenced/cts-fence-helper.c static crm_trigger_t *trig = NULL; NULL 64 daemons/fenced/cts-fence-helper.c "verbose", no_argument, NULL, 'V', NULL 65 daemons/fenced/cts-fence-helper.c NULL, pcmk__option_default NULL 68 daemons/fenced/cts-fence-helper.c "version", no_argument, NULL, '$', NULL 69 daemons/fenced/cts-fence-helper.c NULL, pcmk__option_default NULL 72 daemons/fenced/cts-fence-helper.c "help", no_argument, NULL, '?', NULL 73 daemons/fenced/cts-fence-helper.c NULL, pcmk__option_default NULL 76 daemons/fenced/cts-fence-helper.c "passive", no_argument, NULL, 'p', NULL 77 daemons/fenced/cts-fence-helper.c NULL, pcmk__option_default NULL 80 daemons/fenced/cts-fence-helper.c "api_test", no_argument, NULL, 't', NULL 81 daemons/fenced/cts-fence-helper.c NULL, pcmk__option_default NULL 84 daemons/fenced/cts-fence-helper.c "mainloop_api_test", no_argument, NULL, 'm', NULL 85 daemons/fenced/cts-fence-helper.c NULL, pcmk__option_default NULL 90 daemons/fenced/cts-fence-helper.c static stonith_t *st = NULL; NULL 152 daemons/fenced/cts-fence-helper.c st->cmds->register_callback(st, 0, 120, st_opt_timeout_updates, NULL, "st_global_callback", NULL 186 daemons/fenced/cts-fence-helper.c stonith_key_value_t *params = NULL; NULL 211 daemons/fenced/cts-fence-helper.c stonith_key_value_t *params = NULL; NULL 221 daemons/fenced/cts-fence-helper.c params = NULL; NULL 249 daemons/fenced/cts-fence-helper.c stonith_key_value_t *params = NULL; NULL 260 daemons/fenced/cts-fence-helper.c params = NULL; NULL 262 daemons/fenced/cts-fence-helper.c single_test(st->cmds->list(st, st_opts, "test-id", NULL, 1), "list", 1, 0); NULL 305 daemons/fenced/cts-fence-helper.c st->cmds->register_callback(st, 0, 120, st_opt_timeout_updates, NULL, "st_global_callback", NULL 319 daemons/fenced/cts-fence-helper.c char *tmp = NULL; NULL 320 daemons/fenced/cts-fence-helper.c stonith_key_value_t *params = NULL; NULL 395 daemons/fenced/cts-fence-helper.c st_opt_timeout_updates, NULL, "callback", mainloop_callback); NULL 429 daemons/fenced/cts-fence-helper.c uint32_t diff = (time(NULL) - begin); NULL 443 daemons/fenced/cts-fence-helper.c begin = time(NULL); NULL 505 daemons/fenced/cts-fence-helper.c stonith_key_value_t *params = NULL; NULL 513 daemons/fenced/cts-fence-helper.c params = NULL; NULL 520 daemons/fenced/cts-fence-helper.c params = NULL; NULL 596 daemons/fenced/cts-fence-helper.c trig = mainloop_add_trigger(G_PRIORITY_HIGH, trigger_iterate_mainloop_tests, NULL); NULL 601 daemons/fenced/cts-fence-helper.c mainloop = g_main_loop_new(NULL, FALSE); NULL 615 daemons/fenced/cts-fence-helper.c pcmk__set_cli_options(NULL, "<mode> [options]", long_options, NULL 620 daemons/fenced/cts-fence-helper.c flag = pcmk__next_cli_option(argc, argv, &option_index, NULL); NULL 648 daemons/fenced/cts-fence-helper.c crm_log_init(NULL, LOG_INFO, TRUE, (verbose? TRUE : FALSE), argc, argv, NULL 660 daemons/fenced/cts-fence-helper.c if (st == NULL) { NULL 38 daemons/fenced/fenced_commands.c GHashTable *device_list = NULL; NULL 39 daemons/fenced/fenced_commands.c GHashTable *topology = NULL; NULL 40 daemons/fenced/fenced_commands.c GList *cmd_list = NULL; NULL 126 daemons/fenced/fenced_commands.c const char *value = NULL; NULL 129 daemons/fenced/fenced_commands.c if (!pcmk__strcase_any_of(action, "off", "reboot", NULL)) { NULL 144 daemons/fenced/fenced_commands.c const char *value = NULL; NULL 147 daemons/fenced/fenced_commands.c if (!pcmk__strcase_any_of(action, "off", "reboot", NULL)) { NULL 184 daemons/fenced/fenced_commands.c const char *value = NULL; NULL 234 daemons/fenced/fenced_commands.c async_command_t *cmd = NULL; NULL 238 daemons/fenced/fenced_commands.c CRM_CHECK(action != NULL, crm_log_xml_warn(msg, "NoAction"); return NULL); NULL 258 daemons/fenced/fenced_commands.c CRM_CHECK(cmd->op != NULL, crm_log_xml_warn(msg, "NoOp"); free_async_command(cmd); return NULL); NULL 259 daemons/fenced/fenced_commands.c CRM_CHECK(cmd->client != NULL, crm_log_xml_warn(msg, "NoClient")); NULL 269 daemons/fenced/fenced_commands.c const char *value = NULL; NULL 273 daemons/fenced/fenced_commands.c if ((value == NULL) NULL 285 daemons/fenced/fenced_commands.c GList *gIter = NULL; NULL 286 daemons/fenced/fenced_commands.c GList *gIterNext = NULL; NULL 288 daemons/fenced/fenced_commands.c CRM_CHECK(device != NULL, return 0); NULL 290 daemons/fenced/fenced_commands.c for (gIter = cmd_list; gIter != NULL; gIter = gIterNext) { NULL 316 daemons/fenced/fenced_commands.c ((cmd->victim == NULL)? "" : " targeting "), NULL 317 daemons/fenced/fenced_commands.c ((cmd->victim == NULL)? "" : cmd->victim), NULL 320 daemons/fenced/fenced_commands.c cmd->activating_on = NULL; NULL 346 daemons/fenced/fenced_commands.c const char *action_str = NULL; NULL 347 daemons/fenced/fenced_commands.c const char *host_arg = NULL; NULL 348 daemons/fenced/fenced_commands.c async_command_t *cmd = NULL; NULL 349 daemons/fenced/fenced_commands.c stonith_action_t *action = NULL; NULL 352 daemons/fenced/fenced_commands.c GList *gIter = NULL; NULL 353 daemons/fenced/fenced_commands.c GList *gIterNext = NULL; NULL 355 daemons/fenced/fenced_commands.c CRM_CHECK(device != NULL, return FALSE); NULL 366 daemons/fenced/fenced_commands.c for (gIter = device->pending_ops; gIter != NULL; gIter = gIterNext) { NULL 375 daemons/fenced/fenced_commands.c ((pending_op->victim == NULL)? "" : " targeting "), NULL 376 daemons/fenced/fenced_commands.c ((pending_op->victim == NULL)? "" : pending_op->victim), NULL 388 daemons/fenced/fenced_commands.c if (cmd == NULL) { NULL 404 daemons/fenced/fenced_commands.c cmd->done_cb(0, 0, NULL, cmd); NULL 420 daemons/fenced/fenced_commands.c cmd->done_cb(0, exec_rc, NULL, cmd); NULL 458 daemons/fenced/fenced_commands.c cmd->activating_on = NULL; NULL 459 daemons/fenced/fenced_commands.c cmd->done_cb(0, exec_rc, NULL, cmd); NULL 482 daemons/fenced/fenced_commands.c stonith_device_t *device = NULL; NULL 485 daemons/fenced/fenced_commands.c device = cmd->device ? g_hash_table_lookup(device_list, cmd->device) : NULL; NULL 501 daemons/fenced/fenced_commands.c CRM_CHECK(cmd != NULL, return); NULL 502 daemons/fenced/fenced_commands.c CRM_CHECK(device != NULL, return); NULL 572 daemons/fenced/fenced_commands.c GList *gIter = NULL; NULL 578 daemons/fenced/fenced_commands.c for (gIter = device->pending_ops; gIter != NULL; gIter = gIter->next) { NULL 582 daemons/fenced/fenced_commands.c cmd->done_cb(0, -ENODEV, NULL, cmd); NULL 605 daemons/fenced/fenced_commands.c if (device_list != NULL) { NULL 607 daemons/fenced/fenced_commands.c device_list = NULL; NULL 614 daemons/fenced/fenced_commands.c if (device_list == NULL) { NULL 615 daemons/fenced/fenced_commands.c device_list = pcmk__strkey_table(NULL, free_device); NULL 622 daemons/fenced/fenced_commands.c char *name = NULL; NULL 626 daemons/fenced/fenced_commands.c if (hostmap == NULL) { NULL 651 daemons/fenced/fenced_commands.c char *value = NULL; NULL 661 daemons/fenced/fenced_commands.c value = NULL; NULL 662 daemons/fenced/fenced_commands.c name = NULL; NULL 686 daemons/fenced/fenced_commands.c GHashTable *metadata_cache = NULL; NULL 690 daemons/fenced/fenced_commands.c if (metadata_cache != NULL) { NULL 692 daemons/fenced/fenced_commands.c metadata_cache = NULL; NULL 698 daemons/fenced/fenced_commands.c if (metadata_cache == NULL) { NULL 706 daemons/fenced/fenced_commands.c xmlNode *xml = NULL; NULL 707 daemons/fenced/fenced_commands.c char *buffer = NULL; NULL 712 daemons/fenced/fenced_commands.c return NULL; NULL 714 daemons/fenced/fenced_commands.c } else if(buffer == NULL) { NULL 718 daemons/fenced/fenced_commands.c if (st == NULL) { NULL 721 daemons/fenced/fenced_commands.c return NULL; NULL 723 daemons/fenced/fenced_commands.c rc = st->cmds->metadata(st, st_opt_sync_call, agent, NULL, &buffer, 10); NULL 727 daemons/fenced/fenced_commands.c return NULL; NULL 740 daemons/fenced/fenced_commands.c xmlXPathObjectPtr xpath = NULL; NULL 767 daemons/fenced/fenced_commands.c if (actions == NULL) { NULL 784 daemons/fenced/fenced_commands.c xmlXPathObjectPtr xpath = NULL; NULL 788 daemons/fenced/fenced_commands.c if (device->agent_metadata == NULL) { NULL 801 daemons/fenced/fenced_commands.c const char *on_target = NULL; NULL 802 daemons/fenced/fenced_commands.c const char *action = NULL; NULL 805 daemons/fenced/fenced_commands.c CRM_LOG_ASSERT(match != NULL); NULL 806 daemons/fenced/fenced_commands.c if(match == NULL) { continue; }; NULL 882 daemons/fenced/fenced_commands.c if (value != NULL) { NULL 912 daemons/fenced/fenced_commands.c stonith_device_t *device = NULL; NULL 915 daemons/fenced/fenced_commands.c CRM_CHECK(agent != NULL, return device); NULL 919 daemons/fenced/fenced_commands.c CRM_CHECK(device != NULL, {free(agent); return device;}); NULL 940 daemons/fenced/fenced_commands.c if (device->timer == NULL) { NULL 977 daemons/fenced/fenced_commands.c const char *check_type = NULL; NULL 981 daemons/fenced/fenced_commands.c if (check_type == NULL) { NULL 1009 daemons/fenced/fenced_commands.c async_command_t *cmd = NULL; NULL 1017 daemons/fenced/fenced_commands.c cmd->victim = victim ? strdup(victim) : NULL; NULL 1052 daemons/fenced/fenced_commands.c stonith_device_t *dev = cmd->device ? g_hash_table_lookup(device_list, cmd->device) : NULL; NULL 1058 daemons/fenced/fenced_commands.c search_devices_record_result(search, NULL, FALSE); NULL 1083 daemons/fenced/fenced_commands.c stonith_device_t *dev = cmd->device ? g_hash_table_lookup(device_list, cmd->device) : NULL; NULL 1094 daemons/fenced/fenced_commands.c search_devices_record_result(search, NULL, FALSE); NULL 1109 daemons/fenced/fenced_commands.c dev->targets = NULL; NULL 1114 daemons/fenced/fenced_commands.c dev->targets_age = time(NULL); NULL 1136 daemons/fenced/fenced_commands.c char *key = NULL; NULL 1137 daemons/fenced/fenced_commands.c char *value = NULL; NULL 1171 daemons/fenced/fenced_commands.c return NULL; NULL 1175 daemons/fenced/fenced_commands.c return NULL; NULL 1181 daemons/fenced/fenced_commands.c return NULL; NULL 1191 daemons/fenced/fenced_commands.c stonith_device_t *dup = NULL; NULL 1195 daemons/fenced/fenced_commands.c CRM_CHECK(device != NULL, return -ENOMEM); NULL 1218 daemons/fenced/fenced_commands.c old->pending_ops = NULL; NULL 1293 daemons/fenced/fenced_commands.c if (tp->levels[lpc] != NULL) { NULL 1308 daemons/fenced/fenced_commands.c if (tp->levels[lpc] != NULL) { NULL 1322 daemons/fenced/fenced_commands.c if (topology != NULL) { NULL 1324 daemons/fenced/fenced_commands.c topology = NULL; NULL 1331 daemons/fenced/fenced_commands.c if (topology == NULL) { NULL 1332 daemons/fenced/fenced_commands.c topology = pcmk__strkey_table(NULL, free_topology_entry); NULL 1366 daemons/fenced/fenced_commands.c if(target == NULL) { NULL 1371 daemons/fenced/fenced_commands.c if(stand_alone == FALSE && target == NULL) { NULL 1375 daemons/fenced/fenced_commands.c if(crm_element_value(level, XML_ATTR_STONITH_TARGET_ATTRIBUTE) == NULL) { NULL 1378 daemons/fenced/fenced_commands.c } else if(crm_element_value(level, XML_ATTR_STONITH_TARGET_VALUE) == NULL) { NULL 1392 daemons/fenced/fenced_commands.c stonith_key_value_t *output = NULL; NULL 1394 daemons/fenced/fenced_commands.c if (devices == NULL) { NULL 1403 daemons/fenced/fenced_commands.c output = stonith_key_value_add(output, NULL, line); NULL 1436 daemons/fenced/fenced_commands.c stonith_key_value_t *dIter = NULL; NULL 1437 daemons/fenced/fenced_commands.c stonith_key_value_t *devices = NULL; NULL 1448 daemons/fenced/fenced_commands.c CRM_CHECK(level != NULL, return -EINVAL); NULL 1468 daemons/fenced/fenced_commands.c if (tp == NULL) { NULL 1483 daemons/fenced/fenced_commands.c if (tp->levels[id] != NULL) { NULL 1516 daemons/fenced/fenced_commands.c CRM_CHECK(level != NULL, return -EINVAL); NULL 1531 daemons/fenced/fenced_commands.c if (tp == NULL) { NULL 1545 daemons/fenced/fenced_commands.c } else if (id > 0 && tp->levels[id] != NULL) { NULL 1549 daemons/fenced/fenced_commands.c tp->levels[id] = NULL; NULL 1584 daemons/fenced/fenced_commands.c async_command_t *cmd = NULL; NULL 1585 daemons/fenced/fenced_commands.c stonith_device_t *device = NULL; NULL 1587 daemons/fenced/fenced_commands.c if ((id == NULL) || (action == NULL)) { NULL 1595 daemons/fenced/fenced_commands.c if ((device == NULL) NULL 1605 daemons/fenced/fenced_commands.c if (cmd == NULL) { NULL 1675 daemons/fenced/fenced_commands.c const char *check_type = NULL; NULL 1677 daemons/fenced/fenced_commands.c const char *alias = NULL; NULL 1679 daemons/fenced/fenced_commands.c CRM_LOG_ASSERT(dev != NULL); NULL 1681 daemons/fenced/fenced_commands.c if (dev == NULL) { NULL 1683 daemons/fenced/fenced_commands.c } else if (host == NULL) { NULL 1706 daemons/fenced/fenced_commands.c if (alias == NULL) { NULL 1729 daemons/fenced/fenced_commands.c time_t now = time(NULL); NULL 1731 daemons/fenced/fenced_commands.c if (dev->targets == NULL || dev->targets_age + 60 < now) { NULL 1735 daemons/fenced/fenced_commands.c schedule_internal_command(__func__, dev, "list", NULL, NULL 1769 daemons/fenced/fenced_commands.c search_devices_record_result(search, dev ? dev->id : NULL, can); NULL 1789 daemons/fenced/fenced_commands.c char *key = NULL; NULL 1790 daemons/fenced/fenced_commands.c const char *check_type = NULL; NULL 1792 daemons/fenced/fenced_commands.c stonith_device_t *device = NULL; NULL 1796 daemons/fenced/fenced_commands.c callback(NULL, user_data); NULL 1802 daemons/fenced/fenced_commands.c callback(NULL, user_data); NULL 1809 daemons/fenced/fenced_commands.c if (pcmk__strcase_any_of(check_type, "status", "dynamic-list", NULL)) { NULL 1832 daemons/fenced/fenced_commands.c search->host = host ? strdup(host) : NULL; NULL 1833 daemons/fenced/fenced_commands.c search->action = action ? strdup(action) : NULL; NULL 1962 daemons/fenced/fenced_commands.c xmlNode *dev = NULL; NULL 1963 daemons/fenced/fenced_commands.c xmlNode *list = NULL; NULL 1964 daemons/fenced/fenced_commands.c GList *lpc = NULL; NULL 1967 daemons/fenced/fenced_commands.c list = create_xml_node(NULL, __func__); NULL 1969 daemons/fenced/fenced_commands.c for (lpc = devices; lpc != NULL; lpc = lpc->next) { NULL 2019 daemons/fenced/fenced_commands.c if (query->target == NULL) { NULL 2036 daemons/fenced/fenced_commands.c if (list != NULL) { NULL 2055 daemons/fenced/fenced_commands.c struct st_query_data *query = NULL; NULL 2056 daemons/fenced/fenced_commands.c const char *action = NULL; NULL 2057 daemons/fenced/fenced_commands.c const char *target = NULL; NULL 2076 daemons/fenced/fenced_commands.c query->reply = stonith_construct_reply(msg, NULL, NULL, pcmk_ok); NULL 2077 daemons/fenced/fenced_commands.c query->remote_peer = remote_peer ? strdup(remote_peer) : NULL; NULL 2078 daemons/fenced/fenced_commands.c query->client_id = client_id ? strdup(client_id) : NULL; NULL 2079 daemons/fenced/fenced_commands.c query->target = target ? strdup(target) : NULL; NULL 2080 daemons/fenced/fenced_commands.c query->action = action ? strdup(action) : NULL; NULL 2093 daemons/fenced/fenced_commands.c next = NULL; NULL 2096 daemons/fenced/fenced_commands.c if (cmd->victim != NULL) { NULL 2124 daemons/fenced/fenced_commands.c xmlNode *reply = NULL; NULL 2127 daemons/fenced/fenced_commands.c reply = stonith_construct_async_reply(cmd, output, NULL, rc); NULL 2132 daemons/fenced/fenced_commands.c output = NULL; NULL 2134 daemons/fenced/fenced_commands.c } else if (pcmk__str_any_of(cmd->action, "monitor", "list", "status", NULL)) { NULL 2143 daemons/fenced/fenced_commands.c log_operation(cmd, rc, pid, NULL, output, (options & st_reply_opt_merged ? TRUE : FALSE)); NULL 2152 daemons/fenced/fenced_commands.c send_cluster_message(NULL, crm_msg_stonith_ng, reply, FALSE); NULL 2166 daemons/fenced/fenced_commands.c xmlNode *notify_data = create_xml_node(NULL, T_STONITH_NOTIFY_FENCE); NULL 2177 daemons/fenced/fenced_commands.c do_stonith_notify(0, T_STONITH_NOTIFY_HISTORY, 0, NULL); NULL 2188 daemons/fenced/fenced_commands.c CRM_CHECK(cmd != NULL, return); NULL 2206 daemons/fenced/fenced_commands.c stonith_device_t *device = NULL; NULL 2207 daemons/fenced/fenced_commands.c stonith_device_t *next_device = NULL; NULL 2210 daemons/fenced/fenced_commands.c GList *gIter = NULL; NULL 2211 daemons/fenced/fenced_commands.c GList *gIterNext = NULL; NULL 2213 daemons/fenced/fenced_commands.c CRM_CHECK(cmd != NULL, return); NULL 2215 daemons/fenced/fenced_commands.c cmd->active_on = NULL; NULL 2221 daemons/fenced/fenced_commands.c (pcmk__strcase_any_of(cmd->action, "list", "monitor", "status", NULL))) { NULL 2235 daemons/fenced/fenced_commands.c for (iter = cmd->device_next; iter != NULL; iter = iter->next) { NULL 2238 daemons/fenced/fenced_commands.c if (next_device != NULL && is_action_required(cmd->action, next_device)) { NULL 2242 daemons/fenced/fenced_commands.c next_device = NULL; NULL 2258 daemons/fenced/fenced_commands.c cmd = NULL; NULL 2272 daemons/fenced/fenced_commands.c for (gIter = cmd_list; gIter != NULL; gIter = gIterNext) { NULL 2339 daemons/fenced/fenced_commands.c stonith_device_t *device = NULL; NULL 2345 daemons/fenced/fenced_commands.c if (devices != NULL) { NULL 2353 daemons/fenced/fenced_commands.c devices = NULL; /* list owned by cmd now */ NULL 2365 daemons/fenced/fenced_commands.c stonith_send_async_reply(cmd, NULL, -ENODEV, 0, st_reply_opt_none); NULL 2374 daemons/fenced/fenced_commands.c const char *device_id = NULL; NULL 2375 daemons/fenced/fenced_commands.c stonith_device_t *device = NULL; NULL 2379 daemons/fenced/fenced_commands.c if (cmd == NULL) { NULL 2386 daemons/fenced/fenced_commands.c if (device == NULL) { NULL 2400 daemons/fenced/fenced_commands.c node = pcmk__search_known_node_cache(nodeid, NULL, CRM_GET_PEER_ANY); NULL 2417 daemons/fenced/fenced_commands.c xmlNode *reply = NULL; NULL 2419 daemons/fenced/fenced_commands.c reply = create_xml_node(NULL, T_STONITH_REPLY); NULL 2426 daemons/fenced/fenced_commands.c if (request == NULL) { NULL 2437 daemons/fenced/fenced_commands.c const char *name = NULL; NULL 2438 daemons/fenced/fenced_commands.c const char *value = NULL; NULL 2456 daemons/fenced/fenced_commands.c if (data != NULL) { NULL 2466 daemons/fenced/fenced_commands.c xmlNode *reply = NULL; NULL 2469 daemons/fenced/fenced_commands.c reply = create_xml_node(NULL, T_STONITH_REPLY); NULL 2489 daemons/fenced/fenced_commands.c if (data != NULL) { NULL 2498 daemons/fenced/fenced_commands.c if (peer == NULL) { NULL 2500 daemons/fenced/fenced_commands.c } else if (peer->uname == NULL) { NULL 2519 daemons/fenced/fenced_commands.c const char *alternate_host = NULL; NULL 2524 daemons/fenced/fenced_commands.c crm_node_t *entry = NULL; NULL 2527 daemons/fenced/fenced_commands.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&entry)) { NULL 2535 daemons/fenced/fenced_commands.c if (alternate_host == NULL) { NULL 2539 daemons/fenced/fenced_commands.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&entry)) { NULL 2557 daemons/fenced/fenced_commands.c (remote_peer != NULL)); NULL 2565 daemons/fenced/fenced_commands.c const char *relay_op_id = NULL; NULL 2566 daemons/fenced/fenced_commands.c const char *op_id = NULL; NULL 2567 daemons/fenced/fenced_commands.c const char *client_name = NULL; NULL 2568 daemons/fenced/fenced_commands.c const char *target = NULL; NULL 2569 daemons/fenced/fenced_commands.c remote_fencing_op_t *relay_op = NULL; NULL 2585 daemons/fenced/fenced_commands.c remote_fencing_op_t *list_op = NULL; NULL 2589 daemons/fenced/fenced_commands.c while (g_hash_table_iter_next(&iter, NULL, (void **)&list_op)) { NULL 2590 daemons/fenced/fenced_commands.c GList *dup_iter = NULL; NULL 2592 daemons/fenced/fenced_commands.c for (dup_iter = list_op->duplicates; dup_iter != NULL; dup_iter = dup_iter->next) { NULL 2619 daemons/fenced/fenced_commands.c xmlNode *data = NULL; NULL 2620 daemons/fenced/fenced_commands.c xmlNode *reply = NULL; NULL 2622 daemons/fenced/fenced_commands.c char *output = NULL; NULL 2632 daemons/fenced/fenced_commands.c bool allowed = (client == NULL) NULL 2638 daemons/fenced/fenced_commands.c CRM_ASSERT(client == NULL || client->request_id == id); NULL 2642 daemons/fenced/fenced_commands.c xmlNode *reply = create_xml_node(NULL, "reply"); NULL 2676 daemons/fenced/fenced_commands.c const char *flag_name = NULL; NULL 2701 daemons/fenced/fenced_commands.c ((client == NULL)? "peer" : "client"), NULL 2702 daemons/fenced/fenced_commands.c ((client == NULL)? remote_peer : pcmk__client_name(client)), NULL 2706 daemons/fenced/fenced_commands.c if (initiate_remote_stonith_op(NULL, request, FALSE) != NULL) { NULL 2716 daemons/fenced/fenced_commands.c remote_fencing_op_t *rop = NULL; NULL 2725 daemons/fenced/fenced_commands.c const char *alternate_host = NULL; NULL 2753 daemons/fenced/fenced_commands.c const char *client_id = NULL; NULL 2754 daemons/fenced/fenced_commands.c remote_fencing_op_t *op = NULL; NULL 2776 daemons/fenced/fenced_commands.c } else if (initiate_remote_stonith_op(client, request, FALSE) != NULL) { NULL 2792 daemons/fenced/fenced_commands.c const char *device_id = NULL; NULL 2813 daemons/fenced/fenced_commands.c char *device_id = NULL; NULL 2824 daemons/fenced/fenced_commands.c char *device_id = NULL; NULL 2835 daemons/fenced/fenced_commands.c const char *name = NULL; NULL 2845 daemons/fenced/fenced_commands.c ((client == NULL)? "peer" : "client"), NULL 2846 daemons/fenced/fenced_commands.c ((client == NULL)? remote_peer : pcmk__client_name(client))); NULL 2865 daemons/fenced/fenced_commands.c CRM_ASSERT(client == NULL || client->request_id == id); NULL 2892 daemons/fenced/fenced_commands.c ((client == NULL)? "peer" : "client"), NULL 2893 daemons/fenced/fenced_commands.c ((client == NULL)? remote_peer : pcmk__client_name(client))); NULL 2924 daemons/fenced/fenced_commands.c ((client == NULL)? "peer" : "client"), NULL 2925 daemons/fenced/fenced_commands.c ((client == NULL)? remote_peer : pcmk__client_name(client)), NULL 2929 daemons/fenced/fenced_commands.c CRM_ASSERT(client == NULL || client->request_id == id); NULL 2940 daemons/fenced/fenced_commands.c ((client == NULL)? "peer" : "client"), NULL 2941 daemons/fenced/fenced_commands.c ((client == NULL)? remote_peer : pcmk__client_name(client)), NULL 45 daemons/fenced/fenced_history.c xmlNode *bcast = create_xml_node(NULL, "stonith_command"); NULL 46 daemons/fenced/fenced_history.c xmlNode *data = create_xml_node(NULL, __func__); NULL 59 daemons/fenced/fenced_history.c send_cluster_message(NULL, crm_msg_stonith_ng, bcast, FALSE); NULL 95 daemons/fenced/fenced_history.c stonith_send_broadcast_history(NULL, NULL 103 daemons/fenced/fenced_history.c do_stonith_notify(0, T_STONITH_NOTIFY_HISTORY, 0, NULL); NULL 177 daemons/fenced/fenced_history.c remote_fencing_op_t *op = NULL; NULL 187 daemons/fenced/fenced_history.c while (g_hash_table_iter_next(&iter, NULL, (void **)&op)) { NULL 220 daemons/fenced/fenced_history.c xmlNode *xml_op = NULL; NULL 221 daemons/fenced/fenced_history.c GHashTable *rv = NULL; NULL 225 daemons/fenced/fenced_history.c CRM_LOG_ASSERT(rv != NULL); NULL 227 daemons/fenced/fenced_history.c for (xml_op = pcmk__xml_first_child(history); xml_op != NULL; NULL 229 daemons/fenced/fenced_history.c remote_fencing_op_t *op = NULL; NULL 255 daemons/fenced/fenced_history.c CRM_LOG_ASSERT(g_hash_table_lookup(rv, id) != NULL); NULL 278 daemons/fenced/fenced_history.c xmlNode *history = NULL; NULL 280 daemons/fenced/fenced_history.c remote_fencing_op_t *op = NULL; NULL 285 daemons/fenced/fenced_history.c char *id = NULL; NULL 287 daemons/fenced/fenced_history.c history = create_xml_node(NULL, F_STONITH_HISTORY_LIST); NULL 291 daemons/fenced/fenced_history.c xmlNode *entry = NULL; NULL 359 daemons/fenced/fenced_history.c while (g_hash_table_iter_next(&iter, NULL, (void **)&op)) { NULL 366 daemons/fenced/fenced_history.c op->completed = time(NULL); NULL 391 daemons/fenced/fenced_history.c do_stonith_notify(0, T_STONITH_NOTIFY_HISTORY, 0, NULL); NULL 396 daemons/fenced/fenced_history.c return NULL; NULL 415 daemons/fenced/fenced_history.c return stonith_local_history_diff_and_merge(NULL, add_id, target); NULL 436 daemons/fenced/fenced_history.c const char *target = NULL; NULL 438 daemons/fenced/fenced_history.c xmlNode *out_history = NULL; NULL 447 daemons/fenced/fenced_history.c node = pcmk__search_known_node_cache(nodeid, NULL, CRM_GET_PEER_ANY); NULL 459 daemons/fenced/fenced_history.c crm_element_value(msg, F_STONITH_CALLID) != NULL); NULL 465 daemons/fenced/fenced_history.c do_stonith_notify(0, T_STONITH_NOTIFY_HISTORY_SYNCED, 0, NULL); NULL 473 daemons/fenced/fenced_history.c out_history = stonith_local_history(TRUE, NULL); NULL 477 daemons/fenced/fenced_history.c NULL); NULL 483 daemons/fenced/fenced_history.c history?stonith_xml_history_to_list(history):NULL; NULL 498 daemons/fenced/fenced_history.c stonith_local_history_diff_and_merge(received_history, TRUE, NULL); NULL 505 daemons/fenced/fenced_history.c NULL); NULL 77 daemons/fenced/fenced_remote.c GHashTable *stonith_remote_op_list = NULL; NULL 110 daemons/fenced/fenced_remote.c if (stonith_remote_op_list != NULL) { NULL 112 daemons/fenced/fenced_remote.c stonith_remote_op_list = NULL; NULL 184 daemons/fenced/fenced_remote.c && !props->disallowed[op->phase])? props : NULL; NULL 204 daemons/fenced/fenced_remote.c if ((props == NULL) || (verified_devices_only && !props->verified)) { NULL 253 daemons/fenced/fenced_remote.c op->request = NULL; NULL 257 daemons/fenced/fenced_remote.c op->devices_list = NULL; NULL 267 daemons/fenced/fenced_remote.c if (*table == NULL) { NULL 268 daemons/fenced/fenced_remote.c *table = pcmk__strkey_table(NULL, free_remote_op); NULL 314 daemons/fenced/fenced_remote.c GList *iter = NULL; NULL 325 daemons/fenced/fenced_remote.c for (iter = op->automatic_list; iter != NULL; iter = iter->next) { NULL 334 daemons/fenced/fenced_remote.c op->automatic_list = NULL; NULL 360 daemons/fenced/fenced_remote.c xmlNode *notify_data = create_xml_node(NULL, T_STONITH_NOTIFY_FENCE); NULL 379 daemons/fenced/fenced_remote.c xmlNode *bcast = create_xml_node(NULL, T_STONITH_REPLY); NULL 394 daemons/fenced/fenced_remote.c send_cluster_message(NULL, crm_msg_stonith_ng, bcast, FALSE); NULL 404 daemons/fenced/fenced_remote.c xmlNode *notify_data = NULL; NULL 405 daemons/fenced/fenced_remote.c xmlNode *reply = NULL; NULL 418 daemons/fenced/fenced_remote.c reply = stonith_construct_reply(op->request, NULL, data, rc); NULL 426 daemons/fenced/fenced_remote.c do_stonith_notify(0, T_STONITH_NOTIFY_HISTORY, 0, NULL); NULL 437 daemons/fenced/fenced_remote.c GList *iter = NULL; NULL 439 daemons/fenced/fenced_remote.c for (iter = op->duplicates; iter != NULL; iter = iter->next) { NULL 489 daemons/fenced/fenced_remote.c const char *subt = NULL; NULL 490 daemons/fenced/fenced_remote.c xmlNode *local_data = NULL; NULL 493 daemons/fenced/fenced_remote.c op->completed = time(NULL); NULL 517 daemons/fenced/fenced_remote.c if (data == NULL) { NULL 518 daemons/fenced/fenced_remote.c data = create_xml_node(NULL, "remote-op"); NULL 562 daemons/fenced/fenced_remote.c op->query_results = NULL; NULL 567 daemons/fenced/fenced_remote.c op->request = NULL; NULL 585 daemons/fenced/fenced_remote.c remote_op_done(op, NULL, pcmk_ok, FALSE); NULL 598 daemons/fenced/fenced_remote.c call_remote_stonith(op, NULL, pcmk_ok); NULL 625 daemons/fenced/fenced_remote.c remote_op_done(op, NULL, pcmk_ok, FALSE); NULL 631 daemons/fenced/fenced_remote.c remote_op_done(op, NULL, -ETIME, FALSE); NULL 651 daemons/fenced/fenced_remote.c call_remote_stonith(op, NULL, pcmk_ok); NULL 670 daemons/fenced/fenced_remote.c if (tp == NULL) { NULL 675 daemons/fenced/fenced_remote.c if (tp->levels[i] != NULL) { NULL 722 daemons/fenced/fenced_remote.c GList *lpc = NULL; NULL 726 daemons/fenced/fenced_remote.c op->devices_list = NULL; NULL 728 daemons/fenced/fenced_remote.c for (lpc = devices; lpc != NULL; lpc = lpc->next) { NULL 770 daemons/fenced/fenced_remote.c int status = regexec(&r_patt, node, 0, NULL, 0); NULL 793 daemons/fenced/fenced_remote.c if(tp != NULL) { NULL 799 daemons/fenced/fenced_remote.c while (g_hash_table_iter_next(&tIter, NULL, (gpointer *) & tp)) { NULL 807 daemons/fenced/fenced_remote.c return NULL; NULL 824 daemons/fenced/fenced_remote.c stonith_topology_t *tp = NULL; NULL 833 daemons/fenced/fenced_remote.c CRM_ASSERT(tp->levels != NULL); NULL 843 daemons/fenced/fenced_remote.c } while (op->level < ST_LEVEL_MAX && tp->levels[op->level] == NULL); NULL 883 daemons/fenced/fenced_remote.c remote_fencing_op_t *other = NULL; NULL 885 daemons/fenced/fenced_remote.c time_t now = time(NULL); NULL 888 daemons/fenced/fenced_remote.c while (g_hash_table_iter_next(&iter, NULL, (void **)&other)) { NULL 943 daemons/fenced/fenced_remote.c TIMEOUT_MULTIPLY_FACTOR * get_op_total_timeout(op, NULL); NULL 965 daemons/fenced/fenced_remote.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&entry)) { NULL 979 daemons/fenced/fenced_remote.c op->completed = time(NULL); NULL 1005 daemons/fenced/fenced_remote.c remote_fencing_op_t *op = NULL; NULL 1008 daemons/fenced/fenced_remote.c const char *operation = NULL; NULL 1017 daemons/fenced/fenced_remote.c CRM_CHECK(op_id != NULL, return NULL); NULL 1022 daemons/fenced/fenced_remote.c op_id, ((client == NULL)? "unknown client" : client)); NULL 1028 daemons/fenced/fenced_remote.c CRM_ASSERT(op != NULL); NULL 1047 daemons/fenced/fenced_remote.c op->created = time(NULL); NULL 1049 daemons/fenced/fenced_remote.c if (op->originator == NULL) { NULL 1054 daemons/fenced/fenced_remote.c CRM_LOG_ASSERT(client != NULL); NULL 1089 daemons/fenced/fenced_remote.c node = pcmk__search_known_node_cache(nodeid, NULL, CRM_GET_PEER_ANY); NULL 1108 daemons/fenced/fenced_remote.c do_stonith_notify(0, T_STONITH_NOTIFY_HISTORY, 0, NULL); NULL 1122 daemons/fenced/fenced_remote.c xmlNode *query = NULL; NULL 1123 daemons/fenced/fenced_remote.c const char *client_id = NULL; NULL 1124 daemons/fenced/fenced_remote.c remote_fencing_op_t *op = NULL; NULL 1125 daemons/fenced/fenced_remote.c const char *relay_op_id = NULL; NULL 1126 daemons/fenced/fenced_remote.c const char *operation = NULL; NULL 1134 daemons/fenced/fenced_remote.c CRM_LOG_ASSERT(client_id != NULL); NULL 1143 daemons/fenced/fenced_remote.c CRM_CHECK(op->action, return NULL); NULL 1153 daemons/fenced/fenced_remote.c remote_op_done(op, NULL, -EINVAL, FALSE); NULL 1169 daemons/fenced/fenced_remote.c NULL, op->call_options); NULL 1188 daemons/fenced/fenced_remote.c send_cluster_message(NULL, crm_msg_stonith_ng, query, FALSE); NULL 1209 daemons/fenced/fenced_remote.c GList *iter = NULL; NULL 1213 daemons/fenced/fenced_remote.c return NULL; NULL 1216 daemons/fenced/fenced_remote.c for (iter = op->query_results; iter != NULL; iter = iter->next) { NULL 1244 daemons/fenced/fenced_remote.c return NULL; NULL 1250 daemons/fenced/fenced_remote.c const char *device = NULL; NULL 1251 daemons/fenced/fenced_remote.c st_query_result_t *peer = NULL; NULL 1273 daemons/fenced/fenced_remote.c return NULL; NULL 1303 daemons/fenced/fenced_remote.c return NULL; NULL 1377 daemons/fenced/fenced_remote.c GList *device_list = NULL; NULL 1378 daemons/fenced/fenced_remote.c GList *iter = NULL; NULL 1392 daemons/fenced/fenced_remote.c for (iter = op->query_results; iter != NULL; iter = iter->next) { NULL 1416 daemons/fenced/fenced_remote.c GList *iter = NULL; NULL 1417 daemons/fenced/fenced_remote.c xmlNode *update = NULL; NULL 1418 daemons/fenced/fenced_remote.c const char *client_node = NULL; NULL 1419 daemons/fenced/fenced_remote.c const char *client_id = NULL; NULL 1420 daemons/fenced/fenced_remote.c const char *call_id = NULL; NULL 1447 daemons/fenced/fenced_remote.c update = stonith_create_op(op->client_callid, op->id, STONITH_OP_TIMEOUT_UPDATE, NULL, 0); NULL 1457 daemons/fenced/fenced_remote.c for (iter = op->duplicates; iter != NULL; iter = iter->next) { NULL 1492 daemons/fenced/fenced_remote.c if (op->devices == NULL) { NULL 1497 daemons/fenced/fenced_remote.c if ((op->devices == NULL) && (op->phase == st_phase_off)) { NULL 1515 daemons/fenced/fenced_remote.c call_remote_stonith(op, NULL, pcmk_ok); NULL 1528 daemons/fenced/fenced_remote.c const char *device = NULL; NULL 1534 daemons/fenced/fenced_remote.c if ((peer == NULL) && !pcmk_is_set(op->call_options, st_opt_topology)) { NULL 1561 daemons/fenced/fenced_remote.c xmlNode *remote_op = stonith_create_op(op->client_callid, op->id, STONITH_OP_FENCE, NULL, 0); NULL 1626 daemons/fenced/fenced_remote.c advance_topology_device_in_level(op, device, NULL, pcmk_ok); NULL 1675 daemons/fenced/fenced_remote.c remote_op_done(op, NULL, rc, FALSE); NULL 1712 daemons/fenced/fenced_remote.c GList *device = NULL; NULL 1713 daemons/fenced/fenced_remote.c GList *iter = NULL; NULL 1714 daemons/fenced/fenced_remote.c device_properties_t *match = NULL; NULL 1715 daemons/fenced/fenced_remote.c stonith_topology_t *tp = NULL; NULL 1723 daemons/fenced/fenced_remote.c if (pcmk__strcase_any_of(op->action, "off", "reboot", NULL)) { NULL 1731 daemons/fenced/fenced_remote.c match = NULL; NULL 1827 daemons/fenced/fenced_remote.c CRM_ASSERT(props != NULL); NULL 1841 daemons/fenced/fenced_remote.c for (child = pcmk__xml_first_child(xml); child != NULL; NULL 1876 daemons/fenced/fenced_remote.c CRM_CHECK(result != NULL, return NULL); NULL 1881 daemons/fenced/fenced_remote.c for (child = pcmk__xml_first_child(xml); child != NULL; NULL 1919 daemons/fenced/fenced_remote.c const char *id = NULL; NULL 1920 daemons/fenced/fenced_remote.c const char *host = NULL; NULL 1921 daemons/fenced/fenced_remote.c remote_fencing_op_t *op = NULL; NULL 1922 daemons/fenced/fenced_remote.c st_query_result_t *result = NULL; NULL 1926 daemons/fenced/fenced_remote.c CRM_CHECK(dev != NULL, return -EPROTO); NULL 1929 daemons/fenced/fenced_remote.c CRM_CHECK(id != NULL, return -EPROTO); NULL 1932 daemons/fenced/fenced_remote.c CRM_CHECK(dev != NULL, return -EPROTO); NULL 1936 daemons/fenced/fenced_remote.c if (op == NULL) { NULL 1971 daemons/fenced/fenced_remote.c call_remote_stonith(op, NULL, pcmk_ok); NULL 1988 daemons/fenced/fenced_remote.c call_remote_stonith(op, NULL, pcmk_ok); NULL 2019 daemons/fenced/fenced_remote.c const char *id = NULL; NULL 2020 daemons/fenced/fenced_remote.c const char *device = NULL; NULL 2021 daemons/fenced/fenced_remote.c remote_fencing_op_t *op = NULL; NULL 2024 daemons/fenced/fenced_remote.c CRM_CHECK(dev != NULL, return -EPROTO); NULL 2027 daemons/fenced/fenced_remote.c CRM_CHECK(id != NULL, return -EPROTO); NULL 2030 daemons/fenced/fenced_remote.c CRM_CHECK(dev != NULL, return -EPROTO); NULL 2040 daemons/fenced/fenced_remote.c if (op == NULL && rc == pcmk_ok) { NULL 2047 daemons/fenced/fenced_remote.c if (op == NULL) { NULL 2120 daemons/fenced/fenced_remote.c } else if (rc == pcmk_ok && op->devices == NULL) { NULL 2126 daemons/fenced/fenced_remote.c } else if (rc == -ETIME && op->devices == NULL) { NULL 2138 daemons/fenced/fenced_remote.c call_remote_stonith(op, NULL, rc); NULL 2146 daemons/fenced/fenced_remote.c time_t now = time(NULL); NULL 2147 daemons/fenced/fenced_remote.c remote_fencing_op_t *rop = NULL; NULL 2149 daemons/fenced/fenced_remote.c if (tolerance <= 0 || !stonith_remote_op_list || target == NULL || NULL 2150 daemons/fenced/fenced_remote.c action == NULL) { NULL 2155 daemons/fenced/fenced_remote.c while (g_hash_table_iter_next(&iter, NULL, (void **)&rop)) { NULL 43 daemons/fenced/pacemaker-fenced.c char *stonith_our_uname = NULL; NULL 46 daemons/fenced/pacemaker-fenced.c static GMainLoop *mainloop = NULL; NULL 52 daemons/fenced/pacemaker-fenced.c static qb_ipcs_service_t *ipcs = NULL; NULL 53 daemons/fenced/pacemaker-fenced.c static xmlNode *local_cib = NULL; NULL 54 daemons/fenced/pacemaker-fenced.c static pe_working_set_t *fenced_data_set = NULL; NULL 56 daemons/fenced/pacemaker-fenced.c static cib_t *cib_api = NULL; NULL 58 daemons/fenced/pacemaker-fenced.c static pcmk__output_t *out = NULL; NULL 64 daemons/fenced/pacemaker-fenced.c { NULL, NULL, NULL } NULL 79 daemons/fenced/pacemaker-fenced.c if (pcmk__new_client(c, uid, gid) == NULL) { NULL 92 daemons/fenced/pacemaker-fenced.c xmlNode *request = NULL; NULL 94 daemons/fenced/pacemaker-fenced.c const char *op = NULL; NULL 96 daemons/fenced/pacemaker-fenced.c if (c == NULL) { NULL 102 daemons/fenced/pacemaker-fenced.c if (request == NULL) { NULL 116 daemons/fenced/pacemaker-fenced.c send_cluster_message(NULL, crm_msg_stonith_ng, request, FALSE); NULL 121 daemons/fenced/pacemaker-fenced.c if (c->name == NULL) { NULL 124 daemons/fenced/pacemaker-fenced.c if (value == NULL) { NULL 144 daemons/fenced/pacemaker-fenced.c stonith_command(c, id, flags, request, NULL); NULL 156 daemons/fenced/pacemaker-fenced.c if (client == NULL) { NULL 185 daemons/fenced/pacemaker-fenced.c stonith_command(NULL, 0, 0, msg, remote_peer); NULL 195 daemons/fenced/pacemaker-fenced.c xmlNode *xml = NULL; NULL 196 daemons/fenced/pacemaker-fenced.c const char *from = NULL; NULL 199 daemons/fenced/pacemaker-fenced.c if(data == NULL) { NULL 204 daemons/fenced/pacemaker-fenced.c if (xml == NULL) { NULL 211 daemons/fenced/pacemaker-fenced.c stonith_peer_callback(xml, NULL); NULL 231 daemons/fenced/pacemaker-fenced.c pcmk__client_t *client_obj = NULL; NULL 238 daemons/fenced/pacemaker-fenced.c if (client_obj == NULL) { NULL 266 daemons/fenced/pacemaker-fenced.c if ((local_rc != pcmk_rc_ok) && (client_obj != NULL)) { NULL 301 daemons/fenced/pacemaker-fenced.c const char *type = NULL; NULL 303 daemons/fenced/pacemaker-fenced.c CRM_CHECK(client != NULL, return); NULL 304 daemons/fenced/pacemaker-fenced.c CRM_CHECK(update_msg != NULL, return); NULL 307 daemons/fenced/pacemaker-fenced.c CRM_CHECK(type != NULL, crm_log_xml_err(update_msg, "notify"); return); NULL 309 daemons/fenced/pacemaker-fenced.c if (client->ipcs == NULL) { NULL 332 daemons/fenced/pacemaker-fenced.c pcmk__client_t *client = NULL; NULL 333 daemons/fenced/pacemaker-fenced.c xmlNode *notify_data = NULL; NULL 344 daemons/fenced/pacemaker-fenced.c notify_data = create_xml_node(NULL, T_STONITH_TIMEOUT_VALUE); NULL 362 daemons/fenced/pacemaker-fenced.c xmlNode *update_msg = create_xml_node(NULL, "notify"); NULL 364 daemons/fenced/pacemaker-fenced.c CRM_CHECK(type != NULL,;); NULL 371 daemons/fenced/pacemaker-fenced.c if (data != NULL) { NULL 385 daemons/fenced/pacemaker-fenced.c xmlNode *notify_data = create_xml_node(NULL, op); NULL 387 daemons/fenced/pacemaker-fenced.c CRM_CHECK(notify_data != NULL, return); NULL 412 daemons/fenced/pacemaker-fenced.c char *desc = NULL; NULL 413 daemons/fenced/pacemaker-fenced.c xmlNode *data = create_xml_node(NULL, XML_TAG_FENCING_LEVEL); NULL 432 daemons/fenced/pacemaker-fenced.c const char *rsc_id = NULL; NULL 433 daemons/fenced/pacemaker-fenced.c const char *standard = NULL; NULL 436 daemons/fenced/pacemaker-fenced.c CRM_LOG_ASSERT(match != NULL); NULL 437 daemons/fenced/pacemaker-fenced.c if(match != NULL) { NULL 455 daemons/fenced/pacemaker-fenced.c char *desc = NULL; NULL 457 daemons/fenced/pacemaker-fenced.c CRM_CHECK(match != NULL, return); NULL 483 daemons/fenced/pacemaker-fenced.c CRM_LOG_ASSERT(match != NULL); NULL 490 daemons/fenced/pacemaker-fenced.c if (target == NULL) { NULL 538 daemons/fenced/pacemaker-fenced.c xmlXPathObjectPtr xpathObj = NULL; NULL 566 daemons/fenced/pacemaker-fenced.c pe_node_t *node = NULL; NULL 570 daemons/fenced/pacemaker-fenced.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 574 daemons/fenced/pacemaker-fenced.c node = NULL; NULL 583 daemons/fenced/pacemaker-fenced.c xmlNode *stonith_enabled_xml = NULL; NULL 584 daemons/fenced/pacemaker-fenced.c const char *stonith_enabled_s = NULL; NULL 593 daemons/fenced/pacemaker-fenced.c if (stonith_enabled_s == NULL || crm_is_true(stonith_enabled_s)) { NULL 594 daemons/fenced/pacemaker-fenced.c xmlNode *stonith_watchdog_xml = NULL; NULL 595 daemons/fenced/pacemaker-fenced.c const char *value = NULL; NULL 618 daemons/fenced/pacemaker-fenced.c stonith_key_value_t *params = NULL; NULL 625 daemons/fenced/pacemaker-fenced.c NULL); NULL 627 daemons/fenced/pacemaker-fenced.c rc = stonith_device_register(xml, NULL, FALSE); NULL 650 daemons/fenced/pacemaker-fenced.c pe_node_t *node = NULL; NULL 651 daemons/fenced/pacemaker-fenced.c const char *value = NULL; NULL 652 daemons/fenced/pacemaker-fenced.c const char *rclass = NULL; NULL 653 daemons/fenced/pacemaker-fenced.c pe_node_t *parent = NULL; NULL 657 daemons/fenced/pacemaker-fenced.c GList *gIter = NULL; NULL 658 daemons/fenced/pacemaker-fenced.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 686 daemons/fenced/pacemaker-fenced.c if(node == NULL) { NULL 692 daemons/fenced/pacemaker-fenced.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 711 daemons/fenced/pacemaker-fenced.c GHashTable *rsc_params = NULL; NULL 713 daemons/fenced/pacemaker-fenced.c stonith_key_value_t *params = NULL; NULL 715 daemons/fenced/pacemaker-fenced.c const char *name = NULL; NULL 717 daemons/fenced/pacemaker-fenced.c const char *rsc_provides = NULL; NULL 737 daemons/fenced/pacemaker-fenced.c rc = stonith_device_register(data, NULL, TRUE); NULL 750 daemons/fenced/pacemaker-fenced.c GList *gIter = NULL; NULL 752 daemons/fenced/pacemaker-fenced.c stonith_device_t *device = NULL; NULL 759 daemons/fenced/pacemaker-fenced.c CRM_ASSERT(fenced_data_set != NULL); NULL 761 daemons/fenced/pacemaker-fenced.c fenced_data_set->now = crm_time_new(NULL); NULL 766 daemons/fenced/pacemaker-fenced.c pcmk__schedule_actions(fenced_data_set, NULL, NULL); NULL 769 daemons/fenced/pacemaker-fenced.c while (g_hash_table_iter_next(&iter, NULL, (void **)&device)) { NULL 775 daemons/fenced/pacemaker-fenced.c for (gIter = fenced_data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 780 daemons/fenced/pacemaker-fenced.c while (g_hash_table_iter_next(&iter, NULL, (void **)&device)) { NULL 786 daemons/fenced/pacemaker-fenced.c fenced_data_set->input = NULL; // Wasn't a copy, so don't let API free it NULL 793 daemons/fenced/pacemaker-fenced.c xmlNode *change = NULL; NULL 794 daemons/fenced/pacemaker-fenced.c char *reason = NULL; NULL 798 daemons/fenced/pacemaker-fenced.c for (change = pcmk__xml_first_child(patchset); change != NULL; NULL 802 daemons/fenced/pacemaker-fenced.c const char *shortpath = NULL; NULL 804 daemons/fenced/pacemaker-fenced.c if ((op == NULL) || NULL 809 daemons/fenced/pacemaker-fenced.c const char *rsc_id = NULL; NULL 810 daemons/fenced/pacemaker-fenced.c char *search = NULL; NULL 811 daemons/fenced/pacemaker-fenced.c char *mutable = NULL; NULL 821 daemons/fenced/pacemaker-fenced.c if (rsc_id != NULL) { NULL 825 daemons/fenced/pacemaker-fenced.c if (search != NULL) { NULL 858 daemons/fenced/pacemaker-fenced.c xmlXPathObjectPtr xpath_obj = NULL; NULL 890 daemons/fenced/pacemaker-fenced.c const char *rsc_id = NULL; NULL 891 daemons/fenced/pacemaker-fenced.c const char *standard = NULL; NULL 954 daemons/fenced/pacemaker-fenced.c CRM_CHECK(local_cib != NULL, return FALSE); NULL 968 daemons/fenced/pacemaker-fenced.c return (match != NULL); NULL 976 daemons/fenced/pacemaker-fenced.c xmlXPathObjectPtr xpathObj = NULL; NULL 998 daemons/fenced/pacemaker-fenced.c xmlNode *change = NULL; NULL 1004 daemons/fenced/pacemaker-fenced.c for (change = pcmk__xml_first_child(patchset); change != NULL; NULL 1009 daemons/fenced/pacemaker-fenced.c if(op == NULL) { NULL 1012 daemons/fenced/pacemaker-fenced.c } else if(strstr(xpath, "/" XML_TAG_FENCING_LEVEL) != NULL) { NULL 1037 daemons/fenced/pacemaker-fenced.c } else if (strstr(xpath, "/" XML_TAG_FENCING_TOPOLOGY) != NULL) { NULL 1046 daemons/fenced/pacemaker-fenced.c if(first_named_child(change, XML_TAG_FENCING_TOPOLOGY) == NULL) { NULL 1073 daemons/fenced/pacemaker-fenced.c xmlNode *stonith_enabled_xml = NULL; NULL 1074 daemons/fenced/pacemaker-fenced.c const char *stonith_enabled_s = NULL; NULL 1081 daemons/fenced/pacemaker-fenced.c } else if(msg == NULL) { NULL 1089 daemons/fenced/pacemaker-fenced.c if (local_cib != NULL) { NULL 1091 daemons/fenced/pacemaker-fenced.c xmlNode *patchset = NULL; NULL 1109 daemons/fenced/pacemaker-fenced.c local_cib = NULL; NULL 1114 daemons/fenced/pacemaker-fenced.c local_cib = NULL; NULL 1118 daemons/fenced/pacemaker-fenced.c if (local_cib == NULL) { NULL 1120 daemons/fenced/pacemaker-fenced.c rc = cib_api->cmds->query(cib_api, NULL, &local_cib, cib_scope_local | cib_sync_call); NULL 1125 daemons/fenced/pacemaker-fenced.c CRM_ASSERT(local_cib != NULL); NULL 1176 daemons/fenced/pacemaker-fenced.c if (mainloop != NULL && g_main_loop_is_running(mainloop)) { NULL 1219 daemons/fenced/pacemaker-fenced.c stonith_our_uname = NULL; NULL 1222 daemons/fenced/pacemaker-fenced.c local_cib = NULL; NULL 1229 daemons/fenced/pacemaker-fenced.c NULL, pcmk__option_default NULL 1233 daemons/fenced/pacemaker-fenced.c NULL, pcmk__option_default NULL 1237 daemons/fenced/pacemaker-fenced.c NULL, pcmk__option_default NULL 1241 daemons/fenced/pacemaker-fenced.c NULL, pcmk__option_default NULL 1245 daemons/fenced/pacemaker-fenced.c NULL, pcmk__option_default NULL 1249 daemons/fenced/pacemaker-fenced.c NULL, pcmk__option_default NULL 1260 daemons/fenced/pacemaker-fenced.c if (cib_api == NULL) { NULL 1278 daemons/fenced/pacemaker-fenced.c rc = cib_api->cmds->query(cib_api, NULL, NULL, cib_scope_local); NULL 1279 daemons/fenced/pacemaker-fenced.c cib_api->cmds->register_callback(cib_api, rc, 120, FALSE, NULL, "init_cib_cache_cb", NULL 1288 daemons/fenced/pacemaker-fenced.c .connection_created = NULL, NULL 1311 daemons/fenced/pacemaker-fenced.c xmlNode *query = create_xml_node(NULL, "stonith_command"); NULL 1318 daemons/fenced/pacemaker-fenced.c send_cluster_message(NULL, crm_msg_stonith_ng, query, FALSE); NULL 1331 daemons/fenced/pacemaker-fenced.c crm_cluster_t *cluster = NULL; NULL 1333 daemons/fenced/pacemaker-fenced.c crm_ipc_t *old_instance = NULL; NULL 1336 daemons/fenced/pacemaker-fenced.c crm_log_preinit(NULL, argc, argv); NULL 1337 daemons/fenced/pacemaker-fenced.c pcmk__set_cli_options(NULL, "[options]", long_options, NULL 1342 daemons/fenced/pacemaker-fenced.c flag = pcmk__next_cli_option(argc, argv, &option_index, NULL); NULL 1526 daemons/fenced/pacemaker-fenced.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); NULL 1540 daemons/fenced/pacemaker-fenced.c old_instance = NULL; NULL 1548 daemons/fenced/pacemaker-fenced.c CRM_ASSERT(fenced_data_set != NULL); NULL 1554 daemons/fenced/pacemaker-fenced.c CRM_ASSERT(cluster != NULL); NULL 1587 daemons/fenced/pacemaker-fenced.c pcmk__register_formats(NULL, formats); NULL 1588 daemons/fenced/pacemaker-fenced.c rc = pcmk__output_new(&out, "log", NULL, argv); NULL 1589 daemons/fenced/pacemaker-fenced.c if ((rc != pcmk_rc_ok) || (out == NULL)) { NULL 1602 daemons/fenced/pacemaker-fenced.c mainloop = g_main_loop_new(NULL, FALSE); NULL 1613 daemons/fenced/pacemaker-fenced.c out->finish(out, CRM_EX_OK, true, NULL); NULL 36 daemons/pacemakerd/pacemakerd.c static GMainLoop *mainloop = NULL; NULL 41 daemons/pacemakerd/pacemakerd.c static crm_trigger_t *shutdown_trigger = NULL; NULL 42 daemons/pacemakerd/pacemakerd.c static crm_trigger_t *startup_trigger = NULL; NULL 79 daemons/pacemakerd/pacemakerd.c 0, 0, 0, FALSE, "none", NULL, NULL, NULL NULL 82 daemons/pacemakerd/pacemakerd.c 0, 3, 0, TRUE, "pacemaker-execd", NULL, NULL 102 daemons/pacemakerd/pacemakerd.c 0, 2, 0, TRUE, "pacemaker-fenced", NULL, NULL 143 daemons/pacemakerd/pacemakerd.c check_active_before_startup_processes, NULL); NULL 207 daemons/pacemakerd/pacemakerd.c if (child->command == NULL || child->pid == PCMK__SPECIAL_PID) { NULL 231 daemons/pacemakerd/pacemakerd.c static char *opts_default[] = { NULL, NULL }; NULL 232 daemons/pacemakerd/pacemakerd.c static char *opts_vgrind[] = { NULL, NULL, NULL, NULL, NULL }; NULL 251 daemons/pacemakerd/pacemakerd.c if (child->command == NULL) { NULL 256 daemons/pacemakerd/pacemakerd.c if (env_callgrind != NULL && crm_is_true(env_callgrind)) { NULL 260 daemons/pacemakerd/pacemakerd.c } else if (env_callgrind != NULL && strstr(env_callgrind, child->name)) { NULL 264 daemons/pacemakerd/pacemakerd.c } else if (env_valgrind != NULL && crm_is_true(env_valgrind)) { NULL 267 daemons/pacemakerd/pacemakerd.c } else if (env_valgrind != NULL && strstr(env_valgrind, child->name)) { NULL 307 daemons/pacemakerd/pacemakerd.c opts_vgrind[4] = NULL; NULL 310 daemons/pacemakerd/pacemakerd.c opts_vgrind[2] = NULL; NULL 311 daemons/pacemakerd/pacemakerd.c opts_vgrind[3] = NULL; NULL 312 daemons/pacemakerd/pacemakerd.c opts_vgrind[4] = NULL; NULL 406 daemons/pacemakerd/pacemakerd.c time_t now = time(NULL); NULL 490 daemons/pacemakerd/pacemakerd.c if (shutdown_trigger == NULL) { NULL 491 daemons/pacemakerd/pacemakerd.c shutdown_trigger = mainloop_add_trigger(G_PRIORITY_HIGH, pcmk_shutdown_worker, NULL); NULL 500 daemons/pacemakerd/pacemakerd.c if (pcmk__new_client(c, uid, gid) == NULL) { NULL 509 daemons/pacemakerd/pacemakerd.c const char *value = NULL; NULL 510 daemons/pacemakerd/pacemakerd.c xmlNode *ping = NULL; NULL 511 daemons/pacemakerd/pacemakerd.c xmlNode *reply = NULL; NULL 512 daemons/pacemakerd/pacemakerd.c time_t pinged = time(NULL); NULL 519 daemons/pacemakerd/pacemakerd.c ping = create_xml_node(NULL, XML_CRM_TAG_PING); NULL 559 daemons/pacemakerd/pacemakerd.c const char *task = NULL; NULL 560 daemons/pacemakerd/pacemakerd.c xmlNode *msg = NULL; NULL 563 daemons/pacemakerd/pacemakerd.c CRM_CHECK(c != NULL, return 0); NULL 566 daemons/pacemakerd/pacemakerd.c if (msg == NULL) { NULL 616 daemons/pacemakerd/pacemakerd.c if (client == NULL) { NULL 639 daemons/pacemakerd/pacemakerd.c .connection_created = NULL, NULL 648 daemons/pacemakerd/pacemakerd.c "help", no_argument, NULL, '?', NULL 652 daemons/pacemakerd/pacemakerd.c "version", no_argument, NULL, '$', NULL 656 daemons/pacemakerd/pacemakerd.c "verbose", no_argument, NULL, 'V', NULL 660 daemons/pacemakerd/pacemakerd.c "shutdown", no_argument, NULL, 'S', NULL 664 daemons/pacemakerd/pacemakerd.c "features", no_argument, NULL, 'F', NULL 669 daemons/pacemakerd/pacemakerd.c "-spacer-", no_argument, NULL, '-', NULL 673 daemons/pacemakerd/pacemakerd.c "foreground", no_argument, NULL, 'f', NULL 678 daemons/pacemakerd/pacemakerd.c "pid-file", required_argument, NULL, 'p', NULL 682 daemons/pacemakerd/pacemakerd.c "standby", no_argument, NULL, 's', NULL 712 daemons/pacemakerd/pacemakerd.c NULL NULL 729 daemons/pacemakerd/pacemakerd.c for (int i = 0; dirs[i] != NULL; ++i) { NULL 771 daemons/pacemakerd/pacemakerd.c if (child->endpoint == NULL NULL 777 daemons/pacemakerd/pacemakerd.c } else if (child->endpoint != NULL) { NULL 780 daemons/pacemakerd/pacemakerd.c if (child->uid == NULL) { NULL 958 daemons/pacemakerd/pacemakerd.c if ((pcmk_children[i].endpoint == NULL) NULL 1054 daemons/pacemakerd/pacemakerd.c check_active_before_startup_processes, NULL); NULL 1120 daemons/pacemakerd/pacemakerd.c xmlNode *request = NULL; NULL 1121 daemons/pacemakerd/pacemakerd.c xmlNode *reply = NULL; NULL 1125 daemons/pacemakerd/pacemakerd.c request = create_request(CRM_OP_QUIT, NULL, NULL, CRM_SYSTEM_MCP, NULL 1126 daemons/pacemakerd/pacemakerd.c CRM_SYSTEM_MCP, NULL); NULL 1127 daemons/pacemakerd/pacemakerd.c if (request == NULL) { NULL 1141 daemons/pacemakerd/pacemakerd.c if ((rc == 0) || (reply == NULL)) { NULL 1181 daemons/pacemakerd/pacemakerd.c crm_ipc_t *old_instance = NULL; NULL 1182 daemons/pacemakerd/pacemakerd.c qb_ipcs_service_t *ipcs = NULL; NULL 1184 daemons/pacemakerd/pacemakerd.c crm_log_preinit(NULL, argc, argv); NULL 1185 daemons/pacemakerd/pacemakerd.c pcmk__set_cli_options(NULL, "[options]", long_options, NULL 1192 daemons/pacemakerd/pacemakerd.c flag = pcmk__next_cli_option(argc, argv, &option_index, NULL); NULL 1242 daemons/pacemakerd/pacemakerd.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); NULL 1286 daemons/pacemakerd/pacemakerd.c mainloop = g_main_loop_new(NULL, FALSE); NULL 1321 daemons/pacemakerd/pacemakerd.c startup_trigger = mainloop_add_trigger(G_PRIORITY_HIGH, init_children_processes, NULL); NULL 1329 daemons/pacemakerd/pacemakerd.c init_children_processes(NULL); NULL 1338 daemons/pacemakerd/pacemakerd.c ipcs = NULL; NULL 32 daemons/pacemakerd/pcmkd_corosync.c static mainloop_timer_t *reconnect_timer = NULL; NULL 83 daemons/pacemakerd/pcmkd_corosync.c reconnect_timer = NULL; NULL 104 daemons/pacemakerd/pcmkd_corosync.c reconnect_timer = mainloop_timer_add("corosync reconnect", 1000, TRUE, cluster_reconnect_cb, NULL); NULL 112 daemons/pacemakerd/pcmkd_corosync.c if (reconnect_timer != NULL) { NULL 117 daemons/pacemakerd/pcmkd_corosync.c reconnect_timer = NULL; NULL 236 daemons/pacemakerd/pcmkd_corosync.c *value = NULL; NULL 315 daemons/pacemakerd/pcmkd_corosync.c if (pcmk__env_option("debug") == NULL) { NULL 316 daemons/pacemakerd/pcmkd_corosync.c char *debug_enabled = NULL; NULL 335 daemons/pacemakerd/pcmkd_corosync.c if (pcmk_daemon_user(NULL, &gid) < 0) { NULL 33 daemons/schedulerd/pacemaker-schedulerd.c static GMainLoop *mainloop = NULL; NULL 34 daemons/schedulerd/pacemaker-schedulerd.c static qb_ipcs_service_t *ipcs = NULL; NULL 35 daemons/schedulerd/pacemaker-schedulerd.c static pe_working_set_t *sched_data_set = NULL; NULL 36 daemons/schedulerd/pacemaker-schedulerd.c static pcmk__output_t *out = NULL; NULL 42 daemons/schedulerd/pacemaker-schedulerd.c { NULL, NULL, NULL } NULL 56 daemons/schedulerd/pacemaker-schedulerd.c if (sched_data_set == NULL) { NULL 58 daemons/schedulerd/pacemaker-schedulerd.c CRM_ASSERT(sched_data_set != NULL); NULL 85 daemons/schedulerd/pacemaker-schedulerd.c static char *last_digest = NULL; NULL 86 daemons/schedulerd/pacemaker-schedulerd.c static char *filename = NULL; NULL 91 daemons/schedulerd/pacemaker-schedulerd.c char *digest = NULL; NULL 92 daemons/schedulerd/pacemaker-schedulerd.c const char *value = NULL; NULL 93 daemons/schedulerd/pacemaker-schedulerd.c time_t execution_date = time(NULL); NULL 94 daemons/schedulerd/pacemaker-schedulerd.c xmlNode *converted = NULL; NULL 95 daemons/schedulerd/pacemaker-schedulerd.c xmlNode *reply = NULL; NULL 104 daemons/schedulerd/pacemaker-schedulerd.c if (!cli_config_update(&converted, NULL, TRUE)) { NULL 105 daemons/schedulerd/pacemaker-schedulerd.c sched_data_set->graph = create_xml_node(NULL, XML_TAG_GRAPH); NULL 121 daemons/schedulerd/pacemaker-schedulerd.c pcmk__schedule_actions(sched_data_set, converted, NULL); NULL 134 daemons/schedulerd/pacemaker-schedulerd.c if ((value == NULL) NULL 147 daemons/schedulerd/pacemaker-schedulerd.c sched_data_set->input = NULL; NULL 149 daemons/schedulerd/pacemaker-schedulerd.c CRM_ASSERT(reply != NULL); NULL 153 daemons/schedulerd/pacemaker-schedulerd.c filename = NULL; NULL 170 daemons/schedulerd/pacemaker-schedulerd.c char *graph_file = NULL; NULL 218 daemons/schedulerd/pacemaker-schedulerd.c if (op == NULL) { NULL 227 daemons/schedulerd/pacemaker-schedulerd.c } else if (sys_to == NULL || strcasecmp(sys_to, CRM_SYSTEM_PENGINE) != 0) { NULL 242 daemons/schedulerd/pacemaker-schedulerd.c if (pcmk__new_client(c, uid, gid) == NULL) { NULL 260 daemons/schedulerd/pacemaker-schedulerd.c if (msg != NULL) { NULL 275 daemons/schedulerd/pacemaker-schedulerd.c if (client == NULL) { NULL 292 daemons/schedulerd/pacemaker-schedulerd.c .connection_created = NULL, NULL 301 daemons/schedulerd/pacemaker-schedulerd.c "help", no_argument, NULL, '?', NULL 305 daemons/schedulerd/pacemaker-schedulerd.c "verbose", no_argument, NULL, 'V', NULL 319 daemons/schedulerd/pacemaker-schedulerd.c crm_log_preinit(NULL, argc, argv); NULL 320 daemons/schedulerd/pacemaker-schedulerd.c pcmk__set_cli_options(NULL, "[options]", long_options, NULL 327 daemons/schedulerd/pacemaker-schedulerd.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); NULL 357 daemons/schedulerd/pacemaker-schedulerd.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); NULL 360 daemons/schedulerd/pacemaker-schedulerd.c if (pcmk__daemon_can_write(PE_STATE_DIR, NULL) == FALSE) { NULL 369 daemons/schedulerd/pacemaker-schedulerd.c if (ipcs == NULL) { NULL 374 daemons/schedulerd/pacemaker-schedulerd.c pcmk__register_formats(NULL, formats); NULL 375 daemons/schedulerd/pacemaker-schedulerd.c rc = pcmk__output_new(&out, "log", NULL, argv); NULL 376 daemons/schedulerd/pacemaker-schedulerd.c if ((rc != pcmk_rc_ok) || (out == NULL)) { NULL 388 daemons/schedulerd/pacemaker-schedulerd.c mainloop = g_main_loop_new(NULL, FALSE); NULL 398 daemons/schedulerd/pacemaker-schedulerd.c ipcs = NULL; NULL 401 daemons/schedulerd/pacemaker-schedulerd.c sched_data_set = NULL; NULL 404 daemons/schedulerd/pacemaker-schedulerd.c if (out != NULL) { NULL 405 daemons/schedulerd/pacemaker-schedulerd.c out->finish(out, CRM_EX_OK, true, NULL); NULL 407 daemons/schedulerd/pacemaker-schedulerd.c out = NULL; NULL 205 include/crm/common/internal.h ((flag_type == NULL)? "Group of" : flag_type), NULL 207 include/crm/common/internal.h ((flags_str == NULL)? "flags" : flags_str), NULL 208 include/crm/common/internal.h ((target == NULL)? "target" : target), NULL 239 include/crm/common/internal.h ((flag_type == NULL)? "Group of" : flag_type), NULL 241 include/crm/common/internal.h ((flags_str == NULL)? "flags" : flags_str), NULL 242 include/crm/common/internal.h ((target == NULL)? "target" : target), NULL 280 include/crm/common/internal.h if (new_ptr == NULL) { NULL 306 include/crm/common/internal.h return list && (list->next == NULL); NULL 313 include/crm/common/internal.h return list && (list->next != NULL); NULL 342 include/crm/common/internal.h CRM_CHECK(prefix && rsc_id && op, return NULL); NULL 188 include/crm/common/logging.h static struct qb_log_callsite *trace_cs = NULL; \ NULL 189 include/crm/common/logging.h if (trace_cs == NULL) { \ NULL 204 include/crm/common/logging.h static struct qb_log_callsite *core_cs = NULL; \ NULL 205 include/crm/common/logging.h if(core_cs == NULL) { \ NULL 220 include/crm/common/logging.h static struct qb_log_callsite *core_cs = NULL; \ NULL 221 include/crm/common/logging.h if (core_cs == NULL) { \ NULL 247 include/crm/common/logging.h static struct qb_log_callsite *xml_cs = NULL; \ NULL 248 include/crm/common/logging.h if (xml_cs == NULL) { \ NULL 333 include/crm/common/logging.h static struct qb_log_callsite *trace_tag_cs = NULL; \ NULL 335 include/crm/common/logging.h if (trace_tag_cs == NULL) { \ NULL 367 include/crm/common/logging.h static struct qb_log_callsite *digest_cs = NULL; \ NULL 56 include/crm/common/logging_internal.h static struct qb_log_callsite *trace_cs = NULL; \ NULL 58 include/crm/common/logging_internal.h if (trace_cs == NULL) { \ NULL 868 include/crm/common/output_internal.h out_obj->begin_list(out_obj, NULL, NULL, title); \ NULL 68 include/crm/common/strings_internal.h return g_hash_table_new_full(g_direct_hash, g_direct_equal, NULL, NULL 168 include/crm/common/strings_internal.h return (s == NULL) || (s[0] == '\0'); NULL 115 include/crm/common/util_compat.h if (hashtable == NULL) { NULL 169 include/crm/common/xml.h return xml? (const char *)(xml->name) : NULL; NULL 261 include/crm/common/xml.h if(xpathObj == NULL || xpathObj->nodesetval == NULL) { NULL 69 include/crm/common/xml_internal.h if (!(dechunk) && (prefix) == NULL) { /* quick pass */ \ NULL 75 include/crm/common/xml_internal.h char *CXLB_buf = NULL; \ NULL 77 include/crm/common/xml_internal.h static char *CXLB_buffer = NULL; \ NULL 93 include/crm/common/xml_internal.h (prefix) != NULL ? (prefix) : "", \ NULL 99 include/crm/common/xml_internal.h (prefix) != NULL ? (prefix) : "", \ NULL 103 include/crm/common/xml_internal.h CXLB_buf = NULL; /* restore temporary override */ \ NULL 105 include/crm/common/xml_internal.h CXLB_buffer = NULL; \ NULL 109 include/crm/common/xml_internal.h } else if (CXLB_buffer == NULL) { \ NULL 112 include/crm/common/xml_internal.h CXLB_buf = NULL; \ NULL 200 include/crm/common/xml_internal.h xmlNode *child = (parent? parent->children : NULL); NULL 219 include/crm/common/xml_internal.h xmlNode *next = (child? child->next : NULL); NULL 238 include/crm/common/xml_internal.h xmlNode *child = (parent? parent->children : NULL); NULL 257 include/crm/common/xml_internal.h xmlNode *next = child? child->next : NULL; NULL 296 include/crm/common/xml_internal.h return (xe == NULL)? NULL : xe->properties; NULL 224 include/crm/crm.h if ((task != NULL) && (interval_ms == 0) NULL 341 include/crm/pengine/internal.h return pe__find_active_on(rsc, NULL, NULL); NULL 356 include/crm/pengine/internal.h return NULL; NULL 527 include/crm/pengine/internal.h pe_action_set_flag_reason(__func__, __LINE__, action, reason, NULL, \ NULL 99 include/crm/pengine/status.h return uber_parent(rsc)->parent != NULL; NULL 504 include/crm/stonith-ng.h static void *st_library = NULL; NULL 507 include/crm/stonith-ng.h if (st_library == NULL) { NULL 510 include/crm/stonith-ng.h if (st_library && st_kick_fn == NULL) { NULL 513 include/crm/stonith-ng.h if (st_kick_fn == NULL) { NULL 521 include/crm/stonith-ng.h return (*st_kick_fn) (nodeid, NULL, timeout, off); NULL 527 include/crm/stonith-ng.h static void *st_library = NULL; NULL 530 include/crm/stonith-ng.h if (st_library == NULL) { NULL 533 include/crm/stonith-ng.h if (st_library && st_time_fn == NULL) { NULL 536 include/crm/stonith-ng.h if (st_time_fn == NULL) { NULL 540 include/crm/stonith-ng.h return (*st_time_fn) (nodeid, NULL, in_progress); NULL 124 include/pcmki/pcmki_scheduler.h if (rsc == NULL) { NULL 131 include/pcmki/pcmki_scheduler.h return colocation->influence || (rsc->running_on == NULL); NULL 56 lib/cib/cib_attrs.c char *xpath_string = NULL; NULL 57 lib/cib/cib_attrs.c xmlNode *xml_search = NULL; NULL 58 lib/cib/cib_attrs.c const char *set_type = NULL; NULL 59 lib/cib/cib_attrs.c const char *node_type = NULL; NULL 67 lib/cib/cib_attrs.c CRM_ASSERT(value != NULL); NULL 68 lib/cib/cib_attrs.c *value = NULL; NULL 71 lib/cib/cib_attrs.c node_uuid = NULL; NULL 75 lib/cib/cib_attrs.c NULL)) { NULL 76 lib/cib/cib_attrs.c node_uuid = NULL; NULL 80 lib/cib/cib_attrs.c node_uuid = NULL; NULL 84 lib/cib/cib_attrs.c } else if (node_uuid == NULL) { NULL 89 lib/cib/cib_attrs.c if (xpath_string == NULL) { NULL 131 lib/cib/cib_attrs.c rc = cib_internal_op(the_cib, CIB_OP_QUERY, NULL, xpath_string, NULL, &xml_search, NULL 143 lib/cib/cib_attrs.c xmlNode *child = NULL; NULL 148 lib/cib/cib_attrs.c for (child = pcmk__xml_first_child(xml_search); child != NULL; NULL 175 lib/cib/cib_attrs.c const char *tag = NULL; NULL 177 lib/cib/cib_attrs.c xmlNode *xml_top = NULL; NULL 178 lib/cib/cib_attrs.c xmlNode *xml_obj = NULL; NULL 180 lib/cib/cib_attrs.c char *local_attr_id = NULL; NULL 181 lib/cib/cib_attrs.c char *local_set_name = NULL; NULL 183 lib/cib/cib_attrs.c CRM_CHECK(section != NULL, return -EINVAL); NULL 184 lib/cib/cib_attrs.c CRM_CHECK(attr_value != NULL, return -EINVAL); NULL 185 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return -EINVAL); NULL 202 lib/cib/cib_attrs.c node_uuid = NULL; NULL 211 lib/cib/cib_attrs.c if (node_uuid == NULL) { NULL 227 lib/cib/cib_attrs.c if (node_uuid == NULL) { NULL 237 lib/cib/cib_attrs.c node_uuid = NULL; NULL 240 lib/cib/cib_attrs.c if (set_name == NULL) { NULL 264 lib/cib/cib_attrs.c if (attr_id == NULL) { NULL 269 lib/cib/cib_attrs.c } else if (attr_name == NULL) { NULL 274 lib/cib/cib_attrs.c if (tag != NULL) { NULL 277 lib/cib/cib_attrs.c if (xml_top == NULL) { NULL 282 lib/cib/cib_attrs.c if (node_uuid == NULL && !pcmk__str_eq(node_type, XML_CIB_TAG_TICKETS, pcmk__str_casei)) { NULL 297 lib/cib/cib_attrs.c if (xml_top == NULL) { NULL 304 lib/cib/cib_attrs.c if (xml_top == NULL) { NULL 309 lib/cib/cib_attrs.c rc = cib_internal_op(the_cib, CIB_OP_MODIFY, NULL, section, xml_top, NULL, NULL 333 lib/cib/cib_attrs.c CRM_ASSERT(attr_value != NULL); NULL 334 lib/cib/cib_attrs.c CRM_CHECK(section != NULL, return -EINVAL); NULL 335 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return -EINVAL); NULL 337 lib/cib/cib_attrs.c *attr_value = NULL; NULL 355 lib/cib/cib_attrs.c xmlNode *xml_obj = NULL; NULL 356 lib/cib/cib_attrs.c char *local_attr_id = NULL; NULL 358 lib/cib/cib_attrs.c CRM_CHECK(section != NULL, return -EINVAL); NULL 359 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return -EINVAL); NULL 361 lib/cib/cib_attrs.c if (attr_id == NULL) { NULL 371 lib/cib/cib_attrs.c xml_obj = crm_create_nvpair_xml(NULL, attr_id, attr_name, attr_value); NULL 373 lib/cib/cib_attrs.c rc = cib_internal_op(the_cib, CIB_OP_DELETE, NULL, section, xml_obj, NULL, NULL 403 lib/cib/cib_attrs.c const char *parsed_uuid = NULL; NULL 406 lib/cib/cib_attrs.c if (result == NULL) { NULL 414 lib/cib/cib_attrs.c CRM_CHECK(result != NULL, return rc); NULL 488 lib/cib/cib_attrs.c xmlNode *xml_search = NULL; NULL 491 lib/cib/cib_attrs.c CRM_ASSERT(uname != NULL); NULL 494 lib/cib/cib_attrs.c *uuid = NULL; NULL 501 lib/cib/cib_attrs.c if (cib_internal_op(the_cib, CIB_OP_QUERY, NULL, xpath_string, NULL, NULL 503 lib/cib/cib_attrs.c NULL) == pcmk_ok) { NULL 525 lib/cib/cib_attrs.c xmlNode *a_child = NULL; NULL 526 lib/cib/cib_attrs.c xmlNode *xml_obj = NULL; NULL 527 lib/cib/cib_attrs.c xmlNode *fragment = NULL; NULL 528 lib/cib/cib_attrs.c const char *child_name = NULL; NULL 530 lib/cib/cib_attrs.c CRM_ASSERT(uname != NULL); NULL 531 lib/cib/cib_attrs.c CRM_ASSERT(uuid != NULL); NULL 542 lib/cib/cib_attrs.c CRM_ASSERT(xml_obj != NULL); NULL 546 lib/cib/cib_attrs.c *uname = NULL; NULL 548 lib/cib/cib_attrs.c for (a_child = pcmk__xml_first_child(xml_obj); a_child != NULL; NULL 556 lib/cib/cib_attrs.c if (child_name != NULL) { NULL 573 lib/cib/cib_attrs.c char *attr_id = NULL; NULL 575 lib/cib/cib_attrs.c CRM_CHECK(uuid != NULL, return -EINVAL); NULL 576 lib/cib/cib_attrs.c CRM_CHECK(standby_value != NULL, return -EINVAL); NULL 578 lib/cib/cib_attrs.c if (pcmk__strcase_any_of(scope, "reboot", XML_CIB_TAG_STATUS, NULL)) { NULL 587 lib/cib/cib_attrs.c rc = update_attr_delegate(the_cib, cib_sync_call, scope, uuid, NULL, NULL, NULL 588 lib/cib/cib_attrs.c attr_id, "standby", standby_value, TRUE, NULL, NULL); NULL 28 lib/cib/cib_client.c GHashTable *cib_op_callback_table = NULL; NULL 42 lib/cib/cib_client.c if(cib == NULL) { \ NULL 44 lib/cib/cib_client.c } else if(cib->delegate_fn == NULL) { \ NULL 53 lib/cib/cib_client.c return cib_internal_op(cib, CRM_OP_NOOP, NULL, NULL, NULL, NULL, call_options, NULL); NULL 60 lib/cib/cib_client.c return cib_internal_op(cib, CRM_OP_PING, NULL, NULL, NULL, output_data, call_options, NULL); NULL 66 lib/cib/cib_client.c return cib->cmds->query_from(cib, NULL, section, output_data, call_options); NULL 74 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_QUERY, host, section, NULL, output_data, call_options, NULL); NULL 81 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_ISMASTER, NULL, NULL, NULL, NULL, NULL 82 lib/cib/cib_client.c cib_scope_local | cib_sync_call, NULL); NULL 89 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_SLAVE, NULL, NULL, NULL, NULL, call_options, NULL); NULL 103 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_MASTER, NULL, NULL, NULL, NULL, NULL 104 lib/cib/cib_client.c call_options | cib_scope_local, NULL); NULL 111 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_BUMP, NULL, NULL, NULL, NULL, call_options, NULL); NULL 118 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_UPGRADE, NULL, NULL, NULL, NULL, call_options, NULL); NULL 124 lib/cib/cib_client.c return cib->cmds->sync_from(cib, NULL, section, call_options); NULL 131 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_SYNC, host, section, NULL, NULL, call_options, NULL); NULL 138 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_CREATE, NULL, section, data, NULL, call_options, NULL); NULL 145 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_MODIFY, NULL, section, data, NULL, call_options, NULL); NULL 152 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_MODIFY, NULL, section, data, NULL, call_options, NULL); NULL 159 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_REPLACE, NULL, section, data, NULL, call_options, NULL); NULL 166 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_DELETE, NULL, section, data, NULL, call_options, NULL); NULL 173 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_DELETE_ALT, NULL, section, data, NULL, call_options, NULL); NULL 180 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_ERASE, NULL, NULL, NULL, output_data, call_options, NULL); NULL 203 lib/cib/cib_client.c if (cib_op_callback_table != NULL) { NULL 205 lib/cib/cib_client.c cib_op_callback_table = NULL; NULL 212 lib/cib/cib_client.c char *cib_home = NULL; NULL 213 lib/cib/cib_client.c char *fullname = NULL; NULL 217 lib/cib/cib_client.c if (dir == NULL) { NULL 220 lib/cib/cib_client.c const char *user = NULL; NULL 231 lib/cib/cib_client.c if (pcmk__strcase_any_of(user, "root", CRM_DAEMON_USER, NULL)) { NULL 235 lib/cib/cib_client.c const char *home = NULL; NULL 237 lib/cib/cib_client.c if ((home = getenv("HOME")) == NULL) { NULL 272 lib/cib/cib_client.c cib_t *new_cib = NULL; NULL 273 lib/cib/cib_client.c char *shadow_file = NULL; NULL 275 lib/cib/cib_client.c CRM_CHECK(shadow != NULL, return NULL); NULL 326 lib/cib/cib_client.c if (user == NULL) { NULL 331 lib/cib/cib_client.c if (server == NULL) { NULL 354 lib/cib/cib_client.c cib_t *new_cib = NULL; NULL 366 lib/cib/cib_client.c new_cib->op_callback = NULL; NULL 367 lib/cib/cib_client.c new_cib->variant_opaque = NULL; NULL 368 lib/cib/cib_client.c new_cib->notify_list = NULL; NULL 414 lib/cib/cib_client.c while (list != NULL) { NULL 420 lib/cib/cib_client.c cib->notify_list = NULL; NULL 454 lib/cib/cib_client.c if (callback == NULL) { NULL 468 lib/cib/cib_client.c GList *list_item = NULL; NULL 469 lib/cib/cib_client.c cib_notify_client_t *new_client = NULL; NULL 483 lib/cib/cib_client.c if (list_item != NULL) { NULL 501 lib/cib/cib_client.c GList *l = NULL; NULL 519 lib/cib/cib_client.c GList *list_item = NULL; NULL 520 lib/cib/cib_client.c cib_notify_client_t *new_client = NULL; NULL 539 lib/cib/cib_client.c if (list_item != NULL) { NULL 567 lib/cib/cib_client.c CRM_CHECK(a_client->event != NULL && b_client->event != NULL, return 0); NULL 590 lib/cib/cib_client.c cib_native_callback(timer->cib, NULL, timer->call_id, -ETIME); NULL 605 lib/cib/cib_client.c callback_name, callback, NULL); NULL 616 lib/cib/cib_client.c cib_callback_client_t *blob = NULL; NULL 620 lib/cib/cib_client.c callback(NULL, call_id, call_id, NULL, user_data); NULL 638 lib/cib/cib_client.c struct timer_rec_s *async_timer = NULL; NULL 670 lib/cib/cib_client.c if (cib_op_callback_table == NULL) { NULL 688 lib/cib/cib_client.c if (cib_op_callback_table == NULL) { NULL 691 lib/cib/cib_client.c return g_hash_table_foreach(cib_op_callback_table, cib_dump_pending_op, NULL); NULL 107 lib/cib/cib_file.c if (expected == NULL) { NULL 145 lib/cib/cib_file.c char *local_sigfile = NULL; NULL 146 lib/cib/cib_file.c xmlNode *local_root = NULL; NULL 148 lib/cib/cib_file.c CRM_ASSERT(filename != NULL); NULL 150 lib/cib/cib_file.c *root = NULL; NULL 165 lib/cib/cib_file.c if (local_root == NULL) { NULL 171 lib/cib/cib_file.c if (sigfile == NULL) { NULL 212 lib/cib/cib_file.c if (filename != NULL) { NULL 214 lib/cib/cib_file.c char *real_filename = NULL; NULL 217 lib/cib/cib_file.c char *real_livename = NULL; NULL 333 lib/cib/cib_file.c xmlNode *cib_status_root = NULL; NULL 342 lib/cib/cib_file.c CRM_LOG_ASSERT(cib_status_root != NULL); NULL 343 lib/cib/cib_file.c if (cib_status_root != NULL) { NULL 367 lib/cib/cib_file.c char *digest = NULL; NULL 382 lib/cib/cib_file.c CRM_ASSERT((cib_path != NULL) && (digest_path != NULL) NULL 383 lib/cib/cib_file.c && (tmp_cib != NULL) && (tmp_digest != NULL)); NULL 387 lib/cib/cib_file.c rc = cib_file_read_and_verify(cib_path, NULL, NULL); NULL 437 lib/cib/cib_file.c CRM_ASSERT(digest != NULL); NULL 469 lib/cib/cib_file.c rc = cib_file_read_and_verify(tmp_cib, tmp_digest, NULL); NULL 497 lib/cib/cib_file.c cib_file_opaque_t *private = NULL; NULL 501 lib/cib/cib_file.c CRM_ASSERT((cib != NULL) && (private != NULL)); NULL 506 lib/cib/cib_file.c if (cib_location == NULL) { NULL 529 lib/cib/cib_file.c static xmlNode *in_mem_cib = NULL; NULL 549 lib/cib/cib_file.c xmlNode *root = NULL; NULL 558 lib/cib/cib_file.c if (root == NULL) { NULL 563 lib/cib/cib_file.c if (find_xml_node(root, XML_CIB_TAG_STATUS, FALSE) == NULL) { NULL 568 lib/cib/cib_file.c if (validate_xml(root, NULL, TRUE) == FALSE) { NULL 587 lib/cib/cib_file.c if (private->filename == NULL) { NULL 626 lib/cib/cib_file.c if (daemon_pwent == NULL) { NULL 645 lib/cib/cib_file.c if (sep == NULL) { /* no directory component specified */ NULL 676 lib/cib/cib_file.c if ((sep != NULL) && (*sep == '\0')) { NULL 734 lib/cib/cib_file.c in_mem_cib = NULL; NULL 787 lib/cib/cib_file.c NULL); NULL 796 lib/cib/cib_file.c char *effective_user = NULL; NULL 799 lib/cib/cib_file.c xmlNode *request = NULL; NULL 800 lib/cib/cib_file.c xmlNode *output = NULL; NULL 801 lib/cib/cib_file.c xmlNode *cib_diff = NULL; NULL 802 lib/cib/cib_file.c xmlNode *result_cib = NULL; NULL 803 lib/cib/cib_file.c cib_op_t *fn = NULL; NULL 819 lib/cib/cib_file.c if (output_data != NULL) { NULL 820 lib/cib/cib_file.c *output_data = NULL; NULL 823 lib/cib/cib_file.c if (op == NULL) { NULL 835 lib/cib/cib_file.c if (fn == NULL) { NULL 846 lib/cib/cib_file.c if (section != NULL && data != NULL && pcmk__str_eq(crm_element_name(data), XML_TAG_CIB, pcmk__str_none)) { NULL 871 lib/cib/cib_file.c if (cib->op_callback != NULL) { NULL 872 lib/cib/cib_file.c cib->op_callback(NULL, cib->call_id, rc, output); NULL 58 lib/cib/cib_native.c cib_native_opaque_t *native = NULL; NULL 66 lib/cib/cib_native.c native->ipc = NULL; NULL 67 lib/cib/cib_native.c native->source = NULL; NULL 68 lib/cib/cib_native.c native->dnotify_fn = NULL; NULL 86 lib/cib/cib_native.c return cib_native_signon_raw(cib, name, type, NULL); NULL 92 lib/cib/cib_native.c const char *type = NULL; NULL 93 lib/cib/cib_native.c xmlNode *msg = NULL; NULL 99 lib/cib/cib_native.c if (cib == NULL) { NULL 106 lib/cib/cib_native.c if (msg == NULL) { NULL 138 lib/cib/cib_native.c native->source = NULL; NULL 139 lib/cib/cib_native.c native->ipc = NULL; NULL 150 lib/cib/cib_native.c const char *channel = NULL; NULL 178 lib/cib/cib_native.c if (async_fd != NULL) { NULL 195 lib/cib/cib_native.c if (rc != pcmk_ok || native->ipc == NULL || crm_ipc_connected(native->ipc) == FALSE) { NULL 201 lib/cib/cib_native.c xmlNode *reply = NULL; NULL 202 lib/cib/cib_native.c xmlNode *hello = create_xml_node(NULL, "cib_command"); NULL 222 lib/cib/cib_native.c if (native->token == NULL) { NULL 256 lib/cib/cib_native.c if (native->source != NULL) { NULL 259 lib/cib/cib_native.c native->source = NULL; NULL 260 lib/cib/cib_native.c native->ipc = NULL; NULL 266 lib/cib/cib_native.c native->ipc = NULL; NULL 303 lib/cib/cib_native.c data, output_data, call_options, NULL); NULL 315 lib/cib/cib_native.c xmlNode *op_msg = NULL; NULL 316 lib/cib/cib_native.c xmlNode *op_reply = NULL; NULL 324 lib/cib/cib_native.c if (output_data != NULL) { NULL 325 lib/cib/cib_native.c *output_data = NULL; NULL 328 lib/cib/cib_native.c if (op == NULL) { NULL 342 lib/cib/cib_native.c CRM_CHECK(native->token != NULL,; NULL 347 lib/cib/cib_native.c if (op_msg == NULL) { NULL 381 lib/cib/cib_native.c if (output_data == NULL || (call_options & cib_discard_reply)) { NULL 384 lib/cib/cib_native.c } else if (tmp != NULL) { NULL 401 lib/cib/cib_native.c if (op_reply == NULL && cib->state == cib_disconnected) { NULL 404 lib/cib/cib_native.c } else if (rc == pcmk_ok && op_reply == NULL) { NULL 446 lib/cib/cib_native.c cib_native_opaque_t *native = NULL; NULL 448 lib/cib/cib_native.c if (cib == NULL) { NULL 463 lib/cib/cib_native.c xmlNode *notify_msg = create_xml_node(NULL, "cib-callback"); NULL 471 lib/cib/cib_native.c 1000 * cib->call_timeout, NULL); NULL 33 lib/cib/cib_ops.c xmlNode *obj_root = NULL; NULL 43 lib/cib/cib_ops.c CRM_CHECK(*answer == NULL, free_xml(*answer)); NULL 44 lib/cib/cib_ops.c *answer = NULL; NULL 47 lib/cib/cib_ops.c section = NULL; NULL 52 lib/cib/cib_ops.c if (obj_root == NULL) { NULL 66 lib/cib/cib_ops.c if (result == pcmk_ok && *answer == NULL) { NULL 81 lib/cib/cib_ops.c *answer = NULL; NULL 103 lib/cib/cib_ops.c *answer = NULL; NULL 106 lib/cib/cib_ops.c if (value != NULL) { NULL 135 lib/cib/cib_ops.c *answer = NULL; NULL 144 lib/cib/cib_ops.c char *new_value = NULL; NULL 145 lib/cib/cib_ops.c char *old_value = NULL; NULL 148 lib/cib/cib_ops.c if (reset == FALSE && crm_element_value(xml_obj, field) != NULL) { NULL 151 lib/cib/cib_ops.c if (old_value != NULL) { NULL 172 lib/cib/cib_ops.c const char *tag = NULL; NULL 182 lib/cib/cib_ops.c *answer = NULL; NULL 184 lib/cib/cib_ops.c if (input == NULL) { NULL 191 lib/cib/cib_ops.c section = NULL; NULL 194 lib/cib/cib_ops.c section = NULL; NULL 206 lib/cib/cib_ops.c const char *reason = NULL; NULL 249 lib/cib/cib_ops.c if (reason != NULL) { NULL 265 lib/cib/cib_ops.c xmlNode *obj_root = NULL; NULL 269 lib/cib/cib_ops.c ok = replace_xml_child(NULL, obj_root, input, FALSE); NULL 283 lib/cib/cib_ops.c xmlNode *obj_root = NULL; NULL 292 lib/cib/cib_ops.c if (input == NULL) { NULL 299 lib/cib/cib_ops.c xmlNode *child = NULL; NULL 302 lib/cib/cib_ops.c if (replace_xml_child(NULL, obj_root, child, TRUE) == FALSE) { NULL 307 lib/cib/cib_ops.c } else if (replace_xml_child(NULL, obj_root, input, TRUE) == FALSE) { NULL 318 lib/cib/cib_ops.c xmlNode *obj_root = NULL; NULL 327 lib/cib/cib_ops.c if (input == NULL) { NULL 333 lib/cib/cib_ops.c if (obj_root == NULL) { NULL 334 lib/cib/cib_ops.c xmlNode *tmp_section = NULL; NULL 337 lib/cib/cib_ops.c if (path == NULL) { NULL 341 lib/cib/cib_ops.c tmp_section = create_xml_node(NULL, section); NULL 342 lib/cib/cib_ops.c cib_process_xpath(CIB_OP_CREATE, 0, path, NULL, tmp_section, NULL, result_cib, answer); NULL 348 lib/cib/cib_ops.c CRM_CHECK(obj_root != NULL, return -EINVAL); NULL 385 lib/cib/cib_ops.c xmlNode *target = NULL; NULL 386 lib/cib/cib_ops.c xmlNode *a_child = NULL; NULL 387 lib/cib/cib_ops.c const char *replace = NULL; NULL 388 lib/cib/cib_ops.c const char *object_id = NULL; NULL 389 lib/cib/cib_ops.c const char *object_name = NULL; NULL 391 lib/cib/cib_ops.c CRM_CHECK(update != NULL, return -EINVAL); NULL 392 lib/cib/cib_ops.c CRM_CHECK(parent != NULL, return -EINVAL); NULL 395 lib/cib/cib_ops.c CRM_CHECK(object_name != NULL, return -EINVAL); NULL 400 lib/cib/cib_ops.c if (object_id == NULL) { NULL 408 lib/cib/cib_ops.c if (target == NULL) { NULL 415 lib/cib/cib_ops.c if (replace != NULL) { NULL 416 lib/cib/cib_ops.c xmlNode *remove = NULL; NULL 422 lib/cib/cib_ops.c char *replace_item = NULL; NULL 432 lib/cib/cib_ops.c if (remove != NULL) { NULL 436 lib/cib/cib_ops.c remove = NULL; NULL 452 lib/cib/cib_ops.c for (a_child = pcmk__xml_first_child(update); a_child != NULL; NULL 479 lib/cib/cib_ops.c const char *object_name = NULL; NULL 480 lib/cib/cib_ops.c const char *object_id = NULL; NULL 481 lib/cib/cib_ops.c xmlNode *equiv_node = NULL; NULL 483 lib/cib/cib_ops.c if (new_obj != NULL) { NULL 490 lib/cib/cib_ops.c if (new_obj == NULL || object_name == NULL) { NULL 493 lib/cib/cib_ops.c } else if (parent == NULL) { NULL 496 lib/cib/cib_ops.c } else if (object_id == NULL) { NULL 508 lib/cib/cib_ops.c } else if (equiv_node != NULL) { NULL 522 lib/cib/cib_ops.c xmlNode *failed = NULL; NULL 524 lib/cib/cib_ops.c xmlNode *update_section = NULL; NULL 528 lib/cib/cib_ops.c section = NULL; NULL 531 lib/cib/cib_ops.c section = NULL; NULL 534 lib/cib/cib_ops.c section = NULL; NULL 539 lib/cib/cib_ops.c if (input == NULL) { NULL 544 lib/cib/cib_ops.c if (section == NULL) { NULL 549 lib/cib/cib_ops.c failed = create_xml_node(NULL, XML_TAG_FAILED); NULL 553 lib/cib/cib_ops.c xmlNode *a_child = NULL; NULL 555 lib/cib/cib_ops.c for (a_child = pcmk__xml_first_child(input); a_child != NULL; NULL 587 lib/cib/cib_ops.c const char *originator = NULL; NULL 589 lib/cib/cib_ops.c if (req != NULL) { NULL 607 lib/cib/cib_ops.c xmlXPathObject *xpathObj = NULL; NULL 610 lib/cib/cib_ops.c CRM_ASSERT(diff != NULL); NULL 612 lib/cib/cib_ops.c if (*diff == NULL && last != NULL && next != NULL) { NULL 616 lib/cib/cib_ops.c if (*diff == NULL) { NULL 642 lib/cib/cib_ops.c if (crm_element_value(top, XML_ATTR_GENERATION) != NULL) { NULL 646 lib/cib/cib_ops.c if (crm_element_value(top, XML_ATTR_GENERATION_ADMIN) != NULL) { NULL 651 lib/cib/cib_ops.c if (crm_element_value(top, XML_ATTR_VALIDATION) != NULL) { NULL 655 lib/cib/cib_ops.c if (crm_element_value(top, XML_ATTR_CRM_VERSION) != NULL) { NULL 659 lib/cib/cib_ops.c if (crm_element_value(top, "remote-clear-port") != NULL) { NULL 663 lib/cib/cib_ops.c if (crm_element_value(top, "remote-tls-port") != NULL) { NULL 683 lib/cib/cib_ops.c xmlXPathObjectPtr xpathObj = NULL; NULL 704 lib/cib/cib_ops.c *answer = create_xml_node(NULL, "xpath-query"); NULL 713 lib/cib/cib_ops.c xmlChar *path = NULL; NULL 716 lib/cib/cib_ops.c if (match == NULL) { NULL 756 lib/cib/cib_ops.c if (*answer == NULL) { NULL 761 lib/cib/cib_ops.c char *path = NULL; NULL 766 lib/cib/cib_ops.c char *new_path = NULL; NULL 782 lib/cib/cib_ops.c if (*answer == NULL) { NULL 783 lib/cib/cib_ops.c *answer = create_xml_node(NULL, "xpath-query"); NULL 800 lib/cib/cib_ops.c if (input != NULL) { NULL 818 lib/cib/cib_ops.c xmlNode *xml_node = NULL; NULL 820 lib/cib/cib_ops.c const char *error_msg = NULL; NULL 94 lib/cib/cib_remote.c xmlNode *notify_msg = create_xml_node(NULL, "cib_command"); NULL 109 lib/cib/cib_remote.c cib_remote_opaque_t *private = NULL; NULL 163 lib/cib/cib_remote.c private->command.tls_session = NULL; NULL 164 lib/cib/cib_remote.c private->callback.tls_session = NULL; NULL 186 lib/cib/cib_remote.c private->command.buffer = NULL; NULL 187 lib/cib/cib_remote.c private->callback.buffer = NULL; NULL 198 lib/cib/cib_remote.c xmlNode *answer = NULL; NULL 199 lib/cib/cib_remote.c xmlNode *login = NULL; NULL 209 lib/cib/cib_remote.c connection->tls_session = NULL; NULL 211 lib/cib/cib_remote.c rc = pcmk__connect_remote(private->server, private->port, 0, NULL, NULL 212 lib/cib/cib_remote.c &(connection->tcp_socket), NULL, NULL); NULL 233 lib/cib/cib_remote.c if (connection->tls_session == NULL) { NULL 244 lib/cib/cib_remote.c connection->tls_session = NULL; NULL 254 lib/cib/cib_remote.c login = create_xml_node(NULL, "cib_command"); NULL 271 lib/cib/cib_remote.c if (answer == NULL) { NULL 283 lib/cib/cib_remote.c } else if (tmp_ticket == NULL) { NULL 291 lib/cib/cib_remote.c answer = NULL; NULL 325 lib/cib/cib_remote.c private->command.buffer = NULL; NULL 341 lib/cib/cib_remote.c xmlNode *msg = NULL; NULL 380 lib/cib/cib_remote.c if (private->passwd == NULL) { NULL 381 lib/cib/cib_remote.c if (private->out == NULL) { NULL 391 lib/cib/cib_remote.c if (private->server == NULL || private->user == NULL) { NULL 405 lib/cib/cib_remote.c cib_create_op(0, private->callback.token, CRM_OP_REGISTER, NULL, NULL, NULL, 0, NULL); NULL 474 lib/cib/cib_remote.c xmlNode *op_msg = NULL; NULL 475 lib/cib/cib_remote.c xmlNode *op_reply = NULL; NULL 483 lib/cib/cib_remote.c if (output_data != NULL) { NULL 484 lib/cib/cib_remote.c *output_data = NULL; NULL 487 lib/cib/cib_remote.c if (op == NULL) { NULL 499 lib/cib/cib_remote.c NULL); NULL 500 lib/cib/cib_remote.c if (op_msg == NULL) { NULL 522 lib/cib/cib_remote.c start_time = time(NULL); NULL 556 lib/cib/cib_remote.c op_reply = NULL; NULL 559 lib/cib/cib_remote.c remaining_time = time(NULL) - start_time; NULL 571 lib/cib/cib_remote.c } else if (op_reply == NULL) { NULL 597 lib/cib/cib_remote.c if (output_data == NULL) { NULL 603 lib/cib/cib_remote.c if (tmp == NULL) { NULL 41 lib/cib/cib_utils.c { NULL, NULL, "//cib" }, NULL 42 lib/cib/cib_utils.c { XML_TAG_CIB, NULL, "//cib" }, NULL 55 lib/cib/cib_utils.c { XML_CIB_TAG_SECTION_ALL, NULL, "//cib" }, NULL 62 lib/cib/cib_utils.c xmlNode *the_cib = NULL; NULL 63 lib/cib/cib_utils.c xmlNode *generation = create_xml_node(NULL, XML_CIB_TAG_GENERATION_TUPPLE); NULL 65 lib/cib/cib_utils.c cib->cmds->query(cib, NULL, &the_cib, cib_scope_local | cib_sync_call); NULL 66 lib/cib/cib_utils.c if (the_cib != NULL) { NULL 81 lib/cib/cib_utils.c if (cib == NULL) { NULL 123 lib/cib/cib_utils.c if ((object_type == NULL && known_paths[lpc].name == NULL) NULL 128 lib/cib/cib_utils.c return NULL; NULL 142 lib/cib/cib_utils.c return NULL; NULL 150 lib/cib/cib_utils.c if (xpath == NULL) { NULL 168 lib/cib/cib_utils.c xmlNode *cib_root = NULL, *config = NULL; NULL 170 lib/cib/cib_utils.c cib_root = create_xml_node(NULL, XML_TAG_CIB); NULL 208 lib/cib/cib_utils.c const char *value = NULL; NULL 229 lib/cib/cib_utils.c xmlNode *top = NULL; NULL 230 lib/cib/cib_utils.c xmlNode *scratch = NULL; NULL 231 lib/cib/cib_utils.c xmlNode *local_diff = NULL; NULL 233 lib/cib/cib_utils.c const char *new_version = NULL; NULL 234 lib/cib/cib_utils.c static struct qb_log_callsite *diff_cs = NULL; NULL 242 lib/cib/cib_utils.c CRM_CHECK(output != NULL, return -ENOMSG); NULL 243 lib/cib/cib_utils.c CRM_CHECK(result_cib != NULL, return -ENOMSG); NULL 244 lib/cib/cib_utils.c CRM_CHECK(config_changed != NULL, return -ENOMSG); NULL 247 lib/cib/cib_utils.c *output = NULL; NULL 250 lib/cib/cib_utils.c *result_cib = NULL; NULL 253 lib/cib/cib_utils.c if (fn == NULL) { NULL 259 lib/cib/cib_utils.c xmlNode *cib_filtered = NULL; NULL 263 lib/cib/cib_utils.c if (cib_filtered == NULL) { NULL 274 lib/cib/cib_utils.c if(output == NULL || *output == NULL) { NULL 278 lib/cib/cib_utils.c cib_filtered = NULL; /* Let them have this copy */ NULL 303 lib/cib/cib_utils.c current_cib = create_xml_node(NULL, (const char *)scratch->name); NULL 307 lib/cib/cib_utils.c xml_track_changes(scratch, user, NULL, cib_acl_enabled(scratch, user)); NULL 312 lib/cib/cib_utils.c xml_track_changes(scratch, user, NULL, cib_acl_enabled(scratch, user)); NULL 325 lib/cib/cib_utils.c if (rc == pcmk_ok && scratch == NULL) { NULL 390 lib/cib/cib_utils.c time_t tm_now = time(NULL); NULL 403 lib/cib/cib_utils.c if (diff_cs == NULL) { NULL 426 lib/cib/cib_utils.c save_xml_to_file(c, "PatchApply:calculated", NULL); NULL 427 lib/cib/cib_utils.c save_xml_to_file(current_cib, "PatchApply:input", NULL); NULL 428 lib/cib/cib_utils.c save_xml_to_file(scratch, "PatchApply:actual", NULL); NULL 429 lib/cib/cib_utils.c save_xml_to_file(local_diff, "PatchApply:diff", NULL); NULL 471 lib/cib/cib_utils.c CRM_LOG_ASSERT(origin != NULL); NULL 481 lib/cib/cib_utils.c if ((rc == pcmk_ok) && check_schema && !validate_xml(scratch, NULL, TRUE)) { NULL 495 lib/cib/cib_utils.c if (*result_cib == NULL) { NULL 517 lib/cib/cib_utils.c xmlNode *op_msg = create_xml_node(NULL, "cib_command"); NULL 519 lib/cib/cib_utils.c CRM_CHECK(op_msg != NULL, return NULL); NULL 520 lib/cib/cib_utils.c CRM_CHECK(token != NULL, return NULL); NULL 536 lib/cib/cib_utils.c if (data != NULL) { NULL 541 lib/cib/cib_utils.c CRM_CHECK((call_options & cib_scope_local), return NULL); NULL 549 lib/cib/cib_utils.c xmlNode *output = NULL; NULL 550 lib/cib/cib_utils.c cib_callback_client_t *blob = NULL; NULL 552 lib/cib/cib_utils.c if (msg != NULL) { NULL 559 lib/cib/cib_utils.c if (blob == NULL) { NULL 563 lib/cib/cib_utils.c if (cib == NULL) { NULL 576 lib/cib/cib_utils.c } else if (cib && cib->op_callback == NULL && rc != pcmk_ok) { NULL 586 lib/cib/cib_utils.c if (cib && cib->op_callback != NULL) { NULL 598 lib/cib/cib_utils.c const char *event = NULL; NULL 600 lib/cib/cib_utils.c if (msg == NULL) { NULL 607 lib/cib/cib_utils.c if (entry == NULL) { NULL 611 lib/cib/cib_utils.c } else if (entry->callback == NULL) { NULL 632 lib/cib/cib_utils.c "enable-acl", NULL, "boolean", NULL, NULL 635 lib/cib/cib_utils.c NULL NULL 638 lib/cib/cib_utils.c "cluster-ipc-limit", NULL, "integer", NULL, NULL 673 lib/cib/cib_utils.c xmlNode *config = NULL; NULL 674 lib/cib/cib_utils.c crm_time_t *now = NULL; NULL 676 lib/cib/cib_utils.c if (options == NULL || current_cib == NULL) { NULL 680 lib/cib/cib_utils.c now = crm_time_new(NULL); NULL 686 lib/cib/cib_utils.c pe_unpack_nvpairs(current_cib, config, XML_CIB_TAG_PROPSET, NULL, NULL 687 lib/cib/cib_utils.c options, CIB_OPTIONS_FIRST, TRUE, now, NULL); NULL 728 lib/cib/cib_utils.c if(user_name == NULL) { NULL 752 lib/cib/cib_utils.c xmlNode *diff = NULL; NULL 761 lib/cib/cib_utils.c if (rc < pcmk_ok || diff == NULL) { NULL 769 lib/cib/cib_utils.c if (input != NULL) { NULL 770 lib/cib/cib_utils.c rc = cib_process_diff(NULL, cib_none, NULL, event, diff, input, output, NULL 771 lib/cib/cib_utils.c NULL); NULL 782 lib/cib/cib_utils.c *output = NULL; NULL 40 lib/cluster/cluster.c char *uuid = NULL; NULL 43 lib/cluster/cluster.c if (peer == NULL) { NULL 44 lib/cluster/cluster.c return NULL; NULL 46 lib/cluster/cluster.c if (peer->uuid != NULL) { NULL 157 lib/cluster/cluster.c static char *name = NULL; NULL 159 lib/cluster/cluster.c if (name == NULL) { NULL 177 lib/cluster/cluster.c char *name = NULL; NULL 191 lib/cluster/cluster.c if ((name == NULL) && (nodeid == 0)) { NULL 193 lib/cluster/cluster.c if (name == NULL) { NULL 203 lib/cluster/cluster.c if (name == NULL) { NULL 224 lib/cluster/cluster.c crm_node_t *node = NULL; NULL 226 lib/cluster/cluster.c CRM_CHECK(uuid != NULL, return NULL); NULL 235 lib/cluster/cluster.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 237 lib/cluster/cluster.c if (node->uname != NULL) { NULL 243 lib/cluster/cluster.c node = NULL; NULL 252 lib/cluster/cluster.c return NULL; NULL 255 lib/cluster/cluster.c node = pcmk__search_cluster_node_cache((uint32_t) id, NULL); NULL 256 lib/cluster/cluster.c if (node != NULL) { NULL 262 lib/cluster/cluster.c return NULL; NULL 266 lib/cluster/cluster.c return NULL; NULL 314 lib/cluster/cluster.c const char *cluster = NULL; NULL 326 lib/cluster/cluster.c if (cluster == NULL) { NULL 338 lib/cluster/cluster.c ((cluster == NULL)? "-unspecified-" : cluster)); NULL 339 lib/cluster/cluster.c if (cluster == NULL) { NULL 43 lib/cluster/corosync.c gboolean quorate) = NULL; NULL 57 lib/cluster/corosync.c if ((node != NULL) && is_corosync_cluster()) { NULL 64 lib/cluster/corosync.c return NULL; NULL 72 lib/cluster/corosync.c if (name == NULL) { NULL 80 lib/cluster/corosync.c } else if (strstr(name, ":") != NULL) { NULL 108 lib/cluster/corosync.c char *name = NULL; NULL 166 lib/cluster/corosync.c while (name == NULL && cmap_handle != 0) { NULL 168 lib/cluster/corosync.c char *key = NULL; NULL 182 lib/cluster/corosync.c if (name == NULL) { NULL 188 lib/cluster/corosync.c if (name == NULL) { NULL 195 lib/cluster/corosync.c name = NULL; NULL 210 lib/cluster/corosync.c if (name == NULL) { NULL 272 lib/cluster/corosync.c crm_node_t *node = NULL; NULL 301 lib/cluster/corosync.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 312 lib/cluster/corosync.c node = crm_get_peer(id, NULL); NULL 313 lib/cluster/corosync.c if (node->uname == NULL) { NULL 420 lib/cluster/corosync.c pcmk__corosync_add_nodes(NULL); NULL 437 lib/cluster/corosync.c crm_node_t *peer = NULL; NULL 461 lib/cluster/corosync.c if (cluster->uname == NULL) { NULL 517 lib/cluster/corosync.c if (node == NULL) { NULL 597 lib/cluster/corosync.c char *name = NULL; NULL 598 lib/cluster/corosync.c char *key = NULL; NULL 609 lib/cluster/corosync.c if (name != NULL) { NULL 611 lib/cluster/corosync.c crm_node_t *node = NULL; NULL 614 lib/cluster/corosync.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 625 lib/cluster/corosync.c if (nodeid > 0 || name != NULL) { NULL 630 lib/cluster/corosync.c if (nodeid > 0 && name != NULL) { NULL 658 lib/cluster/corosync.c char *cluster_name = NULL; NULL 670 lib/cluster/corosync.c return NULL; NULL 786 lib/cluster/corosync.c cs_rc = cmap_iter_next(cmap_handle, iter_handle, key_name, NULL, NULL); NULL 43 lib/cluster/cpg.c static GList *cs_message_queue = NULL; NULL 237 lib/cluster/cpg.c while ((cs_message_queue != NULL) && (sent < CS_SEND_MAX)) { NULL 255 lib/cluster/cpg.c if ((sent > 1) || (cs_message_queue != NULL)) { NULL 447 lib/cluster/cpg.c char *data = NULL; NULL 457 lib/cluster/cpg.c return NULL; NULL 462 lib/cluster/cpg.c return NULL; NULL 466 lib/cluster/cpg.c return NULL; NULL 471 lib/cluster/cpg.c crm_node_t *peer = crm_get_peer(nodeid, NULL); NULL 473 lib/cluster/cpg.c if (peer == NULL) { NULL 476 lib/cluster/cpg.c } else if (peer->uname == NULL) { NULL 492 lib/cluster/cpg.c if (kind != NULL) { NULL 495 lib/cluster/cpg.c if (from != NULL) { NULL 501 lib/cluster/cpg.c char *uncompressed = NULL; NULL 546 lib/cluster/cpg.c return NULL; NULL 607 lib/cluster/cpg.c if (peer == NULL) { NULL 609 lib/cluster/cpg.c } else if (peer->uname == NULL) { NULL 642 lib/cluster/cpg.c CRM_ASSERT(sorted != NULL); NULL 653 lib/cluster/cpg.c NULL); NULL 654 lib/cluster/cpg.c const struct cpg_address **rival = NULL; NULL 678 lib/cluster/cpg.c if (rival == NULL) { NULL 700 lib/cluster/cpg.c sorted = NULL; NULL 709 lib/cluster/cpg.c crm_node_t *peer = crm_get_peer(member_list[i].nodeid, NULL); NULL 736 lib/cluster/cpg.c time_t now = time(NULL); NULL 777 lib/cluster/cpg.c crm_node_t *peer = NULL; NULL 861 lib/cluster/cpg.c peer = crm_get_peer(id, NULL); NULL 880 lib/cluster/cpg.c char *data = NULL; NULL 907 lib/cluster/cpg.c static const char *local_name = NULL; NULL 909 lib/cluster/cpg.c char *target = NULL; NULL 911 lib/cluster/cpg.c pcmk__cpg_msg_t *msg = NULL; NULL 924 lib/cluster/cpg.c if (local_name == NULL) { NULL 927 lib/cluster/cpg.c if ((local_name_len == 0) && (local_name != NULL)) { NULL 931 lib/cluster/cpg.c if (data == NULL) { NULL 972 lib/cluster/cpg.c if ((local_name != NULL) && (msg->sender.size != 0)) { NULL 984 lib/cluster/cpg.c char *compressed = NULL; NULL 1042 lib/cluster/cpg.c CRM_CHECK(text != NULL, return type); NULL 1048 lib/cluster/cpg.c } else if (pcmk__strcase_any_of(text, CRM_SYSTEM_CRMD, CRM_SYSTEM_DC, NULL)) { NULL 43 lib/cluster/election.c if (e->cb != NULL) { NULL 69 lib/cluster/election.c return (e == NULL)? election_error : e->state; NULL 91 lib/cluster/election.c election_t *e = NULL; NULL 95 lib/cluster/election.c CRM_CHECK(uname != NULL, return NULL); NULL 98 lib/cluster/election.c if (e == NULL) { NULL 100 lib/cluster/election.c return NULL; NULL 104 lib/cluster/election.c if (e->uname == NULL) { NULL 107 lib/cluster/election.c return NULL; NULL 131 lib/cluster/election.c if ((e != NULL) && (uname != NULL) && (e->voted != NULL)) { NULL 145 lib/cluster/election.c if (e != NULL) { NULL 151 lib/cluster/election.c e->voted = NULL; NULL 167 lib/cluster/election.c if (e != NULL) { NULL 180 lib/cluster/election.c if (e != NULL) { NULL 193 lib/cluster/election.c if (e != NULL) { NULL 207 lib/cluster/election.c if (e != NULL) { NULL 220 lib/cluster/election.c time_t tm_now = time(NULL); NULL 292 lib/cluster/election.c xmlNode *vote = NULL; NULL 295 lib/cluster/election.c if (e == NULL) { NULL 301 lib/cluster/election.c if ((our_node == NULL) || (crm_is_peer_active(our_node) == FALSE)) { NULL 309 lib/cluster/election.c vote = create_request(CRM_OP_VOTE, NULL, NULL, CRM_SYSTEM_CRMD, CRM_SYSTEM_CRMD, NULL); NULL 318 lib/cluster/election.c send_cluster_message(NULL, crm_msg_crmd, vote, TRUE); NULL 347 lib/cluster/election.c if (e == NULL) { NULL 351 lib/cluster/election.c if (e->voted == NULL) { NULL 369 lib/cluster/election.c char *key = NULL; NULL 373 lib/cluster/election.c while (g_hash_table_iter_next(&gIter, NULL, (gpointer *) & node)) { NULL 380 lib/cluster/election.c while (g_hash_table_iter_next(&gIter, (gpointer *) & key, NULL)) { NULL 436 lib/cluster/election.c if ((vote->op == NULL) || (vote->from == NULL) || (vote->version == NULL) NULL 437 lib/cluster/election.c || (vote->election_owner == NULL) || (vote->election_id < 0)) { NULL 466 lib/cluster/election.c if (e == NULL) { NULL 475 lib/cluster/election.c if (crm_peer_cache == NULL) { NULL 486 lib/cluster/election.c char *voter_copy = NULL; NULL 487 lib/cluster/election.c char *vote_copy = NULL; NULL 490 lib/cluster/election.c if (e->voted == NULL) { NULL 506 lib/cluster/election.c xmlNode *novote = create_request(CRM_OP_NOVOTE, NULL, vote->from, NULL 507 lib/cluster/election.c CRM_SYSTEM_CRMD, CRM_SYSTEM_CRMD, NULL); NULL 539 lib/cluster/election.c crm_node_t *our_node = NULL, *your_node = NULL; NULL 540 lib/cluster/election.c time_t tm_now = time(NULL); NULL 543 lib/cluster/election.c CRM_CHECK(message != NULL, return election_error); NULL 550 lib/cluster/election.c we_are_owner = (our_node != NULL) NULL 558 lib/cluster/election.c } else if (our_node == NULL || crm_is_peer_active(our_node) == FALSE) { NULL 568 lib/cluster/election.c } else if (your_node == NULL || crm_is_peer_active(your_node) == FALSE) { NULL 650 lib/cluster/election.c crm_write_blackbox(0, NULL); NULL 36 lib/cluster/membership.c GHashTable *crm_peer_cache = NULL; NULL 53 lib/cluster/membership.c GHashTable *crm_remote_peer_cache = NULL; NULL 61 lib/cluster/membership.c static GHashTable *known_node_cache = NULL; NULL 89 lib/cluster/membership.c if (crm_remote_peer_cache == NULL) { NULL 111 lib/cluster/membership.c if (node_name == NULL) { NULL 113 lib/cluster/membership.c return NULL; NULL 124 lib/cluster/membership.c if (node == NULL) { NULL 125 lib/cluster/membership.c return NULL; NULL 131 lib/cluster/membership.c if (node->uuid == NULL) { NULL 134 lib/cluster/membership.c return NULL; NULL 197 lib/cluster/membership.c const char *state = NULL; NULL 200 lib/cluster/membership.c CRM_CHECK(remote != NULL, return); NULL 210 lib/cluster/membership.c if (node == NULL) { NULL 255 lib/cluster/membership.c g_hash_table_foreach(crm_remote_peer_cache, mark_dirty, NULL); NULL 279 lib/cluster/membership.c g_hash_table_foreach_remove(crm_remote_peer_cache, is_dirty, NULL); NULL 285 lib/cluster/membership.c if(node == NULL) { NULL 309 lib/cluster/membership.c if (search == NULL) { NULL 340 lib/cluster/membership.c if (crm_peer_cache == NULL) { NULL 346 lib/cluster/membership.c search.uname = name ? strdup(name) : NULL; NULL 403 lib/cluster/membership.c if (crm_peer_cache == NULL) { NULL 407 lib/cluster/membership.c if (crm_remote_peer_cache == NULL) { NULL 408 lib/cluster/membership.c crm_remote_peer_cache = pcmk__strikey_table(NULL, destroy_crm_node); NULL 411 lib/cluster/membership.c if (known_node_cache == NULL) { NULL 419 lib/cluster/membership.c if (crm_peer_cache != NULL) { NULL 422 lib/cluster/membership.c crm_peer_cache = NULL; NULL 425 lib/cluster/membership.c if (crm_remote_peer_cache != NULL) { NULL 428 lib/cluster/membership.c crm_remote_peer_cache = NULL; NULL 431 lib/cluster/membership.c if (known_node_cache != NULL) { NULL 435 lib/cluster/membership.c known_node_cache = NULL; NULL 441 lib/cluster/membership.c const void *) = NULL; NULL 480 lib/cluster/membership.c const char *id = NULL; NULL 481 lib/cluster/membership.c crm_node_t *node = NULL; NULL 508 lib/cluster/membership.c crm_node_t *node = NULL; NULL 510 lib/cluster/membership.c CRM_ASSERT(id > 0 || uname != NULL); NULL 514 lib/cluster/membership.c if ((uname != NULL) && pcmk_is_set(flags, CRM_GET_PEER_REMOTE)) { NULL 518 lib/cluster/membership.c if ((node == NULL) && pcmk_is_set(flags, CRM_GET_PEER_CLUSTER)) { NULL 536 lib/cluster/membership.c crm_node_t *node = NULL; NULL 538 lib/cluster/membership.c CRM_ASSERT(id > 0 || uname != NULL); NULL 546 lib/cluster/membership.c if ((node == NULL) && pcmk_is_set(flags, CRM_GET_PEER_CLUSTER)) { NULL 565 lib/cluster/membership.c crm_node_t *node = NULL; NULL 566 lib/cluster/membership.c crm_node_t *by_id = NULL; NULL 567 lib/cluster/membership.c crm_node_t *by_name = NULL; NULL 569 lib/cluster/membership.c CRM_ASSERT(id > 0 || uname != NULL); NULL 573 lib/cluster/membership.c if (uname != NULL) { NULL 575 lib/cluster/membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 586 lib/cluster/membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 600 lib/cluster/membership.c } else if(by_id == NULL && by_name) { NULL 607 lib/cluster/membership.c node = NULL; /* Create a new one */ NULL 613 lib/cluster/membership.c } else if(by_name == NULL && by_id) { NULL 659 lib/cluster/membership.c crm_node_t *existing_node = NULL; NULL 661 lib/cluster/membership.c if (node->id == 0 || node->uname == NULL) { NULL 670 lib/cluster/membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &existing_node)) { NULL 673 lib/cluster/membership.c && existing_node->uname != NULL NULL 704 lib/cluster/membership.c crm_node_t *node = NULL; NULL 705 lib/cluster/membership.c char *uname_lookup = NULL; NULL 707 lib/cluster/membership.c CRM_ASSERT(id > 0 || uname != NULL); NULL 715 lib/cluster/membership.c if ((node == NULL || node->uname == NULL) && (uname == NULL)) { NULL 724 lib/cluster/membership.c if (node == NULL) { NULL 730 lib/cluster/membership.c if (node == NULL) { NULL 741 lib/cluster/membership.c if(id > 0 && uname && (node->id == 0 || node->uname == NULL)) { NULL 749 lib/cluster/membership.c if (uname && (node->uname == NULL)) { NULL 753 lib/cluster/membership.c if(node->uuid == NULL) { NULL 783 lib/cluster/membership.c CRM_CHECK(uname != NULL, NULL 785 lib/cluster/membership.c CRM_CHECK(node != NULL, NULL 804 lib/cluster/membership.c CRM_ASSERT(node->uname != NULL); NULL 806 lib/cluster/membership.c if (peer_status_callback != NULL) { NULL 807 lib/cluster/membership.c peer_status_callback(crm_status_uname, node, NULL); NULL 881 lib/cluster/membership.c CRM_CHECK(node != NULL, crm_err("%s: Could not set %s to %s for NULL", NULL 883 lib/cluster/membership.c return NULL); NULL 891 lib/cluster/membership.c if (status == NULL) { NULL 915 lib/cluster/membership.c if (status == NULL && flag <= crm_proc_none) { NULL 926 lib/cluster/membership.c if (peer_status_callback != NULL) { NULL 933 lib/cluster/membership.c if (crm_peer_cache == NULL) { NULL 934 lib/cluster/membership.c return NULL; NULL 938 lib/cluster/membership.c const char *peer_state = NULL; NULL 966 lib/cluster/membership.c char *last = NULL; NULL 969 lib/cluster/membership.c CRM_CHECK(node != NULL, crm_err("%s: Could not set 'expected' to %s", source, expected); NULL 978 lib/cluster/membership.c if (expected != NULL && !pcmk__str_eq(node->expected, expected, pcmk__str_casei)) { NULL 1015 lib/cluster/membership.c CRM_CHECK(node != NULL, NULL 1018 lib/cluster/membership.c return NULL); NULL 1035 lib/cluster/membership.c if (peer_status_callback != NULL) { NULL 1053 lib/cluster/membership.c node = NULL; NULL 1082 lib/cluster/membership.c return update_peer_state_iter(source, node, state, membership, NULL); NULL 1095 lib/cluster/membership.c crm_node_t *node = NULL; NULL 1099 lib/cluster/membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *)&node)) { NULL 1122 lib/cluster/membership.c crm_node_t *node = NULL; NULL 1123 lib/cluster/membership.c crm_node_t *by_id = NULL; NULL 1124 lib/cluster/membership.c crm_node_t *by_name = NULL; NULL 1128 lib/cluster/membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 1139 lib/cluster/membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 1153 lib/cluster/membership.c } else if (by_id == NULL && by_name) { NULL 1157 lib/cluster/membership.c node = NULL; NULL 1163 lib/cluster/membership.c } else if (by_name == NULL && by_id) { NULL 1167 lib/cluster/membership.c node = NULL; NULL 1182 lib/cluster/membership.c node = NULL; NULL 1185 lib/cluster/membership.c if (node == NULL) { NULL 1201 lib/cluster/membership.c crm_node_t * node = NULL; NULL 1203 lib/cluster/membership.c CRM_CHECK(id != NULL && uname !=NULL, return); NULL 1206 lib/cluster/membership.c if (node == NULL) { NULL 1210 lib/cluster/membership.c CRM_ASSERT(node != NULL); NULL 1213 lib/cluster/membership.c CRM_ASSERT(node->uname != NULL); NULL 1216 lib/cluster/membership.c CRM_ASSERT(node->uuid != NULL); NULL 1224 lib/cluster/membership.c CRM_ASSERT(node->uname != NULL); NULL 1238 lib/cluster/membership.c g_hash_table_foreach(known_node_cache, mark_dirty, NULL); NULL 1241 lib/cluster/membership.c known_node_cache_refresh_helper, NULL); NULL 1244 lib/cluster/membership.c g_hash_table_foreach_remove(known_node_cache, is_dirty, NULL); NULL 1268 lib/cluster/membership.c crm_node_t *node = NULL; NULL 1269 lib/cluster/membership.c char *id_str = NULL; NULL 1271 lib/cluster/membership.c CRM_ASSERT(id > 0 || uname != NULL); NULL 54 lib/common/acl.c xml_acl_t *acl = NULL; NULL 61 lib/common/acl.c if (tag == NULL) { NULL 65 lib/common/acl.c if (ref == NULL) { NULL 70 lib/common/acl.c if ((tag == NULL) && (ref == NULL) && (xpath == NULL)) { NULL 74 lib/common/acl.c return NULL; NULL 78 lib/common/acl.c CRM_ASSERT(acl != NULL); NULL 83 lib/common/acl.c CRM_ASSERT(acl->xpath != NULL); NULL 127 lib/common/acl.c CRM_ASSERT(acl->xpath != NULL); NULL 149 lib/common/acl.c xmlNode *child = NULL; NULL 157 lib/common/acl.c CRM_ASSERT(kind != NULL); NULL 169 lib/common/acl.c xmlNode *role = NULL; NULL 245 lib/common/acl.c GList *aIter = NULL; NULL 247 lib/common/acl.c xmlXPathObjectPtr xpathObj = NULL; NULL 255 lib/common/acl.c for (aIter = p->acls; aIter != NULL; aIter = aIter->next) { NULL 290 lib/common/acl.c xml_private_t *p = NULL; NULL 292 lib/common/acl.c if ((target == NULL) || (target->doc == NULL) NULL 293 lib/common/acl.c || (target->doc->_private == NULL)) { NULL 302 lib/common/acl.c } else if (p->acls == NULL) { NULL 310 lib/common/acl.c xmlNode *child = NULL; NULL 353 lib/common/acl.c xmlNode *child = NULL; NULL 354 lib/common/acl.c xmlAttr *xIter = NULL; NULL 364 lib/common/acl.c while (xIter != NULL) { NULL 377 lib/common/acl.c while ( child != NULL ) { NULL 406 lib/common/acl.c GList *aIter = NULL; NULL 407 lib/common/acl.c xmlNode *target = NULL; NULL 408 lib/common/acl.c xml_private_t *doc = NULL; NULL 410 lib/common/acl.c *result = NULL; NULL 411 lib/common/acl.c if ((xml == NULL) || !pcmk_acl_required(user)) { NULL 419 lib/common/acl.c if (target == NULL) { NULL 428 lib/common/acl.c for(aIter = doc->acls; aIter != NULL && target; aIter = aIter->next) { NULL 464 lib/common/acl.c doc->acls = NULL; NULL 470 lib/common/acl.c target = NULL; NULL 495 lib/common/acl.c char *path = NULL; NULL 497 lib/common/acl.c for (xmlAttr *prop = xml->properties; prop != NULL; prop = prop->next) { NULL 504 lib/common/acl.c if (strstr(path, "/" XML_CIB_TAG_ACLS "/") != NULL) { NULL 539 lib/common/acl.c } else if (pcmk__check_acl(xml, NULL, xpf_acl_write)) { NULL 556 lib/common/acl.c for (xmlNode *cIter = pcmk__xml_first_child(xml); cIter != NULL; ) { NULL 611 lib/common/acl.c offset = pcmk__element_xpath(NULL, xml, buffer, offset, NULL 619 lib/common/acl.c if (docp->acls == NULL) { NULL 690 lib/common/acl.c if (pwent == NULL) { NULL 692 lib/common/acl.c return NULL; NULL 719 lib/common/acl.c static const char *effective_user = NULL; NULL 720 lib/common/acl.c const char *requested_user = NULL; NULL 721 lib/common/acl.c const char *user = NULL; NULL 723 lib/common/acl.c if (effective_user == NULL) { NULL 725 lib/common/acl.c if (effective_user == NULL) { NULL 727 lib/common/acl.c CRM_CHECK(effective_user != NULL, return NULL); NULL 733 lib/common/acl.c if (requested_user == NULL) { NULL 748 lib/common/acl.c } else if (peer_user == NULL && requested_user == NULL) { NULL 754 lib/common/acl.c } else if (peer_user == NULL) { NULL 764 lib/common/acl.c } else if (requested_user == NULL) { NULL 778 lib/common/acl.c if (field != NULL && user != crm_element_value(request, field)) { NULL 36 lib/common/agents.c if (standard == NULL) { NULL 96 lib/common/agents.c return NULL; NULL 126 lib/common/agents.c *standard = NULL; NULL 127 lib/common/agents.c *provider = NULL; NULL 128 lib/common/agents.c *type = NULL; NULL 131 lib/common/agents.c if ((colon == NULL) || (colon == spec)) { NULL 140 lib/common/agents.c if ((colon == NULL) || (colon == spec)) { NULL 172 lib/common/agents.c if (param == NULL) { NULL 176 lib/common/agents.c PCMK_STONITH_STONITH_TIMEOUT, NULL)) { NULL 190 lib/common/agents.c NULL)) { NULL 194 lib/common/agents.c return pcmk__str_any_of(param, "_action", "_timeout", "_retries", NULL); NULL 25 lib/common/alerts.c "CRM_notify_recipient", "CRM_alert_recipient", NULL NULL 28 lib/common/alerts.c "CRM_notify_node", "CRM_alert_node", NULL NULL 31 lib/common/alerts.c "CRM_notify_nodeid", "CRM_alert_nodeid", NULL NULL 34 lib/common/alerts.c "CRM_notify_rsc", "CRM_alert_rsc", NULL NULL 37 lib/common/alerts.c "CRM_notify_task", "CRM_alert_task", NULL NULL 40 lib/common/alerts.c "CRM_notify_interval", "CRM_alert_interval", NULL NULL 43 lib/common/alerts.c "CRM_notify_desc", "CRM_alert_desc", NULL NULL 46 lib/common/alerts.c "CRM_notify_status", "CRM_alert_status", NULL NULL 49 lib/common/alerts.c "CRM_notify_target_rc", "CRM_alert_target_rc", NULL NULL 52 lib/common/alerts.c "CRM_notify_rc", "CRM_alert_rc", NULL NULL 55 lib/common/alerts.c "CRM_notify_kind", "CRM_alert_kind", NULL NULL 58 lib/common/alerts.c "CRM_notify_version", "CRM_alert_version", NULL NULL 61 lib/common/alerts.c "CRM_notify_node_sequence", PCMK__ALERT_NODE_SEQUENCE, NULL NULL 64 lib/common/alerts.c "CRM_notify_timestamp", "CRM_alert_timestamp", NULL NULL 67 lib/common/alerts.c "CRM_notify_attribute_name", "CRM_alert_attribute_name", NULL NULL 70 lib/common/alerts.c "CRM_notify_attribute_value", "CRM_alert_attribute_value", NULL NULL 73 lib/common/alerts.c "CRM_notify_timestamp_epoch", "CRM_alert_timestamp_epoch", NULL NULL 76 lib/common/alerts.c "CRM_notify_timestamp_usec", "CRM_alert_timestamp_usec", NULL NULL 79 lib/common/alerts.c "CRM_notify_exec_time", "CRM_alert_exec_time", NULL NULL 204 lib/common/alerts.c xmlNode *change = NULL; NULL 205 lib/common/alerts.c xmlXPathObject *xpathObj = NULL; NULL 207 lib/common/alerts.c CRM_CHECK(msg != NULL, return FALSE); NULL 219 lib/common/alerts.c if ((xpathObj = xpath_search(msg, diff)) != NULL) { NULL 224 lib/common/alerts.c for (change = pcmk__xml_first_child(patchset); change != NULL; NULL 228 lib/common/alerts.c if (xpath == NULL) { NULL 237 lib/common/alerts.c xmlNode *section = NULL; NULL 238 lib/common/alerts.c const char *name = NULL; NULL 241 lib/common/alerts.c ((section = pcmk__xml_first_child(change)) == NULL) || NULL 242 lib/common/alerts.c ((name = crm_element_name(section)) == NULL) || NULL 33 lib/common/attrd_client.c xmlNode *attrd_op = create_xml_node(NULL, __func__); NULL 58 lib/common/attrd_client.c static crm_ipc_t *local_ipc = NULL; NULL 61 lib/common/attrd_client.c if (ipc == NULL && local_ipc == NULL) { NULL 67 lib/common/attrd_client.c if (ipc == NULL) { NULL 78 lib/common/attrd_client.c rc = crm_ipc_send(ipc, attrd_op, flags, 0, NULL); NULL 139 lib/common/attrd_client.c const char *task = NULL; NULL 140 lib/common/attrd_client.c const char *name_as = NULL; NULL 142 lib/common/attrd_client.c const char *display_command = NULL; /* for commands without name/value */ NULL 153 lib/common/attrd_client.c if (name == NULL && command == 'U') { NULL 190 lib/common/attrd_client.c if (name_as != NULL) { NULL 191 lib/common/attrd_client.c if (name == NULL) { NULL 246 lib/common/attrd_client.c const char *interval_desc = NULL; NULL 247 lib/common/attrd_client.c const char *op_desc = NULL; NULL 281 lib/common/attrd_client.c if (name == NULL || pcmk__strcase_any_of(name, "auto", "localhost", NULL)) { NULL 305 lib/common/attrd_client.c return NULL; NULL 322 lib/common/attrd_client.c if (rsc_id == NULL) { NULL 324 lib/common/attrd_client.c if (rsc_id == NULL) { NULL 325 lib/common/attrd_client.c return NULL; NULL 44 lib/common/cib_secrets.c char *hash2 = NULL; NULL 66 lib/common/cib_secrets.c return NULL; NULL 72 lib/common/cib_secrets.c return NULL; NULL 100 lib/common/cib_secrets.c GList *secret_params = NULL, *l; NULL 104 lib/common/cib_secrets.c if (params == NULL) { NULL 113 lib/common/cib_secrets.c if (secret_params == NULL) { // No secret parameters found NULL 161 lib/common/cib_secrets.c if (hash == NULL) { NULL 29 lib/common/cmdline.c pcmk__common_args_t *args = NULL; NULL 32 lib/common/cmdline.c if (args == NULL) { NULL 37 lib/common/cmdline.c if (args->summary == NULL) { NULL 52 lib/common/cmdline.c if (common_args->output_as_descr != NULL) { NULL 69 lib/common/cmdline.c NULL }, NULL 72 lib/common/cmdline.c NULL }, NULL 74 lib/common/cmdline.c { NULL } NULL 77 lib/common/cmdline.c main_group = g_option_group_new(NULL, "Application Options:", NULL, common_args, free_common_args); NULL 85 lib/common/cmdline.c if (fmts != NULL) { NULL 88 lib/common/cmdline.c NULL, NULL 93 lib/common/cmdline.c { NULL } NULL 96 lib/common/cmdline.c if (*output_group == NULL) { NULL 97 lib/common/cmdline.c *output_group = g_option_group_new("output", "Output Options:", "Show output help", NULL, NULL); NULL 115 lib/common/cmdline.c if (context == NULL) { NULL 135 lib/common/cmdline.c GOptionGroup *group = NULL; NULL 137 lib/common/cmdline.c group = g_option_group_new(name, header, desc, NULL, NULL); NULL 146 lib/common/cmdline.c GPtrArray *arr = NULL; NULL 149 lib/common/cmdline.c if (argv == NULL) { NULL 150 lib/common/cmdline.c return NULL; NULL 153 lib/common/cmdline.c if (g_get_prgname() == NULL && argv && *argv) { NULL 162 lib/common/cmdline.c for (int i = 0; argv[i] != NULL; i++) { NULL 198 lib/common/cmdline.c if (special != NULL && strchr(special, *ch) != NULL) { NULL 232 lib/common/cmdline.c g_ptr_array_add(arr, NULL); NULL 241 lib/common/cmdline.c char *buf = NULL; NULL 242 lib/common/cmdline.c gchar **extra_args = NULL; NULL 251 lib/common/cmdline.c if (!g_shell_parse_argv(buf, NULL, &extra_args, error)) { NULL 147 lib/common/crmcommon_private.h return ((attr == NULL) || (attr->children == NULL))? NULL NULL 35 lib/common/digest.c char *buffer = NULL; NULL 59 lib/common/digest.c char *digest = NULL; NULL 60 lib/common/digest.c char *buffer = NULL; NULL 61 lib/common/digest.c xmlNode *copy = NULL; NULL 65 lib/common/digest.c copy = sorted_xml(input, NULL, TRUE); NULL 71 lib/common/digest.c CRM_CHECK(buffer != NULL && strlen(buffer) > 0, free_xml(copy); NULL 73 lib/common/digest.c return NULL); NULL 94 lib/common/digest.c char *digest = NULL; NULL 95 lib/common/digest.c char *buffer = NULL; NULL 98 lib/common/digest.c static struct qb_log_callsite *digest_cs = NULL; NULL 119 lib/common/digest.c CRM_ASSERT(buffer != NULL); NULL 122 lib/common/digest.c if (digest_cs == NULL) { NULL 202 lib/common/digest.c if (version == NULL || compare_version("3.0.5", version) > 0) { NULL 222 lib/common/digest.c char *calculated = NULL; NULL 225 lib/common/digest.c if (input != NULL) { NULL 227 lib/common/digest.c if (calculated == NULL) { NULL 274 lib/common/digest.c char *digest = NULL; NULL 277 lib/common/digest.c if (buffer == NULL) { NULL 53 lib/common/io.c CRM_CHECK(path != NULL, return -ENOMEM); NULL 87 lib/common/io.c CRM_CHECK((path != NULL) && (resolved_path != NULL), return EINVAL); NULL 91 lib/common/io.c *resolved_path = realpath(path, NULL); NULL 92 lib/common/io.c return (*resolved_path == NULL)? errno : pcmk_rc_ok; NULL 98 lib/common/io.c if ((*resolved_path == NULL) || (realpath(path, *resolved_path) == NULL)) { NULL 103 lib/common/io.c *resolved_path = NULL; NULL 124 lib/common/io.c CRM_ASSERT((directory != NULL) && (series != NULL)); NULL 144 lib/common/io.c FILE *fp = NULL; NULL 145 lib/common/io.c char *series_file = NULL; NULL 147 lib/common/io.c if ((directory == NULL) || (series == NULL) || (seq == NULL)) { NULL 153 lib/common/io.c if (fp == NULL) { NULL 191 lib/common/io.c FILE *file_strm = NULL; NULL 192 lib/common/io.c char *series_file = NULL; NULL 194 lib/common/io.c CRM_CHECK(directory != NULL, return); NULL 195 lib/common/io.c CRM_CHECK(series != NULL, return); NULL 206 lib/common/io.c if (file_strm != NULL) { NULL 216 lib/common/io.c if (file_strm != NULL) { NULL 240 lib/common/io.c char *series_file = NULL; NULL 243 lib/common/io.c if ((directory == NULL) || (series == NULL)) { NULL 257 lib/common/io.c struct passwd *sys_user = NULL; NULL 261 lib/common/io.c if (sys_user == NULL) { NULL 285 lib/common/io.c struct group *sys_grp = NULL; NULL 289 lib/common/io.c if (sys_grp == NULL) { NULL 331 lib/common/io.c char *full_file = NULL; NULL 332 lib/common/io.c const char *target = NULL; NULL 335 lib/common/io.c CRM_ASSERT(dir != NULL); NULL 338 lib/common/io.c if (file != NULL) { NULL 346 lib/common/io.c full_file = NULL; NULL 347 lib/common/io.c target = NULL; NULL 358 lib/common/io.c if (target == NULL) { NULL 401 lib/common/io.c if (directory == NULL) { NULL 437 lib/common/io.c if ((filename == NULL) || (contents == NULL)) { NULL 442 lib/common/io.c if ((fp == NULL) || (fseek(fp, 0L, SEEK_END) < 0)) { NULL 454 lib/common/io.c *contents = NULL; NULL 457 lib/common/io.c if (*contents == NULL) { NULL 465 lib/common/io.c *contents = NULL; NULL 471 lib/common/io.c if (fp != NULL) { NULL 492 lib/common/io.c if (fp == NULL) { NULL 495 lib/common/io.c if ((contents != NULL) && (fprintf(fp, "%s", contents) < 0)) { NULL 583 lib/common/io.c if (dir == NULL) { NULL 589 lib/common/io.c if (dir != NULL) { NULL 593 lib/common/io.c while ((entry = readdir(dir)) != NULL) { NULL 49 lib/common/ipc_client.c if (api == NULL) { NULL 54 lib/common/ipc_client.c if (*api == NULL) { NULL 59 lib/common/ipc_client.c if (pcmk_ipc_name(*api, false) == NULL) { NULL 61 lib/common/ipc_client.c *api = NULL; NULL 95 lib/common/ipc_client.c if ((*api)->cmds == NULL) { NULL 97 lib/common/ipc_client.c *api = NULL; NULL 103 lib/common/ipc_client.c if ((*api)->ipc == NULL) { NULL 105 lib/common/ipc_client.c *api = NULL; NULL 110 lib/common/ipc_client.c if ((*api)->cmds->new_data != NULL) { NULL 113 lib/common/ipc_client.c *api = NULL; NULL 124 lib/common/ipc_client.c if ((api != NULL) && (api->cmds != NULL)) { NULL 125 lib/common/ipc_client.c if ((api->cmds->free_data != NULL) && (api->api_data != NULL)) { NULL 127 lib/common/ipc_client.c api->api_data = NULL; NULL 130 lib/common/ipc_client.c api->cmds = NULL; NULL 147 lib/common/ipc_client.c if ((api != NULL) && (api->cb != NULL)) { NULL 168 lib/common/ipc_client.c if ((api->cmds != NULL) && (api->cmds->post_disconnect != NULL)) { NULL 174 lib/common/ipc_client.c NULL); NULL 181 lib/common/ipc_client.c api->ipc = NULL; NULL 182 lib/common/ipc_client.c api->mainloop_io = NULL; NULL 204 lib/common/ipc_client.c if (api == NULL) { NULL 209 lib/common/ipc_client.c if (api->ipc != NULL) { NULL 210 lib/common/ipc_client.c if (api->mainloop_io != NULL) { NULL 243 lib/common/ipc_client.c if (api == NULL) { NULL 244 lib/common/ipc_client.c return for_log? "Pacemaker" : NULL; NULL 248 lib/common/ipc_client.c return for_log? "attribute manager" : NULL /* T_ATTRD */; NULL 251 lib/common/ipc_client.c return for_log? "CIB manager" : NULL /* PCMK__SERVER_BASED_RW */; NULL 257 lib/common/ipc_client.c return for_log? "executor" : NULL /* CRM_SYSTEM_LRMD */; NULL 260 lib/common/ipc_client.c return for_log? "fencer" : NULL /* "stonith-ng" */; NULL 266 lib/common/ipc_client.c return for_log? "scheduler" : NULL /* CRM_SYSTEM_PENGINE */; NULL 269 lib/common/ipc_client.c return for_log? "Pacemaker" : NULL; NULL 283 lib/common/ipc_client.c return (api != NULL) && crm_ipc_connected(api->ipc); NULL 300 lib/common/ipc_client.c if ((api->cmds != NULL) && (api->cmds->dispatch != NULL)) { NULL 323 lib/common/ipc_client.c CRM_CHECK(api != NULL, return 0); NULL 325 lib/common/ipc_client.c if (buffer == NULL) { NULL 332 lib/common/ipc_client.c if (msg == NULL) { NULL 366 lib/common/ipc_client.c if ((api == NULL) || (api->dispatch_type != pcmk_ipc_dispatch_poll)) { NULL 393 lib/common/ipc_client.c if (api == NULL) { NULL 456 lib/common/ipc_client.c if (api == NULL) { NULL 461 lib/common/ipc_client.c if (api->ipc == NULL) { NULL 464 lib/common/ipc_client.c if (api->ipc == NULL) { NULL 490 lib/common/ipc_client.c if ((api->cmds != NULL) && (api->cmds->post_connect != NULL)) { NULL 513 lib/common/ipc_client.c if ((api == NULL) || (api->ipc == NULL)) { NULL 522 lib/common/ipc_client.c api->mainloop_io = NULL; NULL 523 lib/common/ipc_client.c api->ipc = NULL; NULL 536 lib/common/ipc_client.c api->ipc = NULL; NULL 564 lib/common/ipc_client.c if (api == NULL) { NULL 587 lib/common/ipc_client.c xmlNode *reply = NULL; NULL 590 lib/common/ipc_client.c if ((api == NULL) || (api->ipc == NULL) || (request == NULL)) { NULL 597 lib/common/ipc_client.c && (api->cmds != NULL) NULL 598 lib/common/ipc_client.c && (api->cmds->reply_expected != NULL) NULL 613 lib/common/ipc_client.c if (reply != NULL) { NULL 646 lib/common/ipc_client.c xmlNode *request = NULL; NULL 651 lib/common/ipc_client.c request = create_xml_node(NULL, __func__); NULL 664 lib/common/ipc_client.c request = create_request(CRM_OP_RM_NODE_CACHE, NULL, NULL, NULL 665 lib/common/ipc_client.c pcmk_ipc_name(api, false), client, NULL); NULL 695 lib/common/ipc_client.c xmlNode *request = NULL; NULL 697 lib/common/ipc_client.c if (api == NULL) { NULL 700 lib/common/ipc_client.c if ((node_name == NULL) && (nodeid == 0)) { NULL 705 lib/common/ipc_client.c if (request == NULL) { NULL 747 lib/common/ipc_client.c crm_ipc_t *client = NULL; NULL 750 lib/common/ipc_client.c if (client == NULL) { NULL 752 lib/common/ipc_client.c return NULL; NULL 756 lib/common/ipc_client.c if (client->server_name == NULL) { NULL 760 lib/common/ipc_client.c return NULL; NULL 764 lib/common/ipc_client.c if (client->buffer == NULL) { NULL 769 lib/common/ipc_client.c return NULL; NULL 802 lib/common/ipc_client.c if (client->ipc == NULL) { NULL 868 lib/common/ipc_client.c client->ipc = NULL; NULL 919 lib/common/ipc_client.c if (client == NULL) { NULL 923 lib/common/ipc_client.c } else if (client->ipc == NULL) { NULL 951 lib/common/ipc_client.c CRM_ASSERT(client != NULL); NULL 1013 lib/common/ipc_client.c pcmk__ipc_header_t *header = NULL; NULL 1015 lib/common/ipc_client.c CRM_ASSERT(client != NULL); NULL 1016 lib/common/ipc_client.c CRM_ASSERT(client->ipc != NULL); NULL 1017 lib/common/ipc_client.c CRM_ASSERT(client->buffer != NULL); NULL 1058 lib/common/ipc_client.c CRM_ASSERT(client != NULL); NULL 1065 lib/common/ipc_client.c pcmk__ipc_header_t *header = NULL; NULL 1067 lib/common/ipc_client.c CRM_ASSERT(client != NULL); NULL 1068 lib/common/ipc_client.c if (client->buffer == NULL) { NULL 1079 lib/common/ipc_client.c CRM_ASSERT(client != NULL); NULL 1088 lib/common/ipc_client.c time_t timeout = time(NULL) + 1 + (ms_timeout / 1000); NULL 1098 lib/common/ipc_client.c pcmk__ipc_header_t *hdr = NULL; NULL 1128 lib/common/ipc_client.c } while (time(NULL) < timeout); NULL 1161 lib/common/ipc_client.c if (client == NULL) { NULL 1223 lib/common/ipc_client.c time_t timeout = time(NULL) + 1 + (ms_timeout / 1000); NULL 1234 lib/common/ipc_client.c } while ((qb_rc == -EAGAIN) && (time(NULL) < timeout)); NULL 1292 lib/common/ipc_client.c crm_write_blackbox(0, NULL); NULL 1361 lib/common/ipc_client.c if (gotpid != NULL) { NULL 1364 lib/common/ipc_client.c if (gotuid != NULL) { NULL 1367 lib/common/ipc_client.c if (gotgid != NULL) { NULL 1385 lib/common/ipc_client.c int ret = pcmk__crm_ipc_is_authentic_process(NULL, sock, refuid, refgid, NULL 1411 lib/common/ipc_client.c if (c == NULL) { NULL 1443 lib/common/ipc_client.c if (gotpid != NULL) { NULL 1466 lib/common/ipc_client.c if (c != NULL) { NULL 83 lib/common/ipc_common.c if (header == NULL) { NULL 34 lib/common/ipc_controld.c struct controld_api_private_s *private = NULL; NULL 38 lib/common/ipc_controld.c if (api->api_data == NULL) { NULL 98 lib/common/ipc_controld.c if (msg_data == NULL) { NULL 113 lib/common/ipc_controld.c if (msg_data == NULL) { NULL 130 lib/common/ipc_controld.c node != NULL; node = crm_next_same_xml(node)) { NULL 150 lib/common/ipc_controld.c if (command == NULL) { NULL 167 lib/common/ipc_controld.c xmlNode *msg_data = NULL; NULL 168 lib/common/ipc_controld.c const char *value = NULL; NULL 170 lib/common/ipc_controld.c pcmk_controld_reply_unknown, NULL, NULL, NULL 185 lib/common/ipc_controld.c if ((value == NULL) || (strcmp(value, XML_ATTR_REQUEST) NULL 193 lib/common/ipc_controld.c if (crm_element_value(reply, XML_ATTR_REFERENCE) == NULL) { NULL 200 lib/common/ipc_controld.c if (value == NULL) { NULL 248 lib/common/ipc_controld.c if (cmds != NULL) { NULL 273 lib/common/ipc_controld.c struct controld_api_private_s *private = NULL; NULL 274 lib/common/ipc_controld.c const char *sys_to = NULL; NULL 276 lib/common/ipc_controld.c if (api == NULL) { NULL 277 lib/common/ipc_controld.c return NULL; NULL 280 lib/common/ipc_controld.c if ((node == NULL) && !strcmp(op, CRM_OP_PING)) { NULL 297 lib/common/ipc_controld.c if (crm_element_value(request, XML_ATTR_REFERENCE) == NULL) { NULL 314 lib/common/ipc_controld.c msg_data = create_xml_node(NULL, "data_for_" CRM_OP_REPROBE); NULL 316 lib/common/ipc_controld.c if ((router_node != NULL) && !pcmk__str_eq(router_node, target_node, pcmk__str_casei)) { NULL 340 lib/common/ipc_controld.c if (api == NULL) { NULL 343 lib/common/ipc_controld.c if (router_node == NULL) { NULL 373 lib/common/ipc_controld.c request = create_controller_request(api, CRM_OP_NODE_INFO, NULL, NULL); NULL 374 lib/common/ipc_controld.c if (request == NULL) { NULL 401 lib/common/ipc_controld.c request = create_controller_request(api, CRM_OP_PING, node_name, NULL); NULL 402 lib/common/ipc_controld.c if (request == NULL) { NULL 424 lib/common/ipc_controld.c request = create_controller_request(api, PCMK__CONTROLD_CMD_NODES, NULL, NULL 425 lib/common/ipc_controld.c NULL); NULL 426 lib/common/ipc_controld.c if (request != NULL) { NULL 452 lib/common/ipc_controld.c request = create_controller_request(api, CRM_OP_SHUTDOWN, NULL, NULL); NULL 453 lib/common/ipc_controld.c if (request == NULL) { NULL 479 lib/common/ipc_controld.c request = create_controller_request(api, CRM_OP_VOTE, NULL, NULL); NULL 480 lib/common/ipc_controld.c if (request == NULL) { NULL 500 lib/common/ipc_controld.c if (api == NULL) { NULL 503 lib/common/ipc_controld.c if (router_node == NULL) { NULL 507 lib/common/ipc_controld.c msg_data = create_xml_node(NULL, XML_GRAPH_TAG_RSC_OP); NULL 636 lib/common/ipc_controld.c xmlNode *hello_node = NULL; NULL 637 lib/common/ipc_controld.c xmlNode *hello = NULL; NULL 645 lib/common/ipc_controld.c return NULL; NULL 648 lib/common/ipc_controld.c hello_node = create_xml_node(NULL, XML_TAG_OPTIONS); NULL 649 lib/common/ipc_controld.c if (hello_node == NULL) { NULL 652 lib/common/ipc_controld.c return NULL; NULL 660 lib/common/ipc_controld.c hello = create_request(CRM_OP_HELLO, hello_node, NULL, NULL, client_name, uuid); NULL 661 lib/common/ipc_controld.c if (hello == NULL) { NULL 664 lib/common/ipc_controld.c return NULL; NULL 42 lib/common/ipc_pacemakerd.c if (state == NULL) { NULL 69 lib/common/ipc_pacemakerd.c struct pacemakerd_api_private_s *private = NULL; NULL 73 lib/common/ipc_pacemakerd.c if (api->api_data == NULL) { NULL 98 lib/common/ipc_pacemakerd.c struct pacemakerd_api_private_s *private = NULL; NULL 100 lib/common/ipc_pacemakerd.c if (api->api_data == NULL) { NULL 112 lib/common/ipc_pacemakerd.c struct pacemakerd_api_private_s *private = NULL; NULL 114 lib/common/ipc_pacemakerd.c if (api->api_data == NULL) { NULL 128 lib/common/ipc_pacemakerd.c if (command == NULL) { NULL 140 lib/common/ipc_pacemakerd.c xmlNode *msg_data = NULL; NULL 144 lib/common/ipc_pacemakerd.c const char *value = NULL; NULL 148 lib/common/ipc_pacemakerd.c if ((value == NULL) || (strcmp(value, XML_ATTR_RESPONSE))) { NULL 155 lib/common/ipc_pacemakerd.c if (crm_element_value(reply, XML_ATTR_REFERENCE) == NULL) { NULL 162 lib/common/ipc_pacemakerd.c if ((value == NULL) || strcmp(value, CRM_OP_PING)) { NULL 193 lib/common/ipc_pacemakerd.c if (cmds != NULL) { NULL 211 lib/common/ipc_pacemakerd.c CRM_CHECK(api != NULL, return -EINVAL); NULL 213 lib/common/ipc_pacemakerd.c CRM_ASSERT(private != NULL); NULL 215 lib/common/ipc_pacemakerd.c cmd = create_request(CRM_OP_PING, NULL, NULL, CRM_SYSTEM_MCP, NULL 27 lib/common/ipc_server.c static GHashTable *client_connections = NULL; NULL 53 lib/common/ipc_server.c if ((func != NULL) && (client_connections != NULL)) { NULL 66 lib/common/ipc_server.c return NULL; NULL 86 lib/common/ipc_server.c return NULL; NULL 101 lib/common/ipc_server.c if (c == NULL) { NULL 104 lib/common/ipc_server.c } else if (c->name != NULL) { NULL 107 lib/common/ipc_server.c } else if (c->id != NULL) { NULL 118 lib/common/ipc_server.c if (client_connections != NULL) { NULL 125 lib/common/ipc_server.c g_hash_table_destroy(client_connections); client_connections = NULL; NULL 132 lib/common/ipc_server.c qb_ipcs_connection_t *c = NULL; NULL 134 lib/common/ipc_server.c if (service == NULL) { NULL 140 lib/common/ipc_server.c while (c != NULL) { NULL 168 lib/common/ipc_server.c if (client == NULL) { NULL 170 lib/common/ipc_server.c return NULL; NULL 175 lib/common/ipc_server.c if (client->user == NULL) { NULL 177 lib/common/ipc_server.c CRM_CHECK(client->user != NULL, free(client); return NULL); NULL 184 lib/common/ipc_server.c if (key == NULL) { NULL 190 lib/common/ipc_server.c if (client->id == NULL) { NULL 194 lib/common/ipc_server.c return NULL; NULL 196 lib/common/ipc_server.c if (key == NULL) { NULL 199 lib/common/ipc_server.c if (client_connections == NULL) { NULL 217 lib/common/ipc_server.c pcmk__client_t *client = client_from_connection(NULL, key, 0); NULL 219 lib/common/ipc_server.c CRM_ASSERT(client != NULL); NULL 229 lib/common/ipc_server.c pcmk__client_t *client = NULL; NULL 231 lib/common/ipc_server.c CRM_CHECK(c != NULL, return NULL); NULL 250 lib/common/ipc_server.c client = client_from_connection(c, NULL, uid_client); NULL 251 lib/common/ipc_server.c if (client == NULL) { NULL 252 lib/common/ipc_server.c return NULL; NULL 270 lib/common/ipc_server.c CRM_ASSERT(iov != NULL); NULL 282 lib/common/ipc_server.c if (event != NULL) { NULL 298 lib/common/ipc_server.c if (c->event_queue == NULL) { NULL 307 lib/common/ipc_server.c if (c == NULL) { NULL 395 lib/common/ipc_server.c xmlNode *xml = NULL; NULL 396 lib/common/ipc_server.c char *uncompressed = NULL; NULL 401 lib/common/ipc_server.c return NULL; NULL 434 lib/common/ipc_server.c return NULL; NULL 491 lib/common/ipc_server.c if (c == NULL) { NULL 504 lib/common/ipc_server.c pcmk__ipc_header_t *header = NULL; NULL 505 lib/common/ipc_server.c struct iovec *event = NULL; NULL 511 lib/common/ipc_server.c if (event == NULL) { // Queue is empty NULL 593 lib/common/ipc_server.c char *compressed = NULL; NULL 594 lib/common/ipc_server.c char *buffer = NULL; NULL 595 lib/common/ipc_server.c pcmk__ipc_header_t *header = NULL; NULL 597 lib/common/ipc_server.c if ((message == NULL) || (result == NULL)) { NULL 602 lib/common/ipc_server.c if (header == NULL) { NULL 613 lib/common/ipc_server.c *result = NULL; NULL 664 lib/common/ipc_server.c if (bytes != NULL) { NULL 753 lib/common/ipc_server.c struct iovec *iov = NULL; NULL 756 lib/common/ipc_server.c if (c == NULL) { NULL 760 lib/common/ipc_server.c &iov, NULL); NULL 795 lib/common/ipc_server.c xmlNode *ack = create_xml_node(NULL, tag); NULL 836 lib/common/ipc_server.c if (*ipcs_ro == NULL || *ipcs_rw == NULL || *ipcs_shm == NULL) { NULL 892 lib/common/ipc_server.c if (*ipcs == NULL) { NULL 914 lib/common/ipc_server.c if (*ipcs == NULL) { NULL 935 lib/common/ipc_server.c if (*ipcs == NULL) { NULL 65 lib/common/iso8601.c crm_time_t *utc = NULL; NULL 67 lib/common/iso8601.c if (dt == NULL) { NULL 69 lib/common/iso8601.c return NULL; NULL 96 lib/common/iso8601.c crm_time_t *dt = NULL; NULL 99 lib/common/iso8601.c if (date_time == NULL) { NULL 100 lib/common/iso8601.c tm_now = time(NULL); NULL 121 lib/common/iso8601.c CRM_ASSERT(result != NULL); NULL 136 lib/common/iso8601.c return (t != NULL) && (t->years || t->months || t->days || t->seconds NULL 143 lib/common/iso8601.c if (dt == NULL) { NULL 311 lib/common/iso8601.c crm_time_t *utc = NULL; NULL 314 lib/common/iso8601.c if (dt == NULL) { NULL 319 lib/common/iso8601.c if (utc == NULL) { NULL 353 lib/common/iso8601.c return (dt == NULL)? 0 : (crm_time_get_seconds(dt) - EPOCH_SECONDS); NULL 499 lib/common/iso8601.c crm_time_t *dt = NULL; NULL 500 lib/common/iso8601.c crm_time_t *utc = NULL; NULL 502 lib/common/iso8601.c char *result_copy = NULL; NULL 593 lib/common/iso8601.c CRM_ASSERT(result_copy != NULL); NULL 661 lib/common/iso8601.c if (offset_str == NULL) { NULL 664 lib/common/iso8601.c time_t now = time(NULL); NULL 718 lib/common/iso8601.c char *offset_s = NULL; NULL 727 lib/common/iso8601.c if (offset_s == NULL) { NULL 762 lib/common/iso8601.c const char *time_s = NULL; NULL 763 lib/common/iso8601.c crm_time_t *dt = NULL; NULL 778 lib/common/iso8601.c dt = crm_time_new(NULL); NULL 886 lib/common/iso8601.c if (time_s == NULL) { NULL 891 lib/common/iso8601.c time_s = NULL; NULL 894 lib/common/iso8601.c if ((time_s != NULL) && (crm_time_parse(time_s, dt) == FALSE)) { NULL 909 lib/common/iso8601.c return NULL; NULL 986 lib/common/iso8601.c crm_time_t *diff = NULL; NULL 1077 lib/common/iso8601.c return NULL; NULL 1094 lib/common/iso8601.c crm_time_period_t *period = NULL; NULL 1103 lib/common/iso8601.c CRM_ASSERT(period != NULL); NULL 1107 lib/common/iso8601.c if (period->diff == NULL) { NULL 1112 lib/common/iso8601.c if (period->start == NULL) { NULL 1121 lib/common/iso8601.c if (period->diff != NULL) { NULL 1128 lib/common/iso8601.c if (period->diff == NULL) { NULL 1133 lib/common/iso8601.c if (period->end == NULL) { NULL 1138 lib/common/iso8601.c } else if (period->diff != NULL) { NULL 1140 lib/common/iso8601.c period->start = crm_time_new(NULL); NULL 1150 lib/common/iso8601.c if (period->start == NULL) { NULL 1153 lib/common/iso8601.c } else if (period->end == NULL) { NULL 1173 lib/common/iso8601.c return NULL; NULL 1197 lib/common/iso8601.c CRM_CHECK(target != NULL && source != NULL, return); NULL 1272 lib/common/iso8601.c crm_time_t *utc = NULL; NULL 1273 lib/common/iso8601.c crm_time_t *answer = NULL; NULL 1275 lib/common/iso8601.c if ((dt == NULL) || (value == NULL)) { NULL 1277 lib/common/iso8601.c return NULL; NULL 1283 lib/common/iso8601.c if (utc == NULL) { NULL 1285 lib/common/iso8601.c return NULL; NULL 1300 lib/common/iso8601.c crm_time_t *utc = NULL; NULL 1301 lib/common/iso8601.c crm_time_t *answer = NULL; NULL 1303 lib/common/iso8601.c if ((dt == NULL) || (value == NULL)) { NULL 1305 lib/common/iso8601.c return NULL; NULL 1309 lib/common/iso8601.c if (utc == NULL) { NULL 1310 lib/common/iso8601.c return NULL; NULL 1314 lib/common/iso8601.c if (answer == NULL) { NULL 1316 lib/common/iso8601.c return NULL; NULL 1334 lib/common/iso8601.c crm_time_t *utc = NULL; NULL 1335 lib/common/iso8601.c crm_time_t *answer = NULL; NULL 1337 lib/common/iso8601.c if ((dt == NULL) || (value == NULL)) { NULL 1339 lib/common/iso8601.c return NULL; NULL 1343 lib/common/iso8601.c if (utc == NULL) { NULL 1344 lib/common/iso8601.c return NULL; NULL 1368 lib/common/iso8601.c return (dt != NULL) NULL 1393 lib/common/iso8601.c if ((t1 == NULL) && (t2 == NULL)) { NULL 1395 lib/common/iso8601.c } else if (t1 == NULL) { NULL 1397 lib/common/iso8601.c } else if (t2 == NULL) { NULL 1558 lib/common/iso8601.c pcmk__time_hr_t *hr_dt = NULL; NULL 1562 lib/common/iso8601.c CRM_ASSERT(hr_dt != NULL); NULL 1607 lib/common/iso8601.c pcmk__time_hr_t *hr_dt = NULL; NULL 1611 lib/common/iso8601.c if (gettimeofday(&tv_now, NULL) == 0) { NULL 1612 lib/common/iso8601.c hr_dt = pcmk__time_timeval_hr_convert(NULL, &tv_now); NULL 1618 lib/common/iso8601.c hr_dt = pcmk__time_hr_convert(NULL, dt); NULL 1641 lib/common/iso8601.c return NULL; NULL 1699 lib/common/iso8601.c return (date_len == 0)?NULL:strdup(date_s); NULL 1717 lib/common/iso8601.c char *since_epoch = NULL; NULL 1719 lib/common/iso8601.c if (when == NULL) { NULL 1720 lib/common/iso8601.c time_t a_time = time(NULL); NULL 1723 lib/common/iso8601.c return NULL; NULL 1731 lib/common/iso8601.c if (since_epoch == NULL) { NULL 1732 lib/common/iso8601.c return NULL; NULL 16 lib/common/lists.c GList *item = NULL; NULL 19 lib/common/lists.c for (item = items; item != NULL; item = item->next) { NULL 20 lib/common/lists.c GList *candidate = NULL; NULL 22 lib/common/lists.c for (candidate = from; candidate != NULL; candidate = candidate->next) { NULL 50 lib/common/logging.c static GLogFunc glib_log_default = NULL; NULL 60 lib/common/logging.c static struct qb_log_callsite *glib_cs = NULL; NULL 62 lib/common/logging.c if (glib_cs == NULL) { NULL 121 lib/common/logging.c crm_write_blackbox(nsig, NULL); NULL 127 lib/common/logging.c if (glib_log_default != NULL) { NULL 128 lib/common/logging.c g_log_set_default_handler(glib_log_default, NULL); NULL 236 lib/common/logging.c if (modestr != NULL) { NULL 237 lib/common/logging.c long filemode_l = strtol(modestr, NULL, 8); NULL 292 lib/common/logging.c if (pcmk__env_option("logfile") == NULL) { NULL 314 lib/common/logging.c FILE *logfile = NULL; NULL 321 lib/common/logging.c if ((filename == NULL) && !have_logfile) { NULL 338 lib/common/logging.c if (logfile == NULL) { NULL 378 lib/common/logging.c static volatile char *blackbox_file_prefix = NULL; NULL 396 lib/common/logging.c if (blackbox_file_prefix == NULL) { NULL 425 lib/common/logging.c blackbox_trigger = qb_log_custom_open(blackbox_logger, NULL, NULL, NULL); NULL 471 lib/common/logging.c time_t now = time(NULL); NULL 473 lib/common/logging.c if (blackbox_file_prefix == NULL) { NULL 551 lib/common/logging.c if (strstr(trace_blackbox, key) != NULL) { NULL 564 lib/common/logging.c } else if (trace_files && strstr(trace_files, cs->filename) != NULL) { NULL 566 lib/common/logging.c } else if (trace_fns && strstr(trace_fns, cs->function) != NULL) { NULL 568 lib/common/logging.c } else if (trace_fmts && strstr(trace_fmts, cs->format) != NULL) { NULL 572 lib/common/logging.c && cs->tags != crm_trace_nonlog && g_quark_to_string(cs->tags) != NULL) { NULL 582 lib/common/logging.c static const char *trace_fns = NULL; NULL 583 lib/common/logging.c static const char *trace_tags = NULL; NULL 584 lib/common/logging.c static const char *trace_fmts = NULL; NULL 585 lib/common/logging.c static const char *trace_files = NULL; NULL 586 lib/common/logging.c static const char *trace_blackbox = NULL; NULL 596 lib/common/logging.c if (trace_tags != NULL) { NULL 599 lib/common/logging.c const char *offset = NULL; NULL 614 lib/common/logging.c } while (next != NULL && next[0] != 0); NULL 630 lib/common/logging.c if (cs == NULL) { NULL 697 lib/common/logging.c {NULL, -1} NULL 701 lib/common/logging.c for (lpc = 0; name != NULL && p_names[lpc].name != NULL; lpc++) { NULL 713 lib/common/logging.c if(crm_system_name != NULL) { NULL 720 lib/common/logging.c } else if (argc > 0 && argv != NULL) { NULL 732 lib/common/logging.c } else if (crm_system_name == NULL) { NULL 761 lib/common/logging.c glib_log_default = g_log_set_default_handler(crm_glib_handler, NULL); NULL 799 lib/common/logging.c const char *syslog_priority = NULL; NULL 814 lib/common/logging.c if (facility == NULL) { NULL 861 lib/common/logging.c && (pcmk__is_daemon || (logfile != NULL))) { NULL 885 lib/common/logging.c if (user != NULL && !pcmk__strcase_any_of(user, "root", CRM_DAEMON_USER, NULL)) { NULL 896 lib/common/logging.c if (pwent == NULL) { NULL 899 lib/common/logging.c } else if (!pcmk__strcase_any_of(pwent->pw_name, "root", CRM_DAEMON_USER, NULL)) { NULL 1005 lib/common/logging.c gchar *arg_string = NULL; NULL 1007 lib/common/logging.c if ((argc == 0) || (argv == NULL) || logged) { NULL 1020 lib/common/logging.c const char *next = NULL; NULL 1021 lib/common/logging.c const char *offset = NULL; NULL 1027 lib/common/logging.c if (output == NULL) { NULL 1044 lib/common/logging.c } while (next != NULL && next[0] != 0); NULL 1050 lib/common/logging.c crm_log_init(name, LOG_ERR, FALSE, FALSE, 0, NULL, TRUE); NULL 1054 lib/common/logging.c crm_bump_log_level(0, NULL); NULL 148 lib/common/mainloop.c crm_trigger_t *trigger = NULL; NULL 157 lib/common/mainloop.c g_source_set_callback(source, dispatch, trigger, NULL); NULL 163 lib/common/mainloop.c trigger->id = g_source_attach(source, NULL); NULL 188 lib/common/mainloop.c GSource *source = NULL; NULL 192 lib/common/mainloop.c CRM_ASSERT(source != NULL); NULL 208 lib/common/mainloop.c GSource *gs = NULL; NULL 210 lib/common/mainloop.c if(source == NULL) { NULL 281 lib/common/mainloop.c if (sig > 0 && sig < NSIG && crm_signals[sig] != NULL) { NULL 337 lib/common/mainloop.c crm_signals[sig] = NULL; NULL 357 lib/common/mainloop.c GSource *source = NULL; NULL 372 lib/common/mainloop.c } else if (crm_signals[sig] != NULL && crm_signals[sig]->handler == dispatch) { NULL 376 lib/common/mainloop.c } else if (crm_signals[sig] != NULL) { NULL 384 lib/common/mainloop.c crm_signals[sig] = (crm_signal_t *) mainloop_setup_trigger(source, priority, NULL, NULL); NULL 385 lib/common/mainloop.c CRM_ASSERT(crm_signals[sig] != NULL); NULL 415 lib/common/mainloop.c } else if (crm_signal_handler(sig, NULL) == SIG_ERR) { NULL 419 lib/common/mainloop.c } else if (crm_signals[sig] == NULL) { NULL 426 lib/common/mainloop.c static qb_array_t *gio_map = NULL; NULL 638 lib/common/mainloop.c .job_add = NULL, NULL 682 lib/common/mainloop.c qb_ipcs_service_t *server = NULL; NULL 684 lib/common/mainloop.c if (gio_map == NULL) { NULL 690 lib/common/mainloop.c if (server == NULL) { NULL 692 lib/common/mainloop.c return NULL; NULL 706 lib/common/mainloop.c return NULL; NULL 855 lib/common/mainloop.c client->destroy_fn = NULL; NULL 862 lib/common/mainloop.c client->ipc = NULL; NULL 868 lib/common/mainloop.c free(client->name); client->name = NULL; NULL 897 lib/common/mainloop.c CRM_CHECK((ipc != NULL) && (callbacks != NULL), return EINVAL); NULL 905 lib/common/mainloop.c userdata, NULL); NULL 906 lib/common/mainloop.c if (*source == NULL) { NULL 939 lib/common/mainloop.c mainloop_io_t *source = NULL; NULL 954 lib/common/mainloop.c return NULL; NULL 971 lib/common/mainloop.c return NULL; NULL 978 lib/common/mainloop.c mainloop_io_t *client = NULL; NULL 982 lib/common/mainloop.c if (client == NULL) { NULL 983 lib/common/mainloop.c return NULL; NULL 1021 lib/common/mainloop.c if (client != NULL) { NULL 1032 lib/common/mainloop.c static GList *child_list = NULL; NULL 1061 lib/common/mainloop.c child->privatedata = NULL; NULL 1218 lib/common/mainloop.c mainloop_child_t *child = NULL; NULL 1219 lib/common/mainloop.c mainloop_child_t *match = NULL; NULL 1224 lib/common/mainloop.c for (iter = child_list; iter != NULL && match == NULL; iter = iter->next) { NULL 1231 lib/common/mainloop.c if (match == NULL) { NULL 1300 lib/common/mainloop.c g_timeout_add(1, child_signal_init, NULL); NULL 1318 lib/common/mainloop.c CRM_ASSERT(t != NULL); NULL 1441 lib/common/mainloop.c if ((mloop != NULL) && g_main_loop_is_running(mloop)) { NULL 1471 lib/common/mainloop.c GMainContext *ctx = NULL; NULL 1477 lib/common/mainloop.c time_t start_time = time(NULL); NULL 1481 lib/common/mainloop.c && check(timer_ms - (time(NULL) - start_time) * 1000)) { NULL 47 lib/common/messages.c char *true_from = NULL; NULL 48 lib/common/messages.c xmlNode *request = NULL; NULL 52 lib/common/messages.c (long long) time(NULL), ref_counter++); NULL 54 lib/common/messages.c if (uuid_from != NULL) { NULL 57 lib/common/messages.c } else if (sys_from != NULL) { NULL 64 lib/common/messages.c request = create_xml_node(NULL, __func__); NULL 75 lib/common/messages.c if (host_to != NULL && strlen(host_to) > 0) { NULL 79 lib/common/messages.c if (msg_data != NULL) { NULL 105 lib/common/messages.c xmlNode *reply = NULL; NULL 114 lib/common/messages.c if (type == NULL) { NULL 116 lib/common/messages.c CRM_ASSERT(type != NULL); NULL 117 lib/common/messages.c return NULL; NULL 121 lib/common/messages.c return NULL; NULL 124 lib/common/messages.c reply = create_xml_node(NULL, __func__); NULL 125 lib/common/messages.c if (reply == NULL) { NULL 127 lib/common/messages.c return NULL; NULL 142 lib/common/messages.c if (host_from != NULL && strlen(host_from) > 0) { NULL 146 lib/common/messages.c if (xml_response_data != NULL) { NULL 184 lib/common/messages.c if (name == NULL) { NULL 50 lib/common/nvpair.c pcmk_nvpair_t *nvpair = NULL; NULL 58 lib/common/nvpair.c nvpair->value = value? strdup(value) : NULL; NULL 124 lib/common/nvpair.c CRM_ASSERT(a != NULL); NULL 125 lib/common/nvpair.c CRM_ASSERT(pair_a->name != NULL); NULL 127 lib/common/nvpair.c CRM_ASSERT(b != NULL); NULL 128 lib/common/nvpair.c CRM_ASSERT(pair_b->name != NULL); NULL 164 lib/common/nvpair.c GSList *result = NULL; NULL 166 lib/common/nvpair.c for (xmlAttrPtr iter = pcmk__xe_first_attr(xml); iter != NULL; NULL 225 lib/common/nvpair.c *name = NULL; NULL 226 lib/common/nvpair.c *value = NULL; NULL 231 lib/common/nvpair.c char *sep = NULL; NULL 232 lib/common/nvpair.c *name = NULL; NULL 233 lib/common/nvpair.c *value = NULL; NULL 236 lib/common/nvpair.c if (sep == NULL) { NULL 242 lib/common/nvpair.c if (*name == NULL) { NULL 252 lib/common/nvpair.c if (*value == NULL) { NULL 258 lib/common/nvpair.c if (*name != NULL && *value != NULL) { NULL 260 lib/common/nvpair.c } else if (*name != NULL || *value != NULL) { NULL 327 lib/common/nvpair.c xmlAttr *attr = NULL; NULL 329 lib/common/nvpair.c CRM_CHECK(node != NULL, return NULL); NULL 330 lib/common/nvpair.c CRM_CHECK(name != NULL, return NULL); NULL 332 lib/common/nvpair.c if (value == NULL) { NULL 333 lib/common/nvpair.c return NULL; NULL 337 lib/common/nvpair.c const char *old_value = NULL; NULL 351 lib/common/nvpair.c if (old == NULL || value == NULL || strcmp(old, value) != 0) { NULL 358 lib/common/nvpair.c return NULL; NULL 366 lib/common/nvpair.c CRM_CHECK(attr && attr->children && attr->children->content, return NULL); NULL 384 lib/common/nvpair.c xmlAttr *attr = NULL; NULL 385 lib/common/nvpair.c const char *old_value = NULL; NULL 387 lib/common/nvpair.c CRM_CHECK(node != NULL, return NULL); NULL 388 lib/common/nvpair.c CRM_CHECK(name != NULL && name[0] != 0, return NULL); NULL 398 lib/common/nvpair.c return NULL; NULL 402 lib/common/nvpair.c return NULL; NULL 415 lib/common/nvpair.c CRM_CHECK(attr && attr->children && attr->children->content, return NULL); NULL 487 lib/common/nvpair.c return NULL; NULL 509 lib/common/nvpair.c const char *added = NULL; NULL 532 lib/common/nvpair.c xmlAttr *attr = NULL; NULL 534 lib/common/nvpair.c if (data == NULL) { NULL 536 lib/common/nvpair.c CRM_LOG_ASSERT(data != NULL); NULL 537 lib/common/nvpair.c return NULL; NULL 539 lib/common/nvpair.c } else if (name == NULL) { NULL 541 lib/common/nvpair.c return NULL; NULL 549 lib/common/nvpair.c return NULL; NULL 568 lib/common/nvpair.c const char *value = NULL; NULL 570 lib/common/nvpair.c CRM_CHECK(dest != NULL, return -1); NULL 600 lib/common/nvpair.c const char *value = NULL; NULL 602 lib/common/nvpair.c CRM_CHECK(dest != NULL, return -1); NULL 604 lib/common/nvpair.c if ((value != NULL) NULL 625 lib/common/nvpair.c const char *value = NULL; NULL 628 lib/common/nvpair.c CRM_CHECK(dest != NULL, return -1); NULL 685 lib/common/nvpair.c CRM_CHECK(dest != NULL, return -EINVAL); NULL 689 lib/common/nvpair.c if (xml == NULL) { NULL 729 lib/common/nvpair.c char *value_copy = NULL; NULL 732 lib/common/nvpair.c if (value != NULL) { NULL 765 lib/common/nvpair.c } else if (crm_element_value(xml_node, name) == NULL) { NULL 793 lib/common/nvpair.c if (crm_element_value(xml_node, name) == NULL) { NULL 816 lib/common/nvpair.c char *crm_name = NULL; NULL 818 lib/common/nvpair.c if (key == NULL || value == NULL) { NULL 857 lib/common/nvpair.c CRM_CHECK(id || name, return NULL); NULL 860 lib/common/nvpair.c CRM_CHECK(nvp, return NULL); NULL 914 lib/common/nvpair.c xmlNode *child = NULL; NULL 915 lib/common/nvpair.c xmlAttrPtr pIter = NULL; NULL 916 lib/common/nvpair.c xmlNode *nvpair_list = NULL; NULL 919 lib/common/nvpair.c CRM_CHECK(parent != NULL, return nvpair_hash); NULL 922 lib/common/nvpair.c if (nvpair_list == NULL) { NULL 929 lib/common/nvpair.c for (pIter = pcmk__xe_first_attr(nvpair_list); pIter != NULL; NULL 940 lib/common/nvpair.c for (child = pcmk__xml_first_child(nvpair_list); child != NULL; NULL 948 lib/common/nvpair.c if (key != NULL && value != NULL) { NULL 30 lib/common/operations.c static regex_t *notify_migrate_re = NULL; NULL 47 lib/common/operations.c CRM_ASSERT(rsc_id != NULL); NULL 48 lib/common/operations.c CRM_ASSERT(op_type != NULL); NULL 58 lib/common/operations.c l = strtoul(s, NULL, 10); NULL 92 lib/common/operations.c char *interval_sep = NULL; NULL 93 lib/common/operations.c char *type_sep = NULL; NULL 97 lib/common/operations.c if (interval_sep == NULL) { NULL 144 lib/common/operations.c if (notify_migrate_re == NULL) { NULL 169 lib/common/operations.c *rsc_id = NULL; NULL 174 lib/common/operations.c *op_type = NULL; NULL 187 lib/common/operations.c char *underbar1 = NULL; NULL 188 lib/common/operations.c char *underbar2 = NULL; NULL 189 lib/common/operations.c char *underbar3 = NULL; NULL 193 lib/common/operations.c *rsc_id = NULL; NULL 197 lib/common/operations.c *op_type = NULL; NULL 232 lib/common/operations.c CRM_CHECK(rsc_id != NULL, return NULL); NULL 233 lib/common/operations.c CRM_CHECK(op_type != NULL, return NULL); NULL 234 lib/common/operations.c CRM_CHECK(notify_type != NULL, return NULL); NULL 259 lib/common/operations.c char *key = NULL; NULL 264 lib/common/operations.c CRM_CHECK(magic != NULL, return FALSE); NULL 299 lib/common/operations.c CRM_CHECK(node != NULL, return NULL); NULL 328 lib/common/operations.c *uuid = NULL; NULL 340 lib/common/operations.c CRM_CHECK(key != NULL, return FALSE); NULL 380 lib/common/operations.c NULL); NULL 392 lib/common/operations.c char *key = NULL; NULL 393 lib/common/operations.c char *timeout = NULL; NULL 396 lib/common/operations.c if (param_set == NULL) { NULL 408 lib/common/operations.c key = NULL; NULL 415 lib/common/operations.c pcmk__xe_remove_matching_attrs(param_set, should_filter_for_digest, NULL); NULL 418 lib/common/operations.c if (timeout != NULL) { NULL 431 lib/common/operations.c decode_transition_key(op->user_data, NULL, NULL, NULL, &rc); NULL 477 lib/common/operations.c CRM_CHECK(prefix && task && interval_spec, return NULL); NULL 506 lib/common/operations.c CRM_CHECK((rsc_class != NULL) || (op != NULL), return false); NULL 508 lib/common/operations.c if ((rsc_class != NULL) NULL 513 lib/common/operations.c if (op == NULL) { NULL 522 lib/common/operations.c CRMD_ACTION_NOTIFY, NULL); NULL 33 lib/common/options.c static char *crm_short_options = NULL; NULL 34 lib/common/options.c static pcmk__cli_option_t *crm_long_options = NULL; NULL 35 lib/common/options.c static const char *crm_app_description = NULL; NULL 36 lib/common/options.c static const char *crm_app_usage = NULL; NULL 42 lib/common/options.c crm_short_options = NULL; NULL 48 lib/common/options.c struct option *long_opts = NULL; NULL 69 lib/common/options.c for (lpc = 0; long_options[lpc].name != NULL; lpc++) { NULL 86 lib/common/options.c long_opts[index].name = NULL; NULL 114 lib/common/options.c char *local_short_options = NULL; NULL 116 lib/common/options.c for (lpc = 0; long_options[lpc].name != NULL; lpc++) { NULL 150 lib/common/options.c static struct option *long_opts = NULL; NULL 152 lib/common/options.c if (long_opts == NULL && crm_long_options) { NULL 216 lib/common/options.c for (i = 0; crm_long_options[i].name != NULL; i++) { NULL 288 lib/common/options.c const char *value = NULL; NULL 292 lib/common/options.c if (value != NULL) { NULL 299 lib/common/options.c if (value != NULL) { NULL 305 lib/common/options.c return NULL; NULL 359 lib/common/options.c return (value != NULL) && (crm_is_true(value) || strstr(value, daemon)); NULL 385 lib/common/options.c if (value == NULL) { NULL 393 lib/common/options.c return pcmk__scan_ll(value, NULL, 0LL) == pcmk_rc_ok; NULL 408 lib/common/options.c return pcmk__strcase_any_of(value, "stop", "freeze", "ignore", "demote", "suicide", NULL); NULL 441 lib/common/options.c char *end = NULL; NULL 467 lib/common/options.c const char *value = NULL; NULL 468 lib/common/options.c char *new_value = NULL; NULL 470 lib/common/options.c CRM_ASSERT(name != NULL); NULL 475 lib/common/options.c if ((value == NULL) && old_name) { NULL 477 lib/common/options.c if (value != NULL) { NULL 493 lib/common/options.c value = NULL; NULL 504 lib/common/options.c if (value == NULL) { NULL 507 lib/common/options.c return NULL; NULL 513 lib/common/options.c return NULL); NULL 540 lib/common/options.c const char *value = NULL; NULL 552 lib/common/options.c return NULL; NULL 571 lib/common/options.c if ((option_list[lpc].description_long == NULL) NULL 572 lib/common/options.c && (option_list[lpc].description_short == NULL)) { NULL 16 lib/common/output.c static GHashTable *formatters = NULL; NULL 22 lib/common/output.c if (out->messages != NULL) { NULL 33 lib/common/output.c pcmk__output_factory_t create = NULL;; NULL 35 lib/common/output.c if (formatters == NULL) { NULL 42 lib/common/output.c if (fmt_name == NULL) { NULL 48 lib/common/output.c if (create == NULL) { NULL 53 lib/common/output.c if (*out == NULL) { NULL 61 lib/common/output.c if ((*out)->dest == NULL) { NULL 67 lib/common/output.c (*out)->messages = pcmk__strkey_table(free, NULL); NULL 80 lib/common/output.c if (create == NULL) { NULL 84 lib/common/output.c if (formatters == NULL) { NULL 85 lib/common/output.c formatters = pcmk__strkey_table(free, NULL); NULL 88 lib/common/output.c if (options != NULL && group != NULL) { NULL 98 lib/common/output.c pcmk__supported_format_t *entry = NULL; NULL 100 lib/common/output.c if (formats == NULL) { NULL 104 lib/common/output.c for (entry = formats; entry->name != NULL; entry++) { NULL 111 lib/common/output.c if (formatters != NULL) { NULL 123 lib/common/output.c if (fn == NULL) { NULL 146 lib/common/output.c for (entry = table; entry->message_id != NULL; entry++) { NULL 147 lib/common/output.c if (pcmk__strcase_any_of(entry->fmt_name, "default", out->fmt_name, NULL)) { NULL 156 lib/common/output.c if (error == NULL) { NULL 160 lib/common/output.c if (out != NULL) { NULL 34 lib/common/output_html.c static char *stylesheet_link = NULL; NULL 35 lib/common/output_html.c static char *title = NULL; NULL 36 lib/common/output_html.c static GSList *extra_headers = NULL; NULL 41 lib/common/output_html.c NULL }, NULL 51 lib/common/output_html.c { NULL } NULL 72 lib/common/output_html.c if (priv == NULL) { NULL 80 lib/common/output_html.c out->priv = NULL; NULL 85 lib/common/output_html.c private_data_t *priv = NULL; NULL 88 lib/common/output_html.c if (out->priv != NULL) { NULL 92 lib/common/output_html.c if (out->priv == NULL) { NULL 101 lib/common/output_html.c priv->root = create_xml_node(NULL, "html"); NULL 102 lib/common/output_html.c xmlCreateIntSubset(priv->root->doc, (pcmkXmlStr) "html", NULL, NULL); NULL 106 lib/common/output_html.c priv->errors = NULL; NULL 108 lib/common/output_html.c pcmk__output_xml_create_parent(out, "body", NULL); NULL 117 lib/common/output_html.c out->list_item(out, NULL, "%s", str); NULL 123 lib/common/output_html.c htmlNodePtr head_node = NULL; NULL 124 lib/common/output_html.c htmlNodePtr charset_node = NULL; NULL 129 lib/common/output_html.c if (priv == NULL || priv->root == NULL) { NULL 141 lib/common/output_html.c head_node = xmlNewNode(NULL, (pcmkXmlStr) "head"); NULL 143 lib/common/output_html.c if (title != NULL ) { NULL 145 lib/common/output_html.c } else if (out->request != NULL) { NULL 165 lib/common/output_html.c if (stylesheet_link != NULL) { NULL 169 lib/common/output_html.c NULL); NULL 175 lib/common/output_html.c out->begin_list(out, "Errors", NULL, NULL); NULL 184 lib/common/output_html.c if (copy_dest != NULL) { NULL 189 lib/common/output_html.c extra_headers = NULL; NULL 194 lib/common/output_html.c CRM_ASSERT(out != NULL); NULL 196 lib/common/output_html.c out->dest = freopen(NULL, "w", out->dest); NULL 197 lib/common/output_html.c CRM_ASSERT(out->dest != NULL); NULL 206 lib/common/output_html.c char *rc_buf = NULL; NULL 208 lib/common/output_html.c CRM_ASSERT(out != NULL); NULL 213 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, rc_buf); NULL 215 lib/common/output_html.c if (proc_stdout != NULL) { NULL 216 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, "Stdout"); NULL 217 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, "output", proc_stdout); NULL 219 lib/common/output_html.c if (proc_stderr != NULL) { NULL 220 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, "Stderr"); NULL 221 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, "output", proc_stderr); NULL 229 lib/common/output_html.c CRM_ASSERT(out != NULL); NULL 232 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, "Program: Pacemaker"); NULL 233 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, crm_strdup_printf("Version: %s", PACEMAKER_VERSION)); NULL 234 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, "Author: Andrew Beekhof"); NULL 235 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, crm_strdup_printf("Build: %s", BUILD_VERSION)); NULL 236 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, crm_strdup_printf("Features: %s", CRM_FEATURES)); NULL 242 lib/common/output_html.c private_data_t *priv = NULL; NULL 244 lib/common/output_html.c char *buf = NULL; NULL 247 lib/common/output_html.c CRM_ASSERT(out != NULL && out->priv != NULL); NULL 266 lib/common/output_html.c htmlNodePtr node = NULL; NULL 268 lib/common/output_html.c CRM_ASSERT(out != NULL); NULL 270 lib/common/output_html.c node = pcmk__output_create_html_node(out, "pre", NULL, NULL, buf); NULL 279 lib/common/output_html.c private_data_t *priv = NULL; NULL 280 lib/common/output_html.c xmlNodePtr node = NULL; NULL 282 lib/common/output_html.c CRM_ASSERT(out != NULL && out->priv != NULL); NULL 291 lib/common/output_html.c pcmk__output_xml_create_parent(out, "li", NULL); NULL 294 lib/common/output_html.c if (format != NULL) { NULL 296 lib/common/output_html.c char *buf = NULL; NULL 313 lib/common/output_html.c node = pcmk__output_xml_create_parent(out, "ul", NULL); NULL 320 lib/common/output_html.c htmlNodePtr item_node = NULL; NULL 322 lib/common/output_html.c char *buf = NULL; NULL 325 lib/common/output_html.c CRM_ASSERT(out != NULL); NULL 335 lib/common/output_html.c if (name != NULL) { NULL 347 lib/common/output_html.c private_data_t *priv = NULL; NULL 349 lib/common/output_html.c CRM_ASSERT(out != NULL && out->priv != NULL); NULL 369 lib/common/output_html.c CRM_ASSERT(out != NULL); NULL 370 lib/common/output_html.c pcmk__output_create_xml_node(out, "br", NULL); NULL 382 lib/common/output_html.c if (retval == NULL) { NULL 383 lib/common/output_html.c return NULL; NULL 387 lib/common/output_html.c retval->request = argv == NULL ? NULL : g_strjoinv(" ", argv); NULL 419 lib/common/output_html.c htmlNodePtr node = NULL; NULL 421 lib/common/output_html.c CRM_ASSERT(out != NULL); NULL 425 lib/common/output_html.c if (class_name != NULL) { NULL 429 lib/common/output_html.c if (id != NULL) { NULL 443 lib/common/output_html.c header_node = xmlNewNode(NULL, (pcmkXmlStr) name); NULL 448 lib/common/output_html.c if (key == NULL) { NULL 18 lib/common/output_log.c { NULL } NULL 37 lib/common/output_log.c if (priv == NULL) { NULL 43 lib/common/output_log.c out->priv = NULL; NULL 48 lib/common/output_log.c private_data_t *priv = NULL; NULL 51 lib/common/output_log.c if (out->priv != NULL) { NULL 56 lib/common/output_log.c if (out->priv == NULL) { NULL 75 lib/common/output_log.c CRM_ASSERT(out != NULL); NULL 77 lib/common/output_log.c out->dest = freopen(NULL, "w", out->dest); NULL 78 lib/common/output_log.c CRM_ASSERT(out->dest != NULL); NULL 86 lib/common/output_log.c private_data_t *priv = NULL; NULL 88 lib/common/output_log.c CRM_ASSERT(out != NULL && out->priv != NULL); NULL 104 lib/common/output_log.c char* buffer = NULL; NULL 107 lib/common/output_log.c CRM_ASSERT(out != NULL); NULL 124 lib/common/output_log.c xmlNodePtr node = NULL; NULL 125 lib/common/output_log.c private_data_t *priv = NULL; NULL 127 lib/common/output_log.c CRM_ASSERT(out != NULL && out->priv != NULL); NULL 130 lib/common/output_log.c node = create_xml_node(NULL, name); NULL 142 lib/common/output_log.c char* buffer = NULL; NULL 143 lib/common/output_log.c private_data_t *priv = NULL; NULL 145 lib/common/output_log.c CRM_ASSERT(out != NULL && out->priv != NULL); NULL 168 lib/common/output_log.c private_data_t *priv = NULL; NULL 171 lib/common/output_log.c char* buffer = NULL; NULL 173 lib/common/output_log.c CRM_ASSERT(out != NULL && out->priv != NULL); NULL 190 lib/common/output_log.c if ((name != NULL) && (strcmp(name, "") != 0)) { NULL 209 lib/common/output_log.c private_data_t *priv = NULL; NULL 211 lib/common/output_log.c CRM_ASSERT(out != NULL && out->priv != NULL); NULL 214 lib/common/output_log.c if (priv->prefixes == NULL) { NULL 217 lib/common/output_log.c CRM_ASSERT(priv->prefixes->tail != NULL); NULL 226 lib/common/output_log.c private_data_t *priv = NULL; NULL 229 lib/common/output_log.c char* buffer = NULL; NULL 231 lib/common/output_log.c CRM_ASSERT(out != NULL && out->priv != NULL); NULL 269 lib/common/output_log.c if (retval == NULL) { NULL 270 lib/common/output_log.c return NULL; NULL 274 lib/common/output_log.c retval->request = argv == NULL ? NULL : g_strjoinv(" ", argv); NULL 304 lib/common/output_log.c private_data_t *priv = NULL; NULL 306 lib/common/output_log.c CRM_ASSERT(out != NULL && out->priv != NULL); NULL 18 lib/common/output_none.c { NULL } NULL 38 lib/common/output_none.c CRM_ASSERT(out != NULL); NULL 118 lib/common/output_none.c if (retval == NULL) { NULL 119 lib/common/output_none.c return NULL; NULL 123 lib/common/output_none.c retval->request = argv == NULL ? NULL : g_strjoinv(" ", argv); NULL 22 lib/common/output_text.c NULL }, NULL 24 lib/common/output_text.c { NULL } NULL 41 lib/common/output_text.c if (priv == NULL) { NULL 47 lib/common/output_text.c out->priv = NULL; NULL 52 lib/common/output_text.c private_data_t *priv = NULL; NULL 55 lib/common/output_text.c if (out->priv != NULL) { NULL 59 lib/common/output_text.c if (out->priv == NULL) { NULL 77 lib/common/output_text.c CRM_ASSERT(out != NULL); NULL 80 lib/common/output_text.c out->dest = freopen(NULL, "w", out->dest); NULL 83 lib/common/output_text.c CRM_ASSERT(out->dest != NULL); NULL 92 lib/common/output_text.c CRM_ASSERT(out != NULL); NULL 94 lib/common/output_text.c if (proc_stdout != NULL) { NULL 98 lib/common/output_text.c if (proc_stderr != NULL) { NULL 105 lib/common/output_text.c CRM_ASSERT(out != NULL); NULL 121 lib/common/output_text.c CRM_ASSERT(out != NULL); NULL 142 lib/common/output_text.c CRM_ASSERT(out != NULL); NULL 164 lib/common/output_text.c CRM_ASSERT(out != NULL); NULL 172 lib/common/output_text.c private_data_t *priv = NULL; NULL 173 lib/common/output_text.c text_list_data_t *new_list = NULL; NULL 176 lib/common/output_text.c CRM_ASSERT(out != NULL && out->priv != NULL); NULL 190 lib/common/output_text.c new_list->singular_noun = singular_noun == NULL ? NULL : strdup(singular_noun); NULL 191 lib/common/output_text.c new_list->plural_noun = plural_noun == NULL ? NULL : strdup(plural_noun); NULL 201 lib/common/output_text.c CRM_ASSERT(out != NULL); NULL 206 lib/common/output_text.c if (id != NULL) { NULL 229 lib/common/output_text.c private_data_t *priv = NULL; NULL 232 lib/common/output_text.c CRM_ASSERT(out != NULL && out->priv != NULL); NULL 236 lib/common/output_text.c CRM_ASSERT(tail != NULL); NULL 242 lib/common/output_text.c private_data_t *priv = NULL; NULL 243 lib/common/output_text.c text_list_data_t *node = NULL; NULL 245 lib/common/output_text.c CRM_ASSERT(out != NULL && out->priv != NULL); NULL 250 lib/common/output_text.c if (node->singular_noun != NULL && node->plural_noun != NULL) { NULL 263 lib/common/output_text.c CRM_ASSERT(out != NULL); NULL 269 lib/common/output_text.c CRM_ASSERT(out != NULL); NULL 275 lib/common/output_text.c CRM_ASSERT(out != NULL); NULL 290 lib/common/output_text.c if (retval == NULL) { NULL 291 lib/common/output_text.c return NULL; NULL 295 lib/common/output_text.c retval->request = argv == NULL ? NULL : g_strjoinv(" ", argv); NULL 329 lib/common/output_text.c CRM_ASSERT(out != NULL); NULL 340 lib/common/output_text.c CRM_ASSERT(out != NULL); NULL 350 lib/common/output_text.c CRM_ASSERT(out != NULL); NULL 360 lib/common/output_text.c CRM_ASSERT(priv != NULL); NULL 381 lib/common/output_text.c CRM_ASSERT(out != NULL); NULL 395 lib/common/output_text.c CRM_ASSERT(prompt != NULL); NULL 396 lib/common/output_text.c CRM_ASSERT(dest != NULL); NULL 410 lib/common/output_text.c if (*dest != NULL) { NULL 412 lib/common/output_text.c *dest = NULL; NULL 426 lib/common/output_text.c *dest = NULL; NULL 26 lib/common/output_xml.c NULL, NULL 27 lib/common/output_xml.c NULL }, NULL 29 lib/common/output_xml.c NULL, NULL 30 lib/common/output_xml.c NULL }, NULL 32 lib/common/output_xml.c NULL, NULL 33 lib/common/output_xml.c NULL }, NULL 35 lib/common/output_xml.c { NULL } NULL 64 lib/common/output_xml.c { NULL, NULL } NULL 86 lib/common/output_xml.c if (priv == NULL) { NULL 94 lib/common/output_xml.c out->priv = NULL; NULL 99 lib/common/output_xml.c private_data_t *priv = NULL; NULL 102 lib/common/output_xml.c if (out->priv != NULL) { NULL 106 lib/common/output_xml.c if (out->priv == NULL) { NULL 114 lib/common/output_xml.c priv->root = create_xml_node(NULL, "crm_mon"); NULL 117 lib/common/output_xml.c priv->root = create_xml_node(NULL, "pacemaker-result"); NULL 120 lib/common/output_xml.c if (out->request != NULL) { NULL 126 lib/common/output_xml.c priv->errors = NULL; NULL 147 lib/common/output_xml.c private_data_t *priv = NULL; NULL 150 lib/common/output_xml.c CRM_ASSERT(out != NULL); NULL 156 lib/common/output_xml.c if (priv == NULL || priv->root == NULL) { NULL 167 lib/common/output_xml.c while (node != NULL) { NULL 177 lib/common/output_xml.c NULL); NULL 194 lib/common/output_xml.c if (copy_dest != NULL) { NULL 201 lib/common/output_xml.c CRM_ASSERT(out != NULL); NULL 203 lib/common/output_xml.c out->dest = freopen(NULL, "w", out->dest); NULL 204 lib/common/output_xml.c CRM_ASSERT(out->dest != NULL); NULL 214 lib/common/output_xml.c char *rc_as_str = NULL; NULL 216 lib/common/output_xml.c CRM_ASSERT(out != NULL); NULL 222 lib/common/output_xml.c NULL); NULL 224 lib/common/output_xml.c if (proc_stdout != NULL) { NULL 229 lib/common/output_xml.c if (proc_stderr != NULL) { NULL 240 lib/common/output_xml.c CRM_ASSERT(out != NULL); NULL 248 lib/common/output_xml.c NULL); NULL 254 lib/common/output_xml.c private_data_t *priv = NULL; NULL 256 lib/common/output_xml.c char *buf = NULL; NULL 259 lib/common/output_xml.c CRM_ASSERT(out != NULL && out->priv != NULL); NULL 278 lib/common/output_xml.c xmlNodePtr parent = NULL; NULL 279 lib/common/output_xml.c xmlNodePtr cdata_node = NULL; NULL 281 lib/common/output_xml.c CRM_ASSERT(out != NULL); NULL 283 lib/common/output_xml.c parent = pcmk__output_create_xml_node(out, name, NULL); NULL 293 lib/common/output_xml.c char *name = NULL; NULL 294 lib/common/output_xml.c char *buf = NULL; NULL 297 lib/common/output_xml.c CRM_ASSERT(out != NULL); NULL 305 lib/common/output_xml.c for (subst_t *s = substitutions; s->from != NULL; s++) { NULL 313 lib/common/output_xml.c if (name == NULL) { NULL 318 lib/common/output_xml.c pcmk__output_xml_create_parent(out, name, NULL); NULL 322 lib/common/output_xml.c NULL); NULL 332 lib/common/output_xml.c xmlNodePtr item_node = NULL; NULL 334 lib/common/output_xml.c char *buf = NULL; NULL 337 lib/common/output_xml.c CRM_ASSERT(out != NULL); NULL 346 lib/common/output_xml.c if (name != NULL) { NULL 360 lib/common/output_xml.c private_data_t *priv = NULL; NULL 362 lib/common/output_xml.c CRM_ASSERT(out != NULL && out->priv != NULL); NULL 368 lib/common/output_xml.c char *buf = NULL; NULL 397 lib/common/output_xml.c if (retval == NULL) { NULL 398 lib/common/output_xml.c return NULL; NULL 402 lib/common/output_xml.c retval->request = argv == NULL ? NULL : g_strjoinv(" ", argv); NULL 434 lib/common/output_xml.c xmlNodePtr node = NULL; NULL 436 lib/common/output_xml.c CRM_ASSERT(out != NULL); NULL 438 lib/common/output_xml.c node = pcmk__output_create_xml_node(out, name, NULL); NULL 450 lib/common/output_xml.c private_data_t *priv = NULL; NULL 452 lib/common/output_xml.c CRM_ASSERT(out != NULL && out->priv != NULL); NULL 453 lib/common/output_xml.c CRM_ASSERT(node != NULL); NULL 455 lib/common/output_xml.c if (!pcmk__str_any_of(out->fmt_name, "xml", "html", NULL)) { NULL 466 lib/common/output_xml.c xmlNodePtr node = NULL; NULL 467 lib/common/output_xml.c private_data_t *priv = NULL; NULL 470 lib/common/output_xml.c CRM_ASSERT(out != NULL && out->priv != NULL); NULL 471 lib/common/output_xml.c CRM_ASSERT(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL)); NULL 485 lib/common/output_xml.c xmlNodePtr node = NULL; NULL 487 lib/common/output_xml.c CRM_ASSERT(out != NULL); NULL 489 lib/common/output_xml.c node = pcmk__output_create_xml_node(out, name, NULL); NULL 496 lib/common/output_xml.c private_data_t *priv = NULL; NULL 498 lib/common/output_xml.c CRM_ASSERT(out != NULL && out->priv != NULL); NULL 499 lib/common/output_xml.c CRM_ASSERT(parent != NULL); NULL 501 lib/common/output_xml.c if (!pcmk__str_any_of(out->fmt_name, "xml", "html", NULL)) { NULL 512 lib/common/output_xml.c private_data_t *priv = NULL; NULL 514 lib/common/output_xml.c CRM_ASSERT(out != NULL && out->priv != NULL); NULL 516 lib/common/output_xml.c if (!pcmk__str_any_of(out->fmt_name, "xml", "html", NULL)) { NULL 528 lib/common/output_xml.c private_data_t *priv = NULL; NULL 530 lib/common/output_xml.c CRM_ASSERT(out != NULL && out->priv != NULL); NULL 531 lib/common/output_xml.c CRM_ASSERT(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL)); NULL 88 lib/common/patchset.c xmlNode *cIter = NULL; NULL 89 lib/common/patchset.c xmlAttr *pIter = NULL; NULL 90 lib/common/patchset.c xmlNode *change = NULL; NULL 92 lib/common/patchset.c const char *value = NULL; NULL 99 lib/common/patchset.c if (pcmk__element_xpath(NULL, xml->parent, buffer, offset, NULL 115 lib/common/patchset.c for (pIter = pcmk__xe_first_attr(xml); pIter != NULL; NULL 117 lib/common/patchset.c xmlNode *attr = NULL; NULL 124 lib/common/patchset.c if (change == NULL) { NULL 128 lib/common/patchset.c if (pcmk__element_xpath(NULL, xml, buffer, offset, NULL 154 lib/common/patchset.c xmlNode *result = NULL; NULL 159 lib/common/patchset.c for (pIter = pcmk__xe_first_attr(xml); pIter != NULL; NULL 170 lib/common/patchset.c for (cIter = pcmk__xml_first_child(xml); cIter != NULL; NULL 182 lib/common/patchset.c if (pcmk__element_xpath(NULL, xml, buffer, offset, NULL 197 lib/common/patchset.c GList *gIter = NULL; NULL 198 lib/common/patchset.c xml_private_t *p = NULL; NULL 204 lib/common/patchset.c if ((p != NULL) && pcmk_is_set(p->flags, xpf_dirty)) { NULL 208 lib/common/patchset.c if ((xml->doc != NULL) && (xml->doc->_private != NULL)) { NULL 214 lib/common/patchset.c "/" XML_TAG_CIB "/" XML_CIB_TAG_CONFIGURATION) != NULL) { NULL 227 lib/common/patchset.c xmlNode *cib = NULL; NULL 228 lib/common/patchset.c xmlNode *diff_child = NULL; NULL 230 lib/common/patchset.c const char *tag = NULL; NULL 238 lib/common/patchset.c if (local_diff == NULL) { NULL 245 lib/common/patchset.c if (diff_child == NULL) { NULL 251 lib/common/patchset.c if (cib == NULL) { NULL 255 lib/common/patchset.c for (lpc = 0; (last != NULL) && (lpc < PCMK__NELEM(vfields)); lpc++) { NULL 266 lib/common/patchset.c if (diff_child == NULL) { NULL 272 lib/common/patchset.c if (cib == NULL) { NULL 282 lib/common/patchset.c for (xmlAttrPtr a = pcmk__xe_first_attr(next); a != NULL; a = a->next) { NULL 309 lib/common/patchset.c GList *gIter = NULL; NULL 310 lib/common/patchset.c xml_private_t *doc = NULL; NULL 312 lib/common/patchset.c xmlNode *v = NULL; NULL 313 lib/common/patchset.c xmlNode *version = NULL; NULL 314 lib/common/patchset.c xmlNode *patchset = NULL; NULL 323 lib/common/patchset.c return NULL; NULL 329 lib/common/patchset.c patchset = create_xml_node(NULL, XML_TAG_DIFF); NULL 338 lib/common/patchset.c if (value == NULL) { NULL 348 lib/common/patchset.c if (value == NULL) { NULL 375 lib/common/patchset.c xmlNode *patch = NULL; NULL 381 lib/common/patchset.c return NULL; /* No change */ NULL 421 lib/common/patchset.c return NULL; NULL 431 lib/common/patchset.c const char *version = NULL; NULL 432 lib/common/patchset.c char *digest = NULL; NULL 434 lib/common/patchset.c if ((patch == NULL) || (source == NULL) || (target == NULL)) { NULL 461 lib/common/patchset.c xmlNode *child = NULL; NULL 462 lib/common/patchset.c xmlNode *added = NULL; NULL 463 lib/common/patchset.c xmlNode *removed = NULL; NULL 469 lib/common/patchset.c const char *fmt = NULL; NULL 470 lib/common/patchset.c const char *digest = NULL; NULL 473 lib/common/patchset.c static struct qb_log_callsite *patchset_cs = NULL; NULL 478 lib/common/patchset.c if (patchset_cs == NULL) { NULL 483 lib/common/patchset.c if (patchset == NULL) { NULL 503 lib/common/patchset.c } else if ((patchset != NULL) && (add[0] || add[1] || add[2])) { NULL 511 lib/common/patchset.c xmlNode *change = NULL; NULL 513 lib/common/patchset.c for (change = pcmk__xml_first_child(patchset); change != NULL; NULL 518 lib/common/patchset.c if (op == NULL) { NULL 552 lib/common/patchset.c for (child = pcmk__xml_first_child(clist); child != NULL; NULL 557 lib/common/patchset.c if (op == NULL) { NULL 606 lib/common/patchset.c if ((log_level < LOG_DEBUG) || (function == NULL)) { NULL 611 lib/common/patchset.c for (child = pcmk__xml_first_child(removed); child != NULL; NULL 624 lib/common/patchset.c for (child = pcmk__xml_first_child(added); child != NULL; NULL 647 lib/common/patchset.c xmlNode *patch_child = NULL; NULL 648 lib/common/patchset.c xmlNode *cIter = NULL; NULL 650 lib/common/patchset.c char *id = NULL; NULL 651 lib/common/patchset.c const char *name = NULL; NULL 652 lib/common/patchset.c const char *value = NULL; NULL 654 lib/common/patchset.c if ((target == NULL) || (patch == NULL)) { NULL 665 lib/common/patchset.c CRM_CHECK(name != NULL, return); NULL 674 lib/common/patchset.c if ((value != NULL) && (strcmp(value, "removed:top") == 0)) { NULL 682 lib/common/patchset.c pcmk__xe_remove_matching_attrs(patch, not_id, NULL); NULL 700 lib/common/patchset.c xmlNode *patch_child = NULL; NULL 701 lib/common/patchset.c xmlNode *target_child = NULL; NULL 702 lib/common/patchset.c xmlAttrPtr xIter = NULL; NULL 704 lib/common/patchset.c const char *id = NULL; NULL 705 lib/common/patchset.c const char *name = NULL; NULL 706 lib/common/patchset.c const char *value = NULL; NULL 708 lib/common/patchset.c if (patch == NULL) { NULL 710 lib/common/patchset.c } else if ((parent == NULL) && (target == NULL)) { NULL 716 lib/common/patchset.c if ((target == NULL) && (value != NULL) NULL 724 lib/common/patchset.c } else if (target == NULL) { NULL 736 lib/common/patchset.c CRM_CHECK(name != NULL, return); NULL 742 lib/common/patchset.c for (xIter = pcmk__xe_first_attr(patch); xIter != NULL; NULL 752 lib/common/patchset.c for (patch_child = pcmk__xml_first_child(patch); patch_child != NULL; NULL 783 lib/common/patchset.c if (cib_node != NULL) { NULL 794 lib/common/patchset.c *patch_node = NULL; NULL 806 lib/common/patchset.c xmlNode *tmp = NULL; NULL 821 lib/common/patchset.c if (tmp != NULL) { NULL 832 lib/common/patchset.c if (tmp != NULL) { NULL 933 lib/common/patchset.c xmlNode *child_diff = NULL; NULL 939 lib/common/patchset.c for (child_diff = pcmk__xml_first_child(removed); child_diff != NULL; NULL 957 lib/common/patchset.c xmlNode *child_diff = NULL; NULL 959 lib/common/patchset.c for (child_diff = pcmk__xml_first_child(added); child_diff != NULL; NULL 963 lib/common/patchset.c process_v1_additions(NULL, xml, child_diff); NULL 986 lib/common/patchset.c xmlNode *cIter = NULL; NULL 988 lib/common/patchset.c for (cIter = pcmk__xml_first_child(parent); cIter != NULL; NULL 995 lib/common/patchset.c if ((cid == NULL) || (strcmp(cid, id) != 0)) { NULL 1009 lib/common/patchset.c return NULL; NULL 1034 lib/common/patchset.c char *path = NULL; NULL 1038 lib/common/patchset.c CRM_CHECK(key != NULL, return NULL); NULL 1046 lib/common/patchset.c CRM_ASSERT(remainder != NULL); NULL 1049 lib/common/patchset.c CRM_ASSERT(section != NULL); NULL 1052 lib/common/patchset.c CRM_ASSERT(id != NULL); NULL 1055 lib/common/patchset.c CRM_ASSERT(tag != NULL); NULL 1074 lib/common/patchset.c target = first_matching_xml_child(target, tag, NULL, NULL 1083 lib/common/patchset.c target = NULL; NULL 1146 lib/common/patchset.c xmlNode *change = NULL; NULL 1147 lib/common/patchset.c GList *change_objs = NULL; NULL 1148 lib/common/patchset.c GList *gIter = NULL; NULL 1150 lib/common/patchset.c for (change = pcmk__xml_first_child(patchset); change != NULL; NULL 1152 lib/common/patchset.c xmlNode *match = NULL; NULL 1157 lib/common/patchset.c if (op == NULL) { NULL 1170 lib/common/patchset.c if ((match == NULL) && (strcmp(op, "delete") == 0)) { NULL 1174 lib/common/patchset.c } else if (match == NULL) { NULL 1183 lib/common/patchset.c CRM_ASSERT(change_obj != NULL); NULL 1192 lib/common/patchset.c if ((match->parent != NULL) && (match->parent->last != NULL)) { NULL 1201 lib/common/patchset.c xmlNode *attrs = NULL; NULL 1205 lib/common/patchset.c if (attrs == NULL) { NULL 1209 lib/common/patchset.c pcmk__xe_remove_matching_attrs(match, NULL, NULL); // Remove all NULL 1211 lib/common/patchset.c for (xmlAttrPtr pIter = pcmk__xe_first_attr(attrs); pIter != NULL; NULL 1231 lib/common/patchset.c const char *op = NULL; NULL 1232 lib/common/patchset.c const char *xpath = NULL; NULL 1243 lib/common/patchset.c xmlNode *child = NULL; NULL 1244 lib/common/patchset.c xmlNode *match_child = NULL; NULL 1249 lib/common/patchset.c while ((match_child != NULL) NULL 1277 lib/common/patchset.c xmlNode *match_child = NULL; NULL 1284 lib/common/patchset.c CRM_ASSERT(match->parent != NULL); NULL 1287 lib/common/patchset.c while ((match_child != NULL) NULL 1302 lib/common/patchset.c CRM_ASSERT(match->parent->last != NULL); NULL 1330 lib/common/patchset.c xmlNode *old = NULL; NULL 1333 lib/common/patchset.c if (patchset == NULL) { NULL 1366 lib/common/patchset.c if ((rc == pcmk_ok) && (digest != NULL)) { NULL 1367 lib/common/patchset.c static struct qb_log_callsite *digest_cs = NULL; NULL 1369 lib/common/patchset.c char *new_digest = NULL; NULL 1372 lib/common/patchset.c if (digest_cs == NULL) { NULL 1384 lib/common/patchset.c if ((digest_cs != NULL) && digest_cs->targets) { NULL 1385 lib/common/patchset.c save_xml_to_file(old, "PatchDigest:input", NULL); NULL 1386 lib/common/patchset.c save_xml_to_file(xml, "PatchDigest:result", NULL); NULL 1387 lib/common/patchset.c save_xml_to_file(patchset, "PatchDigest:diff", NULL); NULL 1391 lib/common/patchset.c ((digest_cs != NULL)? digest_cs->targets : 0)); NULL 1408 lib/common/patchset.c xmlNode *child = NULL; NULL 1410 lib/common/patchset.c CRM_CHECK(a_node != NULL, return); NULL 1413 lib/common/patchset.c for (child = pcmk__xml_first_child(a_node); child != NULL; NULL 1422 lib/common/patchset.c xmlNode *tmp1 = NULL; NULL 1423 lib/common/patchset.c xmlNode *diff = create_xml_node(NULL, "diff"); NULL 1429 lib/common/patchset.c tmp1 = subtract_xml_object(removed, old, new, FALSE, NULL, "removed:top"); NULL 1430 lib/common/patchset.c if (suppress && (tmp1 != NULL) && can_prune_leaf(tmp1)) { NULL 1434 lib/common/patchset.c tmp1 = subtract_xml_object(added, new, old, TRUE, NULL, "added:top"); NULL 1435 lib/common/patchset.c if (suppress && (tmp1 != NULL) && can_prune_leaf(tmp1)) { NULL 1439 lib/common/patchset.c if ((added->children == NULL) && (removed->children == NULL)) { NULL 1441 lib/common/patchset.c diff = NULL; NULL 1451 lib/common/patchset.c CRM_CHECK(left != NULL, return NULL); NULL 1452 lib/common/patchset.c CRM_CHECK(left->type == XML_COMMENT_NODE, return NULL); NULL 1454 lib/common/patchset.c if ((right == NULL) || !pcmk__str_eq((const char *)left->content, NULL 1457 lib/common/patchset.c xmlNode *deleted = NULL; NULL 1465 lib/common/patchset.c return NULL; NULL 1473 lib/common/patchset.c xmlNode *diff = NULL; NULL 1474 lib/common/patchset.c xmlNode *right_child = NULL; NULL 1475 lib/common/patchset.c xmlNode *left_child = NULL; NULL 1476 lib/common/patchset.c xmlAttrPtr xIter = NULL; NULL 1478 lib/common/patchset.c const char *id = NULL; NULL 1479 lib/common/patchset.c const char *name = NULL; NULL 1480 lib/common/patchset.c const char *value = NULL; NULL 1481 lib/common/patchset.c const char *right_val = NULL; NULL 1483 lib/common/patchset.c if (changed == NULL) { NULL 1487 lib/common/patchset.c if (left == NULL) { NULL 1488 lib/common/patchset.c return NULL; NULL 1496 lib/common/patchset.c if (right == NULL) { NULL 1497 lib/common/patchset.c xmlNode *deleted = NULL; NULL 1509 lib/common/patchset.c CRM_CHECK(name != NULL, return NULL); NULL 1512 lib/common/patchset.c return NULL); NULL 1516 lib/common/patchset.c if ((value != NULL) && (strcmp(value, "removed:top") == 0)) { NULL 1519 lib/common/patchset.c return NULL; NULL 1526 lib/common/patchset.c for (left_child = pcmk__xml_first_child(left); left_child != NULL; NULL 1542 lib/common/patchset.c xmlAttrPtr pIter = NULL; NULL 1544 lib/common/patchset.c for (pIter = pcmk__xe_first_attr(left); pIter != NULL; NULL 1557 lib/common/patchset.c for (xIter = pcmk__xe_first_attr(left); xIter != NULL; NULL 1560 lib/common/patchset.c xmlAttrPtr right_attr = NULL; NULL 1561 lib/common/patchset.c xml_private_t *p = NULL; NULL 1579 lib/common/patchset.c if ((right_val == NULL) || (p && pcmk_is_set(p->flags, xpf_deleted))) { NULL 1583 lib/common/patchset.c xmlAttrPtr pIter = NULL; NULL 1585 lib/common/patchset.c for (pIter = pcmk__xe_first_attr(left); pIter != NULL; NULL 1611 lib/common/patchset.c xmlAttrPtr pIter = NULL; NULL 1615 lib/common/patchset.c for (pIter = pcmk__xe_first_attr(left); pIter != NULL; NULL 1637 lib/common/patchset.c return NULL; NULL 1639 lib/common/patchset.c } else if (!full && (id != NULL)) { NULL 1655 lib/common/patchset.c static struct qb_log_callsite *digest_cs = NULL; NULL 1659 lib/common/patchset.c xmlNode *child_diff = NULL; NULL 1663 lib/common/patchset.c CRM_CHECK(new_xml != NULL, return FALSE); NULL 1664 lib/common/patchset.c if (digest_cs == NULL) { NULL 1670 lib/common/patchset.c for (child_diff = pcmk__xml_first_child(removed); child_diff != NULL; NULL 1674 lib/common/patchset.c *new_xml = subtract_xml_object(NULL, old_xml, child_diff, FALSE, NULL 1675 lib/common/patchset.c NULL, NULL); NULL 1692 lib/common/patchset.c xmlNode *child_diff = NULL; NULL 1694 lib/common/patchset.c for (child_diff = pcmk__xml_first_child(added); child_diff != NULL; NULL 1698 lib/common/patchset.c pcmk__xml_update(NULL, *new_xml, child_diff, true); NULL 1709 lib/common/patchset.c } else if (result && (digest != NULL)) { NULL 1710 lib/common/patchset.c char *new_digest = NULL; NULL 1721 lib/common/patchset.c if ((digest_cs != NULL) && digest_cs->targets) { NULL 1722 lib/common/patchset.c save_xml_to_file(old_xml, "diff:original", NULL); NULL 1723 lib/common/patchset.c save_xml_to_file(diff, "diff:input", NULL); NULL 1724 lib/common/patchset.c save_xml_to_file(*new_xml, "diff:new", NULL); NULL 32 lib/common/pid.c bool no_name_check = ((daemon == NULL) || (have_proc_pid == -1)); NULL 65 lib/common/pid.c } else if (daemon != NULL) { NULL 131 lib/common/pid.c CRM_CHECK((filename != NULL) && (pid != NULL), return EINVAL); NULL 226 lib/common/pid.c rc = pcmk__pidfile_matches(filename, 0, name, NULL); NULL 246 lib/common/pid.c rc = pcmk__pidfile_matches(filename, mypid, name, NULL); NULL 82 lib/common/procfs.c if (name != NULL) { NULL 119 lib/common/procfs.c if (dp == NULL) { NULL 124 lib/common/procfs.c while ((entry = readdir(dp)) != NULL) { NULL 127 lib/common/procfs.c && (pcmk__pid_active(pid, NULL) == pcmk_rc_ok)) { NULL 148 lib/common/procfs.c FILE *stream = NULL; NULL 152 lib/common/procfs.c if (stream == NULL) { NULL 102 lib/common/remote.c return NULL; NULL 112 lib/common/remote.c return NULL; NULL 136 lib/common/remote.c time_t time_limit = time(NULL) + timeout_ms / 1000; NULL 155 lib/common/remote.c } while (time(NULL) < time_limit); NULL 220 lib/common/remote.c const char *prio_base = NULL; NULL 221 lib/common/remote.c char *prio = NULL; NULL 222 lib/common/remote.c gnutls_session_t *session = NULL; NULL 232 lib/common/remote.c if (prio_base == NULL) { NULL 239 lib/common/remote.c if (session == NULL) { NULL 253 lib/common/remote.c rc = gnutls_priority_set_direct(*session, prio, NULL); NULL 278 lib/common/remote.c if (session != NULL) { NULL 281 lib/common/remote.c return NULL; NULL 376 lib/common/remote.c if (unsent == NULL) { NULL 418 lib/common/remote.c if (unsent == NULL) { NULL 492 lib/common/remote.c char *xml_text = NULL; NULL 497 lib/common/remote.c CRM_CHECK((remote != NULL) && (msg != NULL), return EINVAL); NULL 500 lib/common/remote.c CRM_CHECK(xml_text != NULL, return EINVAL); NULL 503 lib/common/remote.c CRM_ASSERT(header != NULL); NULL 542 lib/common/remote.c xmlNode *xml = NULL; NULL 545 lib/common/remote.c if (header == NULL) { NULL 546 lib/common/remote.c return NULL; NULL 566 lib/common/remote.c return NULL; NULL 572 lib/common/remote.c return NULL; NULL 591 lib/common/remote.c if (xml == NULL && header->version > REMOTE_MSG_VERSION) { NULL 595 lib/common/remote.c } else if (xml == NULL) { NULL 647 lib/common/remote.c start = time(NULL); NULL 657 lib/common/remote.c timeout = timeout_ms - ((time(NULL) - start) * 1000); NULL 794 lib/common/remote.c time_t start = time(NULL); NULL 836 lib/common/remote.c remaining_timeout = timeout_ms - ((time(NULL) - start) * 1000); NULL 869 lib/common/remote.c rc = select(cb_data->sock + 1, &rset, &wset, NULL, &ts); NULL 874 lib/common/remote.c if ((time(NULL) - cb_data->start) < (cb_data->timeout_ms / 1000)) { NULL 884 lib/common/remote.c if ((time(NULL) - cb_data->start) < (cb_data->timeout_ms / 1000)) { NULL 959 lib/common/remote.c struct tcp_async_cb_data *cb_data = NULL; NULL 990 lib/common/remote.c cb_data->start = time(NULL); NULL 1068 lib/common/remote.c struct addrinfo *res = NULL; NULL 1069 lib/common/remote.c struct addrinfo *rp = NULL; NULL 1075 lib/common/remote.c CRM_CHECK((host != NULL) && (sock_fd != NULL), return EINVAL); NULL 1082 lib/common/remote.c rc = getaddrinfo(server, NULL, &hints, &res); NULL 1096 lib/common/remote.c for (rp = res; rp != NULL; rp = rp->ai_next) { NULL 1258 lib/common/remote.c port = strtol(env, NULL, 10); NULL 66 lib/common/schemas.c static struct schema_s *known_schemas = NULL; NULL 82 lib/common/schemas.c PCMK__XML_LOG_BASE(priority, FALSE, 0, NULL, fmt, ap); NULL 192 lib/common/schemas.c CRM_ASSERT(known_schemas != NULL); NULL 275 lib/common/schemas.c char *xslt = NULL, NULL 276 lib/common/schemas.c *transform_upgrade = NULL, NULL 277 lib/common/schemas.c *transform_enter = NULL; NULL 307 lib/common/schemas.c xslt = NULL; NULL 311 lib/common/schemas.c if (xslt != NULL) { NULL 318 lib/common/schemas.c transform_enter = NULL; NULL 325 lib/common/schemas.c transform_upgrade = NULL; NULL 330 lib/common/schemas.c add_schema(schema_validator_rng, version, NULL, NULL 347 lib/common/schemas.c CRM_ASSERT(secprefs == NULL); NULL 362 lib/common/schemas.c secprefs = NULL; NULL 383 lib/common/schemas.c struct dirent **namelist = NULL; NULL 430 lib/common/schemas.c NULL, NULL, FALSE, -1); NULL 432 lib/common/schemas.c add_schema(schema_validator_none, &zero, "none", NULL, NULL, FALSE, -1); NULL 467 lib/common/schemas.c relaxng_ctx_cache_t *ctx = NULL; NULL 469 lib/common/schemas.c CRM_CHECK(doc != NULL, return FALSE); NULL 470 lib/common/schemas.c CRM_CHECK(relaxng_file != NULL, return FALSE); NULL 481 lib/common/schemas.c CRM_CHECK(ctx->parser != NULL, goto cleanup); NULL 496 lib/common/schemas.c CRM_CHECK(ctx->rng != NULL, NULL 501 lib/common/schemas.c CRM_CHECK(ctx->valid != NULL, goto cleanup); NULL 534 lib/common/schemas.c if (ctx->parser != NULL) { NULL 537 lib/common/schemas.c if (ctx->valid != NULL) { NULL 540 lib/common/schemas.c if (ctx->rng != NULL) { NULL 557 lib/common/schemas.c relaxng_ctx_cache_t *ctx = NULL; NULL 566 lib/common/schemas.c if (ctx == NULL) { NULL 569 lib/common/schemas.c if (ctx->parser != NULL) { NULL 572 lib/common/schemas.c if (ctx->valid != NULL) { NULL 575 lib/common/schemas.c if (ctx->rng != NULL) { NULL 579 lib/common/schemas.c known_schemas[lpc].cache = NULL; NULL 587 lib/common/schemas.c known_schemas = NULL; NULL 595 lib/common/schemas.c xmlDocPtr doc = NULL; NULL 597 lib/common/schemas.c char *file = NULL; NULL 607 lib/common/schemas.c CRM_CHECK(xml != NULL, return FALSE); NULL 644 lib/common/schemas.c FILE *fp = NULL; NULL 647 lib/common/schemas.c CRM_CHECK(filename != NULL, return); NULL 650 lib/common/schemas.c if (fp == NULL) { NULL 675 lib/common/schemas.c xmlDoc *doc = NULL; NULL 676 lib/common/schemas.c xmlNode *xml = NULL; NULL 678 lib/common/schemas.c char *filename = NULL; NULL 690 lib/common/schemas.c rc = validate_xml(xml, NULL, FALSE); NULL 704 lib/common/schemas.c if (validation == NULL) { NULL 708 lib/common/schemas.c if (validation == NULL) { NULL 799 lib/common/schemas.c if (arg_cur != NULL) { NULL 806 lib/common/schemas.c if (ctx == NULL) { NULL 817 lib/common/schemas.c if (ctx == NULL) { NULL 828 lib/common/schemas.c if (ctx == NULL) { NULL 868 lib/common/schemas.c if (log_level != NULL) { NULL 904 lib/common/schemas.c char *xform = NULL; NULL 905 lib/common/schemas.c xmlNode *out = NULL; NULL 906 lib/common/schemas.c xmlDocPtr res = NULL; NULL 907 lib/common/schemas.c xmlDocPtr doc = NULL; NULL 908 lib/common/schemas.c xsltStylesheet *xslt = NULL; NULL 915 lib/common/schemas.c CRM_CHECK(xml != NULL, return FALSE); NULL 925 lib/common/schemas.c xsltSetGenericErrorFunc(NULL, cib_upgrade_err); NULL 931 lib/common/schemas.c CRM_CHECK(xslt != NULL, goto cleanup); NULL 933 lib/common/schemas.c res = xsltApplyStylesheet(xslt, doc, NULL); NULL 934 lib/common/schemas.c CRM_CHECK(res != NULL, goto cleanup); NULL 936 lib/common/schemas.c xsltSetGenericErrorFunc(NULL, NULL); /* restore default one */ NULL 971 lib/common/schemas.c xmlNode *upgrade = NULL, NULL 972 lib/common/schemas.c *final = NULL; NULL 978 lib/common/schemas.c if (upgrade == NULL) { NULL 984 lib/common/schemas.c if (upgrade == NULL) { NULL 993 lib/common/schemas.c upgrade = NULL; NULL 996 lib/common/schemas.c if (final != NULL && transform_onleave) { NULL 999 lib/common/schemas.c CRM_ASSERT(schema->transform_enter != NULL); NULL 1006 lib/common/schemas.c if (final == NULL) { NULL 1034 lib/common/schemas.c if (name == NULL) { NULL 1050 lib/common/schemas.c xmlNode *xml = NULL; NULL 1051 lib/common/schemas.c char *value = NULL; NULL 1056 lib/common/schemas.c CRM_CHECK(best != NULL, return -EINVAL); NULL 1059 lib/common/schemas.c CRM_CHECK(xml_blob != NULL, return -EINVAL); NULL 1060 lib/common/schemas.c CRM_CHECK(*xml_blob != NULL, return -EINVAL); NULL 1065 lib/common/schemas.c if (value != NULL) { NULL 1119 lib/common/schemas.c xmlNode *upgrade = NULL; NULL 1132 lib/common/schemas.c } else if (known_schemas[lpc].transform == NULL NULL 1152 lib/common/schemas.c if (upgrade == NULL) { NULL 1200 lib/common/schemas.c char *const orig_value = strdup(value == NULL ? "(none)" : value); NULL 1208 lib/common/schemas.c xmlNode *converted = NULL; NULL 1258 lib/common/schemas.c converted = NULL; NULL 47 lib/common/strings.c char *local_end_text = NULL; NULL 51 lib/common/strings.c if (text != NULL) { NULL 71 lib/common/strings.c if ((end_text == NULL) && !pcmk__str_empty(local_end_text)) { NULL 77 lib/common/strings.c if (end_text != NULL) { NULL 80 lib/common/strings.c if (result != NULL) { NULL 102 lib/common/strings.c if (text != NULL) { NULL 103 lib/common/strings.c rc = scan_ll(text, &local_result, default_value, NULL); NULL 108 lib/common/strings.c if (result != NULL) { NULL 144 lib/common/strings.c if (result != NULL) { NULL 166 lib/common/strings.c if ((text != NULL) && (rc == pcmk_rc_ok) // wasn't default or invalid NULL 173 lib/common/strings.c if (port != NULL) { NULL 203 lib/common/strings.c char *local_end_text = NULL; NULL 205 lib/common/strings.c CRM_ASSERT(result != NULL); NULL 208 lib/common/strings.c text = (text != NULL) ? text : default_text; NULL 210 lib/common/strings.c if (text == NULL) { NULL 273 lib/common/strings.c if (strchr("0.eE", *p) == NULL) { NULL 286 lib/common/strings.c if ((end_text == NULL) && !pcmk__str_empty(local_end_text)) { NULL 292 lib/common/strings.c if (end_text != NULL) { NULL 318 lib/common/strings.c CRM_CHECK((table != NULL) && (key != NULL), return EINVAL); NULL 320 lib/common/strings.c if (result != NULL) { NULL 325 lib/common/strings.c if (value == NULL) { NULL 339 lib/common/strings.c if (result != NULL) { NULL 365 lib/common/strings.c const char *num_start = NULL; NULL 371 lib/common/strings.c char *end_text = NULL; NULL 373 lib/common/strings.c if (input == NULL) { NULL 419 lib/common/strings.c if (s != NULL) { NULL 428 lib/common/strings.c if (s == NULL) { NULL 459 lib/common/strings.c if (str == NULL) { NULL 504 lib/common/strings.c } else if (s == NULL) { NULL 514 lib/common/strings.c return (s == NULL)? false : !strcmp(s, match); NULL 676 lib/common/strings.c GHashTable *new_table = NULL; NULL 707 lib/common/strings.c CRM_ASSERT(list != NULL); NULL 714 lib/common/strings.c orig_len = (len != NULL)? *len : ((*list == NULL)? 0 : strlen(*list)); NULL 721 lib/common/strings.c } else if (separator == NULL) { NULL 726 lib/common/strings.c if (len != NULL) { NULL 752 lib/common/strings.c char *compressed = NULL; NULL 802 lib/common/strings.c char *string = NULL; NULL 814 lib/common/strings.c char *remainder = NULL; NULL 816 lib/common/strings.c CRM_ASSERT(start != NULL && end != NULL); NULL 846 lib/common/strings.c char *more_remainder = NULL; NULL 883 lib/common/strings.c if (lst == NULL) { NULL 887 lib/common/strings.c if (strcmp(lst->data, "*") == 0 && lst->next == NULL) { NULL 891 lib/common/strings.c return g_list_find_custom(lst, s, (GCompareFunc) strcmp) != NULL; NULL 899 lib/common/strings.c if (s != NULL) { NULL 903 lib/common/strings.c if (ele == NULL) { NULL 990 lib/common/strings.c if (ele == NULL) { NULL 992 lib/common/strings.c } else if (strchr(ele, ch) != NULL) { NULL 1025 lib/common/strings.c char *end1 = NULL; NULL 1026 lib/common/strings.c char *end2 = NULL; NULL 1106 lib/common/strings.c if (s1 == NULL || s2 == NULL) { NULL 1119 lib/common/strings.c rc = regexec(r_patt, s1, 0, NULL, 0); NULL 1141 lib/common/strings.c if (s1 == NULL || s2 == NULL) { NULL 1149 lib/common/strings.c if (s1 == NULL) { NULL 1151 lib/common/strings.c } else if (s2 == NULL) { NULL 1172 lib/common/strings.c } else if (a == NULL || b == NULL) { NULL 1191 lib/common/strings.c } else if (a == NULL || b == NULL) { NULL 1204 lib/common/strings.c if (buffer != NULL) { NULL 1239 lib/common/strings.c if (text == NULL) { NULL 1241 lib/common/strings.c if (text == NULL) { NULL 1247 lib/common/strings.c scan_ll(text, &result, PCMK__PARSE_INT_DEFAULT, NULL); NULL 19 lib/common/tests/agents/pcmk_stonith_param_test.c g_assert_false(pcmk_stonith_param(NULL)); NULL 52 lib/common/tests/agents/pcmk_stonith_param_test.c g_test_init(&argc, &argv, NULL); NULL 22 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c g_assert_null(pcmk__cmdline_preproc(NULL, "")); NULL 27 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c const char *argv[] = { "-a", "-b", "-c", "-d", NULL }; NULL 28 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c const gchar *expected[] = { "-a", "-b", "-c", "-d", NULL }; NULL 30 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c gchar **processed = pcmk__cmdline_preproc((char **) argv, NULL); NULL 41 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c const char *argv[] = { "-", NULL }; NULL 42 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c const gchar *expected[] = { "-", NULL }; NULL 44 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c gchar **processed = pcmk__cmdline_preproc((char **) argv, NULL); NULL 51 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c const char *argv[] = { "-a", "--", "-bc", NULL }; NULL 52 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c const gchar *expected[] = { "-a", "--", "-bc", NULL }; NULL 54 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c gchar **processed = pcmk__cmdline_preproc((char **) argv, NULL); NULL 61 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c const char *argv[] = { "-aX", "-Fval", NULL }; NULL 62 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c const gchar *expected[] = { "-a", "X", "-F", "val", NULL }; NULL 71 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c const char *argv[] = { "-a", NULL }; NULL 72 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c const gchar *expected[] = { "-a", NULL }; NULL 81 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c const char *argv[] = { "--blah=foo", NULL }; NULL 82 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c const gchar *expected[] = { "--blah=foo", NULL }; NULL 84 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c gchar **processed = pcmk__cmdline_preproc((char **) argv, NULL); NULL 92 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c g_test_init(&argc, &argv, NULL); NULL 15 lib/common/tests/flags/pcmk__clear_flags_as_test.c "test", 0x0f0, 0x00f, NULL), ==, 0x0f0); NULL 17 lib/common/tests/flags/pcmk__clear_flags_as_test.c "test", 0x0f0, 0xf0f, NULL), ==, 0x0f0); NULL 23 lib/common/tests/flags/pcmk__clear_flags_as_test.c "test", 0x0f0, 0x020, NULL), ==, 0x0d0); NULL 25 lib/common/tests/flags/pcmk__clear_flags_as_test.c "test", 0x0f0, 0x030, NULL), ==, 0x0c0); NULL 31 lib/common/tests/flags/pcmk__clear_flags_as_test.c "test", 0x0f0, 0x0f0, NULL), ==, 0x000); NULL 33 lib/common/tests/flags/pcmk__clear_flags_as_test.c "test", 0x0f0, 0xfff, NULL), ==, 0x000); NULL 39 lib/common/tests/flags/pcmk__clear_flags_as_test.c g_test_init(&argc, &argv, NULL); NULL 15 lib/common/tests/flags/pcmk__set_flags_as_test.c "test", 0x0f0, 0x00f, NULL), ==, 0x0ff); NULL 17 lib/common/tests/flags/pcmk__set_flags_as_test.c "test", 0x0f0, 0xf0f, NULL), ==, 0xfff); NULL 19 lib/common/tests/flags/pcmk__set_flags_as_test.c "test", 0x0f0, 0xfff, NULL), ==, 0xfff); NULL 25 lib/common/tests/flags/pcmk__set_flags_as_test.c g_test_init(&argc, &argv, NULL); NULL 34 lib/common/tests/flags/pcmk_all_flags_set_test.c g_test_init(&argc, &argv, NULL); NULL 28 lib/common/tests/flags/pcmk_any_flags_set_test.c g_test_init(&argc, &argv, NULL); NULL 18 lib/common/tests/operations/parse_op_key_test.c char *rsc = NULL; NULL 19 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; NULL 33 lib/common/tests/operations/parse_op_key_test.c char *rsc = NULL; NULL 34 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; NULL 55 lib/common/tests/operations/parse_op_key_test.c char *rsc = NULL; NULL 56 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; NULL 77 lib/common/tests/operations/parse_op_key_test.c char *rsc = NULL; NULL 78 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; NULL 106 lib/common/tests/operations/parse_op_key_test.c char *rsc = NULL; NULL 107 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; NULL 135 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; NULL 138 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("Fencing_monitor_60000", NULL, &ty, &ms)); NULL 147 lib/common/tests/operations/parse_op_key_test.c char *rsc = NULL; NULL 150 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("Fencing_monitor_60000", &rsc, NULL, &ms)); NULL 159 lib/common/tests/operations/parse_op_key_test.c char *rsc = NULL; NULL 160 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; NULL 162 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("Fencing_monitor_60000", &rsc, &ty, NULL)); NULL 172 lib/common/tests/operations/parse_op_key_test.c char *rsc = NULL; NULL 173 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; NULL 181 lib/common/tests/operations/parse_op_key_test.c g_assert_false(parse_op_key(NULL, &rsc, &ty, &ms)); NULL 190 lib/common/tests/operations/parse_op_key_test.c char *rsc = NULL; NULL 191 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; NULL 212 lib/common/tests/operations/parse_op_key_test.c g_test_init(&argc, &argv, NULL); NULL 18 lib/common/tests/strings/pcmk__add_word_test.c char *list = NULL; NULL 30 lib/common/tests/strings/pcmk__add_word_test.c char *list = NULL; NULL 32 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_word(&list, NULL, "hello"); NULL 33 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_word(&list, NULL, "world"); NULL 41 lib/common/tests/strings/pcmk__add_word_test.c char *list = NULL; NULL 43 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_word(&list, NULL, "hello"); NULL 44 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_word(&list, NULL, NULL); NULL 45 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_word(&list, NULL, ""); NULL 53 lib/common/tests/strings/pcmk__add_word_test.c char *list = NULL; NULL 56 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_separated_word(&list, &list_len, "hello", NULL); NULL 57 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_separated_word(&list, &list_len, "world", NULL); NULL 58 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_separated_word(&list, &list_len, "I am a unit test", NULL); NULL 66 lib/common/tests/strings/pcmk__add_word_test.c char *list = NULL; NULL 79 lib/common/tests/strings/pcmk__add_word_test.c char *list = NULL; NULL 92 lib/common/tests/strings/pcmk__add_word_test.c g_test_init(&argc, &argv, NULL); NULL 22 lib/common/tests/strings/pcmk__btoa_test.c g_test_init(&argc, &argv, NULL); NULL 19 lib/common/tests/strings/pcmk__char_in_any_str_test.c g_assert_false(pcmk__char_in_any_str('x', NULL)); NULL 20 lib/common/tests/strings/pcmk__char_in_any_str_test.c g_assert_false(pcmk__char_in_any_str('\0', NULL)); NULL 26 lib/common/tests/strings/pcmk__char_in_any_str_test.c g_assert_true(pcmk__char_in_any_str('\0', "xxx", "yyy", NULL)); NULL 27 lib/common/tests/strings/pcmk__char_in_any_str_test.c g_assert_true(pcmk__char_in_any_str('\0', "", NULL)); NULL 33 lib/common/tests/strings/pcmk__char_in_any_str_test.c g_assert_true(pcmk__char_in_any_str('x', "aaa", "bbb", "xxx", NULL)); NULL 39 lib/common/tests/strings/pcmk__char_in_any_str_test.c g_assert_false(pcmk__char_in_any_str('x', "aaa", "bbb", NULL)); NULL 40 lib/common/tests/strings/pcmk__char_in_any_str_test.c g_assert_false(pcmk__char_in_any_str('A', "aaa", "bbb", NULL)); NULL 41 lib/common/tests/strings/pcmk__char_in_any_str_test.c g_assert_false(pcmk__char_in_any_str('x', "", NULL)); NULL 46 lib/common/tests/strings/pcmk__char_in_any_str_test.c g_test_init(&argc, &argv, NULL); NULL 19 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range(NULL, &start, &end), ==, NULL 97 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_test_init(&argc, &argv, NULL); NULL 32 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(NULL, &result, NULL, NULL), ==, EINVAL); NULL 35 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("", &result, NULL, NULL), ==, EINVAL); NULL 39 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(NULL, &result, "2.0", NULL), ==, NULL 43 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("", &result, "2.0", NULL), ==, EINVAL); NULL 53 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("asdf", &result, NULL, NULL), ==, EINVAL); NULL 56 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("as2.0", &result, NULL, NULL), ==, NULL 61 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("asdf", &result, "2.0", NULL), ==, NULL 65 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("as2.0", &result, "2.0", NULL), ==, NULL 75 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("2.0asdf", &result, NULL, NULL), ==, NULL 86 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("0.0", &result, NULL, NULL), ==, NULL 90 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("1.0", &result, NULL, NULL), ==, NULL 94 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("-1.0", &result, NULL, NULL), ==, NULL 99 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, NULL 104 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, NULL 120 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, EOVERFLOW); NULL 124 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, EOVERFLOW); NULL 141 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, NULL 147 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, NULL 155 lib/common/tests/strings/pcmk__scan_double_test.c g_test_init(&argc, &argv, NULL); NULL 18 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_false(pcmk__strcase_any_of("xxx", NULL)); NULL 19 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_false(pcmk__str_any_of("xxx", NULL)); NULL 20 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_false(pcmk__strcase_any_of("", NULL)); NULL 21 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_false(pcmk__str_any_of("", NULL)); NULL 26 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_false(pcmk__strcase_any_of("", "xxx", "yyy", NULL)); NULL 27 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_false(pcmk__str_any_of("", "xxx", "yyy", NULL)); NULL 28 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_false(pcmk__strcase_any_of(NULL, "xxx", "yyy", NULL)); NULL 29 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_false(pcmk__str_any_of(NULL, "xxx", "yyy", NULL)); NULL 34 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_true(pcmk__strcase_any_of("xxx", "aaa", "bbb", "xxx", NULL)); NULL 35 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_true(pcmk__str_any_of("xxx", "aaa", "bbb", "xxx", NULL)); NULL 36 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_true(pcmk__strcase_any_of("XXX", "aaa", "bbb", "xxx", NULL)); NULL 41 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_false(pcmk__strcase_any_of("xxx", "aaa", "bbb", NULL)); NULL 42 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_false(pcmk__str_any_of("xxx", "aaa", "bbb", NULL)); NULL 43 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_false(pcmk__str_any_of("AAA", "aaa", "bbb", NULL)); NULL 48 lib/common/tests/strings/pcmk__str_any_of_test.c g_test_init(&argc, &argv, NULL); NULL 25 lib/common/tests/strings/pcmk__strcmp_test.c g_assert_cmpint(pcmk__strcmp(NULL, NULL, pcmk__str_none), ==, 0); NULL 32 lib/common/tests/strings/pcmk__strcmp_test.c g_assert_cmpint(pcmk__strcmp(s1, NULL, pcmk__str_null_matches), ==, 0); NULL 33 lib/common/tests/strings/pcmk__strcmp_test.c g_assert_true(pcmk__str_eq(s1, NULL, pcmk__str_null_matches)); NULL 34 lib/common/tests/strings/pcmk__strcmp_test.c g_assert_cmpint(pcmk__strcmp(NULL, s1, pcmk__str_null_matches), ==, 0); NULL 35 lib/common/tests/strings/pcmk__strcmp_test.c g_assert_cmpint(pcmk__strcmp(s1, NULL, pcmk__str_none), >, 0); NULL 36 lib/common/tests/strings/pcmk__strcmp_test.c g_assert_false(pcmk__str_eq(s1, NULL, pcmk__str_none)); NULL 37 lib/common/tests/strings/pcmk__strcmp_test.c g_assert_cmpint(pcmk__strcmp(NULL, s1, pcmk__str_none), <, 0); NULL 64 lib/common/tests/strings/pcmk__strcmp_test.c g_assert_cmpint(pcmk__strcmp(NULL, "a..d", pcmk__str_regex), ==, 1); NULL 65 lib/common/tests/strings/pcmk__strcmp_test.c g_assert_cmpint(pcmk__strcmp(s1, NULL, pcmk__str_regex), ==, 1); NULL 78 lib/common/tests/strings/pcmk__strcmp_test.c g_test_init(&argc, &argv, NULL); NULL 44 lib/common/tests/utils/pcmk_str_is_infinity_test.c g_assert_false(pcmk_str_is_infinity(NULL)); NULL 56 lib/common/tests/utils/pcmk_str_is_infinity_test.c g_test_init(&argc, &argv, NULL); NULL 41 lib/common/tests/utils/pcmk_str_is_minus_infinity_test.c g_assert_false(pcmk_str_is_minus_infinity(NULL)); NULL 53 lib/common/tests/utils/pcmk_str_is_minus_infinity_test.c g_test_init(&argc, &argv, NULL); NULL 15 lib/common/tests/xpath/pcmk__xpath_node_id_test.c g_assert_null(pcmk__xpath_node_id(NULL, "lrm")); NULL 17 lib/common/tests/xpath/pcmk__xpath_node_id_test.c g_assert_null(pcmk__xpath_node_id("/blah/blah", NULL)); NULL 19 lib/common/tests/xpath/pcmk__xpath_node_id_test.c g_assert_null(pcmk__xpath_node_id(NULL, NULL)); NULL 30 lib/common/tests/xpath/pcmk__xpath_node_id_test.c char *s = NULL; NULL 44 lib/common/tests/xpath/pcmk__xpath_node_id_test.c g_test_init(&argc, &argv, NULL); NULL 54 lib/common/utils.c char *crm_system_name = NULL; NULL 65 lib/common/utils.c if (score == NULL) { NULL 103 lib/common/utils.c CRM_CHECK((buf != NULL) && (len >= sizeof(CRM_MINUS_INFINITY_S)), NULL 104 lib/common/utils.c return NULL); NULL 132 lib/common/utils.c char *buffer = NULL; NULL 134 lib/common/utils.c struct passwd *pwentry = NULL; NULL 137 lib/common/utils.c if (buffer == NULL) { NULL 205 lib/common/utils.c CRM_ASSERT(end_text != NULL); NULL 209 lib/common/utils.c if (text != NULL && text[0] != 0) { NULL 238 lib/common/utils.c if (version1 == NULL && version2 == NULL) { NULL 240 lib/common/utils.c } else if (version1 == NULL) { NULL 242 lib/common/utils.c } else if (version2 == NULL) { NULL 259 lib/common/utils.c if (ver1_iter != NULL) { NULL 263 lib/common/utils.c if (ver2_iter != NULL) { NULL 276 lib/common/utils.c if (ver1_iter != NULL && *ver1_iter == '.') { NULL 279 lib/common/utils.c if (ver1_iter != NULL && *ver1_iter == '\0') { NULL 280 lib/common/utils.c ver1_iter = NULL; NULL 283 lib/common/utils.c if (ver2_iter != NULL && *ver2_iter == '.') { NULL 286 lib/common/utils.c if (ver2_iter != NULL && *ver2_iter == 0) { NULL 287 lib/common/utils.c ver2_iter = NULL; NULL 319 lib/common/utils.c if (input == NULL) { NULL 420 lib/common/utils.c crm_write_blackbox(SIGTRAP, NULL); NULL 515 lib/common/utils.c char *crm_name = NULL; NULL 517 lib/common/utils.c CRM_CHECK(field != NULL, return NULL); NULL 535 lib/common/utils.c char *key = NULL; NULL 536 lib/common/utils.c const char *value = NULL; NULL 581 lib/common/utils.c return (uname(&hostinfo) < 0)? NULL : strdup(hostinfo.nodename); NULL 586 lib/common/utils.c return pcmk__str_any_of(s, CRM_INFINITY_S, CRM_PLUS_INFINITY_S, NULL); NULL 623 lib/common/utils.c nanosleep(&req, NULL); NULL 633 lib/common/utils.c select(0, NULL, NULL, NULL, &tv); NULL 164 lib/common/watchdog.c static struct qb_log_callsite *panic_cs = NULL; NULL 166 lib/common/watchdog.c if (panic_cs == NULL) { NULL 201 lib/common/watchdog.c char *pidfile = NULL; NULL 202 lib/common/watchdog.c char *sbd_path = NULL; NULL 259 lib/common/watchdog.c if (sync_env == NULL) { NULL 54 lib/common/xml.c if(xml == NULL || xml->doc == NULL || xml->doc->_private == NULL) { NULL 76 lib/common/xml.c char *tmp = NULL; \ NULL 93 lib/common/xml.c if ((*buffer) == NULL || spaces >= ((*max) - (*offset))) { NULL 109 lib/common/xml.c if(p == NULL) { NULL 141 lib/common/xml.c xmlNode *cIter = NULL; NULL 148 lib/common/xml.c for (cIter = pcmk__xml_first_child(xml); cIter != NULL; NULL 158 lib/common/xml.c xmlNode *cIter = NULL; NULL 166 lib/common/xml.c for (cIter = pcmk__xml_first_child(xml); cIter != NULL; NULL 177 lib/common/xml.c xml_private_t *p = NULL; NULL 207 lib/common/xml.c p->user = NULL; NULL 211 lib/common/xml.c p->acls = NULL; NULL 216 lib/common/xml.c p->deleted_objs = NULL; NULL 232 lib/common/xml.c if (node->type != XML_DOCUMENT_NODE || node->name == NULL NULL 243 lib/common/xml.c xml_private_t *p = NULL; NULL 282 lib/common/xml.c if(acl_source == NULL) { NULL 293 lib/common/xml.c return (xml != NULL) && (xml->doc != NULL) && (xml->doc->_private != NULL) NULL 300 lib/common/xml.c return (xml != NULL) && (xml->doc != NULL) && (xml->doc->_private != NULL) NULL 318 lib/common/xml.c xmlNode *cIter = NULL; NULL 352 lib/common/xml.c pcmk__xe_remove_matching_attrs(xml, marked_as_deleted, NULL); NULL 355 lib/common/xml.c for (xmlNodePtr cIter = pcmk__xml_first_child(xml); cIter != NULL; NULL 372 lib/common/xml.c CRM_CHECK(needle != NULL, return NULL); NULL 379 lib/common/xml.c const char *attr = (id == NULL)? NULL : XML_ATTR_ID; NULL 388 lib/common/xml.c GList *gIter = NULL; NULL 389 lib/common/xml.c xml_private_t *doc = NULL; NULL 423 lib/common/xml.c xmlNode *top = NULL; NULL 424 lib/common/xml.c xml_private_t *doc = NULL; NULL 426 lib/common/xml.c if(xml == NULL) { NULL 448 lib/common/xml.c xmlNode *a_child = NULL; NULL 451 lib/common/xml.c if (root != NULL) { NULL 455 lib/common/xml.c if (search_path == NULL) { NULL 457 lib/common/xml.c return NULL; NULL 460 lib/common/xml.c for (a_child = pcmk__xml_first_child(root); a_child != NULL; NULL 470 lib/common/xml.c } else if (root != NULL) { NULL 476 lib/common/xml.c return NULL; NULL 500 lib/common/xml.c CRM_CHECK(attr_n == NULL || attr_v != NULL, return NULL); NULL 502 lib/common/xml.c for (xmlNode *child = pcmk__xml_first_child(parent); child != NULL; NULL 506 lib/common/xml.c && ((attr_n == NULL) || attr_matches(child, attr_n, attr_v))) { NULL 517 lib/common/xml.c return NULL; NULL 523 lib/common/xml.c if (src == NULL) { NULL 526 lib/common/xml.c } else if (target == NULL) { NULL 530 lib/common/xml.c for (xmlAttrPtr a = pcmk__xe_first_attr(src); a != NULL; a = a->next) { NULL 545 lib/common/xml.c xmlNode *child = NULL; NULL 547 lib/common/xml.c for (xmlAttrPtr a = pcmk__xe_first_attr(target); a != NULL; a = a->next) { NULL 553 lib/common/xml.c for (child = pcmk__xml_first_child(target); child != NULL; NULL 567 lib/common/xml.c const char *old_value = NULL; NULL 569 lib/common/xml.c if (value == NULL || name == NULL) { NULL 575 lib/common/xml.c if (old_value == NULL) { NULL 634 lib/common/xml.c xmlAttrPtr next = NULL; NULL 636 lib/common/xml.c for (xmlAttrPtr a = pcmk__xe_first_attr(element); a != NULL; a = next) { NULL 638 lib/common/xml.c if ((match == NULL) || match(a, user_data)) { NULL 639 lib/common/xml.c if (!pcmk__check_acl(element, NULL, xpf_acl_write)) { NULL 660 lib/common/xml.c xmlDoc *doc = NULL; NULL 662 lib/common/xml.c CRM_CHECK(node != NULL, return NULL); NULL 665 lib/common/xml.c if (doc == NULL) { NULL 676 lib/common/xml.c xmlNode *child = NULL; NULL 679 lib/common/xml.c CRM_CHECK(src_node != NULL, return NULL); NULL 698 lib/common/xml.c xmlDoc *doc = NULL; NULL 699 lib/common/xml.c xmlNode *node = NULL; NULL 702 lib/common/xml.c CRM_CHECK(name != NULL && name[0] == 0, return NULL); NULL 703 lib/common/xml.c return NULL; NULL 706 lib/common/xml.c if (parent == NULL) { NULL 708 lib/common/xml.c node = xmlNewDocRawNode(doc, NULL, (pcmkXmlStr) name, NULL); NULL 713 lib/common/xml.c node = xmlNewDocRawNode(doc, NULL, (pcmkXmlStr) name, NULL); NULL 725 lib/common/xml.c if (node != NULL) { NULL 738 lib/common/xml.c if (class_name != NULL) { NULL 742 lib/common/xml.c if (id != NULL) { NULL 764 lib/common/xml.c if (child != NULL) { NULL 765 lib/common/xml.c xmlNode *top = NULL; NULL 769 lib/common/xml.c if (doc != NULL) { NULL 773 lib/common/xml.c if (doc != NULL && top == child) { NULL 777 lib/common/xml.c } else if (pcmk__check_acl(child, NULL, xpf_acl_write) == FALSE) { NULL 781 lib/common/xml.c pcmk__element_xpath(NULL, child, buffer, offset, sizeof(buffer)); NULL 791 lib/common/xml.c if (pcmk__element_xpath(NULL, child, buffer, offset, NULL 793 lib/common/xml.c pcmk__deleted_xml_t *deleted_obj = NULL; NULL 848 lib/common/xml.c static struct qb_log_callsite *xml_error_cs = NULL; NULL 850 lib/common/xml.c if (xml_error_cs == NULL) { NULL 870 lib/common/xml.c xmlNode *xml = NULL; NULL 871 lib/common/xml.c xmlDocPtr output = NULL; NULL 872 lib/common/xml.c xmlParserCtxtPtr ctxt = NULL; NULL 873 lib/common/xml.c xmlErrorPtr last_error = NULL; NULL 875 lib/common/xml.c if (input == NULL) { NULL 877 lib/common/xml.c return NULL; NULL 882 lib/common/xml.c CRM_CHECK(ctxt != NULL, return NULL); NULL 886 lib/common/xml.c output = xmlCtxtReadDoc(ctxt, (pcmkXmlStr) input, NULL, NULL, NULL 907 lib/common/xml.c if (xml != NULL) { NULL 934 lib/common/xml.c char *xml_buffer = NULL; NULL 935 lib/common/xml.c xmlNode *xml_obj = NULL; NULL 947 lib/common/xml.c return NULL; NULL 961 lib/common/xml.c char *buffer = NULL; NULL 964 lib/common/xml.c BZFILE *bz_file = NULL; NULL 967 lib/common/xml.c if (input == NULL) { NULL 969 lib/common/xml.c return NULL; NULL 972 lib/common/xml.c bz_file = BZ2_bzReadOpen(&rc, input, 0, 0, NULL, 0); NULL 977 lib/common/xml.c return NULL; NULL 1000 lib/common/xml.c buffer = NULL; NULL 1045 lib/common/xml.c xmlNode *xml = NULL; NULL 1046 lib/common/xml.c xmlDocPtr output = NULL; NULL 1048 lib/common/xml.c xmlParserCtxtPtr ctxt = NULL; NULL 1049 lib/common/xml.c xmlErrorPtr last_error = NULL; NULL 1053 lib/common/xml.c CRM_CHECK(ctxt != NULL, return NULL); NULL 1062 lib/common/xml.c if (filename == NULL || !strcmp(filename, "-")) { NULL 1064 lib/common/xml.c output = xmlCtxtReadFd(ctxt, STDIN_FILENO, "unknown.xml", NULL, NULL 1068 lib/common/xml.c output = xmlCtxtReadFile(ctxt, filename, NULL, PCMK__XML_PARSE_OPTS); NULL 1073 lib/common/xml.c output = xmlCtxtReadDoc(ctxt, (pcmkXmlStr) input, NULL, NULL, NULL 1094 lib/common/xml.c if (xml != NULL) { NULL 1115 lib/common/xml.c const char *now_str = pcmk__epoch2str(NULL); NULL 1153 lib/common/xml.c char *id = NULL; NULL 1183 lib/common/xml.c char *buffer = NULL; NULL 1196 lib/common/xml.c BZFILE *bz_file = NULL; NULL 1272 lib/common/xml.c FILE *stream = NULL; NULL 1278 lib/common/xml.c if (stream == NULL) { NULL 1300 lib/common/xml.c FILE *stream = NULL; NULL 1306 lib/common/xml.c if (stream == NULL) { NULL 1422 lib/common/xml.c char *p_value = NULL; NULL 1423 lib/common/xml.c const char *p_name = NULL; NULL 1424 lib/common/xml.c xml_private_t *p = NULL; NULL 1426 lib/common/xml.c CRM_ASSERT(buffer != NULL); NULL 1427 lib/common/xml.c if (attr == NULL || attr->children == NULL) { NULL 1449 lib/common/xml.c const char *name = NULL; NULL 1450 lib/common/xml.c const char *hidden = NULL; NULL 1452 lib/common/xml.c xmlNode *child = NULL; NULL 1454 lib/common/xml.c if ((data == NULL) || (log_level == LOG_NEVER)) { NULL 1461 lib/common/xml.c char *buffer = NULL; NULL 1472 lib/common/xml.c for (xmlAttrPtr a = pcmk__xe_first_attr(data); a != NULL; NULL 1478 lib/common/xml.c char *p_copy = NULL; NULL 1488 lib/common/xml.c } else if (hidden != NULL && p_name[0] != 0 && strstr(hidden, p_name) != NULL) { NULL 1524 lib/common/xml.c for (child = pcmk__xml_first_child(data); child != NULL; NULL 1533 lib/common/xml.c char *buffer = NULL; NULL 1549 lib/common/xml.c char *prefix_m = NULL; NULL 1550 lib/common/xml.c xmlNode *child = NULL; NULL 1552 lib/common/xml.c if ((data == NULL) || (log_level == LOG_NEVER)) { NULL 1570 lib/common/xml.c char *prefix_del = NULL; NULL 1571 lib/common/xml.c char *prefix_moved = NULL; NULL 1590 lib/common/xml.c for (xmlAttrPtr a = pcmk__xe_first_attr(data); a != NULL; a = a->next) { NULL 1623 lib/common/xml.c for (child = pcmk__xml_first_child(data); child != NULL; NULL 1633 lib/common/xml.c for (child = pcmk__xml_first_child(data); child != NULL; NULL 1648 lib/common/xml.c xmlNode *a_child = NULL; NULL 1650 lib/common/xml.c char *prefix_m = NULL; NULL 1656 lib/common/xml.c if (prefix == NULL) { NULL 1661 lib/common/xml.c if (data == NULL) { NULL 1675 lib/common/xml.c && (data->children == NULL || crm_element_value(data, XML_DIFF_MARKER))) { NULL 1682 lib/common/xml.c && (data->children == NULL || crm_element_value(data, XML_DIFF_MARKER))) { NULL 1693 lib/common/xml.c for (a_child = pcmk__xml_first_child(data); a_child != NULL; NULL 1708 lib/common/xml.c for (xmlAttrPtr a = pcmk__xe_first_attr(data); a != NULL; a = a->next) { NULL 1718 lib/common/xml.c const char *name = NULL; NULL 1720 lib/common/xml.c CRM_ASSERT(max != NULL); NULL 1721 lib/common/xml.c CRM_ASSERT(offset != NULL); NULL 1722 lib/common/xml.c CRM_ASSERT(buffer != NULL); NULL 1724 lib/common/xml.c if (data == NULL) { NULL 1729 lib/common/xml.c if (*buffer == NULL) { NULL 1735 lib/common/xml.c CRM_ASSERT(name != NULL); NULL 1744 lib/common/xml.c for (xmlAttrPtr a = pcmk__xe_first_attr(data); a != NULL; a = a->next) { NULL 1749 lib/common/xml.c if (data->children == NULL) { NULL 1761 lib/common/xml.c xmlNode *xChild = NULL; NULL 1762 lib/common/xml.c for(xChild = data->children; xChild != NULL; xChild = xChild->next) { NULL 1778 lib/common/xml.c CRM_ASSERT(max != NULL); NULL 1779 lib/common/xml.c CRM_ASSERT(offset != NULL); NULL 1780 lib/common/xml.c CRM_ASSERT(buffer != NULL); NULL 1782 lib/common/xml.c if (data == NULL) { NULL 1787 lib/common/xml.c if (*buffer == NULL) { NULL 1804 lib/common/xml.c CRM_ASSERT(max != NULL); NULL 1805 lib/common/xml.c CRM_ASSERT(offset != NULL); NULL 1806 lib/common/xml.c CRM_ASSERT(buffer != NULL); NULL 1808 lib/common/xml.c if (data == NULL) { NULL 1813 lib/common/xml.c if (*buffer == NULL) { NULL 1832 lib/common/xml.c CRM_ASSERT(max != NULL); NULL 1833 lib/common/xml.c CRM_ASSERT(offset != NULL); NULL 1834 lib/common/xml.c CRM_ASSERT(buffer != NULL); NULL 1836 lib/common/xml.c if (data == NULL) { NULL 1841 lib/common/xml.c if (*buffer == NULL) { NULL 1874 lib/common/xml.c if(data == NULL) { NULL 1890 lib/common/xml.c time_t next, new = time(NULL); NULL 1897 lib/common/xml.c CRM_CHECK(doc != NULL, return); NULL 1899 lib/common/xml.c xml_buffer = xmlAllocOutputBuffer(NULL); NULL 1900 lib/common/xml.c CRM_ASSERT(xml_buffer != NULL); NULL 1913 lib/common/xml.c (options & xml_log_option_formatted), NULL); NULL 1916 lib/common/xml.c if (xml_buffer->buffer != NULL) { NULL 1922 lib/common/xml.c next = time(NULL); NULL 1996 lib/common/xml.c char *buffer = NULL; NULL 2008 lib/common/xml.c char *buffer = NULL; NULL 2019 lib/common/xml.c char *buffer = NULL; NULL 2029 lib/common/xml.c if (xml_root != NULL && xml_root->children != NULL) { NULL 2038 lib/common/xml.c if (pcmk__check_acl(obj, NULL, xpf_acl_write) == FALSE) { NULL 2043 lib/common/xml.c xml_private_t *p = NULL; NULL 2057 lib/common/xml.c char *f = NULL; NULL 2059 lib/common/xml.c if (filename == NULL) { NULL 2101 lib/common/xml.c xmlAttr *attr = NULL; NULL 2174 lib/common/xml.c while (attr_iter != NULL) { NULL 2181 lib/common/xml.c if (new_attr == NULL) { NULL 2216 lib/common/xml.c while (attr_iter != NULL) { NULL 2278 lib/common/xml.c if (pcmk__xml_match(new_parent, old_child, true) == NULL) { NULL 2307 lib/common/xml.c xmlNode *cIter = NULL; NULL 2308 lib/common/xml.c xml_private_t *p = NULL; NULL 2310 lib/common/xml.c CRM_CHECK(new_xml != NULL, return); NULL 2311 lib/common/xml.c if (old_xml == NULL) { NULL 2318 lib/common/xml.c CRM_CHECK(p != NULL, return); NULL 2329 lib/common/xml.c for (cIter = pcmk__xml_first_child(old_xml); cIter != NULL; ) { NULL 2343 lib/common/xml.c for (cIter = pcmk__xml_first_child(new_xml); cIter != NULL; ) { NULL 2348 lib/common/xml.c if(old_child == NULL) { NULL 2381 lib/common/xml.c xml_track_changes(new_xml, NULL, NULL, FALSE); NULL 2390 lib/common/xml.c xmlNode *cIter = NULL; NULL 2395 lib/common/xml.c XML_ACL_TAG_ROLE_REF, XML_ACL_TAG_ROLE_REFv1, NULL)) { NULL 2399 lib/common/xml.c for (xmlAttrPtr a = pcmk__xe_first_attr(xml_node); a != NULL; a = a->next) { NULL 2433 lib/common/xml.c xmlNode *a_child = NULL; NULL 2436 lib/common/xml.c CRM_CHECK(search_comment->type == XML_COMMENT_NODE, return NULL); NULL 2438 lib/common/xml.c for (a_child = pcmk__xml_first_child(root); a_child != NULL; NULL 2448 lib/common/xml.c return NULL; NULL 2461 lib/common/xml.c return NULL; NULL 2465 lib/common/xml.c return NULL; NULL 2482 lib/common/xml.c CRM_CHECK(update != NULL, return); NULL 2485 lib/common/xml.c if (target == NULL) { NULL 2489 lib/common/xml.c if (target == NULL) { NULL 2514 lib/common/xml.c xmlNode *a_child = NULL; NULL 2515 lib/common/xml.c const char *object_name = NULL, NULL 2516 lib/common/xml.c *object_href = NULL, NULL 2517 lib/common/xml.c *object_href_val = NULL; NULL 2524 lib/common/xml.c CRM_CHECK(update != NULL, return); NULL 2533 lib/common/xml.c if (object_href_val != NULL) { NULL 2537 lib/common/xml.c object_href = (object_href_val == NULL) ? NULL : XML_ATTR_IDREF; NULL 2540 lib/common/xml.c CRM_CHECK(object_name != NULL, return); NULL 2541 lib/common/xml.c CRM_CHECK(target != NULL || parent != NULL, return); NULL 2543 lib/common/xml.c if (target == NULL) { NULL 2548 lib/common/xml.c if (target == NULL) { NULL 2550 lib/common/xml.c CRM_CHECK(target != NULL, return); NULL 2577 lib/common/xml.c for (xmlAttrPtr a = pcmk__xe_first_attr(update); a != NULL; NULL 2587 lib/common/xml.c for (a_child = pcmk__xml_first_child(update); a_child != NULL; NULL 2596 lib/common/xml.c pcmk__xml_update(target, NULL, a_child, as_diff); NULL 2612 lib/common/xml.c xmlNode *child_of_child = NULL; NULL 2614 lib/common/xml.c CRM_CHECK(child != NULL, return FALSE); NULL 2615 lib/common/xml.c CRM_CHECK(to_update != NULL, return FALSE); NULL 2627 lib/common/xml.c pcmk__xml_update(NULL, child, to_update, false); NULL 2630 lib/common/xml.c for (child_of_child = pcmk__xml_first_child(child); child_of_child != NULL; NULL 2648 lib/common/xml.c CRM_CHECK(root != NULL, return FALSE); NULL 2649 lib/common/xml.c CRM_CHECK(children != NULL, return FALSE); NULL 2651 lib/common/xml.c if (tag != NULL && !pcmk__str_eq(tag, crm_element_name(root), pcmk__str_casei)) { NULL 2653 lib/common/xml.c } else if (value != NULL && !pcmk__str_eq(value, crm_element_value(root, field), pcmk__str_casei)) { NULL 2656 lib/common/xml.c if (*children == NULL) { NULL 2657 lib/common/xml.c *children = create_xml_node(NULL, __func__); NULL 2664 lib/common/xml.c xmlNode *child = NULL; NULL 2666 lib/common/xml.c for (child = pcmk__xml_first_child(root); child != NULL; NULL 2679 lib/common/xml.c xmlNode *child_of_child = NULL; NULL 2681 lib/common/xml.c const char *up_id = NULL; NULL 2682 lib/common/xml.c const char *child_id = NULL; NULL 2683 lib/common/xml.c const char *right_val = NULL; NULL 2685 lib/common/xml.c CRM_CHECK(child != NULL, return FALSE); NULL 2686 lib/common/xml.c CRM_CHECK(update != NULL, return FALSE); NULL 2691 lib/common/xml.c if (up_id == NULL || (child_id && strcmp(child_id, up_id) == 0)) { NULL 2698 lib/common/xml.c for (xmlAttrPtr a = pcmk__xe_first_attr(update); a != NULL; NULL 2710 lib/common/xml.c if (can_delete && parent != NULL) { NULL 2712 lib/common/xml.c if (delete_only || update == NULL) { NULL 2718 lib/common/xml.c xmlNode *old = NULL; NULL 2732 lib/common/xml.c child = NULL; NULL 2748 lib/common/xml.c child_of_child = NULL; NULL 2760 lib/common/xml.c xmlNode *child = NULL; NULL 2761 lib/common/xml.c GSList *nvpairs = NULL; NULL 2762 lib/common/xml.c xmlNode *result = NULL; NULL 2763 lib/common/xml.c const char *name = NULL; NULL 2765 lib/common/xml.c CRM_CHECK(input != NULL, return NULL); NULL 2768 lib/common/xml.c CRM_CHECK(name != NULL, return NULL); NULL 2776 lib/common/xml.c for (child = pcmk__xml_first_child(input); child != NULL; NULL 2792 lib/common/xml.c xmlNode *match = NULL; NULL 2794 lib/common/xml.c for (match = pcmk__xe_first_child(parent); match != NULL; NULL 2805 lib/common/xml.c return NULL; NULL 2821 lib/common/xml.c while (match != NULL) { NULL 2827 lib/common/xml.c return NULL; NULL 2865 lib/common/xml.c const char *tag = NULL; NULL 2866 lib/common/xml.c const char *ref = NULL; NULL 2869 lib/common/xml.c if (result == NULL) { NULL 2870 lib/common/xml.c return NULL; NULL 2872 lib/common/xml.c } else if (top == NULL) { NULL 2879 lib/common/xml.c if (ref != NULL) { NULL 2883 lib/common/xml.c if (result == NULL) { NULL 2904 lib/common/xml.c static const char *base = NULL; NULL 2905 lib/common/xml.c char *ret = NULL; NULL 2907 lib/common/xml.c if (base == NULL) { NULL 2932 lib/common/xml.c char *base = pcmk__xml_artefact_root(ns), *ret = NULL; NULL 2958 lib/common/xml.c if (name == NULL) { NULL 2963 lib/common/xml.c if (value == NULL) { NULL 2988 lib/common/xml.c ((id == NULL)? id : XML_ATTR_ID), id); NULL 43 lib/common/xpath.c if (xpathObj == NULL) { NULL 49 lib/common/xpath.c xpathObj->nodesetval->nodeTab[lpc] = NULL; NULL 60 lib/common/xpath.c xmlNode *match = NULL; NULL 63 lib/common/xpath.c CRM_CHECK(index >= 0, return NULL); NULL 64 lib/common/xpath.c CRM_CHECK(xpathObj != NULL, return NULL); NULL 68 lib/common/xpath.c return NULL; NULL 70 lib/common/xpath.c } else if(xpathObj->nodesetval->nodeTab[index] == NULL) { NULL 72 lib/common/xpath.c return NULL; NULL 76 lib/common/xpath.c CRM_CHECK(match != NULL, return NULL); NULL 80 lib/common/xpath.c xpathObj->nodesetval->nodeTab[index] = NULL; NULL 95 lib/common/xpath.c match = NULL; NULL 105 lib/common/xpath.c if (xpathObj == NULL) { NULL 110 lib/common/xpath.c xmlNode *xml = NULL; NULL 113 lib/common/xpath.c if (xpathObj->nodesetval->nodeTab[lpc] == NULL) { NULL 124 lib/common/xpath.c xpathObj->nodesetval->nodeTab[lpc] = NULL; NULL 141 lib/common/xpath.c xmlDocPtr doc = NULL; NULL 142 lib/common/xpath.c xmlXPathObjectPtr xpathObj = NULL; NULL 143 lib/common/xpath.c xmlXPathContextPtr xpathCtx = NULL; NULL 146 lib/common/xpath.c CRM_CHECK(path != NULL, return NULL); NULL 147 lib/common/xpath.c CRM_CHECK(xml_top != NULL, return NULL); NULL 148 lib/common/xpath.c CRM_CHECK(strlen(path) > 0, return NULL); NULL 153 lib/common/xpath.c CRM_ASSERT(xpathCtx != NULL); NULL 183 lib/common/xpath.c CRM_LOG_ASSERT(result != NULL); NULL 194 lib/common/xpath.c xmlNode *result = NULL; NULL 195 lib/common/xpath.c char *xpath_full = NULL; NULL 196 lib/common/xpath.c char *xpath_prefix = NULL; NULL 198 lib/common/xpath.c if (xml_obj == NULL || xpath == NULL) { NULL 199 lib/common/xpath.c return NULL; NULL 217 lib/common/xpath.c xmlNode *result = NULL; NULL 218 lib/common/xpath.c xmlXPathObjectPtr xpathObj = NULL; NULL 219 lib/common/xpath.c char *nodePath = NULL; NULL 220 lib/common/xpath.c char *matchNodePath = NULL; NULL 222 lib/common/xpath.c if (xpath == NULL) { NULL 247 lib/common/xpath.c CRM_LOG_ASSERT(match != NULL); NULL 248 lib/common/xpath.c if (match != NULL) { NULL 274 lib/common/xpath.c if(offset == 0 && prefix == NULL && xml->parent) { NULL 275 lib/common/xpath.c offset = pcmk__element_xpath(NULL, xml->parent, buffer, offset, NULL 296 lib/common/xpath.c if (pcmk__element_xpath(NULL, xml, buffer, offset, sizeof(buffer)) > 0) { NULL 299 lib/common/xpath.c return NULL; NULL 305 lib/common/xpath.c char *retval = NULL; NULL 306 lib/common/xpath.c char *patt = NULL; NULL 307 lib/common/xpath.c char *start = NULL; NULL 308 lib/common/xpath.c char *end = NULL; NULL 310 lib/common/xpath.c if (node == NULL || xpath == NULL) { NULL 133 lib/fencing/st_client.c if ((namespace_s == NULL) || !strcmp(namespace_s, "any")) { NULL 235 lib/fencing/st_client.c while (list_item != NULL) NULL 254 lib/fencing/st_client.c stonith_private_t *native = NULL; NULL 259 lib/fencing/st_client.c blob.xml = create_xml_node(NULL, "notify"); NULL 262 lib/fencing/st_client.c native->ipc = NULL; NULL 263 lib/fencing/st_client.c native->source = NULL; NULL 265 lib/fencing/st_client.c free(native->token); native->token = NULL; NULL 279 lib/fencing/st_client.c xmlNode *data = create_xml_node(NULL, F_STONITH_DEVICE); NULL 284 lib/fencing/st_client.c namespace = stonith_get_namespace(agent, NULL); NULL 315 lib/fencing/st_client.c xmlNode *data = NULL; NULL 318 lib/fencing/st_client.c agent, params, NULL); NULL 320 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_DEVICE_ADD, data, NULL, call_options, 0); NULL 330 lib/fencing/st_client.c xmlNode *data = NULL; NULL 332 lib/fencing/st_client.c data = create_xml_node(NULL, F_STONITH_DEVICE); NULL 335 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_DEVICE_DEL, data, NULL, call_options, 0); NULL 347 lib/fencing/st_client.c xmlNode *data = NULL; NULL 351 lib/fencing/st_client.c data = create_xml_node(NULL, XML_TAG_FENCING_LEVEL); NULL 366 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_LEVEL_DEL, data, NULL, options, 0); NULL 376 lib/fencing/st_client.c NULL, NULL, NULL, level); NULL 400 lib/fencing/st_client.c char *list = NULL; NULL 403 lib/fencing/st_client.c CRM_CHECK(node || pattern || (attr && value), return NULL); NULL 405 lib/fencing/st_client.c data = create_xml_node(NULL, XML_TAG_FENCING_LEVEL); NULL 406 lib/fencing/st_client.c CRM_CHECK(data, return NULL); NULL 444 lib/fencing/st_client.c CRM_CHECK(data != NULL, return -EINVAL); NULL 446 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_LEVEL_ADD, data, NULL, options, 0); NULL 456 lib/fencing/st_client.c return stonith_api_register_level_full(st, options, node, NULL, NULL, NULL, NULL 470 lib/fencing/st_client.c && (strstr(key, CRM_META) == NULL) NULL 485 lib/fencing/st_client.c GHashTable *arg_list = NULL; NULL 486 lib/fencing/st_client.c const char *value = NULL; NULL 488 lib/fencing/st_client.c CRM_CHECK(action != NULL, return NULL); NULL 511 lib/fencing/st_client.c const char *param = NULL; NULL 533 lib/fencing/st_client.c if (param == NULL) { NULL 537 lib/fencing/st_client.c param = (host_arg == NULL)? "port" : host_arg; NULL 546 lib/fencing/st_client.c const char *alias = NULL; NULL 551 lib/fencing/st_client.c if (alias == NULL) { NULL 613 lib/fencing/st_client.c *output = NULL; NULL 616 lib/fencing/st_client.c *error_output = NULL; NULL 618 lib/fencing/st_client.c if (action != NULL) { NULL 624 lib/fencing/st_client.c action->output = NULL; // hand off memory management to caller NULL 628 lib/fencing/st_client.c action->error = NULL; // hand off memory management to caller NULL 659 lib/fencing/st_client.c const char *value = NULL; NULL 675 lib/fencing/st_client.c int diff = time(NULL) - action->initial_start_time; NULL 702 lib/fencing/st_client.c } else if (svc_action->stderr_data == NULL) { NULL 726 lib/fencing/st_client.c svc_action->stdout_data = NULL; NULL 728 lib/fencing/st_client.c svc_action->stderr_data = NULL; NULL 730 lib/fencing/st_client.c svc_action->params = NULL; NULL 748 lib/fencing/st_client.c action->svc_action = NULL; // don't remove our caller NULL 773 lib/fencing/st_client.c svc_action_t *svc_action = NULL; NULL 775 lib/fencing/st_client.c char *buffer = NULL; NULL 778 lib/fencing/st_client.c action->initial_start_time = time(NULL); NULL 788 lib/fencing/st_client.c if (action->args == NULL || action->agent == NULL) NULL 793 lib/fencing/st_client.c svc_action = services_action_create_generic(buffer, NULL); NULL 812 lib/fencing/st_client.c action->output = NULL; NULL 814 lib/fencing/st_client.c action->error = NULL; NULL 824 lib/fencing/st_client.c svc_action = NULL; NULL 835 lib/fencing/st_client.c svc_action->stdout_data = NULL; NULL 837 lib/fencing/st_client.c svc_action->stderr_data = NULL; NULL 843 lib/fencing/st_client.c svc_action->params = NULL; NULL 894 lib/fencing/st_client.c CRM_CHECK(action != NULL, return -EINVAL); NULL 911 lib/fencing/st_client.c if (devices == NULL) { NULL 967 lib/fencing/st_client.c xmlNode *data = NULL; NULL 968 lib/fencing/st_client.c xmlNode *output = NULL; NULL 969 lib/fencing/st_client.c xmlXPathObjectPtr xpathObj = NULL; NULL 971 lib/fencing/st_client.c CRM_CHECK(devices != NULL, return -EINVAL); NULL 973 lib/fencing/st_client.c data = create_xml_node(NULL, F_STONITH_DEVICE); NULL 990 lib/fencing/st_client.c CRM_LOG_ASSERT(match != NULL); NULL 991 lib/fencing/st_client.c if(match != NULL) { NULL 996 lib/fencing/st_client.c *devices = stonith_key_value_add(*devices, NULL, crm_element_value(match, XML_ATTR_ID)); NULL 1015 lib/fencing/st_client.c xmlNode *data = NULL; NULL 1017 lib/fencing/st_client.c data = create_xml_node(NULL, F_STONITH_DEVICE); NULL 1034 lib/fencing/st_client.c xmlNode *output = NULL; NULL 1036 lib/fencing/st_client.c rc = stonith_api_call(stonith, call_options, id, "list", NULL, timeout, &output); NULL 1058 lib/fencing/st_client.c return stonith_api_call(stonith, call_options, id, "monitor", NULL, timeout, NULL); NULL 1065 lib/fencing/st_client.c return stonith_api_call(stonith, call_options, id, "status", port, timeout, NULL); NULL 1073 lib/fencing/st_client.c xmlNode *data = NULL; NULL 1075 lib/fencing/st_client.c data = create_xml_node(NULL, __func__); NULL 1082 lib/fencing/st_client.c rc = stonith_send_command(stonith, STONITH_OP_FENCE, data, NULL, call_options, timeout); NULL 1108 lib/fencing/st_client.c xmlNode *data = NULL; NULL 1109 lib/fencing/st_client.c xmlNode *output = NULL; NULL 1110 lib/fencing/st_client.c stonith_history_t *last = NULL; NULL 1112 lib/fencing/st_client.c *history = NULL; NULL 1115 lib/fencing/st_client.c data = create_xml_node(NULL, __func__); NULL 1125 lib/fencing/st_client.c xmlNode *op = NULL; NULL 1129 lib/fencing/st_client.c for (op = pcmk__xml_first_child(reply); op != NULL; NULL 1182 lib/fencing/st_client.c CRM_CHECK(a_client->event != NULL && b_client->event != NULL, return 0); NULL 1185 lib/fencing/st_client.c if (a_client->notify == NULL || b_client->notify == NULL) { NULL 1206 lib/fencing/st_client.c xmlNode *op_msg = create_xml_node(NULL, "stonith_command"); NULL 1208 lib/fencing/st_client.c CRM_CHECK(op_msg != NULL, return NULL); NULL 1209 lib/fencing/st_client.c CRM_CHECK(token != NULL, return NULL); NULL 1220 lib/fencing/st_client.c if (data != NULL) { NULL 1246 lib/fencing/st_client.c if (native->source != NULL) { NULL 1249 lib/fencing/st_client.c native->source = NULL; NULL 1250 lib/fencing/st_client.c native->ipc = NULL; NULL 1256 lib/fencing/st_client.c native->ipc = NULL; NULL 1261 lib/fencing/st_client.c free(native->token); native->token = NULL; NULL 1272 lib/fencing/st_client.c private->op_callback = NULL; NULL 1277 lib/fencing/st_client.c private->op_callback = NULL; NULL 1301 lib/fencing/st_client.c stonith_private_t *private = NULL; NULL 1302 lib/fencing/st_client.c stonith_callback_client_t *blob = NULL; NULL 1305 lib/fencing/st_client.c CRM_CHECK(stonith != NULL, return); NULL 1306 lib/fencing/st_client.c CRM_CHECK(stonith->st_private != NULL, return); NULL 1310 lib/fencing/st_client.c local_blob.id = NULL; NULL 1311 lib/fencing/st_client.c local_blob.callback = NULL; NULL 1312 lib/fencing/st_client.c local_blob.user_data = NULL; NULL 1315 lib/fencing/st_client.c if (msg != NULL) { NULL 1324 lib/fencing/st_client.c if (blob != NULL) { NULL 1326 lib/fencing/st_client.c blob = NULL; NULL 1332 lib/fencing/st_client.c local_blob.callback = NULL; NULL 1335 lib/fencing/st_client.c if (local_blob.callback != NULL && (rc == pcmk_ok || local_blob.only_success == FALSE)) { NULL 1339 lib/fencing/st_client.c } else if (private->op_callback == NULL && rc != pcmk_ok) { NULL 1344 lib/fencing/st_client.c if (private->op_callback != NULL) { NULL 1346 lib/fencing/st_client.c invoke_callback(stonith, call_id, rc, NULL, private->op_callback); NULL 1357 lib/fencing/st_client.c stonith_perform_callback(timer->stonith, NULL, timer->call_id, -ETIME); NULL 1396 lib/fencing/st_client.c stonith_callback_client_t *callback = NULL; NULL 1411 lib/fencing/st_client.c const char *type = NULL; NULL 1415 lib/fencing/st_client.c stonith_private_t *private = NULL; NULL 1417 lib/fencing/st_client.c CRM_ASSERT(st != NULL); NULL 1422 lib/fencing/st_client.c if (blob.xml == NULL) { NULL 1457 lib/fencing/st_client.c stonith_private_t *native = NULL; NULL 1465 lib/fencing/st_client.c CRM_CHECK(stonith != NULL, return -EINVAL); NULL 1468 lib/fencing/st_client.c CRM_ASSERT(native != NULL); NULL 1483 lib/fencing/st_client.c native->ipc = NULL; NULL 1493 lib/fencing/st_client.c if (native->ipc == NULL) { NULL 1496 lib/fencing/st_client.c xmlNode *reply = NULL; NULL 1497 lib/fencing/st_client.c xmlNode *hello = create_xml_node(NULL, "stonith_command"); NULL 1509 lib/fencing/st_client.c } else if (reply == NULL) { NULL 1523 lib/fencing/st_client.c } else if (native->token == NULL) { NULL 1554 lib/fencing/st_client.c xmlNode *notify_msg = create_xml_node(NULL, __func__); NULL 1566 lib/fencing/st_client.c rc = crm_ipc_send(native->ipc, notify_msg, crm_ipc_client_response, -1, NULL); NULL 1583 lib/fencing/st_client.c GList *list_item = NULL; NULL 1584 lib/fencing/st_client.c stonith_notify_client_t *new_client = NULL; NULL 1585 lib/fencing/st_client.c stonith_private_t *private = NULL; NULL 1596 lib/fencing/st_client.c if (list_item != NULL) { NULL 1614 lib/fencing/st_client.c GList *list_item = NULL; NULL 1615 lib/fencing/st_client.c stonith_notify_client_t *new_client = NULL; NULL 1616 lib/fencing/st_client.c stonith_private_t *private = NULL; NULL 1623 lib/fencing/st_client.c new_client->notify = NULL; NULL 1629 lib/fencing/st_client.c if (list_item != NULL) { NULL 1654 lib/fencing/st_client.c stonith_callback_client_t *blob = NULL; NULL 1655 lib/fencing/st_client.c stonith_private_t *private = NULL; NULL 1657 lib/fencing/st_client.c CRM_CHECK(stonith != NULL, return -EINVAL); NULL 1658 lib/fencing/st_client.c CRM_CHECK(stonith->st_private != NULL, return -EINVAL); NULL 1706 lib/fencing/st_client.c if (private->stonith_op_callback_table == NULL) { NULL 1709 lib/fencing/st_client.c return g_hash_table_foreach(private->stonith_op_callback_table, stonith_dump_pending_op, NULL); NULL 1786 lib/fencing/st_client.c stonith_event_t *st_event = NULL; NULL 1787 lib/fencing/st_client.c const char *event = NULL; NULL 1789 lib/fencing/st_client.c if (blob->xml == NULL) { NULL 1796 lib/fencing/st_client.c if (entry == NULL) { NULL 1804 lib/fencing/st_client.c } else if (entry->notify == NULL) { NULL 1843 lib/fencing/st_client.c xmlNode *op_msg = NULL; NULL 1844 lib/fencing/st_client.c xmlNode *op_reply = NULL; NULL 1845 lib/fencing/st_client.c stonith_private_t *native = NULL; NULL 1850 lib/fencing/st_client.c if (output_data != NULL) { NULL 1851 lib/fencing/st_client.c *output_data = NULL; NULL 1854 lib/fencing/st_client.c if ((stonith->state == stonith_disconnected) || (native->token == NULL)) { NULL 1868 lib/fencing/st_client.c if (op_msg == NULL) { NULL 1919 lib/fencing/st_client.c if ((call_options & st_opt_discard_reply) || output_data == NULL) { NULL 1924 lib/fencing/st_client.c op_reply = NULL; /* Prevent subsequent free */ NULL 1943 lib/fencing/st_client.c free(native->token); native->token = NULL; NULL 1956 lib/fencing/st_client.c stonith_private_t *private = NULL; NULL 1958 lib/fencing/st_client.c CRM_ASSERT(st != NULL); NULL 2037 lib/fencing/st_client.c const char *host_arg = NULL; NULL 2063 lib/fencing/st_client.c *output = NULL; NULL 2066 lib/fencing/st_client.c *error_output = NULL; NULL 2099 lib/fencing/st_client.c stonith_t *new_stonith = NULL; NULL 2100 lib/fencing/st_client.c stonith_private_t *private = NULL; NULL 2103 lib/fencing/st_client.c if (new_stonith == NULL) { NULL 2104 lib/fencing/st_client.c return NULL; NULL 2108 lib/fencing/st_client.c if (private == NULL) { NULL 2110 lib/fencing/st_client.c return NULL; NULL 2115 lib/fencing/st_client.c private->notify_list = NULL; NULL 2123 lib/fencing/st_client.c if (new_stonith->cmds == NULL) { NULL 2126 lib/fencing/st_client.c return NULL; NULL 2180 lib/fencing/st_client.c rc = st->cmds->connect(st, name, NULL); NULL 2251 lib/fencing/st_client.c if (st == NULL) { NULL 2257 lib/fencing/st_client.c rc = st->cmds->connect(st, "stonith-api", NULL); NULL 2262 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); NULL 2267 lib/fencing/st_client.c if ((uname == NULL) && (nodeid > 0)) { NULL 2291 lib/fencing/st_client.c stonith_history_t *history = NULL, *hp = NULL; NULL 2293 lib/fencing/st_client.c if (st == NULL) { NULL 2299 lib/fencing/st_client.c rc = st->cmds->connect(st, "stonith-api", NULL); NULL 2307 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); NULL 2310 lib/fencing/st_client.c if ((uname == NULL) && (nodeid > 0)) { NULL 2321 lib/fencing/st_client.c when = time(NULL); NULL 2352 lib/fencing/st_client.c stonith_t *st = NULL; NULL 2353 lib/fencing/st_client.c stonith_key_value_t *devices = NULL; NULL 2354 lib/fencing/st_client.c stonith_key_value_t *dIter = NULL; NULL 2357 lib/fencing/st_client.c if (agent == NULL) { NULL 2362 lib/fencing/st_client.c if (st == NULL) { NULL 2366 lib/fencing/st_client.c st->cmds->list_agents(st, st_opt_sync_call, NULL, &devices, timeout == 0 ? 120 : timeout); NULL 2368 lib/fencing/st_client.c for (dIter = devices; dIter != NULL; dIter = dIter->next) { NULL 2383 lib/fencing/st_client.c if (action == NULL) { NULL 2425 lib/fencing/st_client.c char *entry = NULL; NULL 2434 lib/fencing/st_client.c CRM_ASSERT(entry != NULL); NULL 2447 lib/fencing/st_client.c } else if (pcmk__strcase_any_of(entry, "on", "off", NULL)) { NULL 2491 lib/fencing/st_client.c GList *targets = NULL; NULL 2493 lib/fencing/st_client.c if (target_spec != NULL) { NULL 2562 lib/fencing/st_client.c stonith_history_t *new = NULL, *pending = NULL, *hp, *np, *tmp; NULL 2635 lib/fencing/st_client.c return NULL; NULL 2660 lib/fencing/st_client.c xmlXPathObjectPtr xpath = NULL; NULL 2664 lib/fencing/st_client.c CRM_CHECK((device_flags != NULL) && (metadata != NULL), return); NULL 2675 lib/fencing/st_client.c const char *parameter = NULL; NULL 2678 lib/fencing/st_client.c CRM_LOG_ASSERT(match != NULL); NULL 2679 lib/fencing/st_client.c if (match == NULL) { NULL 29 lib/fencing/st_lha.c static void *lha_agents_lib = NULL; NULL 56 lib/fencing/st_lha.c if (*handle == NULL) { NULL 58 lib/fencing/st_lha.c if ((*handle) == NULL) { NULL 60 lib/fencing/st_lha.c return NULL; NULL 65 lib/fencing/st_lha.c if (a_function == NULL) { NULL 83 lib/fencing/st_lha.c Stonith *stonith_obj = NULL; NULL 86 lib/fencing/st_lha.c static Stonith *(*st_new_fn) (const char *) = NULL; NULL 87 lib/fencing/st_lha.c static void (*st_del_fn) (Stonith *) = NULL; NULL 113 lib/fencing/st_lha.c char **entry = NULL; NULL 114 lib/fencing/st_lha.c char **type_list = NULL; NULL 115 lib/fencing/st_lha.c static char **(*type_list_fn) (void) = NULL; NULL 116 lib/fencing/st_lha.c static void (*type_free_fn) (char **) = NULL; NULL 132 lib/fencing/st_lha.c for (entry = type_list; entry != NULL && *entry; ++entry) { NULL 134 lib/fencing/st_lha.c *devices = stonith_key_value_add(*devices, NULL, *entry); NULL 149 lib/fencing/st_lha.c return NULL; NULL 162 lib/fencing/st_lha.c char *string = NULL; NULL 180 lib/fencing/st_lha.c char *buffer = NULL; NULL 183 lib/fencing/st_lha.c Stonith *stonith_obj = NULL; NULL 186 lib/fencing/st_lha.c static Stonith *(*st_new_fn) (const char *) = NULL; NULL 187 lib/fencing/st_lha.c static const char *(*st_info_fn) (Stonith *, int) = NULL; NULL 188 lib/fencing/st_lha.c static void (*st_del_fn) (Stonith *) = NULL; NULL 189 lib/fencing/st_lha.c static void (*st_log_fn) (Stonith *, PILLogFun) = NULL; NULL 204 lib/fencing/st_lha.c char *xml_meta_longdesc = NULL; NULL 205 lib/fencing/st_lha.c char *xml_meta_shortdesc = NULL; NULL 207 lib/fencing/st_lha.c char *meta_param = NULL; NULL 208 lib/fencing/st_lha.c char *meta_longdesc = NULL; NULL 209 lib/fencing/st_lha.c char *meta_shortdesc = NULL; NULL 215 lib/fencing/st_lha.c if (meta_longdesc == NULL) { NULL 221 lib/fencing/st_lha.c if (meta_shortdesc == NULL) { NULL 227 lib/fencing/st_lha.c if (meta_param == NULL) { NULL 239 lib/fencing/st_lha.c (char *)xmlEncodeEntitiesReentrant(NULL, (const unsigned char *)meta_longdesc); NULL 241 lib/fencing/st_lha.c (char *)xmlEncodeEntitiesReentrant(NULL, (const unsigned char *)meta_shortdesc); NULL 24 lib/fencing/st_output.c crm_time_t *crm_when = crm_time_new(NULL); NULL 25 lib/fencing/st_output.c char *buf = NULL; NULL 140 lib/fencing/st_output.c NULL); NULL 157 lib/fencing/st_output.c pcmk__output_create_html_node(out, "div", NULL, NULL, buf); NULL 192 lib/fencing/st_output.c NULL); NULL 323 lib/fencing/st_output.c char *buf = NULL; NULL 330 lib/fencing/st_output.c NULL); NULL 345 lib/fencing/st_output.c NULL); NULL 351 lib/fencing/st_output.c if (event->delegate != NULL) { NULL 376 lib/fencing/st_output.c pcmk__output_create_html_node(out, "div", NULL, NULL, buf); NULL 381 lib/fencing/st_output.c pcmk__output_create_html_node(out, "div", NULL, NULL, buf); NULL 422 lib/fencing/st_output.c NULL); NULL 424 lib/fencing/st_output.c if (device != NULL) { NULL 454 lib/fencing/st_output.c { NULL, NULL, NULL } NULL 72 lib/fencing/st_rhcs.c *devices = stonith_key_value_add(*devices, NULL, NULL 93 lib/fencing/st_rhcs.c char *xpath = NULL; NULL 94 lib/fencing/st_rhcs.c xmlXPathObject *xpathObj = NULL; NULL 96 lib/fencing/st_rhcs.c CRM_CHECK(metadata != NULL, return); NULL 97 lib/fencing/st_rhcs.c CRM_CHECK(parameter != NULL, return); NULL 124 lib/fencing/st_rhcs.c char *buffer = NULL; NULL 125 lib/fencing/st_rhcs.c xmlNode *xml = NULL; NULL 126 lib/fencing/st_rhcs.c xmlNode *actions = NULL; NULL 127 lib/fencing/st_rhcs.c xmlXPathObject *xpathObj = NULL; NULL 128 lib/fencing/st_rhcs.c stonith_action_t *action = stonith_action_create(agent, "metadata", NULL, 0, NULL 129 lib/fencing/st_rhcs.c 5, NULL, NULL, NULL); NULL 139 lib/fencing/st_rhcs.c stonith__action_result(action, &rc, &buffer, NULL); NULL 148 lib/fencing/st_rhcs.c if (buffer == NULL) { NULL 155 lib/fencing/st_rhcs.c buffer = NULL; NULL 156 lib/fencing/st_rhcs.c if (xml == NULL) { NULL 170 lib/fencing/st_rhcs.c xmlNode *tmp = NULL; NULL 209 lib/fencing/st_rhcs.c char *buffer = NULL; NULL 210 lib/fencing/st_rhcs.c xmlNode *xml = NULL; NULL 221 lib/fencing/st_rhcs.c if (buffer == NULL) { NULL 251 lib/fencing/st_rhcs.c xmlNode *metadata = NULL; NULL 252 lib/fencing/st_rhcs.c stonith_action_t *action = NULL; NULL 254 lib/fencing/st_rhcs.c if (host_arg == NULL) { NULL 255 lib/fencing/st_rhcs.c time_t start_time = time(NULL); NULL 274 lib/fencing/st_rhcs.c remaining_timeout -= time(NULL) - start_time; NULL 281 lib/fencing/st_rhcs.c host_arg = NULL; NULL 286 lib/fencing/st_rhcs.c NULL, host_arg); NULL 33 lib/lrmd/lrmd_alerts.c if (value == NULL) { NULL 96 lib/lrmd/lrmd_alerts.c CRM_CHECK(value != NULL, return FALSE); NULL 98 lib/lrmd/lrmd_alerts.c if (list == NULL) { NULL 133 lib/lrmd/lrmd_alerts.c pcmk__time_hr_t *now = NULL; NULL 144 lib/lrmd/lrmd_alerts.c lrmd_key_value_t *copy_params = NULL; NULL 145 lib/lrmd/lrmd_alerts.c lrmd_key_value_t *head = NULL; NULL 162 lib/lrmd/lrmd_alerts.c if (now == NULL) { NULL 163 lib/lrmd/lrmd_alerts.c if (gettimeofday(&tv_now, NULL) == 0) { NULL 164 lib/lrmd/lrmd_alerts.c now = pcmk__time_timeval_hr_convert(NULL, &tv_now); NULL 171 lib/lrmd/lrmd_alerts.c for (head = params; head != NULL; head = head->next) { NULL 243 lib/lrmd/lrmd_alerts.c lrmd_key_value_t *params = NULL; NULL 245 lib/lrmd/lrmd_alerts.c if (lrmd == NULL) { NULL 280 lib/lrmd/lrmd_alerts.c lrmd_key_value_t *params = NULL; NULL 282 lib/lrmd/lrmd_alerts.c if (lrmd == NULL) { NULL 290 lib/lrmd/lrmd_alerts.c rc = exec_alert_list(lrmd, alert_list, pcmk__alert_node, NULL, params); NULL 316 lib/lrmd/lrmd_alerts.c lrmd_key_value_t *params = NULL; NULL 318 lib/lrmd/lrmd_alerts.c if (lrmd == NULL) { NULL 327 lib/lrmd/lrmd_alerts.c rc = exec_alert_list(lrmd, alert_list, pcmk__alert_fencing, NULL, params); NULL 351 lib/lrmd/lrmd_alerts.c lrmd_key_value_t *params = NULL; NULL 353 lib/lrmd/lrmd_alerts.c if (lrmd == NULL) { NULL 397 lib/lrmd/lrmd_alerts.c rc = exec_alert_list(lrmd, alert_list, pcmk__alert_resource, NULL, params); NULL 198 lib/lrmd/lrmd_client.c CRM_ASSERT(event != NULL); NULL 199 lib/lrmd/lrmd_client.c if (rsc_id != NULL) { NULL 201 lib/lrmd/lrmd_client.c CRM_ASSERT(event->rsc_id != NULL); NULL 203 lib/lrmd/lrmd_client.c if (task != NULL) { NULL 205 lib/lrmd/lrmd_client.c CRM_ASSERT(event->op_type != NULL); NULL 214 lib/lrmd/lrmd_client.c lrmd_event_data_t *copy = NULL; NULL 223 lib/lrmd/lrmd_client.c copy->rsc_id = event->rsc_id ? strdup(event->rsc_id) : NULL; NULL 224 lib/lrmd/lrmd_client.c copy->op_type = event->op_type ? strdup(event->op_type) : NULL; NULL 225 lib/lrmd/lrmd_client.c copy->user_data = event->user_data ? strdup(event->user_data) : NULL; NULL 226 lib/lrmd/lrmd_client.c copy->output = event->output ? strdup(event->output) : NULL; NULL 227 lib/lrmd/lrmd_client.c copy->exit_reason = event->exit_reason ? strdup(event->exit_reason) : NULL; NULL 228 lib/lrmd/lrmd_client.c copy->remote_nodename = event->remote_nodename ? strdup(event->remote_nodename) : NULL; NULL 242 lib/lrmd/lrmd_client.c if (event == NULL) { NULL 252 lib/lrmd/lrmd_client.c if (event->params != NULL) { NULL 266 lib/lrmd/lrmd_client.c if (proxy_session != NULL) { NULL 334 lib/lrmd/lrmd_client.c if (native->callback != NULL) { NULL 355 lib/lrmd/lrmd_client.c return (native->remote->tls_session != NULL); NULL 374 lib/lrmd/lrmd_client.c xmlNode *xml = NULL; NULL 387 lib/lrmd/lrmd_client.c GList *iter = NULL; NULL 394 lib/lrmd/lrmd_client.c native->pending_notify = NULL; NULL 477 lib/lrmd/lrmd_client.c lrmd_private_t *private = NULL; NULL 479 lib/lrmd/lrmd_client.c CRM_ASSERT(lrmd != NULL); NULL 514 lib/lrmd/lrmd_client.c xmlNode *op_msg = create_xml_node(NULL, "lrmd_command"); NULL 516 lib/lrmd/lrmd_client.c CRM_CHECK(op_msg != NULL, return NULL); NULL 517 lib/lrmd/lrmd_client.c CRM_CHECK(token != NULL, return NULL); NULL 526 lib/lrmd/lrmd_client.c if (data != NULL) { NULL 544 lib/lrmd/lrmd_client.c native->ipc = NULL; NULL 545 lib/lrmd/lrmd_client.c native->source = NULL; NULL 577 lib/lrmd/lrmd_client.c native->process_notify = NULL; NULL 581 lib/lrmd/lrmd_client.c native->pending_notify = NULL; NULL 585 lib/lrmd/lrmd_client.c native->remote->buffer = NULL; NULL 588 lib/lrmd/lrmd_client.c native->psk_cred_c = NULL; NULL 589 lib/lrmd/lrmd_client.c native->remote->tls_session = NULL; NULL 617 lib/lrmd/lrmd_client.c time_t start = time(NULL); NULL 618 lib/lrmd/lrmd_client.c const char *msg_type = NULL; NULL 629 lib/lrmd/lrmd_client.c for (*reply = NULL; *reply == NULL; ) { NULL 632 lib/lrmd/lrmd_client.c if (*reply == NULL) { NULL 635 lib/lrmd/lrmd_client.c remaining_timeout = total_timeout - ((time(NULL) - start) * 1000); NULL 649 lib/lrmd/lrmd_client.c if (*reply == NULL) { NULL 660 lib/lrmd/lrmd_client.c *reply = NULL; NULL 669 lib/lrmd/lrmd_client.c *reply = NULL; NULL 674 lib/lrmd/lrmd_client.c *reply = NULL; NULL 682 lib/lrmd/lrmd_client.c *reply = NULL; NULL 719 lib/lrmd/lrmd_client.c xmlNode *xml = NULL; NULL 780 lib/lrmd/lrmd_client.c rc = crm_ipc_send(native->ipc, msg, crm_ipc_flags_none, 0, NULL); NULL 847 lib/lrmd/lrmd_client.c xmlNode *op_msg = NULL; NULL 848 lib/lrmd/lrmd_client.c xmlNode *op_reply = NULL; NULL 854 lib/lrmd/lrmd_client.c if (op == NULL) { NULL 859 lib/lrmd/lrmd_client.c CRM_CHECK(native->token != NULL,; NULL 865 lib/lrmd/lrmd_client.c if (op_msg == NULL) { NULL 881 lib/lrmd/lrmd_client.c } else if(op_reply == NULL) { NULL 897 lib/lrmd/lrmd_client.c op_reply = NULL; /* Prevent subsequent free */ NULL 915 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); NULL 918 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_POKE, data, NULL, 0, 0, NULL 932 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_OPERATION); NULL 939 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_CHECK, data, NULL, 0, 0, NULL 950 lib/lrmd/lrmd_client.c xmlNode *reply = NULL; NULL 951 lib/lrmd/lrmd_client.c xmlNode *hello = create_xml_node(NULL, "lrmd_command"); NULL 968 lib/lrmd/lrmd_client.c } else if (reply == NULL) { NULL 987 lib/lrmd/lrmd_client.c } else if (tmp_ticket == NULL) { NULL 1035 lib/lrmd/lrmd_client.c if (native->ipc == NULL) { NULL 1057 lib/lrmd/lrmd_client.c datum->data = NULL; NULL 1067 lib/lrmd/lrmd_client.c FILE *stream = NULL; NULL 1070 lib/lrmd/lrmd_client.c if ((location == NULL) || (key == NULL)) { NULL 1075 lib/lrmd/lrmd_client.c if (stream == NULL) { NULL 1124 lib/lrmd/lrmd_client.c return (time(NULL) - key_cache->updated) >= 60; NULL 1131 lib/lrmd/lrmd_client.c if ((key_cache->updated != 0) || (key_cache->location != NULL)) { NULL 1133 lib/lrmd/lrmd_client.c key_cache->location = NULL; NULL 1150 lib/lrmd/lrmd_client.c key_cache->updated = time(NULL); NULL 1173 lib/lrmd/lrmd_client.c if ((location == NULL) || (key == NULL)) { NULL 1210 lib/lrmd/lrmd_client.c static const char *env_location = NULL; NULL 1226 lib/lrmd/lrmd_client.c if (env_location != NULL) { NULL 1375 lib/lrmd/lrmd_client.c gnutls_datum_t psk_key = { NULL, 0 }; NULL 1411 lib/lrmd/lrmd_client.c if (native->remote->tls_session == NULL) { NULL 1422 lib/lrmd/lrmd_client.c native->remote->tls_session = NULL; NULL 1461 lib/lrmd/lrmd_client.c gnutls_datum_t psk_key = { NULL, 0 }; NULL 1466 lib/lrmd/lrmd_client.c rc = pcmk__connect_remote(native->server, native->port, 0, NULL, NULL 1467 lib/lrmd/lrmd_client.c &(native->sock), NULL, NULL); NULL 1489 lib/lrmd/lrmd_client.c if (native->remote->tls_session == NULL) { NULL 1498 lib/lrmd/lrmd_client.c native->remote->tls_session = NULL; NULL 1555 lib/lrmd/lrmd_client.c rc = lrmd_api_connect(lrmd, name, NULL); NULL 1583 lib/lrmd/lrmd_client.c if (native->source != NULL) { NULL 1586 lib/lrmd/lrmd_client.c native->source = NULL; NULL 1587 lib/lrmd/lrmd_client.c native->ipc = NULL; NULL 1593 lib/lrmd/lrmd_client.c native->ipc = NULL; NULL 1617 lib/lrmd/lrmd_client.c if (native->source != NULL) { NULL 1620 lib/lrmd/lrmd_client.c native->source = NULL; NULL 1629 lib/lrmd/lrmd_client.c native->pending_notify = NULL; NULL 1659 lib/lrmd/lrmd_client.c native->token = NULL; NULL 1662 lib/lrmd/lrmd_client.c native->peer_version = NULL; NULL 1673 lib/lrmd/lrmd_client.c xmlNode *data = NULL; NULL 1679 lib/lrmd/lrmd_client.c && (provider == NULL)) { NULL 1683 lib/lrmd/lrmd_client.c data = create_xml_node(NULL, F_LRMD_RSC); NULL 1690 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_REG, data, NULL, 0, options, TRUE); NULL 1700 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); NULL 1704 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_UNREG, data, NULL, 0, options, TRUE); NULL 1759 lib/lrmd/lrmd_client.c lrmd_rsc_info_t *rsc_info = NULL; NULL 1760 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); NULL 1761 lib/lrmd/lrmd_client.c xmlNode *output = NULL; NULL 1762 lib/lrmd/lrmd_client.c const char *class = NULL; NULL 1763 lib/lrmd/lrmd_client.c const char *provider = NULL; NULL 1764 lib/lrmd/lrmd_client.c const char *type = NULL; NULL 1772 lib/lrmd/lrmd_client.c return NULL; NULL 1781 lib/lrmd/lrmd_client.c return NULL; NULL 1785 lib/lrmd/lrmd_client.c return NULL; NULL 1809 lib/lrmd/lrmd_client.c xmlNode *data = NULL; NULL 1810 lib/lrmd/lrmd_client.c xmlNode *output_xml = NULL; NULL 1813 lib/lrmd/lrmd_client.c if (output == NULL) { NULL 1816 lib/lrmd/lrmd_client.c *output = NULL; NULL 1820 lib/lrmd/lrmd_client.c data = create_xml_node(NULL, F_LRMD_RSC); NULL 1831 lib/lrmd/lrmd_client.c if ((rc != pcmk_ok) || (output_xml == NULL)) { NULL 1835 lib/lrmd/lrmd_client.c (rsc_xml != NULL) && (rc == pcmk_ok); NULL 1839 lib/lrmd/lrmd_client.c if (rsc_id == NULL) { NULL 1844 lib/lrmd/lrmd_client.c op_xml != NULL; op_xml = crm_next_same_xml(op_xml)) { NULL 1848 lib/lrmd/lrmd_client.c if (op_info == NULL) { NULL 1897 lib/lrmd/lrmd_client.c if (lrmd == NULL) { NULL 1912 lib/lrmd/lrmd_client.c if (stonith_api == NULL) { NULL 1919 lib/lrmd/lrmd_client.c if ((rc == pcmk_ok) && (*output == NULL)) { NULL 1932 lib/lrmd/lrmd_client.c output, options, NULL); NULL 1941 lib/lrmd/lrmd_client.c svc_action_t *action = NULL; NULL 1942 lib/lrmd/lrmd_client.c GHashTable *params_table = NULL; NULL 1964 lib/lrmd/lrmd_client.c if (action == NULL) { NULL 1998 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); NULL 2000 lib/lrmd/lrmd_client.c lrmd_key_value_t *tmp = NULL; NULL 2014 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_EXEC, data, NULL, timeout, options, TRUE); NULL 2027 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_ALERT); NULL 2029 lib/lrmd/lrmd_client.c lrmd_key_value_t *tmp = NULL; NULL 2040 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_ALERT_EXEC, data, NULL, timeout, NULL 2053 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); NULL 2059 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_CANCEL, data, NULL, 0, 0, TRUE); NULL 2069 lib/lrmd/lrmd_client.c stonith_key_value_t *stonith_resources = NULL; NULL 2070 lib/lrmd/lrmd_client.c stonith_key_value_t *dIter = NULL; NULL 2072 lib/lrmd/lrmd_client.c if (stonith_api == NULL) { NULL 2076 lib/lrmd/lrmd_client.c stonith_api->cmds->list_agents(stonith_api, st_opt_sync_call, NULL, NULL 2102 lib/lrmd/lrmd_client.c GList *gIter = NULL; NULL 2105 lib/lrmd/lrmd_client.c for (gIter = agents; gIter != NULL; gIter = gIter->next) { NULL 2134 lib/lrmd/lrmd_client.c GList *agents = NULL; NULL 2135 lib/lrmd/lrmd_client.c GList *gIter2 = NULL; NULL 2138 lib/lrmd/lrmd_client.c for (gIter2 = agents; gIter2 != NULL; gIter2 = gIter2->next) { NULL 2151 lib/lrmd/lrmd_client.c char *provider = NULL; NULL 2152 lib/lrmd/lrmd_client.c GList *ocf_providers = NULL; NULL 2153 lib/lrmd/lrmd_client.c GList *gIter = NULL; NULL 2157 lib/lrmd/lrmd_client.c for (gIter = ocf_providers; gIter != NULL; gIter = gIter->next) { NULL 2174 lib/lrmd/lrmd_client.c GList *standards = NULL; NULL 2175 lib/lrmd/lrmd_client.c GList *gIter = NULL; NULL 2179 lib/lrmd/lrmd_client.c for (gIter = standards; gIter != NULL; gIter = gIter->next) { NULL 2184 lib/lrmd/lrmd_client.c if (list_stonith_agents(NULL) > 0) { NULL 2196 lib/lrmd/lrmd_client.c lrmd_t *new_lrmd = NULL; NULL 2197 lib/lrmd/lrmd_client.c lrmd_private_t *pvt = NULL; NULL 2238 lib/lrmd/lrmd_client.c return NULL; NULL 2252 lib/lrmd/lrmd_client.c return NULL; NULL 18 lib/lrmd/lrmd_output.c lrmd_list_t *iter = NULL; NULL 20 lib/lrmd/lrmd_output.c out->begin_list(out, NULL, NULL, "%s", title); NULL 22 lib/lrmd/lrmd_output.c for (iter = list; iter != NULL; iter = iter->next) { NULL 23 lib/lrmd/lrmd_output.c out->list_item(out, NULL, "%s", iter->val); NULL 33 lib/lrmd/lrmd_output.c lrmd_list_t *iter = NULL; NULL 35 lib/lrmd/lrmd_output.c for (iter = list; iter != NULL; iter = iter->next) { NULL 51 lib/lrmd/lrmd_output.c NULL); NULL 73 lib/lrmd/lrmd_output.c NULL); NULL 105 lib/lrmd/lrmd_output.c NULL); NULL 107 lib/lrmd/lrmd_output.c if (agent_spec != NULL) { NULL 140 lib/lrmd/lrmd_output.c { NULL, NULL, NULL } NULL 26 lib/lrmd/proxy_common.c GHashTable *proxy_table = NULL; NULL 32 lib/lrmd/proxy_common.c xmlNode *msg = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 47 lib/lrmd/proxy_common.c xmlNode *msg = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 62 lib/lrmd/proxy_common.c xmlNode *msg = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 72 lib/lrmd/proxy_common.c xmlNode *event = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 85 lib/lrmd/proxy_common.c xmlNode *response = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 97 lib/lrmd/proxy_common.c if (proxy == NULL) { NULL 122 lib/lrmd/proxy_common.c xmlNode *xml = NULL; NULL 127 lib/lrmd/proxy_common.c if (xml == NULL) { NULL 154 lib/lrmd/proxy_common.c proxy->source = NULL; NULL 155 lib/lrmd/proxy_common.c proxy->ipc = NULL; NULL 159 lib/lrmd/proxy_common.c proxy->lrm = NULL; NULL 169 lib/lrmd/proxy_common.c remote_proxy_t *proxy = NULL; NULL 171 lib/lrmd/proxy_common.c if(channel == NULL) { NULL 174 lib/lrmd/proxy_common.c return NULL; NULL 191 lib/lrmd/proxy_common.c if (proxy->source == NULL) { NULL 194 lib/lrmd/proxy_common.c return NULL; NULL 217 lib/lrmd/proxy_common.c CRM_CHECK(op != NULL, return); NULL 218 lib/lrmd/proxy_common.c CRM_CHECK(session != NULL, return); NULL 231 lib/lrmd/proxy_common.c CRM_CHECK(request != NULL, return); NULL 233 lib/lrmd/proxy_common.c if (proxy == NULL) { NULL 260 lib/lrmd/proxy_common.c PCMK__XA_ATTR_NODE_NAME) == NULL NULL 264 lib/lrmd/proxy_common.c PCMK__ATTRD_CMD_UPDATE_DELAY, NULL)) { NULL 268 lib/lrmd/proxy_common.c rc = crm_ipc_send(proxy->ipc, request, flags, 5000, NULL); NULL 271 lib/lrmd/proxy_common.c xmlNode *op_reply = create_xml_node(NULL, "nack"); NULL 291 lib/lrmd/proxy_common.c xmlNode *op_reply = NULL; NULL 43 lib/pacemaker/pcmk_cluster_queries.c if (data->mainloop != NULL) { NULL 46 lib/pacemaker/pcmk_cluster_queries.c data->mainloop = NULL; // Don't re-enter this block NULL 74 lib/pacemaker/pcmk_cluster_queries.c data->mainloop = g_main_loop_new(NULL, FALSE); NULL 100 lib/pacemaker/pcmk_cluster_queries.c return NULL; NULL 106 lib/pacemaker/pcmk_cluster_queries.c return NULL; NULL 119 lib/pacemaker/pcmk_cluster_queries.c return NULL; NULL 127 lib/pacemaker/pcmk_cluster_queries.c return NULL; NULL 143 lib/pacemaker/pcmk_cluster_queries.c if (reply != NULL) { NULL 165 lib/pacemaker/pcmk_cluster_queries.c if (reply != NULL) { NULL 183 lib/pacemaker/pcmk_cluster_queries.c char *pinged_buf = NULL; NULL 220 lib/pacemaker/pcmk_cluster_queries.c crm_when = crm_time_new(NULL); NULL 244 lib/pacemaker/pcmk_cluster_queries.c pcmk_ipc_api_t *api = NULL; NULL 248 lib/pacemaker/pcmk_cluster_queries.c if (api == NULL) { NULL 253 lib/pacemaker/pcmk_cluster_queries.c return NULL; NULL 255 lib/pacemaker/pcmk_cluster_queries.c if (cb != NULL) { NULL 264 lib/pacemaker/pcmk_cluster_queries.c return NULL; NULL 275 lib/pacemaker/pcmk_cluster_queries.c .mainloop = NULL, NULL 282 lib/pacemaker/pcmk_cluster_queries.c if (controld_api != NULL) { NULL 300 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = NULL; NULL 320 lib/pacemaker/pcmk_cluster_queries.c .mainloop = NULL, NULL 327 lib/pacemaker/pcmk_cluster_queries.c if (controld_api != NULL) { NULL 328 lib/pacemaker/pcmk_cluster_queries.c int rc = pcmk_controld_api_ping(controld_api, NULL); NULL 345 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = NULL; NULL 365 lib/pacemaker/pcmk_cluster_queries.c .mainloop = NULL, NULL 372 lib/pacemaker/pcmk_cluster_queries.c if (pacemakerd_api != NULL) { NULL 390 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = NULL; NULL 435 lib/pacemaker/pcmk_cluster_queries.c xmlNode *xml_node = NULL; NULL 438 lib/pacemaker/pcmk_cluster_queries.c if (the_cib == NULL) { NULL 446 lib/pacemaker/pcmk_cluster_queries.c rc = the_cib->cmds->query(the_cib, NULL, &xml_node, NULL 455 lib/pacemaker/pcmk_cluster_queries.c out->begin_list(out, NULL, NULL, "nodes"); NULL 458 lib/pacemaker/pcmk_cluster_queries.c node_types = NULL; NULL 497 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = NULL; NULL 25 lib/pacemaker/pcmk_fence.c static GMainLoop *mainloop = NULL; NULL 41 lib/pacemaker/pcmk_fence.c char *node = NULL; NULL 42 lib/pacemaker/pcmk_fence.c char *pattern = NULL; NULL 43 lib/pacemaker/pcmk_fence.c char *name = NULL; NULL 44 lib/pacemaker/pcmk_fence.c char *value = NULL; NULL 47 lib/pacemaker/pcmk_fence.c if (target == NULL) { NULL 54 lib/pacemaker/pcmk_fence.c if (value != NULL) { NULL 130 lib/pacemaker/pcmk_fence.c st_opt_timeout_updates, NULL, "callback", fence_callback); NULL 151 lib/pacemaker/pcmk_fence.c trig = mainloop_add_trigger(G_PRIORITY_HIGH, async_fence_helper, NULL); NULL 154 lib/pacemaker/pcmk_fence.c mainloop = g_main_loop_new(NULL, FALSE); NULL 176 lib/pacemaker/pcmk_fence.c stonith_history_t *history = NULL, *hp, *latest = NULL; NULL 196 lib/pacemaker/pcmk_fence.c pcmk__str_eq(target, "*", pcmk__str_none)? NULL : target, NULL 240 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; NULL 260 lib/pacemaker/pcmk_fence.c stonith_key_value_t *devices = NULL; NULL 263 lib/pacemaker/pcmk_fence.c rc = st->cmds->list_agents(st, st_opt_sync_call, NULL, &devices, timeout/1000); NULL 282 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; NULL 302 lib/pacemaker/pcmk_fence.c if (target == NULL) { NULL 307 lib/pacemaker/pcmk_fence.c when = stonith_api_time(atol(target), NULL, FALSE); NULL 318 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; NULL 337 lib/pacemaker/pcmk_fence.c GList *targets = NULL; NULL 338 lib/pacemaker/pcmk_fence.c char *lists = NULL; NULL 349 lib/pacemaker/pcmk_fence.c while (targets != NULL) { NULL 350 lib/pacemaker/pcmk_fence.c out->list_item(out, NULL, "%s", (const char *) targets->data); NULL 363 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; NULL 382 lib/pacemaker/pcmk_fence.c char *buffer = NULL; NULL 383 lib/pacemaker/pcmk_fence.c int rc = st->cmds->metadata(st, st_opt_sync_call, agent, NULL, &buffer, NULL 399 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; NULL 418 lib/pacemaker/pcmk_fence.c stonith_key_value_t *devices = NULL; NULL 445 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; NULL 477 lib/pacemaker/pcmk_fence.c return handle_level(st, target, fence_level, NULL, false); NULL 491 lib/pacemaker/pcmk_fence.c char *output = NULL; NULL 492 lib/pacemaker/pcmk_fence.c char *error_output = NULL; NULL 495 lib/pacemaker/pcmk_fence.c rc = st->cmds->validate(st, st_opt_sync_call, id, NULL, agent, params, NULL 506 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; NULL 533 lib/pacemaker/pcmk_fence.c new->next = NULL; NULL 538 lib/pacemaker/pcmk_fence.c hp->next = NULL; NULL 22 lib/pacemaker/pcmk_output.c char *score = NULL; NULL 23 lib/pacemaker/pcmk_output.c char *retval = NULL; NULL 42 lib/pacemaker/pcmk_output.c char *score = NULL; NULL 43 lib/pacemaker/pcmk_output.c xmlNodePtr node = NULL; NULL 51 lib/pacemaker/pcmk_output.c NULL); NULL 71 lib/pacemaker/pcmk_output.c GList *lpc = NULL; NULL 75 lib/pacemaker/pcmk_output.c for (lpc = list; lpc != NULL; lpc = lpc->next) { NULL 78 lib/pacemaker/pcmk_output.c GList *lpc2 = NULL; NULL 80 lib/pacemaker/pcmk_output.c for (lpc2 = cons->node_list_rh; lpc2 != NULL; lpc2 = lpc2->next) { NULL 93 lib/pacemaker/pcmk_output.c NULL); NULL 119 lib/pacemaker/pcmk_output.c char *reason = NULL; NULL 120 lib/pacemaker/pcmk_output.c char *details = NULL; NULL 129 lib/pacemaker/pcmk_output.c CRM_ASSERT(destination != NULL || origin != NULL); NULL 131 lib/pacemaker/pcmk_output.c if(source == NULL) { NULL 145 lib/pacemaker/pcmk_output.c if(origin != NULL && destination != NULL && origin->details == destination->details) { NULL 153 lib/pacemaker/pcmk_output.c if (need_role && (origin == NULL)) { NULL 157 lib/pacemaker/pcmk_output.c } else if (origin == NULL) { NULL 161 lib/pacemaker/pcmk_output.c } else if (need_role && (destination == NULL)) { NULL 165 lib/pacemaker/pcmk_output.c } else if (destination == NULL) { NULL 210 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%-8s %-*s ( %*s )%s%s", change, rsc_width, NULL 231 lib/pacemaker/pcmk_output.c char *change_str = NULL; NULL 236 lib/pacemaker/pcmk_output.c xmlNode *xml = NULL; NULL 239 lib/pacemaker/pcmk_output.c CRM_ASSERT(destination != NULL || origin != NULL); NULL 241 lib/pacemaker/pcmk_output.c if (source == NULL) { NULL 250 lib/pacemaker/pcmk_output.c if(origin != NULL && destination != NULL && origin->details == destination->details) { NULL 262 lib/pacemaker/pcmk_output.c NULL); NULL 265 lib/pacemaker/pcmk_output.c if (need_role && (origin == NULL)) { NULL 271 lib/pacemaker/pcmk_output.c NULL); NULL 273 lib/pacemaker/pcmk_output.c } else if (origin == NULL) { NULL 277 lib/pacemaker/pcmk_output.c } else if (need_role && (destination == NULL)) { NULL 282 lib/pacemaker/pcmk_output.c NULL); NULL 284 lib/pacemaker/pcmk_output.c } else if (destination == NULL) { NULL 293 lib/pacemaker/pcmk_output.c NULL); NULL 305 lib/pacemaker/pcmk_output.c NULL); NULL 312 lib/pacemaker/pcmk_output.c NULL); NULL 320 lib/pacemaker/pcmk_output.c NULL); NULL 329 lib/pacemaker/pcmk_output.c NULL); NULL 336 lib/pacemaker/pcmk_output.c NULL); NULL 362 lib/pacemaker/pcmk_output.c for (GList *lpc = rsc->rsc_cons; lpc != NULL; lpc = lpc->next) { NULL 364 lib/pacemaker/pcmk_output.c char *hdr = NULL; NULL 369 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s (id=%s - loop)", cons->rsc_rh->id, cons->id); NULL 374 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s", hdr); NULL 378 lib/pacemaker/pcmk_output.c out->begin_list(out, NULL, NULL, NULL); NULL 405 lib/pacemaker/pcmk_output.c for (GList *lpc = rsc->rsc_cons; lpc != NULL; lpc = lpc->next) { NULL 437 lib/pacemaker/pcmk_output.c for (GList *lpc = rsc->rsc_cons_lhs; lpc != NULL; lpc = lpc->next) { NULL 439 lib/pacemaker/pcmk_output.c char *hdr = NULL; NULL 444 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s (id=%s - loop)", cons->rsc_lh->id, cons->id); NULL 449 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s", hdr); NULL 453 lib/pacemaker/pcmk_output.c out->begin_list(out, NULL, NULL, NULL); NULL 480 lib/pacemaker/pcmk_output.c for (GList *lpc = rsc->rsc_cons_lhs; lpc != NULL; lpc = lpc->next) { NULL 504 lib/pacemaker/pcmk_output.c GList *lpc = NULL; NULL 508 lib/pacemaker/pcmk_output.c for (lpc = list; lpc != NULL; lpc = lpc->next) { NULL 511 lib/pacemaker/pcmk_output.c GList *lpc2 = NULL; NULL 513 lib/pacemaker/pcmk_output.c for (lpc2 = cons->node_list_rh; lpc2 != NULL; lpc2 = lpc2->next) { NULL 518 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Node %s (score=%s, id=%s, rsc=%s)", NULL 575 lib/pacemaker/pcmk_output.c pcmk__output_xml_create_parent(out, "constraints", NULL); NULL 600 lib/pacemaker/pcmk_output.c } else if (fsa_state != NULL) { NULL 621 lib/pacemaker/pcmk_output.c NULL); NULL 656 lib/pacemaker/pcmk_output.c NULL); NULL 668 lib/pacemaker/pcmk_output.c } else if (dc != NULL) { NULL 684 lib/pacemaker/pcmk_output.c NULL); NULL 720 lib/pacemaker/pcmk_output.c NULL); NULL 735 lib/pacemaker/pcmk_output.c char *action_desc = NULL; NULL 741 lib/pacemaker/pcmk_output.c ((task == NULL)? "unknown" : task)); NULL 746 lib/pacemaker/pcmk_output.c ((task == NULL)? "unknown" : task)); NULL 748 lib/pacemaker/pcmk_output.c if ((rsc != NULL) && (rsc->id != NULL)) { NULL 751 lib/pacemaker/pcmk_output.c if ((node != NULL) && (node->details->uname != NULL)) { NULL 754 lib/pacemaker/pcmk_output.c out->begin_list(out, NULL, NULL, "Digests for %s %s on %s", NULL 758 lib/pacemaker/pcmk_output.c if (digests == NULL) { NULL 759 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "none"); NULL 763 lib/pacemaker/pcmk_output.c if (digests->digest_all_calc != NULL) { NULL 764 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s (all parameters)", NULL 767 lib/pacemaker/pcmk_output.c if (digests->digest_secure_calc != NULL) { NULL 768 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s (non-private parameters)", NULL 771 lib/pacemaker/pcmk_output.c if (digests->digest_restart_calc != NULL) { NULL 772 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s (non-reloadable parameters)", NULL 783 lib/pacemaker/pcmk_output.c if (digest != NULL) { NULL 786 lib/pacemaker/pcmk_output.c crm_xml_add(digest_xml, "type", ((type == NULL)? "unspecified" : type)); NULL 788 lib/pacemaker/pcmk_output.c if (digest_source != NULL) { NULL 806 lib/pacemaker/pcmk_output.c xmlNode *xml = NULL; NULL 813 lib/pacemaker/pcmk_output.c NULL); NULL 815 lib/pacemaker/pcmk_output.c if (digests != NULL) { NULL 829 lib/pacemaker/pcmk_output.c } else if(stop == NULL) { \ NULL 832 lib/pacemaker/pcmk_output.c CRM_ASSERT(stop != NULL); \ NULL 850 lib/pacemaker/pcmk_output.c GList *possible_matches = NULL; NULL 851 lib/pacemaker/pcmk_output.c char *key = NULL; NULL 854 lib/pacemaker/pcmk_output.c pe_node_t *start_node = NULL; NULL 855 lib/pacemaker/pcmk_output.c pe_action_t *start = NULL; NULL 856 lib/pacemaker/pcmk_output.c pe_action_t *stop = NULL; NULL 857 lib/pacemaker/pcmk_output.c pe_action_t *promote = NULL; NULL 858 lib/pacemaker/pcmk_output.c pe_action_t *demote = NULL; NULL 861 lib/pacemaker/pcmk_output.c || (current == NULL && next == NULL)) { NULL 868 lib/pacemaker/pcmk_output.c if (current != NULL && next != NULL && !pcmk__str_eq(current->details->id, next->details->id, pcmk__str_casei)) { NULL 878 lib/pacemaker/pcmk_output.c if ((start == NULL) || !pcmk_is_set(start->flags, pe_action_runnable)) { NULL 879 lib/pacemaker/pcmk_output.c start_node = NULL; NULL 902 lib/pacemaker/pcmk_output.c pe_action_t *migrate_op = NULL; NULL 909 lib/pacemaker/pcmk_output.c CRM_CHECK(next != NULL,); NULL 910 lib/pacemaker/pcmk_output.c if (next == NULL) { NULL 911 lib/pacemaker/pcmk_output.c } else if ((migrate_op != NULL) && (current != NULL) NULL 914 lib/pacemaker/pcmk_output.c next, start, NULL); NULL 918 lib/pacemaker/pcmk_output.c next, start, NULL); NULL 920 lib/pacemaker/pcmk_output.c } else if (start == NULL || pcmk_is_set(start->flags, pe_action_optional)) { NULL 921 lib/pacemaker/pcmk_output.c if ((demote != NULL) && (promote != NULL) NULL 933 lib/pacemaker/pcmk_output.c NULL, stop, (stop && stop->reason)? stop : start); NULL 938 lib/pacemaker/pcmk_output.c rsc, current, next, stop, NULL); NULL 942 lib/pacemaker/pcmk_output.c NULL, stop, NULL); NULL 947 lib/pacemaker/pcmk_output.c next, start, NULL); NULL 959 lib/pacemaker/pcmk_output.c GList *gIter = NULL; NULL 962 lib/pacemaker/pcmk_output.c for (gIter = rsc->running_on; gIter != NULL; gIter = gIter->next) { NULL 964 lib/pacemaker/pcmk_output.c pe_action_t *stop_op = NULL; NULL 976 lib/pacemaker/pcmk_output.c if (out->message(out, "rsc-action-item", "Stop", rsc, node, NULL, NULL 984 lib/pacemaker/pcmk_output.c } else if ((stop != NULL) NULL 993 lib/pacemaker/pcmk_output.c stop, NULL); NULL 998 lib/pacemaker/pcmk_output.c start, NULL); NULL 1000 lib/pacemaker/pcmk_output.c } else if (stop != NULL && !pcmk_is_set(stop->flags, pe_action_optional)) { NULL 1002 lib/pacemaker/pcmk_output.c next, start, NULL); NULL 1006 lib/pacemaker/pcmk_output.c CRM_LOG_ASSERT(current != NULL); NULL 1008 lib/pacemaker/pcmk_output.c next, demote, NULL); NULL 1013 lib/pacemaker/pcmk_output.c next, promote, NULL); NULL 1017 lib/pacemaker/pcmk_output.c start, NULL); NULL 1031 lib/pacemaker/pcmk_output.c if (task == NULL) { NULL 1034 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s %s '%s'", task, node_name, reason); NULL 1050 lib/pacemaker/pcmk_output.c if (task == NULL) { NULL 1057 lib/pacemaker/pcmk_output.c NULL); NULL 1078 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Cluster action: %s for %s on %s", task, ID(rsc), node); NULL 1080 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Cluster action: %s on %s", task, node); NULL 1094 lib/pacemaker/pcmk_output.c xmlNodePtr xml_node = NULL; NULL 1103 lib/pacemaker/pcmk_output.c NULL); NULL 1123 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Fencing %s (%s)", target, op); NULL 1141 lib/pacemaker/pcmk_output.c NULL); NULL 1153 lib/pacemaker/pcmk_output.c xmlChar *node_path = NULL; NULL 1161 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Injecting attribute %s=%s into %s '%s'", NULL 1176 lib/pacemaker/pcmk_output.c xmlChar *node_path = NULL; NULL 1189 lib/pacemaker/pcmk_output.c NULL); NULL 1204 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Injecting %s into the configuration", spec); NULL 1220 lib/pacemaker/pcmk_output.c NULL); NULL 1235 lib/pacemaker/pcmk_output.c out->begin_list(out, NULL, NULL, "Performing Requested Modifications"); NULL 1238 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Setting quorum: %s", quorum); NULL 1242 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Setting watchdog: %s", watchdog); NULL 1255 lib/pacemaker/pcmk_output.c xmlNodePtr node = NULL; NULL 1261 lib/pacemaker/pcmk_output.c node = pcmk__output_xml_create_parent(out, "modifications", NULL); NULL 1286 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Bringing node %s online", node); NULL 1289 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Taking node %s offline", node); NULL 1292 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Failing node %s", node); NULL 1313 lib/pacemaker/pcmk_output.c NULL); NULL 1329 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Making ticket %s standby", ticket); NULL 1331 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s ticket %s", action, ticket); NULL 1351 lib/pacemaker/pcmk_output.c NULL); NULL 1366 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Pseudo action: %s%s%s", task, node ? " on " : "", NULL 1378 lib/pacemaker/pcmk_output.c xmlNodePtr xml_node = NULL; NULL 1386 lib/pacemaker/pcmk_output.c NULL); NULL 1408 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Resource action: %-15s %s=%u on %s", NULL 1411 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Resource action: %-15s %s on %s", NULL 1427 lib/pacemaker/pcmk_output.c xmlNodePtr xml_node = NULL; NULL 1437 lib/pacemaker/pcmk_output.c NULL); NULL 1492 lib/pacemaker/pcmk_output.c { NULL, NULL, NULL } NULL 18 lib/pacemaker/pcmk_output_utils.c { NULL, NULL, NULL } NULL 25 lib/pacemaker/pcmk_output_utils.c if (*xml != NULL) { NULL 29 lib/pacemaker/pcmk_output_utils.c pcmk__register_formats(NULL, pcmk__out_formats); NULL 30 lib/pacemaker/pcmk_output_utils.c rc = pcmk__output_new(out, "xml", NULL, NULL); NULL 33 lib/pacemaker/pcmk_resource.c char *xpath = NULL; NULL 34 lib/pacemaker/pcmk_resource.c xmlNode *history = NULL; NULL 35 lib/pacemaker/pcmk_resource.c xmlNode *best = NULL; NULL 44 lib/pacemaker/pcmk_resource.c lrm_rsc_op != NULL; lrm_rsc_op = crm_next_same_xml(lrm_rsc_op)) { NULL 56 lib/pacemaker/pcmk_resource.c if (best == NULL) { NULL 63 lib/pacemaker/pcmk_resource.c if (digest != NULL) { NULL 88 lib/pacemaker/pcmk_resource.c const char *task = NULL; NULL 89 lib/pacemaker/pcmk_resource.c xmlNode *xml_op = NULL; NULL 90 lib/pacemaker/pcmk_resource.c op_digest_cache_t *digests = NULL; NULL 94 lib/pacemaker/pcmk_resource.c if ((out == NULL) || (rsc == NULL) || (node == NULL) || (data_set == NULL)) { NULL 106 lib/pacemaker/pcmk_resource.c if (xml_op != NULL) { NULL 110 lib/pacemaker/pcmk_resource.c if (task == NULL) { // Assume start if no history is available NULL 129 lib/pacemaker/pcmk_resource.c pcmk__output_t *out = NULL; NULL 158 lib/pacemaker/pcmk_sched_allocate.c const char *value = NULL; NULL 159 lib/pacemaker/pcmk_sched_allocate.c const char *old_value = NULL; NULL 176 lib/pacemaker/pcmk_sched_allocate.c trigger_unfencing(rsc, node, "Device definition changed", NULL, data_set); NULL 201 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *cancel = NULL; NULL 203 lib/pacemaker/pcmk_sched_allocate.c const char *task = NULL; NULL 204 lib/pacemaker/pcmk_sched_allocate.c const char *call_id = NULL; NULL 206 lib/pacemaker/pcmk_sched_allocate.c CRM_CHECK(xml_op != NULL, return); NULL 207 lib/pacemaker/pcmk_sched_allocate.c CRM_CHECK(active_node != NULL, return); NULL 219 lib/pacemaker/pcmk_sched_allocate.c custom_action_order(rsc, stop_key(rsc), NULL, rsc, NULL, cancel, pe_order_optional, data_set); NULL 226 lib/pacemaker/pcmk_sched_allocate.c char *key = NULL; NULL 228 lib/pacemaker/pcmk_sched_allocate.c const op_digest_cache_t *digest_data = NULL; NULL 232 lib/pacemaker/pcmk_sched_allocate.c const char *digest_secure = NULL; NULL 234 lib/pacemaker/pcmk_sched_allocate.c CRM_CHECK(active_node != NULL, return FALSE); NULL 238 lib/pacemaker/pcmk_sched_allocate.c xmlNode *op_match = NULL; NULL 246 lib/pacemaker/pcmk_sched_allocate.c if ((op_match == NULL) NULL 252 lib/pacemaker/pcmk_sched_allocate.c } else if (op_match == NULL) { NULL 258 lib/pacemaker/pcmk_sched_allocate.c key = NULL; NULL 285 lib/pacemaker/pcmk_sched_allocate.c if (!pcmk__is_daemon && data_set->priv != NULL) { NULL 295 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *required = NULL; NULL 300 lib/pacemaker/pcmk_sched_allocate.c required = custom_action(rsc, key, task, NULL, TRUE, TRUE, data_set); NULL 301 lib/pacemaker/pcmk_sched_allocate.c pe_action_set_flag_reason(__func__, __LINE__, required, NULL, NULL 304 lib/pacemaker/pcmk_sched_allocate.c trigger_unfencing(rsc, active_node, "Device parameters changed", NULL, data_set); NULL 311 lib/pacemaker/pcmk_sched_allocate.c trigger_unfencing(rsc, active_node, "Device parameters changed (reload)", NULL, data_set); NULL 316 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *op = NULL; NULL 335 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *required = NULL; NULL 342 lib/pacemaker/pcmk_sched_allocate.c required = custom_action(rsc, key, task, NULL, TRUE, TRUE, data_set); NULL 343 lib/pacemaker/pcmk_sched_allocate.c pe_action_set_flag_reason(__func__, __LINE__, required, NULL, NULL 361 lib/pacemaker/pcmk_sched_allocate.c const char *reason = NULL; NULL 362 lib/pacemaker/pcmk_sched_allocate.c op_digest_cache_t *digest_data = NULL; NULL 367 lib/pacemaker/pcmk_sched_allocate.c && pe_get_failcount(node, rsc, NULL, pe_fc_effective, NULL, NULL 398 lib/pacemaker/pcmk_sched_allocate.c GList *gIter = NULL; NULL 403 lib/pacemaker/pcmk_sched_allocate.c const char *task = NULL; NULL 405 lib/pacemaker/pcmk_sched_allocate.c xmlNode *rsc_op = NULL; NULL 406 lib/pacemaker/pcmk_sched_allocate.c GList *op_list = NULL; NULL 407 lib/pacemaker/pcmk_sched_allocate.c GList *sorted_op_list = NULL; NULL 409 lib/pacemaker/pcmk_sched_allocate.c CRM_CHECK(node != NULL, return); NULL 413 lib/pacemaker/pcmk_sched_allocate.c if(parent == NULL NULL 423 lib/pacemaker/pcmk_sched_allocate.c } else if (pe_find_node_id(rsc->running_on, node->details->id) == NULL) { NULL 438 lib/pacemaker/pcmk_sched_allocate.c for (rsc_op = pcmk__xe_first_child(rsc_entry); rsc_op != NULL; NULL 449 lib/pacemaker/pcmk_sched_allocate.c for (gIter = sorted_op_list; gIter != NULL; gIter = gIter->next) { NULL 472 lib/pacemaker/pcmk_sched_allocate.c RSC_PROMOTE, RSC_MIGRATED, NULL)) { NULL 489 lib/pacemaker/pcmk_sched_allocate.c && pe_get_failcount(node, rsc, NULL, pe_fc_effective, NULL, NULL 503 lib/pacemaker/pcmk_sched_allocate.c GList *gIter = NULL; NULL 506 lib/pacemaker/pcmk_sched_allocate.c if (id == NULL) { NULL 507 lib/pacemaker/pcmk_sched_allocate.c return NULL; NULL 510 lib/pacemaker/pcmk_sched_allocate.c if (rsc == NULL) { NULL 511 lib/pacemaker/pcmk_sched_allocate.c if (data_set == NULL) { NULL 512 lib/pacemaker/pcmk_sched_allocate.c return NULL; NULL 514 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 518 lib/pacemaker/pcmk_sched_allocate.c NULL); NULL 546 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 549 lib/pacemaker/pcmk_sched_allocate.c result = find_rsc_list(result, child, id, renamed_clones, partial, NULL); NULL 559 lib/pacemaker/pcmk_sched_allocate.c const char *id = NULL; NULL 560 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *node = NULL; NULL 561 lib/pacemaker/pcmk_sched_allocate.c xmlNode *lrm_rscs = NULL; NULL 564 lib/pacemaker/pcmk_sched_allocate.c xmlNode *node_state = NULL; NULL 566 lib/pacemaker/pcmk_sched_allocate.c for (node_state = pcmk__xe_first_child(status); node_state != NULL; NULL 577 lib/pacemaker/pcmk_sched_allocate.c if (node == NULL) { NULL 590 lib/pacemaker/pcmk_sched_allocate.c xmlNode *rsc_entry = NULL; NULL 593 lib/pacemaker/pcmk_sched_allocate.c rsc_entry != NULL; NULL 599 lib/pacemaker/pcmk_sched_allocate.c GList *gIter = NULL; NULL 600 lib/pacemaker/pcmk_sched_allocate.c GList *result = NULL; NULL 603 lib/pacemaker/pcmk_sched_allocate.c CRM_CHECK(rsc_id != NULL, return); NULL 605 lib/pacemaker/pcmk_sched_allocate.c result = find_rsc_list(NULL, NULL, rsc_id, TRUE, FALSE, data_set); NULL 606 lib/pacemaker/pcmk_sched_allocate.c for (gIter = result; gIter != NULL; gIter = gIter->next) { NULL 627 lib/pacemaker/pcmk_sched_allocate.c gIter != NULL; gIter = gIter->next) { NULL 673 lib/pacemaker/pcmk_sched_allocate.c fail_count = pe_get_failcount(node, rsc, NULL, NULL 674 lib/pacemaker/pcmk_sched_allocate.c pe_fc_effective|pe_fc_fillers, NULL, NULL 706 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 719 lib/pacemaker/pcmk_sched_allocate.c if (current == NULL) { NULL 721 lib/pacemaker/pcmk_sched_allocate.c } else if ((match != NULL) NULL 731 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *nIter = NULL; NULL 736 lib/pacemaker/pcmk_sched_allocate.c while (g_hash_table_iter_next(&iter, NULL, (void **)&nIter)) { NULL 765 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 778 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 810 lib/pacemaker/pcmk_sched_allocate.c GList *gIter = NULL; NULL 862 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 879 lib/pacemaker/pcmk_sched_allocate.c for (; gIter2 != NULL; gIter2 = gIter2->next) { NULL 882 lib/pacemaker/pcmk_sched_allocate.c rsc2node_new(health_strategy, rsc, system_health, NULL, node, data_set); NULL 895 lib/pacemaker/pcmk_sched_allocate.c if (data_set->input == NULL) { NULL 917 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *probe_node_complete = NULL; NULL 919 lib/pacemaker/pcmk_sched_allocate.c for (GList *gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 940 lib/pacemaker/pcmk_sched_allocate.c if (probed != NULL && crm_is_true(probed) == FALSE) { NULL 941 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *probe_op = custom_action(NULL, crm_strdup_printf("%s-%s", CRM_OP_REPROBE, node->details->uname), NULL 948 lib/pacemaker/pcmk_sched_allocate.c for (GList *gIter2 = data_set->resources; gIter2 != NULL; gIter2 = gIter2->next) { NULL 968 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 1002 lib/pacemaker/pcmk_sched_allocate.c for (GList *item = rsc->children; item != NULL; NULL 1017 lib/pacemaker/pcmk_sched_allocate.c if (rsc->lock_node != NULL) { NULL 1020 lib/pacemaker/pcmk_sched_allocate.c if (rsc->running_on != NULL) { NULL 1029 lib/pacemaker/pcmk_sched_allocate.c rsc->lock_node = NULL; NULL 1048 lib/pacemaker/pcmk_sched_allocate.c if (rsc->lock_node == NULL) { NULL 1066 lib/pacemaker/pcmk_sched_allocate.c for (GList *item = data_set->nodes; item != NULL; item = item->next) { NULL 1086 lib/pacemaker/pcmk_sched_allocate.c GList *gIter = NULL; NULL 1089 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 1096 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 1109 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 1110 lib/pacemaker/pcmk_sched_allocate.c GList *gIter2 = NULL; NULL 1114 lib/pacemaker/pcmk_sched_allocate.c for (; gIter2 != NULL; gIter2 = gIter2->next) { NULL 1134 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 1173 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *r1_node = NULL; NULL 1174 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *r2_node = NULL; NULL 1175 lib/pacemaker/pcmk_sched_allocate.c GList *gIter = NULL; NULL 1176 lib/pacemaker/pcmk_sched_allocate.c GHashTable *r1_nodes = NULL; NULL 1177 lib/pacemaker/pcmk_sched_allocate.c GHashTable *r2_nodes = NULL; NULL 1194 lib/pacemaker/pcmk_sched_allocate.c if (nodes == NULL) { NULL 1199 lib/pacemaker/pcmk_sched_allocate.c resource1->id, NULL, NULL, 1, NULL 1201 lib/pacemaker/pcmk_sched_allocate.c pe__show_node_weights(true, NULL, resource1->id, r1_nodes, NULL 1205 lib/pacemaker/pcmk_sched_allocate.c resource2->id, NULL, NULL, 1, NULL 1207 lib/pacemaker/pcmk_sched_allocate.c pe__show_node_weights(true, NULL, resource2->id, r2_nodes, NULL 1218 lib/pacemaker/pcmk_sched_allocate.c if (r1_node != NULL) { NULL 1225 lib/pacemaker/pcmk_sched_allocate.c if (r2_node != NULL) { NULL 1241 lib/pacemaker/pcmk_sched_allocate.c for (gIter = nodes; gIter != NULL; gIter = gIter->next) { NULL 1244 lib/pacemaker/pcmk_sched_allocate.c r1_node = NULL; NULL 1245 lib/pacemaker/pcmk_sched_allocate.c r2_node = NULL; NULL 1293 lib/pacemaker/pcmk_sched_allocate.c GList *gIter = NULL; NULL 1300 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 1312 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 1319 lib/pacemaker/pcmk_sched_allocate.c rsc->cmds->allocate(rsc, NULL, data_set); NULL 1336 lib/pacemaker/pcmk_sched_allocate.c custom_action_order(lh_rsc, start_key(lh_rsc), NULL, NULL 1337 lib/pacemaker/pcmk_sched_allocate.c rh_action->rsc, NULL, rh_action, NULL 1348 lib/pacemaker/pcmk_sched_allocate.c custom_action_order(lh_action->rsc, NULL, lh_action, NULL 1349 lib/pacemaker/pcmk_sched_allocate.c rh_rsc, stop_key(rh_rsc), NULL, NULL 1358 lib/pacemaker/pcmk_sched_allocate.c GList *gIter = NULL; NULL 1360 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 1364 lib/pacemaker/pcmk_sched_allocate.c && pe_get_failcount(node, rsc, NULL, pe_fc_effective, NULL, NULL 1367 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *clear_op = NULL; NULL 1375 lib/pacemaker/pcmk_sched_allocate.c custom_action_order(clear_op->rsc, NULL, clear_op, NULL 1376 lib/pacemaker/pcmk_sched_allocate.c rsc, stop_key(rsc), NULL, NULL 1386 lib/pacemaker/pcmk_sched_allocate.c GList *gIter = NULL; NULL 1391 lib/pacemaker/pcmk_sched_allocate.c nodes = sort_nodes_by_weight(nodes, NULL, data_set); NULL 1399 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 1413 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 1466 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 1480 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 1499 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 1516 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 1537 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *stop = NULL; NULL 1538 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *stonith_op = NULL; NULL 1552 lib/pacemaker/pcmk_sched_allocate.c stop = find_first_action(container->actions, NULL, CRMD_ACTION_STOP, NULL); NULL 1554 lib/pacemaker/pcmk_sched_allocate.c if (find_first_action(container->actions, NULL, CRMD_ACTION_START, NULL)) { NULL 1570 lib/pacemaker/pcmk_sched_allocate.c if ((stop != NULL) && pcmk_is_set(stop->flags, pe_action_pseudo)) { NULL 1571 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *parent_stonith_op = pe_fence_op(stop->node, NULL, FALSE, NULL, FALSE, data_set); NULL 1592 lib/pacemaker/pcmk_sched_allocate.c stop = find_first_action(node->details->remote_rsc->actions, NULL, NULL 1593 lib/pacemaker/pcmk_sched_allocate.c RSC_STOP, NULL); NULL 1619 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *dc_down = NULL; NULL 1620 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *stonith_op = NULL; NULL 1624 lib/pacemaker/pcmk_sched_allocate.c GList *stonith_ops = NULL; NULL 1625 lib/pacemaker/pcmk_sched_allocate.c GList *shutdown_ops = NULL; NULL 1643 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 1657 lib/pacemaker/pcmk_sched_allocate.c stonith_op = NULL; NULL 1662 lib/pacemaker/pcmk_sched_allocate.c stonith_op = pe_fence_op(node, NULL, FALSE, "node is unclean", FALSE, data_set); NULL 1674 lib/pacemaker/pcmk_sched_allocate.c && (stonith_ops != NULL)) { NULL 1705 lib/pacemaker/pcmk_sched_allocate.c if (node->details->unclean && stonith_op == NULL) { NULL 1722 lib/pacemaker/pcmk_sched_allocate.c if (dc_down != NULL) { NULL 1731 lib/pacemaker/pcmk_sched_allocate.c for (gIter = shutdown_ops; gIter != NULL; gIter = gIter->next) { NULL 1748 lib/pacemaker/pcmk_sched_allocate.c for (gIter = stonith_ops; gIter != NULL; gIter = gIter->next) { NULL 1777 lib/pacemaker/pcmk_sched_allocate.c GList *list = NULL; NULL 1779 lib/pacemaker/pcmk_sched_allocate.c list = find_actions(actions, original_key, NULL); NULL 1780 lib/pacemaker/pcmk_sched_allocate.c if (list == NULL) { NULL 1782 lib/pacemaker/pcmk_sched_allocate.c char *key = NULL; NULL 1783 lib/pacemaker/pcmk_sched_allocate.c char *task = NULL; NULL 1786 lib/pacemaker/pcmk_sched_allocate.c if (parse_op_key(original_key, NULL, &task, &interval_ms)) { NULL 1788 lib/pacemaker/pcmk_sched_allocate.c list = find_actions(actions, key, NULL); NULL 1805 lib/pacemaker/pcmk_sched_allocate.c GList *gIter = NULL; NULL 1806 lib/pacemaker/pcmk_sched_allocate.c GList *rh_actions = NULL; NULL 1807 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *rh_action = NULL; NULL 1810 lib/pacemaker/pcmk_sched_allocate.c CRM_CHECK(rsc != NULL, return); NULL 1811 lib/pacemaker/pcmk_sched_allocate.c CRM_CHECK(order != NULL, return); NULL 1817 lib/pacemaker/pcmk_sched_allocate.c if (rh_action != NULL) { NULL 1818 lib/pacemaker/pcmk_sched_allocate.c rh_actions = g_list_prepend(NULL, rh_action); NULL 1820 lib/pacemaker/pcmk_sched_allocate.c } else if (rsc != NULL) { NULL 1824 lib/pacemaker/pcmk_sched_allocate.c if (rh_actions == NULL) { NULL 1833 lib/pacemaker/pcmk_sched_allocate.c if ((lh_action != NULL) && (lh_action->rsc == rsc) NULL 1842 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 1864 lib/pacemaker/pcmk_sched_allocate.c GList *gIter = NULL; NULL 1865 lib/pacemaker/pcmk_sched_allocate.c GList *lh_actions = NULL; NULL 1870 lib/pacemaker/pcmk_sched_allocate.c CRM_ASSERT(lh_rsc != NULL); NULL 1872 lib/pacemaker/pcmk_sched_allocate.c if (lh_action != NULL) { NULL 1873 lib/pacemaker/pcmk_sched_allocate.c lh_actions = g_list_prepend(NULL, lh_action); NULL 1879 lib/pacemaker/pcmk_sched_allocate.c if (lh_actions == NULL && lh_rsc != rh_rsc) { NULL 1880 lib/pacemaker/pcmk_sched_allocate.c char *key = NULL; NULL 1881 lib/pacemaker/pcmk_sched_allocate.c char *op_type = NULL; NULL 1884 lib/pacemaker/pcmk_sched_allocate.c parse_op_key(order->lh_action_task, NULL, &op_type, &interval_ms); NULL 1901 lib/pacemaker/pcmk_sched_allocate.c lh_action = custom_action(lh_rsc, key, op_type, NULL, TRUE, TRUE, data_set); NULL 1902 lib/pacemaker/pcmk_sched_allocate.c lh_actions = g_list_prepend(NULL, lh_action); NULL 1909 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 1912 lib/pacemaker/pcmk_sched_allocate.c if (rh_rsc == NULL && order->rh_action) { NULL 1952 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *remote_rsc = NULL; NULL 1953 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *container = NULL; NULL 1977 lib/pacemaker/pcmk_sched_allocate.c if (pcmk__strcase_any_of(action->task, CRMD_ACTION_MIGRATE, CRMD_ACTION_MIGRATED, NULL)) { NULL 2041 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *remote_rsc = NULL; NULL 2042 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *cluster_node = NULL; NULL 2055 lib/pacemaker/pcmk_sched_allocate.c if(remote_rsc->next_role == RSC_ROLE_STOPPED || remote_rsc->allocated_to == NULL) { NULL 2089 lib/pacemaker/pcmk_sched_allocate.c } else if (cluster_node == NULL) { NULL 2118 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *remote_rsc = NULL; NULL 2124 lib/pacemaker/pcmk_sched_allocate.c if (action->rsc == NULL) { NULL 2139 lib/pacemaker/pcmk_sched_allocate.c if (pcmk__strcase_any_of(action->task, CRMD_ACTION_MIGRATE, CRMD_ACTION_MIGRATED, NULL)) { NULL 2250 lib/pacemaker/pcmk_sched_allocate.c for (GList *gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { NULL 2252 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *remote = NULL; NULL 2255 lib/pacemaker/pcmk_sched_allocate.c if (action->rsc == NULL) { NULL 2267 lib/pacemaker/pcmk_sched_allocate.c NULL, NULL 2271 lib/pacemaker/pcmk_sched_allocate.c NULL, NULL 2279 lib/pacemaker/pcmk_sched_allocate.c if (action->node == NULL) { NULL 2298 lib/pacemaker/pcmk_sched_allocate.c if (remote == NULL) { NULL 2309 lib/pacemaker/pcmk_sched_allocate.c for (GList *item = action->rsc->actions; item != NULL; NULL 2315 lib/pacemaker/pcmk_sched_allocate.c custom_action_order(remote, start_key(remote), NULL, NULL 2316 lib/pacemaker/pcmk_sched_allocate.c action->rsc, NULL, rsc_action, NULL 2372 lib/pacemaker/pcmk_sched_allocate.c GList *gIter = NULL; NULL 2374 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->ordering_constraints; gIter != NULL; gIter = gIter->next) { NULL 2385 lib/pacemaker/pcmk_sched_allocate.c GList *probes = NULL; NULL 2386 lib/pacemaker/pcmk_sched_allocate.c GList *rh_actions = NULL; NULL 2388 lib/pacemaker/pcmk_sched_allocate.c GList *pIter = NULL; NULL 2390 lib/pacemaker/pcmk_sched_allocate.c if (lh_rsc == NULL) { NULL 2397 lib/pacemaker/pcmk_sched_allocate.c if (lh_action == NULL && lh_action_task == NULL) { NULL 2401 lib/pacemaker/pcmk_sched_allocate.c if (rh_action == NULL && rh_action_task == NULL) { NULL 2412 lib/pacemaker/pcmk_sched_allocate.c } else if (lh_action == NULL NULL 2426 lib/pacemaker/pcmk_sched_allocate.c } else if (rh_action == NULL && rh_action_task NULL 2452 lib/pacemaker/pcmk_sched_allocate.c probes = pe__resource_actions(lh_rsc, NULL, RSC_STATUS, FALSE); NULL 2453 lib/pacemaker/pcmk_sched_allocate.c if (probes == NULL) { NULL 2461 lib/pacemaker/pcmk_sched_allocate.c rh_actions = find_actions(rh_rsc->actions, rh_action_task, NULL); NULL 2464 lib/pacemaker/pcmk_sched_allocate.c if (rh_actions == NULL) { NULL 2475 lib/pacemaker/pcmk_sched_allocate.c for (pIter = probes; pIter != NULL; pIter = pIter->next) { NULL 2477 lib/pacemaker/pcmk_sched_allocate.c GList *rIter = NULL; NULL 2479 lib/pacemaker/pcmk_sched_allocate.c for (rIter = rh_actions; rIter != NULL; rIter = rIter->next) { NULL 2499 lib/pacemaker/pcmk_sched_allocate.c GList *gIter = NULL; NULL 2501 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *compatible_rsc = NULL; NULL 2503 lib/pacemaker/pcmk_sched_allocate.c if (probe == NULL NULL 2504 lib/pacemaker/pcmk_sched_allocate.c || probe->rsc == NULL NULL 2509 lib/pacemaker/pcmk_sched_allocate.c if (after == NULL NULL 2535 lib/pacemaker/pcmk_sched_allocate.c GList *then_actions = NULL; NULL 2539 lib/pacemaker/pcmk_sched_allocate.c then_actions = pe__resource_actions(after->rsc, NULL, RSC_STOP, FALSE); NULL 2542 lib/pacemaker/pcmk_sched_allocate.c then_actions = pe__resource_actions(after->rsc, NULL, RSC_DEMOTE, FALSE); NULL 2545 lib/pacemaker/pcmk_sched_allocate.c for (gIter = then_actions; gIter != NULL; gIter = gIter->next) { NULL 2576 lib/pacemaker/pcmk_sched_allocate.c for (gIter = after->actions_after; gIter != NULL; gIter = gIter->next) { NULL 2595 lib/pacemaker/pcmk_sched_allocate.c if (after->rsc == NULL NULL 2598 lib/pacemaker/pcmk_sched_allocate.c || after_wrapper->action->rsc == NULL NULL 2609 lib/pacemaker/pcmk_sched_allocate.c && (compatible_rsc == NULL NULL 2628 lib/pacemaker/pcmk_sched_allocate.c GList *gIter = NULL; NULL 2630 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { NULL 2642 lib/pacemaker/pcmk_sched_allocate.c GList *gIter = NULL; NULL 2643 lib/pacemaker/pcmk_sched_allocate.c GList *probes = NULL; NULL 2645 lib/pacemaker/pcmk_sched_allocate.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 2655 lib/pacemaker/pcmk_sched_allocate.c probes = pe__resource_actions(rsc, NULL, RSC_STATUS, FALSE); NULL 2657 lib/pacemaker/pcmk_sched_allocate.c for (gIter = probes; gIter != NULL; gIter= gIter->next) { NULL 2659 lib/pacemaker/pcmk_sched_allocate.c GList *aIter = NULL; NULL 2661 lib/pacemaker/pcmk_sched_allocate.c for (aIter = probe->actions_after; aIter != NULL; aIter = aIter->next) { NULL 2675 lib/pacemaker/pcmk_sched_allocate.c GList *gIter = NULL; NULL 2677 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 2690 lib/pacemaker/pcmk_sched_allocate.c GList *gIter = NULL; NULL 2692 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 2737 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *start = NULL; NULL 2738 lib/pacemaker/pcmk_sched_allocate.c GList *actions = NULL; NULL 2739 lib/pacemaker/pcmk_sched_allocate.c GList *probes = NULL; NULL 2741 lib/pacemaker/pcmk_sched_allocate.c actions = pe__resource_actions(rsc, NULL, RSC_START, FALSE); NULL 2748 lib/pacemaker/pcmk_sched_allocate.c if(start == NULL) { NULL 2753 lib/pacemaker/pcmk_sched_allocate.c probes = pe__resource_actions(rsc, NULL, RSC_STATUS, FALSE); NULL 2755 lib/pacemaker/pcmk_sched_allocate.c for (actions = start->actions_before; actions != NULL; actions = actions->next) { NULL 2758 lib/pacemaker/pcmk_sched_allocate.c GList *pIter = NULL; NULL 2763 lib/pacemaker/pcmk_sched_allocate.c GList *clone_actions = NULL; NULL 2764 lib/pacemaker/pcmk_sched_allocate.c for (clone_actions = first->actions_before; clone_actions != NULL; clone_actions = clone_actions->next) { NULL 2778 lib/pacemaker/pcmk_sched_allocate.c if(first_rsc == NULL) { NULL 2792 lib/pacemaker/pcmk_sched_allocate.c for (pIter = probes; pIter != NULL; pIter = pIter->next) { NULL 2814 lib/pacemaker/pcmk_sched_allocate.c pcmk__output_t *out = NULL; NULL 2815 lib/pacemaker/pcmk_sched_allocate.c GList *gIter = NULL; NULL 2827 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->ordering_constraints; gIter != NULL; gIter = gIter->next) { NULL 2833 lib/pacemaker/pcmk_sched_allocate.c if (rsc != NULL) { NULL 2840 lib/pacemaker/pcmk_sched_allocate.c if (rsc != NULL) { NULL 2850 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { NULL 2860 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { NULL 2867 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { NULL 2869 lib/pacemaker/pcmk_sched_allocate.c pe_action_wrapper_t *input = NULL; NULL 2872 lib/pacemaker/pcmk_sched_allocate.c input_iter != NULL; input_iter = input_iter->next) { NULL 2885 lib/pacemaker/pcmk_sched_allocate.c if (out == NULL) { NULL 2892 lib/pacemaker/pcmk_sched_allocate.c out->begin_list(out, NULL, NULL, "Actions"); NULL 2895 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 2902 lib/pacemaker/pcmk_sched_allocate.c out->finish(out, CRM_EX_OK, true, NULL); NULL 2923 lib/pacemaker/pcmk_sched_allocate.c (filename == NULL)? "" : ", saving inputs in ", NULL 2924 lib/pacemaker/pcmk_sched_allocate.c (filename == NULL)? "" : filename); NULL 2929 lib/pacemaker/pcmk_sched_allocate.c (filename == NULL)? "" : ", saving inputs in ", NULL 2930 lib/pacemaker/pcmk_sched_allocate.c (filename == NULL)? "" : filename); NULL 2935 lib/pacemaker/pcmk_sched_allocate.c (filename == NULL)? "" : ", saving inputs in ", NULL 2936 lib/pacemaker/pcmk_sched_allocate.c (filename == NULL)? "" : filename); NULL 2950 lib/pacemaker/pcmk_sched_allocate.c GList *gIter = NULL; NULL 2951 lib/pacemaker/pcmk_sched_allocate.c const char *value = NULL; NULL 2957 lib/pacemaker/pcmk_sched_allocate.c data_set->graph = create_xml_node(NULL, XML_TAG_GRAPH); NULL 2984 lib/pacemaker/pcmk_sched_allocate.c char *recheck_epoch = NULL; NULL 3006 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 3022 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 3061 lib/pacemaker/pcmk_sched_allocate.c GList *gIter = NULL; NULL 3063 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { NULL 3064 lib/pacemaker/pcmk_sched_allocate.c char *node_name = NULL; NULL 3065 lib/pacemaker/pcmk_sched_allocate.c char *task = NULL; NULL 3068 lib/pacemaker/pcmk_sched_allocate.c if (action->rsc != NULL) { NULL 23 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = data->replicas; gIter != NULL; gIter = gIter->next) { NULL 40 lib/pacemaker/pcmk_sched_bundle.c GList *containers = NULL; NULL 43 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *data = NULL; NULL 46 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = data->replicas; gIter != NULL; NULL 80 lib/pacemaker/pcmk_sched_bundle.c fail_count = pe_get_failcount(node, rsc, NULL, NULL 81 lib/pacemaker/pcmk_sched_bundle.c pe_fc_effective|pe_fc_fillers, NULL, NULL 106 lib/pacemaker/pcmk_sched_bundle.c GList *containers = NULL; NULL 107 lib/pacemaker/pcmk_sched_bundle.c GList *nodes = NULL; NULL 108 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 110 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc != NULL, return NULL); NULL 121 lib/pacemaker/pcmk_sched_bundle.c nodes = sort_nodes_by_weight(nodes, NULL, data_set); NULL 128 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 131 lib/pacemaker/pcmk_sched_bundle.c pe_node_t *container_host = NULL; NULL 146 lib/pacemaker/pcmk_sched_bundle.c pcmk__new_colocation("child-remote-with-docker-remote", NULL, NULL 148 lib/pacemaker/pcmk_sched_bundle.c container_host->details->remote_rsc, NULL, NULL 149 lib/pacemaker/pcmk_sched_bundle.c NULL, true, data_set); NULL 161 lib/pacemaker/pcmk_sched_bundle.c pe_node_t *node = NULL; NULL 165 lib/pacemaker/pcmk_sched_bundle.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & node)) { NULL 185 lib/pacemaker/pcmk_sched_bundle.c pe_node_t *node = NULL; NULL 188 lib/pacemaker/pcmk_sched_bundle.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & node)) { NULL 201 lib/pacemaker/pcmk_sched_bundle.c return NULL; NULL 208 lib/pacemaker/pcmk_sched_bundle.c pe_action_t *action = NULL; NULL 209 lib/pacemaker/pcmk_sched_bundle.c GList *containers = NULL; NULL 210 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 212 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc != NULL, return); NULL 216 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 233 lib/pacemaker/pcmk_sched_bundle.c clone_create_pseudo_actions(rsc, containers, NULL, NULL, data_set); NULL 258 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 260 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc != NULL, return); NULL 283 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 316 lib/pacemaker/pcmk_sched_bundle.c pcmk__new_colocation("ip-with-docker", NULL, INFINITY, replica->ip, NULL 317 lib/pacemaker/pcmk_sched_bundle.c replica->container, NULL, NULL, true, NULL 373 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 375 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(candidate != NULL, return NULL); NULL 381 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 394 lib/pacemaker/pcmk_sched_bundle.c return NULL; NULL 402 lib/pacemaker/pcmk_sched_bundle.c GList *scratch = NULL; NULL 403 lib/pacemaker/pcmk_sched_bundle.c pe_resource_t *pair = NULL; NULL 404 lib/pacemaker/pcmk_sched_bundle.c pe_node_t *active_node_lh = NULL; NULL 406 lib/pacemaker/pcmk_sched_bundle.c active_node_lh = rsc_lh->fns->location(rsc_lh, NULL, current); NULL 413 lib/pacemaker/pcmk_sched_bundle.c scratch = sort_nodes_by_weight(scratch, NULL, data_set); NULL 415 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = scratch; gIter != NULL; gIter = gIter->next) { NULL 463 lib/pacemaker/pcmk_sched_bundle.c if (max_clones_node == NULL) { NULL 475 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *data = NULL; NULL 488 lib/pacemaker/pcmk_sched_bundle.c GList *allocated_rhs = NULL; NULL 489 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 491 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(constraint != NULL, return); NULL 492 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc_lh != NULL, pe_err("rsc_lh was NULL for %s", constraint->id); return); NULL 493 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc != NULL, pe_err("rsc was NULL for %s", constraint->id); return); NULL 512 lib/pacemaker/pcmk_sched_bundle.c assign_node(rsc_lh, NULL, TRUE); NULL 525 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 536 lib/pacemaker/pcmk_sched_bundle.c NULL, FALSE); NULL 538 lib/pacemaker/pcmk_sched_bundle.c if ((chosen == NULL) NULL 543 lib/pacemaker/pcmk_sched_bundle.c && (replica->child == NULL)) { NULL 565 lib/pacemaker/pcmk_sched_bundle.c GList *containers = NULL; NULL 567 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *data = NULL; NULL 596 lib/pacemaker/pcmk_sched_bundle.c GList *gIter = NULL; NULL 597 lib/pacemaker/pcmk_sched_bundle.c GList *children = NULL; NULL 599 lib/pacemaker/pcmk_sched_bundle.c if (local_node == NULL) { NULL 601 lib/pacemaker/pcmk_sched_bundle.c return NULL; NULL 608 lib/pacemaker/pcmk_sched_bundle.c for (gIter = children; gIter != NULL; gIter = gIter->next) { NULL 622 lib/pacemaker/pcmk_sched_bundle.c return NULL; NULL 630 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *data = NULL; NULL 633 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = data->replicas; gIter != NULL; NULL 644 lib/pacemaker/pcmk_sched_bundle.c return NULL; NULL 654 lib/pacemaker/pcmk_sched_bundle.c GList *gIter = NULL; NULL 655 lib/pacemaker/pcmk_sched_bundle.c GList *children = NULL; NULL 666 lib/pacemaker/pcmk_sched_bundle.c for (gIter = children; gIter != NULL; gIter = gIter->next) { NULL 672 lib/pacemaker/pcmk_sched_bundle.c if (first_child == NULL && current) { NULL 675 lib/pacemaker/pcmk_sched_bundle.c } else if (first_child == NULL) { NULL 686 lib/pacemaker/pcmk_sched_bundle.c if(assign_node(then_child, NULL, TRUE)) { NULL 692 lib/pacemaker/pcmk_sched_bundle.c pe_action_t *first_action = NULL; NULL 693 lib/pacemaker/pcmk_sched_bundle.c pe_action_t *then_action = NULL; NULL 698 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *first_replica = NULL; NULL 699 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *then_replica = NULL; NULL 710 lib/pacemaker/pcmk_sched_bundle.c NULL, task2text(task), node); NULL 712 lib/pacemaker/pcmk_sched_bundle.c first_action = find_first_action(first_child->actions, NULL, task2text(task), node); NULL 726 lib/pacemaker/pcmk_sched_bundle.c NULL, then->task, node); NULL 728 lib/pacemaker/pcmk_sched_bundle.c then_action = find_first_action(then_child->actions, NULL, then->task, node); NULL 731 lib/pacemaker/pcmk_sched_bundle.c if (first_action == NULL) { NULL 733 lib/pacemaker/pcmk_sched_bundle.c && !pcmk__str_any_of(first_task, RSC_STOP, RSC_DEMOTE, NULL)) { NULL 746 lib/pacemaker/pcmk_sched_bundle.c if (then_action == NULL) { NULL 748 lib/pacemaker/pcmk_sched_bundle.c && !pcmk__str_any_of(then->task, RSC_STOP, RSC_DEMOTE, NULL)) { NULL 793 lib/pacemaker/pcmk_sched_bundle.c pe_resource_t *rsc = NULL; NULL 794 lib/pacemaker/pcmk_sched_bundle.c const char *interleave_s = NULL; NULL 796 lib/pacemaker/pcmk_sched_bundle.c if(first->rsc == NULL || then->rsc == NULL) { NULL 837 lib/pacemaker/pcmk_sched_bundle.c GList *gIter = NULL; NULL 838 lib/pacemaker/pcmk_sched_bundle.c GList *children = NULL; NULL 846 lib/pacemaker/pcmk_sched_bundle.c for (gIter = children; gIter != NULL; gIter = gIter->next) { NULL 849 lib/pacemaker/pcmk_sched_bundle.c pe_action_t *then_child_action = find_first_action(then_child->actions, NULL, then->task, node); NULL 860 lib/pacemaker/pcmk_sched_bundle.c for (GList *lpc = then_child_action->actions_after; lpc != NULL; lpc = lpc->next) { NULL 878 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 883 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 908 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 910 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc != NULL, return); NULL 918 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 934 lib/pacemaker/pcmk_sched_bundle.c const char *calculated_addr = NULL; NULL 947 lib/pacemaker/pcmk_sched_bundle.c NULL, data_set); NULL 984 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 986 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc != NULL, return FALSE); NULL 989 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 1029 lib/pacemaker/pcmk_sched_bundle.c if ((other != replica) && (other != NULL) NULL 1030 lib/pacemaker/pcmk_sched_bundle.c && (other->container != NULL)) { NULL 1034 lib/pacemaker/pcmk_sched_bundle.c NULL, other->container, NULL 1036 lib/pacemaker/pcmk_sched_bundle.c NULL, NULL 1055 lib/pacemaker/pcmk_sched_bundle.c probe_uuid, NULL, node); NULL 1064 lib/pacemaker/pcmk_sched_bundle.c NULL, replica->remote, NULL, probe, NULL 1080 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 1082 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc != NULL, return); NULL 1085 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 28 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(resource1 != NULL); NULL 29 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(resource2 != NULL); NULL 35 lib/pacemaker/pcmk_sched_clone.c num1 = strtol(strrchr(resource1->id, ':') + 1, NULL, 10); NULL 36 lib/pacemaker/pcmk_sched_clone.c num2 = strtol(strrchr(resource2->id, ':') + 1, NULL, 10); NULL 48 lib/pacemaker/pcmk_sched_clone.c pe_node_t *ret = NULL; NULL 50 lib/pacemaker/pcmk_sched_clone.c if (node != NULL && rsc->parent) { NULL 52 lib/pacemaker/pcmk_sched_clone.c } else if(node != NULL) { NULL 67 lib/pacemaker/pcmk_sched_clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 99 lib/pacemaker/pcmk_sched_clone.c pe_node_t *n = NULL; NULL 100 lib/pacemaker/pcmk_sched_clone.c pe_node_t *node1 = NULL; NULL 101 lib/pacemaker/pcmk_sched_clone.c pe_node_t *node2 = NULL; NULL 104 lib/pacemaker/pcmk_sched_clone.c GList *list1 = NULL; NULL 105 lib/pacemaker/pcmk_sched_clone.c GList *list2 = NULL; NULL 106 lib/pacemaker/pcmk_sched_clone.c GHashTable *hash1 = pcmk__strkey_table(NULL, free); NULL 107 lib/pacemaker/pcmk_sched_clone.c GHashTable *hash2 = pcmk__strkey_table(NULL, free); NULL 110 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(rsc1->parent != NULL); NULL 111 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(rsc2->parent != NULL); NULL 120 lib/pacemaker/pcmk_sched_clone.c for (GList *gIter = rsc1->parent->rsc_cons; gIter != NULL; NULL 133 lib/pacemaker/pcmk_sched_clone.c for (GList *gIter = rsc1->parent->rsc_cons_lhs; gIter != NULL; NULL 150 lib/pacemaker/pcmk_sched_clone.c for (GList *gIter = rsc2->parent->rsc_cons; gIter != NULL; NULL 212 lib/pacemaker/pcmk_sched_clone.c (gIter1 != NULL) && (gIter2 != NULL); NULL 218 lib/pacemaker/pcmk_sched_clone.c if (node1 == NULL) { NULL 223 lib/pacemaker/pcmk_sched_clone.c } else if (node2 == NULL) { NULL 254 lib/pacemaker/pcmk_sched_clone.c pe_node_t *node1 = NULL; NULL 255 lib/pacemaker/pcmk_sched_clone.c pe_node_t *node2 = NULL; NULL 256 lib/pacemaker/pcmk_sched_clone.c pe_node_t *current_node1 = NULL; NULL 257 lib/pacemaker/pcmk_sched_clone.c pe_node_t *current_node2 = NULL; NULL 267 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(resource1 != NULL); NULL 268 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(resource2 != NULL); NULL 278 lib/pacemaker/pcmk_sched_clone.c current_node1 = pe__find_active_on(resource1, &nnodes1, NULL); NULL 279 lib/pacemaker/pcmk_sched_clone.c current_node2 = pe__find_active_on(resource2, &nnodes2, NULL); NULL 298 lib/pacemaker/pcmk_sched_clone.c if (node1 != NULL) { NULL 301 lib/pacemaker/pcmk_sched_clone.c if (match == NULL || match->weight < 0) { NULL 303 lib/pacemaker/pcmk_sched_clone.c node1 = NULL; NULL 308 lib/pacemaker/pcmk_sched_clone.c if (node2 != NULL) { NULL 311 lib/pacemaker/pcmk_sched_clone.c if (match == NULL || match->weight < 0) { NULL 313 lib/pacemaker/pcmk_sched_clone.c node2 = NULL; NULL 340 lib/pacemaker/pcmk_sched_clone.c if (node1 == NULL && node2 == NULL) { NULL 344 lib/pacemaker/pcmk_sched_clone.c } else if (node1 == NULL) { NULL 348 lib/pacemaker/pcmk_sched_clone.c } else if (node2 == NULL) { NULL 370 lib/pacemaker/pcmk_sched_clone.c if (node1 == NULL && node2 == NULL) { NULL 374 lib/pacemaker/pcmk_sched_clone.c } else if (node1 == NULL) { NULL 378 lib/pacemaker/pcmk_sched_clone.c } else if (node2 == NULL) { NULL 420 lib/pacemaker/pcmk_sched_clone.c pe_node_t *local_node = NULL; NULL 422 lib/pacemaker/pcmk_sched_clone.c if (node == NULL && rsc->allowed_nodes) { NULL 425 lib/pacemaker/pcmk_sched_clone.c while (g_hash_table_iter_next(&iter, NULL, (void **)&local_node)) { NULL 428 lib/pacemaker/pcmk_sched_clone.c return NULL; NULL 444 lib/pacemaker/pcmk_sched_clone.c if (local_node == NULL) { NULL 467 lib/pacemaker/pcmk_sched_clone.c return NULL; NULL 474 lib/pacemaker/pcmk_sched_clone.c pe_node_t *chosen = NULL; NULL 475 lib/pacemaker/pcmk_sched_clone.c GHashTable *backup = NULL; NULL 483 lib/pacemaker/pcmk_sched_clone.c return rsc->fns->location(rsc, NULL, FALSE); NULL 487 lib/pacemaker/pcmk_sched_clone.c return NULL; NULL 498 lib/pacemaker/pcmk_sched_clone.c if (local_prefer == NULL || local_prefer->weight < 0) { NULL 501 lib/pacemaker/pcmk_sched_clone.c return NULL; NULL 505 lib/pacemaker/pcmk_sched_clone.c can_run_instance(rsc, NULL, limit); NULL 516 lib/pacemaker/pcmk_sched_clone.c chosen = NULL; NULL 517 lib/pacemaker/pcmk_sched_clone.c backup = NULL; NULL 543 lib/pacemaker/pcmk_sched_clone.c GList *gIter = NULL; NULL 546 lib/pacemaker/pcmk_sched_clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 555 lib/pacemaker/pcmk_sched_clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 582 lib/pacemaker/pcmk_sched_clone.c for(GList *nIter = nodes; nIter != NULL; nIter = nIter->next) { NULL 604 lib/pacemaker/pcmk_sched_clone.c for (GList *gIter = children; gIter != NULL && allocated < max; gIter = gIter->next) { NULL 606 lib/pacemaker/pcmk_sched_clone.c pe_node_t *child_node = NULL; NULL 607 lib/pacemaker/pcmk_sched_clone.c pe_node_t *local_node = NULL; NULL 609 lib/pacemaker/pcmk_sched_clone.c if ((child->running_on == NULL) NULL 630 lib/pacemaker/pcmk_sched_clone.c if ((local_node != NULL) && (local_node->count >= loop_max)) { NULL 647 lib/pacemaker/pcmk_sched_clone.c for (GList *gIter = children; gIter != NULL; gIter = gIter->next) { NULL 650 lib/pacemaker/pcmk_sched_clone.c if (child->running_on != NULL) { NULL 654 lib/pacemaker/pcmk_sched_clone.c if (local_node == NULL) { NULL 663 lib/pacemaker/pcmk_sched_clone.c resource_location(child, NULL, -INFINITY, "clone:limit_reached", data_set); NULL 665 lib/pacemaker/pcmk_sched_clone.c if (allocate_instance(child, NULL, all_coloc, per_host_max, NULL 681 lib/pacemaker/pcmk_sched_clone.c GList *nodes = NULL; NULL 682 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; NULL 687 lib/pacemaker/pcmk_sched_clone.c return NULL; NULL 691 lib/pacemaker/pcmk_sched_clone.c return NULL; NULL 703 lib/pacemaker/pcmk_sched_clone.c for (GList *gIter = rsc->rsc_cons; gIter != NULL; gIter = gIter->next) { NULL 711 lib/pacemaker/pcmk_sched_clone.c for (GList *gIter = rsc->rsc_cons_lhs; gIter != NULL; gIter = gIter->next) { NULL 714 lib/pacemaker/pcmk_sched_clone.c if (!pcmk__colocation_has_influence(constraint, NULL)) { NULL 728 lib/pacemaker/pcmk_sched_clone.c nodes = sort_nodes_by_weight(nodes, NULL, data_set); NULL 739 lib/pacemaker/pcmk_sched_clone.c return NULL; NULL 746 lib/pacemaker/pcmk_sched_clone.c GList *gIter = NULL; NULL 751 lib/pacemaker/pcmk_sched_clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 760 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(active != NULL); NULL 761 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(starting != NULL); NULL 762 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(stopping != NULL); NULL 769 lib/pacemaker/pcmk_sched_clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 810 lib/pacemaker/pcmk_sched_clone.c pe_action_t *match = NULL; NULL 811 lib/pacemaker/pcmk_sched_clone.c GList *possible = NULL; NULL 812 lib/pacemaker/pcmk_sched_clone.c GList *active = NULL; NULL 814 lib/pacemaker/pcmk_sched_clone.c possible = pe__resource_actions(rsc, NULL, task, FALSE); NULL 819 lib/pacemaker/pcmk_sched_clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 833 lib/pacemaker/pcmk_sched_clone.c active = NULL; NULL 842 lib/pacemaker/pcmk_sched_clone.c possible = NULL; NULL 858 lib/pacemaker/pcmk_sched_clone.c pe_action_t *stop = NULL; NULL 859 lib/pacemaker/pcmk_sched_clone.c pe_action_t *start = NULL; NULL 860 lib/pacemaker/pcmk_sched_clone.c pe_action_t *last_stop = NULL; NULL 861 lib/pacemaker/pcmk_sched_clone.c pe_action_t *last_start = NULL; NULL 862 lib/pacemaker/pcmk_sched_clone.c GList *gIter = NULL; NULL 864 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; NULL 874 lib/pacemaker/pcmk_sched_clone.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 877 lib/pacemaker/pcmk_sched_clone.c stop = find_rsc_action(child, RSC_STOP, active_only, NULL); NULL 886 lib/pacemaker/pcmk_sched_clone.c start = find_rsc_action(child, RSC_START, active_only, NULL); NULL 900 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; NULL 919 lib/pacemaker/pcmk_sched_clone.c pe_action_t *stop = NULL; NULL 920 lib/pacemaker/pcmk_sched_clone.c pe_action_t *stopped = NULL; NULL 922 lib/pacemaker/pcmk_sched_clone.c pe_action_t *start = NULL; NULL 923 lib/pacemaker/pcmk_sched_clone.c pe_action_t *started = NULL; NULL 927 lib/pacemaker/pcmk_sched_clone.c for (GList *gIter = children; gIter != NULL; gIter = gIter->next) { NULL 951 lib/pacemaker/pcmk_sched_clone.c if (start_notify != NULL && *start_notify == NULL) { NULL 964 lib/pacemaker/pcmk_sched_clone.c if (stop_notify != NULL && *stop_notify == NULL) { NULL 976 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *last_rsc = NULL; NULL 978 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; NULL 996 lib/pacemaker/pcmk_sched_clone.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 1029 lib/pacemaker/pcmk_sched_clone.c for (GList *gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 1038 lib/pacemaker/pcmk_sched_clone.c if (rsc->allocated_to != NULL) { NULL 1049 lib/pacemaker/pcmk_sched_clone.c pe_node_t *node = NULL; NULL 1055 lib/pacemaker/pcmk_sched_clone.c node = child_rsc->fns->location(child_rsc, NULL, current); NULL 1081 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *pair = NULL; NULL 1082 lib/pacemaker/pcmk_sched_clone.c GList *gIter = NULL; NULL 1083 lib/pacemaker/pcmk_sched_clone.c GList *scratch = NULL; NULL 1084 lib/pacemaker/pcmk_sched_clone.c pe_node_t *local_node = NULL; NULL 1086 lib/pacemaker/pcmk_sched_clone.c local_node = local_child->fns->location(local_child, NULL, current); NULL 1092 lib/pacemaker/pcmk_sched_clone.c scratch = sort_nodes_by_weight(scratch, NULL, data_set); NULL 1095 lib/pacemaker/pcmk_sched_clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1127 lib/pacemaker/pcmk_sched_clone.c GList *gIter = NULL; NULL 1129 lib/pacemaker/pcmk_sched_clone.c const char *interleave_s = NULL; NULL 1131 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(constraint != NULL, return); NULL 1132 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(rsc_lh != NULL, pe_err("rsc_lh was NULL for %s", constraint->id); return); NULL 1133 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(rsc_rh != NULL, pe_err("rsc_rh was NULL for %s", constraint->id); return); NULL 1170 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *rh_child = NULL; NULL 1182 lib/pacemaker/pcmk_sched_clone.c assign_node(rsc_lh, NULL, TRUE); NULL 1191 lib/pacemaker/pcmk_sched_clone.c GList *rhs = NULL; NULL 1194 lib/pacemaker/pcmk_sched_clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1196 lib/pacemaker/pcmk_sched_clone.c pe_node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); NULL 1198 lib/pacemaker/pcmk_sched_clone.c if (chosen != NULL && is_set_recursive(child_rsc, pe_rsc_block, TRUE) == FALSE) { NULL 1210 lib/pacemaker/pcmk_sched_clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1224 lib/pacemaker/pcmk_sched_clone.c if (pcmk__strcase_any_of(action->task, "notify", "notified", NULL)) { NULL 1237 lib/pacemaker/pcmk_sched_clone.c char *task_mutable = NULL; NULL 1265 lib/pacemaker/pcmk_sched_clone.c GList *gIter = NULL; NULL 1272 lib/pacemaker/pcmk_sched_clone.c for (gIter = children; gIter != NULL; gIter = gIter->next) { NULL 1273 lib/pacemaker/pcmk_sched_clone.c pe_action_t *child_action = NULL; NULL 1276 lib/pacemaker/pcmk_sched_clone.c child_action = find_first_action(child->actions, NULL, task_s, child->children ? NULL : node); NULL 1298 lib/pacemaker/pcmk_sched_clone.c if (node == NULL) { NULL 1321 lib/pacemaker/pcmk_sched_clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1331 lib/pacemaker/pcmk_sched_clone.c GList *gIter = NULL; NULL 1332 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; NULL 1337 lib/pacemaker/pcmk_sched_clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1340 lib/pacemaker/pcmk_sched_clone.c rsc->cmds->action_flags(op, NULL); NULL 1370 lib/pacemaker/pcmk_sched_clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1380 lib/pacemaker/pcmk_sched_clone.c clone_data->demote_notify = NULL; NULL 1382 lib/pacemaker/pcmk_sched_clone.c clone_data->stop_notify = NULL; NULL 1384 lib/pacemaker/pcmk_sched_clone.c clone_data->start_notify = NULL; NULL 1386 lib/pacemaker/pcmk_sched_clone.c clone_data->promote_notify = NULL; NULL 1394 lib/pacemaker/pcmk_sched_clone.c for (GList *child_iter = rsc->children; child_iter != NULL; NULL 1406 lib/pacemaker/pcmk_sched_clone.c pe_node_t *known_node = NULL; NULL 1409 lib/pacemaker/pcmk_sched_clone.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &known_node)) { NULL 1422 lib/pacemaker/pcmk_sched_clone.c for (GList *gIter = clone->children; gIter != NULL; gIter = gIter->next) { NULL 1429 lib/pacemaker/pcmk_sched_clone.c return NULL; NULL 1439 lib/pacemaker/pcmk_sched_clone.c for (GList *child_iter = rsc->children; child_iter != NULL; NULL 1460 lib/pacemaker/pcmk_sched_clone.c if (child == NULL) { NULL 1464 lib/pacemaker/pcmk_sched_clone.c pe_node_t *local_node = NULL; NULL 1468 lib/pacemaker/pcmk_sched_clone.c local_node = child_rsc->fns->location(child_rsc, NULL, FALSE); NULL 1477 lib/pacemaker/pcmk_sched_clone.c if (child == NULL) { NULL 1493 lib/pacemaker/pcmk_sched_clone.c if (rsc->children == NULL) { NULL 1527 lib/pacemaker/pcmk_sched_clone.c char *name = NULL; NULL 1528 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; NULL 37 lib/pacemaker/pcmk_sched_constraints.c if(__rsc == NULL) { \ NULL 61 lib/pacemaker/pcmk_sched_constraints.c result = pe_evaluate_rules(lifetime, NULL, data_set->now, next_change); NULL 74 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_obj = NULL; NULL 75 lib/pacemaker/pcmk_sched_constraints.c xmlNode *lifetime = NULL; NULL 77 lib/pacemaker/pcmk_sched_constraints.c for (xml_obj = pcmk__xe_first_child(xml_constraints); xml_obj != NULL; NULL 82 lib/pacemaker/pcmk_sched_constraints.c if (id == NULL) { NULL 149 lib/pacemaker/pcmk_sched_constraints.c return NULL; NULL 158 lib/pacemaker/pcmk_sched_constraints.c if (kind == NULL) { NULL 195 lib/pacemaker/pcmk_sched_constraints.c GList *rIter = NULL; NULL 199 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *match = parent->fns->find_rsc(parent, id, NULL, NULL 202 lib/pacemaker/pcmk_sched_constraints.c if (match != NULL) { NULL 212 lib/pacemaker/pcmk_sched_constraints.c return NULL; NULL 220 lib/pacemaker/pcmk_sched_constraints.c *tag = NULL; NULL 222 lib/pacemaker/pcmk_sched_constraints.c NULL, (gpointer*) tag); NULL 226 lib/pacemaker/pcmk_sched_constraints.c NULL, (gpointer*) tag); NULL 232 lib/pacemaker/pcmk_sched_constraints.c } else if (*tag == NULL) { NULL 237 lib/pacemaker/pcmk_sched_constraints.c } else if (*tag == NULL) { NULL 252 lib/pacemaker/pcmk_sched_constraints.c *rsc = NULL; NULL 260 lib/pacemaker/pcmk_sched_constraints.c *tag = NULL; NULL 281 lib/pacemaker/pcmk_sched_constraints.c if (symmetrical_s == NULL) { NULL 311 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_then = NULL; NULL 312 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_first = NULL; NULL 318 lib/pacemaker/pcmk_sched_constraints.c const char *id_first = NULL; NULL 319 lib/pacemaker/pcmk_sched_constraints.c const char *id_then = NULL; NULL 320 lib/pacemaker/pcmk_sched_constraints.c const char *action_then = NULL; NULL 321 lib/pacemaker/pcmk_sched_constraints.c const char *action_first = NULL; NULL 322 lib/pacemaker/pcmk_sched_constraints.c const char *instance_then = NULL; NULL 323 lib/pacemaker/pcmk_sched_constraints.c const char *instance_first = NULL; NULL 325 lib/pacemaker/pcmk_sched_constraints.c const char *id = NULL; NULL 327 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); NULL 330 lib/pacemaker/pcmk_sched_constraints.c if (id == NULL) { NULL 336 lib/pacemaker/pcmk_sched_constraints.c invert_bool = order_is_symmetrical(xml_obj, kind, NULL); NULL 347 lib/pacemaker/pcmk_sched_constraints.c if (action_first == NULL) { NULL 350 lib/pacemaker/pcmk_sched_constraints.c if (action_then == NULL) { NULL 354 lib/pacemaker/pcmk_sched_constraints.c if (id_first == NULL) { NULL 359 lib/pacemaker/pcmk_sched_constraints.c if (id_then == NULL) { NULL 368 lib/pacemaker/pcmk_sched_constraints.c if (rsc_then == NULL) { NULL 373 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_first == NULL) { NULL 393 lib/pacemaker/pcmk_sched_constraints.c if (rsc_then == NULL) { NULL 403 lib/pacemaker/pcmk_sched_constraints.c if (rsc_first == NULL) { NULL 455 lib/pacemaker/pcmk_sched_constraints.c GList *rIter = NULL; NULL 471 lib/pacemaker/pcmk_sched_constraints.c NULL, NULL, NULL, unordered_action, NULL 478 lib/pacemaker/pcmk_sched_constraints.c order_id = custom_action_order(NULL, NULL, unordered_action, rsc_then, NULL 480 lib/pacemaker/pcmk_sched_constraints.c NULL, cons_weight|pe_order_runnable_left, NULL 495 lib/pacemaker/pcmk_sched_constraints.c if (action_then == NULL || action_first == NULL) { NULL 521 lib/pacemaker/pcmk_sched_constraints.c xmlNode *new_xml = NULL; NULL 522 lib/pacemaker/pcmk_sched_constraints.c xmlNode *set = NULL; NULL 524 lib/pacemaker/pcmk_sched_constraints.c const char *cons_id = NULL; NULL 526 lib/pacemaker/pcmk_sched_constraints.c *expanded_xml = NULL; NULL 528 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); NULL 533 lib/pacemaker/pcmk_sched_constraints.c for (set = pcmk__xe_first_child(new_xml); set != NULL; NULL 536 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; NULL 537 lib/pacemaker/pcmk_sched_constraints.c GList *tag_refs = NULL; NULL 538 lib/pacemaker/pcmk_sched_constraints.c GList *gIter = NULL; NULL 544 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; NULL 547 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc = NULL; NULL 548 lib/pacemaker/pcmk_sched_constraints.c pe_tag_t *tag = NULL; NULL 591 lib/pacemaker/pcmk_sched_constraints.c for (gIter = tag->refs; gIter != NULL; gIter = gIter->next) { NULL 593 lib/pacemaker/pcmk_sched_constraints.c xmlNode *new_rsc_ref = NULL; NULL 595 lib/pacemaker/pcmk_sched_constraints.c new_rsc_ref = xmlNewDocRawNode(getDocPtr(set), NULL, NULL 596 lib/pacemaker/pcmk_sched_constraints.c (pcmkXmlStr) XML_TAG_RESOURCE_REF, NULL); NULL 624 lib/pacemaker/pcmk_sched_constraints.c for (gIter = tag_refs; gIter != NULL; gIter = gIter->next) { NULL 645 lib/pacemaker/pcmk_sched_constraints.c const char *cons_id = NULL; NULL 646 lib/pacemaker/pcmk_sched_constraints.c const char *id = NULL; NULL 648 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc = NULL; NULL 649 lib/pacemaker/pcmk_sched_constraints.c pe_tag_t *tag = NULL; NULL 651 lib/pacemaker/pcmk_sched_constraints.c *rsc_set = NULL; NULL 653 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK((xml_obj != NULL) && (attr != NULL), return FALSE); NULL 656 lib/pacemaker/pcmk_sched_constraints.c if (cons_id == NULL) { NULL 663 lib/pacemaker/pcmk_sched_constraints.c if (id == NULL) { NULL 673 lib/pacemaker/pcmk_sched_constraints.c GList *gIter = NULL; NULL 681 lib/pacemaker/pcmk_sched_constraints.c for (gIter = tag->refs; gIter != NULL; gIter = gIter->next) { NULL 683 lib/pacemaker/pcmk_sched_constraints.c xmlNode *rsc_ref = NULL; NULL 695 lib/pacemaker/pcmk_sched_constraints.c xmlNode *rsc_ref = NULL; NULL 729 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_location(xml_obj, rsc_lh, NULL, NULL, data_set, NULL); NULL 736 lib/pacemaker/pcmk_sched_constraints.c GList *rIter = NULL; NULL 755 lib/pacemaker/pcmk_sched_constraints.c regmatch_t *pmatch = NULL; NULL 775 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_location(xml_obj, r, NULL, NULL, data_set, &re_match_data); NULL 779 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_location(xml_obj, r, NULL, NULL, data_set, NULL); NULL 798 lib/pacemaker/pcmk_sched_constraints.c pe__location_t *location = NULL; NULL 804 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { NULL 810 lib/pacemaker/pcmk_sched_constraints.c if (score == NULL) { NULL 814 lib/pacemaker/pcmk_sched_constraints.c if (node != NULL && score != NULL) { NULL 832 lib/pacemaker/pcmk_sched_constraints.c rule_xml != NULL; rule_xml = crm_next_same_xml(rule_xml)) { NULL 856 lib/pacemaker/pcmk_sched_constraints.c if (role == NULL) { NULL 885 lib/pacemaker/pcmk_sched_constraints.c const char *id = NULL; NULL 886 lib/pacemaker/pcmk_sched_constraints.c const char *id_lh = NULL; NULL 887 lib/pacemaker/pcmk_sched_constraints.c const char *state_lh = NULL; NULL 889 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = NULL; NULL 891 lib/pacemaker/pcmk_sched_constraints.c pe_tag_t *tag_lh = NULL; NULL 893 lib/pacemaker/pcmk_sched_constraints.c xmlNode *new_xml = NULL; NULL 894 lib/pacemaker/pcmk_sched_constraints.c xmlNode *rsc_set_lh = NULL; NULL 896 lib/pacemaker/pcmk_sched_constraints.c *expanded_xml = NULL; NULL 898 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); NULL 901 lib/pacemaker/pcmk_sched_constraints.c if (id == NULL) { NULL 917 lib/pacemaker/pcmk_sched_constraints.c if (id_lh == NULL) { NULL 962 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; NULL 963 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *resource = NULL; NULL 968 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(set != NULL, return FALSE); NULL 971 lib/pacemaker/pcmk_sched_constraints.c if (set_id == NULL) { NULL 981 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; NULL 986 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_location(location, resource, role, local_score, data_set, NULL); NULL 996 lib/pacemaker/pcmk_sched_constraints.c xmlNode *set = NULL; NULL 999 lib/pacemaker/pcmk_sched_constraints.c xmlNode *orig_xml = NULL; NULL 1000 lib/pacemaker/pcmk_sched_constraints.c xmlNode *expanded_xml = NULL; NULL 1011 lib/pacemaker/pcmk_sched_constraints.c for (set = pcmk__xe_first_child(xml_obj); set != NULL; NULL 1041 lib/pacemaker/pcmk_sched_constraints.c if (score == NULL) { NULL 1050 lib/pacemaker/pcmk_sched_constraints.c if (attr_score == NULL) { NULL 1070 lib/pacemaker/pcmk_sched_constraints.c const char *rule_id = NULL; NULL 1071 lib/pacemaker/pcmk_sched_constraints.c const char *score = NULL; NULL 1072 lib/pacemaker/pcmk_sched_constraints.c const char *boolean = NULL; NULL 1073 lib/pacemaker/pcmk_sched_constraints.c const char *role = NULL; NULL 1075 lib/pacemaker/pcmk_sched_constraints.c GList *gIter = NULL; NULL 1076 lib/pacemaker/pcmk_sched_constraints.c GList *match_L = NULL; NULL 1083 lib/pacemaker/pcmk_sched_constraints.c pe__location_t *location_rule = NULL; NULL 1092 lib/pacemaker/pcmk_sched_constraints.c if (role != NULL && text2role(role) == RSC_ROLE_UNKNOWN) { NULL 1094 lib/pacemaker/pcmk_sched_constraints.c return NULL; NULL 1098 lib/pacemaker/pcmk_sched_constraints.c if (score == NULL) { NULL 1100 lib/pacemaker/pcmk_sched_constraints.c if (score != NULL) { NULL 1108 lib/pacemaker/pcmk_sched_constraints.c location_rule = rsc2node_new(rule_id, rsc, 0, discovery, NULL, data_set); NULL 1110 lib/pacemaker/pcmk_sched_constraints.c if (location_rule == NULL) { NULL 1111 lib/pacemaker/pcmk_sched_constraints.c return NULL; NULL 1114 lib/pacemaker/pcmk_sched_constraints.c if ((re_match_data != NULL) && (re_match_data->nregs > 0) NULL 1119 lib/pacemaker/pcmk_sched_constraints.c if (result != NULL) { NULL 1125 lib/pacemaker/pcmk_sched_constraints.c if (role != NULL) { NULL 1137 lib/pacemaker/pcmk_sched_constraints.c GList *gIter = NULL; NULL 1140 lib/pacemaker/pcmk_sched_constraints.c for (gIter = match_L; gIter != NULL; gIter = gIter->next) { NULL 1147 lib/pacemaker/pcmk_sched_constraints.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 1170 lib/pacemaker/pcmk_sched_constraints.c if (local == NULL && do_and) { NULL 1173 lib/pacemaker/pcmk_sched_constraints.c } else if (local == NULL) { NULL 1187 lib/pacemaker/pcmk_sched_constraints.c if (delete != NULL) { NULL 1200 lib/pacemaker/pcmk_sched_constraints.c if (location_rule->node_list_rh == NULL) { NULL 1202 lib/pacemaker/pcmk_sched_constraints.c return NULL; NULL 1215 lib/pacemaker/pcmk_sched_constraints.c if (a == NULL) { NULL 1218 lib/pacemaker/pcmk_sched_constraints.c if (b == NULL) { NULL 1222 lib/pacemaker/pcmk_sched_constraints.c CRM_ASSERT(rsc_constraint1->rsc_lh != NULL); NULL 1223 lib/pacemaker/pcmk_sched_constraints.c CRM_ASSERT(rsc_constraint1->rsc_rh != NULL); NULL 1263 lib/pacemaker/pcmk_sched_constraints.c if (a == NULL) { NULL 1266 lib/pacemaker/pcmk_sched_constraints.c if (b == NULL) { NULL 1270 lib/pacemaker/pcmk_sched_constraints.c CRM_ASSERT(rsc_constraint1->rsc_lh != NULL); NULL 1271 lib/pacemaker/pcmk_sched_constraints.c CRM_ASSERT(rsc_constraint1->rsc_rh != NULL); NULL 1310 lib/pacemaker/pcmk_sched_constraints.c const char *first_tasks[] = { NULL, NULL }; NULL 1311 lib/pacemaker/pcmk_sched_constraints.c const char *then_tasks[] = { NULL, NULL }; NULL 1339 lib/pacemaker/pcmk_sched_constraints.c for (first_lpc = 0; first_lpc <= 1 && first_tasks[first_lpc] != NULL; first_lpc++) { NULL 1340 lib/pacemaker/pcmk_sched_constraints.c for (then_lpc = 0; then_lpc <= 1 && then_tasks[then_lpc] != NULL; then_lpc++) { NULL 1353 lib/pacemaker/pcmk_sched_constraints.c pcmk__colocation_t *new_con = NULL; NULL 1359 lib/pacemaker/pcmk_sched_constraints.c if ((rsc_lh == NULL) || (rsc_rh == NULL)) { NULL 1366 lib/pacemaker/pcmk_sched_constraints.c if (new_con == NULL) { NULL 1387 lib/pacemaker/pcmk_sched_constraints.c if (node_attr == NULL) { NULL 1412 lib/pacemaker/pcmk_sched_constraints.c char *lh_key = NULL; NULL 1413 lib/pacemaker/pcmk_sched_constraints.c char *rh_key = NULL; NULL 1415 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(lh_rsc != NULL, return -1); NULL 1416 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(lh_task != NULL, return -1); NULL 1417 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(rh_rsc != NULL, return -1); NULL 1418 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(rh_task != NULL, return -1); NULL 1432 lib/pacemaker/pcmk_sched_constraints.c return custom_action_order(lh_rsc, lh_key, NULL, rh_rsc, rh_key, NULL, type, data_set); NULL 1438 lib/pacemaker/pcmk_sched_constraints.c char *res = NULL; NULL 1443 lib/pacemaker/pcmk_sched_constraints.c parse_op_key(key, NULL, &res, NULL); NULL 1455 lib/pacemaker/pcmk_sched_constraints.c char *lh_task = NULL; NULL 1456 lib/pacemaker/pcmk_sched_constraints.c char *rh_task = NULL; NULL 1460 lib/pacemaker/pcmk_sched_constraints.c if (order->lh_rsc == NULL || order->rh_rsc == NULL) { NULL 1487 lib/pacemaker/pcmk_sched_constraints.c if (lh_task == NULL || rh_task == NULL) { NULL 1499 lib/pacemaker/pcmk_sched_constraints.c NULL, order->rh_rsc, NULL 1501 lib/pacemaker/pcmk_sched_constraints.c NULL, flags, data_set); NULL 1513 lib/pacemaker/pcmk_sched_constraints.c NULL, order->rh_rsc, NULL 1515 lib/pacemaker/pcmk_sched_constraints.c NULL, flags, data_set); NULL 1529 lib/pacemaker/pcmk_sched_constraints.c pcmk__op_key(order->lh_rsc->id, RSC_STOP, 0), NULL, NULL 1532 lib/pacemaker/pcmk_sched_constraints.c NULL, flags, data_set); NULL 1539 lib/pacemaker/pcmk_sched_constraints.c NULL, order->rh_rsc, NULL 1541 lib/pacemaker/pcmk_sched_constraints.c NULL, flags, data_set); NULL 1552 lib/pacemaker/pcmk_sched_constraints.c NULL, order->rh_rsc, NULL 1554 lib/pacemaker/pcmk_sched_constraints.c NULL, flags, data_set); NULL 1563 lib/pacemaker/pcmk_sched_constraints.c custom_action_order(order->lh_rsc, pcmk__op_key(order->lh_rsc->id, RSC_DEMOTE, 0), NULL, NULL 1564 lib/pacemaker/pcmk_sched_constraints.c order->rh_rsc, pcmk__op_key(order->rh_rsc->id, RSC_MIGRATE, 0), NULL, NULL 1572 lib/pacemaker/pcmk_sched_constraints.c NULL, order->rh_rsc, NULL 1574 lib/pacemaker/pcmk_sched_constraints.c NULL, flags, data_set); NULL 1590 lib/pacemaker/pcmk_sched_constraints.c pe__ordering_t *order = NULL; NULL 1592 lib/pacemaker/pcmk_sched_constraints.c if (lh_rsc == NULL && lh_action) { NULL 1595 lib/pacemaker/pcmk_sched_constraints.c if (rh_rsc == NULL && rh_action) { NULL 1599 lib/pacemaker/pcmk_sched_constraints.c if ((lh_action == NULL && lh_rsc == NULL) NULL 1600 lib/pacemaker/pcmk_sched_constraints.c || (rh_action == NULL && rh_rsc == NULL)) { NULL 1624 lib/pacemaker/pcmk_sched_constraints.c if (order->lh_action_task == NULL && lh_action) { NULL 1628 lib/pacemaker/pcmk_sched_constraints.c if (order->rh_action_task == NULL && rh_action) { NULL 1632 lib/pacemaker/pcmk_sched_constraints.c if (order->lh_rsc == NULL && lh_action) { NULL 1636 lib/pacemaker/pcmk_sched_constraints.c if (order->rh_rsc == NULL && rh_action) { NULL 1672 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__strcase_any_of(action_first, RSC_START, RSC_PROMOTE, NULL)) { NULL 1690 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; NULL 1691 lib/pacemaker/pcmk_sched_constraints.c GList *set_iter = NULL; NULL 1692 lib/pacemaker/pcmk_sched_constraints.c GList *resources = NULL; NULL 1694 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *last = NULL; NULL 1695 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *resource = NULL; NULL 1702 lib/pacemaker/pcmk_sched_constraints.c char *key = NULL; NULL 1714 lib/pacemaker/pcmk_sched_constraints.c if (action == NULL) { NULL 1721 lib/pacemaker/pcmk_sched_constraints.c if (sequential_s == NULL) { NULL 1734 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; NULL 1746 lib/pacemaker/pcmk_sched_constraints.c *end = NULL; NULL 1747 lib/pacemaker/pcmk_sched_constraints.c *begin = NULL; NULL 1748 lib/pacemaker/pcmk_sched_constraints.c *inv_end = NULL; NULL 1749 lib/pacemaker/pcmk_sched_constraints.c *inv_begin = NULL; NULL 1759 lib/pacemaker/pcmk_sched_constraints.c *rsc = NULL; NULL 1770 lib/pacemaker/pcmk_sched_constraints.c while (set_iter != NULL) { NULL 1787 lib/pacemaker/pcmk_sched_constraints.c GList *gIter = NULL; NULL 1789 lib/pacemaker/pcmk_sched_constraints.c for (gIter = set_iter; gIter != NULL; gIter = gIter->next) { NULL 1793 lib/pacemaker/pcmk_sched_constraints.c custom_action_order(resource, strdup(key), NULL, then_rsc, then_key, NULL, NULL 1798 lib/pacemaker/pcmk_sched_constraints.c if (last != NULL) { NULL 1810 lib/pacemaker/pcmk_sched_constraints.c last = NULL; NULL 1829 lib/pacemaker/pcmk_sched_constraints.c while (set_iter != NULL) { NULL 1844 lib/pacemaker/pcmk_sched_constraints.c if (last != NULL) { NULL 1861 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; NULL 1862 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc_2 = NULL; NULL 1864 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_1 = NULL; NULL 1865 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_2 = NULL; NULL 1878 lib/pacemaker/pcmk_sched_constraints.c if (action_1 == NULL) { NULL 1882 lib/pacemaker/pcmk_sched_constraints.c if (action_2 == NULL) { NULL 1914 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; NULL 1926 lib/pacemaker/pcmk_sched_constraints.c NULL, NULL, NULL, unordered_action, NULL 1930 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc_2 = pcmk__xe_first_child(set2); xml_rsc_2 != NULL; NULL 1941 lib/pacemaker/pcmk_sched_constraints.c custom_action_order(NULL, NULL, unordered_action, NULL 1943 lib/pacemaker/pcmk_sched_constraints.c NULL, flags|pe_order_runnable_left, data_set); NULL 1952 lib/pacemaker/pcmk_sched_constraints.c const char *rid = NULL; NULL 1954 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; NULL 1965 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; NULL 1979 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; NULL 1990 lib/pacemaker/pcmk_sched_constraints.c const char *rid = NULL; NULL 1992 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; NULL 2003 lib/pacemaker/pcmk_sched_constraints.c if (rsc_1 != NULL && rsc_2 != NULL) { NULL 2006 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_1 != NULL) { NULL 2007 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; NULL 2016 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_2 != NULL) { NULL 2017 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; NULL 2019 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; NULL 2029 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; NULL 2033 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc_2 = NULL; NULL 2038 lib/pacemaker/pcmk_sched_constraints.c xml_rsc_2 != NULL; NULL 2056 lib/pacemaker/pcmk_sched_constraints.c const char *id = NULL; NULL 2057 lib/pacemaker/pcmk_sched_constraints.c const char *id_first = NULL; NULL 2058 lib/pacemaker/pcmk_sched_constraints.c const char *id_then = NULL; NULL 2059 lib/pacemaker/pcmk_sched_constraints.c const char *action_first = NULL; NULL 2060 lib/pacemaker/pcmk_sched_constraints.c const char *action_then = NULL; NULL 2062 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_first = NULL; NULL 2063 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_then = NULL; NULL 2064 lib/pacemaker/pcmk_sched_constraints.c pe_tag_t *tag_first = NULL; NULL 2065 lib/pacemaker/pcmk_sched_constraints.c pe_tag_t *tag_then = NULL; NULL 2067 lib/pacemaker/pcmk_sched_constraints.c xmlNode *new_xml = NULL; NULL 2068 lib/pacemaker/pcmk_sched_constraints.c xmlNode *rsc_set_first = NULL; NULL 2069 lib/pacemaker/pcmk_sched_constraints.c xmlNode *rsc_set_then = NULL; NULL 2072 lib/pacemaker/pcmk_sched_constraints.c *expanded_xml = NULL; NULL 2074 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); NULL 2077 lib/pacemaker/pcmk_sched_constraints.c if (id == NULL) { NULL 2094 lib/pacemaker/pcmk_sched_constraints.c if (id_first == NULL || id_then == NULL) { NULL 2167 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc = NULL; NULL 2173 lib/pacemaker/pcmk_sched_constraints.c pe_action_t *set_end = NULL; NULL 2174 lib/pacemaker/pcmk_sched_constraints.c pe_action_t *set_begin = NULL; NULL 2176 lib/pacemaker/pcmk_sched_constraints.c pe_action_t *set_inv_end = NULL; NULL 2177 lib/pacemaker/pcmk_sched_constraints.c pe_action_t *set_inv_begin = NULL; NULL 2179 lib/pacemaker/pcmk_sched_constraints.c xmlNode *set = NULL; NULL 2180 lib/pacemaker/pcmk_sched_constraints.c xmlNode *last = NULL; NULL 2182 lib/pacemaker/pcmk_sched_constraints.c xmlNode *orig_xml = NULL; NULL 2183 lib/pacemaker/pcmk_sched_constraints.c xmlNode *expanded_xml = NULL; NULL 2196 lib/pacemaker/pcmk_sched_constraints.c gboolean invert_bool = order_is_symmetrical(xml_obj, kind, NULL); NULL 2208 lib/pacemaker/pcmk_sched_constraints.c for (set = pcmk__xe_first_child(xml_obj); set != NULL; NULL 2304 lib/pacemaker/pcmk_sched_constraints.c if (influence_s != NULL) { NULL 2322 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; NULL 2323 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *with = NULL; NULL 2324 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *resource = NULL; NULL 2342 lib/pacemaker/pcmk_sched_constraints.c if(ordering == NULL) { NULL 2346 lib/pacemaker/pcmk_sched_constraints.c if (sequential != NULL && crm_is_true(sequential) == FALSE) { NULL 2351 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; NULL 2356 lib/pacemaker/pcmk_sched_constraints.c if (with != NULL) { NULL 2358 lib/pacemaker/pcmk_sched_constraints.c pcmk__new_colocation(set_id, NULL, local_score, resource, NULL 2369 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *last = NULL; NULL 2370 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; NULL 2375 lib/pacemaker/pcmk_sched_constraints.c if (last != NULL) { NULL 2377 lib/pacemaker/pcmk_sched_constraints.c pcmk__new_colocation(set_id, NULL, local_score, last, NULL 2394 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; NULL 2398 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc_with = NULL; NULL 2405 lib/pacemaker/pcmk_sched_constraints.c xml_rsc_with != NULL; NULL 2415 lib/pacemaker/pcmk_sched_constraints.c pcmk__new_colocation(set_id, NULL, local_score, NULL 2431 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; NULL 2432 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_1 = NULL; NULL 2433 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_2 = NULL; NULL 2446 lib/pacemaker/pcmk_sched_constraints.c if (sequential_1 == NULL || crm_is_true(sequential_1)) { NULL 2448 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; NULL 2458 lib/pacemaker/pcmk_sched_constraints.c if (sequential_2 == NULL || crm_is_true(sequential_2)) { NULL 2460 lib/pacemaker/pcmk_sched_constraints.c const char *rid = NULL; NULL 2462 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; NULL 2472 lib/pacemaker/pcmk_sched_constraints.c if (rsc_1 != NULL && rsc_2 != NULL) { NULL 2473 lib/pacemaker/pcmk_sched_constraints.c pcmk__new_colocation(id, NULL, score, rsc_1, rsc_2, role_1, role_2, NULL 2477 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_1 != NULL) { NULL 2480 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; NULL 2485 lib/pacemaker/pcmk_sched_constraints.c pcmk__new_colocation(id, NULL, score, rsc_1, rsc_2, role_1, NULL 2490 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_2 != NULL) { NULL 2491 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; NULL 2496 lib/pacemaker/pcmk_sched_constraints.c pcmk__new_colocation(id, NULL, score, rsc_1, rsc_2, role_1, NULL 2504 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; NULL 2508 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc_2 = NULL; NULL 2515 lib/pacemaker/pcmk_sched_constraints.c xml_rsc_2 != NULL; NULL 2520 lib/pacemaker/pcmk_sched_constraints.c pcmk__new_colocation(id, NULL, score, rsc_1, rsc_2, NULL 2553 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { NULL 2558 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_rh == NULL) { NULL 2578 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { NULL 2588 lib/pacemaker/pcmk_sched_constraints.c if (rsc_rh == NULL) { NULL 2613 lib/pacemaker/pcmk_sched_constraints.c const char *id = NULL; NULL 2614 lib/pacemaker/pcmk_sched_constraints.c const char *id_lh = NULL; NULL 2615 lib/pacemaker/pcmk_sched_constraints.c const char *id_rh = NULL; NULL 2616 lib/pacemaker/pcmk_sched_constraints.c const char *state_lh = NULL; NULL 2617 lib/pacemaker/pcmk_sched_constraints.c const char *state_rh = NULL; NULL 2619 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = NULL; NULL 2620 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_rh = NULL; NULL 2622 lib/pacemaker/pcmk_sched_constraints.c pe_tag_t *tag_lh = NULL; NULL 2623 lib/pacemaker/pcmk_sched_constraints.c pe_tag_t *tag_rh = NULL; NULL 2625 lib/pacemaker/pcmk_sched_constraints.c xmlNode *new_xml = NULL; NULL 2626 lib/pacemaker/pcmk_sched_constraints.c xmlNode *rsc_set_lh = NULL; NULL 2627 lib/pacemaker/pcmk_sched_constraints.c xmlNode *rsc_set_rh = NULL; NULL 2630 lib/pacemaker/pcmk_sched_constraints.c *expanded_xml = NULL; NULL 2632 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); NULL 2635 lib/pacemaker/pcmk_sched_constraints.c if (id == NULL) { NULL 2652 lib/pacemaker/pcmk_sched_constraints.c if (id_lh == NULL || id_rh == NULL) { NULL 2731 lib/pacemaker/pcmk_sched_constraints.c xmlNode *set = NULL; NULL 2732 lib/pacemaker/pcmk_sched_constraints.c xmlNode *last = NULL; NULL 2735 lib/pacemaker/pcmk_sched_constraints.c xmlNode *orig_xml = NULL; NULL 2736 lib/pacemaker/pcmk_sched_constraints.c xmlNode *expanded_xml = NULL; NULL 2755 lib/pacemaker/pcmk_sched_constraints.c for (set = pcmk__xe_first_child(xml_obj); set != NULL; NULL 2765 lib/pacemaker/pcmk_sched_constraints.c if ((last != NULL) && !colocate_rsc_sets(id, last, set, score_i, NULL 2787 lib/pacemaker/pcmk_sched_constraints.c rsc_ticket_t *new_rsc_ticket = NULL; NULL 2789 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { NULL 2796 lib/pacemaker/pcmk_sched_constraints.c if (new_rsc_ticket == NULL) { NULL 2876 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; NULL 2877 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *resource = NULL; NULL 2878 lib/pacemaker/pcmk_sched_constraints.c const char *set_id = NULL; NULL 2879 lib/pacemaker/pcmk_sched_constraints.c const char *role = NULL; NULL 2881 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(set != NULL, return FALSE); NULL 2882 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(ticket != NULL, return FALSE); NULL 2885 lib/pacemaker/pcmk_sched_constraints.c if (set_id == NULL) { NULL 2894 lib/pacemaker/pcmk_sched_constraints.c xml_rsc != NULL; xml_rsc = crm_next_same_xml(xml_rsc)) { NULL 2908 lib/pacemaker/pcmk_sched_constraints.c const char *id = NULL; NULL 2912 lib/pacemaker/pcmk_sched_constraints.c pe_ticket_t *ticket = NULL; NULL 2920 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = NULL; NULL 2922 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); NULL 2925 lib/pacemaker/pcmk_sched_constraints.c if (id == NULL) { NULL 2931 lib/pacemaker/pcmk_sched_constraints.c if (ticket_str == NULL) { NULL 2939 lib/pacemaker/pcmk_sched_constraints.c if (ticket == NULL) { NULL 2945 lib/pacemaker/pcmk_sched_constraints.c if (id_lh == NULL) { NULL 2952 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { NULL 2966 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { NULL 2981 lib/pacemaker/pcmk_sched_constraints.c const char *id = NULL; NULL 2982 lib/pacemaker/pcmk_sched_constraints.c const char *id_lh = NULL; NULL 2983 lib/pacemaker/pcmk_sched_constraints.c const char *state_lh = NULL; NULL 2985 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = NULL; NULL 2986 lib/pacemaker/pcmk_sched_constraints.c pe_tag_t *tag_lh = NULL; NULL 2988 lib/pacemaker/pcmk_sched_constraints.c xmlNode *new_xml = NULL; NULL 2989 lib/pacemaker/pcmk_sched_constraints.c xmlNode *rsc_set_lh = NULL; NULL 2992 lib/pacemaker/pcmk_sched_constraints.c *expanded_xml = NULL; NULL 2994 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); NULL 2997 lib/pacemaker/pcmk_sched_constraints.c if (id == NULL) { NULL 3013 lib/pacemaker/pcmk_sched_constraints.c if (id_lh == NULL) { NULL 3060 lib/pacemaker/pcmk_sched_constraints.c xmlNode *set = NULL; NULL 3063 lib/pacemaker/pcmk_sched_constraints.c const char *id = NULL; NULL 3067 lib/pacemaker/pcmk_sched_constraints.c pe_ticket_t *ticket = NULL; NULL 3069 lib/pacemaker/pcmk_sched_constraints.c xmlNode *orig_xml = NULL; NULL 3070 lib/pacemaker/pcmk_sched_constraints.c xmlNode *expanded_xml = NULL; NULL 3074 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); NULL 3077 lib/pacemaker/pcmk_sched_constraints.c if (id == NULL) { NULL 3083 lib/pacemaker/pcmk_sched_constraints.c if (data_set->tickets == NULL) { NULL 3087 lib/pacemaker/pcmk_sched_constraints.c if (ticket_str == NULL) { NULL 3094 lib/pacemaker/pcmk_sched_constraints.c if (ticket == NULL) { NULL 3096 lib/pacemaker/pcmk_sched_constraints.c if (ticket == NULL) { NULL 3110 lib/pacemaker/pcmk_sched_constraints.c for (set = pcmk__xe_first_child(xml_obj); set != NULL; NULL 31 lib/pacemaker/pcmk_sched_graph.c flags = action->rsc->cmds->action_flags(action, NULL); NULL 65 lib/pacemaker/pcmk_sched_graph.c char *uuid = NULL; NULL 66 lib/pacemaker/pcmk_sched_graph.c char *rid = NULL; NULL 67 lib/pacemaker/pcmk_sched_graph.c char *raw_task = NULL; NULL 72 lib/pacemaker/pcmk_sched_graph.c if (old_uuid == NULL) { NULL 73 lib/pacemaker/pcmk_sched_graph.c return NULL; NULL 75 lib/pacemaker/pcmk_sched_graph.c } else if (strstr(old_uuid, "notify") != NULL) { NULL 124 lib/pacemaker/pcmk_sched_graph.c if (uuid == NULL) { NULL 144 lib/pacemaker/pcmk_sched_graph.c if (rsc == NULL) { NULL 148 lib/pacemaker/pcmk_sched_graph.c if ((rsc->parent == NULL) NULL 158 lib/pacemaker/pcmk_sched_graph.c char *uuid = NULL; NULL 164 lib/pacemaker/pcmk_sched_graph.c result = find_first_action(rsc->actions, uuid, NULL, NULL); NULL 165 lib/pacemaker/pcmk_sched_graph.c if (result == NULL) { NULL 315 lib/pacemaker/pcmk_sched_graph.c && (first->rsc->running_on != NULL)) { NULL 462 lib/pacemaker/pcmk_sched_graph.c for (; gIter != NULL; gIter = gIter->next) { NULL 469 lib/pacemaker/pcmk_sched_graph.c pe_action_set_flag_reason(__func__, __LINE__, action, NULL, NULL 481 lib/pacemaker/pcmk_sched_graph.c GList *gIter = NULL; NULL 482 lib/pacemaker/pcmk_sched_graph.c pe_resource_t *rsc = NULL; NULL 498 lib/pacemaker/pcmk_sched_graph.c if (rsc == NULL || rsc->rsc_cons_lhs == NULL) { NULL 504 lib/pacemaker/pcmk_sched_graph.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 506 lib/pacemaker/pcmk_sched_graph.c pe_action_t *start = find_first_action(child->actions, NULL, RSC_START, NULL); NULL 507 lib/pacemaker/pcmk_sched_graph.c if ((start == NULL) || pcmk_is_set(start->flags, pe_action_runnable)) { NULL 512 lib/pacemaker/pcmk_sched_graph.c for (gIter = rsc->rsc_cons_lhs; gIter != NULL; gIter = gIter->next) { NULL 524 lib/pacemaker/pcmk_sched_graph.c GList *lpc = NULL; NULL 558 lib/pacemaker/pcmk_sched_graph.c for (lpc = then->actions_before; lpc != NULL; lpc = lpc->next) { NULL 569 lib/pacemaker/pcmk_sched_graph.c first_node = first->rsc->fns->location(first->rsc, NULL, FALSE); NULL 576 lib/pacemaker/pcmk_sched_graph.c then_node = then->rsc->fns->location(then->rsc, NULL, FALSE); NULL 583 lib/pacemaker/pcmk_sched_graph.c && (first_node != NULL) && (then_node != NULL) NULL 669 lib/pacemaker/pcmk_sched_graph.c GList *lpc2 = NULL; NULL 677 lib/pacemaker/pcmk_sched_graph.c for (lpc2 = first->actions_after; lpc2 != NULL; lpc2 = lpc2->next) { NULL 707 lib/pacemaker/pcmk_sched_graph.c for (lpc = then->actions_after; lpc != NULL; lpc = lpc->next) { NULL 723 lib/pacemaker/pcmk_sched_graph.c GList *lpc = NULL; NULL 725 lib/pacemaker/pcmk_sched_graph.c for (lpc = data_set->actions; lpc != NULL; lpc = lpc->next) { NULL 728 lib/pacemaker/pcmk_sched_graph.c if (action->rsc == NULL || action->node == NULL) { NULL 753 lib/pacemaker/pcmk_sched_graph.c custom_action_order(action->rsc, NULL, action, NULL 754 lib/pacemaker/pcmk_sched_graph.c NULL, strdup(CRM_OP_SHUTDOWN), shutdown_op, NULL 776 lib/pacemaker/pcmk_sched_graph.c for (GList *r = data_set->resources; r != NULL; r = r->next) { NULL 784 lib/pacemaker/pcmk_sched_graph.c pe_node_t *began_on = NULL; NULL 785 lib/pacemaker/pcmk_sched_graph.c pe_node_t *ended_on = NULL; NULL 791 lib/pacemaker/pcmk_sched_graph.c return NULL; NULL 794 lib/pacemaker/pcmk_sched_graph.c CRM_ASSERT(action->node->details->remote_rsc != NULL); NULL 799 lib/pacemaker/pcmk_sched_graph.c && (action->node->details->remote_rsc->container == NULL) NULL 804 lib/pacemaker/pcmk_sched_graph.c if (began_on == NULL) { NULL 813 lib/pacemaker/pcmk_sched_graph.c if (ended_on == NULL) { NULL 855 lib/pacemaker/pcmk_sched_graph.c "migrate_to", NULL) && !partial_migration) { NULL 917 lib/pacemaker/pcmk_sched_graph.c GList *gIter = NULL; NULL 919 lib/pacemaker/pcmk_sched_graph.c xml?create_xml_node(xml, XML_GRAPH_TAG_MAINTENANCE):NULL; NULL 922 lib/pacemaker/pcmk_sched_graph.c for (gIter = data_set->nodes; gIter != NULL; NULL 954 lib/pacemaker/pcmk_sched_graph.c pe_action_t *action = NULL; NULL 956 lib/pacemaker/pcmk_sched_graph.c if (add_maintenance_nodes(NULL, data_set)) { NULL 992 lib/pacemaker/pcmk_sched_graph.c if (pcmk__strcase_any_of(fence, "off", "reboot", NULL)) { NULL 1008 lib/pacemaker/pcmk_sched_graph.c for (iter = action->actions_before; iter != NULL; iter = iter->next) { NULL 1027 lib/pacemaker/pcmk_sched_graph.c if ((action->rsc->lock_node == NULL) || (action->node == NULL) NULL 1048 lib/pacemaker/pcmk_sched_graph.c xmlNode *action_xml = NULL; NULL 1049 lib/pacemaker/pcmk_sched_graph.c xmlNode *args_xml = NULL; NULL 1051 lib/pacemaker/pcmk_sched_graph.c pe_rsc_action_details_t *rsc_details = NULL; NULL 1054 lib/pacemaker/pcmk_sched_graph.c if (action == NULL) { NULL 1055 lib/pacemaker/pcmk_sched_graph.c return NULL; NULL 1060 lib/pacemaker/pcmk_sched_graph.c action_xml = create_xml_node(NULL, NULL 1066 lib/pacemaker/pcmk_sched_graph.c action_xml = create_xml_node(NULL, XML_GRAPH_TAG_CRM_EVENT); NULL 1069 lib/pacemaker/pcmk_sched_graph.c action_xml = create_xml_node(NULL, XML_GRAPH_TAG_CRM_EVENT); NULL 1072 lib/pacemaker/pcmk_sched_graph.c action_xml = create_xml_node(NULL, XML_GRAPH_TAG_CRM_EVENT); NULL 1076 lib/pacemaker/pcmk_sched_graph.c action_xml = create_xml_node(NULL, XML_GRAPH_TAG_CRM_EVENT); NULL 1086 lib/pacemaker/pcmk_sched_graph.c action_xml = create_xml_node(NULL, XML_GRAPH_TAG_PSEUDO_EVENT); NULL 1090 lib/pacemaker/pcmk_sched_graph.c action_xml = create_xml_node(NULL, XML_GRAPH_TAG_RSC_OP); NULL 1099 lib/pacemaker/pcmk_sched_graph.c if (action->rsc != NULL && action->rsc->clone_name != NULL) { NULL 1100 lib/pacemaker/pcmk_sched_graph.c char *clone_key = NULL; NULL 1113 lib/pacemaker/pcmk_sched_graph.c CRM_CHECK(n_type != NULL, crm_err("No notify type value found for %s", action->uuid)); NULL 1114 lib/pacemaker/pcmk_sched_graph.c CRM_CHECK(n_task != NULL, NULL 1127 lib/pacemaker/pcmk_sched_graph.c CRM_CHECK(clone_key != NULL, crm_err("Could not generate a key for %s", action->uuid)); NULL 1136 lib/pacemaker/pcmk_sched_graph.c if (needs_node_info && action->node != NULL) { NULL 1156 lib/pacemaker/pcmk_sched_graph.c xmlNode *rsc_xml = NULL; NULL 1220 lib/pacemaker/pcmk_sched_graph.c CRM_ASSERT(action->rsc->clone_name == NULL); NULL 1231 lib/pacemaker/pcmk_sched_graph.c args_xml = create_xml_node(NULL, XML_TAG_ATTRS); NULL 1235 lib/pacemaker/pcmk_sched_graph.c if (action->rsc != NULL && action->node) { NULL 1248 lib/pacemaker/pcmk_sched_graph.c GHashTable *base = pe_rsc_params(action->rsc, NULL, data_set); NULL 1252 lib/pacemaker/pcmk_sched_graph.c if (remote_addr != NULL) { NULL 1262 lib/pacemaker/pcmk_sched_graph.c xmlNode *versioned_parameters = create_xml_node(NULL, XML_TAG_RSC_VER_ATTRS); NULL 1274 lib/pacemaker/pcmk_sched_graph.c GHashTable *params = pe_rsc_params(action->rsc, NULL, data_set); NULL 1298 lib/pacemaker/pcmk_sched_graph.c if (action->rsc != NULL) { NULL 1302 lib/pacemaker/pcmk_sched_graph.c while (parent != NULL) { NULL 1313 lib/pacemaker/pcmk_sched_graph.c pe_node_t *host = NULL; NULL 1363 lib/pacemaker/pcmk_sched_graph.c if (needs_node_info && (action->node != NULL)) { NULL 1378 lib/pacemaker/pcmk_sched_graph.c CRM_CHECK(action != NULL, return false); NULL 1386 lib/pacemaker/pcmk_sched_graph.c GList *lpc = NULL; NULL 1403 lib/pacemaker/pcmk_sched_graph.c for (lpc = action->actions_after; lpc != NULL; lpc = lpc->next) { NULL 1448 lib/pacemaker/pcmk_sched_graph.c pcmk__strcase_any_of(action->task, CRM_OP_FENCE, CRM_OP_SHUTDOWN, NULL)) { NULL 1453 lib/pacemaker/pcmk_sched_graph.c if (action->node == NULL) { NULL 1499 lib/pacemaker/pcmk_sched_graph.c if (a == NULL) { NULL 1502 lib/pacemaker/pcmk_sched_graph.c if (b == NULL) { NULL 1608 lib/pacemaker/pcmk_sched_graph.c if ((input_node == NULL) || (allocated == NULL) NULL 1620 lib/pacemaker/pcmk_sched_graph.c } else if ((input_node == NULL) || (action->node == NULL) NULL 1738 lib/pacemaker/pcmk_sched_graph.c iter != NULL; iter = iter->next) { NULL 1798 lib/pacemaker/pcmk_sched_graph.c GList *item = NULL; NULL 1799 lib/pacemaker/pcmk_sched_graph.c GList *next = NULL; NULL 1800 lib/pacemaker/pcmk_sched_graph.c pe_action_wrapper_t *last_input = NULL; NULL 1804 lib/pacemaker/pcmk_sched_graph.c for (item = action->actions_before; item != NULL; item = next) { NULL 1850 lib/pacemaker/pcmk_sched_graph.c GList *lpc = NULL; NULL 1852 lib/pacemaker/pcmk_sched_graph.c xmlNode *syn = NULL; NULL 1853 lib/pacemaker/pcmk_sched_graph.c xmlNode *set = NULL; NULL 1854 lib/pacemaker/pcmk_sched_graph.c xmlNode *in = NULL; NULL 1855 lib/pacemaker/pcmk_sched_graph.c xmlNode *xml_action = NULL; NULL 1856 lib/pacemaker/pcmk_sched_graph.c pe_action_wrapper_t *input = NULL; NULL 1879 lib/pacemaker/pcmk_sched_graph.c if (action->rsc != NULL) { NULL 1892 lib/pacemaker/pcmk_sched_graph.c for (lpc = action->actions_before; lpc != NULL; lpc = lpc->next) { NULL 25 lib/pacemaker/pcmk_sched_group.c pe_node_t *node = NULL; NULL 26 lib/pacemaker/pcmk_sched_group.c pe_node_t *group_node = NULL; NULL 27 lib/pacemaker/pcmk_sched_group.c GList *gIter = NULL; NULL 28 lib/pacemaker/pcmk_sched_group.c group_variant_data_t *group_data = NULL; NULL 37 lib/pacemaker/pcmk_sched_group.c return NULL; NULL 40 lib/pacemaker/pcmk_sched_group.c if (group_data->first_child == NULL) { NULL 43 lib/pacemaker/pcmk_sched_group.c return NULL; NULL 51 lib/pacemaker/pcmk_sched_group.c rsc->rsc_cons = NULL; NULL 55 lib/pacemaker/pcmk_sched_group.c rsc->rsc_cons_lhs = NULL; NULL 61 lib/pacemaker/pcmk_sched_group.c for (; gIter != NULL; gIter = gIter->next) { NULL 67 lib/pacemaker/pcmk_sched_group.c if (group_node == NULL) { NULL 79 lib/pacemaker/pcmk_sched_group.c return NULL; NULL 87 lib/pacemaker/pcmk_sched_group.c pe_action_t *op = NULL; NULL 88 lib/pacemaker/pcmk_sched_group.c const char *value = NULL; NULL 93 lib/pacemaker/pcmk_sched_group.c for (; gIter != NULL; gIter = gIter->next) { NULL 100 lib/pacemaker/pcmk_sched_group.c op = start_action(rsc, NULL, TRUE /* !group_data->child_starting */ ); NULL 104 lib/pacemaker/pcmk_sched_group.c RSC_STARTED, NULL, TRUE /* !group_data->child_starting */ , TRUE, data_set); NULL 107 lib/pacemaker/pcmk_sched_group.c op = stop_action(rsc, NULL, TRUE /* !group_data->child_stopping */ ); NULL 111 lib/pacemaker/pcmk_sched_group.c RSC_STOPPED, NULL, TRUE /* !group_data->child_stopping */ , TRUE, data_set); NULL 116 lib/pacemaker/pcmk_sched_group.c op = custom_action(rsc, demote_key(rsc), RSC_DEMOTE, NULL, TRUE, TRUE, data_set); NULL 119 lib/pacemaker/pcmk_sched_group.c op = custom_action(rsc, demoted_key(rsc), RSC_DEMOTED, NULL, TRUE, TRUE, data_set); NULL 122 lib/pacemaker/pcmk_sched_group.c op = custom_action(rsc, promote_key(rsc), RSC_PROMOTE, NULL, TRUE, TRUE, data_set); NULL 125 lib/pacemaker/pcmk_sched_group.c op = custom_action(rsc, promoted_key(rsc), RSC_PROMOTED, NULL, TRUE, TRUE, data_set); NULL 134 lib/pacemaker/pcmk_sched_group.c group_variant_data_t *group_data = NULL; NULL 147 lib/pacemaker/pcmk_sched_group.c for (; gIter != NULL; gIter = gIter->next) { NULL 171 lib/pacemaker/pcmk_sched_group.c pe_resource_t *last_rsc = NULL; NULL 172 lib/pacemaker/pcmk_sched_group.c pe_resource_t *last_active = NULL; NULL 174 lib/pacemaker/pcmk_sched_group.c group_variant_data_t *group_data = NULL; NULL 182 lib/pacemaker/pcmk_sched_group.c for (; gIter != NULL; gIter = gIter->next) { NULL 192 lib/pacemaker/pcmk_sched_group.c if (last_rsc == NULL) { NULL 199 lib/pacemaker/pcmk_sched_group.c pcmk__new_colocation("group:internal_colocation", NULL, INFINITY, NULL 200 lib/pacemaker/pcmk_sched_group.c child_rsc, last_rsc, NULL, NULL, NULL 232 lib/pacemaker/pcmk_sched_group.c } else if (last_rsc != NULL) { NULL 266 lib/pacemaker/pcmk_sched_group.c && last_rsc->running_on == NULL && last_active && last_active->running_on) { NULL 275 lib/pacemaker/pcmk_sched_group.c if (group_data->ordered && last_rsc != NULL) { NULL 294 lib/pacemaker/pcmk_sched_group.c GList *gIter = NULL; NULL 295 lib/pacemaker/pcmk_sched_group.c group_variant_data_t *group_data = NULL; NULL 297 lib/pacemaker/pcmk_sched_group.c if (rsc_lh == NULL) { NULL 301 lib/pacemaker/pcmk_sched_group.c } else if (rsc_rh == NULL) { NULL 324 lib/pacemaker/pcmk_sched_group.c for (; gIter != NULL; gIter = gIter->next) { NULL 338 lib/pacemaker/pcmk_sched_group.c group_variant_data_t *group_data = NULL; NULL 372 lib/pacemaker/pcmk_sched_group.c for (; gIter != NULL; gIter = gIter->next) { NULL 383 lib/pacemaker/pcmk_sched_group.c GList *gIter = NULL; NULL 386 lib/pacemaker/pcmk_sched_group.c for (gIter = action->rsc->children; gIter != NULL; gIter = gIter->next) { NULL 390 lib/pacemaker/pcmk_sched_group.c pe_action_t *child_action = find_first_action(child->actions, NULL, task_s, node); NULL 433 lib/pacemaker/pcmk_sched_group.c CRM_ASSERT(then->rsc != NULL); NULL 437 lib/pacemaker/pcmk_sched_group.c for (; gIter != NULL; gIter = gIter->next) { NULL 439 lib/pacemaker/pcmk_sched_group.c pe_action_t *child_action = find_first_action(child->actions, NULL, then->task, node); NULL 458 lib/pacemaker/pcmk_sched_group.c group_variant_data_t *group_data = NULL; NULL 466 lib/pacemaker/pcmk_sched_group.c for (; gIter != NULL; gIter = gIter->next) { NULL 483 lib/pacemaker/pcmk_sched_group.c CRM_CHECK(rsc != NULL, return); NULL 488 lib/pacemaker/pcmk_sched_group.c for (GList *gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 501 lib/pacemaker/pcmk_sched_group.c group_variant_data_t *group_data = NULL; NULL 516 lib/pacemaker/pcmk_sched_group.c for (; gIter != NULL; gIter = gIter->next) { NULL 31 lib/pacemaker/pcmk_sched_messages.c GList *all = NULL; NULL 40 lib/pacemaker/pcmk_sched_messages.c for (GList *item = data_set->resources; item != NULL; item = item->next) { NULL 65 lib/pacemaker/pcmk_sched_messages.c GList *gIter = NULL; NULL 78 lib/pacemaker/pcmk_sched_messages.c if (data_set->now == NULL) { NULL 79 lib/pacemaker/pcmk_sched_messages.c data_set->now = crm_time_new(NULL); NULL 93 lib/pacemaker/pcmk_sched_messages.c return NULL; NULL 118 lib/pacemaker/pcmk_sched_messages.c for (; gIter != NULL; gIter = gIter->next) { NULL 89 lib/pacemaker/pcmk_sched_native.c GList *nodes = NULL; NULL 90 lib/pacemaker/pcmk_sched_native.c pe_node_t *chosen = NULL; NULL 91 lib/pacemaker/pcmk_sched_native.c pe_node_t *best = NULL; NULL 117 lib/pacemaker/pcmk_sched_native.c if (chosen == NULL) { NULL 130 lib/pacemaker/pcmk_sched_native.c chosen = NULL; NULL 135 lib/pacemaker/pcmk_sched_native.c chosen = NULL; NULL 144 lib/pacemaker/pcmk_sched_native.c if ((chosen == NULL) && nodes) { NULL 215 lib/pacemaker/pcmk_sched_native.c pe_node_t *node = NULL; NULL 217 lib/pacemaker/pcmk_sched_native.c const char *best_node = NULL; NULL 221 lib/pacemaker/pcmk_sched_native.c while (g_hash_table_iter_next(&iter, NULL, (void **) &node)) { NULL 232 lib/pacemaker/pcmk_sched_native.c if (best_node == NULL) { NULL 264 lib/pacemaker/pcmk_sched_native.c pe_node_t *node = NULL; NULL 266 lib/pacemaker/pcmk_sched_native.c if (attr == NULL) { NULL 272 lib/pacemaker/pcmk_sched_native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 342 lib/pacemaker/pcmk_sched_native.c return rsc && (rsc->variant == pe_group) && (rsc->children != NULL); NULL 365 lib/pacemaker/pcmk_sched_native.c GHashTable *work = NULL; NULL 382 lib/pacemaker/pcmk_sched_native.c work = pcmk__native_merge_weights(last_rsc, rhs, NULL, attr, factor, NULL 415 lib/pacemaker/pcmk_sched_native.c GList *gIter = NULL; NULL 439 lib/pacemaker/pcmk_sched_native.c for (; gIter != NULL; gIter = gIter->next) { NULL 440 lib/pacemaker/pcmk_sched_native.c pe_resource_t *other = NULL; NULL 445 lib/pacemaker/pcmk_sched_native.c } else if (!pcmk__colocation_has_influence(constraint, NULL)) { NULL 458 lib/pacemaker/pcmk_sched_native.c pe__show_node_weights(true, NULL, rhs, work, rsc->cluster); NULL 471 lib/pacemaker/pcmk_sched_native.c pe_node_t *node = NULL; NULL 475 lib/pacemaker/pcmk_sched_native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 509 lib/pacemaker/pcmk_sched_native.c GList *gIter = NULL; NULL 524 lib/pacemaker/pcmk_sched_native.c return NULL; NULL 530 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->rsc_cons; gIter != NULL; gIter = gIter->next) { NULL 533 lib/pacemaker/pcmk_sched_native.c GHashTable *archive = NULL; NULL 545 lib/pacemaker/pcmk_sched_native.c rsc_rh->cmds->allocate(rsc_rh, NULL, data_set); NULL 551 lib/pacemaker/pcmk_sched_native.c archive = NULL; NULL 560 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->rsc_cons_lhs; gIter != NULL; gIter = gIter->next) { NULL 563 lib/pacemaker/pcmk_sched_native.c if (!pcmk__colocation_has_influence(constraint, NULL)) { NULL 579 lib/pacemaker/pcmk_sched_native.c resource_location(rsc, NULL, -INFINITY, XML_RSC_ATTR_TARGET_ROLE, data_set); NULL 597 lib/pacemaker/pcmk_sched_native.c const char *reason = NULL; NULL 598 lib/pacemaker/pcmk_sched_native.c pe_node_t *assign_to = NULL; NULL 602 lib/pacemaker/pcmk_sched_native.c if (assign_to == NULL) { NULL 617 lib/pacemaker/pcmk_sched_native.c native_assign_node(rsc, NULL, TRUE); NULL 624 lib/pacemaker/pcmk_sched_native.c } else if (rsc->allocated_to == NULL) { NULL 627 lib/pacemaker/pcmk_sched_native.c } else if (rsc->running_on != NULL) { NULL 641 lib/pacemaker/pcmk_sched_native.c CRM_ASSERT(remote_node != NULL); NULL 667 lib/pacemaker/pcmk_sched_native.c const char *id = NULL; NULL 668 lib/pacemaker/pcmk_sched_native.c const char *value = NULL; NULL 669 lib/pacemaker/pcmk_sched_native.c xmlNode *operation = NULL; NULL 673 lib/pacemaker/pcmk_sched_native.c for (operation = pcmk__xe_first_child(rsc->ops_xml); operation != NULL; NULL 688 lib/pacemaker/pcmk_sched_native.c if (id == NULL) { NULL 706 lib/pacemaker/pcmk_sched_native.c return pcmk__strcase_any_of(name, RSC_STOP, RSC_START, RSC_DEMOTE, RSC_PROMOTE, NULL); NULL 713 lib/pacemaker/pcmk_sched_native.c char *key = NULL; NULL 714 lib/pacemaker/pcmk_sched_native.c const char *name = NULL; NULL 715 lib/pacemaker/pcmk_sched_native.c const char *role = NULL; NULL 716 lib/pacemaker/pcmk_sched_native.c const char *interval_spec = NULL; NULL 720 lib/pacemaker/pcmk_sched_native.c pe_action_t *mon = NULL; NULL 722 lib/pacemaker/pcmk_sched_native.c GList *possible_matches = NULL; NULL 752 lib/pacemaker/pcmk_sched_native.c if (find_rsc_op_entry(rsc, key) == NULL) { NULL 762 lib/pacemaker/pcmk_sched_native.c if (start != NULL) { NULL 766 lib/pacemaker/pcmk_sched_native.c is_optional = (rsc->cmds->action_flags(start, NULL) & pe_action_optional); NULL 774 lib/pacemaker/pcmk_sched_native.c if (possible_matches == NULL) { NULL 779 lib/pacemaker/pcmk_sched_native.c GList *gIter = NULL; NULL 781 lib/pacemaker/pcmk_sched_native.c for (gIter = possible_matches; gIter != NULL; gIter = gIter->next) { NULL 792 lib/pacemaker/pcmk_sched_native.c if (((rsc->next_role == RSC_ROLE_PROMOTED) && (role == NULL)) NULL 793 lib/pacemaker/pcmk_sched_native.c || (role != NULL && text2role(role) != rsc->next_role)) { NULL 798 lib/pacemaker/pcmk_sched_native.c char *after_key = NULL; NULL 799 lib/pacemaker/pcmk_sched_native.c pe_action_t *cancel_op = NULL; NULL 825 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, NULL, cancel_op, rsc, after_key, NULL, NULL 844 lib/pacemaker/pcmk_sched_native.c if ((start == NULL) || !pcmk_is_set(start->flags, pe_action_runnable)) { NULL 850 lib/pacemaker/pcmk_sched_native.c } else if (node == NULL || node->details->online == FALSE || node->details->unclean) { NULL 868 lib/pacemaker/pcmk_sched_native.c if ((node == NULL) || pcmk_is_set(rsc->flags, pe_rsc_managed)) { NULL 869 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, start_key(rsc), NULL, NULL 870 lib/pacemaker/pcmk_sched_native.c NULL, strdup(key), mon, NULL 873 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, reload_key(rsc), NULL, NULL 874 lib/pacemaker/pcmk_sched_native.c NULL, strdup(key), mon, NULL 878 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, promote_key(rsc), NULL, NULL 879 lib/pacemaker/pcmk_sched_native.c rsc, NULL, mon, NULL 883 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, demote_key(rsc), NULL, NULL 884 lib/pacemaker/pcmk_sched_native.c rsc, NULL, mon, NULL 894 lib/pacemaker/pcmk_sched_native.c (node == NULL || node->details->maintenance == FALSE)) { NULL 895 lib/pacemaker/pcmk_sched_native.c xmlNode *operation = NULL; NULL 898 lib/pacemaker/pcmk_sched_native.c operation != NULL; NULL 912 lib/pacemaker/pcmk_sched_native.c char *key = NULL; NULL 913 lib/pacemaker/pcmk_sched_native.c const char *name = NULL; NULL 914 lib/pacemaker/pcmk_sched_native.c const char *role = NULL; NULL 915 lib/pacemaker/pcmk_sched_native.c const char *interval_spec = NULL; NULL 919 lib/pacemaker/pcmk_sched_native.c GList *possible_matches = NULL; NULL 920 lib/pacemaker/pcmk_sched_native.c GList *gIter = NULL; NULL 924 lib/pacemaker/pcmk_sched_native.c if (role == NULL || text2role(role) != RSC_ROLE_STOPPED) { NULL 948 lib/pacemaker/pcmk_sched_native.c if (find_rsc_op_entry(rsc, key) == NULL) { NULL 968 lib/pacemaker/pcmk_sched_native.c if (node != NULL) { NULL 971 lib/pacemaker/pcmk_sched_native.c pe_action_t *cancel_op = NULL; NULL 981 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, NULL, cancel_op, rsc, start_key(rsc), NULL, NULL 990 lib/pacemaker/pcmk_sched_native.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 996 lib/pacemaker/pcmk_sched_native.c pe_action_t *stopped_mon = NULL; NULL 997 lib/pacemaker/pcmk_sched_native.c char *rc_inactive = NULL; NULL 998 lib/pacemaker/pcmk_sched_native.c GList *probe_complete_ops = NULL; NULL 999 lib/pacemaker/pcmk_sched_native.c GList *stop_ops = NULL; NULL 1000 lib/pacemaker/pcmk_sched_native.c GList *local_gIter = NULL; NULL 1011 lib/pacemaker/pcmk_sched_native.c if (possible_matches == NULL) { NULL 1031 lib/pacemaker/pcmk_sched_native.c GList *pIter = NULL; NULL 1033 lib/pacemaker/pcmk_sched_native.c for (pIter = probes; pIter != NULL; pIter = pIter->next) { NULL 1049 lib/pacemaker/pcmk_sched_native.c for (local_gIter = stop_ops; local_gIter != NULL; local_gIter = local_gIter->next) { NULL 1065 lib/pacemaker/pcmk_sched_native.c NULL, strdup(key), stopped_mon, NULL 1108 lib/pacemaker/pcmk_sched_native.c (node == NULL || node->details->maintenance == FALSE)) { NULL 1109 lib/pacemaker/pcmk_sched_native.c xmlNode *operation = NULL; NULL 1112 lib/pacemaker/pcmk_sched_native.c operation != NULL; NULL 1125 lib/pacemaker/pcmk_sched_native.c pe_action_t *migrate_to = NULL; NULL 1126 lib/pacemaker/pcmk_sched_native.c pe_action_t *migrate_from = NULL; NULL 1127 lib/pacemaker/pcmk_sched_native.c pe_action_t *start = NULL; NULL 1128 lib/pacemaker/pcmk_sched_native.c pe_action_t *stop = NULL; NULL 1157 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, pcmk__op_key(rsc->id, RSC_STATUS, 0), NULL, NULL 1159 lib/pacemaker/pcmk_sched_native.c NULL, pe_order_optional, data_set); NULL 1166 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, pcmk__op_key(rsc->id, RSC_STATUS, 0), NULL, NULL 1168 lib/pacemaker/pcmk_sched_native.c NULL, pe_order_optional, data_set); NULL 1170 lib/pacemaker/pcmk_sched_native.c NULL, rsc, NULL 1171 lib/pacemaker/pcmk_sched_native.c pcmk__op_key(rsc->id, RSC_MIGRATED, 0), NULL, NULL 1176 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, pcmk__op_key(rsc->id, RSC_MIGRATED, 0), NULL, NULL 1177 lib/pacemaker/pcmk_sched_native.c rsc, pcmk__op_key(rsc->id, RSC_STOP, 0), NULL, NULL 1180 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, pcmk__op_key(rsc->id, RSC_MIGRATED, 0), NULL, NULL 1181 lib/pacemaker/pcmk_sched_native.c rsc, pcmk__op_key(rsc->id, RSC_START, 0), NULL, NULL 1214 lib/pacemaker/pcmk_sched_native.c pe_action_t *start = NULL; NULL 1215 lib/pacemaker/pcmk_sched_native.c pe_node_t *chosen = NULL; NULL 1216 lib/pacemaker/pcmk_sched_native.c pe_node_t *current = NULL; NULL 1222 lib/pacemaker/pcmk_sched_native.c GList *gIter = NULL; NULL 1234 lib/pacemaker/pcmk_sched_native.c (chosen == NULL)? RSC_ROLE_STOPPED : RSC_ROLE_STARTED, NULL 1240 lib/pacemaker/pcmk_sched_native.c ((chosen == NULL)? "no node" : chosen->details->uname)); NULL 1244 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->dangling_migrations; gIter != NULL; gIter = gIter->next) { NULL 1247 lib/pacemaker/pcmk_sched_native.c pe_action_t *stop = NULL; NULL 1311 lib/pacemaker/pcmk_sched_native.c rsc->partial_migration_source = rsc->partial_migration_target = NULL; NULL 1344 lib/pacemaker/pcmk_sched_native.c } else if (rsc->role > RSC_ROLE_STARTED && current != NULL && chosen != NULL) { NULL 1418 lib/pacemaker/pcmk_sched_native.c Recurring_Stopped(rsc, NULL, NULL, data_set); NULL 1424 lib/pacemaker/pcmk_sched_native.c if (rsc->partial_migration_target && (chosen == NULL || rsc->partial_migration_target->details != chosen->details)) { NULL 1447 lib/pacemaker/pcmk_sched_native.c pe_node_t *node = NULL; NULL 1449 lib/pacemaker/pcmk_sched_native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 1473 lib/pacemaker/pcmk_sched_native.c GList *allowed_nodes = NULL; NULL 1491 lib/pacemaker/pcmk_sched_native.c pe_resource_t *top = NULL; NULL 1492 lib/pacemaker/pcmk_sched_native.c GList *allowed_nodes = NULL; NULL 1516 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, pcmk__op_key(rsc->id, RSC_STOP, 0), NULL, NULL 1517 lib/pacemaker/pcmk_sched_native.c rsc, pcmk__op_key(rsc->id, RSC_START, 0), NULL, NULL 1525 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, pcmk__op_key(rsc->id, RSC_DEMOTE, 0), NULL, NULL 1526 lib/pacemaker/pcmk_sched_native.c rsc, pcmk__op_key(rsc->id, RSC_STOP, 0), NULL, NULL 1529 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, pcmk__op_key(rsc->id, RSC_START, 0), NULL, NULL 1530 lib/pacemaker/pcmk_sched_native.c rsc, pcmk__op_key(rsc->id, RSC_PROMOTE, 0), NULL, NULL 1536 lib/pacemaker/pcmk_sched_native.c NULL, rsc, pcmk__op_key(rsc->id, RSC_STATUS, 0), NULL 1537 lib/pacemaker/pcmk_sched_native.c NULL, pe_order_same_node|pe_order_then_cancels_first, NULL 1550 lib/pacemaker/pcmk_sched_native.c pe_action_t *unfence = pe_fence_op(node, "on", TRUE, NULL, FALSE, data_set); NULL 1570 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, stop_key(rsc), NULL, NULL 1571 lib/pacemaker/pcmk_sched_native.c NULL, strdup(unfence->uuid), unfence, NULL 1574 lib/pacemaker/pcmk_sched_native.c custom_action_order(NULL, strdup(unfence->uuid), unfence, NULL 1575 lib/pacemaker/pcmk_sched_native.c rsc, start_key(rsc), NULL, NULL 1582 lib/pacemaker/pcmk_sched_native.c GList *gIter = NULL; NULL 1587 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->running_on; gIter != NULL; gIter = gIter->next) { NULL 1594 lib/pacemaker/pcmk_sched_native.c if (load_stopped->node == NULL) { NULL 1600 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, stop_key(rsc), NULL, NULL 1601 lib/pacemaker/pcmk_sched_native.c NULL, load_stopped_task, load_stopped, pe_order_load, data_set); NULL 1610 lib/pacemaker/pcmk_sched_native.c if (load_stopped->node == NULL) { NULL 1616 lib/pacemaker/pcmk_sched_native.c custom_action_order(NULL, strdup(load_stopped_task), load_stopped, NULL 1617 lib/pacemaker/pcmk_sched_native.c rsc, start_key(rsc), NULL, pe_order_load, data_set); NULL 1619 lib/pacemaker/pcmk_sched_native.c custom_action_order(NULL, strdup(load_stopped_task), load_stopped, NULL 1621 lib/pacemaker/pcmk_sched_native.c NULL, pe_order_load, data_set); NULL 1628 lib/pacemaker/pcmk_sched_native.c pe_resource_t *remote_rsc = NULL; NULL 1688 lib/pacemaker/pcmk_sched_native.c NULL, rsc, pcmk__op_key(rsc->id, RSC_START, 0), NULL 1689 lib/pacemaker/pcmk_sched_native.c NULL, NULL 1693 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, pcmk__op_key(rsc->id, RSC_STOP, 0), NULL, NULL 1696 lib/pacemaker/pcmk_sched_native.c NULL, pe_order_implies_first, data_set); NULL 1703 lib/pacemaker/pcmk_sched_native.c pcmk__new_colocation("resource-with-container", NULL, score, rsc, NULL 1704 lib/pacemaker/pcmk_sched_native.c rsc->container, NULL, NULL, true, data_set); NULL 1721 lib/pacemaker/pcmk_sched_native.c if (rsc_lh == NULL) { NULL 1725 lib/pacemaker/pcmk_sched_native.c } else if (constraint->rsc_rh == NULL) { NULL 1758 lib/pacemaker/pcmk_sched_native.c if (rsc_lh->allocated_to == NULL) { NULL 1766 lib/pacemaker/pcmk_sched_native.c if ((rh_node == NULL) NULL 1777 lib/pacemaker/pcmk_sched_native.c if ((rh_node != NULL) NULL 1821 lib/pacemaker/pcmk_sched_native.c const char *rh_value = NULL; NULL 1822 lib/pacemaker/pcmk_sched_native.c const char *lh_value = NULL; NULL 1830 lib/pacemaker/pcmk_sched_native.c if (constraint->node_attribute != NULL) { NULL 1862 lib/pacemaker/pcmk_sched_native.c const char *value = NULL; NULL 1863 lib/pacemaker/pcmk_sched_native.c GHashTable *work = NULL; NULL 1865 lib/pacemaker/pcmk_sched_native.c pe_node_t *node = NULL; NULL 1867 lib/pacemaker/pcmk_sched_native.c if (constraint->node_attribute != NULL) { NULL 1882 lib/pacemaker/pcmk_sched_native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 1883 lib/pacemaker/pcmk_sched_native.c if (rsc_rh->allocated_to == NULL) { NULL 1909 lib/pacemaker/pcmk_sched_native.c work = NULL; NULL 1964 lib/pacemaker/pcmk_sched_native.c if (rsc_ticket == NULL) { NULL 1969 lib/pacemaker/pcmk_sched_native.c if (rsc_lh == NULL) { NULL 1983 lib/pacemaker/pcmk_sched_native.c for (; gIter != NULL; gIter = gIter->next) { NULL 1996 lib/pacemaker/pcmk_sched_native.c && (rsc_lh->running_on != NULL)) { NULL 1998 lib/pacemaker/pcmk_sched_native.c GList *gIter = NULL; NULL 2002 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__loss_of_ticket__", data_set); NULL 2008 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__loss_of_ticket__", data_set); NULL 2017 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__loss_of_ticket__", data_set); NULL 2019 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc_lh->running_on; gIter != NULL; gIter = gIter->next) { NULL 2030 lib/pacemaker/pcmk_sched_native.c if (rsc_lh->running_on != NULL) { NULL 2041 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__no_ticket__", data_set); NULL 2048 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__ticket_standby__", data_set); NULL 2080 lib/pacemaker/pcmk_sched_native.c const char *reason = NULL; NULL 2103 lib/pacemaker/pcmk_sched_native.c if (reason == NULL) { NULL 2199 lib/pacemaker/pcmk_sched_native.c (then->rsc != NULL) && (then->rsc->role == RSC_ROLE_PROMOTED)) { NULL 2291 lib/pacemaker/pcmk_sched_native.c GList *gIter = NULL; NULL 2294 lib/pacemaker/pcmk_sched_native.c CRM_CHECK((constraint != NULL) && (rsc != NULL), return); NULL 2306 lib/pacemaker/pcmk_sched_native.c if (constraint->node_list_rh == NULL) { NULL 2316 lib/pacemaker/pcmk_sched_native.c for (gIter = constraint->node_list_rh; gIter != NULL; gIter = gIter->next) { NULL 2318 lib/pacemaker/pcmk_sched_native.c pe_node_t *other_node = NULL; NULL 2322 lib/pacemaker/pcmk_sched_native.c if (other_node != NULL) { NULL 2348 lib/pacemaker/pcmk_sched_native.c GList *gIter = NULL; NULL 2353 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->actions; gIter != NULL; gIter = gIter->next) { NULL 2360 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 2370 lib/pacemaker/pcmk_sched_native.c } else if(stop == NULL) { \ NULL 2373 lib/pacemaker/pcmk_sched_native.c CRM_ASSERT(stop != NULL); \ NULL 2386 lib/pacemaker/pcmk_sched_native.c pe_node_t *next = NULL; NULL 2387 lib/pacemaker/pcmk_sched_native.c pe_node_t *current = NULL; NULL 2397 lib/pacemaker/pcmk_sched_native.c GList *gIter = NULL; NULL 2399 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 2419 lib/pacemaker/pcmk_sched_native.c if ((current == NULL) && pcmk_is_set(rsc->flags, pe_rsc_orphan)) { NULL 2430 lib/pacemaker/pcmk_sched_native.c GList *gIter = NULL; NULL 2435 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->running_on; gIter != NULL; gIter = gIter->next) { NULL 2453 lib/pacemaker/pcmk_sched_native.c if(rsc->allocated_to == NULL) { NULL 2467 lib/pacemaker/pcmk_sched_native.c pe_action_t *unfence = pe_fence_op(current, "on", TRUE, NULL, FALSE, data_set); NULL 2497 lib/pacemaker/pcmk_sched_native.c pe_action_t *unfence = pe_fence_op(node, "on", TRUE, NULL, FALSE, data_set); NULL 2506 lib/pacemaker/pcmk_sched_native.c trigger_unfencing(NULL, node, reason, NULL, data_set); NULL 2515 lib/pacemaker/pcmk_sched_native.c pe_action_t *start = NULL; NULL 2535 lib/pacemaker/pcmk_sched_native.c GList *gIter = NULL; NULL 2537 lib/pacemaker/pcmk_sched_native.c GList *action_list = NULL; NULL 2540 lib/pacemaker/pcmk_sched_native.c CRM_CHECK(next != NULL, return FALSE); NULL 2545 lib/pacemaker/pcmk_sched_native.c for (gIter = action_list; gIter != NULL; gIter = gIter->next) { NULL 2563 lib/pacemaker/pcmk_sched_native.c for (gIter = action_list; gIter != NULL; gIter = gIter->next) { NULL 2577 lib/pacemaker/pcmk_sched_native.c GList *gIter = NULL; NULL 2583 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->running_on; gIter != NULL; gIter = gIter->next) { NULL 2616 lib/pacemaker/pcmk_sched_native.c } else if (node == NULL) { NULL 2644 lib/pacemaker/pcmk_sched_native.c char *key = NULL; NULL 2645 lib/pacemaker/pcmk_sched_native.c pe_action_t *probe = NULL; NULL 2646 lib/pacemaker/pcmk_sched_native.c pe_node_t *running = NULL; NULL 2647 lib/pacemaker/pcmk_sched_native.c pe_node_t *allowed = NULL; NULL 2650 lib/pacemaker/pcmk_sched_native.c static const char *rc_promoted = NULL; NULL 2651 lib/pacemaker/pcmk_sched_native.c static const char *rc_inactive = NULL; NULL 2653 lib/pacemaker/pcmk_sched_native.c if (rc_inactive == NULL) { NULL 2658 lib/pacemaker/pcmk_sched_native.c CRM_CHECK(node != NULL, return FALSE); NULL 2687 lib/pacemaker/pcmk_sched_native.c GList *gIter = NULL; NULL 2690 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 2718 lib/pacemaker/pcmk_sched_native.c if (allowed == NULL) { NULL 2730 lib/pacemaker/pcmk_sched_native.c if(allowed == NULL && node->rsc_discover_mode == pe_discover_never) { NULL 2766 lib/pacemaker/pcmk_sched_native.c && g_hash_table_lookup(remote->known_on, remote->allocated_to->details->id) == NULL) { NULL 2775 lib/pacemaker/pcmk_sched_native.c NULL, top, NULL 2776 lib/pacemaker/pcmk_sched_native.c pcmk__op_key(top->id, RSC_START, 0), NULL, NULL 2791 lib/pacemaker/pcmk_sched_native.c && pe_find_node(remote->running_on, remote->allocated_to->details->uname) == NULL) NULL 2798 lib/pacemaker/pcmk_sched_native.c NULL, top, pcmk__op_key(top->id, RSC_START, 0), NULL 2799 lib/pacemaker/pcmk_sched_native.c NULL, pe_order_optional, data_set); NULL 2821 lib/pacemaker/pcmk_sched_native.c if (running == NULL) { NULL 2838 lib/pacemaker/pcmk_sched_native.c && (rsc->running_on == NULL)) { NULL 2845 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, NULL, probe, NULL 2846 lib/pacemaker/pcmk_sched_native.c top, pcmk__op_key(top->id, RSC_START, 0), NULL, NULL 2850 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, NULL, probe, NULL 2851 lib/pacemaker/pcmk_sched_native.c top, reload_key(rsc), NULL, NULL 2908 lib/pacemaker/pcmk_sched_native.c GList *gIter = NULL; NULL 2913 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->actions; gIter != NULL; gIter = gIter->next) { NULL 2952 lib/pacemaker/pcmk_sched_native.c GList *gIter = NULL; NULL 2953 lib/pacemaker/pcmk_sched_native.c GList *action_list = NULL; NULL 2957 lib/pacemaker/pcmk_sched_native.c pe_action_t *parent_stop = NULL; NULL 2979 lib/pacemaker/pcmk_sched_native.c parent_stop = find_first_action(top->actions, NULL, RSC_STOP, NULL); NULL 2982 lib/pacemaker/pcmk_sched_native.c for (gIter = action_list; gIter != NULL; gIter = gIter->next) { NULL 3082 lib/pacemaker/pcmk_sched_native.c for (gIter = action_list; gIter != NULL; gIter = gIter->next) { NULL 3119 lib/pacemaker/pcmk_sched_native.c GList *gIter = NULL; NULL 3121 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 3139 lib/pacemaker/pcmk_sched_native.c GList *gIter = NULL; NULL 3140 lib/pacemaker/pcmk_sched_native.c pe_action_t *reload = NULL; NULL 3143 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 3175 lib/pacemaker/pcmk_sched_native.c } else if (node == NULL) { NULL 3187 lib/pacemaker/pcmk_sched_native.c custom_action_order(NULL, NULL, reload, rsc, stop_key(rsc), NULL, NULL 3190 lib/pacemaker/pcmk_sched_native.c custom_action_order(NULL, NULL, reload, rsc, demote_key(rsc), NULL, NULL 3202 lib/pacemaker/pcmk_sched_native.c char *name = NULL; NULL 3211 lib/pacemaker/pcmk_sched_native.c char *name = NULL; NULL 3218 lib/pacemaker/pcmk_sched_native.c for (parent = rsc; parent != NULL; parent = parent->parent) { NULL 28 lib/pacemaker/pcmk_sched_notif.c if (entry_a == NULL && entry_b == NULL) { NULL 31 lib/pacemaker/pcmk_sched_notif.c if (entry_a == NULL) { NULL 34 lib/pacemaker/pcmk_sched_notif.c if (entry_b == NULL) { NULL 38 lib/pacemaker/pcmk_sched_notif.c if (entry_a->rsc == NULL && entry_b->rsc == NULL) { NULL 41 lib/pacemaker/pcmk_sched_notif.c if (entry_a->rsc == NULL) { NULL 44 lib/pacemaker/pcmk_sched_notif.c if (entry_b->rsc == NULL) { NULL 53 lib/pacemaker/pcmk_sched_notif.c if (entry_a->node == NULL && entry_b->node == NULL) { NULL 56 lib/pacemaker/pcmk_sched_notif.c if (entry_a->node == NULL) { NULL 59 lib/pacemaker/pcmk_sched_notif.c if (entry_b->node == NULL) { NULL 70 lib/pacemaker/pcmk_sched_notif.c CRM_ASSERT(dup != NULL); NULL 79 lib/pacemaker/pcmk_sched_notif.c GList *gIter = NULL; NULL 80 lib/pacemaker/pcmk_sched_notif.c char *node_list = NULL; NULL 81 lib/pacemaker/pcmk_sched_notif.c char *metal_list = NULL; NULL 85 lib/pacemaker/pcmk_sched_notif.c CRM_ASSERT(uname != NULL); NULL 86 lib/pacemaker/pcmk_sched_notif.c if (list == NULL) { NULL 94 lib/pacemaker/pcmk_sched_notif.c for (gIter = list; gIter != NULL; gIter = gIter->next) { NULL 97 lib/pacemaker/pcmk_sched_notif.c if (node->details->uname == NULL) { NULL 108 lib/pacemaker/pcmk_sched_notif.c if (node->details->uname == NULL) { NULL 134 lib/pacemaker/pcmk_sched_notif.c const char *last_rsc_id = NULL; NULL 138 lib/pacemaker/pcmk_sched_notif.c CRM_CHECK(rsc_list != NULL, return list); NULL 141 lib/pacemaker/pcmk_sched_notif.c if (list == NULL) { NULL 150 lib/pacemaker/pcmk_sched_notif.c *rsc_list = NULL; NULL 152 lib/pacemaker/pcmk_sched_notif.c *node_list = NULL; NULL 158 lib/pacemaker/pcmk_sched_notif.c for (GList *gIter = list; gIter != NULL; gIter = gIter->next) { NULL 162 lib/pacemaker/pcmk_sched_notif.c CRM_LOG_ASSERT((entry != NULL) && (entry->rsc != NULL) NULL 163 lib/pacemaker/pcmk_sched_notif.c && (entry->rsc->id != NULL)); NULL 164 lib/pacemaker/pcmk_sched_notif.c if ((entry == NULL) || (entry->rsc == NULL) NULL 165 lib/pacemaker/pcmk_sched_notif.c || (entry->rsc->id == NULL)) { NULL 170 lib/pacemaker/pcmk_sched_notif.c CRM_LOG_ASSERT((node_list == NULL) || (entry->node != NULL)); NULL 171 lib/pacemaker/pcmk_sched_notif.c if ((node_list != NULL) && (entry->node == NULL)) { NULL 181 lib/pacemaker/pcmk_sched_notif.c if ((node_list != NULL) && (entry->node->details->uname != NULL)) { NULL 209 lib/pacemaker/pcmk_sched_notif.c char *key = NULL; NULL 210 lib/pacemaker/pcmk_sched_notif.c pe_action_t *trigger = NULL; NULL 211 lib/pacemaker/pcmk_sched_notif.c const char *value = NULL; NULL 212 lib/pacemaker/pcmk_sched_notif.c const char *task = NULL; NULL 214 lib/pacemaker/pcmk_sched_notif.c if (op == NULL || confirm == NULL) { NULL 216 lib/pacemaker/pcmk_sched_notif.c return NULL; NULL 219 lib/pacemaker/pcmk_sched_notif.c CRM_CHECK(rsc != NULL, return NULL); NULL 220 lib/pacemaker/pcmk_sched_notif.c CRM_CHECK(node != NULL, return NULL); NULL 224 lib/pacemaker/pcmk_sched_notif.c return NULL; NULL 227 lib/pacemaker/pcmk_sched_notif.c return NULL; NULL 254 lib/pacemaker/pcmk_sched_notif.c pe_action_t *notify = NULL; NULL 256 lib/pacemaker/pcmk_sched_notif.c CRM_CHECK(rsc != NULL, return); NULL 258 lib/pacemaker/pcmk_sched_notif.c if (n_data->post == NULL) { NULL 264 lib/pacemaker/pcmk_sched_notif.c if (notify != NULL) { NULL 271 lib/pacemaker/pcmk_sched_notif.c for (; gIter != NULL; gIter = gIter->next) { NULL 302 lib/pacemaker/pcmk_sched_notif.c char *key = NULL; NULL 303 lib/pacemaker/pcmk_sched_notif.c notify_data_t *n_data = NULL; NULL 306 lib/pacemaker/pcmk_sched_notif.c return NULL; NULL 316 lib/pacemaker/pcmk_sched_notif.c custom_action(rsc, key, RSC_NOTIFY, NULL, NULL 332 lib/pacemaker/pcmk_sched_notif.c n_data->pre_done = custom_action(rsc, key, RSC_NOTIFIED, NULL, NULL 354 lib/pacemaker/pcmk_sched_notif.c n_data->post = custom_action(rsc, key, RSC_NOTIFY, NULL, NULL 377 lib/pacemaker/pcmk_sched_notif.c n_data->post_done = custom_action(rsc, key, RSC_NOTIFIED, NULL, NULL 413 lib/pacemaker/pcmk_sched_notif.c if(n_data->allowed_nodes == NULL) { NULL 420 lib/pacemaker/pcmk_sched_notif.c for (; gIter != NULL; gIter = gIter->next) { NULL 429 lib/pacemaker/pcmk_sched_notif.c notify_entry_t *entry = NULL; NULL 465 lib/pacemaker/pcmk_sched_notif.c notify_entry_t *entry = NULL; NULL 470 lib/pacemaker/pcmk_sched_notif.c for (; gIter != NULL; gIter = gIter->next) { NULL 474 lib/pacemaker/pcmk_sched_notif.c && (op->node != NULL)) { NULL 516 lib/pacemaker/pcmk_sched_notif.c free(value); value = NULL; \ NULL 533 lib/pacemaker/pcmk_sched_notif.c char *rsc_list = NULL; NULL 534 lib/pacemaker/pcmk_sched_notif.c char *node_list = NULL; NULL 535 lib/pacemaker/pcmk_sched_notif.c char *metal_list = NULL; NULL 536 lib/pacemaker/pcmk_sched_notif.c const char *source = NULL; NULL 537 lib/pacemaker/pcmk_sched_notif.c GList *nodes = NULL; NULL 547 lib/pacemaker/pcmk_sched_notif.c if ((n_data->start != NULL) NULL 555 lib/pacemaker/pcmk_sched_notif.c if ((n_data->demote != NULL) NULL 563 lib/pacemaker/pcmk_sched_notif.c if ((n_data->promote != NULL) NULL 591 lib/pacemaker/pcmk_sched_notif.c n_data->inactive = expand_list(n_data->inactive, &rsc_list, NULL); NULL 602 lib/pacemaker/pcmk_sched_notif.c expand_node_list(nodes, &node_list, NULL); NULL 611 lib/pacemaker/pcmk_sched_notif.c expand_node_list(data_set->nodes, &node_list, NULL); NULL 645 lib/pacemaker/pcmk_sched_notif.c return find_first_action(remote_rsc->actions, NULL, RSC_START, NULL 646 lib/pacemaker/pcmk_sched_notif.c NULL); NULL 649 lib/pacemaker/pcmk_sched_notif.c return NULL; NULL 655 lib/pacemaker/pcmk_sched_notif.c GList *gIter = NULL; NULL 656 lib/pacemaker/pcmk_sched_notif.c pe_action_t *stop = NULL; NULL 657 lib/pacemaker/pcmk_sched_notif.c pe_action_t *start = NULL; NULL 662 lib/pacemaker/pcmk_sched_notif.c for (; gIter != NULL; gIter = gIter->next) { NULL 672 lib/pacemaker/pcmk_sched_notif.c for (gIter = rsc->actions; gIter != NULL; gIter = gIter->next) { NULL 676 lib/pacemaker/pcmk_sched_notif.c && (op->node != NULL)) { NULL 695 lib/pacemaker/pcmk_sched_notif.c if (n_data->start == NULL) { NULL 702 lib/pacemaker/pcmk_sched_notif.c if (n_data->promote == NULL) { NULL 709 lib/pacemaker/pcmk_sched_notif.c if (n_data->demote == NULL) { NULL 725 lib/pacemaker/pcmk_sched_notif.c stop = find_first_action(rsc->actions, NULL, RSC_STOP, NULL); NULL 726 lib/pacemaker/pcmk_sched_notif.c start = find_first_action(rsc->actions, NULL, RSC_START, NULL); NULL 732 lib/pacemaker/pcmk_sched_notif.c for (; gIter != NULL; gIter = gIter->next) { NULL 745 lib/pacemaker/pcmk_sched_notif.c if (task == action_demote || stop == NULL NULL 755 lib/pacemaker/pcmk_sched_notif.c if (rsc->allocated_to == NULL) { NULL 774 lib/pacemaker/pcmk_sched_notif.c if ((task != start_rsc) || (start == NULL) NULL 787 lib/pacemaker/pcmk_sched_notif.c if (n_data == NULL) { NULL 811 lib/pacemaker/pcmk_sched_notif.c n_data = create_notification_boundaries(rsc, RSC_STOP, NULL, stonith_op, NULL 27 lib/pacemaker/pcmk_sched_promotable.c if (child == NULL) { NULL 28 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered && last != NULL) { NULL 44 lib/pacemaker/pcmk_sched_promotable.c if (last == NULL) { NULL 63 lib/pacemaker/pcmk_sched_promotable.c if (child == NULL) { NULL 64 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered && last != NULL) { NULL 78 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered && last != NULL) { NULL 98 lib/pacemaker/pcmk_sched_promotable.c GList *gIter = NULL; NULL 102 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 110 lib/pacemaker/pcmk_sched_promotable.c CRM_ASSERT(demoting != NULL); NULL 111 lib/pacemaker/pcmk_sched_promotable.c CRM_ASSERT(promoting != NULL); NULL 114 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 138 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *cons_node = NULL; NULL 145 lib/pacemaker/pcmk_sched_promotable.c if (cons_node != NULL) { NULL 162 lib/pacemaker/pcmk_sched_promotable.c return guest->fns->location(guest, NULL, FALSE); NULL 168 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *node = NULL; NULL 169 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *local_node = NULL; NULL 171 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; NULL 183 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 186 lib/pacemaker/pcmk_sched_promotable.c if (node_to_be_promoted_on(child) == NULL) { NULL 188 lib/pacemaker/pcmk_sched_promotable.c return NULL; NULL 193 lib/pacemaker/pcmk_sched_promotable.c node = rsc->fns->location(rsc, NULL, FALSE); NULL 194 lib/pacemaker/pcmk_sched_promotable.c if (node == NULL) { NULL 196 lib/pacemaker/pcmk_sched_promotable.c return NULL; NULL 204 lib/pacemaker/pcmk_sched_promotable.c return NULL; NULL 210 lib/pacemaker/pcmk_sched_promotable.c return NULL; NULL 214 lib/pacemaker/pcmk_sched_promotable.c return NULL; NULL 220 lib/pacemaker/pcmk_sched_promotable.c } else if (pe__is_guest_node(node) && (guest_location(node) == NULL)) { NULL 223 lib/pacemaker/pcmk_sched_promotable.c return NULL; NULL 229 lib/pacemaker/pcmk_sched_promotable.c if (local_node == NULL) { NULL 231 lib/pacemaker/pcmk_sched_promotable.c return NULL; NULL 242 lib/pacemaker/pcmk_sched_promotable.c return NULL; NULL 255 lib/pacemaker/pcmk_sched_promotable.c CRM_ASSERT(resource1 != NULL); NULL 256 lib/pacemaker/pcmk_sched_promotable.c CRM_ASSERT(resource2 != NULL); NULL 282 lib/pacemaker/pcmk_sched_promotable.c GList *gIter = NULL; NULL 283 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *node = NULL; NULL 284 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *chosen = NULL; NULL 285 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; NULL 298 lib/pacemaker/pcmk_sched_promotable.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 306 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 309 lib/pacemaker/pcmk_sched_promotable.c chosen = child->fns->location(child, NULL, FALSE); NULL 310 lib/pacemaker/pcmk_sched_promotable.c if (chosen == NULL || child->sort_index < 0) { NULL 316 lib/pacemaker/pcmk_sched_promotable.c CRM_ASSERT(node != NULL); NULL 327 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 347 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 350 lib/pacemaker/pcmk_sched_promotable.c if (!pcmk__colocation_has_influence(constraint, NULL)) { NULL 371 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 376 lib/pacemaker/pcmk_sched_promotable.c resource_location(rsc, NULL, -INFINITY, "__stateful_without_ticket__", data_set); NULL 385 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 388 lib/pacemaker/pcmk_sched_promotable.c chosen = child->fns->location(child, NULL, FALSE); NULL 393 lib/pacemaker/pcmk_sched_promotable.c } else if (chosen == NULL || child->sort_index < 0) { NULL 398 lib/pacemaker/pcmk_sched_promotable.c CRM_ASSERT(node != NULL); NULL 413 lib/pacemaker/pcmk_sched_promotable.c GList *rIter = NULL; NULL 448 lib/pacemaker/pcmk_sched_promotable.c rsc = parent->fns->find_rsc(child, key, NULL, pe_find_clone); NULL 465 lib/pacemaker/pcmk_sched_promotable.c const char *attr_value = NULL; NULL 480 lib/pacemaker/pcmk_sched_promotable.c const char *attr_value = NULL; NULL 482 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *match = NULL; NULL 484 lib/pacemaker/pcmk_sched_promotable.c CRM_CHECK(node != NULL, return not_set_value); NULL 489 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 517 lib/pacemaker/pcmk_sched_promotable.c if ((match == NULL) && (known == NULL)) { NULL 525 lib/pacemaker/pcmk_sched_promotable.c if (match == NULL) { NULL 545 lib/pacemaker/pcmk_sched_promotable.c if ((attr_value == NULL) && !pcmk_is_set(rsc->flags, pe_rsc_unique)) { NULL 559 lib/pacemaker/pcmk_sched_promotable.c if (attr_value != NULL) { NULL 571 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; NULL 582 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 584 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *node = NULL; NULL 588 lib/pacemaker/pcmk_sched_promotable.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 627 lib/pacemaker/pcmk_sched_promotable.c GList *allocated = NULL; NULL 635 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 651 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 662 lib/pacemaker/pcmk_sched_promotable.c GList *gIter = NULL; NULL 663 lib/pacemaker/pcmk_sched_promotable.c GList *gIter2 = NULL; NULL 665 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *node = NULL; NULL 666 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *chosen = NULL; NULL 670 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; NULL 676 lib/pacemaker/pcmk_sched_promotable.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 683 lib/pacemaker/pcmk_sched_promotable.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 684 lib/pacemaker/pcmk_sched_promotable.c GList *list = NULL; NULL 701 lib/pacemaker/pcmk_sched_promotable.c if (chosen == NULL) { NULL 736 lib/pacemaker/pcmk_sched_promotable.c for (gIter2 = child_rsc->rsc_cons; gIter2 != NULL; gIter2 = gIter2->next) { NULL 755 lib/pacemaker/pcmk_sched_promotable.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 759 lib/pacemaker/pcmk_sched_promotable.c chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); NULL 761 lib/pacemaker/pcmk_sched_promotable.c if (data_set->priv != NULL) { NULL 771 lib/pacemaker/pcmk_sched_promotable.c chosen = NULL; /* nuke 'chosen' so that we don't promote more than the NULL 785 lib/pacemaker/pcmk_sched_promotable.c if (chosen == NULL) { NULL 808 lib/pacemaker/pcmk_sched_promotable.c return NULL; NULL 814 lib/pacemaker/pcmk_sched_promotable.c pe_action_t *action = NULL; NULL 816 lib/pacemaker/pcmk_sched_promotable.c pe_action_t *action_complete = NULL; NULL 819 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *last_promote_rsc = NULL; NULL 820 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *last_demote_rsc = NULL; NULL 822 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; NULL 828 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 849 lib/pacemaker/pcmk_sched_promotable.c rsc, NULL, last_promote_rsc, data_set); NULL 851 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->promote_notify == NULL) { NULL 861 lib/pacemaker/pcmk_sched_promotable.c child_demoting_constraints(clone_data, pe_order_optional, rsc, NULL, last_demote_rsc, data_set); NULL 863 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->demote_notify == NULL) { NULL 887 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 924 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *last_rsc = NULL; NULL 925 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; NULL 931 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 951 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *node = NULL; NULL 952 lib/pacemaker/pcmk_sched_promotable.c const char *value = NULL; NULL 954 lib/pacemaker/pcmk_sched_promotable.c if (other == NULL) { NULL 957 lib/pacemaker/pcmk_sched_promotable.c } else if (attr == NULL) { NULL 963 lib/pacemaker/pcmk_sched_promotable.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 978 lib/pacemaker/pcmk_sched_promotable.c GList *gIter = NULL; NULL 981 lib/pacemaker/pcmk_sched_promotable.c GList *rhs = NULL; NULL 983 lib/pacemaker/pcmk_sched_promotable.c for (gIter = rsc_rh->children; gIter != NULL; gIter = gIter->next) { NULL 985 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); NULL 989 lib/pacemaker/pcmk_sched_promotable.c if (chosen != NULL && next_role == constraint->role_rh) { NULL 1018 lib/pacemaker/pcmk_sched_promotable.c if (rh_child == NULL && constraint->score >= INFINITY) { NULL 1022 lib/pacemaker/pcmk_sched_promotable.c } else if (rh_child != NULL) { NULL 30 lib/pacemaker/pcmk_sched_transition.c static pcmk__output_t *out = NULL; NULL 31 lib/pacemaker/pcmk_sched_transition.c static cib_t *fake_cib = NULL; NULL 32 lib/pacemaker/pcmk_sched_transition.c static GList *fake_resource_list = NULL; NULL 33 lib/pacemaker/pcmk_sched_transition.c static GList *fake_op_fail_list = NULL; NULL 46 lib/pacemaker/pcmk_sched_transition.c xmlNode *attrs = NULL; NULL 47 lib/pacemaker/pcmk_sched_transition.c xmlNode *instance_attrs = NULL; NULL 53 lib/pacemaker/pcmk_sched_transition.c if (attrs == NULL) { NULL 59 lib/pacemaker/pcmk_sched_transition.c if (instance_attrs == NULL) { NULL 64 lib/pacemaker/pcmk_sched_transition.c crm_create_nvpair_xml(instance_attrs, NULL, name, value); NULL 78 lib/pacemaker/pcmk_sched_transition.c char *name = NULL; NULL 79 lib/pacemaker/pcmk_sched_transition.c char *now = pcmk__ttoa(time(NULL)); NULL 98 lib/pacemaker/pcmk_sched_transition.c rc = cib_conn->cmds->query(cib_conn, xpath, NULL, cib_xpath | cib_sync_call | cib_scope_local); NULL 101 lib/pacemaker/pcmk_sched_transition.c xmlNode *cib_object = create_xml_node(NULL, XML_CIB_TAG_NODE); NULL 120 lib/pacemaker/pcmk_sched_transition.c lrmd_event_data_t *op = NULL; NULL 121 lib/pacemaker/pcmk_sched_transition.c xmlNode *xop = NULL; NULL 126 lib/pacemaker/pcmk_sched_transition.c op->params = NULL; /* TODO: Fill me in */ NULL 127 lib/pacemaker/pcmk_sched_transition.c op->t_run = (unsigned int) time(NULL); NULL 131 lib/pacemaker/pcmk_sched_transition.c for (xop = pcmk__xe_first_child(cib_resource); xop != NULL; NULL 150 lib/pacemaker/pcmk_sched_transition.c target_rc, NULL, crm_system_name, NULL 158 lib/pacemaker/pcmk_sched_transition.c xmlNode *cib_object = NULL; NULL 168 lib/pacemaker/pcmk_sched_transition.c if (cib_object && ID(cib_object) == NULL) { NULL 173 lib/pacemaker/pcmk_sched_transition.c return NULL; // not reached, but makes static analysis happy NULL 177 lib/pacemaker/pcmk_sched_transition.c char *found_uuid = NULL; NULL 179 lib/pacemaker/pcmk_sched_transition.c if (uuid == NULL) { NULL 180 lib/pacemaker/pcmk_sched_transition.c query_node_uuid(cib_conn, node, &found_uuid, NULL); NULL 185 lib/pacemaker/pcmk_sched_transition.c cib_object = create_xml_node(NULL, XML_CIB_TAG_STATE); NULL 206 lib/pacemaker/pcmk_sched_transition.c xmlNode *cib_node = inject_node_state(cib_conn, node, NULL); NULL 228 lib/pacemaker/pcmk_sched_transition.c xmlNode *match = NULL; NULL 242 lib/pacemaker/pcmk_sched_transition.c xmlNode *lrm = NULL; NULL 243 lib/pacemaker/pcmk_sched_transition.c xmlNode *container = NULL; NULL 244 lib/pacemaker/pcmk_sched_transition.c xmlNode *cib_resource = NULL; NULL 245 lib/pacemaker/pcmk_sched_transition.c char *xpath = NULL; NULL 248 lib/pacemaker/pcmk_sched_transition.c if (cib_resource != NULL) { NULL 258 lib/pacemaker/pcmk_sched_transition.c if (cib_resource != NULL) { NULL 265 lib/pacemaker/pcmk_sched_transition.c if (rclass == NULL || rtype == NULL) { NULL 268 lib/pacemaker/pcmk_sched_transition.c return NULL; NULL 272 lib/pacemaker/pcmk_sched_transition.c PCMK_RESOURCE_CLASS_SYSTEMD, PCMK_RESOURCE_CLASS_LSB, NULL)) { NULL 274 lib/pacemaker/pcmk_sched_transition.c return NULL; NULL 277 lib/pacemaker/pcmk_sched_transition.c && (rprovider == NULL)) { NULL 279 lib/pacemaker/pcmk_sched_transition.c return NULL; NULL 287 lib/pacemaker/pcmk_sched_transition.c if (lrm == NULL) { NULL 295 lib/pacemaker/pcmk_sched_transition.c if (container == NULL) { NULL 318 lib/pacemaker/pcmk_sched_transition.c xmlNode *xml_search = NULL; NULL 320 lib/pacemaker/pcmk_sched_transition.c char *xpath_string = NULL; NULL 322 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(ticket_state_xml != NULL); NULL 323 lib/pacemaker/pcmk_sched_transition.c *ticket_state_xml = NULL; NULL 360 lib/pacemaker/pcmk_sched_transition.c xmlNode *xml_top = NULL; NULL 361 lib/pacemaker/pcmk_sched_transition.c xmlNode *ticket_state_xml = NULL; NULL 372 lib/pacemaker/pcmk_sched_transition.c xmlNode *xml_obj = NULL; NULL 374 lib/pacemaker/pcmk_sched_transition.c xml_top = create_xml_node(NULL, XML_CIB_TAG_STATUS); NULL 398 lib/pacemaker/pcmk_sched_transition.c GList *gIter = NULL; NULL 400 lib/pacemaker/pcmk_sched_transition.c xmlNode *cib_op = NULL; NULL 401 lib/pacemaker/pcmk_sched_transition.c xmlNode *cib_node = NULL; NULL 402 lib/pacemaker/pcmk_sched_transition.c xmlNode *cib_resource = NULL; NULL 404 lib/pacemaker/pcmk_sched_transition.c lrmd_event_data_t *op = NULL; NULL 411 lib/pacemaker/pcmk_sched_transition.c xmlNode *top = create_xml_node(NULL, XML_TAG_CIB); NULL 416 lib/pacemaker/pcmk_sched_transition.c rc = cib->cmds->modify(cib, NULL, top, cib_sync_call | cib_scope_local); NULL 422 lib/pacemaker/pcmk_sched_transition.c XML_CIB_TAG_CRMCONFIG, NULL, NULL, NULL, NULL, NULL 423 lib/pacemaker/pcmk_sched_transition.c XML_ATTR_HAVE_WATCHDOG, watchdog, FALSE, NULL, NULL); NULL 428 lib/pacemaker/pcmk_sched_transition.c for (gIter = node_up; gIter != NULL; gIter = gIter->next) { NULL 434 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(cib_node != NULL); NULL 442 lib/pacemaker/pcmk_sched_transition.c for (gIter = node_down; gIter != NULL; gIter = gIter->next) { NULL 449 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(cib_node != NULL); NULL 457 lib/pacemaker/pcmk_sched_transition.c cib->cmds->remove(cib, xpath, NULL, NULL 462 lib/pacemaker/pcmk_sched_transition.c cib->cmds->remove(cib, xpath, NULL, NULL 467 lib/pacemaker/pcmk_sched_transition.c for (gIter = node_fail; gIter != NULL; gIter = gIter->next) { NULL 474 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(cib_node != NULL); NULL 482 lib/pacemaker/pcmk_sched_transition.c for (gIter = ticket_grant; gIter != NULL; gIter = gIter->next) { NULL 493 lib/pacemaker/pcmk_sched_transition.c for (gIter = ticket_revoke; gIter != NULL; gIter = gIter->next) { NULL 504 lib/pacemaker/pcmk_sched_transition.c for (gIter = ticket_standby; gIter != NULL; gIter = gIter->next) { NULL 515 lib/pacemaker/pcmk_sched_transition.c for (gIter = ticket_activate; gIter != NULL; gIter = gIter->next) { NULL 526 lib/pacemaker/pcmk_sched_transition.c for (gIter = op_inject; gIter != NULL; gIter = gIter->next) { NULL 533 lib/pacemaker/pcmk_sched_transition.c char *key = NULL; NULL 534 lib/pacemaker/pcmk_sched_transition.c char *node = NULL; NULL 535 lib/pacemaker/pcmk_sched_transition.c char *task = NULL; NULL 536 lib/pacemaker/pcmk_sched_transition.c char *resource = NULL; NULL 538 lib/pacemaker/pcmk_sched_transition.c const char *rtype = NULL; NULL 539 lib/pacemaker/pcmk_sched_transition.c const char *rclass = NULL; NULL 540 lib/pacemaker/pcmk_sched_transition.c const char *rprovider = NULL; NULL 542 lib/pacemaker/pcmk_sched_transition.c pe_resource_t *rsc = NULL; NULL 559 lib/pacemaker/pcmk_sched_transition.c if (rsc == NULL) { NULL 566 lib/pacemaker/pcmk_sched_transition.c cib_node = inject_node_state(cib, node, NULL); NULL 567 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(cib_node != NULL); NULL 573 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(cib_resource != NULL); NULL 576 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(op != NULL); NULL 579 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(cib_op != NULL); NULL 613 lib/pacemaker/pcmk_sched_transition.c GList *gIter = NULL; NULL 614 lib/pacemaker/pcmk_sched_transition.c lrmd_event_data_t *op = NULL; NULL 617 lib/pacemaker/pcmk_sched_transition.c const char *rtype = NULL; NULL 618 lib/pacemaker/pcmk_sched_transition.c const char *rclass = NULL; NULL 619 lib/pacemaker/pcmk_sched_transition.c const char *resource = NULL; NULL 620 lib/pacemaker/pcmk_sched_transition.c const char *rprovider = NULL; NULL 621 lib/pacemaker/pcmk_sched_transition.c const char *lrm_name = NULL; NULL 625 lib/pacemaker/pcmk_sched_transition.c xmlNode *cib_node = NULL; NULL 626 lib/pacemaker/pcmk_sched_transition.c xmlNode *cib_resource = NULL; NULL 633 lib/pacemaker/pcmk_sched_transition.c if (pcmk__strcase_any_of(operation, CRM_OP_PROBED, CRM_OP_REPROBE, NULL)) { NULL 638 lib/pacemaker/pcmk_sched_transition.c if (action_rsc == NULL) { NULL 649 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(resource != NULL); // makes static analysis happy NULL 651 lib/pacemaker/pcmk_sched_transition.c if (pe_find_resource(fake_resource_list, resource) == NULL) { NULL 659 lib/pacemaker/pcmk_sched_transition.c if (pcmk__strcase_any_of(operation, "delete", RSC_METADATA, NULL)) { NULL 670 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(fake_cib->cmds->query(fake_cib, NULL, NULL, cib_sync_call | cib_scope_local) == NULL 674 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(cib_node != NULL); NULL 678 lib/pacemaker/pcmk_sched_transition.c if (cib_resource == NULL) { NULL 689 lib/pacemaker/pcmk_sched_transition.c for (gIter = fake_op_fail_list; gIter != NULL; gIter = gIter->next) { NULL 691 lib/pacemaker/pcmk_sched_transition.c char *key = NULL; NULL 692 lib/pacemaker/pcmk_sched_transition.c const char *match_name = NULL; NULL 702 lib/pacemaker/pcmk_sched_transition.c if ((match_name == NULL) && strcmp(resource, lrm_name)) { NULL 711 lib/pacemaker/pcmk_sched_transition.c if (match_name != NULL) { NULL 773 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(cib_node != NULL); NULL 780 lib/pacemaker/pcmk_sched_transition.c fake_cib->cmds->remove(fake_cib, xpath, NULL, NULL 785 lib/pacemaker/pcmk_sched_transition.c fake_cib->cmds->remove(fake_cib, xpath, NULL, NULL 800 lib/pacemaker/pcmk_sched_transition.c crm_graph_t *transition = NULL; NULL 816 lib/pacemaker/pcmk_sched_transition.c out->begin_list(out, NULL, NULL, "Executing Cluster Transition"); NULL 828 lib/pacemaker/pcmk_sched_transition.c fake_resource_list = NULL; NULL 840 lib/pacemaker/pcmk_sched_transition.c xmlNode *cib_object = NULL; NULL 841 lib/pacemaker/pcmk_sched_transition.c int rc = fake_cib->cmds->query(fake_cib, NULL, &cib_object, cib_sync_call | cib_scope_local); NULL 39 lib/pacemaker/pcmk_sched_utilization.c if (s != NULL) { NULL 69 lib/pacemaker/pcmk_sched_utilization.c if (g_hash_table_lookup_extended(data->node1->details->utilization, key, NULL, NULL)) { NULL 109 lib/pacemaker/pcmk_sched_utilization.c const char *current = NULL; NULL 110 lib/pacemaker/pcmk_sched_utilization.c char *result = NULL; NULL 210 lib/pacemaker/pcmk_sched_utilization.c GList *gIter1 = NULL; NULL 215 lib/pacemaker/pcmk_sched_utilization.c for (; gIter1 != NULL; gIter1 = gIter1->next) { NULL 217 lib/pacemaker/pcmk_sched_utilization.c GList *gIter2 = NULL; NULL 225 lib/pacemaker/pcmk_sched_utilization.c for (; gIter2 != NULL; gIter2 = gIter2->next) { NULL 240 lib/pacemaker/pcmk_sched_utilization.c if (!existing && (rsc->children != NULL)) { NULL 253 lib/pacemaker/pcmk_sched_utilization.c GList *gIter = NULL; NULL 254 lib/pacemaker/pcmk_sched_utilization.c GList *all_rscs = NULL; NULL 262 lib/pacemaker/pcmk_sched_utilization.c for (gIter = all_rscs; gIter != NULL; gIter = gIter->next) { NULL 281 lib/pacemaker/pcmk_sched_utilization.c GList *gIter = NULL; NULL 283 lib/pacemaker/pcmk_sched_utilization.c if (rsc == NULL) { NULL 293 lib/pacemaker/pcmk_sched_utilization.c for (gIter = rsc->rsc_cons; gIter != NULL; gIter = gIter->next) { NULL 315 lib/pacemaker/pcmk_sched_utilization.c for (gIter = rsc->rsc_cons_lhs; gIter != NULL; gIter = gIter->next) { NULL 351 lib/pacemaker/pcmk_sched_utilization.c GList *colocated_rscs = NULL; NULL 353 lib/pacemaker/pcmk_sched_utilization.c pe_node_t *node = NULL; NULL 357 lib/pacemaker/pcmk_sched_utilization.c GHashTable *unallocated_utilization = NULL; NULL 360 lib/pacemaker/pcmk_sched_utilization.c pe_node_t *most_capable_node = NULL; NULL 365 lib/pacemaker/pcmk_sched_utilization.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 374 lib/pacemaker/pcmk_sched_utilization.c if (most_capable_node == NULL || NULL 383 lib/pacemaker/pcmk_sched_utilization.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 397 lib/pacemaker/pcmk_sched_utilization.c } else if (*prefer == NULL) { NULL 411 lib/pacemaker/pcmk_sched_utilization.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 435 lib/pacemaker/pcmk_sched_utilization.c group_variant_data_t *group_data = NULL; NULL 441 lib/pacemaker/pcmk_sched_utilization.c for (; gIter != NULL; gIter = gIter->next) { NULL 462 lib/pacemaker/pcmk_sched_utilization.c group_variant_data_t *group_data = NULL; NULL 468 lib/pacemaker/pcmk_sched_utilization.c for (; gIter != NULL; gIter = gIter->next) { NULL 21 lib/pacemaker/pcmk_sched_utils.c pe__location_t *new_con = NULL; NULL 23 lib/pacemaker/pcmk_sched_utils.c if (rsc == NULL || id == NULL) { NULL 25 lib/pacemaker/pcmk_sched_utils.c return NULL; NULL 27 lib/pacemaker/pcmk_sched_utils.c } else if (foo_node == NULL) { NULL 28 lib/pacemaker/pcmk_sched_utils.c CRM_CHECK(node_weight == 0, return NULL); NULL 32 lib/pacemaker/pcmk_sched_utils.c if (new_con != NULL) { NULL 35 lib/pacemaker/pcmk_sched_utils.c new_con->node_list_rh = NULL; NULL 50 lib/pacemaker/pcmk_sched_utils.c if (foo_node != NULL) { NULL 54 lib/pacemaker/pcmk_sched_utils.c new_con->node_list_rh = g_list_prepend(NULL, copy); NULL 67 lib/pacemaker/pcmk_sched_utils.c if (node == NULL) { NULL 98 lib/pacemaker/pcmk_sched_utils.c GHashTable *new_table = NULL; NULL 100 lib/pacemaker/pcmk_sched_utils.c pe_node_t *node = NULL; NULL 102 lib/pacemaker/pcmk_sched_utils.c if (nodes == NULL) { NULL 103 lib/pacemaker/pcmk_sched_utils.c return NULL; NULL 105 lib/pacemaker/pcmk_sched_utils.c new_table = pcmk__strkey_table(NULL, free); NULL 107 lib/pacemaker/pcmk_sched_utils.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 128 lib/pacemaker/pcmk_sched_utils.c GList *result = NULL; NULL 130 lib/pacemaker/pcmk_sched_utils.c for (const GList *gIter = list; gIter != NULL; gIter = gIter->next) { NULL 131 lib/pacemaker/pcmk_sched_utils.c pe_node_t *new_node = NULL; NULL 164 lib/pacemaker/pcmk_sched_utils.c if (a == NULL) { NULL 167 lib/pacemaker/pcmk_sched_utils.c if (b == NULL) { NULL 260 lib/pacemaker/pcmk_sched_utils.c rsc->allocated_to = NULL; NULL 277 lib/pacemaker/pcmk_sched_utils.c if (force == FALSE && chosen != NULL) { NULL 293 lib/pacemaker/pcmk_sched_utils.c chosen = NULL; NULL 304 lib/pacemaker/pcmk_sched_utils.c if (chosen == NULL) { NULL 305 lib/pacemaker/pcmk_sched_utils.c GList *gIter = NULL; NULL 311 lib/pacemaker/pcmk_sched_utils.c for (gIter = rsc->actions; gIter != NULL; gIter = gIter->next) { NULL 359 lib/pacemaker/pcmk_sched_utils.c const char *node_uname = NULL; NULL 360 lib/pacemaker/pcmk_sched_utils.c const char *node_uuid = NULL; NULL 361 lib/pacemaker/pcmk_sched_utils.c const char *desc = NULL; NULL 363 lib/pacemaker/pcmk_sched_utils.c if (action == NULL) { NULL 364 lib/pacemaker/pcmk_sched_utils.c crm_trace("%s%s: <NULL>", pre_text == NULL ? "" : pre_text, pre_text == NULL ? "" : ": "); NULL 369 lib/pacemaker/pcmk_sched_utils.c node_uname = NULL; NULL 370 lib/pacemaker/pcmk_sched_utils.c node_uuid = NULL; NULL 372 lib/pacemaker/pcmk_sched_utils.c } else if (action->node != NULL) { NULL 377 lib/pacemaker/pcmk_sched_utils.c node_uuid = NULL; NULL 395 lib/pacemaker/pcmk_sched_utils.c ((pre_text == NULL)? "" : pre_text), NULL 396 lib/pacemaker/pcmk_sched_utils.c ((pre_text == NULL)? "" : ": "), NULL 415 lib/pacemaker/pcmk_sched_utils.c ((pre_text == NULL)? "" : pre_text), NULL 416 lib/pacemaker/pcmk_sched_utils.c ((pre_text == NULL)? "" : ": "), NULL 426 lib/pacemaker/pcmk_sched_utils.c GList *gIter = NULL; NULL 431 lib/pacemaker/pcmk_sched_utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 440 lib/pacemaker/pcmk_sched_utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 458 lib/pacemaker/pcmk_sched_utils.c pe_node_t *node = NULL; NULL 460 lib/pacemaker/pcmk_sched_utils.c if (nodes == NULL) { NULL 465 lib/pacemaker/pcmk_sched_utils.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 478 lib/pacemaker/pcmk_sched_utils.c task, NULL, optional, TRUE, data_set); NULL 540 lib/pacemaker/pcmk_sched_utils.c pe_action_t *shutdown_op = custom_action(NULL, shutdown_id, CRM_OP_SHUTDOWN, NULL 552 lib/pacemaker/pcmk_sched_utils.c CRM_CHECK(transition_key != NULL, return NULL); NULL 564 lib/pacemaker/pcmk_sched_utils.c char *digest = NULL; NULL 565 lib/pacemaker/pcmk_sched_utils.c xmlNode *args_xml = NULL; NULL 567 lib/pacemaker/pcmk_sched_utils.c if (op->params == NULL) { NULL 571 lib/pacemaker/pcmk_sched_utils.c args_xml = create_xml_node(NULL, XML_TAG_PARAMS); NULL 613 lib/pacemaker/pcmk_sched_utils.c char *key = NULL; NULL 614 lib/pacemaker/pcmk_sched_utils.c char *magic = NULL; NULL 615 lib/pacemaker/pcmk_sched_utils.c char *op_id = NULL; NULL 616 lib/pacemaker/pcmk_sched_utils.c char *op_id_additional = NULL; NULL 617 lib/pacemaker/pcmk_sched_utils.c char *local_user_data = NULL; NULL 618 lib/pacemaker/pcmk_sched_utils.c const char *exit_reason = NULL; NULL 620 lib/pacemaker/pcmk_sched_utils.c xmlNode *xml_op = NULL; NULL 621 lib/pacemaker/pcmk_sched_utils.c const char *task = NULL; NULL 623 lib/pacemaker/pcmk_sched_utils.c CRM_CHECK(op != NULL, return NULL); NULL 642 lib/pacemaker/pcmk_sched_utils.c NULL)) { NULL 655 lib/pacemaker/pcmk_sched_utils.c CRM_LOG_ASSERT(n_type != NULL); NULL 656 lib/pacemaker/pcmk_sched_utils.c CRM_LOG_ASSERT(n_task != NULL); NULL 686 lib/pacemaker/pcmk_sched_utils.c if (xml_op == NULL) { NULL 690 lib/pacemaker/pcmk_sched_utils.c if (op->user_data == NULL) { NULL 699 lib/pacemaker/pcmk_sched_utils.c if(magic == NULL) { NULL 710 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_LRM_ATTR_EXIT_REASON, exit_reason == NULL ? "" : exit_reason); NULL 739 lib/pacemaker/pcmk_sched_utils.c if (pcmk__str_any_of(op->op_type, CRMD_ACTION_MIGRATE, CRMD_ACTION_MIGRATED, NULL)) { NULL 756 lib/pacemaker/pcmk_sched_utils.c op_id_additional = NULL; NULL 762 lib/pacemaker/pcmk_sched_utils.c op->user_data = NULL; NULL 774 lib/pacemaker/pcmk_sched_utils.c pcmk__output_t *out = NULL; NULL 775 lib/pacemaker/pcmk_sched_utils.c const char* argv[] = { "", NULL }; NULL 778 lib/pacemaker/pcmk_sched_utils.c { NULL, NULL, NULL } NULL 781 lib/pacemaker/pcmk_sched_utils.c pcmk__register_formats(NULL, formats); NULL 782 lib/pacemaker/pcmk_sched_utils.c rc = pcmk__output_new(&out, "log", NULL, (char**)argv); NULL 783 lib/pacemaker/pcmk_sched_utils.c if ((rc != pcmk_rc_ok) || (out == NULL)) { NULL 786 lib/pacemaker/pcmk_sched_utils.c return NULL; NULL 17 lib/pacemaker/pcmk_trans_graph.c crm_graph_functions_t *graph_fns = NULL; NULL 22 lib/pacemaker/pcmk_trans_graph.c GList *lpc = NULL; NULL 29 lib/pacemaker/pcmk_trans_graph.c for (lpc = synapse->inputs; lpc != NULL; lpc = lpc->next) { NULL 54 lib/pacemaker/pcmk_trans_graph.c GList *lpc = NULL; NULL 62 lib/pacemaker/pcmk_trans_graph.c for (lpc = synapse->actions; lpc != NULL; lpc = lpc->next) { NULL 95 lib/pacemaker/pcmk_trans_graph.c GList *lpc = NULL; NULL 97 lib/pacemaker/pcmk_trans_graph.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { NULL 122 lib/pacemaker/pcmk_trans_graph.c GList *lpc = NULL; NULL 130 lib/pacemaker/pcmk_trans_graph.c for (lpc = synapse->inputs; lpc != NULL; lpc = lpc->next) { NULL 145 lib/pacemaker/pcmk_trans_graph.c for (lpc = synapse->actions; synapse->ready && lpc != NULL; lpc = lpc->next) { NULL 168 lib/pacemaker/pcmk_trans_graph.c const char *id = NULL; NULL 173 lib/pacemaker/pcmk_trans_graph.c CRM_CHECK(id != NULL, return FALSE); NULL 185 lib/pacemaker/pcmk_trans_graph.c const char *task = NULL; NULL 188 lib/pacemaker/pcmk_trans_graph.c CRM_CHECK(task != NULL, return FALSE); NULL 206 lib/pacemaker/pcmk_trans_graph.c GList *lpc = NULL; NULL 208 lib/pacemaker/pcmk_trans_graph.c CRM_CHECK(synapse != NULL, return FALSE); NULL 214 lib/pacemaker/pcmk_trans_graph.c for (lpc = synapse->actions; lpc != NULL; lpc = lpc->next) { NULL 238 lib/pacemaker/pcmk_trans_graph.c GList *lpc = NULL; NULL 244 lib/pacemaker/pcmk_trans_graph.c if (graph_fns == NULL) { NULL 247 lib/pacemaker/pcmk_trans_graph.c if (graph == NULL) { NULL 259 lib/pacemaker/pcmk_trans_graph.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { NULL 273 lib/pacemaker/pcmk_trans_graph.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { NULL 24 lib/pacemaker/pcmk_trans_unpack.c crm_action_t *action = NULL; NULL 27 lib/pacemaker/pcmk_trans_unpack.c if (value == NULL) { NULL 30 lib/pacemaker/pcmk_trans_unpack.c return NULL; NULL 34 lib/pacemaker/pcmk_trans_unpack.c if (action == NULL) { NULL 37 lib/pacemaker/pcmk_trans_unpack.c return NULL; NULL 76 lib/pacemaker/pcmk_trans_unpack.c if (value != NULL) { NULL 94 lib/pacemaker/pcmk_trans_unpack.c const char *value = NULL; NULL 95 lib/pacemaker/pcmk_trans_unpack.c xmlNode *inputs = NULL; NULL 96 lib/pacemaker/pcmk_trans_unpack.c xmlNode *action_set = NULL; NULL 97 lib/pacemaker/pcmk_trans_unpack.c synapse_t *new_synapse = NULL; NULL 99 lib/pacemaker/pcmk_trans_unpack.c CRM_CHECK(xml_synapse != NULL, return NULL); NULL 109 lib/pacemaker/pcmk_trans_unpack.c return NULL); NULL 115 lib/pacemaker/pcmk_trans_unpack.c for (action_set = pcmk__xml_first_child(xml_synapse); action_set != NULL; NULL 120 lib/pacemaker/pcmk_trans_unpack.c xmlNode *action = NULL; NULL 122 lib/pacemaker/pcmk_trans_unpack.c for (action = pcmk__xml_first_child(action_set); action != NULL; NULL 126 lib/pacemaker/pcmk_trans_unpack.c if (new_action == NULL) { NULL 141 lib/pacemaker/pcmk_trans_unpack.c for (inputs = pcmk__xml_first_child(xml_synapse); inputs != NULL; NULL 145 lib/pacemaker/pcmk_trans_unpack.c xmlNode *trigger = NULL; NULL 147 lib/pacemaker/pcmk_trans_unpack.c for (trigger = pcmk__xml_first_child(inputs); trigger != NULL; NULL 149 lib/pacemaker/pcmk_trans_unpack.c xmlNode *input = NULL; NULL 151 lib/pacemaker/pcmk_trans_unpack.c for (input = pcmk__xml_first_child(trigger); input != NULL; NULL 155 lib/pacemaker/pcmk_trans_unpack.c if (new_input == NULL) { NULL 185 lib/pacemaker/pcmk_trans_unpack.c crm_graph_t *new_graph = NULL; NULL 186 lib/pacemaker/pcmk_trans_unpack.c const char *t_id = NULL; NULL 187 lib/pacemaker/pcmk_trans_unpack.c const char *time = NULL; NULL 188 lib/pacemaker/pcmk_trans_unpack.c xmlNode *synapse = NULL; NULL 204 lib/pacemaker/pcmk_trans_unpack.c if (xml_graph != NULL) { NULL 206 lib/pacemaker/pcmk_trans_unpack.c CRM_CHECK(t_id != NULL, free(new_graph); NULL 207 lib/pacemaker/pcmk_trans_unpack.c return NULL); NULL 211 lib/pacemaker/pcmk_trans_unpack.c CRM_CHECK(time != NULL, free(new_graph); NULL 212 lib/pacemaker/pcmk_trans_unpack.c return NULL); NULL 216 lib/pacemaker/pcmk_trans_unpack.c if (time == NULL) { NULL 224 lib/pacemaker/pcmk_trans_unpack.c if ((t_id == NULL) NULL 234 lib/pacemaker/pcmk_trans_unpack.c for (synapse = pcmk__xml_first_child(xml_graph); synapse != NULL; NULL 240 lib/pacemaker/pcmk_trans_unpack.c if (new_synapse != NULL) { NULL 270 lib/pacemaker/pcmk_trans_unpack.c while (synapse->actions != NULL) { NULL 277 lib/pacemaker/pcmk_trans_unpack.c while (synapse->inputs != NULL) { NULL 289 lib/pacemaker/pcmk_trans_unpack.c if (graph == NULL) { NULL 292 lib/pacemaker/pcmk_trans_unpack.c while (graph->synapses != NULL) { NULL 306 lib/pacemaker/pcmk_trans_unpack.c xmlNode *xop = NULL; NULL 307 lib/pacemaker/pcmk_trans_unpack.c lrmd_event_data_t *op = NULL; NULL 309 lib/pacemaker/pcmk_trans_unpack.c const char *name = NULL; NULL 310 lib/pacemaker/pcmk_trans_unpack.c const char *value = NULL; NULL 311 lib/pacemaker/pcmk_trans_unpack.c xmlNode *action_resource = NULL; NULL 313 lib/pacemaker/pcmk_trans_unpack.c CRM_CHECK(action != NULL, return NULL); NULL 314 lib/pacemaker/pcmk_trans_unpack.c CRM_CHECK(action->type == action_type_rsc, return NULL); NULL 317 lib/pacemaker/pcmk_trans_unpack.c CRM_CHECK(action_resource != NULL, crm_log_xml_warn(action->xml, "Bad"); NULL 318 lib/pacemaker/pcmk_trans_unpack.c return NULL); NULL 325 lib/pacemaker/pcmk_trans_unpack.c op->t_run = time(NULL); NULL 334 lib/pacemaker/pcmk_trans_unpack.c for (xop = pcmk__xml_first_child(resource); xop != NULL; NULL 65 lib/pacemaker/pcmk_trans_utils.c CRM_ASSERT(graph_fns != NULL); NULL 66 lib/pacemaker/pcmk_trans_utils.c CRM_ASSERT(graph_fns->rsc != NULL); NULL 67 lib/pacemaker/pcmk_trans_utils.c CRM_ASSERT(graph_fns->crmd != NULL); NULL 68 lib/pacemaker/pcmk_trans_utils.c CRM_ASSERT(graph_fns->pseudo != NULL); NULL 69 lib/pacemaker/pcmk_trans_utils.c CRM_ASSERT(graph_fns->stonith != NULL); NULL 111 lib/pacemaker/pcmk_trans_utils.c GList *sIter = NULL; NULL 113 lib/pacemaker/pcmk_trans_utils.c if (graph == NULL) { NULL 114 lib/pacemaker/pcmk_trans_utils.c return NULL; NULL 117 lib/pacemaker/pcmk_trans_utils.c for (sIter = graph->synapses; sIter != NULL; sIter = sIter->next) { NULL 118 lib/pacemaker/pcmk_trans_utils.c GList *aIter = NULL; NULL 121 lib/pacemaker/pcmk_trans_utils.c for (aIter = synapse->actions; aIter != NULL; aIter = aIter->next) { NULL 129 lib/pacemaker/pcmk_trans_utils.c return NULL; NULL 154 lib/pacemaker/pcmk_trans_utils.c char *pending = NULL; NULL 157 lib/pacemaker/pcmk_trans_utils.c for (GList *lpc = synapse->inputs; lpc != NULL; lpc = lpc->next) { NULL 166 lib/pacemaker/pcmk_trans_utils.c } else if (find_action(graph, input->id) != NULL) { NULL 171 lib/pacemaker/pcmk_trans_utils.c if (pending == NULL) { NULL 182 lib/pacemaker/pcmk_trans_utils.c for (GList *lpc = synapse->inputs; lpc != NULL; lpc = lpc->next) { NULL 187 lib/pacemaker/pcmk_trans_utils.c if (find_action(graph, input->id) == NULL) { NULL 216 lib/pacemaker/pcmk_trans_utils.c char *pending = NULL; NULL 221 lib/pacemaker/pcmk_trans_utils.c for (GList *lpc = synapse->actions; lpc != NULL; lpc = lpc->next) { NULL 234 lib/pacemaker/pcmk_trans_utils.c print_synapse(log_level, NULL, action->synapse); NULL 240 lib/pacemaker/pcmk_trans_utils.c GList *lpc = NULL; NULL 242 lib/pacemaker/pcmk_trans_utils.c if (graph == NULL || graph->num_actions == 0) { NULL 254 lib/pacemaker/pcmk_trans_utils.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { NULL 283 lib/pacemaker/pcmk_trans_utils.c if (graph == NULL) { NULL 290 lib/pacemaker/pcmk_trans_utils.c if (graph->abort_reason != NULL) { NULL 35 lib/pengine/bundle.c return NULL; NULL 38 lib/pengine/bundle.c return NULL; NULL 55 lib/pengine/bundle.c if(data->ip_range_start == NULL) { NULL 86 lib/pengine/bundle.c xmlNode *rsc = create_xml_node(NULL, XML_CIB_TAG_RESOURCE); NULL 130 lib/pengine/bundle.c char *id = NULL; NULL 131 lib/pengine/bundle.c xmlNode *xml_ip = NULL; NULL 132 lib/pengine/bundle.c xmlNode *xml_obj = NULL; NULL 143 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "ip", replica->ipaddr); NULL 145 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "nic", data->host_network); NULL 149 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, NULL 153 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "cidr_netmask", "32"); NULL 157 lib/pengine/bundle.c crm_create_op_xml(xml_obj, ID(xml_ip), "monitor", "60s", NULL); NULL 181 lib/pengine/bundle.c char *id = NULL; NULL 182 lib/pengine/bundle.c xmlNode *xml_container = NULL; NULL 183 lib/pengine/bundle.c xmlNode *xml_obj = NULL; NULL 195 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "image", data->image); NULL 196 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "allow_pull", XML_BOOLEAN_TRUE); NULL 197 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "force_kill", XML_BOOLEAN_FALSE); NULL 198 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "reuse", XML_BOOLEAN_FALSE); NULL 207 lib/pengine/bundle.c if (data->ip_range_start != NULL) { NULL 229 lib/pengine/bundle.c for(GList *pIter = data->mounts; pIter != NULL; pIter = pIter->next) { NULL 251 lib/pengine/bundle.c for(GList *pIter = data->ports; pIter != NULL; pIter = pIter->next) { NULL 274 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_opts", buffer); NULL 277 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "mount_points", dbuffer); NULL 282 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, NULL 285 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, NULL 294 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", "/bin/true"); NULL 302 lib/pengine/bundle.c } else if ((child != NULL) && data->untrusted) { NULL 303 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_cmd", NULL 305 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", NULL 310 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, NULL 319 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", "/bin/true"); NULL 324 lib/pengine/bundle.c crm_create_op_xml(xml_obj, ID(xml_container), "monitor", "60s", NULL); NULL 345 lib/pengine/bundle.c char *id = NULL; NULL 346 lib/pengine/bundle.c xmlNode *xml_container = NULL; NULL 347 lib/pengine/bundle.c xmlNode *xml_obj = NULL; NULL 359 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "image", data->image); NULL 360 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "allow_pull", XML_BOOLEAN_TRUE); NULL 361 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "force_kill", XML_BOOLEAN_FALSE); NULL 362 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "reuse", XML_BOOLEAN_FALSE); NULL 372 lib/pengine/bundle.c if (data->ip_range_start != NULL) { NULL 395 lib/pengine/bundle.c for(GList *pIter = data->mounts; pIter != NULL; pIter = pIter->next) { NULL 417 lib/pengine/bundle.c for(GList *pIter = data->ports; pIter != NULL; pIter = pIter->next) { NULL 440 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_opts", buffer); NULL 443 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "mount_points", dbuffer); NULL 448 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, NULL 451 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, NULL 460 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", "/bin/true"); NULL 468 lib/pengine/bundle.c } else if ((child != NULL) && data->untrusted) { NULL 469 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_cmd", NULL 471 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", NULL 476 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, NULL 485 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", "/bin/true"); NULL 490 lib/pengine/bundle.c crm_create_op_xml(xml_obj, ID(xml_container), "monitor", "60s", NULL); NULL 511 lib/pengine/bundle.c char *id = NULL; NULL 512 lib/pengine/bundle.c xmlNode *xml_container = NULL; NULL 513 lib/pengine/bundle.c xmlNode *xml_obj = NULL; NULL 527 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "image", data->image); NULL 528 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "allow_pull", "true"); NULL 529 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "force_kill", "false"); NULL 530 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "reuse", "false"); NULL 537 lib/pengine/bundle.c if (data->ip_range_start != NULL) { NULL 559 lib/pengine/bundle.c for(GList *pIter = data->mounts; pIter != NULL; pIter = pIter->next) { NULL 587 lib/pengine/bundle.c for(GList *pIter = data->ports; pIter != NULL; pIter = pIter->next) { NULL 609 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_opts", buffer); NULL 612 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "mount_points", dbuffer); NULL 617 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_cmd", NULL 620 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_cmd", NULL 629 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", "/bin/true"); NULL 637 lib/pengine/bundle.c } else if ((child != NULL) && data->untrusted) { NULL 638 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_cmd", NULL 640 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", NULL 645 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_cmd", NULL 654 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", "/bin/true"); NULL 659 lib/pengine/bundle.c crm_create_op_xml(xml_obj, ID(xml_container), "monitor", "60s", NULL); NULL 688 lib/pengine/bundle.c for (child = rsc->children; child != NULL; child = child->next) { NULL 701 lib/pengine/bundle.c GList *rsc_iter = NULL; NULL 702 lib/pengine/bundle.c pe_node_t *node = NULL; NULL 703 lib/pengine/bundle.c xmlNode *xml_remote = NULL; NULL 705 lib/pengine/bundle.c char *port_s = NULL; NULL 706 lib/pengine/bundle.c const char *uname = NULL; NULL 707 lib/pengine/bundle.c const char *connect_name = NULL; NULL 709 lib/pengine/bundle.c if (pe_find_resource(data_set->resources, id) != NULL) { NULL 715 lib/pengine/bundle.c CRM_ASSERT(pe_find_resource(data_set->resources, id) == NULL); NULL 724 lib/pengine/bundle.c if (data->control_port == NULL) { NULL 733 lib/pengine/bundle.c xml_remote = pe_create_remote_xml(NULL, id, replica->container->id, NULL 734 lib/pengine/bundle.c NULL, NULL, NULL, NULL 744 lib/pengine/bundle.c id = NULL; NULL 752 lib/pengine/bundle.c if (node == NULL) { NULL 786 lib/pengine/bundle.c if (replica->child->allowed_nodes != NULL) { NULL 789 lib/pengine/bundle.c replica->child->allowed_nodes = pcmk__strkey_table(NULL, free); NULL 805 lib/pengine/bundle.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&node)) { NULL 925 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 927 lib/pengine/bundle.c if (top == NULL) { NULL 928 lib/pengine/bundle.c return NULL; NULL 931 lib/pengine/bundle.c while (top->parent != NULL) { NULL 936 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 945 lib/pengine/bundle.c return NULL; NULL 952 lib/pengine/bundle.c GHashTable *params = NULL; NULL 954 lib/pengine/bundle.c if (rsc == NULL) { NULL 959 lib/pengine/bundle.c params = pe_rsc_params(rsc, NULL, data_set); NULL 972 lib/pengine/bundle.c pe_node_t *node = NULL; NULL 973 lib/pengine/bundle.c pe__bundle_replica_t *replica = NULL; NULL 976 lib/pengine/bundle.c return NULL; NULL 980 lib/pengine/bundle.c if (replica == NULL) { NULL 981 lib/pengine/bundle.c return NULL; NULL 985 lib/pengine/bundle.c if (node == NULL) { NULL 992 lib/pengine/bundle.c if(node == NULL) { NULL 994 lib/pengine/bundle.c return NULL; NULL 999 lib/pengine/bundle.c if(xml != NULL && field != NULL) { NULL 1015 lib/pengine/bundle.c const char *value = NULL; NULL 1016 lib/pengine/bundle.c xmlNode *xml_obj = NULL; NULL 1017 lib/pengine/bundle.c xmlNode *xml_resource = NULL; NULL 1018 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 1021 lib/pengine/bundle.c CRM_ASSERT(rsc != NULL); NULL 1029 lib/pengine/bundle.c if (xml_obj != NULL) { NULL 1033 lib/pengine/bundle.c if (xml_obj != NULL) { NULL 1037 lib/pengine/bundle.c if (xml_obj != NULL) { NULL 1047 lib/pengine/bundle.c if (value == NULL) { NULL 1055 lib/pengine/bundle.c if ((value == NULL) && (bundle_data->promoted_max > 0)) { NULL 1089 lib/pengine/bundle.c for (xmlNode *xml_child = pcmk__xe_first_child(xml_obj); xml_child != NULL; NULL 1095 lib/pengine/bundle.c if(port->source == NULL) { NULL 1101 lib/pengine/bundle.c if(port->source != NULL && strlen(port->source) > 0) { NULL 1102 lib/pengine/bundle.c if(port->target == NULL) { NULL 1115 lib/pengine/bundle.c for (xmlNode *xml_child = pcmk__xe_first_child(xml_obj); xml_child != NULL; NULL 1123 lib/pengine/bundle.c if (source == NULL) { NULL 1141 lib/pengine/bundle.c char *value = NULL; NULL 1142 lib/pengine/bundle.c xmlNode *xml_set = NULL; NULL 1144 lib/pengine/bundle.c xml_resource = create_xml_node(NULL, XML_CIB_TAG_INCARNATION); NULL 1157 lib/pengine/bundle.c crm_create_nvpair_xml(xml_set, NULL, NULL 1161 lib/pengine/bundle.c crm_create_nvpair_xml(xml_set, NULL, NULL 1166 lib/pengine/bundle.c crm_create_nvpair_xml(xml_set, NULL, NULL 1170 lib/pengine/bundle.c crm_create_nvpair_xml(xml_set, NULL, XML_RSC_ATTR_UNIQUE, NULL 1174 lib/pengine/bundle.c crm_create_nvpair_xml(xml_set, NULL, NULL 1178 lib/pengine/bundle.c crm_create_nvpair_xml(xml_set, NULL, NULL 1194 lib/pengine/bundle.c GList *childIter = NULL; NULL 1195 lib/pengine/bundle.c pe_resource_t *new_rsc = NULL; NULL 1196 lib/pengine/bundle.c pe__bundle_port_t *port = NULL; NULL 1199 lib/pengine/bundle.c char *buffer = NULL; NULL 1203 lib/pengine/bundle.c if (new_rsc != NULL && new_rsc->fns != NULL) { NULL 1233 lib/pengine/bundle.c DEFAULT_REMOTE_KEY_LOCATION, NULL, pe__bundle_mount_none); NULL 1236 lib/pengine/bundle.c mount_add(bundle_data, CRM_BUNDLE_DIR, "/var/log", NULL, NULL 1258 lib/pengine/bundle.c for (childIter = bundle_data->child->children; childIter != NULL; NULL 1305 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 1340 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 1341 lib/pengine/bundle.c GList *iter = NULL; NULL 1344 lib/pengine/bundle.c for (iter = bundle_data->replicas; iter != NULL; iter = iter->next) { NULL 1388 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 1392 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 1401 lib/pengine/bundle.c return NULL; NULL 1408 lib/pengine/bundle.c if (rsc != NULL) { NULL 1436 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 1437 lib/pengine/bundle.c char *child_text = NULL; NULL 1438 lib/pengine/bundle.c CRM_CHECK(rsc != NULL, return); NULL 1440 lib/pengine/bundle.c if (pre_text == NULL) { NULL 1456 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 1481 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 1486 lib/pengine/bundle.c CRM_ASSERT(rsc != NULL); NULL 1496 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 1508 lib/pengine/bundle.c print_ip = replica->ip != NULL && NULL 1510 lib/pengine/bundle.c print_child = replica->child != NULL && NULL 1513 lib/pengine/bundle.c print_remote = replica->remote != NULL && NULL 1576 lib/pengine/bundle.c if(rsc == NULL) { NULL 1604 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 1609 lib/pengine/bundle.c CRM_ASSERT(rsc != NULL); NULL 1619 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 1630 lib/pengine/bundle.c print_ip = replica->ip != NULL && NULL 1632 lib/pengine/bundle.c print_child = replica->child != NULL && NULL 1635 lib/pengine/bundle.c print_remote = replica->remote != NULL && NULL 1650 lib/pengine/bundle.c pcmk__output_create_xml_node(out, "br", NULL); NULL 1659 lib/pengine/bundle.c pcmk__output_xml_create_parent(out, "li", NULL); NULL 1665 lib/pengine/bundle.c pcmk__output_create_xml_node(out, "br", NULL); NULL 1666 lib/pengine/bundle.c out->begin_list(out, NULL, NULL, NULL); NULL 1718 lib/pengine/bundle.c if(rsc == NULL) { NULL 1746 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 1752 lib/pengine/bundle.c CRM_ASSERT(rsc != NULL); NULL 1760 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 1771 lib/pengine/bundle.c print_ip = replica->ip != NULL && NULL 1773 lib/pengine/bundle.c print_child = replica->child != NULL && NULL 1776 lib/pengine/bundle.c print_remote = replica->remote != NULL && NULL 1796 lib/pengine/bundle.c out->list_item(out, NULL, "Replica[%d]", replica->offset); NULL 1799 lib/pengine/bundle.c out->begin_list(out, NULL, NULL, NULL); NULL 1844 lib/pengine/bundle.c pe_node_t *node = NULL; NULL 1850 lib/pengine/bundle.c if(rsc == NULL) { NULL 1874 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 1875 lib/pengine/bundle.c char *child_text = NULL; NULL 1876 lib/pengine/bundle.c CRM_CHECK(rsc != NULL, return); NULL 1885 lib/pengine/bundle.c if (pre_text == NULL) { NULL 1899 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 1941 lib/pengine/bundle.c if (replica == NULL) { NULL 1947 lib/pengine/bundle.c replica->node = NULL; NULL 1952 lib/pengine/bundle.c replica->ip->xml = NULL; NULL 1954 lib/pengine/bundle.c replica->ip = NULL; NULL 1958 lib/pengine/bundle.c replica->container->xml = NULL; NULL 1960 lib/pengine/bundle.c replica->container = NULL; NULL 1964 lib/pengine/bundle.c replica->remote->xml = NULL; NULL 1966 lib/pengine/bundle.c replica->remote = NULL; NULL 1975 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 1976 lib/pengine/bundle.c CRM_CHECK(rsc != NULL, return); NULL 2000 lib/pengine/bundle.c bundle_data->child->xml = NULL; NULL 2023 lib/pengine/bundle.c if ((rsc == NULL) || (rsc->variant != pe_container)) { NULL 2026 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 2036 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 2039 lib/pengine/bundle.c for (GList *item = bundle_data->replicas; item != NULL; item = item->next) { NULL 2061 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 2068 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; gIter = gIter->next) { NULL 2071 lib/pengine/bundle.c if (replica->ip != NULL && !replica->ip->fns->is_filtered(replica->ip, only_rsc, FALSE)) { NULL 2074 lib/pengine/bundle.c } else if (replica->child != NULL && !replica->child->fns->is_filtered(replica->child, only_rsc, FALSE)) { NULL 2080 lib/pengine/bundle.c } else if (replica->remote != NULL && !replica->remote->fns->is_filtered(replica->remote, only_rsc, FALSE)) { NULL 35 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 52 lib/pengine/clone.c char *child_id = NULL; NULL 53 lib/pengine/clone.c pe_resource_t *child = NULL; NULL 54 lib/pengine/clone.c const char *child_base = NULL; NULL 55 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 71 lib/pengine/clone.c char *inc_num = NULL; NULL 72 lib/pengine/clone.c char *inc_max = NULL; NULL 73 lib/pengine/clone.c pe_resource_t *child_rsc = NULL; NULL 74 lib/pengine/clone.c xmlNode *child_copy = NULL; NULL 75 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 79 lib/pengine/clone.c CRM_CHECK(clone_data->xml_obj_child != NULL, return FALSE); NULL 96 lib/pengine/clone.c child_rsc = NULL; NULL 123 lib/pengine/clone.c xmlNode *a_child = NULL; NULL 125 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 137 lib/pengine/clone.c const char *promoted_max = NULL; NULL 138 lib/pengine/clone.c const char *promoted_node_max = NULL; NULL 142 lib/pengine/clone.c if (promoted_max == NULL) { NULL 150 lib/pengine/clone.c if (promoted_node_max == NULL) { NULL 157 lib/pengine/clone.c if (promoted_max == NULL) { NULL 164 lib/pengine/clone.c if (promoted_node_max == NULL) { NULL 176 lib/pengine/clone.c if (max_clones_node == NULL) { NULL 185 lib/pengine/clone.c if (max_clones == NULL) { NULL 209 lib/pengine/clone.c for (a_child = pcmk__xe_first_child(xml_obj); a_child != NULL; NULL 212 lib/pengine/clone.c if (pcmk__str_any_of((const char *)a_child->name, XML_CIB_TAG_RESOURCE, XML_CIB_TAG_GROUP, NULL)) { NULL 218 lib/pengine/clone.c if (clone_data->xml_obj_child == NULL) { NULL 229 lib/pengine/clone.c if (g_hash_table_lookup(rsc->meta, XML_RSC_ATTR_STICKINESS) == NULL) { NULL 243 lib/pengine/clone.c if (pe__create_clone_child(rsc, data_set) == NULL) { NULL 250 lib/pengine/clone.c if (pe__create_clone_child(rsc, data_set) == NULL) { NULL 265 lib/pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 286 lib/pengine/clone.c if(suffix == NULL) { NULL 314 lib/pengine/clone.c if ((target_role == NULL) && rsc->children && rsc->children->data) { NULL 353 lib/pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 376 lib/pengine/clone.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 396 lib/pengine/clone.c char *list_text = NULL; NULL 397 lib/pengine/clone.c char *child_text = NULL; NULL 398 lib/pengine/clone.c char *stopped_list = NULL; NULL 402 lib/pengine/clone.c GList *promoted_list = NULL; NULL 403 lib/pengine/clone.c GList *started_list = NULL; NULL 406 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 409 lib/pengine/clone.c if (pre_text == NULL) { NULL 435 lib/pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 453 lib/pengine/clone.c && (child_rsc->pending_task != NULL) NULL 475 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); NULL 522 lib/pengine/clone.c short_print(list_text, child_text, PROMOTED_INSTANCES, NULL, options, NULL 526 lib/pengine/clone.c list_text = NULL; NULL 543 lib/pengine/clone.c UNPROMOTED_INSTANCES " (target-role)", NULL, options, NULL 546 lib/pengine/clone.c short_print(list_text, child_text, UNPROMOTED_INSTANCES, NULL, NULL 551 lib/pengine/clone.c short_print(list_text, child_text, "Started", NULL, options, print_data); NULL 556 lib/pengine/clone.c list_text = NULL; NULL 575 lib/pengine/clone.c stopped_list = NULL; NULL 578 lib/pengine/clone.c if (list == NULL) { NULL 586 lib/pengine/clone.c for (nIter = list; nIter != NULL; nIter = nIter->next) { NULL 589 lib/pengine/clone.c if (pe_find_node(rsc->running_on, node->details->uname) == NULL) { NULL 597 lib/pengine/clone.c short_print(stopped_list, child_text, state, NULL, options, print_data); NULL 627 lib/pengine/clone.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(only_rsc, rsc->id)); NULL 629 lib/pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 675 lib/pengine/clone.c char *list_text = NULL; NULL 676 lib/pengine/clone.c char *stopped_list = NULL; NULL 680 lib/pengine/clone.c GList *promoted_list = NULL; NULL 681 lib/pengine/clone.c GList *started_list = NULL; NULL 684 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 696 lib/pengine/clone.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(only_rsc, rsc->id)); NULL 698 lib/pengine/clone.c out->begin_list(out, NULL, NULL, "Clone Set: %s [%s]%s%s%s%s", NULL 706 lib/pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 732 lib/pengine/clone.c && (child_rsc->pending_task != NULL) NULL 754 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); NULL 782 lib/pengine/clone.c GList *all = NULL; NULL 811 lib/pengine/clone.c if (list_text != NULL) { NULL 812 lib/pengine/clone.c out->list_item(out, NULL, PROMOTED_INSTANCES ": [ %s ]", list_text); NULL 815 lib/pengine/clone.c list_text = NULL; NULL 832 lib/pengine/clone.c if (list_text != NULL) { NULL 837 lib/pengine/clone.c out->list_item(out, NULL, NULL 841 lib/pengine/clone.c out->list_item(out, NULL, UNPROMOTED_INSTANCES ": [ %s ]", NULL 846 lib/pengine/clone.c out->list_item(out, NULL, "Started: [ %s ]", list_text); NULL 851 lib/pengine/clone.c list_text = NULL; NULL 871 lib/pengine/clone.c stopped_list = NULL; NULL 874 lib/pengine/clone.c if (list == NULL) { NULL 882 lib/pengine/clone.c for (nIter = list; nIter != NULL; nIter = nIter->next) { NULL 885 lib/pengine/clone.c if (pe_find_node(rsc->running_on, node->details->uname) == NULL && NULL 894 lib/pengine/clone.c if (stopped_list != NULL) { NULL 895 lib/pengine/clone.c out->list_item(out, NULL, "%s: [ %s ]", state, stopped_list); NULL 915 lib/pengine/clone.c char *list_text = NULL; NULL 916 lib/pengine/clone.c char *stopped_list = NULL; NULL 920 lib/pengine/clone.c GList *promoted_list = NULL; NULL 921 lib/pengine/clone.c GList *started_list = NULL; NULL 924 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 936 lib/pengine/clone.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(only_rsc, rsc->id)); NULL 938 lib/pengine/clone.c out->begin_list(out, NULL, NULL, "Clone Set: %s [%s]%s%s%s%s", NULL 946 lib/pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 972 lib/pengine/clone.c && (child_rsc->pending_task != NULL) NULL 994 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); NULL 1022 lib/pengine/clone.c GList *all = NULL; NULL 1051 lib/pengine/clone.c if (list_text != NULL) { NULL 1055 lib/pengine/clone.c list_text = NULL; NULL 1072 lib/pengine/clone.c if (list_text != NULL) { NULL 1088 lib/pengine/clone.c list_text = NULL; NULL 1107 lib/pengine/clone.c stopped_list = NULL; NULL 1110 lib/pengine/clone.c if (list == NULL) { NULL 1118 lib/pengine/clone.c for (nIter = list; nIter != NULL; nIter = nIter->next) { NULL 1121 lib/pengine/clone.c if (pe_find_node(rsc->running_on, node->details->uname) == NULL && NULL 1130 lib/pengine/clone.c if (stopped_list != NULL) { NULL 1144 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 1150 lib/pengine/clone.c for (GList *gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 1156 lib/pengine/clone.c child_rsc->xml = NULL; NULL 1159 lib/pengine/clone.c child_rsc->orig_xml = NULL; NULL 1166 lib/pengine/clone.c CRM_ASSERT(clone_data->demote_notify == NULL); NULL 1167 lib/pengine/clone.c CRM_ASSERT(clone_data->stop_notify == NULL); NULL 1168 lib/pengine/clone.c CRM_ASSERT(clone_data->start_notify == NULL); NULL 1169 lib/pengine/clone.c CRM_ASSERT(clone_data->promote_notify == NULL); NULL 1181 lib/pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1206 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 1220 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 1229 lib/pengine/clone.c for (GList *gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 27 lib/pengine/common.c "migrate-on-red", NULL); NULL 33 lib/pengine/common.c return pcmk__strcase_any_of(value, "reboot", "poweroff", "off", NULL); NULL 40 lib/pengine/common.c "balanced", NULL); NULL 50 lib/pengine/common.c "no-quorum-policy", NULL, "enum", "stop, freeze, ignore, demote, suicide", NULL 53 lib/pengine/common.c NULL NULL 56 lib/pengine/common.c "symmetric-cluster", NULL, "boolean", NULL, NULL 59 lib/pengine/common.c NULL NULL 62 lib/pengine/common.c "maintenance-mode", NULL, "boolean", NULL, NULL 66 lib/pengine/common.c NULL NULL 69 lib/pengine/common.c "start-failure-is-fatal", NULL, "boolean", NULL, NULL 78 lib/pengine/common.c "enable-startup-probes", NULL, "boolean", NULL, NULL 81 lib/pengine/common.c NULL NULL 84 lib/pengine/common.c XML_CONFIG_ATTR_SHUTDOWN_LOCK, NULL, "boolean", NULL, NULL 96 lib/pengine/common.c XML_CONFIG_ATTR_SHUTDOWN_LOCK_LIMIT, NULL, "time", NULL, NULL 106 lib/pengine/common.c "stonith-enabled", NULL, "boolean", NULL, NULL 116 lib/pengine/common.c "stonith-action", NULL, "enum", "reboot, off, poweroff", NULL 120 lib/pengine/common.c NULL NULL 123 lib/pengine/common.c "stonith-timeout", NULL, "time", NULL, NULL 130 lib/pengine/common.c XML_ATTR_HAVE_WATCHDOG, NULL, "boolean", NULL, NULL 141 lib/pengine/common.c "concurrent-fencing", NULL, "boolean", NULL, NULL 144 lib/pengine/common.c NULL NULL 147 lib/pengine/common.c "startup-fencing", NULL, "boolean", NULL, NULL 154 lib/pengine/common.c XML_CONFIG_ATTR_PRIORITY_FENCING_DELAY, NULL, "time", NULL, NULL 172 lib/pengine/common.c "cluster-delay", NULL, "time", NULL, NULL 182 lib/pengine/common.c "batch-limit", NULL, "integer", NULL, NULL 192 lib/pengine/common.c "migration-limit", NULL, "integer", NULL, NULL 200 lib/pengine/common.c "stop-all-resources", NULL, "boolean", NULL, NULL 203 lib/pengine/common.c NULL NULL 206 lib/pengine/common.c "stop-orphan-resources", NULL, "boolean", NULL, NULL 209 lib/pengine/common.c NULL NULL 212 lib/pengine/common.c "stop-orphan-actions", NULL, "boolean", NULL, NULL 215 lib/pengine/common.c NULL NULL 218 lib/pengine/common.c "remove-after-stop", NULL, "boolean", NULL, NULL 228 lib/pengine/common.c "pe-error-series-max", NULL, "integer", NULL, NULL 234 lib/pengine/common.c "pe-warn-series-max", NULL, "integer", NULL, NULL 240 lib/pengine/common.c "pe-input-series-max", NULL, "integer", NULL, NULL 248 lib/pengine/common.c "node-health-strategy", NULL, "enum", NULL 257 lib/pengine/common.c "node-health-base", NULL, "integer", NULL, NULL 263 lib/pengine/common.c "node-health-green", NULL, "integer", NULL, NULL 269 lib/pengine/common.c "node-health-yellow", NULL, "integer", NULL, NULL 275 lib/pengine/common.c "node-health-red", NULL, "integer", NULL, NULL 283 lib/pengine/common.c "placement-strategy", NULL, "enum", NULL 287 lib/pengine/common.c NULL NULL 490 lib/pengine/common.c CRM_ASSERT(role != NULL); NULL 496 lib/pengine/common.c RSC_ROLE_UNPROMOTED_LEGACY_S, NULL)) { NULL 499 lib/pengine/common.c RSC_ROLE_PROMOTED_LEGACY_S, NULL)) { NULL 581 lib/pengine/common.c CRM_CHECK(hash != NULL, return); NULL 584 lib/pengine/common.c if (name == NULL || value == NULL) { NULL 590 lib/pengine/common.c } else if (g_hash_table_lookup(hash, name) == NULL) { NULL 601 lib/pengine/common.c if(node == NULL) { NULL 602 lib/pengine/common.c return NULL; NULL 604 lib/pengine/common.c } else if(rsc == NULL) { NULL 609 lib/pengine/common.c if(source == NULL || !pcmk__str_eq("host", source, pcmk__str_casei)) { NULL 631 lib/pengine/common.c return NULL; NULL 637 lib/pengine/common.c if(node == NULL) { NULL 638 lib/pengine/common.c return NULL; NULL 105 lib/pengine/complex.c if (p == NULL) { NULL 111 lib/pengine/complex.c while(p != NULL) { NULL 114 lib/pengine/complex.c rule_data, parent_orig_meta, NULL, FALSE, data_set); NULL 119 lib/pengine/complex.c if (parent_orig_meta != NULL) { NULL 121 lib/pengine/complex.c char *key = NULL; NULL 122 lib/pengine/complex.c char *value = NULL; NULL 132 lib/pengine/complex.c if (parent_orig_meta != NULL) { NULL 150 lib/pengine/complex.c .node_hash = NULL, NULL 153 lib/pengine/complex.c .match_data = NULL, NULL 155 lib/pengine/complex.c .op_data = NULL NULL 162 lib/pengine/complex.c for (xmlAttrPtr a = pcmk__xe_first_attr(rsc->xml); a != NULL; a = a->next) { NULL 170 lib/pengine/complex.c meta_hash, NULL, FALSE, data_set); NULL 174 lib/pengine/complex.c if (rsc->parent != NULL) { NULL 180 lib/pengine/complex.c &rule_data, meta_hash, NULL, FALSE, data_set); NULL 194 lib/pengine/complex.c .node_hash = NULL, NULL 197 lib/pengine/complex.c .match_data = NULL, NULL 198 lib/pengine/complex.c .rsc_data = NULL, NULL 199 lib/pengine/complex.c .op_data = NULL NULL 207 lib/pengine/complex.c meta_hash, NULL, FALSE, data_set); NULL 210 lib/pengine/complex.c if (rsc->parent != NULL) { NULL 216 lib/pengine/complex.c &rule_data, meta_hash, NULL, FALSE, data_set); NULL 226 lib/pengine/complex.c .node_hash = (node == NULL)? NULL : node->details->attrs, NULL 229 lib/pengine/complex.c .match_data = NULL, NULL 230 lib/pengine/complex.c .rsc_data = NULL, NULL 231 lib/pengine/complex.c .op_data = NULL NULL 235 lib/pengine/complex.c &rule_data, meta_hash, NULL); NULL 238 lib/pengine/complex.c if (rsc->parent != NULL) { NULL 245 lib/pengine/complex.c NULL); NULL 255 lib/pengine/complex.c char *key = NULL; NULL 257 lib/pengine/complex.c if ((role == NULL) NULL 259 lib/pengine/complex.c RSC_ROLE_UNPROMOTED_LEGACY_S, NULL)) { NULL 270 lib/pengine/complex.c xmlNode *cib_resources = NULL; NULL 271 lib/pengine/complex.c xmlNode *template = NULL; NULL 272 lib/pengine/complex.c xmlNode *new_xml = NULL; NULL 273 lib/pengine/complex.c xmlNode *child_xml = NULL; NULL 274 lib/pengine/complex.c xmlNode *rsc_ops = NULL; NULL 275 lib/pengine/complex.c xmlNode *template_ops = NULL; NULL 276 lib/pengine/complex.c const char *template_ref = NULL; NULL 277 lib/pengine/complex.c const char *clone = NULL; NULL 278 lib/pengine/complex.c const char *id = NULL; NULL 280 lib/pengine/complex.c if (xml_obj == NULL) { NULL 286 lib/pengine/complex.c if (template_ref == NULL) { NULL 291 lib/pengine/complex.c if (id == NULL) { NULL 302 lib/pengine/complex.c if (cib_resources == NULL) { NULL 309 lib/pengine/complex.c if (template == NULL) { NULL 325 lib/pengine/complex.c for (child_xml = pcmk__xe_first_child(xml_obj); child_xml != NULL; NULL 327 lib/pengine/complex.c xmlNode *new_child = NULL; NULL 337 lib/pengine/complex.c xmlNode *op = NULL; NULL 338 lib/pengine/complex.c GHashTable *rsc_ops_hash = pcmk__strkey_table(free, NULL); NULL 340 lib/pengine/complex.c for (op = pcmk__xe_first_child(rsc_ops); op != NULL; NULL 348 lib/pengine/complex.c for (op = pcmk__xe_first_child(template_ops); op != NULL; NULL 353 lib/pengine/complex.c if (g_hash_table_lookup(rsc_ops_hash, key) == NULL) { NULL 384 lib/pengine/complex.c const char *template_ref = NULL; NULL 385 lib/pengine/complex.c const char *id = NULL; NULL 387 lib/pengine/complex.c if (xml_obj == NULL) { NULL 393 lib/pengine/complex.c if (template_ref == NULL) { NULL 398 lib/pengine/complex.c if (id == NULL) { NULL 459 lib/pengine/complex.c GHashTable *params_on_node = NULL; NULL 468 lib/pengine/complex.c if ((rsc == NULL) || (data_set == NULL)) { NULL 469 lib/pengine/complex.c return NULL; NULL 471 lib/pengine/complex.c if ((node != NULL) && (node->details->uname != NULL)) { NULL 476 lib/pengine/complex.c if (rsc->parameter_cache == NULL) { NULL 483 lib/pengine/complex.c if (params_on_node == NULL) { NULL 497 lib/pengine/complex.c xmlNode *expanded_xml = NULL; NULL 498 lib/pengine/complex.c xmlNode *ops = NULL; NULL 499 lib/pengine/complex.c const char *value = NULL; NULL 500 lib/pengine/complex.c const char *rclass = NULL; /* Look for this after any templates have been expanded */ NULL 507 lib/pengine/complex.c .node_hash = NULL, NULL 510 lib/pengine/complex.c .match_data = NULL, NULL 511 lib/pengine/complex.c .rsc_data = NULL, NULL 512 lib/pengine/complex.c .op_data = NULL NULL 517 lib/pengine/complex.c if (id == NULL) { NULL 521 lib/pengine/complex.c } else if (rsc == NULL) { NULL 541 lib/pengine/complex.c (*rsc)->orig_xml = NULL; NULL 559 lib/pengine/complex.c (*rsc)->versioned_parameters = create_xml_node(NULL, XML_TAG_RSC_VER_ATTRS); NULL 563 lib/pengine/complex.c (*rsc)->allowed_nodes = pcmk__strkey_table(NULL, free); NULL 564 lib/pengine/complex.c (*rsc)->known_on = pcmk__strkey_table(NULL, free); NULL 578 lib/pengine/complex.c get_meta_attributes((*rsc)->meta, *rsc, NULL, data_set); NULL 579 lib/pengine/complex.c (*rsc)->parameters = pe_rsc_params(*rsc, NULL, data_set); // \deprecated NULL 581 lib/pengine/complex.c pe_get_versioned_attributes((*rsc)->versioned_parameters, *rsc, NULL, data_set); NULL 591 lib/pengine/complex.c (*rsc)->rsc_cons = NULL; NULL 592 lib/pengine/complex.c (*rsc)->rsc_tickets = NULL; NULL 593 lib/pengine/complex.c (*rsc)->actions = NULL; NULL 606 lib/pengine/complex.c if ((value == NULL) || crm_is_true(value)) { NULL 632 lib/pengine/complex.c } else if ((value == NULL) && remote_node && !has_versioned_params) { NULL 644 lib/pengine/complex.c if (value != NULL && !pcmk__str_eq("default", value, pcmk__str_casei)) { NULL 703 lib/pengine/complex.c if (value != NULL && !pcmk__str_eq("default", value, pcmk__str_casei)) { NULL 708 lib/pengine/complex.c if (value != NULL && !pcmk__str_eq("default", value, pcmk__str_casei)) { NULL 791 lib/pengine/complex.c if (orig_value != NULL) { NULL 802 lib/pengine/complex.c if (value != NULL) { NULL 808 lib/pengine/complex.c GHashTable *params = pe_rsc_params(*rsc, NULL, data_set); NULL 837 lib/pengine/complex.c resource_location(*rsc, NULL, 0, "symmetric_default", data_set); NULL 842 lib/pengine/complex.c resource_location(*rsc, NULL, 0, "remote_connection_default", data_set); NULL 851 lib/pengine/complex.c (*rsc)->utilization, NULL, FALSE, data_set); NULL 866 lib/pengine/complex.c pe_node_t *node = NULL; NULL 869 lib/pengine/complex.c if (node != NULL) { NULL 877 lib/pengine/complex.c for (; gIter != NULL; gIter = gIter->next) { NULL 890 lib/pengine/complex.c if (parent == NULL || rsc == NULL) { NULL 893 lib/pengine/complex.c while (parent->parent != NULL) { NULL 907 lib/pengine/complex.c if (parent == NULL) { NULL 908 lib/pengine/complex.c return NULL; NULL 910 lib/pengine/complex.c while (parent->parent != NULL && parent->parent->variant != pe_container) { NULL 919 lib/pengine/complex.c if (rsc == NULL) { NULL 930 lib/pengine/complex.c if (rsc->parameter_cache != NULL) { NULL 934 lib/pengine/complex.c if (rsc->versioned_parameters != NULL) { NULL 938 lib/pengine/complex.c if (rsc->meta != NULL) { NULL 941 lib/pengine/complex.c if (rsc->utilization != NULL) { NULL 945 lib/pengine/complex.c if ((rsc->parent == NULL) && pcmk_is_set(rsc->flags, pe_rsc_orphan)) { NULL 947 lib/pengine/complex.c rsc->xml = NULL; NULL 949 lib/pengine/complex.c rsc->orig_xml = NULL; NULL 954 lib/pengine/complex.c rsc->xml = NULL; NULL 958 lib/pengine/complex.c rsc->running_on = NULL; NULL 962 lib/pengine/complex.c rsc->known_on = NULL; NULL 966 lib/pengine/complex.c rsc->actions = NULL; NULL 970 lib/pengine/complex.c rsc->allowed_nodes = NULL; NULL 1002 lib/pengine/complex.c pe_node_t *active = NULL; NULL 1003 lib/pengine/complex.c pe_node_t *node = NULL; NULL 1013 lib/pengine/complex.c if (rsc == NULL) { NULL 1014 lib/pengine/complex.c return NULL; NULL 1017 lib/pengine/complex.c for (GList *node_iter = rsc->running_on; node_iter != NULL; NULL 1036 lib/pengine/complex.c if (rsc->partial_migration_source != NULL) { NULL 1052 lib/pengine/complex.c if (active == NULL) { NULL 1082 lib/pengine/complex.c return pe__find_active_on(rsc, NULL, count); NULL 1084 lib/pengine/complex.c return pe__find_active_on(rsc, count, NULL); NULL 1090 lib/pengine/complex.c if (rsc->children != NULL) { NULL 1091 lib/pengine/complex.c for (GList *item = rsc->children; item != NULL; item = item->next) { NULL 1118 lib/pengine/complex.c CRM_ASSERT((rsc != NULL) && (why != NULL)); NULL 25 lib/pengine/failcounts.c const char *conf_op_name = NULL; NULL 26 lib/pengine/failcounts.c const char *lrm_op_task = NULL; NULL 27 lib/pengine/failcounts.c const char *conf_op_interval_spec = NULL; NULL 30 lib/pengine/failcounts.c const char *lrm_op_id = NULL; NULL 31 lib/pengine/failcounts.c char *last_failure_key = NULL; NULL 33 lib/pengine/failcounts.c if (rsc_id == NULL || conf_op_xml == NULL || lrm_op_xml == NULL) { NULL 117 lib/pengine/failcounts.c const char *conf_op_name = NULL; NULL 118 lib/pengine/failcounts.c const char *conf_op_interval_spec = NULL; NULL 120 lib/pengine/failcounts.c char *lrm_op_xpath = NULL; NULL 121 lib/pengine/failcounts.c xmlXPathObject *lrm_op_xpathObj = NULL; NULL 254 lib/pengine/failcounts.c char *key = NULL; NULL 255 lib/pengine/failcounts.c const char *value = NULL; NULL 266 lib/pengine/failcounts.c if (regexec(&failcount_re, key, 0, NULL, 0) == 0) { NULL 268 lib/pengine/failcounts.c } else if (regexec(&lastfailure_re, key, 0, NULL, 0) == 0) { NULL 280 lib/pengine/failcounts.c if ((failcount > 0) && (last > 0) && (last_failure != NULL)) { NULL 319 lib/pengine/failcounts.c GList *gIter = NULL; NULL 321 lib/pengine/failcounts.c for (gIter = rsc->fillers; gIter != NULL; gIter = gIter->next) { NULL 367 lib/pengine/failcounts.c char *key = NULL; NULL 368 lib/pengine/failcounts.c pe_action_t *clear = NULL; NULL 370 lib/pengine/failcounts.c CRM_CHECK(rsc && node && reason && data_set, return NULL); NULL 26 lib/pengine/group.c xmlNode *xml_native_rsc = NULL; NULL 27 lib/pengine/group.c group_variant_data_t *group_data = NULL; NULL 30 lib/pengine/group.c const char *clone_id = NULL; NULL 36 lib/pengine/group.c group_data->first_child = NULL; NULL 37 lib/pengine/group.c group_data->last_child = NULL; NULL 41 lib/pengine/group.c if ((group_ordered == NULL) NULL 45 lib/pengine/group.c if ((group_colocated == NULL) NULL 52 lib/pengine/group.c for (xml_native_rsc = pcmk__xe_first_child(xml_obj); xml_native_rsc != NULL; NULL 57 lib/pengine/group.c pe_resource_t *new_rsc = NULL; NULL 62 lib/pengine/group.c if (new_rsc != NULL && new_rsc->fns != NULL) { NULL 71 lib/pengine/group.c if (group_data->first_child == NULL) { NULL 96 lib/pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 124 lib/pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 137 lib/pengine/group.c char *child_text = NULL; NULL 140 lib/pengine/group.c if (pre_text == NULL) { NULL 164 lib/pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 204 lib/pengine/group.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(only_rsc, rsc->id)); NULL 206 lib/pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 251 lib/pengine/group.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(only_rsc, rsc->id)); NULL 256 lib/pengine/group.c if (rscs != NULL) { NULL 257 lib/pengine/group.c out->begin_list(out, NULL, NULL, "Resource Group: %s%s%s", rsc->id, NULL 306 lib/pengine/group.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(only_rsc, rsc->id)); NULL 311 lib/pengine/group.c if (rscs != NULL) { NULL 312 lib/pengine/group.c out->begin_list(out, NULL, NULL, "Resource Group: %s%s%s", rsc->id, NULL 347 lib/pengine/group.c CRM_CHECK(rsc != NULL, return); NULL 351 lib/pengine/group.c for (GList *gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 371 lib/pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 393 lib/pengine/group.c } else if (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(only_rsc, rsc->id)) { NULL 396 lib/pengine/group.c for (GList *gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 73 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 93 lib/pengine/native.c CRM_CHECK(node != NULL, return); NULL 94 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 97 lib/pengine/native.c CRM_CHECK(a_node != NULL, return); NULL 136 lib/pengine/native.c pe_node_t *local_node = NULL; NULL 139 lib/pengine/native.c if (rsc->allowed_nodes != NULL) { NULL 144 lib/pengine/native.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&local_node)) { NULL 163 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 180 lib/pengine/native.c if (rsc->parent != NULL) { NULL 191 lib/pengine/native.c for (GList *child = rsc->children; child != NULL; child = child->next) { NULL 200 lib/pengine/native.c native_variant_data_t *native_data = NULL; NULL 256 lib/pengine/native.c && (rsc->running_on == NULL)) { NULL 271 lib/pengine/native.c pe_resource_t *result = NULL; NULL 273 lib/pengine/native.c CRM_CHECK(id && rsc && rsc->id, return NULL); NULL 310 lib/pengine/native.c for (GList *gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 318 lib/pengine/native.c return NULL; NULL 326 lib/pengine/native.c char *value_copy = NULL; NULL 327 lib/pengine/native.c const char *value = NULL; NULL 328 lib/pengine/native.c GHashTable *params = NULL; NULL 330 lib/pengine/native.c CRM_CHECK(rsc != NULL, return NULL); NULL 331 lib/pengine/native.c CRM_CHECK(name != NULL && strlen(name) != 0, return NULL); NULL 336 lib/pengine/native.c if (value == NULL) { NULL 340 lib/pengine/native.c if (value != NULL) { NULL 349 lib/pengine/native.c for (GList *gIter = rsc->running_on; gIter != NULL; gIter = gIter->next) { NULL 376 lib/pengine/native.c const char *pending_state = NULL; NULL 404 lib/pengine/native.c const char *pending_task = NULL; NULL 439 lib/pengine/native.c const char *rsc_state = NULL; NULL 444 lib/pengine/native.c if (rsc_state == NULL) { NULL 456 lib/pengine/native.c const char *target_role = NULL; NULL 462 lib/pengine/native.c ((prov == NULL)? "" : PROVIDER_SEP), NULL 463 lib/pengine/native.c ((prov == NULL)? "" : prov), NULL 494 lib/pengine/native.c } else if (rsc->running_on != NULL) { NULL 498 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 548 lib/pengine/native.c const char *provider = NULL; NULL 550 lib/pengine/native.c gchar *retval = NULL; NULL 551 lib/pengine/native.c GString *outstr = NULL; NULL 555 lib/pengine/native.c return NULL; NULL 558 lib/pengine/native.c CRM_CHECK(name != NULL, name = "unknown"); NULL 559 lib/pengine/native.c CRM_CHECK(kind != NULL, kind = "unknown"); NULL 560 lib/pengine/native.c CRM_CHECK(class != NULL, class = "unknown"); NULL 566 lib/pengine/native.c if ((node == NULL) && (rsc->lock_node != NULL)) { NULL 571 lib/pengine/native.c node = NULL; NULL 582 lib/pengine/native.c ((provider == NULL)? "" : PROVIDER_SEP), NULL 583 lib/pengine/native.c ((provider == NULL)? "" : provider), kind); NULL 660 lib/pengine/native.c for (GList *iter = rsc->running_on; iter != NULL; iter = iter->next) { NULL 680 lib/pengine/native.c const char *target_role = NULL; NULL 682 lib/pengine/native.c xmlNodePtr list_node = NULL; NULL 683 lib/pengine/native.c const char *cl = NULL; NULL 686 lib/pengine/native.c CRM_ASSERT(kind != NULL); NULL 706 lib/pengine/native.c } else if (rsc->variant == pe_native && (rsc->running_on == NULL)) { NULL 723 lib/pengine/native.c list_node = pcmk__output_create_html_node(out, "li", NULL, NULL, NULL); NULL 724 lib/pengine/native.c pcmk_create_html_node(list_node, "span", NULL, cl, s); NULL 735 lib/pengine/native.c const char *target_role = NULL; NULL 755 lib/pengine/native.c out->list_item(out, NULL, "%s", s); NULL 765 lib/pengine/native.c const char *target_role = NULL; NULL 787 lib/pengine/native.c if ((pre_text == NULL) && (options & pe_print_printf)) { NULL 798 lib/pengine/native.c } else if (rsc->running_on == NULL) { NULL 836 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 880 lib/pengine/native.c pe_node_t *node = NULL; NULL 890 lib/pengine/native.c if (node == NULL) { NULL 914 lib/pengine/native.c char *nodes_running_on = NULL; NULL 915 lib/pengine/native.c char *priority = NULL; NULL 917 lib/pengine/native.c const char *target_role = NULL; NULL 919 lib/pengine/native.c if (rsc->meta != NULL) { NULL 931 lib/pengine/native.c ((prov == NULL)? "" : PROVIDER_SEP), ((prov == NULL)? "" : prov), NULL 949 lib/pengine/native.c "pending", (is_print_pending? native_pending_task(rsc) : NULL)); NULL 955 lib/pengine/native.c if (rsc->running_on != NULL) { NULL 958 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 990 lib/pengine/native.c if (node == NULL) { NULL 1014 lib/pengine/native.c if (node == NULL) { NULL 1054 lib/pengine/native.c pe_node_t *one = NULL; NULL 1055 lib/pengine/native.c GList *result = NULL; NULL 1060 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 1077 lib/pengine/native.c result = g_list_append(NULL, rsc->allocated_to); NULL 1080 lib/pengine/native.c if (result && (result->next == NULL)) { NULL 1087 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 1090 lib/pengine/native.c if (*list == NULL || pe_find_node_id(*list, node->details->id) == NULL) { NULL 1105 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 1114 lib/pengine/native.c int *rsc_counter = NULL; NULL 1115 lib/pengine/native.c int *active_counter = NULL; NULL 1125 lib/pengine/native.c if (prov != NULL) { NULL 1135 lib/pengine/native.c if (rsc_counter == NULL) { NULL 1146 lib/pengine/native.c for (; gIter2 != NULL; gIter2 = gIter2->next) { NULL 1148 lib/pengine/native.c GHashTable *node_table = NULL; NULL 1155 lib/pengine/native.c if (node_table == NULL) { NULL 1161 lib/pengine/native.c if (active_counter == NULL) { NULL 1189 lib/pengine/native.c char *type = NULL; NULL 1190 lib/pengine/native.c int *rsc_counter = NULL; NULL 1197 lib/pengine/native.c char *node_name = NULL; NULL 1198 lib/pengine/native.c GHashTable *node_table = NULL; NULL 1205 lib/pengine/native.c if (active_counter == NULL || *active_counter == 0) { NULL 1213 lib/pengine/native.c node_name = NULL; NULL 1253 lib/pengine/native.c rsc_table = NULL; NULL 1257 lib/pengine/native.c active_table = NULL; NULL 1282 lib/pengine/native.c char *node_name = NULL; NULL 1283 lib/pengine/native.c GHashTable *node_table = NULL; NULL 1290 lib/pengine/native.c if (active_counter == NULL || *active_counter == 0) { NULL 1298 lib/pengine/native.c node_name = NULL; NULL 1302 lib/pengine/native.c out->list_item(out, NULL, "%d/%d\t(%s):\tActive %s", NULL 1307 lib/pengine/native.c out->list_item(out, NULL, "%d\t(%s):\tActive %s", NULL 1316 lib/pengine/native.c out->list_item(out, NULL, "%d/%d\t(%s):\tActive", NULL 1325 lib/pengine/native.c rsc_table = NULL; NULL 1329 lib/pengine/native.c active_table = NULL; NULL 38 lib/pengine/pe_digest.c if (data != NULL) { NULL 58 lib/pengine/pe_digest.c if (strstr((const char *) user_data, name) == NULL) { NULL 74 lib/pengine/pe_digest.c if (strstr((const char *) user_data, name) != NULL) { NULL 88 lib/pengine/pe_digest.c char *key = NULL; NULL 89 lib/pengine/pe_digest.c char *value = NULL; NULL 104 lib/pengine/pe_digest.c const char *ra_version = NULL; NULL 105 lib/pengine/pe_digest.c xmlNode *local_versioned_params = NULL; NULL 108 lib/pengine/pe_digest.c local_versioned_params = create_xml_node(NULL, XML_TAG_RSC_VER_ATTRS); NULL 110 lib/pengine/pe_digest.c if (xml_op != NULL) { NULL 144 lib/pengine/pe_digest.c pe_action_t *action = NULL; NULL 146 lib/pengine/pe_digest.c data->params_all = create_xml_node(NULL, XML_TAG_PARAMS); NULL 158 lib/pengine/pe_digest.c if (overrides != NULL) { NULL 162 lib/pengine/pe_digest.c if (interval_s != NULL) { NULL 174 lib/pengine/pe_digest.c if (overrides != NULL) { NULL 217 lib/pengine/pe_digest.c const char *secure_list = NULL; NULL 219 lib/pengine/pe_digest.c if (xml_op == NULL) { NULL 225 lib/pengine/pe_digest.c data->params_secure = create_xml_node(NULL, XML_TAG_PARAMS); NULL 226 lib/pengine/pe_digest.c if (overrides != NULL) { NULL 231 lib/pengine/pe_digest.c if (secure_list != NULL) { NULL 243 lib/pengine/pe_digest.c NULL); NULL 276 lib/pengine/pe_digest.c const char *value = NULL; NULL 279 lib/pengine/pe_digest.c if (xml_op == NULL) { NULL 284 lib/pengine/pe_digest.c if (crm_element_value(xml_op, XML_LRM_ATTR_RESTART_DIGEST) == NULL) { NULL 293 lib/pengine/pe_digest.c if (value != NULL) { NULL 327 lib/pengine/pe_digest.c GHashTable *params = NULL; NULL 329 lib/pengine/pe_digest.c if (data == NULL) { NULL 330 lib/pengine/pe_digest.c return NULL; NULL 332 lib/pengine/pe_digest.c if (xml_op != NULL) { NULL 366 lib/pengine/pe_digest.c op_digest_cache_t *data = NULL; NULL 370 lib/pengine/pe_digest.c if (data == NULL) { NULL 372 lib/pengine/pe_digest.c NULL, calc_secure, data_set); NULL 373 lib/pengine/pe_digest.c CRM_ASSERT(data != NULL); NULL 395 lib/pengine/pe_digest.c op_digest_cache_t *data = NULL; NULL 403 lib/pengine/pe_digest.c CRM_ASSERT(node != NULL); NULL 424 lib/pengine/pe_digest.c } else if (digest_all == NULL) { NULL 494 lib/pengine/pe_digest.c matches = (strstr(node_summary, search_secure) != NULL); NULL 523 lib/pengine/pe_digest.c const char *node_summary = NULL; NULL 527 lib/pengine/pe_digest.c node, NULL, TRUE, data_set); NULL 531 lib/pengine/pe_digest.c if (node_summary == NULL) { NULL 548 lib/pengine/pe_digest.c if (!pcmk__is_daemon && data_set->priv != NULL) { NULL 560 lib/pengine/pe_digest.c if (data_set->priv != NULL) { NULL 20 lib/pengine/pe_output.c "#", NULL } NULL 50 lib/pengine/pe_output.c GList *gIter = NULL; NULL 52 lib/pengine/pe_output.c for (gIter = rsc_list; gIter != NULL; gIter = gIter->next) { NULL 55 lib/pengine/pe_output.c const char *name = NULL; NULL 56 lib/pengine/pe_output.c GHashTable *params = NULL; NULL 58 lib/pengine/pe_output.c if (rsc->children != NULL) { NULL 65 lib/pengine/pe_output.c if (!pcmk__strcase_any_of(type, "ping", "pingd", NULL)) { NULL 72 lib/pengine/pe_output.c if (name == NULL) { NULL 89 lib/pengine/pe_output.c if ((multiplier == NULL) NULL 112 lib/pengine/pe_output.c CRM_CHECK(name != NULL, return attr_list); NULL 115 lib/pengine/pe_output.c for (i = 0; filt_str[i] != NULL; i++) { NULL 126 lib/pengine/pe_output.c GList *op_list = NULL; NULL 127 lib/pengine/pe_output.c xmlNode *rsc_op = NULL; NULL 129 lib/pengine/pe_output.c for (rsc_op = pcmk__xe_first_child(rsc_entry); rsc_op != NULL; NULL 192 lib/pengine/pe_output.c crm_time_t *crm_when = crm_time_new(NULL); NULL 193 lib/pengine/pe_output.c char *time_s = NULL; NULL 194 lib/pengine/pe_output.c char *buf = NULL; NULL 237 lib/pengine/pe_output.c if (last_written != NULL || user != NULL || client != NULL || origin != NULL) { NULL 255 lib/pengine/pe_output.c char *interval_str = NULL; NULL 256 lib/pengine/pe_output.c char *buf = NULL; NULL 265 lib/pengine/pe_output.c char *last_change_str = NULL; NULL 266 lib/pengine/pe_output.c char *exec_str = NULL; NULL 267 lib/pengine/pe_output.c char *queue_str = NULL; NULL 269 lib/pengine/pe_output.c const char *value = NULL; NULL 329 lib/pengine/pe_output.c char *buf = NULL; NULL 331 lib/pengine/pe_output.c if (rsc == NULL) { NULL 334 lib/pengine/pe_output.c char *failcount_s = NULL; NULL 335 lib/pengine/pe_output.c char *lastfail_s = NULL; NULL 382 lib/pengine/pe_output.c if (data_set->dc_node == NULL || show_dc) { NULL 387 lib/pengine/pe_output.c : NULL; NULL 389 lib/pengine/pe_output.c char *dc_name = data_set->dc_node ? pe__node_display_name(data_set->dc_node, print_clone_detail) : NULL; NULL 448 lib/pengine/pe_output.c if (data_set->dc_node == NULL || show_dc) { NULL 453 lib/pengine/pe_output.c : NULL; NULL 455 lib/pengine/pe_output.c char *dc_name = data_set->dc_node ? pe__node_display_name(data_set->dc_node, print_clone_detail) : NULL; NULL 486 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Config Options"); NULL 503 lib/pengine/pe_output.c const char *node_host = NULL; NULL 504 lib/pengine/pe_output.c const char *node_id = NULL; NULL 507 lib/pengine/pe_output.c CRM_ASSERT((node != NULL) && (node->details != NULL) && (node->details->uname != NULL)); NULL 516 lib/pengine/pe_output.c if (node_host == NULL) { NULL 537 lib/pengine/pe_output.c CRM_ASSERT(node_name != NULL); NULL 555 lib/pengine/pe_output.c xmlNodePtr xml_node = NULL; NULL 558 lib/pengine/pe_output.c CRM_ASSERT(tag_name != NULL); NULL 561 lib/pengine/pe_output.c CRM_ASSERT(xml_node != NULL); NULL 564 lib/pengine/pe_output.c : xmlNewChild(xml_node, NULL, (pcmkXmlStr) tag_name, NULL); NULL 607 lib/pengine/pe_output.c pcmk__output_create_html_node(out, "li", NULL, NULL, buf); NULL 622 lib/pengine/pe_output.c out->list_item(out, NULL, "%s\tprevents %s from running %son %s", NULL 653 lib/pengine/pe_output.c NULL); NULL 673 lib/pengine/pe_output.c for (gIter = data_set->placement_constraints; gIter != NULL; gIter = gIter->next) { NULL 676 lib/pengine/pe_output.c if (prefix != NULL && !g_str_has_prefix(location->id, prefix)) { NULL 685 lib/pengine/pe_output.c for (gIter2 = location->node_list_rh; gIter2 != NULL; gIter2 = gIter2->next) { NULL 707 lib/pengine/pe_output.c xmlNodePtr nodes_node = pcmk__output_create_xml_node(out, "li", NULL); NULL 708 lib/pengine/pe_output.c xmlNodePtr resources_node = pcmk__output_create_xml_node(out, "li", NULL); NULL 713 lib/pengine/pe_output.c pcmk_create_html_node(nodes_node, "span", NULL, NULL, nnodes_str); NULL 720 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, NULL, s); NULL 723 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, "bold", "DISABLED"); NULL 726 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, NULL, s); NULL 729 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, "bold", "BLOCKED"); NULL 730 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, NULL, NULL 736 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, NULL, s); NULL 739 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, "bold", "DISABLED"); NULL 740 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, NULL, ")"); NULL 745 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, NULL, s); NULL 748 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, "bold", "BLOCKED"); NULL 749 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, NULL, NULL 754 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, NULL, s); NULL 769 lib/pengine/pe_output.c out->list_item(out, NULL, "%d node%s configured", NULL 773 lib/pengine/pe_output.c out->list_item(out, NULL, "%d resource instance%s configured " NULL 779 lib/pengine/pe_output.c out->list_item(out, NULL, "%d resource instance%s configured " NULL 783 lib/pengine/pe_output.c out->list_item(out, NULL, "%d resource instance%s configured " NULL 788 lib/pengine/pe_output.c out->list_item(out, NULL, "%d resource instance%s configured", NULL 803 lib/pengine/pe_output.c xmlNodePtr nodes_node = pcmk__output_create_xml_node(out, "nodes_configured", NULL); NULL 804 lib/pengine/pe_output.c xmlNodePtr resources_node = pcmk__output_create_xml_node(out, "resources_configured", NULL); NULL 833 lib/pengine/pe_output.c xmlNodePtr node = pcmk__output_create_xml_node(out, "li", NULL); NULL 835 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, "bold", "Current DC: "); NULL 841 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, NULL, buf); NULL 846 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, NULL, buf); NULL 849 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, "warning", "WITHOUT"); NULL 850 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, NULL, "quorum"); NULL 853 lib/pengine/pe_output.c pcmk_create_html_node(node ,"span", NULL, "warning", "NONE"); NULL 893 lib/pengine/pe_output.c NULL); NULL 897 lib/pengine/pe_output.c NULL); NULL 926 lib/pengine/pe_output.c out->list_item(out, NULL, "STONITH of failed nodes %s", NULL 929 lib/pengine/pe_output.c out->list_item(out, NULL, "Cluster is %s", NULL 934 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Freeze resources"); NULL 938 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Stop ALL resources"); NULL 942 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Demote promotable " NULL 947 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Ignore"); NULL 951 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Suicide"); NULL 956 lib/pengine/pe_output.c xmlNodePtr node = pcmk__output_create_xml_node(out, "li", NULL); NULL 958 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, NULL, "Resource management: "); NULL 959 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, "bold", "DISABLED"); NULL 960 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, NULL, NULL 963 lib/pengine/pe_output.c xmlNodePtr node = pcmk__output_create_xml_node(out, "li", NULL); NULL 965 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, NULL, "Resource management: "); NULL 966 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, "bold", "STOPPED"); NULL 967 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, NULL, NULL 970 lib/pengine/pe_output.c out->list_item(out, NULL, "Resource management: enabled"); NULL 995 lib/pengine/pe_output.c out->list_item(out, NULL, "STONITH of failed nodes %s", NULL 998 lib/pengine/pe_output.c out->list_item(out, NULL, "Cluster is %s", NULL 1003 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Freeze resources"); NULL 1007 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Stop ALL resources"); NULL 1011 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Demote promotable " NULL 1016 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Ignore"); NULL 1020 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Suicide"); NULL 1032 lib/pengine/pe_output.c const char *no_quorum_policy = NULL; NULL 1062 lib/pengine/pe_output.c NULL); NULL 1071 lib/pengine/pe_output.c xmlNodePtr node = pcmk__output_create_xml_node(out, "li", NULL); NULL 1073 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, "bold", "Stack: "); NULL 1074 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, NULL, stack_s); NULL 1095 lib/pengine/pe_output.c NULL); NULL 1108 lib/pengine/pe_output.c xmlNodePtr updated_node = pcmk__output_create_xml_node(out, "li", NULL); NULL 1109 lib/pengine/pe_output.c xmlNodePtr changed_node = pcmk__output_create_xml_node(out, "li", NULL); NULL 1113 lib/pengine/pe_output.c pcmk_create_html_node(updated_node, "span", NULL, "bold", "Last updated: "); NULL 1114 lib/pengine/pe_output.c pcmk_create_html_node(updated_node, "span", NULL, NULL, NULL 1115 lib/pengine/pe_output.c pcmk__epoch2str(NULL)); NULL 1117 lib/pengine/pe_output.c pcmk_create_html_node(changed_node, "span", NULL, "bold", "Last change: "); NULL 1118 lib/pengine/pe_output.c pcmk_create_html_node(changed_node, "span", NULL, NULL, buf); NULL 1133 lib/pengine/pe_output.c "time", pcmk__epoch2str(NULL), NULL 1134 lib/pengine/pe_output.c NULL); NULL 1140 lib/pengine/pe_output.c NULL); NULL 1155 lib/pengine/pe_output.c out->list_item(out, "Last updated", "%s", pcmk__epoch2str(NULL)); NULL 1169 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", s); NULL 1185 lib/pengine/pe_output.c char *rc_s = NULL; NULL 1187 lib/pengine/pe_output.c xmlNodePtr node = NULL; NULL 1195 lib/pengine/pe_output.c (op_key == NULL)? "id" : "op_key", NULL 1196 lib/pengine/pe_output.c (op_key == NULL)? ID(xml_op) : op_key, NULL 1203 lib/pengine/pe_output.c NULL); NULL 1209 lib/pengine/pe_output.c char *s = NULL; NULL 1211 lib/pengine/pe_output.c char *rc_change = NULL; NULL 1224 lib/pengine/pe_output.c NULL); NULL 1244 lib/pengine/pe_output.c xmlNode *xml_op = NULL; NULL 1247 lib/pengine/pe_output.c const char *id = NULL; NULL 1253 lib/pengine/pe_output.c for (xml_op = pcmk__xml_first_child(data_set->failed); xml_op != NULL; NULL 1255 lib/pengine/pe_output.c char *rsc = NULL; NULL 1262 lib/pengine/pe_output.c if (parse_op_key(id ? id : ID(xml_op), &rsc, NULL, NULL) == FALSE) { NULL 1299 lib/pengine/pe_output.c xmlNodePtr item_node = pcmk__output_create_xml_node(out, "li", NULL); NULL 1301 lib/pengine/pe_output.c pcmk_create_html_node(item_node, "span", NULL, NULL, buf); NULL 1304 lib/pengine/pe_output.c pcmk_create_html_node(item_node, "span", NULL, "standby", " standby (on-fail)"); NULL 1307 lib/pengine/pe_output.c pcmk_create_html_node(item_node, "span", NULL, " standby", s); NULL 1310 lib/pengine/pe_output.c pcmk_create_html_node(item_node, "span", NULL, "offline", " OFFLINE (standby)"); NULL 1312 lib/pengine/pe_output.c pcmk_create_html_node(item_node, "span", NULL, "maint", " maintenance"); NULL 1314 lib/pengine/pe_output.c pcmk_create_html_node(item_node, "span", NULL, "offline", " OFFLINE (maintenance)"); NULL 1316 lib/pengine/pe_output.c pcmk_create_html_node(item_node, "span", NULL, "online", " online"); NULL 1318 lib/pengine/pe_output.c pcmk_create_html_node(item_node, "span", NULL, "offline", " OFFLINE"); NULL 1323 lib/pengine/pe_output.c if (rscs != NULL) { NULL 1324 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, NULL); NULL 1330 lib/pengine/pe_output.c GList *lpc2 = NULL; NULL 1332 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, NULL); NULL 1333 lib/pengine/pe_output.c for (lpc2 = node->details->running_rsc; lpc2 != NULL; lpc2 = lpc2->next) { NULL 1341 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "%s", buf); NULL 1365 lib/pengine/pe_output.c char *buf = NULL; NULL 1381 lib/pengine/pe_output.c if (rscs != NULL) { NULL 1382 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "%s", buf); NULL 1383 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Resources"); NULL 1392 lib/pengine/pe_output.c GList *gIter2 = NULL; NULL 1394 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "%s", buf); NULL 1395 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Resources"); NULL 1397 lib/pengine/pe_output.c for (gIter2 = node->details->running_rsc; gIter2 != NULL; gIter2 = gIter2->next) { NULL 1407 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", buf); NULL 1414 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Node: %s", node_name); NULL 1471 lib/pengine/pe_output.c GList *lpc = NULL; NULL 1473 lib/pengine/pe_output.c for (lpc = node->details->running_rsc; lpc != NULL; lpc = lpc->next) { NULL 1486 lib/pengine/pe_output.c NULL); NULL 1503 lib/pengine/pe_output.c if (value == NULL) { NULL 1509 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s\t: Connectivity is lost", name, value); NULL 1511 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s\t: Connectivity is degraded (Expected=%d)", name, value, expected_score); NULL 1513 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s", name, value); NULL 1516 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s", name, value); NULL 1533 lib/pengine/pe_output.c xmlNodePtr item_node = pcmk__output_create_xml_node(out, "li", NULL); NULL 1535 lib/pengine/pe_output.c if (value == NULL) { NULL 1541 lib/pengine/pe_output.c pcmk_create_html_node(item_node, "span", NULL, NULL, s); NULL 1545 lib/pengine/pe_output.c pcmk_create_html_node(item_node, "span", NULL, "bold", "(connectivity is lost)"); NULL 1548 lib/pengine/pe_output.c pcmk_create_html_node(item_node, "span", NULL, "bold", buf); NULL 1552 lib/pengine/pe_output.c out->list_item(out, NULL, "%s: %s", name, value); NULL 1564 lib/pengine/pe_output.c pe_resource_t *rsc = NULL; NULL 1565 lib/pengine/pe_output.c gchar *node_str = NULL; NULL 1566 lib/pengine/pe_output.c char *last_change_str = NULL; NULL 1583 lib/pengine/pe_output.c if (node == NULL) { NULL 1601 lib/pengine/pe_output.c out->list_item(out, NULL, "%s: %s (node=%s, call=%s, rc=%s%s): %s", NULL 1620 lib/pengine/pe_output.c pe_resource_t *rsc = NULL; NULL 1625 lib/pengine/pe_output.c xmlNode *node = NULL; NULL 1635 lib/pengine/pe_output.c NULL); NULL 1642 lib/pengine/pe_output.c char *agent_tuple = NULL; NULL 1650 lib/pengine/pe_output.c NULL); NULL 1659 lib/pengine/pe_output.c NULL); NULL 1676 lib/pengine/pe_output.c NULL); NULL 1704 lib/pengine/pe_output.c for (GList *gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 1707 lib/pengine/pe_output.c GList *attr_list = NULL; NULL 1716 lib/pengine/pe_output.c while (g_hash_table_iter_next (&iter, &key, NULL)) { NULL 1720 lib/pengine/pe_output.c if (attr_list == NULL) { NULL 1730 lib/pengine/pe_output.c out->message(out, "node", node, print_opts, FALSE, NULL, NULL 1734 lib/pengine/pe_output.c for (GList *aIter = attr_list; aIter != NULL; aIter = aIter->next) { NULL 1736 lib/pengine/pe_output.c const char *value = NULL; NULL 1769 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", dump_text); NULL 1785 lib/pengine/pe_output.c NULL); NULL 1808 lib/pengine/pe_output.c xmlNode *lrm_rsc = NULL; NULL 1809 lib/pengine/pe_output.c xmlNode *rsc_entry = NULL; NULL 1816 lib/pengine/pe_output.c for (rsc_entry = pcmk__xe_first_child(lrm_rsc); rsc_entry != NULL; NULL 1848 lib/pengine/pe_output.c NULL, data_set); NULL 1856 lib/pengine/pe_output.c out->message(out, "node", node, print_opts, FALSE, NULL, NULL 1868 lib/pengine/pe_output.c if (op_list == NULL) { NULL 1874 lib/pengine/pe_output.c out->message(out, "node", node, print_opts, FALSE, NULL, NULL 1901 lib/pengine/pe_output.c for (GList *gIter = nodes; gIter != NULL; gIter = gIter->next) { NULL 1910 lib/pengine/pe_output.c out->message(out, "node", node, print_opts, TRUE, NULL, print_clone_detail, NULL 1930 lib/pengine/pe_output.c char *online_nodes = NULL; NULL 1931 lib/pengine/pe_output.c char *online_remote_nodes = NULL; NULL 1932 lib/pengine/pe_output.c char *online_guest_nodes = NULL; NULL 1933 lib/pengine/pe_output.c char *offline_nodes = NULL; NULL 1934 lib/pengine/pe_output.c char *offline_remote_nodes = NULL; NULL 1944 lib/pengine/pe_output.c for (GList *gIter = nodes; gIter != NULL; gIter = gIter->next) { NULL 1946 lib/pengine/pe_output.c const char *node_mode = NULL; NULL 2068 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "nodes"); NULL 2069 lib/pengine/pe_output.c for (GList *gIter = nodes; gIter != NULL; gIter = gIter->next) { NULL 2076 lib/pengine/pe_output.c out->message(out, "node", node, print_opts, TRUE, NULL, print_clone_detail, NULL 2100 lib/pengine/pe_output.c xmlNode *node_state = NULL; NULL 2109 lib/pengine/pe_output.c for (node_state = pcmk__xe_first_child(cib_status); node_state != NULL; NULL 2148 lib/pengine/pe_output.c out->list_item(out, NULL, "%s: %s allocation score on %s: %s", NULL 2151 lib/pengine/pe_output.c out->list_item(out, NULL, "%s: %s = %s", prefix, uname, score); NULL 2170 lib/pengine/pe_output.c NULL); NULL 2190 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", buf); NULL 2211 lib/pengine/pe_output.c NULL); NULL 2221 lib/pengine/pe_output.c const char *value = NULL; NULL 2254 lib/pengine/pe_output.c out->list_item(out, NULL, "%s promotion score on %s: %s", NULL 2272 lib/pengine/pe_output.c NULL); NULL 2287 lib/pengine/pe_output.c char *rsc_xml = NULL; NULL 2315 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "%s", buf); NULL 2317 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", buf); NULL 2336 lib/pengine/pe_output.c NULL); NULL 2338 lib/pengine/pe_output.c if (rsc == NULL) { NULL 2345 lib/pengine/pe_output.c NULL); NULL 2373 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Inactive Resources"); NULL 2375 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Full List of Resources"); NULL 2377 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Active Resources"); NULL 2422 lib/pengine/pe_output.c for (rsc_iter = data_set->resources; rsc_iter != NULL; rsc_iter = rsc_iter->next) { NULL 2476 lib/pengine/pe_output.c out->list_item(out, NULL, "No inactive resources"); NULL 2478 lib/pengine/pe_output.c out->list_item(out, NULL, "No resources"); NULL 2480 lib/pengine/pe_output.c out->list_item(out, NULL, "No active resources"); NULL 2502 lib/pengine/pe_output.c GList *gIter = NULL; NULL 2506 lib/pengine/pe_output.c for (gIter = op_list; gIter != NULL; gIter = gIter->next) { NULL 2526 lib/pengine/pe_output.c NULL, data_set); NULL 2557 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", dump_text); NULL 2575 lib/pengine/pe_output.c NULL); NULL 2590 lib/pengine/pe_output.c out->list_item(out, NULL, "%s:\t%s%s %s", ticket->id, NULL 2596 lib/pengine/pe_output.c out->list_item(out, NULL, "%s:\t%s%s", ticket->id, NULL 2632 lib/pengine/pe_output.c xmlNodePtr node = NULL; NULL 2638 lib/pengine/pe_output.c NULL); NULL 2663 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Tickets"); NULL 2763 lib/pengine/pe_output.c { NULL, NULL, NULL } NULL 2774 lib/pengine/pe_output.c if (node == NULL) { NULL 2787 lib/pengine/pe_output.c GList *all = NULL; NULL 2797 lib/pengine/pe_output.c for (; gIter != NULL; gIter = gIter->next) { NULL 20 lib/pengine/remote.c return (rsc != NULL) && rsc->is_remote_node NULL 27 lib/pengine/remote.c return (node != NULL) && (node->details->type == node_remote) NULL 28 lib/pengine/remote.c && ((node->details->remote_rsc == NULL) NULL 29 lib/pengine/remote.c || (node->details->remote_rsc->container == NULL)); NULL 35 lib/pengine/remote.c return (node != NULL) && (node->details->type == node_remote) NULL 36 lib/pengine/remote.c && (node->details->remote_rsc != NULL) NULL 37 lib/pengine/remote.c && (node->details->remote_rsc->container != NULL); NULL 43 lib/pengine/remote.c return (node != NULL) && (node->details->type == node_remote); NULL 69 lib/pengine/remote.c if ((rsc != NULL) && (data_set != NULL) NULL 72 lib/pengine/remote.c for (GList *gIter = rsc->fillers; gIter != NULL; gIter = gIter->next) { NULL 80 lib/pengine/remote.c return NULL; NULL 86 lib/pengine/remote.c const char *value = NULL; NULL 88 lib/pengine/remote.c if (xml == NULL) { NULL 129 lib/pengine/remote.c for (iter = host->details->running_rsc; iter != NULL; iter = iter->next) { NULL 132 lib/pengine/remote.c if (rsc->is_remote_node && (rsc->container != NULL)) { NULL 175 lib/pengine/remote.c crm_create_nvpair_xml(xml_sub, NULL, NULL 178 lib/pengine/remote.c crm_create_nvpair_xml(xml_sub, NULL, NULL 182 lib/pengine/remote.c crm_create_nvpair_xml(xml_sub, NULL, NULL 186 lib/pengine/remote.c crm_create_nvpair_xml(xml_sub, NULL, XML_RSC_ATTR_MANAGED, is_managed); NULL 194 lib/pengine/remote.c crm_create_nvpair_xml(xml_sub, NULL, XML_RSC_ATTR_REMOTE_RA_ADDR, NULL 198 lib/pengine/remote.c crm_create_nvpair_xml(xml_sub, NULL, "port", port); NULL 223 lib/pengine/remote.c struct check_op *check_op = NULL; NULL 228 lib/pengine/remote.c CRM_ASSERT(check_op != NULL); NULL 252 lib/pengine/remote.c for (GList *item = data_set->param_check; item != NULL; item = item->next) { NULL 265 lib/pengine/remote.c data_set->param_check = NULL; NULL 46 lib/pengine/rules.c .match_data = NULL, NULL 47 lib/pengine/rules.c .rsc_data = NULL, NULL 48 lib/pengine/rules.c .op_data = NULL NULL 64 lib/pengine/rules.c .rsc_data = NULL, NULL 65 lib/pengine/rules.c .op_data = NULL NULL 97 lib/pengine/rules.c .rsc_data = NULL, NULL 98 lib/pengine/rules.c .op_data = NULL NULL 107 lib/pengine/rules.c const char *tag = NULL; NULL 108 lib/pengine/rules.c const char *attr = NULL; NULL 128 lib/pengine/rules.c } else if (pcmk__strcase_any_of(attr, CRM_ATTR_UNAME, CRM_ATTR_KIND, CRM_ATTR_ID, NULL)) { NULL 182 lib/pengine/rules.c if (value == NULL) { NULL 247 lib/pengine/rules.c CRM_CHECK(now != NULL, return pcmk_rc_op_unsatisfied); NULL 310 lib/pengine/rules.c if ((next_change != NULL) && (t != NULL)) { NULL 332 lib/pengine/rules.c if (a == NULL && b == NULL) { NULL 334 lib/pengine/rules.c } else if (a == NULL) { NULL 336 lib/pengine/rules.c } else if (b == NULL) { NULL 358 lib/pengine/rules.c const char *name = NULL; NULL 359 lib/pengine/rules.c const char *value = NULL; NULL 360 lib/pengine/rules.c const char *old_value = NULL; NULL 362 lib/pengine/rules.c xmlNode *an_attr = NULL; NULL 369 lib/pengine/rules.c for (an_attr = pcmk__xe_first_child(list); an_attr != NULL; NULL 376 lib/pengine/rules.c if (name == NULL) { NULL 381 lib/pengine/rules.c if (value == NULL) { NULL 385 lib/pengine/rules.c if (name == NULL || value == NULL) { NULL 399 lib/pengine/rules.c } else if (old_value == NULL) { NULL 416 lib/pengine/rules.c xmlNode * rule = NULL; NULL 417 lib/pengine/rules.c xmlNode * expr = NULL; NULL 419 lib/pengine/rules.c for (rule = pcmk__xe_first_child(attr_set); rule != NULL; NULL 424 lib/pengine/rules.c for (expr = pcmk__xe_first_child(rule); expr != NULL; NULL 434 lib/pengine/rules.c return NULL; NULL 440 lib/pengine/rules.c xmlNode *attr_set_copy = NULL; NULL 441 lib/pengine/rules.c xmlNode *rule = NULL; NULL 442 lib/pengine/rules.c xmlNode *expr = NULL; NULL 457 lib/pengine/rules.c while (expr != NULL) { NULL 468 lib/pengine/rules.c add_node_nocopy(versioned_attrs, NULL, attr_set_copy); NULL 494 lib/pengine/rules.c CRM_ATTR_RA_VERSION, NULL, NULL))) { NULL 535 lib/pengine/rules.c GList *unsorted = NULL; NULL 537 lib/pengine/rules.c if (xml_obj == NULL) { NULL 538 lib/pengine/rules.c return NULL; NULL 540 lib/pengine/rules.c for (xmlNode *attr_set = pcmk__xe_first_child(xml_obj); attr_set != NULL; NULL 545 lib/pengine/rules.c const char *score = NULL; NULL 546 lib/pengine/rules.c sorted_set_t *pair = NULL; NULL 549 lib/pengine/rules.c if (expanded_attr_set == NULL) { NULL 637 lib/pengine/rules.c .match_data = NULL, NULL 638 lib/pengine/rules.c .rsc_data = NULL, NULL 639 lib/pengine/rules.c .op_data = NULL NULL 652 lib/pengine/rules.c unpack_nvpair_blocks(top, xml_obj, set_name, hash, NULL, FALSE, rule_data, NULL 663 lib/pengine/rules.c char *p_dst, *result = NULL; NULL 666 lib/pengine/rules.c return NULL; NULL 687 lib/pengine/rules.c return NULL; NULL 727 lib/pengine/rules.c pe_unpack_nvpairs(NULL, versioned_params, NULL 728 lib/pengine/rules.c crm_element_name(attr_set), node_hash, hash, NULL, NULL 729 lib/pengine/rules.c FALSE, NULL, NULL); NULL 746 lib/pengine/rules.c rule != NULL; rule = crm_next_same_xml(rule)) { NULL 766 lib/pengine/rules.c xmlNode *expr = NULL; NULL 771 lib/pengine/rules.c const char *value = NULL; NULL 773 lib/pengine/rules.c rule = expand_idref(rule, NULL); NULL 781 lib/pengine/rules.c for (expr = pcmk__xe_first_child(rule); expr != NULL; NULL 809 lib/pengine/rules.c const char *uname = NULL; NULL 820 lib/pengine/rules.c if (rule_data->node_hash != NULL) { NULL 854 lib/pengine/rules.c CRM_ATTR_RA_VERSION, NULL, NULL)) { NULL 897 lib/pengine/rules.c if (l_val != NULL && r_val != NULL) { NULL 898 lib/pengine/rules.c if (type == NULL) { NULL 899 lib/pengine/rules.c if (pcmk__strcase_any_of(op, "lt", "lte", "gt", "gte", NULL)) { NULL 900 lib/pengine/rules.c if (pcmk__char_in_any_str('.', l_val, r_val, NULL)) { NULL 941 lib/pengine/rules.c int rc1 = pcmk__scan_double(l_val, &l_val_num, NULL, NULL); NULL 942 lib/pengine/rules.c int rc2 = pcmk__scan_double(r_val, &r_val_num, NULL, NULL); NULL 964 lib/pengine/rules.c } else if (l_val == NULL && r_val == NULL) { NULL 966 lib/pengine/rules.c } else if (r_val == NULL) { NULL 996 lib/pengine/rules.c return (l_val != NULL); NULL 999 lib/pengine/rules.c return (l_val == NULL); NULL 1011 lib/pengine/rules.c } else if (l_val == NULL || r_val == NULL) { NULL 1043 lib/pengine/rules.c GHashTable *table = NULL; NULL 1046 lib/pengine/rules.c return NULL; // value_source is irrelevant NULL 1058 lib/pengine/rules.c if (table == NULL) { NULL 1059 lib/pengine/rules.c return NULL; NULL 1078 lib/pengine/rules.c const char *h_val = NULL; NULL 1080 lib/pengine/rules.c const char *op = NULL; NULL 1081 lib/pengine/rules.c const char *type = NULL; NULL 1082 lib/pengine/rules.c const char *attr = NULL; NULL 1083 lib/pengine/rules.c const char *value = NULL; NULL 1084 lib/pengine/rules.c const char *value_source = NULL; NULL 1092 lib/pengine/rules.c if (attr == NULL || op == NULL) { NULL 1098 lib/pengine/rules.c if (rule_data->match_data != NULL) { NULL 1100 lib/pengine/rules.c if (rule_data->match_data->re != NULL) { NULL 1103 lib/pengine/rules.c if (resolved_attr != NULL) { NULL 1113 lib/pengine/rules.c if (rule_data->node_hash != NULL) { NULL 1119 lib/pengine/rules.c attr = NULL; NULL 1138 lib/pengine/rules.c crm_time_t *start = NULL; NULL 1139 lib/pengine/rules.c crm_time_t *end = NULL; NULL 1140 lib/pengine/rules.c const char *value = NULL; NULL 1143 lib/pengine/rules.c xmlNode *duration_spec = NULL; NULL 1144 lib/pengine/rules.c xmlNode *date_spec = NULL; NULL 1155 lib/pengine/rules.c if (value != NULL) { NULL 1159 lib/pengine/rules.c if (value != NULL) { NULL 1163 lib/pengine/rules.c if (start != NULL && end == NULL && duration_spec != NULL) { NULL 1168 lib/pengine/rules.c if ((start == NULL) && (end == NULL)) { NULL 1170 lib/pengine/rules.c } else if ((start != NULL) && (crm_time_compare(rule_data->now, start) < 0)) { NULL 1173 lib/pengine/rules.c } else if ((end != NULL) && (crm_time_compare(rule_data->now, end) > 0)) { NULL 1189 lib/pengine/rules.c if (start == NULL) { NULL 1202 lib/pengine/rules.c if (end == NULL) { NULL 1225 lib/pengine/rules.c if (rule_data->op_data == NULL) { NULL 1236 lib/pengine/rules.c if (interval_s != NULL && interval != rule_data->op_data->interval) { NULL 1262 lib/pengine/rules.c const char *op = NULL; NULL 1263 lib/pengine/rules.c const char *value = NULL; NULL 1310 lib/pengine/rules.c if (rule_data->rsc_data == NULL) { NULL 1315 lib/pengine/rules.c if (class != NULL && NULL 1321 lib/pengine/rules.c if ((provider == NULL && rule_data->rsc_data->provider != NULL) || NULL 1322 lib/pengine/rules.c (provider != NULL && rule_data->rsc_data->provider == NULL) || NULL 1328 lib/pengine/rules.c if (type != NULL && NULL 1344 lib/pengine/rules.c return pe_evaluate_rules(ruleset, node_hash, now, NULL); NULL 1350 lib/pengine/rules.c return pe_test_rule(rule, node_hash, role, now, NULL, NULL); NULL 1358 lib/pengine/rules.c .params = NULL, NULL 1359 lib/pengine/rules.c .meta = NULL, NULL 1361 lib/pengine/rules.c return pe_test_rule(rule, node_hash, role, now, NULL, &match_data); NULL 1368 lib/pengine/rules.c return pe_test_rule(rule, node_hash, role, now, NULL, match_data); NULL 1374 lib/pengine/rules.c return pe_test_expression(expr, node_hash, role, now, NULL, NULL); NULL 1382 lib/pengine/rules.c .params = NULL, NULL 1383 lib/pengine/rules.c .meta = NULL, NULL 1385 lib/pengine/rules.c return pe_test_expression(expr, node_hash, role, now, NULL, &match_data); NULL 1393 lib/pengine/rules.c return pe_test_expression(expr, node_hash, role, now, NULL, match_data); NULL 1406 lib/pengine/rules.c .match_data = NULL, NULL 1407 lib/pengine/rules.c .rsc_data = NULL, NULL 1408 lib/pengine/rules.c .op_data = NULL NULL 1412 lib/pengine/rules.c overwrite, &rule_data, NULL, unpack_attr_set); NULL 23 lib/pengine/rules_alerts.c crm_time_t *now = crm_time_new(NULL); NULL 24 lib/pengine/rules_alerts.c const char *value = NULL; NULL 26 lib/pengine/rules_alerts.c pe_unpack_nvpairs(basenode, basenode, XML_TAG_META_SETS, NULL, config_hash, NULL 27 lib/pengine/rules_alerts.c NULL, FALSE, now, NULL); NULL 68 lib/pengine/rules_alerts.c if ((basenode == NULL) || (entry == NULL)) { NULL 73 lib/pengine/rules_alerts.c if (child == NULL) { NULL 77 lib/pengine/rules_alerts.c if (entry->envvars == NULL) { NULL 81 lib/pengine/rules_alerts.c for (child = first_named_child(child, XML_CIB_TAG_NVPAIR); child != NULL; NULL 87 lib/pengine/rules_alerts.c if (value == NULL) { NULL 100 lib/pengine/rules_alerts.c xmlNode *event_type = NULL; NULL 103 lib/pengine/rules_alerts.c for (event_type = pcmk__xe_first_child(select); event_type != NULL; NULL 108 lib/pengine/rules_alerts.c if (tagname == NULL) { NULL 127 lib/pengine/rules_alerts.c attr != NULL; NULL 134 lib/pengine/rules_alerts.c entry->select_attribute_name = NULL; NULL 140 lib/pengine/rules_alerts.c entry->select_attribute_name[nattrs] = NULL; NULL 183 lib/pengine/rules_alerts.c GList *alert_list = NULL; NULL 185 lib/pengine/rules_alerts.c if (alerts == NULL) { NULL 190 lib/pengine/rules_alerts.c alert != NULL; alert = crm_next_same_xml(alert)) { NULL 198 lib/pengine/rules_alerts.c if ((alert_id == NULL) || (alert_path == NULL)) { NULL 207 lib/pengine/rules_alerts.c if (entry->tstamp_format == NULL) { NULL 216 lib/pengine/rules_alerts.c recipient != NULL; recipient = crm_next_same_xml(recipient)) { NULL 38 lib/pengine/status.c if (data_set != NULL) { NULL 52 lib/pengine/status.c if (data_set != NULL) { NULL 54 lib/pengine/status.c data_set->priv = NULL; NULL 84 lib/pengine/status.c data_set->failed = create_xml_node(NULL, "failed-ops"); NULL 86 lib/pengine/status.c if (data_set->input == NULL) { NULL 90 lib/pengine/status.c if (data_set->now == NULL) { NULL 91 lib/pengine/status.c data_set->now = crm_time_new(NULL); NULL 94 lib/pengine/status.c if (data_set->dc_uuid == NULL) { NULL 132 lib/pengine/status.c for (GList *item = data_set->resources; item != NULL; NULL 156 lib/pengine/status.c pe_resource_t *rsc = NULL; NULL 159 lib/pengine/status.c while (iterator != NULL) { NULL 164 lib/pengine/status.c if (resources != NULL) { NULL 174 lib/pengine/status.c while (iterator != NULL) { NULL 178 lib/pengine/status.c if (actions != NULL) { NULL 186 lib/pengine/status.c for (GList *iterator = nodes; iterator != NULL; iterator = iterator->next) { NULL 190 lib/pengine/status.c if (node == NULL) { NULL 193 lib/pengine/status.c if (node->details == NULL) { NULL 204 lib/pengine/status.c if (node->details->attrs != NULL) { NULL 207 lib/pengine/status.c if (node->details->utilization != NULL) { NULL 210 lib/pengine/status.c if (node->details->digest_cache != NULL) { NULL 218 lib/pengine/status.c if (nodes != NULL) { NULL 228 lib/pengine/status.c while (iterator != NULL) { NULL 237 lib/pengine/status.c if (constraints != NULL) { NULL 247 lib/pengine/status.c while (iterator != NULL) { NULL 256 lib/pengine/status.c if (constraints != NULL) { NULL 272 lib/pengine/status.c if (data_set == NULL) { NULL 277 lib/pengine/status.c if (data_set->config_hash != NULL) { NULL 281 lib/pengine/status.c if (data_set->singletons != NULL) { NULL 317 lib/pengine/status.c CRM_CHECK(data_set->ordering_constraints == NULL,; NULL 319 lib/pengine/status.c CRM_CHECK(data_set->placement_constraints == NULL,; NULL 331 lib/pengine/status.c if (data_set == NULL) { NULL 338 lib/pengine/status.c data_set->ordering_constraints = NULL; NULL 343 lib/pengine/status.c data_set->placement_constraints = NULL; NULL 348 lib/pengine/status.c data_set->colocation_constraints = NULL; NULL 353 lib/pengine/status.c data_set->ticket_constraints = NULL; NULL 390 lib/pengine/status.c GList *rIter = NULL; NULL 396 lib/pengine/status.c parent->fns->find_rsc(parent, id, NULL, flags); NULL 397 lib/pengine/status.c if (match != NULL) { NULL 402 lib/pengine/status.c return NULL; NULL 422 lib/pengine/status.c for (; gIter != NULL; gIter = gIter->next) { NULL 430 lib/pengine/status.c return NULL; NULL 438 lib/pengine/status.c for (; gIter != NULL; gIter = gIter->next) { NULL 446 lib/pengine/status.c return NULL; NULL 23 lib/pengine/tags.c GList *retval = NULL; NULL 25 lib/pengine/tags.c if (data_set->tags == NULL) { NULL 31 lib/pengine/tags.c if (value == NULL) { NULL 54 lib/pengine/tags.c GList *retval = NULL; NULL 56 lib/pengine/tags.c if (data_set->tags == NULL) { NULL 62 lib/pengine/tags.c if (value == NULL) { NULL 89 lib/pengine/tags.c if (rscs == NULL) { NULL 93 lib/pengine/tags.c retval = g_list_find_custom(rscs, rsc_name, (GCompareFunc) strcmp) != NULL; NULL 104 lib/pengine/tags.c if (unames == NULL) { NULL 108 lib/pengine/tags.c retval = g_list_find_custom(unames, node_name, (GCompareFunc) strcmp) != NULL; NULL 28 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c g_assert_cmpint(pe_cron_range_satisfied(NULL, NULL), ==, pcmk_rc_op_unsatisfied); NULL 33 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c crm_time_t *tm = crm_time_new(NULL); NULL 35 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c g_assert_cmpint(pe_cron_range_satisfied(tm, NULL), ==, pcmk_rc_ok); NULL 112 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c g_test_init(&argc, &argv, NULL); NULL 37 lib/pengine/unpack.c if (scf_value != NULL) { \ NULL 78 lib/pengine/unpack.c node->details->remote_rsc->container == NULL && NULL 137 lib/pengine/unpack.c if ((rsc != NULL) && !pcmk_is_set(rsc->flags, pe_rsc_managed)) { NULL 150 lib/pengine/unpack.c pe_fence_op(node, NULL, TRUE, reason, FALSE, data_set); NULL 164 lib/pengine/unpack.c pe_fence_op(node, NULL, TRUE, reason, priority_delay, data_set); NULL 186 lib/pengine/unpack.c xmlXPathObjectPtr result = NULL; NULL 200 lib/pengine/unpack.c const char *value = NULL; NULL 204 lib/pengine/unpack.c .node_hash = NULL, NULL 207 lib/pengine/unpack.c .match_data = NULL, NULL 208 lib/pengine/unpack.c .rsc_data = NULL, NULL 209 lib/pengine/unpack.c .op_data = NULL NULL 334 lib/pengine/unpack.c if (value != NULL) { NULL 393 lib/pengine/unpack.c pe_node_t *new_node = NULL; NULL 395 lib/pengine/unpack.c if (pe_find_node(data_set->nodes, uname) != NULL) { NULL 400 lib/pengine/unpack.c if (new_node == NULL) { NULL 401 lib/pengine/unpack.c return NULL; NULL 408 lib/pengine/unpack.c if (new_node->details == NULL) { NULL 410 lib/pengine/unpack.c return NULL; NULL 419 lib/pengine/unpack.c new_node->details->running_rsc = NULL; NULL 450 lib/pengine/unpack.c xmlNode *attr_set = NULL; NULL 451 lib/pengine/unpack.c xmlNode *attr = NULL; NULL 454 lib/pengine/unpack.c const char *remote_name = NULL; NULL 455 lib/pengine/unpack.c const char *remote_server = NULL; NULL 456 lib/pengine/unpack.c const char *remote_port = NULL; NULL 458 lib/pengine/unpack.c const char *remote_allow_migrate=NULL; NULL 459 lib/pengine/unpack.c const char *is_managed = NULL; NULL 461 lib/pengine/unpack.c for (attr_set = pcmk__xe_first_child(xml_obj); attr_set != NULL; NULL 469 lib/pengine/unpack.c for (attr = pcmk__xe_first_child(attr_set); attr != NULL; NULL 490 lib/pengine/unpack.c if (remote_name == NULL) { NULL 491 lib/pengine/unpack.c return NULL; NULL 494 lib/pengine/unpack.c if (pe_find_resource(data->resources, remote_name) != NULL) { NULL 495 lib/pengine/unpack.c return NULL; NULL 507 lib/pengine/unpack.c if ((new_node->details->type == node_remote) && (new_node->details->remote_rsc == NULL)) { NULL 532 lib/pengine/unpack.c xmlNode *xml_obj = NULL; NULL 533 lib/pengine/unpack.c pe_node_t *new_node = NULL; NULL 534 lib/pengine/unpack.c const char *id = NULL; NULL 535 lib/pengine/unpack.c const char *uname = NULL; NULL 536 lib/pengine/unpack.c const char *type = NULL; NULL 537 lib/pengine/unpack.c const char *score = NULL; NULL 540 lib/pengine/unpack.c .node_hash = NULL, NULL 543 lib/pengine/unpack.c .match_data = NULL, NULL 544 lib/pengine/unpack.c .rsc_data = NULL, NULL 545 lib/pengine/unpack.c .op_data = NULL NULL 548 lib/pengine/unpack.c for (xml_obj = pcmk__xe_first_child(xml_nodes); xml_obj != NULL; NULL 552 lib/pengine/unpack.c new_node = NULL; NULL 560 lib/pengine/unpack.c if (id == NULL) { NULL 567 lib/pengine/unpack.c if (new_node == NULL) { NULL 581 lib/pengine/unpack.c new_node->details->utilization, NULL, NULL 588 lib/pengine/unpack.c if (data_set->localhost && pe_find_node(data_set->nodes, data_set->localhost) == NULL) { NULL 590 lib/pengine/unpack.c pe_create_node(data_set->localhost, data_set->localhost, NULL, 0, NULL 600 lib/pengine/unpack.c const char *container_id = NULL; NULL 605 lib/pengine/unpack.c for (; gIter != NULL; gIter = gIter->next) { NULL 631 lib/pengine/unpack.c xmlNode *xml_obj = NULL; NULL 636 lib/pengine/unpack.c for (xml_obj = pcmk__xe_first_child(xml_resources); xml_obj != NULL; NULL 639 lib/pengine/unpack.c const char *new_node_id = NULL; NULL 648 lib/pengine/unpack.c if (new_node_id && pe_find_node(data_set->nodes, new_node_id) == NULL) { NULL 651 lib/pengine/unpack.c pe_create_node(new_node_id, new_node_id, "remote", NULL, NULL 666 lib/pengine/unpack.c if (new_node_id && pe_find_node(data_set->nodes, new_node_id) == NULL) { NULL 669 lib/pengine/unpack.c pe_create_node(new_node_id, new_node_id, "remote", NULL, NULL 679 lib/pengine/unpack.c xmlNode *xml_obj2 = NULL; NULL 680 lib/pengine/unpack.c for (xml_obj2 = pcmk__xe_first_child(xml_obj); xml_obj2 != NULL; NULL 685 lib/pengine/unpack.c if (new_node_id && pe_find_node(data_set->nodes, new_node_id) == NULL) { NULL 688 lib/pengine/unpack.c pe_create_node(new_node_id, new_node_id, "remote", NULL, NULL 708 lib/pengine/unpack.c pe_node_t *remote_node = NULL; NULL 720 lib/pengine/unpack.c CRM_CHECK(remote_node != NULL, return;); NULL 726 lib/pengine/unpack.c if (new_rsc->container == NULL) { NULL 768 lib/pengine/unpack.c xmlNode *xml_obj = NULL; NULL 769 lib/pengine/unpack.c GList *gIter = NULL; NULL 773 lib/pengine/unpack.c for (xml_obj = pcmk__xe_first_child(xml_resources); xml_obj != NULL; NULL 776 lib/pengine/unpack.c pe_resource_t *new_rsc = NULL; NULL 782 lib/pengine/unpack.c template_id, NULL, NULL) == FALSE) { NULL 784 lib/pengine/unpack.c g_hash_table_insert(data_set->template_rsc_sets, strdup(template_id), NULL); NULL 790 lib/pengine/unpack.c if (common_unpack(xml_obj, &new_rsc, NULL, data_set) && (new_rsc != NULL)) { NULL 798 lib/pengine/unpack.c if (new_rsc != NULL && new_rsc->fns != NULL) { NULL 804 lib/pengine/unpack.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 829 lib/pengine/unpack.c xmlNode *xml_tag = NULL; NULL 833 lib/pengine/unpack.c for (xml_tag = pcmk__xe_first_child(xml_tags); xml_tag != NULL; NULL 836 lib/pengine/unpack.c xmlNode *xml_obj_ref = NULL; NULL 843 lib/pengine/unpack.c if (tag_id == NULL) { NULL 849 lib/pengine/unpack.c for (xml_obj_ref = pcmk__xe_first_child(xml_tag); xml_obj_ref != NULL; NULL 858 lib/pengine/unpack.c if (obj_ref == NULL) { NULL 878 lib/pengine/unpack.c const char *ticket_id = NULL; NULL 879 lib/pengine/unpack.c const char *granted = NULL; NULL 880 lib/pengine/unpack.c const char *last_granted = NULL; NULL 881 lib/pengine/unpack.c const char *standby = NULL; NULL 882 lib/pengine/unpack.c xmlAttrPtr xIter = NULL; NULL 884 lib/pengine/unpack.c pe_ticket_t *ticket = NULL; NULL 894 lib/pengine/unpack.c if (ticket == NULL) { NULL 896 lib/pengine/unpack.c if (ticket == NULL) { NULL 946 lib/pengine/unpack.c xmlNode *xml_obj = NULL; NULL 948 lib/pengine/unpack.c for (xml_obj = pcmk__xe_first_child(xml_tickets); xml_obj != NULL; NULL 963 lib/pengine/unpack.c const char *resource_discovery_enabled = NULL; NULL 964 lib/pengine/unpack.c xmlNode *attrs = NULL; NULL 965 lib/pengine/unpack.c pe_resource_t *rsc = NULL; NULL 971 lib/pengine/unpack.c if ((this_node == NULL) || !pe__is_guest_or_remote_node(this_node)) { NULL 998 lib/pengine/unpack.c ((rsc != NULL) && !pcmk_is_set(rsc->flags, pe_rsc_managed))) { NULL 1033 lib/pengine/unpack.c const char *discovery = NULL; NULL 1049 lib/pengine/unpack.c if ((discovery != NULL) && !crm_is_true(discovery)) { NULL 1071 lib/pengine/unpack.c const char *id = NULL; NULL 1072 lib/pengine/unpack.c const char *uname = NULL; NULL 1073 lib/pengine/unpack.c pe_node_t *this_node = NULL; NULL 1076 lib/pengine/unpack.c if (id == NULL) { NULL 1083 lib/pengine/unpack.c if (uname == NULL) { NULL 1090 lib/pengine/unpack.c if (this_node == NULL) { NULL 1155 lib/pengine/unpack.c state != NULL; state = crm_next_same_xml(state)) { NULL 1159 lib/pengine/unpack.c pe_node_t *this_node = NULL; NULL 1161 lib/pengine/unpack.c if ((id == NULL) || (uname == NULL)) { NULL 1169 lib/pengine/unpack.c if (this_node == NULL) { NULL 1192 lib/pengine/unpack.c if ((rsc == NULL) || (rsc->role != RSC_ROLE_STARTED) NULL 1208 lib/pengine/unpack.c if ((rsc == NULL) NULL 1251 lib/pengine/unpack.c xmlNode *state = NULL; NULL 1255 lib/pengine/unpack.c if (data_set->tickets == NULL) { NULL 1259 lib/pengine/unpack.c for (state = pcmk__xe_first_child(status); state != NULL; NULL 1282 lib/pengine/unpack.c if (data_set->stop_needed != NULL) { NULL 1292 lib/pengine/unpack.c data_set->stop_needed = NULL; NULL 1299 lib/pengine/unpack.c for (GList *gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 1306 lib/pengine/unpack.c && (this_node->details->remote_rsc != NULL)) { NULL 1375 lib/pengine/unpack.c } else if (terminate != NULL && strlen(terminate) > 0) { NULL 1390 lib/pengine/unpack.c if (exp_state == NULL) { NULL 1400 lib/pengine/unpack.c } else if (in_cluster == NULL) { NULL 1436 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(join, CRMD_JOINSTATE_PENDING, CRMD_JOINSTATE_DOWN, NULL)) { NULL 1455 lib/pengine/unpack.c pe_resource_t *container = NULL; NULL 1456 lib/pengine/unpack.c pe_node_t *host = NULL; NULL 1462 lib/pengine/unpack.c if (rsc == NULL) { NULL 1526 lib/pengine/unpack.c CRM_CHECK(this_node != NULL, return); NULL 1620 lib/pengine/unpack.c return NULL; NULL 1637 lib/pengine/unpack.c char *basename = NULL; NULL 1660 lib/pengine/unpack.c char *zero = NULL; NULL 1674 lib/pengine/unpack.c pe_resource_t *rsc = NULL; NULL 1675 lib/pengine/unpack.c xmlNode *xml_rsc = create_xml_node(NULL, XML_CIB_TAG_RESOURCE); NULL 1681 lib/pengine/unpack.c if (!common_unpack(xml_rsc, &rsc, NULL, data_set)) { NULL 1682 lib/pengine/unpack.c return NULL; NULL 1690 lib/pengine/unpack.c if (node == NULL) { NULL 1691 lib/pengine/unpack.c node = pe_create_node(rsc_id, rsc_id, "remote", NULL, data_set); NULL 1722 lib/pengine/unpack.c pe_resource_t *orphan = top->fns->find_rsc(top, rsc_id, NULL, pe_find_clone); NULL 1747 lib/pengine/unpack.c GList *rIter = NULL; NULL 1748 lib/pengine/unpack.c pe_resource_t *rsc = NULL; NULL 1749 lib/pengine/unpack.c pe_resource_t *inactive_instance = NULL; NULL 1752 lib/pengine/unpack.c CRM_ASSERT(parent != NULL); NULL 1758 lib/pengine/unpack.c for (rIter = parent->children; rsc == NULL && rIter; rIter = rIter->next) { NULL 1759 lib/pengine/unpack.c GList *locations = NULL; NULL 1783 lib/pengine/unpack.c CRM_LOG_ASSERT(locations->next == NULL); NULL 1793 lib/pengine/unpack.c rsc = parent->fns->find_rsc(child, rsc_id, NULL, pe_find_clone); NULL 1807 lib/pengine/unpack.c rsc = NULL; NULL 1820 lib/pengine/unpack.c inactive_instance = parent->fns->find_rsc(child, rsc_id, NULL, NULL 1828 lib/pengine/unpack.c inactive_instance = NULL; NULL 1834 lib/pengine/unpack.c if ((rsc == NULL) && !skip_inactive && (inactive_instance != NULL)) { NULL 1851 lib/pengine/unpack.c if ((rsc != NULL) && !pcmk_is_set(rsc->flags, pe_rsc_needs_fencing) NULL 1856 lib/pengine/unpack.c rsc = NULL; NULL 1859 lib/pengine/unpack.c if (rsc == NULL) { NULL 1870 lib/pengine/unpack.c pe_resource_t *rsc = NULL; NULL 1871 lib/pengine/unpack.c pe_resource_t *parent = NULL; NULL 1876 lib/pengine/unpack.c if (rsc == NULL) { NULL 1897 lib/pengine/unpack.c return NULL; NULL 1912 lib/pengine/unpack.c CRM_ASSERT(rsc != NULL); NULL 1931 lib/pengine/unpack.c pe_resource_t *rsc = NULL; NULL 1941 lib/pengine/unpack.c CRM_CHECK(rsc != NULL, return NULL); NULL 1943 lib/pengine/unpack.c resource_location(rsc, NULL, -INFINITY, "__orphan_do_not_run__", data_set); NULL 1953 lib/pengine/unpack.c pe_node_t *tmpnode = NULL; NULL 1954 lib/pengine/unpack.c char *reason = NULL; NULL 1966 lib/pengine/unpack.c if (g_hash_table_lookup(iter->known_on, node->details->id) == NULL) { NULL 2019 lib/pengine/unpack.c if (reason == NULL) { NULL 2107 lib/pengine/unpack.c tmpnode = NULL; NULL 2173 lib/pengine/unpack.c } else if (rsc->clone_name && strchr(rsc->clone_name, ':') != NULL) { NULL 2179 lib/pengine/unpack.c rsc->clone_name = NULL; NULL 2186 lib/pengine/unpack.c for (; gIter != NULL; gIter = gIter->next) { NULL 2203 lib/pengine/unpack.c const char *task = NULL; NULL 2204 lib/pengine/unpack.c const char *status = NULL; NULL 2210 lib/pengine/unpack.c for (; gIter != NULL; gIter = gIter->next) { NULL 2214 lib/pengine/unpack.c char *key = NULL; NULL 2258 lib/pengine/unpack.c const char *task = NULL; NULL 2259 lib/pengine/unpack.c const char *status = NULL; NULL 2265 lib/pengine/unpack.c for (; gIter != NULL; gIter = gIter->next) { NULL 2277 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, CRMD_ACTION_START, CRMD_ACTION_MIGRATED, NULL)) { NULL 2283 lib/pengine/unpack.c if (pcmk__strcase_any_of(rc, "0", "8", NULL)) { NULL 2286 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, CRMD_ACTION_PROMOTE, CRMD_ACTION_DEMOTE, NULL)) { NULL 2337 lib/pengine/unpack.c GList *gIter = NULL; NULL 2342 lib/pengine/unpack.c const char *task = NULL; NULL 2345 lib/pengine/unpack.c pe_resource_t *rsc = NULL; NULL 2346 lib/pengine/unpack.c GList *op_list = NULL; NULL 2347 lib/pengine/unpack.c GList *sorted_op_list = NULL; NULL 2349 lib/pengine/unpack.c xmlNode *migrate_op = NULL; NULL 2350 lib/pengine/unpack.c xmlNode *rsc_op = NULL; NULL 2351 lib/pengine/unpack.c xmlNode *last_failure = NULL; NULL 2356 lib/pengine/unpack.c if (rsc_id == NULL) { NULL 2359 lib/pengine/unpack.c return NULL; NULL 2366 lib/pengine/unpack.c rsc_op != NULL; rsc_op = crm_next_same_xml(rsc_op)) { NULL 2372 lib/pengine/unpack.c if (op_list == NULL) { NULL 2374 lib/pengine/unpack.c return NULL; NULL 2380 lib/pengine/unpack.c if (rsc == NULL) { NULL 2381 lib/pengine/unpack.c if (op_list == NULL) { NULL 2383 lib/pengine/unpack.c return NULL; NULL 2388 lib/pengine/unpack.c CRM_ASSERT(rsc != NULL); NULL 2400 lib/pengine/unpack.c for (gIter = sorted_op_list; gIter != NULL; gIter = gIter->next) { NULL 2441 lib/pengine/unpack.c xmlNode *rsc_entry = NULL; NULL 2442 lib/pengine/unpack.c for (rsc_entry = pcmk__xe_first_child(lrm_rsc_list); rsc_entry != NULL; NULL 2456 lib/pengine/unpack.c if (container_id == NULL || rsc_id == NULL) { NULL 2461 lib/pengine/unpack.c if (container == NULL) { NULL 2466 lib/pengine/unpack.c if (rsc == NULL || NULL 2468 lib/pengine/unpack.c rsc->container != NULL) { NULL 2494 lib/pengine/unpack.c if (xml == NULL) { NULL 2498 lib/pengine/unpack.c if (xml == NULL) { NULL 2504 lib/pengine/unpack.c rsc_entry != NULL; rsc_entry = crm_next_same_xml(rsc_entry)) { NULL 2508 lib/pengine/unpack.c if ((rsc != NULL) NULL 2550 lib/pengine/unpack.c xmlNode *xml = NULL; NULL 2584 lib/pengine/unpack.c return NULL; NULL 2622 lib/pengine/unpack.c node->details->uname, NULL, TRUE, data_set); NULL 2650 lib/pengine/unpack.c pe_node_t *target_node = NULL; NULL 2651 lib/pengine/unpack.c pe_node_t *source_node = NULL; NULL 2652 lib/pengine/unpack.c xmlNode *migrate_from = NULL; NULL 2726 lib/pengine/unpack.c xmlNode *action = find_lrm_op(rsc->id, action_name, node_name, NULL, TRUE, NULL 2738 lib/pengine/unpack.c xmlNode *target_stop = NULL; NULL 2739 lib/pengine/unpack.c xmlNode *target_migrate_from = NULL; NULL 2752 lib/pengine/unpack.c target_stop = find_lrm_op(rsc->id, CRMD_ACTION_STOP, target, NULL, NULL 2761 lib/pengine/unpack.c if ((target_stop == NULL) || (target_stop_id < target_migrate_from_id)) { NULL 2774 lib/pengine/unpack.c } else if (target_migrate_from == NULL) { NULL 2805 lib/pengine/unpack.c xmlNode *source_stop = NULL; NULL 2806 lib/pengine/unpack.c xmlNode *source_migrate_to = NULL; NULL 2819 lib/pengine/unpack.c source_stop = find_lrm_op(rsc->id, CRMD_ACTION_STOP, source, NULL, NULL 2826 lib/pengine/unpack.c if ((source_stop == NULL) NULL 2844 lib/pengine/unpack.c xmlNode *xIter = NULL; NULL 2870 lib/pengine/unpack.c if(key == NULL) { NULL 2880 lib/pengine/unpack.c const char *when_s = NULL; NULL 2992 lib/pengine/unpack.c pe_action_t *action = NULL; NULL 3000 lib/pengine/unpack.c CRM_CHECK(task != NULL, return); NULL 3009 lib/pengine/unpack.c if (exit_reason == NULL) { NULL 3044 lib/pengine/unpack.c action = custom_action(rsc, strdup(key), task, NULL, TRUE, FALSE, data_set); NULL 3120 lib/pengine/unpack.c if (fail_rsc->allowed_nodes != NULL) { NULL 3162 lib/pengine/unpack.c CRM_CHECK(task != NULL, return PCMK_LRM_OP_ERROR); NULL 3164 lib/pengine/unpack.c if (exit_reason == NULL) { NULL 3294 lib/pengine/unpack.c op_digest_cache_t *digest_data = NULL; NULL 3321 lib/pengine/unpack.c pe_action_t *fence = pe_fence_op(remote_node, NULL, TRUE, NULL, NULL 3402 lib/pengine/unpack.c const char *clear_reason = NULL; NULL 3440 lib/pengine/unpack.c if (pe_get_failcount(node, rsc, NULL, pe_fc_default, xml_op, data_set)) { NULL 3471 lib/pengine/unpack.c if (clear_reason != NULL) { NULL 3513 lib/pengine/unpack.c if (key == NULL) { NULL 3516 lib/pengine/unpack.c decode_transition_key(key, NULL, NULL, NULL, &target_rc); NULL 3524 lib/pengine/unpack.c pe_action_t *action = custom_action(rsc, strdup(key), task, NULL, TRUE, FALSE, data_set); NULL 3674 lib/pengine/unpack.c const char *task = NULL; NULL 3675 lib/pengine/unpack.c const char *task_key = NULL; NULL 3676 lib/pengine/unpack.c const char *exit_reason = NULL; NULL 3687 lib/pengine/unpack.c if (exit_reason == NULL) { NULL 3696 lib/pengine/unpack.c CRM_CHECK(task != NULL, return); NULL 3805 lib/pengine/unpack.c if (rsc->pending_task == NULL) { NULL 3909 lib/pengine/unpack.c resource_location(parent, NULL, -INFINITY, "fatal-error", data_set); NULL 3925 lib/pengine/unpack.c const char *cluster_name = NULL; NULL 3928 lib/pengine/unpack.c .node_hash = NULL, NULL 3931 lib/pengine/unpack.c .match_data = NULL, NULL 3932 lib/pengine/unpack.c .rsc_data = NULL, NULL 3933 lib/pengine/unpack.c .op_data = NULL NULL 3958 lib/pengine/unpack.c node->details->attrs, NULL, overwrite, data_set); NULL 3960 lib/pengine/unpack.c if (pe_node_attribute_raw(node, CRM_ATTR_SITE_NAME) == NULL) { NULL 3984 lib/pengine/unpack.c xmlNode *rsc_op = NULL; NULL 3986 lib/pengine/unpack.c GList *gIter = NULL; NULL 3987 lib/pengine/unpack.c GList *op_list = NULL; NULL 3988 lib/pengine/unpack.c GList *sorted_op_list = NULL; NULL 3991 lib/pengine/unpack.c op_list = NULL; NULL 3992 lib/pengine/unpack.c sorted_op_list = NULL; NULL 3995 lib/pengine/unpack.c rsc_op != NULL; rsc_op = pcmk__xe_next(rsc_op)) { NULL 4005 lib/pengine/unpack.c if (op_list == NULL) { NULL 4007 lib/pengine/unpack.c return NULL; NULL 4017 lib/pengine/unpack.c op_list = NULL; NULL 4021 lib/pengine/unpack.c for (gIter = sorted_op_list; gIter != NULL; gIter = gIter->next) { NULL 4045 lib/pengine/unpack.c GList *output = NULL; NULL 4046 lib/pengine/unpack.c GList *intermediate = NULL; NULL 4048 lib/pengine/unpack.c xmlNode *tmp = NULL; NULL 4051 lib/pengine/unpack.c pe_node_t *this_node = NULL; NULL 4053 lib/pengine/unpack.c xmlNode *node_state = NULL; NULL 4055 lib/pengine/unpack.c for (node_state = pcmk__xe_first_child(status); node_state != NULL; NULL 4061 lib/pengine/unpack.c if (node != NULL && !pcmk__str_eq(uname, node, pcmk__str_casei)) { NULL 4066 lib/pengine/unpack.c if(this_node == NULL) { NULL 4067 lib/pengine/unpack.c CRM_LOG_ASSERT(this_node != NULL); NULL 4083 lib/pengine/unpack.c xmlNode *lrm_rsc = NULL; NULL 4088 lib/pengine/unpack.c for (lrm_rsc = pcmk__xe_first_child(tmp); lrm_rsc != NULL; NULL 4096 lib/pengine/unpack.c if (rsc != NULL && !pcmk__str_eq(rsc_id, rsc, pcmk__str_casei)) { NULL 40 lib/pengine/utils.c CRM_CHECK(action != NULL, return NULL); NULL 42 lib/pengine/utils.c if (action->action_details == NULL) { NULL 44 lib/pengine/utils.c CRM_CHECK(action->action_details != NULL, return NULL); NULL 48 lib/pengine/utils.c if (details->versioned_parameters == NULL) { NULL 49 lib/pengine/utils.c details->versioned_parameters = create_xml_node(NULL, NULL 52 lib/pengine/utils.c if (details->versioned_meta == NULL) { NULL 53 lib/pengine/utils.c details->versioned_meta = create_xml_node(NULL, XML_TAG_OP_VER_META); NULL 63 lib/pengine/utils.c if ((action == NULL) || (action->action_details == NULL)) { NULL 76 lib/pengine/utils.c action->action_details = NULL; NULL 98 lib/pengine/utils.c for (GList *n = rsc->running_on; n != NULL; n = n->next) { NULL 120 lib/pengine/utils.c } else if(node == NULL) { NULL 144 lib/pengine/utils.c pe_node_t *new_node = NULL; NULL 146 lib/pengine/utils.c CRM_ASSERT(this_node != NULL); NULL 149 lib/pengine/utils.c CRM_ASSERT(new_node != NULL); NULL 164 lib/pengine/utils.c pe_node_t *other_node = NULL; NULL 168 lib/pengine/utils.c pe_node_t *node = NULL; NULL 171 lib/pengine/utils.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 174 lib/pengine/utils.c if (other_node == NULL) { NULL 181 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 186 lib/pengine/utils.c if (other_node == NULL) { NULL 206 lib/pengine/utils.c GHashTable *result = NULL; NULL 208 lib/pengine/utils.c result = pcmk__strkey_table(NULL, free); NULL 209 lib/pengine/utils.c for (GList *gIter = list; gIter != NULL; gIter = gIter->next) { NULL 242 lib/pengine/utils.c for (GList *gIter = list; gIter != NULL; gIter = gIter->next) { NULL 267 lib/pengine/utils.c pe_node_t *node = NULL; NULL 274 lib/pengine/utils.c while (g_hash_table_iter_next(&iter, NULL, (void **) &node)) { NULL 308 lib/pengine/utils.c if (rsc != NULL && pcmk_is_set(rsc->flags, pe_rsc_orphan)) { NULL 312 lib/pengine/utils.c if (nodes == NULL) { NULL 325 lib/pengine/utils.c for (GList *gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 340 lib/pengine/utils.c if (a == NULL && b == NULL) { NULL 343 lib/pengine/utils.c if (a == NULL) { NULL 346 lib/pengine/utils.c if (b == NULL) { NULL 367 lib/pengine/utils.c if (a == NULL && b == NULL) { NULL 370 lib/pengine/utils.c if (a == NULL) { NULL 373 lib/pengine/utils.c if (b == NULL) { NULL 419 lib/pengine/utils.c pe_action_t *action = NULL; NULL 420 lib/pengine/utils.c GList *possible_matches = NULL; NULL 422 lib/pengine/utils.c CRM_CHECK(key != NULL, return NULL); NULL 423 lib/pengine/utils.c CRM_CHECK(task != NULL, free(key); return NULL); NULL 425 lib/pengine/utils.c if (save_action && rsc != NULL) { NULL 436 lib/pengine/utils.c if(data_set->singletons == NULL) { NULL 437 lib/pengine/utils.c data_set->singletons = pcmk__strkey_table(NULL, NULL); NULL 440 lib/pengine/utils.c if (possible_matches != NULL) { NULL 455 lib/pengine/utils.c if (action == NULL) { NULL 494 lib/pengine/utils.c if(rsc == NULL) { NULL 499 lib/pengine/utils.c if (rsc != NULL) { NULL 503 lib/pengine/utils.c parse_op_key(key, NULL, NULL, &interval_ms); NULL 518 lib/pengine/utils.c if (rsc != NULL) { NULL 528 lib/pengine/utils.c && action->node != NULL && action->op_entry != NULL) { NULL 533 lib/pengine/utils.c .match_data = NULL, NULL 534 lib/pengine/utils.c .rsc_data = NULL, NULL 535 lib/pengine/utils.c .op_data = NULL NULL 540 lib/pengine/utils.c &rule_data, action->extra, NULL, NULL 547 lib/pengine/utils.c } else if (action->node == NULL) { NULL 554 lib/pengine/utils.c XML_LRM_ATTR_INTERVAL_MS) == NULL) { NULL 582 lib/pengine/utils.c pe_action_set_reason(action, NULL, TRUE); NULL 611 lib/pengine/utils.c pe_action_set_flag_reason(__func__, __LINE__, action, NULL, NULL 618 lib/pengine/utils.c pe_action_set_flag_reason(__func__, __LINE__, action, NULL, NULL 652 lib/pengine/utils.c return !pcmk__strcase_any_of(value, "standby", "demote", "stop", NULL); NULL 659 lib/pengine/utils.c const char *name = NULL; NULL 660 lib/pengine/utils.c const char *role = NULL; NULL 661 lib/pengine/utils.c const char *on_fail = NULL; NULL 662 lib/pengine/utils.c const char *interval_spec = NULL; NULL 663 lib/pengine/utils.c const char *enabled = NULL; NULL 672 lib/pengine/utils.c return NULL; NULL 676 lib/pengine/utils.c xmlNode *operation = NULL; NULL 678 lib/pengine/utils.c CRM_CHECK(action->rsc != NULL, return NULL); NULL 681 lib/pengine/utils.c (operation != NULL) && (value == NULL); NULL 699 lib/pengine/utils.c NULL)) { NULL 721 lib/pengine/utils.c RSC_ROLE_PROMOTED_LEGACY_S, NULL) NULL 726 lib/pengine/utils.c return NULL; NULL 738 lib/pengine/utils.c const char *name = NULL; NULL 739 lib/pengine/utils.c const char *value = NULL; NULL 740 lib/pengine/utils.c const char *interval_spec = NULL; NULL 741 lib/pengine/utils.c xmlNode *op = NULL; NULL 742 lib/pengine/utils.c xmlNode *operation = NULL; NULL 745 lib/pengine/utils.c operation != NULL; NULL 777 lib/pengine/utils.c if (value != NULL) { NULL 800 lib/pengine/utils.c crm_time_t *origin = NULL; NULL 803 lib/pengine/utils.c if ((value == NULL) || (interval_ms == 0) || (now == NULL)) { NULL 809 lib/pengine/utils.c if (origin == NULL) { NULL 829 lib/pengine/utils.c if (start_delay != NULL) { NULL 849 lib/pengine/utils.c xmlNode *child = NULL; NULL 850 lib/pengine/utils.c GHashTable *action_meta = NULL; NULL 851 lib/pengine/utils.c const char *timeout_spec = NULL; NULL 855 lib/pengine/utils.c .node_hash = NULL, NULL 858 lib/pengine/utils.c .match_data = NULL, NULL 859 lib/pengine/utils.c .rsc_data = NULL, NULL 860 lib/pengine/utils.c .op_data = NULL NULL 864 lib/pengine/utils.c child != NULL; child = crm_next_same_xml(child)) { NULL 872 lib/pengine/utils.c if (timeout_spec == NULL && data_set->op_defaults) { NULL 875 lib/pengine/utils.c &rule_data, action_meta, NULL, FALSE, data_set); NULL 887 lib/pengine/utils.c if (action_meta != NULL) { NULL 898 lib/pengine/utils.c xmlNode *attrs = NULL; NULL 899 lib/pengine/utils.c xmlNode *attr = NULL; NULL 901 lib/pengine/utils.c for (attrs = pcmk__xe_first_child(versioned_meta); attrs != NULL; NULL 904 lib/pengine/utils.c for (attr = pcmk__xe_first_child(attrs); attr != NULL; NULL 911 lib/pengine/utils.c int start_delay = unpack_start_delay(value, NULL); NULL 951 lib/pengine/utils.c const char *value = NULL; NULL 955 lib/pengine/utils.c pe_rsc_action_details_t *rsc_details = NULL; NULL 970 lib/pengine/utils.c .node_hash = NULL, NULL 973 lib/pengine/utils.c .match_data = NULL, NULL 982 lib/pengine/utils.c action->meta, NULL, FALSE, data_set); NULL 1000 lib/pengine/utils.c xmlAttrPtr xIter = NULL; NULL 1004 lib/pengine/utils.c action->meta, NULL, TRUE, data_set); NULL 1012 lib/pengine/utils.c NULL); NULL 1016 lib/pengine/utils.c NULL); NULL 1077 lib/pengine/utils.c if (!pcmk__strcase_any_of(action->task, RSC_START, RSC_PROMOTE, NULL)) { NULL 1097 lib/pengine/utils.c if (value == NULL) { NULL 1121 lib/pengine/utils.c } else if (pcmk__strcase_any_of(value, "ignore", "nothing", NULL)) { NULL 1144 lib/pengine/utils.c value = NULL; NULL 1153 lib/pengine/utils.c value = NULL; NULL 1157 lib/pengine/utils.c if (value == NULL && container) { NULL 1169 lib/pengine/utils.c } else if (((value == NULL) || !pcmk_is_set(action->rsc->flags, pe_rsc_managed)) NULL 1193 lib/pengine/utils.c } else if (value == NULL && pcmk__str_eq(action->task, CRMD_ACTION_STOP, pcmk__str_casei)) { NULL 1203 lib/pengine/utils.c } else if (value == NULL) { NULL 1211 lib/pengine/utils.c value = NULL; NULL 1212 lib/pengine/utils.c if (xml_obj != NULL) { NULL 1219 lib/pengine/utils.c if (value != NULL && action->fail_role == RSC_ROLE_UNKNOWN) { NULL 1258 lib/pengine/utils.c char *local_key = NULL; NULL 1259 lib/pengine/utils.c const char *name = NULL; NULL 1260 lib/pengine/utils.c const char *value = NULL; NULL 1261 lib/pengine/utils.c const char *interval_spec = NULL; NULL 1262 lib/pengine/utils.c char *match_key = NULL; NULL 1263 lib/pengine/utils.c xmlNode *op = NULL; NULL 1264 lib/pengine/utils.c xmlNode *operation = NULL; NULL 1267 lib/pengine/utils.c for (operation = pcmk__xe_first_child(rsc->ops_xml); operation != NULL; NULL 1293 lib/pengine/utils.c if (op != NULL) { NULL 1302 lib/pengine/utils.c return NULL; NULL 1317 lib/pengine/utils.c return NULL; NULL 1333 lib/pengine/utils.c user_data == NULL ? "" : (char *)user_data, NULL 1334 lib/pengine/utils.c user_data == NULL ? "" : ": ", (char *)key, (char *)value); NULL 1340 lib/pengine/utils.c if (action == NULL) { NULL 1367 lib/pengine/utils.c const char *value = NULL; NULL 1368 lib/pengine/utils.c GList *result = NULL; NULL 1371 lib/pengine/utils.c CRM_CHECK(input != NULL, return NULL); NULL 1373 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 1377 lib/pengine/utils.c if (value == NULL) { NULL 1383 lib/pengine/utils.c } else if (not_on_node == NULL) { NULL 1387 lib/pengine/utils.c } else if (action->node == NULL) { NULL 1403 lib/pengine/utils.c if (rsc == NULL) { NULL 1424 lib/pengine/utils.c GList *gIter = NULL; NULL 1426 lib/pengine/utils.c CRM_CHECK(uuid || task, return NULL); NULL 1428 lib/pengine/utils.c for (gIter = input; gIter != NULL; gIter = gIter->next) { NULL 1431 lib/pengine/utils.c if (uuid != NULL && !pcmk__str_eq(uuid, action->uuid, pcmk__str_casei)) { NULL 1434 lib/pengine/utils.c } else if (task != NULL && !pcmk__str_eq(task, action->task, pcmk__str_casei)) { NULL 1437 lib/pengine/utils.c } else if (on_node == NULL) { NULL 1440 lib/pengine/utils.c } else if (action->node == NULL) { NULL 1448 lib/pengine/utils.c return NULL; NULL 1455 lib/pengine/utils.c GList *result = NULL; NULL 1457 lib/pengine/utils.c CRM_CHECK(key != NULL, return NULL); NULL 1459 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 1466 lib/pengine/utils.c } else if (on_node == NULL) { NULL 1470 lib/pengine/utils.c } else if (action->node == NULL) { NULL 1494 lib/pengine/utils.c GList *result = NULL; NULL 1496 lib/pengine/utils.c CRM_CHECK(key != NULL, return NULL); NULL 1498 lib/pengine/utils.c if (on_node == NULL) { NULL 1501 lib/pengine/utils.c return NULL; NULL 1504 lib/pengine/utils.c for (GList *gIter = input; gIter != NULL; gIter = gIter->next) { NULL 1507 lib/pengine/utils.c if (action->node == NULL) { NULL 1543 lib/pengine/utils.c GList *result = NULL; NULL 1558 lib/pengine/utils.c pe_node_t *match = NULL; NULL 1571 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 1580 lib/pengine/utils.c if (match == NULL) { NULL 1591 lib/pengine/utils.c if (node != NULL) { NULL 1594 lib/pengine/utils.c } else if (data_set != NULL) { NULL 1597 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 1605 lib/pengine/utils.c pe_node_t *node_iter = NULL; NULL 1608 lib/pengine/utils.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node_iter)) { NULL 1613 lib/pengine/utils.c if (node == NULL && score == -INFINITY) { NULL 1617 lib/pengine/utils.c rsc->allocated_to = NULL; NULL 1637 lib/pengine/utils.c char *a_uuid = NULL; NULL 1638 lib/pengine/utils.c char *b_uuid = NULL; NULL 1703 lib/pengine/utils.c CRM_CHECK(a_magic != NULL && b_magic != NULL, sort_return(0, "No magic")); NULL 1704 lib/pengine/utils.c if (!decode_transition_magic(a_magic, &a_uuid, &a_id, NULL, NULL, NULL, NULL 1705 lib/pengine/utils.c NULL)) { NULL 1708 lib/pengine/utils.c if (!decode_transition_magic(b_magic, &b_uuid, &b_id, NULL, NULL, NULL, NULL 1709 lib/pengine/utils.c NULL)) { NULL 1752 lib/pengine/utils.c if (data_set->now == NULL) { NULL 1754 lib/pengine/utils.c data_set->now = crm_time_new(NULL); NULL 1760 lib/pengine/utils.c return time(NULL); NULL 1769 lib/pengine/utils.c CRM_CHECK(role != NULL, return FALSE); NULL 1804 lib/pengine/utils.c GList *gIter = NULL; NULL 1805 lib/pengine/utils.c pe_action_wrapper_t *wrapper = NULL; NULL 1806 lib/pengine/utils.c GList *list = NULL; NULL 1812 lib/pengine/utils.c if (lh_action == NULL || rh_action == NULL) { NULL 1823 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 1850 lib/pengine/utils.c pe_action_t *op = NULL; NULL 1855 lib/pengine/utils.c if (op == NULL) { NULL 1856 lib/pengine/utils.c op = custom_action(NULL, strdup(name), name, NULL, TRUE, TRUE, data_set); NULL 1878 lib/pengine/utils.c pe_ticket_t *ticket = NULL; NULL 1881 lib/pengine/utils.c return NULL; NULL 1884 lib/pengine/utils.c if (data_set->tickets == NULL) { NULL 1889 lib/pengine/utils.c if (ticket == NULL) { NULL 1892 lib/pengine/utils.c if (ticket == NULL) { NULL 1894 lib/pengine/utils.c return NULL; NULL 1923 lib/pengine/utils.c for (GList *gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 1931 lib/pengine/utils.c for (GList *lpc = data_set->resources; lpc != NULL; lpc = lpc->next) { NULL 1941 lib/pengine/utils.c for (GList *gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 1949 lib/pengine/utils.c for (GList *gIter = candidates; gIter != NULL; gIter = gIter->next) { NULL 1974 lib/pengine/utils.c GList *gIter = NULL; NULL 1992 lib/pengine/utils.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 2038 lib/pengine/utils.c char *op_key = NULL; NULL 2039 lib/pengine/utils.c pe_action_t *stonith_op = NULL; NULL 2041 lib/pengine/utils.c if(op == NULL) { NULL 2051 lib/pengine/utils.c if(stonith_op == NULL) { NULL 2052 lib/pengine/utils.c stonith_op = custom_action(NULL, op_key, CRM_OP_FENCE, node, TRUE, TRUE, data_set); NULL 2071 lib/pengine/utils.c GList *matches = find_unfencing_devices(data_set->resources, NULL); NULL 2073 lib/pengine/utils.c for (GList *gIter = matches; gIter != NULL; gIter = gIter->next) { NULL 2077 lib/pengine/utils.c op_digest_cache_t *data = NULL; NULL 2083 lib/pengine/utils.c if (!pcmk__is_daemon && data_set->priv != NULL) { NULL 2120 lib/pengine/utils.c XML_CONFIG_ATTR_PRIORITY_FENCING_DELAY) != NULL)) { NULL 2134 lib/pengine/utils.c pe_action_required(stonith_op, NULL, reason); NULL 2135 lib/pengine/utils.c } else if(reason && stonith_op->reason == NULL) { NULL 2150 lib/pengine/utils.c } else if ((rsc != NULL) NULL 2169 lib/pengine/utils.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 2180 lib/pengine/utils.c pe_tag_t *tag = NULL; NULL 2181 lib/pengine/utils.c GList *gIter = NULL; NULL 2187 lib/pengine/utils.c if (tag == NULL) { NULL 2189 lib/pengine/utils.c if (tag == NULL) { NULL 2193 lib/pengine/utils.c tag->refs = NULL; NULL 2197 lib/pengine/utils.c for (gIter = tag->refs; gIter != NULL; gIter = gIter->next) { NULL 2220 lib/pengine/utils.c const char *change = NULL; NULL 2255 lib/pengine/utils.c char *reason_text = NULL; NULL 2256 lib/pengine/utils.c if(reason == NULL) { NULL 2259 lib/pengine/utils.c } else if(reason->rsc == NULL) { NULL 2274 lib/pengine/utils.c if (action->reason != NULL && overwrite) { NULL 2278 lib/pengine/utils.c } else if (action->reason == NULL) { NULL 2286 lib/pengine/utils.c if (reason != NULL) { NULL 2289 lib/pengine/utils.c action->reason = NULL; NULL 2355 lib/pengine/utils.c const char *target_role = NULL; NULL 2357 lib/pengine/utils.c CRM_CHECK(rsc != NULL, return false); NULL 2384 lib/pengine/utils.c char *key = NULL; NULL 2414 lib/pengine/utils.c GList *retval = NULL; NULL 2433 lib/pengine/utils.c GList *nodes = NULL; NULL 2465 lib/pengine/utils.c GList *resources = NULL; NULL 2479 lib/pengine/utils.c if (strstr(s, ":") != NULL) { NULL 38 lib/pengine/variant.h CRM_ASSERT(rsc != NULL); \ NULL 113 lib/pengine/variant.h CRM_ASSERT(rsc != NULL); \ NULL 115 lib/pengine/variant.h CRM_ASSERT(rsc->variant_opaque != NULL); \ NULL 134 lib/pengine/variant.h CRM_ASSERT(rsc != NULL); \ NULL 136 lib/pengine/variant.h CRM_ASSERT(rsc->variant_opaque != NULL); \ NULL 146 lib/pengine/variant.h CRM_ASSERT(rsc != NULL); \ NULL 148 lib/pengine/variant.h CRM_ASSERT(rsc->variant_opaque != NULL); \ NULL 21 lib/services/dbus.c static GList *conn_dispatches = NULL; NULL 57 lib/services/dbus.c for (GList *gIter = conn_dispatches; gIter != NULL; gIter = gIter->next) { NULL 67 lib/services/dbus.c conn_dispatches = NULL; NULL 162 lib/services/dbus.c dbus_watch_set_data(watch, client, NULL); NULL 188 lib/services/dbus.c toggle_dbus_watch, NULL, NULL); NULL 214 lib/services/dbus.c dbus_timeout_set_data(timeout, GUINT_TO_POINTER(id), NULL); NULL 229 lib/services/dbus.c dbus_timeout_set_data(timeout, 0, NULL); NULL 252 lib/services/dbus.c toggle_dbus_timer, NULL, NULL); NULL 270 lib/services/dbus.c return NULL; NULL 272 lib/services/dbus.c if (connection == NULL) { NULL 273 lib/services/dbus.c return NULL; NULL 286 lib/services/dbus.c NULL, NULL); NULL 291 lib/services/dbus.c NULL); NULL 338 lib/services/dbus.c if (pending == NULL) { NULL 341 lib/services/dbus.c } else if (reply == NULL) { NULL 351 lib/services/dbus.c char *sig = NULL; NULL 356 lib/services/dbus.c if (sig != NULL) { NULL 416 lib/services/dbus.c const char *method = NULL; NULL 417 lib/services/dbus.c DBusMessage *reply = NULL; NULL 418 lib/services/dbus.c DBusPendingCall* pending = NULL; NULL 439 lib/services/dbus.c return NULL; NULL 481 lib/services/dbus.c const char *method = NULL; NULL 482 lib/services/dbus.c DBusPendingCall* pending = NULL; NULL 496 lib/services/dbus.c return NULL; NULL 498 lib/services/dbus.c } else if (pending == NULL) { NULL 501 lib/services/dbus.c return NULL; NULL 510 lib/services/dbus.c if (!dbus_pending_call_set_notify(pending, done, user_data, NULL)) { NULL 511 lib/services/dbus.c return NULL; NULL 523 lib/services/dbus.c if (field == NULL) { NULL 529 lib/services/dbus.c if (field == NULL) { NULL 593 lib/services/dbus.c char *output = NULL; NULL 658 lib/services/dbus.c DBusMessage *reply = NULL; NULL 659 lib/services/dbus.c char *value = NULL; NULL 700 lib/services/dbus.c char *output = NULL; NULL 701 lib/services/dbus.c struct property_query *query_data = NULL; NULL 703 lib/services/dbus.c CRM_CHECK((connection != NULL) && (target != NULL) && (obj != NULL) NULL 704 lib/services/dbus.c && (iface != NULL) && (name != NULL), return NULL); NULL 711 lib/services/dbus.c if (msg == NULL) { NULL 714 lib/services/dbus.c return NULL; NULL 725 lib/services/dbus.c return NULL; NULL 729 lib/services/dbus.c if (query_data == NULL) { NULL 733 lib/services/dbus.c return NULL; NULL 741 lib/services/dbus.c CRM_CHECK((query_data->target != NULL) NULL 742 lib/services/dbus.c && (query_data->object != NULL) NULL 743 lib/services/dbus.c && (query_data->name != NULL), NULL 746 lib/services/dbus.c return NULL); NULL 753 lib/services/dbus.c if (local_pending == NULL) { NULL 756 lib/services/dbus.c query_data = NULL; NULL 764 lib/services/dbus.c DBusMessage *reply = pcmk_dbus_send_recv(msg, connection, NULL, NULL 48 lib/services/services.c static GHashTable *recurring_actions = NULL; NULL 52 lib/services/services.c static GList *blocked_ops = NULL; NULL 55 lib/services/services.c static GList *inflight_ops = NULL; NULL 88 lib/services/services.c return NULL; NULL 94 lib/services/services.c if (recurring_actions == NULL) { NULL 95 lib/services/services.c recurring_actions = pcmk__strkey_table(NULL, NULL); NULL 111 lib/services/services.c PCMK_RESOURCE_CLASS_UPSTART, NULL) && NULL 112 lib/services/services.c g_list_find(inflight_ops, op) != NULL; NULL 130 lib/services/services.c char *expanded_class = NULL; NULL 173 lib/services/services.c svc_action_t *op = NULL; NULL 237 lib/services/services.c params = NULL; // so we don't free them in this function NULL 242 lib/services/services.c char *dir = NULL; NULL 243 lib/services/services.c char *buf = NULL; NULL 252 lib/services/services.c for (dir = strtok(dirs, ":"); dir != NULL; dir = strtok(NULL, ":")) { NULL 258 lib/services/services.c buf = NULL; NULL 297 lib/services/services.c char *key = NULL; NULL 298 lib/services/services.c char *value = NULL; NULL 316 lib/services/services.c if (op->params != NULL) { NULL 318 lib/services/services.c op->params = NULL; NULL 343 lib/services/services.c if (op == NULL || op->rc != 0) { NULL 345 lib/services/services.c return NULL; NULL 393 lib/services/services.c svc_action_t *action = services_action_create_generic(exec, NULL); NULL 422 lib/services/services.c CRM_CHECK((op != NULL) && (user != NULL), return -EINVAL); NULL 476 lib/services/services.c if ((op == NULL) || (op->opaque == NULL)) { NULL 497 lib/services/services.c services_set_op_pending(op, NULL); NULL 503 lib/services/services.c op->opaque->stderr_gsource = NULL; NULL 508 lib/services/services.c op->opaque->stdout_gsource = NULL; NULL 517 lib/services/services.c if (op == NULL) { NULL 525 lib/services/services.c CRM_CHECK(g_list_find(inflight_ops, op) == NULL, return); NULL 526 lib/services/services.c CRM_CHECK(g_list_find(blocked_ops, op) == NULL, return); NULL 527 lib/services/services.c CRM_CHECK((recurring_actions == NULL) NULL 528 lib/services/services.c || (g_hash_table_lookup(recurring_actions, op->id) == NULL), NULL 558 lib/services/services.c op->params = NULL; NULL 595 lib/services/services.c svc_action_t *op = NULL; NULL 600 lib/services/services.c if (op == NULL) { NULL 660 lib/services/services.c svc_action_t * op = NULL; NULL 667 lib/services/services.c if (op == NULL) { NULL 696 lib/services/services.c svc_action_t * dup = NULL; NULL 706 lib/services/services.c op->cb_data = NULL; NULL 751 lib/services/services.c if (op == NULL) { NULL 816 lib/services/services.c return services_action_async_fork_notify(op, action_callback, NULL); NULL 824 lib/services/services.c GList *gIter = NULL; NULL 825 lib/services/services.c svc_action_t *op = NULL; NULL 827 lib/services/services.c for (gIter = inflight_ops; gIter != NULL; gIter = gIter->next) { NULL 840 lib/services/services.c GList *executed_ops = NULL; NULL 841 lib/services/services.c GList *gIter = NULL; NULL 842 lib/services/services.c svc_action_t *op = NULL; NULL 854 lib/services/services.c for (gIter = blocked_ops; gIter != NULL; gIter = gIter->next) { NULL 869 lib/services/services.c for (gIter = executed_ops; gIter != NULL; gIter = gIter->next) { NULL 883 lib/services/services.c if (op->agent == NULL) { NULL 888 lib/services/services.c if (class == NULL) { NULL 898 lib/services/services.c if (class == NULL) { NULL 922 lib/services/services.c if (op == NULL) { NULL 961 lib/services/services.c GList *standards = NULL; NULL 962 lib/services/services.c GList *agents = NULL; NULL 1005 lib/services/services.c return NULL; NULL 1011 lib/services/services.c if ((standard == NULL) NULL 1018 lib/services/services.c if (standard == NULL) { NULL 1020 lib/services/services.c tmp2 = resources_os_list_ocf_agents(NULL); NULL 1061 lib/services/services.c return NULL; NULL 1067 lib/services/services.c GList *standards = NULL; NULL 1068 lib/services/services.c GList *providers = NULL; NULL 1069 lib/services/services.c GList *iter = NULL; NULL 1074 lib/services/services.c for (iter = standards; iter != NULL; iter = iter->next) { NULL 1088 lib/services/services.c if (has_providers == TRUE && provider != NULL) { NULL 1090 lib/services/services.c for (iter = providers; iter != NULL; iter = iter->next) { NULL 1096 lib/services/services.c } else if (has_providers == FALSE && provider == NULL) { NULL 79 lib/services/services_linux.c CRM_CHECK(data != NULL, return -1); NULL 125 lib/services/services_linux.c && (sigprocmask(SIG_UNBLOCK, &(data->mask), NULL) < 0)) { NULL 142 lib/services/services_linux.c volatile struct sigchld_data_s *last_sigchld_data = NULL; NULL 148 lib/services/services_linux.c if ((last_sigchld_data != NULL) NULL 197 lib/services/services_linux.c CRM_CHECK(data != NULL, return -1); NULL 226 lib/services/services_linux.c if (sigaction(SIGCHLD, &(data->old_sa), NULL) < 0) { NULL 258 lib/services/services_linux.c char *data = NULL; NULL 333 lib/services/services_linux.c op->opaque->stdout_gsource = NULL; NULL 345 lib/services/services_linux.c op->opaque->stderr_gsource = NULL; NULL 384 lib/services/services_linux.c if (value != NULL) { NULL 407 lib/services/services_linux.c void (*env_setter)(gpointer, gpointer, gpointer) = NULL; NULL 408 lib/services/services_linux.c if (op->agent == NULL) { NULL 415 lib/services/services_linux.c if (env_setter != NULL && op->params != NULL) { NULL 416 lib/services/services_linux.c g_hash_table_foreach(op->params, env_setter, NULL); NULL 419 lib/services/services_linux.c if (env_setter == NULL || env_setter == set_alert_env) { NULL 423 lib/services/services_linux.c set_ocf_env("OCF_RA_VERSION_MAJOR", PCMK_OCF_MAJOR_VERSION, NULL); NULL 424 lib/services/services_linux.c set_ocf_env("OCF_RA_VERSION_MINOR", PCMK_OCF_MINOR_VERSION, NULL); NULL 425 lib/services/services_linux.c set_ocf_env("OCF_ROOT", OCF_ROOT_DIR, NULL); NULL 426 lib/services/services_linux.c set_ocf_env("OCF_EXIT_REASON_PREFIX", PCMK_OCF_REASON_PREFIX, NULL); NULL 429 lib/services/services_linux.c set_ocf_env("OCF_RESOURCE_INSTANCE", op->rsc, NULL); NULL 432 lib/services/services_linux.c if (op->agent != NULL) { NULL 433 lib/services/services_linux.c set_ocf_env("OCF_RESOURCE_TYPE", op->agent, NULL); NULL 437 lib/services/services_linux.c if (op->provider != NULL) { NULL 438 lib/services/services_linux.c set_ocf_env("OCF_RESOURCE_PROVIDER", op->provider, NULL); NULL 484 lib/services/services_linux.c op->stdout_data = NULL; NULL 486 lib/services/services_linux.c op->stderr_data = NULL; NULL 489 lib/services/services_linux.c services_action_async(op, NULL); NULL 561 lib/services/services_linux.c *source = NULL; NULL 742 lib/services/services_linux.c if (setgroups(0, NULL) < 0) { NULL 785 lib/services/services_linux.c start = time(NULL); NULL 825 lib/services/services_linux.c timeout = op->timeout - (time(NULL) - start) * 1000; NULL 1083 lib/services/services_linux.c GList *list = NULL; NULL 1088 lib/services/services_linux.c entries = scandir(root, &namelist, NULL, alphasort); NULL 1138 lib/services/services_linux.c GList *result = NULL; NULL 1140 lib/services/services_linux.c char *dir = NULL; NULL 1147 lib/services/services_linux.c for (dir = strtok(dirs, ":"); dir != NULL; dir = strtok(NULL, ":")) { NULL 1163 lib/services/services_linux.c GList *result = NULL; NULL 1165 lib/services/services_linux.c char *dir = NULL; NULL 1173 lib/services/services_linux.c for (dir = strtok(dirs, ":"); dir != NULL; dir = strtok(NULL, ":")) { NULL 1174 lib/services/services_linux.c GList *tmp = NULL; NULL 1198 lib/services/services_linux.c GList *gIter = NULL; NULL 1199 lib/services/services_linux.c GList *result = NULL; NULL 1200 lib/services/services_linux.c GList *providers = NULL; NULL 1207 lib/services/services_linux.c for (gIter = providers; gIter != NULL; gIter = gIter->next) { NULL 1225 lib/services/services_linux.c char *dir = NULL; NULL 1226 lib/services/services_linux.c char *buf = NULL; NULL 1228 lib/services/services_linux.c if (provider == NULL || agent == NULL || pcmk__str_empty(dirs)) { NULL 1233 lib/services/services_linux.c for (dir = strtok(dirs, ":"); dir != NULL; dir = strtok(NULL, ":")) { NULL 73 lib/services/services_lsb.c if ((m) != NULL) { \ NULL 75 lib/services/services_lsb.c (m) = NULL; \ NULL 93 lib/services/services_lsb.c *value = (char *)xmlEncodeEntitiesReentrant(NULL, BAD_CAST line+strlen(prefix)); NULL 105 lib/services/services_lsb.c FILE *fp = NULL; NULL 107 lib/services/services_lsb.c char *provides = NULL; NULL 108 lib/services/services_lsb.c char *req_start = NULL; NULL 109 lib/services/services_lsb.c char *req_stop = NULL; NULL 110 lib/services/services_lsb.c char *shld_start = NULL; NULL 111 lib/services/services_lsb.c char *shld_stop = NULL; NULL 112 lib/services/services_lsb.c char *dflt_start = NULL; NULL 113 lib/services/services_lsb.c char *dflt_stop = NULL; NULL 114 lib/services/services_lsb.c char *s_dscrpt = NULL; NULL 115 lib/services/services_lsb.c char *xml_l_dscrpt = NULL; NULL 129 lib/services/services_lsb.c if (fp == NULL) { NULL 200 lib/services/services_lsb.c xml_l_dscrpt = (char *)xmlEncodeEntitiesReentrant(NULL, BAD_CAST(description)); NULL 279 lib/services/services_lsb.c return resources_action_create(name, PCMK_RESOURCE_CLASS_LSB, NULL, name, NULL 280 lib/services/services_lsb.c action, interval_ms, timeout, NULL, 0); NULL 286 lib/services/services_lsb.c return resources_list_agents(PCMK_RESOURCE_CLASS_LSB, NULL); NULL 43 lib/services/services_nagios.c GList *plugin_list = NULL; NULL 44 lib/services/services_nagios.c GList *result = NULL; NULL 49 lib/services/services_nagios.c for (GList *gIter = plugin_list; gIter != NULL; gIter = gIter->next) { NULL 66 lib/services/services_nagios.c char *buf = NULL; NULL 70 lib/services/services_nagios.c if (name == NULL) { NULL 87 lib/services/services_nagios.c FILE *file_strm = NULL; NULL 92 lib/services/services_nagios.c if (file_strm == NULL) { NULL 110 lib/services/services_nagios.c *output = NULL; NULL 121 lib/services/services_nagios.c *output = NULL; NULL 41 lib/services/systemd.c static DBusConnection* systemd_proxy = NULL; NULL 72 lib/services/systemd.c DBusMessage *reply = NULL; NULL 76 lib/services/systemd.c CRM_CHECK(systemd_proxy, return NULL); NULL 78 lib/services/systemd.c if (msg == NULL) { NULL 80 lib/services/systemd.c return NULL; NULL 91 lib/services/systemd.c return NULL; NULL 93 lib/services/systemd.c } else if (reply == NULL) { NULL 95 lib/services/systemd.c return NULL; NULL 111 lib/services/systemd.c systemd_proxy = NULL; NULL 119 lib/services/systemd.c if (systemd_proxy == NULL) { NULL 133 lib/services/systemd.c : NULL; NULL 141 lib/services/systemd.c systemd_proxy = NULL; NULL 171 lib/services/systemd.c return NULL; NULL 177 lib/services/systemd.c if (name == NULL) { NULL 178 lib/services/systemd.c return NULL; NULL 192 lib/services/systemd.c DBusMessage *reply = NULL; NULL 223 lib/services/systemd.c CRM_ASSERT(msg != NULL); NULL 258 lib/services/systemd.c const char *path = NULL; NULL 268 lib/services/systemd.c } else if (!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, NULL 274 lib/services/systemd.c dbus_message_get_args (reply, NULL, NULL 295 lib/services/systemd.c DBusMessage *reply = NULL; NULL 305 lib/services/systemd.c services_set_op_pending(op, NULL); NULL 318 lib/services/systemd.c DBusMessage *reply = NULL; NULL 319 lib/services/systemd.c DBusPendingCall* pending = NULL; NULL 320 lib/services/systemd.c char *name = NULL; NULL 335 lib/services/systemd.c CRM_ASSERT(msg != NULL); NULL 341 lib/services/systemd.c if(op == NULL || op->synchronous) { NULL 342 lib/services/systemd.c const char *unit = NULL; NULL 343 lib/services/systemd.c char *munit = NULL; NULL 345 lib/services/systemd.c reply = systemd_send_recv(msg, NULL, NULL 365 lib/services/systemd.c return NULL; NULL 397 lib/services/systemd.c GList *units = NULL; NULL 401 lib/services/systemd.c DBusMessage *reply = NULL; NULL 404 lib/services/systemd.c return NULL; NULL 414 lib/services/systemd.c if (reply == NULL) { NULL 415 lib/services/systemd.c return NULL; NULL 420 lib/services/systemd.c return NULL; NULL 426 lib/services/systemd.c return NULL; NULL 434 lib/services/systemd.c const char *match = NULL; NULL 435 lib/services/systemd.c char *unit_name = NULL; NULL 436 lib/services/systemd.c char *basename = NULL; NULL 450 lib/services/systemd.c if (value.str == NULL) { NULL 457 lib/services/systemd.c if (match == NULL) { NULL 493 lib/services/systemd.c char *unit = NULL; NULL 498 lib/services/systemd.c unit = systemd_unit_by_name(name, NULL); NULL 509 lib/services/systemd.c char *meta = NULL; NULL 510 lib/services/systemd.c char *desc = NULL; NULL 511 lib/services/systemd.c char *path = systemd_unit_by_name(name, NULL); NULL 515 lib/services/systemd.c desc = systemd_get_property(path, "Description", NULL, NULL, NULL, NULL 559 lib/services/systemd.c if(!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, __func__, __LINE__)) { NULL 564 lib/services/systemd.c const char *path = NULL; NULL 566 lib/services/systemd.c dbus_message_get_args (reply, NULL, NULL 580 lib/services/systemd.c DBusMessage *reply = NULL; NULL 590 lib/services/systemd.c services_set_op_pending(op, NULL); NULL 652 lib/services/systemd.c FILE *file_strm = NULL; NULL 661 lib/services/systemd.c if (file_strm == NULL) { NULL 705 lib/services/systemd.c if(state == NULL) { NULL 721 lib/services/systemd.c services_set_op_pending(op, NULL); NULL 730 lib/services/systemd.c DBusMessage *msg = NULL; NULL 731 lib/services/systemd.c DBusMessage *reply = NULL; NULL 736 lib/services/systemd.c DBusPendingCall *pending = NULL; NULL 740 lib/services/systemd.c (op->synchronous? NULL : systemd_unit_check), NULL 741 lib/services/systemd.c op, (op->synchronous? NULL : &pending), NULL 774 lib/services/systemd.c CRM_ASSERT(msg != NULL); NULL 801 lib/services/systemd.c reply = systemd_send_recv(msg, NULL, op->timeout); NULL 836 lib/services/systemd.c char *unit = NULL; NULL 35 lib/services/upstart.c static DBusConnection *upstart_proxy = NULL; NULL 46 lib/services/upstart.c if (upstart_proxy == NULL) { NULL 57 lib/services/upstart.c upstart_proxy = NULL; NULL 69 lib/services/upstart.c DBusMessage *reply = NULL; NULL 89 lib/services/upstart.c } else if(!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, __func__, __LINE__)) { NULL 94 lib/services/upstart.c char *path = NULL; NULL 96 lib/services/upstart.c dbus_message_get_args (reply, NULL, NULL 115 lib/services/upstart.c char *match = NULL; NULL 122 lib/services/upstart.c if (match == NULL) { NULL 151 lib/services/upstart.c GList *units = NULL; NULL 154 lib/services/upstart.c DBusMessage *msg = NULL; NULL 155 lib/services/upstart.c DBusMessage *reply = NULL; NULL 161 lib/services/upstart.c return NULL; NULL 173 lib/services/upstart.c CRM_ASSERT(msg != NULL); NULL 181 lib/services/upstart.c return NULL; NULL 186 lib/services/upstart.c return NULL; NULL 192 lib/services/upstart.c return NULL; NULL 198 lib/services/upstart.c const char *job = NULL; NULL 199 lib/services/upstart.c char *path = NULL; NULL 233 lib/services/upstart.c return upstart_job_by_name(name, NULL, DBUS_TIMEOUT_USE_DEFAULT); NULL 239 lib/services/upstart.c char *instance = NULL; NULL 252 lib/services/upstart.c CRM_ASSERT(msg != NULL); NULL 263 lib/services/upstart.c } else if(reply == NULL) { NULL 310 lib/services/upstart.c services_set_op_pending(op, NULL); NULL 370 lib/services/upstart.c DBusMessage *reply = NULL; NULL 391 lib/services/upstart.c if(!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, __func__, __LINE__)) { NULL 396 lib/services/upstart.c const char *path = NULL; NULL 398 lib/services/upstart.c dbus_message_get_args (reply, NULL, NULL 407 lib/services/upstart.c services_set_op_pending(op, NULL); NULL 420 lib/services/upstart.c char *job = NULL; NULL 426 lib/services/upstart.c DBusMessage *msg = NULL; NULL 427 lib/services/upstart.c DBusMessage *reply = NULL; NULL 451 lib/services/upstart.c if (pcmk__strcase_any_of(op->action, "monitor", "status", NULL)) { NULL 456 lib/services/upstart.c DBusPendingCall *pending = NULL; NULL 459 lib/services/upstart.c op->synchronous?NULL:upstart_job_check, op, NULL 460 lib/services/upstart.c op->synchronous?NULL:&pending, op->timeout); NULL 495 lib/services/upstart.c CRM_ASSERT(msg != NULL); NULL 535 lib/services/upstart.c } else if(!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, __func__, __LINE__)) { NULL 540 lib/services/upstart.c const char *path = NULL; NULL 542 lib/services/upstart.c dbus_message_get_args (reply, NULL, NULL 41 libltdl/libltdl/lt__alloc.h if (mem) { free ((void *)mem); mem = NULL; } } LT_STMT_END NULL 102 libltdl/loaders/dld_link.c vtable = NULL; NULL 157 libltdl/loaders/dlopen.c vtable = NULL; NULL 190 libltdl/loaders/dyld.c vtable = NULL; NULL 299 libltdl/loaders/dyld.c if ((const struct section *) NULL != NULL 404 libltdl/loaders/dyld.c return NULL; NULL 100 libltdl/loaders/load_add_on.c vtable = NULL; NULL 71 libltdl/loaders/loadlibrary.c iface_id = lt_dlinterface_register ("ltdl loadlibrary", NULL); NULL 102 libltdl/loaders/loadlibrary.c if (mem) { LocalFree ((void *)mem); mem = NULL; } } LT_STMT_END NULL 125 libltdl/loaders/loadlibrary.c vtable = NULL; NULL 146 libltdl/loaders/loadlibrary.c GetModuleFileName (NULL, wpath, sizeof (wpath)); NULL 197 libltdl/loaders/loadlibrary.c setthreaderrormode (errormode | SEM_FAILCRITICALERRORS, NULL); NULL 203 libltdl/loaders/loadlibrary.c setthreaderrormode (errormode, NULL); NULL 293 libltdl/loaders/loadlibrary.c NULL, NULL 297 libltdl/loaders/loadlibrary.c 0, NULL); NULL 135 libltdl/loaders/preopen.c vtable = NULL; NULL 143 libltdl/loaders/shl_load.c vtable = NULL; NULL 43 libltdl/lt__dirent.c assert (entry != (DIR *) NULL); NULL 57 libltdl/lt__strl.c assert(dst != NULL); NULL 58 libltdl/lt__strl.c assert(src != (const char *) NULL); NULL 105 libltdl/lt__strl.c assert(dst != NULL); NULL 106 libltdl/lt__strl.c assert(src != (const char *) NULL); NULL 55 libltdl/lt_dlloader.c return streq (vtable->name, name) ? (void *) item : NULL; NULL 122 libltdl/lt_dlloader.c slist_foreach (slist_tail (loaders), loader_dump_callback, NULL); NULL 142 libltdl/lt_dlloader.c return (const lt_dlvtable *) (loader ? ((SList *) loader)->userdata : NULL); NULL 169 libltdl/lt_dlloader.c iface = lt_dlinterface_register (id_string, NULL); NULL 335 libltdl/ltdl.c for (loader = (lt_dlloader *) lt_dlloader_next (NULL); loader;) NULL 1289 libltdl/ltdl.c if ((*phandle == NULL) || (archive_name == NULL)) NULL 1315 libltdl/ltdl.c newhandle = NULL; NULL 1476 libltdl/ltdl.c newhandle = NULL; NULL 1619 libltdl/ltdl.c return lt_dlopenadvise (filename, NULL); NULL 1664 libltdl/ltdl.c if (try_dlopen (&handle, filename, NULL, advise) != 0) NULL 185 libltdl/slist.c return slist ? slist->next : NULL; NULL 47 maint/mocked/based-notifyfenced.c const char *type = NULL; NULL 55 maint/mocked/based-notifyfenced.c CRM_CHECK(client != NULL, return true); NULL 59 maint/mocked/based-notifyfenced.c if (client->ipcs == NULL && client->remote == NULL) { NULL 65 maint/mocked/based-notifyfenced.c CRM_LOG_ASSERT(type != NULL); NULL 86 maint/mocked/based-notifyfenced.c xmlNode *update_msg = NULL; NULL 87 maint/mocked/based-notifyfenced.c const char *id = NULL; NULL 89 maint/mocked/based-notifyfenced.c update_msg = create_xml_node(NULL, "notify"); NULL 97 maint/mocked/based-notifyfenced.c if (result_data != NULL) { NULL 99 maint/mocked/based-notifyfenced.c if (id != NULL) NULL 103 maint/mocked/based-notifyfenced.c if (update != NULL) { NULL 107 maint/mocked/based-notifyfenced.c } else if (result_data != NULL) { NULL 119 maint/mocked/based-notifyfenced.c if (update != NULL) { NULL 122 maint/mocked/based-notifyfenced.c if (result_data != NULL) { NULL 143 maint/mocked/based-notifyfenced.c input = create_xml_node(NULL, "cib"); NULL 168 maint/mocked/based-notifyfenced.c "file:///tmp/update", NULL, 0)->children; NULL 215 maint/mocked/based-notifyfenced.c if (ctxt->modules[module_handle]->priv == NULL) { NULL 51 maint/mocked/based.c if (cib_client == NULL) { NULL 66 maint/mocked/based.c if (client != NULL) { NULL 102 maint/mocked/based.c cib = xmlReadMemory(cib_str, sizeof(cib_str), "file:///tmp/foo", NULL, 0)->children; NULL 104 maint/mocked/based.c reply = create_xml_node(NULL, "cib-reply"); NULL 115 maint/mocked/based.c if (cib != NULL) { NULL 139 maint/mocked/based.c xmlNode *ack = create_xml_node(NULL, __func__); NULL 161 maint/mocked/based.c if (ctxt->modules[c - 1]->hooks.cib_notify != NULL) { NULL 188 maint/mocked/based.c assert(op_request != NULL); NULL 190 maint/mocked/based.c if (cib_client == NULL || op_request == NULL) { NULL 191 maint/mocked/based.c if (op_request == NULL) { NULL 204 maint/mocked/based.c assert(cib_client->name == NULL); NULL 224 maint/mocked/based.c if (mock_based_context.modules == NULL NULL 225 maint/mocked/based.c || (module = malloc(sizeof(module_t))) == NULL) { NULL 261 maint/mocked/based.c = malloc((ctxt->modules_cnt + 2) * sizeof(*args2argv))) == NULL NULL 263 maint/mocked/based.c = malloc((ctxt->modules_cnt * 2 + 2) * sizeof(*s))) == NULL) { NULL 308 maint/mocked/based.c .connection_created = NULL, NULL 313 maint/mocked/based.c crm_log_preinit(NULL, argc, argv); NULL 314 maint/mocked/based.c crm_log_init(NULL, LOG_DEBUG, false, true, argc, argv, false); NULL 318 maint/mocked/based.c g_main_loop_run(g_main_loop_new(NULL, false)); NULL 323 maint/mocked/based.c if (ctxt->modules[c - 1]->hooks.destroy != NULL) { NULL 113 replace/scandir.c #ifndef NULL NULL 155 replace/scandir.c if ((directory = opendir(directory_name)) == NULL) { NULL 160 replace/scandir.c == NULL) { NULL 168 replace/scandir.c if (select_function == NULL || (*select_function) (entry)) { NULL 195 replace/scandir.c if ((copy = (struct dirent *)malloc(sizeof(struct dirent) + extra)) == NULL) { NULL 210 replace/scandir.c if (array == NULL) { NULL 222 replace/scandir.c array[counter] = NULL; NULL 32 replace/strndup.c if (NULL == new) { NULL 33 replace/strndup.c return NULL; NULL 30 replace/strnlen.c return (eospos == NULL ? maxlen : (size_t) (eospos - s)); NULL 31 scratch.c xmlNode *top = NULL; NULL 32 scratch.c const char *xml_file = NULL; NULL 34 scratch.c crm_log_init(NULL, LOG_TRACE, FALSE, TRUE, argc, argv, FALSE); NULL 30 tools/attrd_updater.c "help", no_argument, NULL, '?', NULL 34 tools/attrd_updater.c "version", no_argument, NULL, '$', NULL 38 tools/attrd_updater.c "verbose", no_argument, NULL, 'V', NULL 42 tools/attrd_updater.c "name", required_argument, NULL, 'n', NULL 46 tools/attrd_updater.c "-spacer-", no_argument, NULL, '-', NULL 50 tools/attrd_updater.c "update", required_argument, NULL, 'U', NULL 56 tools/attrd_updater.c "update-both", required_argument, NULL, 'B', NULL 65 tools/attrd_updater.c "update-delay", no_argument, NULL, 'Y', NULL 74 tools/attrd_updater.c "query", no_argument, NULL, 'Q', NULL 79 tools/attrd_updater.c "delete", no_argument, NULL, 'D', NULL 85 tools/attrd_updater.c "refresh", no_argument, NULL, 'R', NULL 92 tools/attrd_updater.c "-spacer-", no_argument, NULL, '-', NULL 96 tools/attrd_updater.c "delay", required_argument, NULL, 'd', NULL 102 tools/attrd_updater.c "set", required_argument, NULL, 's', NULL 107 tools/attrd_updater.c "node", required_argument, NULL, 'N', NULL 112 tools/attrd_updater.c "all", no_argument, NULL, 'A', NULL 119 tools/attrd_updater.c "lifetime", required_argument, NULL, 'l', NULL 125 tools/attrd_updater.c "private", no_argument, NULL, 'p', NULL 132 tools/attrd_updater.c "quiet", no_argument, NULL, 'q', NULL 133 tools/attrd_updater.c NULL, pcmk__option_hidden NULL 136 tools/attrd_updater.c "update", required_argument, NULL, 'v', NULL 137 tools/attrd_updater.c NULL, pcmk__option_hidden NULL 140 tools/attrd_updater.c "section", required_argument, NULL, 'S', NULL 141 tools/attrd_updater.c NULL, pcmk__option_hidden NULL 173 tools/attrd_updater.c char *attr_node = NULL; NULL 174 tools/attrd_updater.c char *attr_name = NULL; NULL 175 tools/attrd_updater.c char *attr_set = NULL; NULL 176 tools/attrd_updater.c char *attr_section = NULL; NULL 177 tools/attrd_updater.c char *attr_dampen = NULL; NULL 178 tools/attrd_updater.c const char *attr_value = NULL; NULL 184 tools/attrd_updater.c pcmk__set_cli_options(NULL, "-n <attribute> <command> [options]", NULL 193 tools/attrd_updater.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); NULL 254 tools/attrd_updater.c if (command != 'R' && attr_name == NULL) { NULL 274 tools/attrd_updater.c target == NULL ? attr_node : target, NULL 303 tools/attrd_updater.c query = create_xml_node(NULL, __func__); NULL 304 tools/attrd_updater.c if (query == NULL) { NULL 346 tools/attrd_updater.c if (reply == NULL) { NULL 354 tools/attrd_updater.c if (reply_attr == NULL) { NULL 361 tools/attrd_updater.c || (crm_element_value(reply, PCMK__XA_ATTR_VERSION) == NULL) NULL 387 tools/attrd_updater.c for (child = pcmk__xml_first_child(reply); child != NULL; NULL 397 tools/attrd_updater.c if (reply_host == NULL) { NULL 422 tools/attrd_updater.c xmlNode *reply = NULL; NULL 427 tools/attrd_updater.c attr_node = NULL; NULL 430 tools/attrd_updater.c if (target != NULL) { NULL 445 tools/attrd_updater.c if (reply != NULL) { NULL 468 tools/attrd_updater.c int rc = pcmk__node_attr_request(NULL, command, attr_node, attr_name, NULL 470 tools/attrd_updater.c attr_dampen, NULL, attr_options); NULL 23 tools/cibadmin.c static const char *host = NULL; NULL 24 tools/cibadmin.c static const char *cib_user = NULL; NULL 25 tools/cibadmin.c static const char *cib_action = NULL; NULL 26 tools/cibadmin.c static const char *obj_type = NULL; NULL 28 tools/cibadmin.c static cib_t *the_cib = NULL; NULL 29 tools/cibadmin.c static GMainLoop *mainloop = NULL; NULL 41 tools/cibadmin.c "help", no_argument, NULL, '?', NULL 45 tools/cibadmin.c "version", no_argument, NULL, '$', NULL 49 tools/cibadmin.c "verbose", no_argument, NULL, 'V', NULL 54 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 58 tools/cibadmin.c "upgrade", no_argument, NULL, 'u', NULL 62 tools/cibadmin.c "query", no_argument, NULL, 'Q', NULL 66 tools/cibadmin.c "erase", no_argument, NULL, 'E', NULL 70 tools/cibadmin.c "bump", no_argument, NULL, 'B', NULL 74 tools/cibadmin.c "create", no_argument, NULL, 'C', NULL 79 tools/cibadmin.c "modify", no_argument, NULL, 'M', NULL 85 tools/cibadmin.c "patch", no_argument, NULL, 'P', NULL 90 tools/cibadmin.c "replace", no_argument, NULL, 'R', NULL 94 tools/cibadmin.c "delete", no_argument, NULL, 'D', NULL 100 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 106 tools/cibadmin.c "delete-all", no_argument, NULL, 'd', NULL 112 tools/cibadmin.c "empty", no_argument, NULL, 'a', NULL 116 tools/cibadmin.c "md5-sum", no_argument, NULL, '5', NULL 120 tools/cibadmin.c "md5-sum-versioned", no_argument, NULL, '6', NULL 124 tools/cibadmin.c "blank", no_argument, NULL, '-', NULL 125 tools/cibadmin.c NULL, pcmk__option_hidden NULL 129 tools/cibadmin.c "-spacer-", required_argument, NULL, '-', NULL 133 tools/cibadmin.c "force", no_argument, NULL, 'f', NULL 134 tools/cibadmin.c NULL, pcmk__option_default NULL 137 tools/cibadmin.c "timeout", required_argument, NULL, 't', NULL 142 tools/cibadmin.c "user", required_argument, NULL, 'U', NULL 148 tools/cibadmin.c "sync-call", no_argument, NULL, 's', NULL 152 tools/cibadmin.c "local", no_argument, NULL, 'l', NULL 157 tools/cibadmin.c "allow-create", no_argument, NULL, 'c', NULL 163 tools/cibadmin.c "no-children", no_argument, NULL, 'n', NULL 169 tools/cibadmin.c "no-bcast", no_argument, NULL, 'b', NULL 170 tools/cibadmin.c NULL, pcmk__option_hidden NULL 174 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 178 tools/cibadmin.c "xml-text", required_argument, NULL, 'X', NULL 182 tools/cibadmin.c "xml-file", required_argument, NULL, 'x', NULL 186 tools/cibadmin.c "xml-pipe", no_argument, NULL, 'p', NULL 191 tools/cibadmin.c "scope", required_argument, NULL, 'o', NULL 196 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 204 tools/cibadmin.c "xpath", required_argument, NULL, 'A', NULL 208 tools/cibadmin.c "node-path", no_argument, NULL, 'e', NULL 213 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 219 tools/cibadmin.c "node", required_argument, NULL, 'N', NULL 223 tools/cibadmin.c "-spacer-", no_argument, NULL, '!', NULL 224 tools/cibadmin.c NULL, pcmk__option_hidden NULL 227 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 231 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 235 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 240 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 244 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 249 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 253 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 259 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 263 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 269 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 273 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 278 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 282 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 287 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 292 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 297 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 303 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 309 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 315 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 320 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 325 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 329 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 333 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 337 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 341 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 345 tools/cibadmin.c "host", required_argument, NULL, 'h', NULL 366 tools/cibadmin.c xmlNode *child = NULL; NULL 400 tools/cibadmin.c const char *source = NULL; NULL 401 tools/cibadmin.c const char *admin_input_xml = NULL; NULL 402 tools/cibadmin.c const char *admin_input_file = NULL; NULL 405 tools/cibadmin.c xmlNode *output = NULL; NULL 406 tools/cibadmin.c xmlNode *input = NULL; NULL 412 tools/cibadmin.c pcmk__set_cli_options(NULL, "<command> [options]", long_options, NULL 420 tools/cibadmin.c flag = pcmk__next_cli_option(argc, argv, &option_index, NULL); NULL 573 tools/cibadmin.c if (optind > argc || cib_action == NULL) { NULL 589 tools/cibadmin.c if (admin_input_file != NULL) { NULL 593 tools/cibadmin.c } else if (admin_input_xml != NULL) { NULL 602 tools/cibadmin.c if (input != NULL) { NULL 611 tools/cibadmin.c char *digest = NULL; NULL 613 tools/cibadmin.c if (input == NULL) { NULL 626 tools/cibadmin.c char *digest = NULL; NULL 627 tools/cibadmin.c const char *version = NULL; NULL 629 tools/cibadmin.c if (input == NULL) { NULL 658 tools/cibadmin.c the_cib->cmds->register_callback(the_cib, request_id, message_timeout_ms, FALSE, NULL, NULL 661 tools/cibadmin.c mainloop = g_main_loop_new(NULL, FALSE); NULL 678 tools/cibadmin.c xmlNode *obj = NULL; NULL 681 tools/cibadmin.c rc = the_cib->cmds->query(the_cib, NULL, &obj, command_options); NULL 693 tools/cibadmin.c if (output != NULL) { NULL 719 tools/cibadmin.c if (status == NULL) { NULL 724 tools/cibadmin.c if (cib_action != NULL) { NULL 763 tools/cibadmin.c } else if (pcmk__str_eq(cib_action, CIB_OP_QUERY, pcmk__str_casei) && output == NULL) { NULL 767 tools/cibadmin.c } else if (output == NULL) { NULL 73 tools/crm_attribute.c options.attr_value = NULL; NULL 79 tools/crm_attribute.c char *score_name = NULL; NULL 88 tools/crm_attribute.c if (score_name != NULL) { NULL 92 tools/crm_attribute.c options.attr_name = NULL; NULL 134 tools/crm_attribute.c options.attr_value = NULL; NULL 170 tools/crm_attribute.c { NULL } NULL 176 tools/crm_attribute.c NULL NULL 181 tools/crm_attribute.c NULL NULL 189 tools/crm_attribute.c { NULL } NULL 218 tools/crm_attribute.c NULL NULL 222 tools/crm_attribute.c NULL, NULL NULL 225 tools/crm_attribute.c { NULL } NULL 230 tools/crm_attribute.c NULL, NULL NULL 234 tools/crm_attribute.c NULL, NULL NULL 238 tools/crm_attribute.c NULL, NULL NULL 242 tools/crm_attribute.c NULL, NULL NULL 246 tools/crm_attribute.c NULL, NULL NULL 250 tools/crm_attribute.c NULL, NULL NULL 253 tools/crm_attribute.c { NULL } NULL 258 tools/crm_attribute.c GOptionContext *context = NULL; NULL 263 tools/crm_attribute.c NULL }, NULL 266 tools/crm_attribute.c NULL, NULL NULL 269 tools/crm_attribute.c { NULL } NULL 286 tools/crm_attribute.c context = pcmk__build_arg_context(args, NULL, group, NULL); NULL 305 tools/crm_attribute.c cib_t *the_cib = NULL; NULL 311 tools/crm_attribute.c GError *error = NULL; NULL 313 tools/crm_attribute.c GOptionGroup *output_group = NULL; NULL 332 tools/crm_attribute.c if (options.promotion_score && options.attr_name == NULL) { NULL 360 tools/crm_attribute.c if (options.type == NULL) { NULL 365 tools/crm_attribute.c } else if (options.dest_uname != NULL) { NULL 382 tools/crm_attribute.c NULL)) { NULL 389 tools/crm_attribute.c if (target != NULL) { NULL 394 tools/crm_attribute.c if (options.dest_uname == NULL) { NULL 406 tools/crm_attribute.c if ((options.command == 'D') && (options.attr_name == NULL) && (options.attr_pattern == NULL)) { NULL 437 tools/crm_attribute.c && (pcmk__node_attr_request(NULL, options.command, options.dest_uname, options.attr_name, NULL 438 tools/crm_attribute.c options.attr_value, options.type, options.set_name, NULL, NULL, NULL 445 tools/crm_attribute.c options.attr_id, options.attr_name, options.attr_value, TRUE, NULL); NULL 456 tools/crm_attribute.c CRM_LOG_ASSERT(options.type != NULL); NULL 457 tools/crm_attribute.c CRM_LOG_ASSERT(options.attr_name != NULL); NULL 458 tools/crm_attribute.c CRM_LOG_ASSERT(options.attr_value != NULL); NULL 461 tools/crm_attribute.c options.attr_id, options.attr_name, options.attr_value, TRUE, NULL, is_remote_node ? "remote" : NULL); NULL 465 tools/crm_attribute.c char *read_value = NULL; NULL 468 tools/crm_attribute.c options.attr_id, options.attr_name, &read_value, TRUE, NULL); NULL 489 tools/crm_attribute.c } else if (read_value != NULL) { NULL 523 tools/crm_attribute.c pcmk__output_and_clear_error(error, NULL); NULL 54 tools/crm_diff.c { NULL } NULL 68 tools/crm_diff.c { NULL } NULL 74 tools/crm_diff.c NULL }, NULL 77 tools/crm_diff.c NULL }, NULL 80 tools/crm_diff.c NULL }, NULL 82 tools/crm_diff.c { NULL } NULL 89 tools/crm_diff.c if (options.xml_file_2 != NULL) { NULL 101 tools/crm_diff.c if (options.xml_file_1 != NULL) { NULL 113 tools/crm_diff.c if (options.xml_file_2 != NULL) { NULL 144 tools/crm_diff.c if (output != NULL) { NULL 165 tools/crm_diff.c const char *fmt = NULL; NULL 166 tools/crm_diff.c const char *digest = NULL; NULL 200 tools/crm_diff.c xmlNode *tmp = NULL; NULL 224 tools/crm_diff.c xmlNode *output = NULL; NULL 242 tools/crm_diff.c xml_track_changes(object_2, NULL, object_2, FALSE); NULL 250 tools/crm_diff.c output = xml_create_patchset(0, object_1, object_2, NULL, FALSE); NULL 255 tools/crm_diff.c if (output == NULL) { NULL 276 tools/crm_diff.c GOptionContext *context = NULL; NULL 289 tools/crm_diff.c context = pcmk__build_arg_context(args, NULL, NULL, NULL); NULL 304 tools/crm_diff.c xmlNode *object_1 = NULL; NULL 305 tools/crm_diff.c xmlNode *object_2 = NULL; NULL 308 tools/crm_diff.c GError *error = NULL; NULL 343 tools/crm_diff.c } else if (options.xml_file_1 != NULL) { NULL 354 tools/crm_diff.c } else if (options.xml_file_2 != NULL) { NULL 358 tools/crm_diff.c if (object_1 == NULL) { NULL 363 tools/crm_diff.c if (object_2 == NULL) { NULL 385 tools/crm_diff.c pcmk__output_and_clear_error(error, NULL); NULL 30 tools/crm_error.c NULL }, NULL 33 tools/crm_error.c NULL }, NULL 36 tools/crm_error.c NULL }, NULL 39 tools/crm_error.c NULL }, NULL 41 tools/crm_error.c { NULL } NULL 62 tools/crm_error.c GOptionContext *context = NULL; NULL 64 tools/crm_error.c context = pcmk__build_arg_context(args, NULL, group, "-- <rc> [...]"); NULL 75 tools/crm_error.c const char *name = NULL; NULL 76 tools/crm_error.c const char *desc = NULL; NULL 78 tools/crm_error.c GError *error = NULL; NULL 80 tools/crm_error.c GOptionGroup *output_group = NULL; NULL 130 tools/crm_error.c char *help = g_option_context_get_help(context, TRUE, NULL); NULL 138 tools/crm_error.c for (lpc = 1; processed_args[lpc] != NULL; lpc++) { NULL 153 tools/crm_error.c pcmk__output_and_clear_error(error, NULL); NULL 67 tools/crm_mon.c static GIOChannel *io_channel = NULL; NULL 68 tools/crm_mon.c static GMainLoop *mainloop = NULL; NULL 70 tools/crm_mon.c static mainloop_timer_t *refresh_timer = NULL; NULL 71 tools/crm_mon.c static pe_working_set_t *mon_data_set = NULL; NULL 73 tools/crm_mon.c static cib_t *cib = NULL; NULL 74 tools/crm_mon.c static stonith_t *st = NULL; NULL 75 tools/crm_mon.c static xmlNode *current_cib = NULL; NULL 77 tools/crm_mon.c static GError *error = NULL; NULL 78 tools/crm_mon.c static pcmk__common_args_t *args = NULL; NULL 79 tools/crm_mon.c static pcmk__output_t *out = NULL; NULL 80 tools/crm_mon.c static GOptionContext *context = NULL; NULL 81 tools/crm_mon.c static gchar **processed_args = NULL; NULL 84 tools/crm_mon.c volatile crm_trigger_t *refresh_trigger = NULL; NULL 98 tools/crm_mon.c { NULL, NULL, NULL } NULL 196 tools/crm_mon.c { NULL } NULL 201 tools/crm_mon.c for (int i = 0; sections[i].name != NULL; i++) { NULL 212 tools/crm_mon.c char **parts = NULL; NULL 216 tools/crm_mon.c for (char **s = parts; *s != NULL; s++) { NULL 242 tools/crm_mon.c char **parts = NULL; NULL 246 tools/crm_mon.c for (char **s = parts; *s != NULL; s++) { NULL 253 tools/crm_mon.c if (options.neg_location_prefix != NULL) { NULL 255 tools/crm_mon.c options.neg_location_prefix = NULL; NULL 261 tools/crm_mon.c } else if (pcmk__str_any_of(*s, "default", "defaults", NULL)) { NULL 292 tools/crm_mon.c while (node != NULL) { NULL 333 tools/crm_mon.c if (args->output_ty != NULL) { NULL 345 tools/crm_mon.c if (args->output_ty != NULL) { NULL 349 tools/crm_mon.c if (args->output_dest != NULL) { NULL 351 tools/crm_mon.c args->output_dest = NULL; NULL 354 tools/crm_mon.c if (optarg != NULL) { NULL 366 tools/crm_mon.c if (args->output_ty != NULL) { NULL 378 tools/crm_mon.c if (args->output_ty != NULL) { NULL 389 tools/crm_mon.c if (optarg == NULL) { NULL 492 tools/crm_mon.c if (optarg != NULL) { NULL 540 tools/crm_mon.c NULL }, NULL 545 tools/crm_mon.c NULL }, NULL 561 tools/crm_mon.c NULL }, NULL 564 tools/crm_mon.c NULL, NULL 565 tools/crm_mon.c NULL }, NULL 567 tools/crm_mon.c { NULL } NULL 593 tools/crm_mon.c NULL }, NULL 597 tools/crm_mon.c NULL }, NULL 601 tools/crm_mon.c NULL }, NULL 605 tools/crm_mon.c NULL }, NULL 609 tools/crm_mon.c NULL }, NULL 613 tools/crm_mon.c NULL }, NULL 624 tools/crm_mon.c NULL }, NULL 628 tools/crm_mon.c NULL }, NULL 632 tools/crm_mon.c NULL }, NULL 636 tools/crm_mon.c NULL }, NULL 640 tools/crm_mon.c NULL }, NULL 644 tools/crm_mon.c NULL }, NULL 648 tools/crm_mon.c NULL }, NULL 650 tools/crm_mon.c { NULL } NULL 662 tools/crm_mon.c NULL }, NULL 667 tools/crm_mon.c NULL }, NULL 672 tools/crm_mon.c NULL }, NULL 674 tools/crm_mon.c { NULL } NULL 745 tools/crm_mon.c reconnect_after_timeout, NULL); NULL 758 tools/crm_mon.c if (refresh_timer != NULL) { NULL 776 tools/crm_mon.c reconnect_after_timeout, NULL); NULL 823 tools/crm_mon.c if (pcmk_is_set(options.mon_ops, mon_op_fence_connect) && (st == NULL)) { NULL 828 tools/crm_mon.c st == NULL || st->state != stonith_disconnected) { NULL 832 tools/crm_mon.c rc = st->cmds->connect(st, crm_system_name, NULL); NULL 856 tools/crm_mon.c CRM_CHECK(cib != NULL, return EINVAL); NULL 879 tools/crm_mon.c rc = pcmk_legacy2rc(cib->cmds->query(cib, NULL, ¤t_cib, NULL 991 tools/crm_mon.c pcmk_ipc_api_t *pacemakerd_api = NULL; NULL 998 tools/crm_mon.c if (cib != NULL && NULL 1013 tools/crm_mon.c if (pacemakerd_api == NULL) { NULL 1096 tools/crm_mon.c for (GOptionEntry *entry = display_entries; entry != NULL; entry++) { NULL 1237 tools/crm_mon.c if (sigaction(SIGCHLD, &sa, NULL) < 0) { NULL 1244 tools/crm_mon.c GOptionContext *context = NULL; NULL 1249 tools/crm_mon.c NULL }, NULL 1251 tools/crm_mon.c { NULL } NULL 1285 tools/crm_mon.c context = pcmk__build_arg_context(args, "console (default), html, text, xml", group, NULL); NULL 1305 tools/crm_mon.c GError *err = NULL; NULL 1342 tools/crm_mon.c GError *err = NULL; NULL 1349 tools/crm_mon.c char *dest = NULL; NULL 1351 tools/crm_mon.c if (args->output_dest != NULL) { NULL 1355 tools/crm_mon.c retval = as_html_cb("h", dest, NULL, &err); NULL 1358 tools/crm_mon.c retval = no_curses_cb("N", NULL, NULL, &err); NULL 1360 tools/crm_mon.c if (args->output_ty != NULL) { NULL 1367 tools/crm_mon.c if (args->output_ty != NULL) { NULL 1375 tools/crm_mon.c if (args->output_ty != NULL) { NULL 1428 tools/crm_mon.c mon_refresh_display(NULL); NULL 1440 tools/crm_mon.c GOptionGroup *output_group = NULL; NULL 1459 tools/crm_mon.c fence_history_cb("--fence-history", "1", NULL, NULL); NULL 1482 tools/crm_mon.c include_exclude_cb("--exclude", "times", NULL, NULL); NULL 1486 tools/crm_mon.c fence_history_cb("--fence-history", "0", NULL, NULL); NULL 1495 tools/crm_mon.c if (cib == NULL) { NULL 1512 tools/crm_mon.c fence_history_cb("--fence-history", "0", NULL, NULL); NULL 1518 tools/crm_mon.c fence_history_cb("--fence-history", "0", NULL, NULL); NULL 1536 tools/crm_mon.c if ((output_format == mon_output_console) || (args->output_dest == NULL)) { NULL 1551 tools/crm_mon.c cib = NULL; NULL 1554 tools/crm_mon.c if (cib == NULL) { NULL 1642 tools/crm_mon.c } else if (options.external_agent != NULL) { NULL 1662 tools/crm_mon.c pcmk__itoa(options.reconnect_ms / 1000), NULL); NULL 1698 tools/crm_mon.c mon_refresh_display(NULL); NULL 1700 tools/crm_mon.c mainloop = g_main_loop_new(NULL, FALSE); NULL 1709 tools/crm_mon.c ncurses_winch_handler = NULL; NULL 1712 tools/crm_mon.c g_io_add_watch(io_channel, G_IO_IN, detect_user_input, NULL); NULL 1719 tools/crm_mon.c refresh_trigger = mainloop_add_trigger(G_PRIORITY_LOW, mon_refresh_display, NULL); NULL 1724 tools/crm_mon.c if (io_channel != NULL) { NULL 1725 tools/crm_mon.c g_io_channel_shutdown(io_channel, TRUE, NULL); NULL 1746 tools/crm_mon.c GList *gIter = NULL; NULL 1750 tools/crm_mon.c char *offline_nodes = NULL; NULL 1755 tools/crm_mon.c if (data_set->dc_node == NULL) { NULL 1760 tools/crm_mon.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 1786 tools/crm_mon.c char *nodes_standby_s = NULL; NULL 1787 tools/crm_mon.c char *nodes_maint_s = NULL; NULL 1803 tools/crm_mon.c nodes_standby_s != NULL ? nodes_standby_s : "", NULL 1804 tools/crm_mon.c nodes_maint_s != NULL ? nodes_maint_s : "", NULL 1845 tools/crm_mon.c execl(options.external_agent, options.external_agent, NULL); NULL 1864 tools/crm_mon.c char *rsc = NULL; NULL 1865 tools/crm_mon.c char *task = NULL; NULL 1866 tools/crm_mon.c const char *desc = NULL; NULL 1867 tools/crm_mon.c const char *magic = NULL; NULL 1868 tools/crm_mon.c const char *id = NULL; NULL 1869 tools/crm_mon.c const char *node = NULL; NULL 1885 tools/crm_mon.c if (id == NULL) { NULL 1891 tools/crm_mon.c if (magic == NULL) { NULL 1896 tools/crm_mon.c if (!decode_transition_magic(magic, NULL, NULL, NULL, &status, &rc, NULL 1902 tools/crm_mon.c if (parse_op_key(id, &rsc, &task, NULL) == FALSE) { NULL 1909 tools/crm_mon.c while (n != NULL && !pcmk__str_eq(XML_CIB_TAG_STATE, TYPE(n), pcmk__str_casei)) { NULL 1913 tools/crm_mon.c if(node == NULL && n) { NULL 1917 tools/crm_mon.c if (node == NULL && n) { NULL 1921 tools/crm_mon.c if (node == NULL) { NULL 1925 tools/crm_mon.c if (node == NULL) { NULL 1969 tools/crm_mon.c xmlNode *change = NULL; NULL 1972 tools/crm_mon.c for (change = pcmk__xml_first_child(diff); change != NULL; NULL 1974 tools/crm_mon.c const char *name = NULL; NULL 1977 tools/crm_mon.c xmlNode *match = NULL; NULL 1978 tools/crm_mon.c const char *node = NULL; NULL 1980 tools/crm_mon.c if(op == NULL) { NULL 2004 tools/crm_mon.c if(xpath == NULL) { NULL 2007 tools/crm_mon.c } else if(name == NULL) { NULL 2012 tools/crm_mon.c xmlNode *state = NULL; NULL 2015 tools/crm_mon.c for (state = pcmk__xe_first_child(status); state != NULL; NULL 2019 tools/crm_mon.c if (node == NULL) { NULL 2026 tools/crm_mon.c xmlNode *state = NULL; NULL 2028 tools/crm_mon.c for (state = pcmk__xe_first_child(match); state != NULL; NULL 2032 tools/crm_mon.c if (node == NULL) { NULL 2040 tools/crm_mon.c if (node == NULL) { NULL 2085 tools/crm_mon.c handle_rsc_op(rsc_op, NULL); NULL 2100 tools/crm_mon.c if (current_cib != NULL) { NULL 2107 tools/crm_mon.c free_xml(current_cib); current_cib = NULL; NULL 2114 tools/crm_mon.c free_xml(current_cib); current_cib = NULL; NULL 2118 tools/crm_mon.c if (current_cib == NULL) { NULL 2120 tools/crm_mon.c cib->cmds->query(cib, NULL, ¤t_cib, cib_scope_local | cib_sync_call); NULL 2138 tools/crm_mon.c if (current_cib == NULL) { NULL 2156 tools/crm_mon.c if (st != NULL) { NULL 2157 tools/crm_mon.c rc = st->cmds->history(st, st_opt_sync_call, NULL, stonith_history, 120); NULL 2181 tools/crm_mon.c stonith_history_t *stonith_history = NULL; NULL 2183 tools/crm_mon.c GList *unames = NULL; NULL 2184 tools/crm_mon.c GList *resources = NULL; NULL 2186 tools/crm_mon.c last_refresh = time(NULL); NULL 2188 tools/crm_mon.c if (cli_config_update(&cib_copy, NULL, FALSE) == FALSE) { NULL 2198 tools/crm_mon.c if (mon_data_set == NULL) { NULL 2200 tools/crm_mon.c CRM_ASSERT(mon_data_set != NULL); NULL 2279 tools/crm_mon.c out->finish(out, CRM_EX_OK, true, NULL); NULL 2286 tools/crm_mon.c stonith_history = NULL; NULL 2299 tools/crm_mon.c mon_cib_connection_destroy(NULL); NULL 2304 tools/crm_mon.c send_custom_trap(e->target, NULL, e->operation, pcmk_ok, e->result, 0, desc); NULL 2323 tools/crm_mon.c time_t now = time(NULL); NULL 2329 tools/crm_mon.c if(refresh_timer == NULL) { NULL 2330 tools/crm_mon.c refresh_timer = mainloop_timer_add("refresh", 2000, FALSE, mon_trigger_refresh, NULL); NULL 2365 tools/crm_mon.c mon_cib_connection_destroy(NULL); NULL 2375 tools/crm_mon.c if (cib == NULL) { NULL 2381 tools/crm_mon.c cib = NULL; NULL 2387 tools/crm_mon.c if (st == NULL) { NULL 2399 tools/crm_mon.c st = NULL; NULL 2425 tools/crm_mon.c mon_data_set = NULL; NULL 2434 tools/crm_mon.c if ((error != NULL || exit_code == CRM_EX_USAGE) && output_format == mon_output_console) { NULL 2435 tools/crm_mon.c out->finish(out, exit_code, false, NULL); NULL 2437 tools/crm_mon.c out = NULL; NULL 2444 tools/crm_mon.c char *help = g_option_context_get_help(context, TRUE, NULL); NULL 2456 tools/crm_mon.c if (error != NULL) { NULL 2457 tools/crm_mon.c if (out != NULL) { NULL 2459 tools/crm_mon.c out->finish(out, exit_code, true, NULL); NULL 2472 tools/crm_mon.c if (out != NULL) { NULL 2474 tools/crm_mon.c out->finish(out, exit_code, true, NULL); NULL 24 tools/crm_mon_curses.c { NULL } NULL 41 tools/crm_mon_curses.c if (priv == NULL) { NULL 47 tools/crm_mon_curses.c out->priv = NULL; NULL 52 tools/crm_mon_curses.c private_data_t *priv = NULL; NULL 55 tools/crm_mon_curses.c if (out->priv != NULL) { NULL 59 tools/crm_mon_curses.c if (out->priv == NULL) { NULL 77 tools/crm_mon_curses.c CRM_ASSERT(out != NULL); NULL 86 tools/crm_mon_curses.c CRM_ASSERT(out != NULL); NULL 95 tools/crm_mon_curses.c CRM_ASSERT(out != NULL); NULL 97 tools/crm_mon_curses.c if (proc_stdout != NULL) { NULL 101 tools/crm_mon_curses.c if (proc_stderr != NULL) { NULL 114 tools/crm_mon_curses.c CRM_ASSERT(out != NULL); NULL 129 tools/crm_mon_curses.c CRM_ASSERT(out != NULL); NULL 151 tools/crm_mon_curses.c CRM_ASSERT(out != NULL); NULL 174 tools/crm_mon_curses.c CRM_ASSERT(out != NULL); NULL 182 tools/crm_mon_curses.c private_data_t *priv = NULL; NULL 183 tools/crm_mon_curses.c curses_list_data_t *new_list = NULL; NULL 186 tools/crm_mon_curses.c CRM_ASSERT(out != NULL && out->priv != NULL); NULL 198 tools/crm_mon_curses.c new_list->singular_noun = singular_noun == NULL ? NULL : strdup(singular_noun); NULL 199 tools/crm_mon_curses.c new_list->plural_noun = plural_noun == NULL ? NULL : strdup(plural_noun); NULL 209 tools/crm_mon_curses.c CRM_ASSERT(out != NULL); NULL 213 tools/crm_mon_curses.c if (id != NULL) { NULL 228 tools/crm_mon_curses.c private_data_t *priv = NULL; NULL 231 tools/crm_mon_curses.c CRM_ASSERT(out != NULL && out->priv != NULL); NULL 235 tools/crm_mon_curses.c CRM_ASSERT(tail != NULL); NULL 241 tools/crm_mon_curses.c private_data_t *priv = NULL; NULL 242 tools/crm_mon_curses.c curses_list_data_t *node = NULL; NULL 244 tools/crm_mon_curses.c CRM_ASSERT(out != NULL && out->priv != NULL); NULL 249 tools/crm_mon_curses.c if (node->singular_noun != NULL && node->plural_noun != NULL) { NULL 262 tools/crm_mon_curses.c CRM_ASSERT(out != NULL); NULL 268 tools/crm_mon_curses.c CRM_ASSERT(out != NULL); NULL 274 tools/crm_mon_curses.c CRM_ASSERT(out != NULL); NULL 288 tools/crm_mon_curses.c CRM_ASSERT(prompt != NULL); NULL 289 tools/crm_mon_curses.c CRM_ASSERT(dest != NULL); NULL 302 tools/crm_mon_curses.c if (*dest != NULL) { NULL 317 tools/crm_mon_curses.c *dest = NULL; NULL 329 tools/crm_mon_curses.c if (retval == NULL) { NULL 330 tools/crm_mon_curses.c return NULL; NULL 334 tools/crm_mon_curses.c retval->request = argv == NULL ? NULL : g_strjoinv(" ", argv); NULL 388 tools/crm_mon_curses.c CRM_ASSERT(priv != NULL); NULL 438 tools/crm_mon_curses.c crm_time_t *crm_when = crm_time_new(NULL); NULL 439 tools/crm_mon_curses.c char *buf = NULL; NULL 500 tools/crm_mon_curses.c { NULL, NULL, NULL } NULL 139 tools/crm_mon_print.c out->begin_list(out, NULL, NULL, "Failed Fencing Actions"); NULL 140 tools/crm_mon_print.c out->list_item(out, NULL, "Failed to get fencing history: %s", NULL 165 tools/crm_mon_print.c out->begin_list(out, NULL, NULL, "Failed Fencing Actions"); NULL 166 tools/crm_mon_print.c out->list_item(out, NULL, "Failed to get fencing history: %s", NULL 180 tools/crm_mon_print.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_pending, NULL); NULL 384 tools/crm_mon_print.c out->begin_list(out, NULL, NULL, "Failed Fencing Actions"); NULL 385 tools/crm_mon_print.c out->list_item(out, NULL, "Failed to get fencing history: %s", NULL 395 tools/crm_mon_print.c out->begin_list(out, NULL, NULL, "Failed Fencing Actions"); NULL 396 tools/crm_mon_print.c out->list_item(out, NULL, "Failed to get fencing history: %s", NULL 410 tools/crm_mon_print.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_pending, NULL); NULL 44 tools/crm_node.c static GMainLoop *mainloop = NULL; NULL 52 tools/crm_node.c NULL }, NULL 55 tools/crm_node.c NULL }, NULL 58 tools/crm_node.c NULL }, NULL 61 tools/crm_node.c NULL }, NULL 64 tools/crm_node.c NULL }, NULL 74 tools/crm_node.c { NULL } NULL 79 tools/crm_node.c NULL, NULL 80 tools/crm_node.c NULL }, NULL 84 tools/crm_node.c NULL, NULL 85 tools/crm_node.c NULL }, NULL 90 tools/crm_node.c { NULL } NULL 122 tools/crm_node.c if (optarg == NULL) { NULL 198 tools/crm_node.c if (reply->data.node_info.uname == NULL) { NULL 230 tools/crm_node.c node_iter != NULL; node_iter = node_iter->next) { NULL 266 tools/crm_node.c pcmk_ipc_api_t *controld_api = NULL; NULL 279 tools/crm_node.c pcmk_register_ipc_callback(controld_api, controller_event_cb, NULL); NULL 304 tools/crm_node.c mainloop = g_main_loop_new(NULL, FALSE); NULL 307 tools/crm_node.c mainloop = NULL; NULL 317 tools/crm_node.c if (name != NULL) { NULL 332 tools/crm_node.c cib_t *cib = NULL; NULL 333 tools/crm_node.c xmlNode *node = NULL; NULL 334 tools/crm_node.c xmlNode *node_state = NULL; NULL 338 tools/crm_node.c if(name == NULL && id == 0) { NULL 342 tools/crm_node.c node = create_xml_node(NULL, XML_CIB_TAG_NODE); NULL 343 tools/crm_node.c node_state = create_xml_node(NULL, XML_CIB_TAG_STATE); NULL 374 tools/crm_node.c pcmk_ipc_api_t *controld_api = NULL; NULL 409 tools/crm_node.c crm_ipc_t *conn = NULL; NULL 410 tools/crm_node.c xmlNode *cmd = NULL; NULL 426 tools/crm_node.c cmd = create_xml_node(NULL, __func__); NULL 439 tools/crm_node.c cmd = create_request(CRM_OP_RM_NODE_CACHE, NULL, NULL, target, NULL 440 tools/crm_node.c crm_system_name, NULL); NULL 447 tools/crm_node.c rc = crm_ipc_send(conn, cmd, 0, 0, NULL); NULL 470 tools/crm_node.c const char *node_name = NULL; NULL 471 tools/crm_node.c char *endptr = NULL; NULL 507 tools/crm_node.c GOptionContext *context = NULL; NULL 512 tools/crm_node.c NULL }, NULL 514 tools/crm_node.c { NULL } NULL 517 tools/crm_node.c context = pcmk__build_arg_context(args, NULL, &group, NULL); NULL 534 tools/crm_node.c GError *error = NULL; NULL 536 tools/crm_node.c GOptionGroup *output_group = NULL; NULL 556 tools/crm_node.c char *help = g_option_context_get_help(context, TRUE, NULL); NULL 596 tools/crm_node.c pcmk__output_and_clear_error(error, NULL); NULL 170 tools/crm_resource.c static pcmk__output_t *out = NULL; NULL 171 tools/crm_resource.c static pcmk__common_args_t *args = NULL; NULL 174 tools/crm_resource.c static GError *error = NULL; NULL 175 tools/crm_resource.c static GMainLoop *mainloop = NULL; NULL 176 tools/crm_resource.c static cib_t *cib_conn = NULL; NULL 177 tools/crm_resource.c static pcmk_ipc_api_t *controld_api = NULL; NULL 178 tools/crm_resource.c static pe_working_set_t *data_set = NULL; NULL 188 tools/crm_resource.c { NULL, NULL, NULL } NULL 197 tools/crm_resource.c if (out != NULL) { NULL 198 tools/crm_resource.c out->finish(out, ec, true, NULL); NULL 202 tools/crm_resource.c if (cib_conn != NULL) { NULL 205 tools/crm_resource.c cib_conn = NULL; // Ensure we can't free this twice NULL 209 tools/crm_resource.c if (controld_api != NULL) { NULL 212 tools/crm_resource.c controld_api = NULL; // Ensure we can't free this twice NULL 215 tools/crm_resource.c if (mainloop != NULL) { NULL 217 tools/crm_resource.c mainloop = NULL; NULL 220 tools/crm_resource.c data_set = NULL; NULL 229 tools/crm_resource.c if (mainloop != NULL) { NULL 232 tools/crm_resource.c mainloop = NULL; // Don't re-enter this block NULL 242 tools/crm_resource.c if (error != NULL) { NULL 298 tools/crm_resource.c mainloop = g_main_loop_new(NULL, FALSE); NULL 299 tools/crm_resource.c g_timeout_add(MESSAGE_TIMEOUT_S * 1000, resource_ipc_timeout, NULL); NULL 313 tools/crm_resource.c GList *retval = NULL; NULL 314 tools/crm_resource.c xmlNode *cib_constraints = NULL; NULL 315 tools/crm_resource.c xmlXPathObjectPtr xpathObj = NULL; NULL 335 tools/crm_resource.c NULL }, NULL 339 tools/crm_resource.c NULL }, NULL 341 tools/crm_resource.c NULL, NULL 342 tools/crm_resource.c NULL }, NULL 346 tools/crm_resource.c NULL }, NULL 350 tools/crm_resource.c NULL }, NULL 354 tools/crm_resource.c NULL }, NULL 358 tools/crm_resource.c NULL }, NULL 373 tools/crm_resource.c NULL }, NULL 376 tools/crm_resource.c NULL }, NULL 387 tools/crm_resource.c NULL }, NULL 391 tools/crm_resource.c NULL }, NULL 394 tools/crm_resource.c NULL }, NULL 398 tools/crm_resource.c NULL }, NULL 400 tools/crm_resource.c { NULL } NULL 411 tools/crm_resource.c NULL }, NULL 421 tools/crm_resource.c NULL }, NULL 428 tools/crm_resource.c NULL }, NULL 442 tools/crm_resource.c { NULL } NULL 456 tools/crm_resource.c NULL }, NULL 467 tools/crm_resource.c NULL }, NULL 477 tools/crm_resource.c NULL }, NULL 481 tools/crm_resource.c NULL }, NULL 491 tools/crm_resource.c NULL }, NULL 496 tools/crm_resource.c "Deprecated: Use --promoted instead", NULL }, NULL 498 tools/crm_resource.c { NULL } NULL 504 tools/crm_resource.c NULL }, NULL 507 tools/crm_resource.c NULL }, NULL 511 tools/crm_resource.c NULL }, NULL 514 tools/crm_resource.c NULL }, NULL 522 tools/crm_resource.c NULL }, NULL 529 tools/crm_resource.c NULL }, NULL 533 tools/crm_resource.c NULL }, NULL 540 tools/crm_resource.c NULL }, NULL 547 tools/crm_resource.c NULL }, NULL 552 tools/crm_resource.c NULL }, NULL 554 tools/crm_resource.c { NULL } NULL 563 tools/crm_resource.c NULL }, NULL 573 tools/crm_resource.c NULL }, NULL 577 tools/crm_resource.c NULL }, NULL 614 tools/crm_resource.c NULL }, NULL 616 tools/crm_resource.c NULL, NULL 619 tools/crm_resource.c NULL, NULL 622 tools/crm_resource.c { NULL } NULL 647 tools/crm_resource.c if (pcmk__str_any_of(option_name, "-m", "--meta", NULL)) { NULL 649 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-z", "--utilization", NULL)) { NULL 666 tools/crm_resource.c if (options.v_class != NULL) { NULL 680 tools/crm_resource.c if (pcmk__str_any_of(option_name, "-C", "--cleanup", NULL)) { NULL 687 tools/crm_resource.c if (getenv("CIB_file") == NULL) { NULL 715 tools/crm_resource.c if (options.agent_spec != NULL) { NULL 717 tools/crm_resource.c options.agent_spec = NULL; NULL 719 tools/crm_resource.c if (optarg != NULL) { NULL 775 tools/crm_resource.c char *name = NULL; NULL 776 tools/crm_resource.c char *value = NULL; NULL 781 tools/crm_resource.c if (options.cmdline_params == NULL) { NULL 798 tools/crm_resource.c if (pcmk__str_any_of(option_name, "-U", "--clear", NULL)) { NULL 801 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-B", "--ban", NULL)) { NULL 804 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-M", "--move", NULL)) { NULL 807 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-q", "--query-xml", NULL)) { NULL 810 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-w", "--query-xml-raw", NULL)) { NULL 813 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-W", "--locate", NULL)) { NULL 816 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-A", "--stack", NULL)) { NULL 829 tools/crm_resource.c if (pcmk__str_any_of(option_name, "-g", "--get-parameter", NULL)) { NULL 846 tools/crm_resource.c if (pcmk__str_any_of(option_name, "-c", "--list-cts", NULL)) { NULL 848 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-L", "--list", NULL)) { NULL 850 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-l", "--list-raw", NULL)) { NULL 852 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-O", "--list-operations", NULL)) { NULL 864 tools/crm_resource.c if (pcmk__str_any_of(option_name, "-p", "--set-parameter", NULL)) { NULL 909 tools/crm_resource.c if (options.override_params == NULL) { NULL 930 tools/crm_resource.c if (options.override_params == NULL) { NULL 958 tools/crm_resource.c pe_node_t *current = NULL; NULL 961 tools/crm_resource.c CRM_CHECK(rsc != NULL, return EINVAL); NULL 966 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, NULL, NULL 971 tools/crm_resource.c GList *iter = NULL; NULL 973 tools/crm_resource.c current = NULL; NULL 985 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, NULL, NULL 1038 tools/crm_resource.c GList *before = NULL; NULL 1039 tools/crm_resource.c GList *after = NULL; NULL 1040 tools/crm_resource.c GList *remaining = NULL; NULL 1041 tools/crm_resource.c GList *ele = NULL; NULL 1042 tools/crm_resource.c pe_node_t *dest = NULL; NULL 1056 tools/crm_resource.c if (dest == NULL) { NULL 1063 tools/crm_resource.c rc = cli_resource_clear(options.rsc_id, dest->details->uname, NULL, NULL 1067 tools/crm_resource.c rc = cli_resource_clear(options.rsc_id, NULL, data_set->nodes, NULL 1072 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); NULL 1088 tools/crm_resource.c for (ele = remaining; ele != NULL; ele = ele->next) { NULL 1104 tools/crm_resource.c xmlNode *msg_data = NULL; NULL 1106 tools/crm_resource.c if (options.rsc_type == NULL) { NULL 1113 tools/crm_resource.c msg_data = create_xml_node(NULL, options.rsc_type); NULL 1129 tools/crm_resource.c lrmd_list_t *list = NULL; NULL 1144 tools/crm_resource.c if (provider == NULL) { NULL 1162 tools/crm_resource.c const char *text = NULL; NULL 1164 tools/crm_resource.c lrmd_list_t *list = NULL; NULL 1207 tools/crm_resource.c if (agent_spec != NULL) { NULL 1228 tools/crm_resource.c if (options.xml_file != NULL) { NULL 1231 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); NULL 1241 tools/crm_resource.c if (data_set == NULL) { NULL 1267 tools/crm_resource.c if (node == NULL) { NULL 1279 tools/crm_resource.c if (controld_api == NULL) { NULL 1288 tools/crm_resource.c rc = pcmk__node_attr_request_clear(NULL, options.host_uname, NULL 1289 tools/crm_resource.c NULL, NULL, NULL, NULL 1290 tools/crm_resource.c NULL, attr_options); NULL 1311 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, NULL, NULL 1328 tools/crm_resource.c xmlNode *msg_data = NULL; NULL 1343 tools/crm_resource.c CRM_LOG_ASSERT(options.prop_name != NULL); NULL 1345 tools/crm_resource.c msg_data = create_xml_node(NULL, options.rsc_type); NULL 1361 tools/crm_resource.c char *standard = NULL; NULL 1362 tools/crm_resource.c char *provider = NULL; NULL 1363 tools/crm_resource.c char *type = NULL; NULL 1364 tools/crm_resource.c char *metadata = NULL; NULL 1403 tools/crm_resource.c if (options.rsc_id != NULL) { NULL 1417 tools/crm_resource.c if (options.v_provider != NULL) { NULL 1434 tools/crm_resource.c if (error != NULL) { NULL 1438 tools/crm_resource.c if (options.cmdline_params == NULL) { NULL 1448 tools/crm_resource.c GOptionContext *context = NULL; NULL 1453 tools/crm_resource.c NULL }, NULL 1458 tools/crm_resource.c NULL, NULL 1459 tools/crm_resource.c NULL }, NULL 1461 tools/crm_resource.c { NULL } NULL 1490 tools/crm_resource.c context = pcmk__build_arg_context(args, "text (default), xml", group, NULL); NULL 1514 tools/crm_resource.c xmlNode *cib_xml_copy = NULL; NULL 1515 tools/crm_resource.c pe_resource_t *rsc = NULL; NULL 1516 tools/crm_resource.c pe_node_t *node = NULL; NULL 1519 tools/crm_resource.c GOptionGroup *output_group = NULL; NULL 1520 tools/crm_resource.c gchar **processed_args = NULL; NULL 1521 tools/crm_resource.c GOptionContext *context = NULL; NULL 1573 tools/crm_resource.c if ((options.remainder != NULL) && (options.override_params != NULL)) { NULL 1594 tools/crm_resource.c } else if (options.remainder != NULL) { NULL 1595 tools/crm_resource.c gchar **strv = NULL; NULL 1596 tools/crm_resource.c gchar *msg = NULL; NULL 1663 tools/crm_resource.c if (error != NULL) { NULL 1668 tools/crm_resource.c } else if (options.cmdline_params != NULL) { NULL 1671 tools/crm_resource.c options.cmdline_params = NULL; NULL 1674 tools/crm_resource.c if (options.require_resource && (options.rsc_id == NULL)) { NULL 1681 tools/crm_resource.c if (options.require_node && (options.host_uname == NULL)) { NULL 1706 tools/crm_resource.c if ((cib_conn == NULL) || (cib_conn->cmds == NULL)) { NULL 1735 tools/crm_resource.c if (rsc == NULL) { NULL 1744 tools/crm_resource.c if ((options.host_uname != NULL) && (data_set != NULL)) { NULL 1758 tools/crm_resource.c NULL); NULL 1774 tools/crm_resource.c GList *all = NULL; NULL 1844 tools/crm_resource.c if (node == NULL) { NULL 1863 tools/crm_resource.c for (GList *lpc = data_set->resources; lpc != NULL; NULL 1909 tools/crm_resource.c if ((options.host_uname != NULL) && (node == NULL)) { NULL 1922 tools/crm_resource.c if (options.host_uname == NULL) { NULL 1940 tools/crm_resource.c if (options.host_uname == NULL) { NULL 1942 tools/crm_resource.c } else if (node == NULL) { NULL 1946 tools/crm_resource.c options.move_lifetime, NULL, cib_conn, NULL 1972 tools/crm_resource.c GHashTable *params = NULL; NULL 1973 tools/crm_resource.c pe_node_t *current = pe__find_active_on(rsc, &count, NULL); NULL 1979 tools/crm_resource.c current = NULL; NULL 1994 tools/crm_resource.c pe__unpack_dataset_nvpairs(rsc->xml, XML_TAG_UTILIZATION, NULL, params, NULL 1995 tools/crm_resource.c NULL, FALSE, data_set); NULL 2037 tools/crm_resource.c if (rsc == NULL) { NULL 2050 tools/crm_resource.c if (rsc == NULL) { NULL 2090 tools/crm_resource.c if (error != NULL) { NULL 2119 tools/crm_resource.c if (options.override_params != NULL) { NULL 19 tools/crm_resource_ban.c char *later_s = NULL; NULL 20 tools/crm_resource_ban.c crm_time_t *now = NULL; NULL 21 tools/crm_resource_ban.c crm_time_t *later = NULL; NULL 22 tools/crm_resource_ban.c crm_time_t *duration = NULL; NULL 24 tools/crm_resource_ban.c if (move_lifetime == NULL) { NULL 25 tools/crm_resource_ban.c return NULL; NULL 29 tools/crm_resource_ban.c if (duration == NULL) { NULL 33 tools/crm_resource_ban.c return NULL; NULL 36 tools/crm_resource_ban.c now = crm_time_new(NULL); NULL 38 tools/crm_resource_ban.c if (later == NULL) { NULL 44 tools/crm_resource_ban.c return NULL; NULL 81 tools/crm_resource_ban.c char *later_s = NULL; NULL 83 tools/crm_resource_ban.c xmlNode *fragment = NULL; NULL 84 tools/crm_resource_ban.c xmlNode *location = NULL; NULL 86 tools/crm_resource_ban.c if(host == NULL) { NULL 92 tools/crm_resource_ban.c NULL, cib_conn, cib_options, promoted_role_only); NULL 98 tools/crm_resource_ban.c if(move_lifetime && later_s == NULL) { NULL 102 tools/crm_resource_ban.c fragment = create_xml_node(NULL, XML_CIB_TAG_CONSTRAINTS); NULL 124 tools/crm_resource_ban.c if (later_s == NULL) { NULL 166 tools/crm_resource_ban.c xmlNode *location = NULL; NULL 167 tools/crm_resource_ban.c xmlNode *fragment = NULL; NULL 169 tools/crm_resource_ban.c if(move_lifetime && later_s == NULL) { NULL 173 tools/crm_resource_ban.c if(cib_conn == NULL) { NULL 178 tools/crm_resource_ban.c fragment = create_xml_node(NULL, XML_CIB_TAG_CONSTRAINTS); NULL 190 tools/crm_resource_ban.c if (later_s == NULL) { NULL 249 tools/crm_resource_ban.c char *xpath_string = NULL; NULL 254 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, xpath_string, NULL, cib_xpath | cib_options); NULL 271 tools/crm_resource_ban.c xmlNode *fragment = NULL; NULL 272 tools/crm_resource_ban.c xmlNode *location = NULL; NULL 274 tools/crm_resource_ban.c fragment = create_xml_node(NULL, XML_CIB_TAG_CONSTRAINTS); NULL 306 tools/crm_resource_ban.c if(cib_conn == NULL) { NULL 332 tools/crm_resource_ban.c rc = cli_resource_clear(rsc_id, target->details->uname, NULL, NULL 348 tools/crm_resource_ban.c char *xpath_string = NULL; NULL 349 tools/crm_resource_ban.c char *first_half = NULL; NULL 350 tools/crm_resource_ban.c char *rsc_role_substr = NULL; NULL 351 tools/crm_resource_ban.c char *date_substr = NULL; NULL 361 tools/crm_resource_ban.c return NULL; NULL 367 tools/crm_resource_ban.c if (node != NULL || rsc != NULL || promoted_role_only == TRUE) { NULL 370 tools/crm_resource_ban.c if (node != NULL) { NULL 371 tools/crm_resource_ban.c if (rsc != NULL || promoted_role_only == TRUE) { NULL 378 tools/crm_resource_ban.c if (rsc != NULL && promoted_role_only == TRUE) { NULL 384 tools/crm_resource_ban.c } else if (rsc != NULL) { NULL 397 tools/crm_resource_ban.c if (node != NULL) { NULL 398 tools/crm_resource_ban.c if (rsc_role_substr != NULL) { NULL 421 tools/crm_resource_ban.c xmlXPathObject *xpathObj = NULL; NULL 422 tools/crm_resource_ban.c xmlNode *cib_constraints = NULL; NULL 423 tools/crm_resource_ban.c crm_time_t *now = crm_time_new(NULL); NULL 432 tools/crm_resource_ban.c xmlNode *date_expr_node = NULL; NULL 433 tools/crm_resource_ban.c crm_time_t *end = NULL; NULL 434 tools/crm_resource_ban.c char *xpath_string = NULL; NULL 437 tools/crm_resource_ban.c if (xpath_string == NULL) { NULL 442 tools/crm_resource_ban.c if (date_expr_node == NULL) { NULL 453 tools/crm_resource_ban.c xmlNode *fragment = NULL; NULL 454 tools/crm_resource_ban.c xmlNode *location = NULL; NULL 456 tools/crm_resource_ban.c fragment = create_xml_node(NULL, XML_CIB_TAG_CONSTRAINTS); NULL 20 tools/crm_resource_print.c xmlNode *xml_obj = NULL; NULL 21 tools/crm_resource_print.c xmlNode *lifetime = NULL; NULL 24 tools/crm_resource_print.c for (xml_obj = pcmk__xe_first_child(cib_constraints); xml_obj != NULL; NULL 28 tools/crm_resource_print.c if (id == NULL) { NULL 34 tools/crm_resource_print.c if (pe_evaluate_rules(lifetime, NULL, data_set->now, NULL) == FALSE) { NULL 56 tools/crm_resource_print.c GList *lpc = NULL; NULL 57 tools/crm_resource_print.c const char *host = NULL; NULL 70 tools/crm_resource_print.c if (node != NULL) { NULL 80 tools/crm_resource_print.c for (lpc = rsc->children; lpc != NULL; lpc = lpc->next) { NULL 100 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "Resource Operations"); NULL 103 tools/crm_resource_print.c for (GList *lpc = ops; lpc != NULL; lpc = lpc->next) { NULL 118 tools/crm_resource_print.c GList *all = NULL; NULL 122 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "Resource Config"); NULL 138 tools/crm_resource_print.c const char *value = NULL; NULL 140 tools/crm_resource_print.c if (params != NULL) { NULL 143 tools/crm_resource_print.c if (value != NULL) { NULL 144 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "Attributes"); NULL 161 tools/crm_resource_print.c const char *value = NULL; NULL 163 tools/crm_resource_print.c if (params != NULL) { NULL 166 tools/crm_resource_print.c if (value != NULL) { NULL 183 tools/crm_resource_print.c if (value != NULL) { NULL 184 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "Properties"); NULL 200 tools/crm_resource_print.c if (value != NULL) { NULL 216 tools/crm_resource_print.c if (checks->flags != 0 || checks->lock_node != NULL) { NULL 218 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "Resource Checks"); NULL 258 tools/crm_resource_print.c NULL); NULL 289 tools/crm_resource_print.c if (!out->is_quiet(out) && nodes == NULL) { NULL 294 tools/crm_resource_print.c for (GList *lpc = nodes; lpc != NULL; lpc = lpc->next) { NULL 298 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "Nodes"); NULL 336 tools/crm_resource_print.c NULL); NULL 338 tools/crm_resource_print.c for (GList *lpc = nodes; lpc != NULL; lpc = lpc->next) { NULL 360 tools/crm_resource_print.c const char *host_uname = (node == NULL)? NULL : node->details->uname; NULL 362 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "Resource Reasons"); NULL 364 tools/crm_resource_print.c if ((rsc == NULL) && (host_uname == NULL)) { NULL 365 tools/crm_resource_print.c GList *lpc = NULL; NULL 366 tools/crm_resource_print.c GList *hosts = NULL; NULL 368 tools/crm_resource_print.c for (lpc = resources; lpc != NULL; lpc = lpc->next) { NULL 372 tools/crm_resource_print.c if (hosts == NULL) { NULL 380 tools/crm_resource_print.c hosts = NULL; NULL 383 tools/crm_resource_print.c } else if ((rsc != NULL) && (host_uname != NULL)) { NULL 394 tools/crm_resource_print.c } else if ((rsc == NULL) && (host_uname != NULL)) { NULL 399 tools/crm_resource_print.c GList *lpc = NULL; NULL 401 tools/crm_resource_print.c for (lpc = activeResources; lpc != NULL; lpc = lpc->next) { NULL 408 tools/crm_resource_print.c for(lpc = unactiveResources; lpc != NULL; lpc = lpc->next) { NULL 419 tools/crm_resource_print.c } else if ((rsc != NULL) && (host_uname == NULL)) { NULL 420 tools/crm_resource_print.c GList *hosts = NULL; NULL 443 tools/crm_resource_print.c const char *host_uname = (node == NULL)? NULL : node->details->uname; NULL 445 tools/crm_resource_print.c xmlNodePtr xml_node = pcmk__output_xml_create_parent(out, "reason", NULL); NULL 447 tools/crm_resource_print.c if ((rsc == NULL) && (host_uname == NULL)) { NULL 448 tools/crm_resource_print.c GList *lpc = NULL; NULL 449 tools/crm_resource_print.c GList *hosts = NULL; NULL 451 tools/crm_resource_print.c pcmk__output_xml_create_parent(out, "resources", NULL); NULL 453 tools/crm_resource_print.c for (lpc = resources; lpc != NULL; lpc = lpc->next) { NULL 460 tools/crm_resource_print.c "running", pcmk__btoa(hosts != NULL), NULL 461 tools/crm_resource_print.c NULL); NULL 466 tools/crm_resource_print.c hosts = NULL; NULL 471 tools/crm_resource_print.c } else if ((rsc != NULL) && (host_uname != NULL)) { NULL 478 tools/crm_resource_print.c } else if ((rsc == NULL) && (host_uname != NULL)) { NULL 483 tools/crm_resource_print.c GList *lpc = NULL; NULL 485 tools/crm_resource_print.c pcmk__output_xml_create_parent(out, "resources", NULL); NULL 487 tools/crm_resource_print.c for (lpc = activeResources; lpc != NULL; lpc = lpc->next) { NULL 494 tools/crm_resource_print.c NULL); NULL 500 tools/crm_resource_print.c for(lpc = unactiveResources; lpc != NULL; lpc = lpc->next) { NULL 507 tools/crm_resource_print.c NULL); NULL 518 tools/crm_resource_print.c } else if ((rsc != NULL) && (host_uname == NULL)) { NULL 519 tools/crm_resource_print.c GList *hosts = NULL; NULL 522 tools/crm_resource_print.c crm_xml_add(xml_node, "running", pcmk__btoa(hosts != NULL)); NULL 532 tools/crm_resource_print.c if (rsc->children == NULL) { NULL 535 tools/crm_resource_print.c for (GList *lpc = rsc->children; lpc != NULL; lpc = lpc->next) { NULL 547 tools/crm_resource_print.c if (resources == NULL) { NULL 552 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "Resource Names"); NULL 554 tools/crm_resource_print.c for (GList *lpc = resources; lpc != NULL; lpc = lpc->next) { NULL 576 tools/crm_resource_print.c { NULL, NULL, NULL } NULL 48 tools/crm_resource_runtime.c GList *retval = NULL; NULL 50 tools/crm_resource_runtime.c for (GList *iter = rsc->children; iter != NULL; iter = iter->next) { NULL 53 tools/crm_resource_runtime.c for (GList *iter2 = child->running_on; iter2 != NULL; iter2 = iter2->next) { NULL 71 tools/crm_resource_runtime.c GList *retval = NULL; NULL 86 tools/crm_resource_runtime.c } else if (rsc->running_on != NULL) { NULL 87 tools/crm_resource_runtime.c for (GList *iter = rsc->running_on; iter != NULL; iter = iter->next) { NULL 110 tools/crm_resource_runtime.c xmlNode *xml_search = NULL; NULL 111 tools/crm_resource_runtime.c char *xpath_string = NULL; NULL 114 tools/crm_resource_runtime.c *value = NULL; NULL 117 tools/crm_resource_runtime.c if(the_cib == NULL) { NULL 158 tools/crm_resource_runtime.c xmlNode *child = NULL; NULL 163 tools/crm_resource_runtime.c for (child = pcmk__xml_first_child(xml_search); child != NULL; NULL 195 tools/crm_resource_runtime.c char *local_attr_id = NULL; NULL 231 tools/crm_resource_runtime.c char *lookup_id = NULL; NULL 232 tools/crm_resource_runtime.c char *local_attr_id = NULL; NULL 233 tools/crm_resource_runtime.c GList * result = NULL; NULL 242 tools/crm_resource_runtime.c char *local_attr_id = NULL; NULL 253 tools/crm_resource_runtime.c } else if(rsc->parent == NULL && rsc->children && pe_clone == rsc->variant) { NULL 292 tools/crm_resource_runtime.c char *local_attr_id = NULL; NULL 293 tools/crm_resource_runtime.c char *local_attr_set = NULL; NULL 295 tools/crm_resource_runtime.c GList/*<pe_resource_t*>*/ *resources = NULL; NULL 298 tools/crm_resource_runtime.c if (attr_id == NULL && force == FALSE) { NULL 299 tools/crm_resource_runtime.c find_resource_attr (out, cib, XML_ATTR_ID, uber_parent(rsc)->id, NULL, NULL 300 tools/crm_resource_runtime.c NULL, NULL, attr_name, NULL); NULL 331 tools/crm_resource_runtime.c char *lookup_id = NULL; NULL 333 tools/crm_resource_runtime.c xmlNode *xml_top = NULL; NULL 334 tools/crm_resource_runtime.c xmlNode *xml_obj = NULL; NULL 335 tools/crm_resource_runtime.c local_attr_id = NULL; NULL 336 tools/crm_resource_runtime.c local_attr_set = NULL; NULL 358 tools/crm_resource_runtime.c if (attr_set == NULL) { NULL 363 tools/crm_resource_runtime.c if (attr_id == NULL) { NULL 368 tools/crm_resource_runtime.c xml_top = create_xml_node(NULL, tag); NULL 376 tools/crm_resource_runtime.c if (xml_top == NULL) { NULL 398 tools/crm_resource_runtime.c GList *lpc = NULL; NULL 411 tools/crm_resource_runtime.c for (lpc = rsc->rsc_cons_lhs; lpc != NULL; lpc = lpc->next) { NULL 419 tools/crm_resource_runtime.c cli_resource_update_attribute(peer, peer->id, NULL, attr_set_type, NULL 420 tools/crm_resource_runtime.c NULL, attr_name, attr_value, recursive, NULL 440 tools/crm_resource_runtime.c GList/*<pe_resource_t*>*/ *resources = NULL; NULL 442 tools/crm_resource_runtime.c if (attr_id == NULL && force == FALSE) { NULL 443 tools/crm_resource_runtime.c find_resource_attr(out, cib, XML_ATTR_ID, uber_parent(rsc)->id, NULL, NULL 444 tools/crm_resource_runtime.c NULL, NULL, attr_name, NULL); NULL 455 tools/crm_resource_runtime.c char *lookup_id = NULL; NULL 456 tools/crm_resource_runtime.c xmlNode *xml_obj = NULL; NULL 457 tools/crm_resource_runtime.c char *local_attr_id = NULL; NULL 476 tools/crm_resource_runtime.c if (attr_id == NULL) { NULL 480 tools/crm_resource_runtime.c xml_obj = crm_create_nvpair_xml(NULL, attr_id, attr_name, NULL); NULL 508 tools/crm_resource_runtime.c const char *rsc_api_id = NULL; NULL 509 tools/crm_resource_runtime.c const char *rsc_long_id = NULL; NULL 510 tools/crm_resource_runtime.c const char *rsc_class = NULL; NULL 511 tools/crm_resource_runtime.c const char *rsc_provider = NULL; NULL 512 tools/crm_resource_runtime.c const char *rsc_type = NULL; NULL 516 tools/crm_resource_runtime.c if (rsc == NULL) { NULL 528 tools/crm_resource_runtime.c if ((rsc_class == NULL) || (rsc_type == NULL)) { NULL 536 tools/crm_resource_runtime.c if (node == NULL) { NULL 551 tools/crm_resource_runtime.c if (node == NULL) { NULL 613 tools/crm_resource_runtime.c while (g_main_context_iteration(NULL, FALSE)) { NULL 627 tools/crm_resource_runtime.c const char *failed_value = NULL; NULL 628 tools/crm_resource_runtime.c const char *failed_id = NULL; NULL 629 tools/crm_resource_runtime.c const char *interval_ms_s = NULL; NULL 630 tools/crm_resource_runtime.c GHashTable *rscs = NULL; NULL 637 tools/crm_resource_runtime.c rscs = pcmk__strkey_table(NULL, NULL); NULL 646 tools/crm_resource_runtime.c xml_op != NULL; NULL 650 tools/crm_resource_runtime.c if (failed_id == NULL) { NULL 690 tools/crm_resource_runtime.c while (g_hash_table_iter_next(&iter, (gpointer *) &failed_id, NULL)) { NULL 713 tools/crm_resource_runtime.c rc = pcmk__node_attr_request_clear(NULL, node->details->uname, rsc_name, NULL 714 tools/crm_resource_runtime.c operation, interval_spec, NULL, NULL 729 tools/crm_resource_runtime.c pe_node_t *node = NULL; NULL 731 tools/crm_resource_runtime.c if (rsc == NULL) { NULL 735 tools/crm_resource_runtime.c GList *lpc = NULL; NULL 737 tools/crm_resource_runtime.c for (lpc = rsc->children; lpc != NULL; lpc = lpc->next) { NULL 749 tools/crm_resource_runtime.c } else if (host_uname == NULL) { NULL 750 tools/crm_resource_runtime.c GList *lpc = NULL; NULL 753 tools/crm_resource_runtime.c if(nodes == NULL && force) { NULL 756 tools/crm_resource_runtime.c } else if(nodes == NULL && rsc->exclusive_discover) { NULL 758 tools/crm_resource_runtime.c pe_node_t *node = NULL; NULL 761 tools/crm_resource_runtime.c while (g_hash_table_iter_next(&iter, NULL, (void**)&node)) { NULL 767 tools/crm_resource_runtime.c } else if(nodes == NULL) { NULL 771 tools/crm_resource_runtime.c for (lpc = nodes; lpc != NULL; lpc = lpc->next) { NULL 791 tools/crm_resource_runtime.c if (node == NULL) { NULL 803 tools/crm_resource_runtime.c if (controld_api == NULL) { NULL 842 tools/crm_resource_runtime.c if (controld_api == NULL) { NULL 851 tools/crm_resource_runtime.c if (node == NULL) { NULL 860 tools/crm_resource_runtime.c rc = pcmk__node_attr_request_clear(NULL, node_name, NULL, operation, NULL 861 tools/crm_resource_runtime.c interval_spec, NULL, attr_options); NULL 869 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, node_name, NULL, NULL 880 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, node->details->uname, NULL, NULL 897 tools/crm_resource_runtime.c char *role_s = NULL; NULL 898 tools/crm_resource_runtime.c char *managed = NULL; NULL 901 tools/crm_resource_runtime.c resource_checks_t *checks = NULL; NULL 904 tools/crm_resource_runtime.c NULL, NULL, NULL, XML_RSC_ATTR_MANAGED, &managed); NULL 907 tools/crm_resource_runtime.c NULL, NULL, NULL, XML_RSC_ATTR_TARGET_ROLE, &role_s); NULL 911 tools/crm_resource_runtime.c if (checks->flags != 0 || checks->lock_node != NULL) { NULL 934 tools/crm_resource_runtime.c GHashTable *params = NULL; NULL 935 tools/crm_resource_runtime.c GHashTable *meta = NULL; NULL 936 tools/crm_resource_runtime.c GHashTable *combined = NULL; NULL 938 tools/crm_resource_runtime.c char *key = NULL; NULL 939 tools/crm_resource_runtime.c char *value = NULL; NULL 944 tools/crm_resource_runtime.c if (params != NULL) { NULL 953 tools/crm_resource_runtime.c if (meta != NULL) { NULL 969 tools/crm_resource_runtime.c GList *hIter = NULL; NULL 970 tools/crm_resource_runtime.c GList *hosts = NULL; NULL 972 tools/crm_resource_runtime.c if(rsc == NULL) { NULL 977 tools/crm_resource_runtime.c for (hIter = hosts; host != NULL && hIter != NULL; hIter = hIter->next) { NULL 989 tools/crm_resource_runtime.c if(host != NULL) { NULL 993 tools/crm_resource_runtime.c } else if(host == NULL && hosts == NULL) { NULL 1015 tools/crm_resource_runtime.c GList *rIter = NULL; NULL 1016 tools/crm_resource_runtime.c GList *active = NULL; NULL 1018 tools/crm_resource_runtime.c for (rIter = rsc_list; rIter != NULL; rIter = rIter->next) { NULL 1038 tools/crm_resource_runtime.c GList *item = NULL; NULL 1040 tools/crm_resource_runtime.c for (item = items; item != NULL; item = item->next) { NULL 1048 tools/crm_resource_runtime.c GList *item = NULL; NULL 1050 tools/crm_resource_runtime.c for (item = items; item != NULL; item = item->next) { NULL 1074 tools/crm_resource_runtime.c if (cli_config_update(xml, NULL, FALSE) == FALSE) { NULL 1078 tools/crm_resource_runtime.c data_set->now = crm_time_new(NULL); NULL 1097 tools/crm_resource_runtime.c xmlNode *cib_xml_copy = NULL; NULL 1100 tools/crm_resource_runtime.c rc = cib->cmds->query(cib, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); NULL 1121 tools/crm_resource_runtime.c char *pid = NULL; NULL 1122 tools/crm_resource_runtime.c char *shadow_file = NULL; NULL 1123 tools/crm_resource_runtime.c cib_t *shadow_cib = NULL; NULL 1141 tools/crm_resource_runtime.c if (shadow_cib == NULL) { NULL 1162 tools/crm_resource_runtime.c pcmk__schedule_actions(data_set, data_set->input, NULL); NULL 1166 tools/crm_resource_runtime.c run_simulation(data_set, shadow_cib, NULL); NULL 1195 tools/crm_resource_runtime.c GList *iter = NULL; NULL 1210 tools/crm_resource_runtime.c pe_action_t *stop = custom_action(rsc, key, RSC_STOP, NULL, TRUE, FALSE, data_set); NULL 1230 tools/crm_resource_runtime.c GList *item = NULL; NULL 1232 tools/crm_resource_runtime.c for (item = resources; item != NULL; item = item->next) { NULL 1248 tools/crm_resource_runtime.c #define waiting_for_starts(d, r, h) ((d != NULL) || \ NULL 1278 tools/crm_resource_runtime.c char *rsc_id = NULL; NULL 1279 tools/crm_resource_runtime.c char *orig_target_role = NULL; NULL 1281 tools/crm_resource_runtime.c GList *list_delta = NULL; NULL 1282 tools/crm_resource_runtime.c GList *target_active = NULL; NULL 1283 tools/crm_resource_runtime.c GList *current_active = NULL; NULL 1284 tools/crm_resource_runtime.c GList *restart_target_active = NULL; NULL 1286 tools/crm_resource_runtime.c pe_working_set_t *data_set = NULL; NULL 1322 tools/crm_resource_runtime.c if (data_set == NULL) { NULL 1345 tools/crm_resource_runtime.c rc = cli_resource_ban(out, rsc_id, host, move_lifetime, NULL, cib, NULL 1355 tools/crm_resource_runtime.c find_resource_attr(out, cib, XML_NVPAIR_ATTR_VALUE, lookup_id, NULL, NULL, NULL 1356 tools/crm_resource_runtime.c NULL, XML_RSC_ATTR_TARGET_ROLE, &orig_target_role); NULL 1358 tools/crm_resource_runtime.c rc = cli_resource_update_attribute(rsc, rsc_id, NULL, XML_TAG_META_SETS, NULL 1359 tools/crm_resource_runtime.c NULL, XML_RSC_ATTR_TARGET_ROLE, NULL 1388 tools/crm_resource_runtime.c while (list_delta != NULL) { NULL 1395 tools/crm_resource_runtime.c for(lpc = 0; (lpc < step_timeout_s) && (list_delta != NULL); lpc++) { NULL 1429 tools/crm_resource_runtime.c rc = cli_resource_clear(rsc_id, host, NULL, cib, cib_options, TRUE, force); NULL 1432 tools/crm_resource_runtime.c rc = cli_resource_update_attribute(rsc, rsc_id, NULL, XML_TAG_META_SETS, NULL 1433 tools/crm_resource_runtime.c NULL, XML_RSC_ATTR_TARGET_ROLE, NULL 1437 tools/crm_resource_runtime.c orig_target_role = NULL; NULL 1439 tools/crm_resource_runtime.c rc = cli_resource_delete_attribute(rsc, rsc_id, NULL, XML_TAG_META_SETS, NULL 1440 tools/crm_resource_runtime.c NULL, XML_RSC_ATTR_TARGET_ROLE, cib, NULL 1486 tools/crm_resource_runtime.c current_active = get_active_resources(NULL, data_set->resources); NULL 1508 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, host, NULL, cib, cib_options, TRUE, force); NULL 1510 tools/crm_resource_runtime.c cli_resource_update_attribute(rsc, rsc_id, NULL, XML_TAG_META_SETS, NULL, NULL 1515 tools/crm_resource_runtime.c cli_resource_delete_attribute(rsc, rsc_id, NULL, XML_TAG_META_SETS, NULL, NULL 1561 tools/crm_resource_runtime.c for (action = actions; action != NULL; action = action->next) { NULL 1577 tools/crm_resource_runtime.c for (action = actions; action != NULL; action = action->next) { NULL 1615 tools/crm_resource_runtime.c pe_working_set_t *data_set = NULL; NULL 1618 tools/crm_resource_runtime.c time_t expire_time = time(NULL) + timeout_s; NULL 1623 tools/crm_resource_runtime.c if (data_set == NULL) { NULL 1631 tools/crm_resource_runtime.c time_diff = expire_time - time(NULL); NULL 1650 tools/crm_resource_runtime.c pcmk__schedule_actions(data_set, data_set->input, NULL); NULL 1684 tools/crm_resource_runtime.c GHashTable *params_copy = NULL; NULL 1686 tools/crm_resource_runtime.c svc_action_t *op = NULL; NULL 1715 tools/crm_resource_runtime.c if (op == NULL) { NULL 1747 tools/crm_resource_runtime.c char *name = NULL; NULL 1748 tools/crm_resource_runtime.c char *value = NULL; NULL 1797 tools/crm_resource_runtime.c const char *rid = NULL; NULL 1798 tools/crm_resource_runtime.c const char *rtype = NULL; NULL 1799 tools/crm_resource_runtime.c const char *rprov = NULL; NULL 1800 tools/crm_resource_runtime.c const char *rclass = NULL; NULL 1801 tools/crm_resource_runtime.c const char *action = NULL; NULL 1802 tools/crm_resource_runtime.c GHashTable *params = NULL; NULL 1814 tools/crm_resource_runtime.c "force-promote", NULL)) { NULL 1819 tools/crm_resource_runtime.c if(nodes != NULL && force == FALSE) { NULL 1848 tools/crm_resource_runtime.c params = generate_resource_params(rsc, NULL /* @TODO use local node */, NULL 1873 tools/crm_resource_runtime.c pe_node_t *current = NULL; NULL 1877 tools/crm_resource_runtime.c if (dest == NULL) { NULL 1898 tools/crm_resource_runtime.c GList *iter = NULL; NULL 1900 tools/crm_resource_runtime.c pe_node_t *promoted_node = NULL; NULL 1921 tools/crm_resource_runtime.c current = NULL; NULL 1938 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, NULL, data_set->nodes, cib, cib_options, FALSE, force); NULL 1959 tools/crm_resource_runtime.c NULL, cib, cib_options, promoted_role_only); NULL 46 tools/crm_rule.c NULL }, NULL 48 tools/crm_rule.c { NULL } NULL 54 tools/crm_rule.c NULL }, NULL 56 tools/crm_rule.c { NULL } NULL 62 tools/crm_rule.c NULL }, NULL 65 tools/crm_rule.c NULL }, NULL 67 tools/crm_rule.c { NULL } NULL 93 tools/crm_rule.c .node_hash = NULL, NULL 96 tools/crm_rule.c .match_data = NULL, NULL 97 tools/crm_rule.c .rsc_data = NULL, NULL 98 tools/crm_rule.c .op_data = NULL NULL 107 tools/crm_rule.c xmlNode *cib_constraints = NULL; NULL 108 tools/crm_rule.c xmlNode *match = NULL; NULL 109 tools/crm_rule.c xmlXPathObjectPtr xpathObj = NULL; NULL 110 tools/crm_rule.c char *xpath = NULL; NULL 182 tools/crm_rule.c CRM_ASSERT(match != NULL); NULL 185 tools/crm_rule.c rc = eval_date_expression(match, effective_date, NULL); NULL 210 tools/crm_rule.c GOptionContext *context = NULL; NULL 215 tools/crm_rule.c context = pcmk__build_arg_context(args, NULL, NULL, NULL); NULL 230 tools/crm_rule.c cib_t *cib_conn = NULL; NULL 231 tools/crm_rule.c pe_working_set_t *data_set = NULL; NULL 233 tools/crm_rule.c crm_time_t *rule_date = NULL; NULL 234 tools/crm_rule.c xmlNode *input = NULL; NULL 238 tools/crm_rule.c GError *error = NULL; NULL 263 tools/crm_rule.c if (options.rule == NULL) { NULL 280 tools/crm_rule.c if (rule_date == NULL) { NULL 292 tools/crm_rule.c if (input == NULL) { NULL 297 tools/crm_rule.c } else if (options.input_xml != NULL) { NULL 300 tools/crm_rule.c if (input == NULL) { NULL 318 tools/crm_rule.c if (input == NULL) { NULL 319 tools/crm_rule.c rc = cib_conn->cmds->query(cib_conn, NULL, &input, cib_scope_local | cib_sync_call); NULL 328 tools/crm_rule.c if (data_set == NULL) { NULL 360 tools/crm_rule.c if (cib_conn != NULL) { NULL 369 tools/crm_rule.c pcmk__output_and_clear_error(error, NULL); NULL 32 tools/crm_shadow.c static cib_t *real_cib = NULL; NULL 55 tools/crm_shadow.c } else if (batch_flag == FALSE && shell != NULL) { NULL 61 tools/crm_shadow.c execl(shell, shell, "--norc", "--noprofile", NULL); NULL 63 tools/crm_shadow.c execl(shell, shell, NULL); NULL 85 tools/crm_shadow.c if (prompt != NULL && strstr(prompt, our_prompt)) { NULL 99 tools/crm_shadow.c "help", no_argument, NULL, '?', NULL 103 tools/crm_shadow.c "version", no_argument, NULL, '$', NULL 107 tools/crm_shadow.c "verbose", no_argument, NULL, 'V', NULL 111 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 115 tools/crm_shadow.c "which", no_argument, NULL, 'w', NULL 119 tools/crm_shadow.c "display", no_argument, NULL, 'p', NULL 124 tools/crm_shadow.c "edit", no_argument, NULL, 'E', NULL 130 tools/crm_shadow.c "diff", no_argument, NULL, 'd', NULL 135 tools/crm_shadow.c "file", no_argument, NULL, 'F', NULL 140 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 144 tools/crm_shadow.c "create", required_argument, NULL, 'c', NULL 149 tools/crm_shadow.c "create-empty", required_argument, NULL, 'e', NULL 155 tools/crm_shadow.c "commit", required_argument, NULL, 'C', NULL 160 tools/crm_shadow.c "delete", required_argument, NULL, 'D', NULL 164 tools/crm_shadow.c "reset", required_argument, NULL, 'r', NULL 169 tools/crm_shadow.c "switch", required_argument, NULL, 's', NULL 173 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 177 tools/crm_shadow.c "force", no_argument, NULL, 'f', NULL 181 tools/crm_shadow.c "batch", no_argument, NULL, 'b', NULL 185 tools/crm_shadow.c "all", no_argument, NULL, 'a', NULL 190 tools/crm_shadow.c "validate-with", required_argument, NULL, 'v', NULL 194 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 198 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 202 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 206 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 211 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 215 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 219 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 223 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 228 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 232 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 238 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 252 tools/crm_shadow.c const char *validation = NULL; NULL 253 tools/crm_shadow.c char *shadow = NULL; NULL 254 tools/crm_shadow.c char *shadow_file = NULL; NULL 261 tools/crm_shadow.c pcmk__set_cli_options(NULL, "<query>|<command> [options]", long_options, NULL 274 tools/crm_shadow.c flag = pcmk__next_cli_option(argc, argv, &option_index, NULL); NULL 289 tools/crm_shadow.c shadow = NULL; NULL 361 tools/crm_shadow.c if (local == NULL) { NULL 370 tools/crm_shadow.c if (shadow == NULL) { NULL 379 tools/crm_shadow.c if (local != NULL && !pcmk__str_eq(local, shadow, pcmk__str_casei) && force_flag == FALSE) { NULL 443 tools/crm_shadow.c xmlNode *output = NULL; NULL 447 tools/crm_shadow.c rc = real_cib->cmds->query(real_cib, NULL, &output, command_options); NULL 479 tools/crm_shadow.c if (editor == NULL) { NULL 485 tools/crm_shadow.c execlp(editor, "--", shadow_file, NULL); NULL 497 tools/crm_shadow.c char *output_s = NULL; NULL 508 tools/crm_shadow.c xmlNode *diff = NULL; NULL 509 tools/crm_shadow.c xmlNode *old_config = NULL; NULL 512 tools/crm_shadow.c rc = real_cib->cmds->query(real_cib, NULL, &old_config, command_options); NULL 520 tools/crm_shadow.c xml_track_changes(new_config, NULL, new_config, FALSE); NULL 523 tools/crm_shadow.c diff = xml_create_patchset(0, old_config, new_config, NULL, FALSE); NULL 528 tools/crm_shadow.c if (diff != NULL) { NULL 538 tools/crm_shadow.c const char *section = NULL; NULL 68 tools/crm_simulate.c cib_t *global_cib = NULL; NULL 70 tools/crm_simulate.c char *temp_shadow = NULL; NULL 80 tools/crm_simulate.c { NULL, NULL, NULL } NULL 97 tools/crm_simulate.c options.xml_file = NULL; NULL 254 tools/crm_simulate.c NULL }, NULL 257 tools/crm_simulate.c NULL }, NULL 260 tools/crm_simulate.c NULL }, NULL 263 tools/crm_simulate.c NULL }, NULL 266 tools/crm_simulate.c NULL }, NULL 269 tools/crm_simulate.c NULL }, NULL 272 tools/crm_simulate.c NULL }, NULL 282 tools/crm_simulate.c NULL }, NULL 284 tools/crm_simulate.c { NULL } NULL 329 tools/crm_simulate.c { NULL } NULL 347 tools/crm_simulate.c NULL }, NULL 349 tools/crm_simulate.c { NULL } NULL 355 tools/crm_simulate.c NULL }, NULL 361 tools/crm_simulate.c NULL }, NULL 363 tools/crm_simulate.c { NULL } NULL 383 tools/crm_simulate.c data_set->now = crm_time_new(NULL); NULL 401 tools/crm_simulate.c GList *all = NULL; NULL 427 tools/crm_simulate.c char *action_name = NULL; NULL 429 tools/crm_simulate.c const char *action_host = NULL; NULL 430 tools/crm_simulate.c const char *clone_name = NULL; NULL 449 tools/crm_simulate.c char *key = NULL; NULL 458 tools/crm_simulate.c if (pcmk__strcase_any_of(action->task, RSC_NOTIFY, RSC_NOTIFIED, NULL)) { NULL 462 tools/crm_simulate.c CRM_ASSERT(n_type != NULL); NULL 463 tools/crm_simulate.c CRM_ASSERT(n_task != NULL); NULL 505 tools/crm_simulate.c GList *gIter = NULL; NULL 508 tools/crm_simulate.c if (dot_strm == NULL) { NULL 516 tools/crm_simulate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { NULL 533 tools/crm_simulate.c } else if ((action->rsc != NULL) NULL 561 tools/crm_simulate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { NULL 564 tools/crm_simulate.c GList *gIter2 = NULL; NULL 566 tools/crm_simulate.c for (gIter2 = action->actions_before; gIter2 != NULL; gIter2 = gIter2->next) { NULL 569 tools/crm_simulate.c char *before_name = NULL; NULL 570 tools/crm_simulate.c char *after_name = NULL; NULL 611 tools/crm_simulate.c cib_t *cib_conn = NULL; NULL 612 tools/crm_simulate.c xmlNode *cib_object = NULL; NULL 613 tools/crm_simulate.c char *local_output = NULL; NULL 615 tools/crm_simulate.c if (input == NULL) { NULL 622 tools/crm_simulate.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_object, cib_scope_local | cib_sync_call); NULL 627 tools/crm_simulate.c cib_conn = NULL; NULL 635 tools/crm_simulate.c } else if (cib_object == NULL) { NULL 642 tools/crm_simulate.c cib_object = filename2xml(NULL); NULL 648 tools/crm_simulate.c if (get_object_root(XML_CIB_TAG_STATUS, cib_object) == NULL) { NULL 652 tools/crm_simulate.c if (cli_config_update(&cib_object, NULL, FALSE) == FALSE) { NULL 657 tools/crm_simulate.c if (validate_xml(cib_object, NULL, FALSE) != TRUE) { NULL 662 tools/crm_simulate.c if (output == NULL) { NULL 673 tools/crm_simulate.c cib_object = NULL; NULL 691 tools/crm_simulate.c xmlNode *cib_object = NULL; NULL 698 tools/crm_simulate.c if (get_object_root(XML_CIB_TAG_STATUS, cib_object) == NULL) { NULL 703 tools/crm_simulate.c if (cli_config_update(&cib_object, NULL, FALSE) == FALSE) { NULL 708 tools/crm_simulate.c if (validate_xml(cib_object, NULL, FALSE) != TRUE) { NULL 718 tools/crm_simulate.c pcmk__schedule_actions(data_set, input, NULL); NULL 742 tools/crm_simulate.c out->begin_list(out, NULL, NULL, "Timings"); NULL 773 tools/crm_simulate.c out->list_item(out, NULL, "Testing %s ... %.2f secs", xml_file, NULL 791 tools/crm_simulate.c NULL); NULL 801 tools/crm_simulate.c { NULL } NULL 811 tools/crm_simulate.c GOptionContext *context = NULL; NULL 816 tools/crm_simulate.c NULL }, NULL 818 tools/crm_simulate.c { NULL } NULL 836 tools/crm_simulate.c context = pcmk__build_arg_context(args, "text (default), xml", group, NULL); NULL 857 tools/crm_simulate.c pe_working_set_t *data_set = NULL; NULL 858 tools/crm_simulate.c pcmk__output_t *out = NULL; NULL 859 tools/crm_simulate.c xmlNode *input = NULL; NULL 861 tools/crm_simulate.c GError *error = NULL; NULL 863 tools/crm_simulate.c GOptionGroup *output_group = NULL; NULL 915 tools/crm_simulate.c if (data_set == NULL) { NULL 929 tools/crm_simulate.c if (options.test_dir != NULL) { NULL 950 tools/crm_simulate.c rc = global_cib->cmds->query(global_cib, NULL, &input, cib_sync_call | cib_scope_local); NULL 991 tools/crm_simulate.c out->begin_list(out, NULL, NULL, "Current cluster status"); NULL 1005 tools/crm_simulate.c rc = global_cib->cmds->query(global_cib, NULL, &input, cib_sync_call); NULL 1030 tools/crm_simulate.c if (options.input_file != NULL) { NULL 1041 tools/crm_simulate.c crm_time_t *local_date = NULL; NULL 1042 tools/crm_simulate.c pcmk__output_t *logger_out = NULL; NULL 1046 tools/crm_simulate.c out->begin_list(out, NULL, NULL, "Allocation Scores and Utilization Information"); NULL 1050 tools/crm_simulate.c out->begin_list(out, NULL, NULL, "Allocation Scores"); NULL 1054 tools/crm_simulate.c out->begin_list(out, NULL, NULL, "Utilization Information"); NULL 1058 tools/crm_simulate.c if (logger_out == NULL) { NULL 1067 tools/crm_simulate.c if (logger_out == NULL) { NULL 1070 tools/crm_simulate.c logger_out->finish(logger_out, CRM_EX_OK, true, NULL); NULL 1075 tools/crm_simulate.c input = NULL; /* Don't try and free it twice */ NULL 1077 tools/crm_simulate.c if (options.graph_file != NULL) { NULL 1081 tools/crm_simulate.c if (options.dot_file != NULL) { NULL 1088 tools/crm_simulate.c GList *gIter = NULL; NULL 1091 tools/crm_simulate.c out->begin_list(out, NULL, NULL, "Transition Summary"); NULL 1094 tools/crm_simulate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 1119 tools/crm_simulate.c out->begin_list(out, NULL, NULL, "Revised Cluster Status"); NULL 1136 tools/crm_simulate.c pcmk__output_and_clear_error(error, NULL); NULL 1181 tools/crm_simulate.c if (out != NULL) { NULL 1182 tools/crm_simulate.c out->finish(out, exit_code, true, NULL); NULL 37 tools/crm_ticket.c const char *ticket_id = NULL; NULL 38 tools/crm_ticket.c const char *get_attr_name = NULL; NULL 39 tools/crm_ticket.c const char *attr_name = NULL; NULL 40 tools/crm_ticket.c const char *attr_value = NULL; NULL 41 tools/crm_ticket.c const char *attr_id = NULL; NULL 42 tools/crm_ticket.c const char *set_name = NULL; NULL 43 tools/crm_ticket.c const char *attr_default = NULL; NULL 44 tools/crm_ticket.c const char *xml_file = NULL; NULL 51 tools/crm_ticket.c pe_ticket_t *ticket = NULL; NULL 87 tools/crm_ticket.c const char *name = NULL; NULL 88 tools/crm_ticket.c const char *value = NULL; NULL 99 tools/crm_ticket.c if (pcmk__str_any_of(name, "last-granted", "expires", NULL)) { NULL 127 tools/crm_ticket.c pe_ticket_t *ticket = NULL; NULL 131 tools/crm_ticket.c while (g_hash_table_iter_next(&iter, NULL, (void **)&ticket)) { NULL 145 tools/crm_ticket.c xmlNode *xml_search = NULL; NULL 147 tools/crm_ticket.c char *xpath_string = NULL; NULL 149 tools/crm_ticket.c CRM_ASSERT(ticket_state_xml != NULL); NULL 150 tools/crm_ticket.c *ticket_state_xml = NULL; NULL 188 tools/crm_ticket.c xmlNode *xml_search = NULL; NULL 190 tools/crm_ticket.c char *xpath_string = NULL; NULL 192 tools/crm_ticket.c CRM_ASSERT(ticket_cons_xml != NULL); NULL 193 tools/crm_ticket.c *ticket_cons_xml = NULL; NULL 225 tools/crm_ticket.c xmlNode *state_xml = NULL; NULL 229 tools/crm_ticket.c if (state_xml == NULL) { NULL 235 tools/crm_ticket.c char *state_xml_str = NULL; NULL 250 tools/crm_ticket.c xmlNode *cons_xml = NULL; NULL 251 tools/crm_ticket.c char *cons_xml_str = NULL; NULL 255 tools/crm_ticket.c if (cons_xml == NULL) { NULL 271 tools/crm_ticket.c pe_ticket_t *ticket = NULL; NULL 273 tools/crm_ticket.c CRM_ASSERT(attr_value != NULL); NULL 274 tools/crm_ticket.c *attr_value = NULL; NULL 277 tools/crm_ticket.c if (ticket == NULL) { NULL 282 tools/crm_ticket.c if (*attr_value == NULL) { NULL 296 tools/crm_ticket.c char *warning = NULL; NULL 297 tools/crm_ticket.c const char *word = NULL; NULL 339 tools/crm_ticket.c const char *value = NULL; NULL 340 tools/crm_ticket.c GList *list_iter = NULL; NULL 346 tools/crm_ticket.c if (g_hash_table_lookup_extended(attr_set, "granted", NULL, (gpointer *) & value)) { NULL 374 tools/crm_ticket.c xmlNode *xml_top = NULL; NULL 375 tools/crm_ticket.c xmlNode *ticket_state_xml = NULL; NULL 378 tools/crm_ticket.c GList *list_iter = NULL; NULL 381 tools/crm_ticket.c char *key = NULL; NULL 382 tools/crm_ticket.c char *value = NULL; NULL 384 tools/crm_ticket.c pe_ticket_t *ticket = NULL; NULL 399 tools/crm_ticket.c xmlNode *xml_obj = NULL; NULL 401 tools/crm_ticket.c xml_top = create_xml_node(NULL, XML_CIB_TAG_STATUS); NULL 419 tools/crm_ticket.c && (ticket == NULL || ticket->granted == FALSE) NULL 422 tools/crm_ticket.c char *now = pcmk__ttoa(time(NULL)); NULL 429 tools/crm_ticket.c if (found && (attr_delete != NULL)) { NULL 445 tools/crm_ticket.c xmlNode *ticket_state_xml = NULL; NULL 473 tools/crm_ticket.c "help", no_argument, NULL, '?', NULL 477 tools/crm_ticket.c "version", no_argument, NULL, '$', NULL 481 tools/crm_ticket.c "verbose", no_argument, NULL, 'V', NULL 485 tools/crm_ticket.c "quiet", no_argument, NULL, 'Q', NULL 489 tools/crm_ticket.c "ticket", required_argument, NULL, 't', NULL 493 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 497 tools/crm_ticket.c "info", no_argument, NULL, 'l', NULL 501 tools/crm_ticket.c "details", no_argument, NULL, 'L', NULL 505 tools/crm_ticket.c "raw", no_argument, NULL, 'w', NULL 509 tools/crm_ticket.c "query-xml", no_argument, NULL, 'q', NULL 513 tools/crm_ticket.c "constraints", no_argument, NULL, 'c', NULL 518 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 522 tools/crm_ticket.c "grant", no_argument, NULL, 'g', NULL 526 tools/crm_ticket.c "revoke", no_argument, NULL, 'r', NULL 530 tools/crm_ticket.c "standby", no_argument, NULL, 's', NULL 535 tools/crm_ticket.c "activate", no_argument, NULL, 'a', NULL 539 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 543 tools/crm_ticket.c "get-attr", required_argument, NULL, 'G', NULL 547 tools/crm_ticket.c "set-attr", required_argument, NULL, 'S', NULL 551 tools/crm_ticket.c "delete-attr", required_argument, NULL, 'D', NULL 555 tools/crm_ticket.c "cleanup", no_argument, NULL, 'C', NULL 560 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 564 tools/crm_ticket.c "attr-value", required_argument, NULL, 'v', NULL 568 tools/crm_ticket.c "default", required_argument, NULL, 'd', NULL 574 tools/crm_ticket.c "force", no_argument, NULL, 'f', NULL 578 tools/crm_ticket.c "xml-file", required_argument, NULL, 'x', NULL 579 tools/crm_ticket.c NULL, pcmk__option_hidden NULL 584 tools/crm_ticket.c "set-name", required_argument, NULL, 'n', NULL 589 tools/crm_ticket.c "nvpair", required_argument, NULL, 'i', NULL 594 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 598 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 602 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 606 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 610 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 614 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 618 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 622 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 627 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 631 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 635 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 639 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 643 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 647 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 654 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 658 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 662 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 666 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 671 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 675 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 680 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 685 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 689 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 694 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 699 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 704 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 713 tools/crm_ticket.c pe_working_set_t *data_set = NULL; NULL 714 tools/crm_ticket.c xmlNode *cib_xml_copy = NULL; NULL 715 tools/crm_ticket.c xmlNode *cib_constraints = NULL; NULL 717 tools/crm_ticket.c cib_t *cib_conn = NULL; NULL 726 tools/crm_ticket.c GList *attr_delete = NULL; NULL 729 tools/crm_ticket.c crm_log_init(NULL, LOG_CRIT, FALSE, FALSE, argc, argv, FALSE); NULL 730 tools/crm_ticket.c pcmk__set_cli_options(NULL, "<query>|<command> [options]", long_options, NULL 740 tools/crm_ticket.c flag = pcmk__next_cli_option(argc, argv, &option_index, NULL); NULL 789 tools/crm_ticket.c attr_name = NULL; NULL 790 tools/crm_ticket.c attr_value = NULL; NULL 805 tools/crm_ticket.c attr_name = NULL; NULL 806 tools/crm_ticket.c attr_value = NULL; NULL 833 tools/crm_ticket.c if (optind < argc && argv[optind] != NULL) { NULL 835 tools/crm_ticket.c while (optind < argc && argv[optind] != NULL) { NULL 850 tools/crm_ticket.c if (data_set == NULL) { NULL 858 tools/crm_ticket.c if (cib_conn == NULL) { NULL 871 tools/crm_ticket.c if (xml_file != NULL) { NULL 875 tools/crm_ticket.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); NULL 883 tools/crm_ticket.c if (cli_config_update(&cib_xml_copy, NULL, FALSE) == FALSE) { NULL 890 tools/crm_ticket.c data_set->now = crm_time_new(NULL); NULL 912 tools/crm_ticket.c if (ticket == NULL) { NULL 942 tools/crm_ticket.c const char *value = NULL; NULL 944 tools/crm_ticket.c if (ticket_id == NULL) { NULL 960 tools/crm_ticket.c if (ticket_id == NULL) { NULL 967 tools/crm_ticket.c pe_ticket_t *ticket = NULL; NULL 970 tools/crm_ticket.c if (ticket == NULL) { NULL 990 tools/crm_ticket.c if (ticket_id == NULL) { NULL 1034 tools/crm_ticket.c if (ticket_id == NULL) { NULL 1055 tools/crm_ticket.c attr_set = NULL; NULL 1060 tools/crm_ticket.c attr_delete = NULL; NULL 1063 tools/crm_ticket.c data_set = NULL; NULL 1065 tools/crm_ticket.c if (cib_conn != NULL) { NULL 52 tools/crm_verify.c NULL }, NULL 58 tools/crm_verify.c NULL }, NULL 63 tools/crm_verify.c { NULL } NULL 71 tools/crm_verify.c { NULL } NULL 78 tools/crm_verify.c { NULL, NULL, NULL } NULL 83 tools/crm_verify.c GOptionContext *context = NULL; NULL 92 tools/crm_verify.c context = pcmk__build_arg_context(args, "text (default), xml", group, NULL); NULL 106 tools/crm_verify.c xmlNode *cib_object = NULL; NULL 107 tools/crm_verify.c xmlNode *status = NULL; NULL 109 tools/crm_verify.c pe_working_set_t *data_set = NULL; NULL 110 tools/crm_verify.c cib_t *cib_conn = NULL; NULL 111 tools/crm_verify.c const char *xml_tag = NULL; NULL 116 tools/crm_verify.c GError *error = NULL; NULL 118 tools/crm_verify.c pcmk__output_t *out = NULL; NULL 120 tools/crm_verify.c GOptionGroup *output_group = NULL; NULL 161 tools/crm_verify.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_object, options); NULL 169 tools/crm_verify.c if (cib_object == NULL) { NULL 175 tools/crm_verify.c } else if (options.xml_file != NULL) { NULL 177 tools/crm_verify.c if (cib_object == NULL) { NULL 183 tools/crm_verify.c } else if (options.xml_string != NULL) { NULL 185 tools/crm_verify.c if (cib_object == NULL) { NULL 192 tools/crm_verify.c if (cib_object == NULL) { NULL 213 tools/crm_verify.c if (options.cib_save != NULL) { NULL 218 tools/crm_verify.c if (status == NULL) { NULL 222 tools/crm_verify.c if (validate_xml(cib_object, NULL, FALSE) == FALSE) { NULL 225 tools/crm_verify.c cib_object = NULL; NULL 227 tools/crm_verify.c } else if (cli_config_update(&cib_object, NULL, FALSE) == FALSE) { NULL 230 tools/crm_verify.c cib_object = NULL; NULL 237 tools/crm_verify.c if (data_set == NULL) { NULL 245 tools/crm_verify.c if (cib_object == NULL) { NULL 246 tools/crm_verify.c } else if (status != NULL || options.use_live_cib) { NULL 248 tools/crm_verify.c pcmk__schedule_actions(data_set, cib_object, NULL); NULL 251 tools/crm_verify.c data_set->now = crm_time_new(NULL); NULL 296 tools/crm_verify.c pcmk__output_and_clear_error(error, NULL); NULL 298 tools/crm_verify.c if (out != NULL) { NULL 299 tools/crm_verify.c out->finish(out, exit_code, true, NULL); NULL 41 tools/crmadmin.c .optarg = NULL, NULL 42 tools/crmadmin.c .ipc_name = NULL, NULL 59 tools/crmadmin.c NULL NULL 66 tools/crmadmin.c NULL NULL 74 tools/crmadmin.c NULL, NULL 75 tools/crmadmin.c NULL NULL 78 tools/crmadmin.c { NULL } NULL 96 tools/crmadmin.c { NULL } NULL 128 tools/crmadmin.c if (options.optarg != NULL) { NULL 141 tools/crmadmin.c { NULL, NULL, NULL } NULL 146 tools/crmadmin.c GOptionContext *context = NULL; NULL 158 tools/crmadmin.c NULL }, NULL 160 tools/crmadmin.c { NULL } NULL 163 tools/crmadmin.c context = pcmk__build_arg_context(args, "text (default), xml", group, NULL); NULL 185 tools/crmadmin.c GError *error = NULL; NULL 187 tools/crmadmin.c pcmk__output_t *out = NULL; NULL 189 tools/crmadmin.c GOptionGroup *output_group = NULL; NULL 234 tools/crmadmin.c char *help = g_option_context_get_help(context, TRUE, NULL); NULL 272 tools/crmadmin.c if (out != NULL) { NULL 273 tools/crmadmin.c out->finish(out, exit_code, true, NULL); NULL 108 tools/ipmiservicelogd.c return NULL; NULL 144 tools/ipmiservicelogd.c return NULL; NULL 150 tools/ipmiservicelogd.c return NULL; NULL 171 tools/ipmiservicelogd.c return NULL; NULL 206 tools/ipmiservicelogd.c return NULL; NULL 213 tools/ipmiservicelogd.c return NULL; NULL 216 tools/ipmiservicelogd.c return NULL; NULL 226 tools/ipmiservicelogd.c NULL NULL 239 tools/ipmiservicelogd.c NULL NULL 257 tools/ipmiservicelogd.c ipmi_parse_args_iter_help(con_usage, NULL); NULL 263 tools/ipmiservicelogd.c servicelog *slog = NULL; NULL 267 tools/ipmiservicelogd.c char *serial_number = NULL; NULL 268 tools/ipmiservicelogd.c char *product_name = NULL; NULL 300 tools/ipmiservicelogd.c sl_event.next = NULL; /* only used if in a linked list */ NULL 302 tools/ipmiservicelogd.c sl_event.time_logged = time (NULL); NULL 303 tools/ipmiservicelogd.c sl_event.time_event = time (NULL); NULL 304 tools/ipmiservicelogd.c sl_event.time_last_update = time (NULL); NULL 320 tools/ipmiservicelogd.c sl_event.callouts = NULL; NULL 322 tools/ipmiservicelogd.c sl_event.raw_data = NULL; NULL 479 tools/ipmiservicelogd.c sensor_threshold_event_handler, NULL); NULL 482 tools/ipmiservicelogd.c sensor_discrete_event_handler, NULL); NULL 547 tools/ipmiservicelogd.c for (char **arg = &argv[1]; *arg != NULL; ++arg) { NULL 572 tools/ipmiservicelogd.c rv = ipmi_args_setup_con(args, os_hnd, NULL, &con); NULL 587 tools/ipmiservicelogd.c rv = ipmi_smi_setup_con(0, os_hnd, NULL, &con); NULL 595 tools/ipmiservicelogd.c rv = ipmi_open_domain("", &con, 1, setup_done, NULL, NULL, NULL, NULL, 0, NULL); NULL 21 tools/iso8601.c "help", no_argument, NULL, '?', NULL 25 tools/iso8601.c "version", no_argument, NULL, '$', NULL 29 tools/iso8601.c "verbose", no_argument, NULL, 'V', NULL 33 tools/iso8601.c "-spacer-", no_argument, NULL, '-', NULL 37 tools/iso8601.c "now", no_argument, NULL, 'n', NULL 41 tools/iso8601.c "date", required_argument, NULL, 'd', NULL 47 tools/iso8601.c "period", required_argument, NULL, 'p', NULL 53 tools/iso8601.c "duration", required_argument, NULL, 'D', NULL 57 tools/iso8601.c "expected", required_argument, NULL, 'E', NULL 63 tools/iso8601.c "-spacer-", no_argument, NULL, '-', NULL 67 tools/iso8601.c "seconds", no_argument, NULL, 's', NULL 72 tools/iso8601.c "epoch", no_argument, NULL, 'S', NULL 77 tools/iso8601.c "local", no_argument, NULL, 'L', NULL 81 tools/iso8601.c "ordinal", no_argument, NULL, 'O', NULL 85 tools/iso8601.c "week", no_argument, NULL, 'W', NULL 89 tools/iso8601.c "-spacer-", no_argument, NULL, '-', NULL 103 tools/iso8601.c CRM_ASSERT(start != NULL && end != NULL); NULL 117 tools/iso8601.c crm_time_t *duration = NULL; NULL 118 tools/iso8601.c crm_time_t *date_time = NULL; NULL 120 tools/iso8601.c const char *period_s = NULL; NULL 121 tools/iso8601.c const char *duration_s = NULL; NULL 122 tools/iso8601.c const char *date_time_s = NULL; NULL 123 tools/iso8601.c const char *expected_s = NULL; NULL 126 tools/iso8601.c pcmk__set_cli_options(NULL, "<command> [options] ", long_options, NULL 134 tools/iso8601.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); NULL 181 tools/iso8601.c date_time = crm_time_new(NULL); NULL 183 tools/iso8601.c if (date_time == NULL) { NULL 195 tools/iso8601.c if (date_time == NULL) { NULL 208 tools/iso8601.c if (duration == NULL) { NULL 220 tools/iso8601.c if (period == NULL) { NULL 234 tools/iso8601.c if (later == NULL) { NULL 75 tools/notifyServicelogEvent.c "help", no_argument, NULL, '?', NULL 79 tools/notifyServicelogEvent.c "version", no_argument, NULL, '$', NULL 83 tools/notifyServicelogEvent.c "-spacer-", no_argument, NULL, '-', NULL 87 tools/notifyServicelogEvent.c "-spacer-", no_argument, NULL, '-', NULL 102 tools/notifyServicelogEvent.c servicelog *slog = NULL; NULL 103 tools/notifyServicelogEvent.c struct sl_event *event = NULL; NULL 107 tools/notifyServicelogEvent.c pcmk__set_cli_options(NULL, "<event_id>", long_options, NULL 115 tools/notifyServicelogEvent.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); NULL 170 tools/notifyServicelogEvent.c const char *health_status = NULL; NULL 183 tools/notifyServicelogEvent.c attrd_rc = pcmk__node_attr_request(NULL, 'v', NULL, NULL 185 tools/notifyServicelogEvent.c NULL, NULL, NULL, NULL, NULL 104 tools/stonith_admin.c { NULL } NULL 114 tools/stonith_admin.c NULL }, NULL 117 tools/stonith_admin.c NULL }, NULL 125 tools/stonith_admin.c NULL }, NULL 144 tools/stonith_admin.c NULL }, NULL 146 tools/stonith_admin.c { NULL } NULL 163 tools/stonith_admin.c { NULL } NULL 169 tools/stonith_admin.c NULL }, NULL 172 tools/stonith_admin.c NULL }, NULL 219 tools/stonith_admin.c NULL }, NULL 226 tools/stonith_admin.c { NULL } NULL 235 tools/stonith_admin.c { NULL, NULL, NULL } NULL 240 tools/stonith_admin.c static char *name = NULL; NULL 248 tools/stonith_admin.c if (env == NULL) { NULL 262 tools/stonith_admin.c options.devices = stonith_key_value_add(options.devices, NULL, optarg); NULL 274 tools/stonith_admin.c char *name = NULL; NULL 275 tools/stonith_admin.c char *value = NULL; NULL 306 tools/stonith_admin.c GOptionContext *context = NULL; NULL 311 tools/stonith_admin.c NULL }, NULL 313 tools/stonith_admin.c { NULL } NULL 316 tools/stonith_admin.c context = pcmk__build_arg_context(args, "text (default), html, xml", group, NULL); NULL 342 tools/stonith_admin.c char *target = NULL; NULL 343 tools/stonith_admin.c const char *device = NULL; NULL 344 tools/stonith_admin.c stonith_t *st = NULL; NULL 346 tools/stonith_admin.c GError *error = NULL; NULL 348 tools/stonith_admin.c pcmk__output_t *out = NULL; NULL 350 tools/stonith_admin.c GOptionGroup *output_group = NULL; NULL 395 tools/stonith_admin.c if (options.register_dev != NULL) { NULL 401 tools/stonith_admin.c if (options.query != NULL) { NULL 406 tools/stonith_admin.c if (options.unregister_dev != NULL) { NULL 411 tools/stonith_admin.c if (options.targets != NULL) { NULL 416 tools/stonith_admin.c if (options.terminate != NULL) { NULL 427 tools/stonith_admin.c if (options.reboot_host != NULL) { NULL 434 tools/stonith_admin.c if (options.fence_host != NULL) { NULL 441 tools/stonith_admin.c if (options.unfence_host != NULL) { NULL 448 tools/stonith_admin.c if (options.confirm_host != NULL) { NULL 454 tools/stonith_admin.c if (options.last_fenced != NULL) { NULL 459 tools/stonith_admin.c if (options.history != NULL) { NULL 464 tools/stonith_admin.c if (options.register_level != NULL) { NULL 469 tools/stonith_admin.c if (options.unregister_level != NULL) { NULL 475 tools/stonith_admin.c char *help = g_option_context_get_help(context, TRUE, NULL); NULL 483 tools/stonith_admin.c if (required_agent && options.agent == NULL) { NULL 484 tools/stonith_admin.c char *help = g_option_context_get_help(context, TRUE, NULL); NULL 496 tools/stonith_admin.c if (st == NULL) { NULL 499 tools/stonith_admin.c rc = st->cmds->connect(st, name, NULL); NULL 527 tools/stonith_admin.c rc = st->cmds->list(st, st_opts, device, NULL, options.timeout); NULL 541 tools/stonith_admin.c rc = st->cmds->register_device(st, st_opts, device, NULL, options.agent, NULL 597 tools/stonith_admin.c device = options.devices ? options.devices->key : NULL; NULL 612 tools/stonith_admin.c if (out != NULL) { NULL 613 tools/stonith_admin.c out->finish(out, exit_code, true, NULL); NULL 619 tools/stonith_admin.c if (st != NULL) {