NULL 22 attrd/attrd_common.c cib_t *the_cib = NULL; NULL 25 attrd/attrd_common.c static GMainLoop *mloop = NULL; NULL 51 attrd/attrd_common.c if ((mloop != NULL) && g_main_is_running(mloop)) { NULL 87 attrd/attrd_common.c return (mloop != NULL) && g_main_is_running(mloop); NULL 120 attrd/attrd_common.c if (crm_client_new(c, uid, gid) == NULL) { NULL 151 attrd/attrd_common.c if (client == NULL) { NULL 190 attrd/attrd_common.c .msg_process = NULL, NULL 205 attrd/attrd_common.c the_cib = NULL; NULL 274 attrd/attrd_common.c char *pattern = NULL; NULL 279 attrd/attrd_common.c if (rsc == NULL) { NULL 281 attrd/attrd_common.c } else if (op == NULL) { NULL 29 attrd/attrd_common_alerts.c static GListPtr attrd_alert_list = NULL; NULL 34 attrd/attrd_common_alerts.c CRM_CHECK(op != NULL, return); NULL 48 attrd/attrd_common_alerts.c if (the_lrmd == NULL) { NULL 58 attrd/attrd_common_alerts.c ret = the_lrmd->cmds->connect(the_lrmd, T_ATTRD, NULL); NULL 84 attrd/attrd_common_alerts.c the_lrmd = NULL; /* in case we're called recursively */ NULL 92 attrd/attrd_common_alerts.c xmlNode *crmalerts = NULL; NULL 125 attrd/attrd_common_alerts.c call_id = the_cib->cmds->query(the_cib, XPATH_ALERTS, NULL, NULL 129 attrd/attrd_common_alerts.c NULL, NULL 152 attrd/attrd_common_alerts.c if (attrd_alert_list == NULL) { NULL 53 attrd/commands.c char *peer_writer = NULL; NULL 54 attrd/commands.c GHashTable *attributes = NULL; NULL 140 attrd/commands.c a->values = g_hash_table_new_full(crm_strcase_hash, crm_strcase_equal, NULL, free_attribute_value); NULL 184 attrd/commands.c send_attrd_message(NULL, xml); /* ends up at attrd_peer_message() */ NULL 202 attrd/commands.c attribute_t *a = NULL; NULL 209 attrd/commands.c if ((attr == NULL) && regex) { NULL 219 attrd/commands.c while (g_hash_table_iter_next(&aIter, (gpointer *) & attr, NULL)) { NULL 220 attrd/commands.c int status = regexec(r_patt, attr, 0, NULL, 0); NULL 225 attrd/commands.c send_attrd_message(NULL, xml); NULL 235 attrd/commands.c } else if (attr == NULL) { NULL 241 attrd/commands.c if (host == NULL) { NULL 254 attrd/commands.c attribute_value_t *v = NULL; NULL 259 attrd/commands.c int_value = attrd_expand_value(value, (v? v->current : NULL)); NULL 269 attrd/commands.c if ((peer_writer == NULL) && (election_state(writer) != election_in_progress)) { NULL 279 attrd/commands.c send_attrd_message(NULL, xml); /* ends up at attrd_peer_message() */ NULL 300 attrd/commands.c send_attrd_message(NULL, xml); NULL 317 attrd/commands.c if (op == NULL) { NULL 336 attrd/commands.c crm_xml_replace(xml, F_ATTRD_ATTRIBUTE, NULL); NULL 339 attrd/commands.c crm_xml_replace(xml, F_ATTRD_VALUE, NULL); NULL 355 attrd/commands.c attribute_t *a = NULL; NULL 361 attrd/commands.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & a)) { NULL 381 attrd/commands.c xmlNode *reply = create_xml_node(NULL, __FUNCTION__); NULL 384 attrd/commands.c if (reply == NULL) { NULL 385 attrd/commands.c return NULL; NULL 408 attrd/commands.c if (host_value == NULL) { NULL 410 attrd/commands.c return NULL; NULL 413 attrd/commands.c crm_xml_add(host_value, F_ATTRD_VALUE, (v? v->current : NULL)); NULL 420 attrd/commands.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &v)) { NULL 422 attrd/commands.c if (host_value == NULL) { NULL 424 attrd/commands.c return NULL; NULL 451 attrd/commands.c if (origin == NULL) { NULL 458 attrd/commands.c if (attr == NULL) { NULL 466 attrd/commands.c if (reply == NULL) { NULL 497 attrd/commands.c char *attr = NULL; NULL 511 attrd/commands.c crm_xml_replace(xml, F_ATTRD_VALUE, NULL); NULL 515 attrd/commands.c while (g_hash_table_iter_next(&iter, (gpointer *) &attr, NULL)) { NULL 516 attrd/commands.c if (regexec(®ex, attr, 0, NULL, 0) == 0) { NULL 543 attrd/commands.c peer_writer = NULL; NULL 556 attrd/commands.c } else if(v == NULL) { NULL 575 attrd/commands.c attribute_t *a = NULL; NULL 578 attrd/commands.c while (g_hash_table_iter_next(&aIter, NULL, (gpointer *) & a)) { NULL 593 attrd/commands.c if(peer_writer == NULL) { NULL 621 attrd/commands.c xmlNode *child = NULL; NULL 624 attrd/commands.c for (child = __xml_first_child(xml); child != NULL; child = __xml_next(child)) { NULL 637 attrd/commands.c attribute_t *a = NULL; NULL 638 attrd/commands.c attribute_value_t *v = NULL; NULL 639 attrd/commands.c xmlNode *sync = create_xml_node(NULL, __FUNCTION__); NULL 644 attrd/commands.c while (g_hash_table_iter_next(&aIter, NULL, (gpointer *) & a)) { NULL 646 attrd/commands.c while (g_hash_table_iter_next(&vIter, NULL, (gpointer *) & v)) { NULL 669 attrd/commands.c attribute_t *a = NULL; NULL 672 attrd/commands.c CRM_CHECK(host != NULL, return); NULL 676 attrd/commands.c while (g_hash_table_iter_next(&aIter, NULL, (gpointer *) & a)) { NULL 711 attrd/commands.c if (dup && (dup->uuid == NULL)) { NULL 719 attrd/commands.c if (v == NULL) { NULL 721 attrd/commands.c CRM_ASSERT(v != NULL); NULL 724 attrd/commands.c CRM_ASSERT(v->nodename != NULL); NULL 737 attrd/commands.c attribute_value_t *v = NULL; NULL 743 attrd/commands.c if (attr == NULL) { NULL 748 attrd/commands.c update_both = ((op == NULL) // ATTRD_OP_SYNC_RESPONSE has no F_ATTRD_TASK NULL 753 attrd/commands.c if (a == NULL) { NULL 767 attrd/commands.c if (dvalue == NULL) { NULL 790 attrd/commands.c a->timer = NULL; NULL 806 attrd/commands.c if (host == NULL) { NULL 812 attrd/commands.c while (g_hash_table_iter_next(&vIter, (gpointer *) & host, NULL)) { NULL 825 attrd/commands.c xmlNode *sync = create_xml_node(NULL, __FUNCTION__); NULL 838 attrd/commands.c send_attrd_message(NULL, sync); NULL 845 attrd/commands.c v->current = (value? strdup(value) : NULL); NULL 884 attrd/commands.c } else if(peer_writer == NULL) { NULL 900 attrd/commands.c attrd_peer_sync(NULL, NULL); NULL 918 attrd/commands.c attrd_peer_sync(peer, NULL); NULL 925 attrd/commands.c peer_writer = NULL; NULL 937 attrd/commands.c const char *peer = NULL; NULL 938 attrd/commands.c attribute_value_t *v = NULL; NULL 943 attrd/commands.c if(a == NULL) { NULL 973 attrd/commands.c v->requested = NULL; NULL 988 attrd/commands.c attribute_t *a = NULL; NULL 992 attrd/commands.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & a)) { NULL 1009 attrd/commands.c const char *set = NULL; NULL 1010 attrd/commands.c xmlNode *xml_obj = NULL; NULL 1046 attrd/commands.c attribute_value_t *a_v = NULL; NULL 1048 attrd/commands.c CRM_ASSERT(a_v != NULL); NULL 1053 attrd/commands.c if (v->current != NULL) { NULL 1064 attrd/commands.c attribute_value_t *at = NULL; NULL 1069 attrd/commands.c while (g_hash_table_iter_next(&vIter, NULL, (gpointer *) & at)) { NULL 1081 attrd/commands.c xmlNode *xml_top = NULL; NULL 1082 attrd/commands.c attribute_value_t *v = NULL; NULL 1085 attrd/commands.c GHashTable *alert_attribute_value = NULL; NULL 1087 attrd/commands.c if (a == NULL) { NULL 1095 attrd/commands.c if (the_cib == NULL) { NULL 1112 attrd/commands.c xml_top = create_xml_node(NULL, XML_CIB_TAG_STATUS); NULL 1123 attrd/commands.c crm_strcase_equal, NULL, NULL 1128 attrd/commands.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & v)) { NULL 1132 attrd/commands.c if (peer == NULL) { NULL 1151 attrd/commands.c if (peer->uuid == NULL) { NULL 1168 attrd/commands.c v->requested = NULL; NULL 1187 attrd/commands.c a->update = cib_internal_op(the_cib, CIB_OP_MODIFY, NULL, XML_CIB_TAG_STATUS, xml_top, NULL, NULL 49 attrd/legacy.c char *attrd_uname = NULL; NULL 50 attrd/legacy.c char *attrd_uuid = NULL; NULL 53 attrd/legacy.c GHashTable *attr_hash = NULL; NULL 54 attrd/legacy.c lrmd_t *the_lrmd = NULL; NULL 55 attrd/legacy.c crm_trigger_t *attrd_config_read = NULL; NULL 92 attrd/legacy.c if (entry == NULL) { NULL 116 attrd/legacy.c if (msg == NULL) { NULL 121 attrd/legacy.c CRM_ASSERT(client->user != NULL); NULL 155 attrd/legacy.c if (hash_entry != NULL && hash_entry->timer_id != 0) { NULL 172 attrd/legacy.c const char *value = NULL; NULL 174 attrd/legacy.c attr_hash_entry_t *hash_entry = NULL; NULL 176 attrd/legacy.c if (attr == NULL) { NULL 178 attrd/legacy.c return NULL; NULL 183 attrd/legacy.c if (hash_entry == NULL) { NULL 191 attrd/legacy.c CRM_CHECK(hash_entry != NULL, return NULL); NULL 195 attrd/legacy.c if (value != NULL) { NULL 202 attrd/legacy.c if (value == NULL) { NULL 210 attrd/legacy.c if (value != NULL) { NULL 219 attrd/legacy.c hash_entry->user = NULL; NULL 222 attrd/legacy.c if (value != NULL) { NULL 248 attrd/legacy.c attr_hash_entry_t *hash_entry = NULL; NULL 259 attrd/legacy.c crm_xml_replace(xml, F_ATTRD_VALUE, NULL); NULL 263 attrd/legacy.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &hash_entry)) { NULL 264 attrd/legacy.c if (regexec(®ex, hash_entry->id, 0, NULL, 0) == 0) { NULL 345 attrd/legacy.c if (the_cib == NULL) { NULL 354 attrd/legacy.c if (rsc == NULL) { NULL 357 attrd/legacy.c if (host == NULL) { NULL 364 attrd/legacy.c } else if (op == NULL) { NULL 367 attrd/legacy.c if (host == NULL) { NULL 381 attrd/legacy.c if (host == NULL) { NULL 393 attrd/legacy.c rc = the_cib->cmds->delete(the_cib, xpath, NULL, cib_xpath|cib_multiple); NULL 400 attrd/legacy.c attr_hash_entry_t *hash_entry = NULL; NULL 411 attrd/legacy.c CRM_CHECK(host != NULL, return); NULL 419 attrd/legacy.c } else if ((ignore == NULL) || safe_str_neq(from, attrd_uname)) { NULL 449 attrd/legacy.c xmlNode *xml = convert_ha_message(NULL, msg, __FUNCTION__); NULL 464 attrd/legacy.c xmlNode *xml = NULL; NULL 465 attrd/legacy.c const char *from = NULL; NULL 468 attrd/legacy.c if(data == NULL) { NULL 473 attrd/legacy.c if (xml == NULL) { NULL 478 attrd/legacy.c if (xml != NULL) { NULL 530 attrd/legacy.c if (entry->value != NULL || entry->stored_value != NULL) { NULL 553 attrd/legacy.c g_hash_table_foreach(attr_hash, local_update_for_hash_entry, NULL); NULL 562 attrd/legacy.c static cib_t *local_conn = NULL; NULL 564 attrd/legacy.c if (local_conn == NULL) { NULL 611 attrd/legacy.c attrd_config_read = mainloop_add_trigger(G_PRIORITY_HIGH, attrd_read_options, NULL); NULL 625 attrd/legacy.c g_hash_table_foreach(attr_hash, local_update_for_hash_entry, NULL); NULL 637 attrd/legacy.c qb_ipcs_connection_t *c = NULL; NULL 638 attrd/legacy.c qb_ipcs_service_t *ipcs = NULL; NULL 665 attrd/legacy.c attr_hash = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, free_hash_entry); NULL 681 attrd/legacy.c cluster.hb_conn = NULL; NULL 710 attrd/legacy.c if (0 == g_timeout_add_full(G_PRIORITY_LOW + 1, 5000, cib_connect, NULL, NULL)) { NULL 732 attrd/legacy.c while (c != NULL) { NULL 776 attrd/legacy.c attr_hash_entry_t *hash_entry = NULL; NULL 779 attrd/legacy.c if (data->value == NULL && rc == -ENXIO) { NULL 794 attrd/legacy.c hash_entry->stored_value = NULL; NULL 795 attrd/legacy.c if (data->value != NULL) { NULL 818 attrd/legacy.c struct attrd_callback_s *data = NULL; NULL 819 attrd/legacy.c const char *user_name = NULL; NULL 821 attrd/legacy.c if (hash_entry == NULL) { NULL 824 attrd/legacy.c } else if (the_cib == NULL) { NULL 837 attrd/legacy.c if (hash_entry->value == NULL) { NULL 839 attrd/legacy.c rc = delete_attr_delegate(the_cib, cib_none, hash_entry->section, attrd_uuid, NULL, NULL 840 attrd/legacy.c hash_entry->set, hash_entry->uuid, hash_entry->id, NULL, FALSE, NULL 864 attrd/legacy.c attrd_uuid, NULL, hash_entry->set, hash_entry->uuid, NULL 865 attrd/legacy.c hash_entry->id, hash_entry->value, FALSE, user_name, NULL); NULL 880 attrd/legacy.c if (hash_entry->value != NULL) { NULL 899 attrd/legacy.c char *expanded = NULL; NULL 918 attrd/legacy.c char *expanded = NULL; NULL 920 attrd/legacy.c if (hash_entry->uuid == NULL) { NULL 952 attrd/legacy.c hash_entry->value = NULL; NULL 953 attrd/legacy.c if (value != NULL) { NULL 1011 attrd/legacy.c if (value == NULL) { NULL 1019 attrd/legacy.c if (name == NULL) { NULL 1021 attrd/legacy.c } else if (the_cib == NULL) { NULL 1025 attrd/legacy.c remote_attr_callback(NULL, rc, rc, NULL, desc); NULL 1030 attrd/legacy.c if (value == NULL) { NULL 1032 attrd/legacy.c host, NULL, NULL, NULL, name, NULL, NULL 1036 attrd/legacy.c host, NULL, NULL, NULL, name, value, NULL 1065 attrd/legacy.c if (host == NULL) { NULL 1068 attrd/legacy.c send_cluster_message(NULL, crm_msg_attrd, msg, FALSE); NULL 1082 attrd/legacy.c if (is_remote || (peer == NULL)) { NULL 1096 attrd/legacy.c attr_hash_entry_t *hash_entry = NULL; NULL 1109 attrd/legacy.c g_hash_table_foreach(attr_hash, update_for_hash_entry, NULL); NULL 1115 attrd/legacy.c send_cluster_message(NULL, crm_msg_attrd, msg, FALSE); NULL 1133 attrd/legacy.c if (section == NULL) { NULL 1136 attrd/legacy.c if ((attr == NULL) && (pattern != NULL)) { NULL 1150 attrd/legacy.c if (host != NULL && safe_str_neq(host, attrd_uname)) { NULL 1155 attrd/legacy.c if (attr != NULL) { NULL 1159 attrd/legacy.c if (hash_entry != NULL) { NULL 1163 attrd/legacy.c } else if (pattern != NULL) { NULL 1177 attrd/legacy.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &hash_entry)) { NULL 1178 attrd/legacy.c int rc = regexec(®ex, hash_entry->id, 0, NULL, 0); NULL 1203 attrd/legacy.c xmlNode *msg = NULL; NULL 1210 attrd/legacy.c msg = create_xml_node(NULL, __FUNCTION__); NULL 1230 attrd/legacy.c send_cluster_message(NULL, crm_msg_attrd, msg, FALSE); NULL 46 attrd/main.c lrmd_t *the_lrmd = NULL; NULL 47 attrd/main.c crm_cluster_t *attrd_cluster = NULL; NULL 48 attrd/main.c election_t *writer = NULL; NULL 49 attrd/main.c crm_trigger_t *attrd_config_read = NULL; NULL 58 attrd/main.c xmlNode *xml = NULL; NULL 59 attrd/main.c const char *from = NULL; NULL 62 attrd/main.c if(data == NULL) { NULL 70 attrd/main.c if (xml == NULL) { NULL 159 attrd/main.c call_id = the_cib->cmds->delete(the_cib, xpath, NULL, NULL 174 attrd/main.c if (the_cib == NULL) { NULL 218 attrd/main.c attrd_config_read = mainloop_add_trigger(G_PRIORITY_HIGH, attrd_read_options, NULL); NULL 228 attrd/main.c the_cib = NULL; NULL 241 attrd/main.c if (xml == NULL) { NULL 246 attrd/main.c CRM_ASSERT(client->user != NULL); NULL 255 attrd/main.c if (client->name == NULL) { NULL 331 attrd/main.c qb_ipcs_service_t *ipcs = NULL; NULL 334 attrd/main.c crm_log_preinit(NULL, argc, argv); NULL 335 attrd/main.c crm_set_options(NULL, "[options]", long_options, NULL 368 attrd/main.c attributes = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, free_attribute); NULL 60 cib/callbacks.c qb_ipcs_service_t *ipcs_ro = NULL; NULL 61 cib/callbacks.c qb_ipcs_service_t *ipcs_rw = NULL; NULL 62 cib/callbacks.c qb_ipcs_service_t *ipcs_shm = NULL; NULL 117 cib/callbacks.c if (crm_client_new(c, uid, gid) == NULL) { NULL 153 cib/callbacks.c if (client == NULL) { NULL 195 cib/callbacks.c xmlNode *ack = create_xml_node(NULL, __FUNCTION__); NULL 261 cib/callbacks.c if (op_request == NULL) { NULL 266 cib/callbacks.c } else if(cib_client == NULL) { NULL 277 cib/callbacks.c if (cib_client->name == NULL) { NULL 280 cib/callbacks.c if (value == NULL) { NULL 304 cib/callbacks.c CRM_LOG_ASSERT(cib_client->user != NULL); NULL 317 cib/callbacks.c static char *ping_digest = NULL; NULL 326 cib/callbacks.c xmlNode *ping = create_xml_node(NULL, "ping"); NULL 330 cib/callbacks.c ping_digest = NULL; NULL 340 cib/callbacks.c send_cluster_message(NULL, crm_msg_cib, ping, TRUE); NULL 358 cib/callbacks.c seq = crm_int_helper(seq_s, NULL); NULL 361 cib/callbacks.c if(digest == NULL) { NULL 373 cib/callbacks.c if(ping_digest == NULL) { NULL 410 cib/callbacks.c crm_client_t *client_obj = NULL; NULL 416 cib/callbacks.c if (client_id != NULL) { NULL 420 cib/callbacks.c if (client_obj == NULL) { NULL 464 cib/callbacks.c if (local_rc != pcmk_ok && client_obj != NULL) { NULL 484 cib/callbacks.c cib_local_notify_t *notify = NULL; NULL 512 cib/callbacks.c g_direct_equal, NULL, NULL 532 cib/callbacks.c if (host == NULL && (call_options & cib_scope_local)) { NULL 536 cib/callbacks.c } else if (host == NULL && cib_is_master) { NULL 591 cib/callbacks.c } else if (host == NULL) { NULL 623 cib/callbacks.c const char *op = NULL; NULL 624 cib/callbacks.c const char *host = NULL; NULL 625 cib/callbacks.c const char *delegated = NULL; NULL 649 cib/callbacks.c if (reply_to == NULL || is_reply) { NULL 672 cib/callbacks.c if (host != NULL && safe_str_eq(host, cib_our_uname)) { NULL 681 cib/callbacks.c } else if (host == NULL && cib_is_master == TRUE) { NULL 687 cib/callbacks.c if (delegated != NULL) { NULL 690 cib/callbacks.c } else if (host != NULL) { NULL 694 cib/callbacks.c } else if (reply_to == NULL && cib_is_master == FALSE) { NULL 699 cib/callbacks.c if (reply_to != NULL) { NULL 721 cib/callbacks.c const char *host = NULL; NULL 758 cib/callbacks.c if(max == NULL && cib_is_master) { NULL 772 cib/callbacks.c send_sync_request(NULL); NULL 784 cib/callbacks.c if (reply_to == NULL) { NULL 809 cib/callbacks.c if (host != NULL && safe_str_eq(host, cib_our_uname)) { NULL 814 cib/callbacks.c } else if (host != NULL) { NULL 856 cib/callbacks.c if (host != NULL) { NULL 862 cib/callbacks.c send_cluster_message(NULL, crm_msg_cib, request, FALSE); NULL 876 cib/callbacks.c CRM_ASSERT(msg != NULL); NULL 891 cib/callbacks.c const char *digest = NULL; NULL 894 cib/callbacks.c CRM_LOG_ASSERT(result_diff != NULL); NULL 912 cib/callbacks.c CRM_ASSERT(digest != NULL); NULL 917 cib/callbacks.c return send_cluster_message(NULL, crm_msg_cib, msg, TRUE); NULL 919 cib/callbacks.c } else if (originator != NULL) { NULL 944 cib/callbacks.c xmlNode *op_reply = NULL; NULL 945 cib/callbacks.c xmlNode *result_diff = NULL; NULL 951 cib/callbacks.c const char *target = NULL; NULL 974 cib/callbacks.c if (host != NULL && strlen(host) == 0) { NULL 975 cib/callbacks.c host = NULL; NULL 1050 cib/callbacks.c op_reply = create_xml_node(NULL, "cib-reply"); NULL 1066 cib/callbacks.c int now = time(NULL); NULL 1103 cib/callbacks.c finished = time(NULL); NULL 1106 cib/callbacks.c crm_write_blackbox(0, NULL); NULL 1109 cib/callbacks.c if (op_reply == NULL && (needs_reply || local_notify)) { NULL 1130 cib/callbacks.c rc == pcmk_ok && result_diff != NULL && !(call_options & cib_inhibit_bcast)) { NULL 1147 cib/callbacks.c op_reply = NULL; /* the reply is queued, so don't free here */ NULL 1154 cib/callbacks.c if (is_update == FALSE || result_diff == NULL) { NULL 1189 cib/callbacks.c xmlNode *input = NULL; NULL 1190 cib/callbacks.c xmlNode *output = NULL; NULL 1191 cib/callbacks.c xmlNode *result_cib = NULL; NULL 1192 cib/callbacks.c xmlNode *current_cib = NULL; NULL 1197 cib/callbacks.c const char *op = NULL; NULL 1198 cib/callbacks.c const char *section = NULL; NULL 1209 cib/callbacks.c static mainloop_timer_t *digest_timer = NULL; NULL 1213 cib/callbacks.c if(digest_timer == NULL) { NULL 1214 cib/callbacks.c digest_timer = mainloop_timer_add("digester", 5000, FALSE, cib_digester_cb, NULL); NULL 1217 cib/callbacks.c *reply = NULL; NULL 1218 cib/callbacks.c *cib_diff = NULL; NULL 1242 cib/callbacks.c current_cib, &result_cib, NULL, &output); NULL 1244 cib/callbacks.c CRM_CHECK(result_cib == NULL, free_xml(result_cib)); NULL 1290 cib/callbacks.c config_changed = cib_config_changed(NULL, NULL, cib_diff); NULL 1319 cib/callbacks.c if (section == NULL) { NULL 1342 cib/callbacks.c if (output != NULL) { NULL 1374 cib/callbacks.c *reply = create_xml_node(NULL, "cib-reply"); NULL 1382 cib/callbacks.c if (output != NULL) { NULL 1394 cib/callbacks.c output = NULL; NULL 1413 cib/callbacks.c const char *value = NULL; NULL 1416 cib/callbacks.c msg_a_id = crm_parse_int(value, NULL); NULL 1419 cib/callbacks.c msg_b_id = crm_parse_int(value, NULL); NULL 1433 cib/callbacks.c xmlNode *xml = convert_ha_message(NULL, msg, __FUNCTION__); NULL 1443 cib/callbacks.c const char *reason = NULL; NULL 1446 cib/callbacks.c if (cib_legacy_mode() && (originator == NULL || crm_str_eq(originator, cib_our_uname, TRUE))) { NULL 1455 cib/callbacks.c } else if (crm_peer_cache == NULL) { NULL 1460 cib/callbacks.c if (crm_element_value(msg, F_CIB_CLIENTNAME) == NULL) { NULL 1465 cib/callbacks.c cib_process_request(msg, FALSE, TRUE, TRUE, NULL); NULL 1479 cib/callbacks.c static void *ccm_library = NULL; NULL 1480 cib/callbacks.c int (*ccm_api_callback_done) (void *cookie) = NULL; NULL 1481 cib/callbacks.c int (*ccm_api_handle_event) (const oc_ev_t * token) = NULL; NULL 1487 cib/callbacks.c crm_node_t *peer = NULL; NULL 1520 cib/callbacks.c if (ccm_api_handle_event == NULL) { NULL 1544 cib/callbacks.c CRM_ASSERT(membership != NULL); NULL 1575 cib/callbacks.c CRM_CHECK(membership != NULL, return); NULL 1588 cib/callbacks.c heartbeat_cluster->llc_ops->client_status(heartbeat_cluster, NULL, crm_system_name, 0); NULL 1591 cib/callbacks.c if (ccm_api_callback_done == NULL) { NULL 1629 cib/callbacks.c qb_ipcs_connection_t *c = NULL; NULL 1634 cib/callbacks.c while (c != NULL) { NULL 1646 cib/callbacks.c while (c != NULL) { NULL 1658 cib/callbacks.c while (c != NULL) { NULL 1672 cib/callbacks.c g_hash_table_foreach(client_connections, disconnect_remote_client, NULL); NULL 1692 cib/callbacks.c xmlNode *leaving = NULL; NULL 1702 cib/callbacks.c leaving = create_xml_node(NULL, "exit-notification"); NULL 1706 cib/callbacks.c send_cluster_message(NULL, crm_msg_cib, leaving, TRUE); NULL 1709 cib/callbacks.c g_timeout_add(crm_get_msec("5s"), cib_force_exit, NULL); NULL 1744 cib/callbacks.c } else if ((mainloop != NULL) && g_main_is_running(mainloop)) { NULL 55 cib/cibmon.c GMainLoop *mainloop = NULL; NULL 62 cib/cibmon.c cib_t *cib = NULL; NULL 63 cib/cibmon.c xmlNode *cib_copy = NULL; NULL 202 cib/cibmon.c const char *op = NULL; NULL 205 cib/cibmon.c xmlNode *diff = NULL; NULL 206 cib/cibmon.c xmlNode *cib_last = NULL; NULL 209 cib/cibmon.c if (msg == NULL) { NULL 228 cib/cibmon.c if (log_updates && update != NULL) { NULL 232 cib/cibmon.c if (cib_copy != NULL) { NULL 234 cib/cibmon.c cib_copy = NULL; NULL 235 cib/cibmon.c rc = cib_process_diff(op, cib_force_diff, NULL, NULL, diff, cib_last, &cib_copy, NULL); NULL 240 cib/cibmon.c cib_copy = NULL; NULL 244 cib/cibmon.c if (cib_copy == NULL) { NULL 245 cib/cibmon.c rc = cib->cmds->query(cib, NULL, &cib_copy, cib_scope_local | cib_sync_call); NULL 54 cib/common.c xmlNode *data = NULL; NULL 57 cib/common.c if (root == NULL) { NULL 58 cib/common.c return NULL; NULL 70 cib/common.c if (section != NULL && data != NULL && crm_str_eq(crm_element_name(data), XML_TAG_CIB, TRUE)) { NULL 81 cib/common.c *data = NULL; NULL 100 cib/common.c *data = NULL; NULL 108 cib/common.c xmlNode *input_fragment = NULL; NULL 111 cib/common.c *data = NULL; NULL 112 cib/common.c *section = NULL; NULL 121 cib/common.c CRM_CHECK(input_fragment != NULL, crm_log_xml_warn(request, "no input")); NULL 122 cib/common.c *data = cib_prepare_common(input_fragment, NULL); NULL 129 cib/common.c CRM_LOG_ASSERT(*data == NULL); NULL 141 cib/common.c *data = NULL; NULL 155 cib/common.c CRM_LOG_ASSERT(*data == NULL); NULL 156 cib/common.c CRM_LOG_ASSERT(*output == NULL); NULL 164 cib/common.c CRM_LOG_ASSERT(*data == NULL); NULL 165 cib/common.c CRM_LOG_ASSERT(*output == NULL); NULL 188 cib/common.c {NULL, FALSE, FALSE, FALSE, cib_prepare_none, cib_cleanup_none, cib_process_default}, NULL 214 cib/common.c static GHashTable *operation_hash = NULL; NULL 216 cib/common.c if (operation_hash == NULL) { NULL 220 cib/common.c operation_hash = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, g_hash_destroy_str); NULL 231 cib/common.c if (op != NULL) { NULL 248 cib/common.c const char *field = NULL; NULL 249 cib/common.c const char *value = NULL; NULL 250 cib/common.c xmlNode *value_struct = NULL; NULL 285 cib/common.c xmlNode *copy = create_xml_node(NULL, "copy"); NULL 287 cib/common.c CRM_ASSERT(copy != NULL); NULL 292 cib/common.c if (value != NULL) { NULL 299 cib/common.c if (value_struct != NULL) { NULL 46 cib/io.c crm_trigger_t *cib_writer = NULL; NULL 79 cib/io.c xmlNode *root = NULL; NULL 195 cib/io.c struct dirent **namelist = NULL; NULL 198 cib/io.c char *sigfile = NULL; NULL 199 cib/io.c char *filename = NULL; NULL 200 cib/io.c const char *name = NULL; NULL 201 cib/io.c const char *value = NULL; NULL 202 cib/io.c const char *validation = NULL; NULL 205 cib/io.c xmlNode *root = NULL; NULL 206 cib/io.c xmlNode *status = NULL; NULL 208 cib/io.c if (!crm_is_writable(dir, file, CRM_DAEMON_USER, NULL, FALSE)) { NULL 210 cib/io.c return NULL; NULL 221 cib/io.c if (root == NULL) { NULL 229 cib/io.c while (root == NULL && lpc > 1) { NULL 251 cib/io.c if (root == NULL) { NULL 264 cib/io.c if (discard_status && status != NULL) { NULL 267 cib/io.c status = NULL; NULL 269 cib/io.c if (status == NULL) { NULL 278 cib/io.c if (value == NULL) { NULL 290 cib/io.c if (value == NULL) { NULL 296 cib/io.c if (value == NULL) { NULL 308 cib/io.c if (validate_xml(root, NULL, TRUE) == FALSE) { NULL 312 cib/io.c } else if (validation == NULL) { NULL 342 cib/io.c if (tmp_cib == NULL) { NULL 348 cib/io.c the_cib = NULL; NULL 367 cib/io.c if (new_cib == NULL) { NULL 390 cib/io.c if (saved_cib != NULL) { NULL 437 cib/io.c xmlNode *cib_local = NULL; NULL 465 cib/io.c mainloop_child_add(pid, 0, "disk-writer", NULL, cib_diskwrite_complete); NULL 487 cib/io.c if (p == NULL) { NULL 67 cib/main.c ll_cluster_t *hb_conn = NULL; NULL 71 cib/main.c void *hb_conn = NULL; NULL 74 cib/main.c GMainLoop *mainloop = NULL; NULL 75 cib/main.c const char *cib_root = NULL; NULL 76 cib/main.c char *cib_our_uname = NULL; NULL 90 cib/main.c GHashTable *config_hash = NULL; NULL 91 cib/main.c GHashTable *local_notify_queue = NULL; NULL 93 cib/main.c char *channel1 = NULL; NULL 94 cib/main.c char *channel2 = NULL; NULL 95 cib/main.c char *channel3 = NULL; NULL 96 cib/main.c char *channel4 = NULL; NULL 97 cib/main.c char *channel5 = NULL; NULL 137 cib/main.c struct passwd *pwentry = NULL; NULL 139 cib/main.c crm_log_preinit(NULL, argc, argv); NULL 140 cib/main.c crm_set_options(NULL, "[options]", NULL 148 cib/main.c cib_writer = mainloop_add_trigger(G_PRIORITY_LOW, write_cib_contents, NULL); NULL 165 cib/main.c CRM_CHECK(pwentry != NULL, NULL 217 cib/main.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); NULL 219 cib/main.c if (cib_root == NULL) { NULL 233 cib/main.c if (crm_is_writable(cib_root, NULL, CRM_DAEMON_USER, CRM_DAEMON_GROUP, FALSE) == FALSE) { NULL 245 cib/main.c g_hash_table_foreach(client_connections, log_cib_client, NULL); NULL 291 cib/main.c static void *ccm_library = NULL; NULL 334 cib/main.c cib_ccm_msg_callback, NULL); NULL 380 cib/main.c xmlNode *xml = NULL; NULL 381 cib/main.c const char *from = NULL; NULL 384 cib/main.c if(data == NULL) { NULL 389 cib/main.c if (xml == NULL) { NULL 396 cib/main.c cib_peer_callback(xml, NULL); NULL 519 cib/main.c hb_conn->llc_ops->client_status(hb_conn, NULL, CRM_SYSTEM_CIB, -1); NULL 558 cib/main.c CRM_ASSERT(cib != NULL); NULL 562 cib/main.c const char *port_s = NULL; NULL 48 cib/messages.c xmlNode *the_cib = NULL; NULL 75 cib/messages.c *answer = NULL; NULL 77 cib/messages.c if (crm_element_value(req, F_CIB_ISREPLY) == NULL) { NULL 102 cib/messages.c *answer = NULL; NULL 104 cib/messages.c if (op == NULL) { NULL 173 cib/messages.c xmlNode *sync_me = create_xml_node(NULL, "sync-me"); NULL 182 cib/messages.c send_cluster_message(host ? crm_get_peer(0, host) : NULL, crm_msg_cib, sync_me, FALSE); NULL 194 cib/messages.c static struct qb_log_callsite *cs = NULL; NULL 197 cib/messages.c *answer = create_xml_node(NULL, XML_CRM_TAG_PING); NULL 203 cib/messages.c if (cs == NULL) { NULL 213 cib/messages.c xmlNode *shallow = create_xml_node(NULL, tag); NULL 246 cib/messages.c *answer = NULL; NULL 260 cib/messages.c if (value != NULL) { NULL 266 cib/messages.c xmlNode *up = create_xml_node(NULL, __FUNCTION__); NULL 284 cib/messages.c send_cluster_message(NULL, crm_msg_cib, up, FALSE); NULL 346 cib/messages.c *result_cib = NULL; NULL 347 cib/messages.c send_sync_request(NULL); NULL 360 cib/messages.c *result_cib = NULL; NULL 361 cib/messages.c send_sync_request(NULL); NULL 384 cib/messages.c const char *object_name = NULL; NULL 385 cib/messages.c const char *object_id = NULL; NULL 386 cib/messages.c xmlNode *equiv_node = NULL; NULL 389 cib/messages.c if (delete_spec != NULL) { NULL 396 cib/messages.c if (delete_spec == NULL) { NULL 399 cib/messages.c } else if (parent == NULL) { NULL 402 cib/messages.c } else if (object_id == NULL) { NULL 413 cib/messages.c } else if (equiv_node == NULL) { NULL 420 cib/messages.c equiv_node = NULL; NULL 423 cib/messages.c xmlNode *child = NULL; NULL 425 cib/messages.c for (child = __xml_first_child(delete_spec); child != NULL; child = __xml_next(child)) { NULL 443 cib/messages.c xmlNode *failed = NULL; NULL 445 cib/messages.c xmlNode *update_section = NULL; NULL 449 cib/messages.c section = NULL; NULL 452 cib/messages.c section = NULL; NULL 455 cib/messages.c section = NULL; NULL 460 cib/messages.c if (input == NULL) { NULL 465 cib/messages.c failed = create_xml_node(NULL, XML_TAG_FAILED); NULL 501 cib/messages.c char *digest = NULL; NULL 507 cib/messages.c CRM_CHECK(the_cib != NULL,;); NULL 508 cib/messages.c CRM_CHECK(replace_request != NULL,;); NULL 511 cib/messages.c if (all == FALSE && host == NULL) { NULL 522 cib/messages.c if (host != NULL) { NULL 540 cib/messages.c (all ? NULL : crm_get_peer(0, host), crm_msg_cib, replace_request, FALSE) == FALSE) { NULL 81 cib/notify.c const char *type = NULL; NULL 87 cib/notify.c CRM_CHECK(client != NULL, return TRUE); NULL 88 cib/notify.c CRM_CHECK(update != NULL, return TRUE); NULL 90 cib/notify.c if (client->ipcs == NULL && client->remote == NULL) { NULL 97 cib/notify.c CRM_LOG_ASSERT(type != NULL); NULL 169 cib/notify.c xmlNode *update_msg = NULL; NULL 170 cib/notify.c const char *type = NULL; NULL 171 cib/notify.c const char *id = NULL; NULL 180 cib/notify.c update_msg = create_xml_node(NULL, "pre-notify"); NULL 182 cib/notify.c if (update != NULL) { NULL 190 cib/notify.c if (id != NULL) { NULL 194 cib/notify.c if (update != NULL) { NULL 196 cib/notify.c } else if (existing != NULL) { NULL 203 cib/notify.c if (existing != NULL) { NULL 206 cib/notify.c if (update != NULL) { NULL 212 cib/notify.c if (update == NULL) { NULL 249 cib/notify.c if (diff == NULL) { NULL 267 cib/notify.c } else if (diff != NULL) { NULL 281 cib/notify.c xmlNode *update_msg = NULL; NULL 282 cib/notify.c const char *id = NULL; NULL 284 cib/notify.c update_msg = create_xml_node(NULL, "notify"); NULL 286 cib/notify.c if (result_data != NULL) { NULL 295 cib/notify.c if (id != NULL) { NULL 299 cib/notify.c if (update != NULL) { NULL 303 cib/notify.c } else if (result_data != NULL) { NULL 312 cib/notify.c if (update != NULL) { NULL 315 cib/notify.c if (result_data != NULL) { NULL 326 cib/notify.c xmlNode *generation = create_xml_node(NULL, XML_CIB_TAG_GENERATION_TUPPLE); NULL 328 cib/notify.c if (a_cib != NULL) { NULL 338 cib/notify.c xmlNode *replace_msg = NULL; NULL 348 cib/notify.c if (diff == NULL) { NULL 363 cib/notify.c } else if (diff != NULL) { NULL 368 cib/notify.c replace_msg = create_xml_node(NULL, "notify-replace"); NULL 98 cib/remote.c int *ssock = NULL; NULL 135 cib/remote.c if(ssock == NULL) { NULL 181 cib/remote.c struct passwd *pwd = NULL; NULL 182 cib/remote.c struct group *group = NULL; NULL 184 cib/remote.c CRM_CHECK(usr != NULL, return FALSE); NULL 185 cib/remote.c CRM_CHECK(grp != NULL, return FALSE); NULL 188 cib/remote.c if (pwd == NULL) { NULL 194 cib/remote.c if (group != NULL && crm_str_eq(grp, group->gr_name, TRUE)) { NULL 199 cib/remote.c if (group == NULL) { NULL 207 cib/remote.c if (member == NULL) { NULL 221 cib/remote.c const char *user = NULL; NULL 222 cib/remote.c const char *pass = NULL; NULL 223 cib/remote.c const char *tmp = NULL; NULL 226 cib/remote.c if (login == NULL) { NULL 292 cib/remote.c crm_client_t *new_client = NULL; NULL 323 cib/remote.c new_client = crm_client_alloc(NULL); NULL 334 cib/remote.c if (new_client->remote->tls_session == NULL) { NULL 362 cib/remote.c if (client == NULL) { NULL 386 cib/remote.c client->remote->tls_session = NULL; NULL 411 cib/remote.c const char *value = NULL; NULL 419 cib/remote.c if (client->name == NULL) { NULL 421 cib/remote.c if (value == NULL) { NULL 428 cib/remote.c if (client->userdata == NULL) { NULL 430 cib/remote.c if (value != NULL) { NULL 451 cib/remote.c if (crm_element_value(command, F_CIB_CALLID) == NULL) { NULL 459 cib/remote.c if (crm_element_value(command, F_CIB_CALLOPTS) == NULL) { NULL 470 cib/remote.c xmlNode *command = NULL; NULL 513 cib/remote.c const char *user = NULL; NULL 535 cib/remote.c reg = create_xml_node(NULL, "cib_result"); NULL 577 cib/remote.c CRM_ASSERT(reply != NULL); NULL 601 cib/remote.c reply = NULL; NULL 607 cib/remote.c if (reply[count].resp != NULL) { NULL 618 cib/remote.c reply[count].resp = NULL; NULL 622 cib/remote.c reply = NULL; NULL 636 cib/remote.c const void *p_user = NULL; NULL 639 cib/remote.c struct pam_handle *pam_h = NULL; NULL 640 cib/remote.c static const char *pam_name = NULL; NULL 642 cib/remote.c if (pam_name == NULL) { NULL 645 cib/remote.c if (pam_name == NULL) { NULL 674 cib/remote.c } else if (p_user == NULL) { NULL 18 crmd/attrd.c crm_ipc_t *attrd_ipc = NULL; NULL 37 crmd/attrd.c display_command = NULL; NULL 50 crmd/attrd.c register_fsa_input(C_FSA_INTERNAL, I_FAIL, NULL); NULL 67 crmd/attrd.c if (attrd_ipc == NULL) { NULL 83 crmd/attrd.c XML_CIB_TAG_STATUS, NULL, NULL, NULL 113 crmd/attrd.c update_attrd_helper(host, name, value, NULL, user_name, is_remote_node, NULL 121 crmd/attrd.c update_attrd_helper(host, NULL, NULL, NULL, user_name, TRUE, 'C'); NULL 132 crmd/attrd.c update_attrd_helper(host, rsc, op, interval, NULL, is_remote_node, 0); NULL 55 crmd/callbacks.c register_fsa_input(C_HA_DISCONNECT, I_ERROR, NULL); NULL 78 crmd/callbacks.c register_fsa_error_adv(C_FSA_INTERNAL, I_ELECTION, NULL, &new_input, NULL 111 crmd/callbacks.c const char *status = NULL; NULL 121 crmd/callbacks.c if (node->uname == NULL) { NULL 181 crmd/callbacks.c register_fsa_input(C_CRMD_STATUS_CALLBACK, I_ERROR, NULL); NULL 186 crmd/callbacks.c register_fsa_input(C_CRMD_STATUS_CALLBACK, I_ELECTION, NULL); NULL 208 crmd/callbacks.c xmlNode *update = NULL; NULL 217 crmd/callbacks.c register_fsa_input_before(C_FSA_INTERNAL, I_NODE_JOIN, NULL); NULL 258 crmd/callbacks.c abort_transition(INFINITY, tg_restart, "Node failure", NULL); NULL 275 crmd/callbacks.c "pacemaker_remote node integrated", NULL); NULL 280 crmd/callbacks.c update = create_node_state_update(node, flags, NULL, __FUNCTION__); NULL 305 crmd/callbacks.c register_fsa_input(C_FSA_INTERNAL, I_ERROR, NULL); NULL 34 crmd/cib.c struct crm_subsystem_s *cib_subsystem = NULL; NULL 50 crmd/cib.c xmlNode *generation = NULL; NULL 51 crmd/cib.c const char *revision = NULL; NULL 54 crmd/cib.c fsa_data_t *msg_data = NULL; NULL 56 crmd/cib.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 74 crmd/cib.c register_fsa_error_adv(C_FSA_INTERNAL, I_SHUTDOWN, NULL, NULL, __FUNCTION__); NULL 93 crmd/cib.c register_fsa_input(C_FSA_INTERNAL, I_ELECTION, NULL); NULL 103 crmd/cib.c CRM_ASSERT(fsa_cib_conn != NULL); NULL 176 crmd/cib.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 183 crmd/cib.c call_id = fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local); NULL 185 crmd/cib.c fsa_register_cib_callback(call_id, FALSE, NULL, revision_check_callback); NULL 51 crmd/control.c qb_ipcs_service_t *ipcs = NULL; NULL 60 crmd/control.c crm_trigger_t *fsa_source = NULL; NULL 61 crmd/control.c crm_trigger_t *config_read = NULL; NULL 69 crmd/control.c register_fsa_input(C_TIMER_POPPED, I_ELECTION_DC, NULL); NULL 81 crmd/control.c static crm_cluster_t *cluster = NULL; NULL 83 crmd/control.c if (cluster == NULL) { NULL 134 crmd/control.c fsa_cluster_conn->llc_ops->client_status(fsa_cluster_conn, NULL, CRM_SYSTEM_CRMD, NULL 139 crmd/control.c fsa_election = election_init(NULL, cluster->uname, 60000/*60s*/, election_timeout_popped); NULL 142 crmd/control.c if(cluster->uuid == NULL) { NULL 149 crmd/control.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 221 crmd/control.c xmlNode *msg = NULL; NULL 226 crmd/control.c msg = create_request(CRM_OP_SHUTDOWN_REQ, NULL, NULL, CRM_SYSTEM_CRMD, CRM_SYSTEM_CRMD, NULL); NULL 229 crmd/control.c if (send_cluster_message(NULL, crm_msg_crmd, msg, TRUE) == FALSE) { NULL 230 crmd/control.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 271 crmd/control.c GListPtr gIter = NULL; NULL 283 crmd/control.c crm_write_blackbox(SIGTRAP, NULL); NULL 298 crmd/control.c ipcs = NULL; NULL 305 crmd/control.c attrd_ipc = NULL; NULL 316 crmd/control.c stonith_api->cmds->free(stonith_api); stonith_api = NULL; NULL 319 crmd/control.c if (rc == pcmk_ok && crmd_mainloop == NULL) { NULL 333 crmd/control.c crm_write_blackbox(SIGTRAP, NULL); NULL 339 crmd/control.c for (gIter = fsa_message_queue; gIter != NULL; gIter = gIter->next) { NULL 350 crmd/control.c g_list_free(fsa_message_queue); fsa_message_queue = NULL; NULL 352 crmd/control.c free(pe_subsystem); pe_subsystem = NULL; NULL 353 crmd/control.c free(te_subsystem); te_subsystem = NULL; NULL 354 crmd/control.c free(cib_subsystem); cib_subsystem = NULL; NULL 359 crmd/control.c fsa_election = NULL; NULL 372 crmd/control.c mainloop_destroy_trigger(fsa_source); fsa_source = NULL; NULL 374 crmd/control.c mainloop_destroy_trigger(config_read); config_read = NULL; NULL 375 crmd/control.c mainloop_destroy_trigger(stonith_reconnect); stonith_reconnect = NULL; NULL 376 crmd/control.c mainloop_destroy_trigger(transition_trigger); transition_trigger = NULL; NULL 390 crmd/control.c free(transition_timer); transition_timer = NULL; NULL 391 crmd/control.c free(integration_timer); integration_timer = NULL; NULL 392 crmd/control.c free(finalization_timer); finalization_timer = NULL; NULL 393 crmd/control.c free(election_trigger); election_trigger = NULL; NULL 394 crmd/control.c free(shutdown_escalation_timer); shutdown_escalation_timer = NULL; NULL 395 crmd/control.c free(wait_timer); wait_timer = NULL; NULL 396 crmd/control.c free(recheck_timer); recheck_timer = NULL; NULL 398 crmd/control.c free(fsa_our_dc_version); fsa_our_dc_version = NULL; NULL 399 crmd/control.c free(fsa_our_uname); fsa_our_uname = NULL; NULL 400 crmd/control.c free(fsa_our_uuid); fsa_our_uuid = NULL; NULL 401 crmd/control.c free(fsa_our_dc); fsa_our_dc = NULL; NULL 403 crmd/control.c free(fsa_cluster_name); fsa_cluster_name = NULL; NULL 405 crmd/control.c free(te_uuid); te_uuid = NULL; NULL 406 crmd/control.c free(te_client_id); te_client_id = NULL; NULL 407 crmd/control.c free(fsa_pe_ref); fsa_pe_ref = NULL; NULL 408 crmd/control.c free(failed_stop_offset); failed_stop_offset = NULL; NULL 409 crmd/control.c free(failed_start_offset); failed_start_offset = NULL; NULL 411 crmd/control.c free(max_generation_from); max_generation_from = NULL; NULL 412 crmd/control.c free_xml(max_generation_xml); max_generation_xml = NULL; NULL 424 crmd/control.c crmd_mainloop = NULL; NULL 479 crmd/control.c fsa_cluster_conn = NULL; NULL 492 crmd/control.c fsa_cib_conn = NULL; NULL 539 crmd/control.c fsa_source = mainloop_add_trigger(G_PRIORITY_HIGH, crm_fsa_trigger, NULL); NULL 540 crmd/control.c config_read = mainloop_add_trigger(G_PRIORITY_HIGH, crm_read_options, NULL); NULL 541 crmd/control.c transition_trigger = mainloop_add_trigger(G_PRIORITY_LOW, te_graph_trigger, NULL); NULL 557 crmd/control.c if (election_trigger != NULL) { NULL 567 crmd/control.c if (transition_timer != NULL) { NULL 577 crmd/control.c if (integration_timer != NULL) { NULL 587 crmd/control.c if (finalization_timer != NULL) { NULL 611 crmd/control.c if (shutdown_escalation_timer != NULL) { NULL 621 crmd/control.c if (wait_timer != NULL) { NULL 631 crmd/control.c if (recheck_timer != NULL) { NULL 646 crmd/control.c if (cib_subsystem != NULL) { NULL 656 crmd/control.c if (te_subsystem != NULL) { NULL 666 crmd/control.c if (pe_subsystem != NULL) { NULL 671 crmd/control.c pe_subsystem->args = NULL; NULL 686 crmd/control.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 695 crmd/control.c if (crm_client_new(c, uid, gid) == NULL) { NULL 719 crmd/control.c if (msg == NULL) { NULL 724 crmd/control.c CRM_ASSERT(client->user != NULL); NULL 732 crmd/control.c if (crmd_authorize_message(msg, client, NULL)) { NULL 745 crmd/control.c struct crm_subsystem_s *the_subsystem = NULL; NULL 747 crmd/control.c if (client == NULL) { NULL 753 crmd/control.c if (client->userdata == NULL) { NULL 766 crmd/control.c if (the_subsystem != NULL) { NULL 767 crmd/control.c the_subsystem->source = NULL; NULL 768 crmd/control.c the_subsystem->client = NULL; NULL 798 crmd/control.c mainloop_del_ipc_server(ipcs); ipcs = NULL; NULL 799 crmd/control.c register_fsa_input(C_FSA_INTERNAL, I_TERMINATE, NULL); NULL 851 crmd/control.c HA_Message *msg = NULL; NULL 855 crmd/control.c if (msg != NULL) { NULL 867 crmd/control.c if (ipcs == NULL) { NULL 869 crmd/control.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 872 crmd/control.c if (stonith_reconnect == NULL) { NULL 882 crmd/control.c register_fsa_input(msg_data->fsa_cause, I_PENDING, NULL); NULL 894 crmd/control.c register_fsa_input(C_FSA_INTERNAL, I_TERMINATE, NULL); NULL 900 crmd/control.c { "dc-version", NULL, "string", NULL, "none", NULL, NULL 904 crmd/control.c { "cluster-infrastructure", NULL, "string", NULL, "heartbeat", NULL, NULL 907 crmd/control.c { XML_CONFIG_ATTR_DC_DEADTIME, "dc_deadtime", "time", NULL, "20s", &check_time, NULL 925 crmd/control.c { "notification-agent", NULL, "string", NULL, "/dev/null", &check_script, NULL 929 crmd/control.c { "notification-recipient", NULL, "string", NULL, "", NULL, NULL 935 crmd/control.c { "load-threshold", NULL, "percentage", NULL, "80%", &check_utilization, NULL 940 crmd/control.c { "node-action-limit", NULL, "integer", NULL, "0", &check_number, NULL 942 crmd/control.c { XML_CONFIG_ATTR_ELECTION_FAIL, "election_timeout", "time", NULL, "2min", &check_timer, NULL 945 crmd/control.c { XML_CONFIG_ATTR_FORCE_QUIT, "shutdown_escalation", "time", NULL, "20min", &check_timer, NULL 948 crmd/control.c { "crmd-integration-timeout", NULL, "time", NULL, "3min", &check_timer, NULL 951 crmd/control.c { "crmd-finalization-timeout", NULL, "time", NULL, "30min", &check_timer, NULL 954 crmd/control.c { "crmd-transition-delay", NULL, "time", NULL, "0s", &check_timer, NULL 960 crmd/control.c { "stonith-watchdog-timeout", NULL, "time", NULL, NULL, &check_sbd_timeout, NULL 961 crmd/control.c "How long to wait before we can assume nodes are safely down", NULL NULL 963 crmd/control.c { "stonith-max-attempts",NULL,"integer",NULL,"10",&check_positive_number, NULL 966 crmd/control.c { "no-quorum-policy", "no_quorum_policy", "enum", "stop, freeze, ignore, suicide", "stop", &check_quorum, NULL, NULL }, NULL 969 crmd/control.c { XML_ATTR_EXPECTED_VOTES, NULL, "integer", NULL, "2", &check_number, "The number of nodes expected to be in the cluster", "Used to calculate quorum in openais based clusters." }, NULL 998 crmd/control.c const char *value = NULL; NULL 999 crmd/control.c GHashTable *config_hash = NULL; NULL 1000 crmd/control.c crm_time_t *now = crm_time_new(NULL); NULL 1001 crmd/control.c xmlNode *crmconfig = NULL; NULL 1002 crmd/control.c xmlNode *alerts = NULL; NULL 1005 crmd/control.c fsa_data_t *msg_data = NULL; NULL 1008 crmd/control.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 1024 crmd/control.c fsa_data_t *msg_data = NULL; NULL 1027 crmd/control.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 1033 crmd/control.c unpack_instance_attributes(crmconfig, crmconfig, XML_CIB_TAG_PROPSET, NULL, config_hash, NULL 1055 crmd/control.c throttle_set_load_target(strtof(value, NULL) / 100.0); NULL 1091 crmd/control.c send_cluster_text(crm_class_quorum, value, TRUE, NULL, crm_msg_ais); NULL 1096 crmd/control.c fsa_cluster_name = NULL; NULL 1121 crmd/control.c NULL, cib_xpath | cib_scope_local); NULL 1123 crmd/control.c fsa_register_cib_callback(call_id, FALSE, NULL, config_query_callback); NULL 1142 crmd/control.c if (crmd_mainloop != NULL && g_main_is_running(crmd_mainloop)) { NULL 1145 crmd/control.c register_fsa_input_before(C_SHUTDOWN, I_ERROR, NULL); NULL 1149 crmd/control.c register_fsa_input(C_SHUTDOWN, I_SHUTDOWN, NULL); NULL 1152 crmd/control.c const char *value = crmd_pref(NULL, XML_CONFIG_ATTR_FORCE_QUIT); NULL 50 crmd/corosync.c xmlNode *xml = NULL; NULL 51 crmd/corosync.c const char *seq_s = NULL; NULL 52 crmd/corosync.c crm_node_t *peer = NULL; NULL 56 crmd/corosync.c const char *from = NULL; NULL 59 crmd/corosync.c if(data == NULL) { NULL 63 crmd/corosync.c if (xml == NULL) { NULL 72 crmd/corosync.c seq = crm_int_helper(seq_s, NULL); NULL 82 crmd/corosync.c if (votes == NULL || check_number(votes) == FALSE) { NULL 89 crmd/corosync.c XML_CIB_TAG_CRMCONFIG, NULL, NULL, NULL, NULL, NULL 90 crmd/corosync.c XML_ATTR_EXPECTED_VOTES, votes, FALSE, NULL, NULL); NULL 54 crmd/crmd_messages.h if(suppress == FALSE && msg_data != NULL) { \ NULL 61 crmd/crmd_messages.h NULL, action, TRUE, __FUNCTION__); \ NULL 20 crmd/crmd_metadata.c static regex_t *version_format_regex = NULL; NULL 80 crmd/crmd_metadata.c if (version == NULL) { NULL 84 crmd/crmd_metadata.c if (version_format_regex == NULL) { NULL 100 crmd/crmd_metadata.c CRM_CHECK(version_format_regex != NULL, return TRUE); NULL 103 crmd/crmd_metadata.c return regexec(version_format_regex, version, 0, NULL, 0) == 0; NULL 114 crmd/crmd_metadata.c version_format_regex = NULL; NULL 125 crmd/crmd_metadata.c if (version == NULL) { NULL 151 crmd/crmd_metadata.c if (p == NULL) { NULL 153 crmd/crmd_metadata.c return NULL; NULL 157 crmd/crmd_metadata.c if (p->rap_name == NULL) { NULL 160 crmd/crmd_metadata.c return NULL; NULL 179 crmd/crmd_metadata.c char *key = NULL; NULL 180 crmd/crmd_metadata.c xmlNode *metadata = NULL; NULL 181 crmd/crmd_metadata.c xmlNode *match = NULL; NULL 182 crmd/crmd_metadata.c struct ra_metadata_s *md = NULL; NULL 184 crmd/crmd_metadata.c CRM_CHECK(mdc && rsc && metadata_str, return NULL); NULL 200 crmd/crmd_metadata.c if (md == NULL) { NULL 211 crmd/crmd_metadata.c for (match = first_named_child(match, "action"); match != NULL; NULL 224 crmd/crmd_metadata.c for (match = first_named_child(match, "parameter"); match != NULL; NULL 229 crmd/crmd_metadata.c if (param_name == NULL) { NULL 235 crmd/crmd_metadata.c if (p == NULL) { NULL 253 crmd/crmd_metadata.c return NULL; NULL 259 crmd/crmd_metadata.c char *key = NULL; NULL 260 crmd/crmd_metadata.c struct ra_metadata_s *metadata = NULL; NULL 262 crmd/crmd_metadata.c CRM_CHECK(mdc && rsc, return NULL); NULL 32 crmd/crmd_utils.h if(fsa_cib_conn != NULL) { \ NULL 34 crmd/crmd_utils.h fsa_cib_conn, CIB_OP_DELETE, NULL, section, data, \ NULL 35 crmd/crmd_utils.h NULL, options, user_name); \ NULL 42 crmd/crmd_utils.h if(fsa_cib_conn != NULL) { \ NULL 44 crmd/crmd_utils.h fsa_cib_conn, CIB_OP_MODIFY, NULL, section, data, \ NULL 45 crmd/crmd_utils.h NULL, options, user_name); \ NULL 52 crmd/crmd_utils.h if(fsa_cib_conn != NULL) { \ NULL 128 crmd/crmd_utils.h register_fsa_input(C_FSA_INTERNAL, I_PE_CALC, NULL); \ NULL 69 crmd/election.c register_fsa_input(C_FSA_INTERNAL, I_RELEASE_DC, NULL); NULL 72 crmd/election.c register_fsa_input(C_FSA_INTERNAL, I_PENDING, NULL); NULL 91 crmd/election.c register_fsa_input(C_FSA_INTERNAL, I_ELECTION_DC, NULL); NULL 109 crmd/election.c if(crm_peer_cache == NULL) { NULL 120 crmd/election.c register_fsa_input(C_FSA_INTERNAL, I_ELECTION, NULL); NULL 124 crmd/election.c update_dc(NULL); NULL 127 crmd/election.c register_fsa_input(C_FSA_INTERNAL, I_RELEASE_DC, NULL); NULL 131 crmd/election.c register_fsa_input(C_FSA_INTERNAL, I_PENDING, NULL); NULL 156 crmd/election.c fsa_data_t *msg_data = NULL; NULL 160 crmd/election.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 172 crmd/election.c xmlNode *cib = NULL; NULL 182 crmd/election.c send_cluster_text(crm_class_quorum, NULL, TRUE, NULL, crm_msg_ais); NULL 192 crmd/election.c cib = create_xml_node(NULL, XML_TAG_CIB); NULL 194 crmd/election.c fsa_cib_update(XML_TAG_CIB, cib, cib_quorum_override, rc, NULL); NULL 195 crmd/election.c fsa_register_cib_callback(rc, FALSE, NULL, feature_update_callback); NULL 197 crmd/election.c update_attr_delegate(fsa_cib_conn, cib_none, XML_CIB_TAG_CRMCONFIG, NULL, NULL, NULL, NULL, NULL 198 crmd/election.c XML_ATTR_HAVE_WATCHDOG, watchdog?"true":"false", FALSE, NULL, NULL); NULL 200 crmd/election.c update_attr_delegate(fsa_cib_conn, cib_none, XML_CIB_TAG_CRMCONFIG, NULL, NULL, NULL, NULL, NULL 201 crmd/election.c "dc-version", PACEMAKER_VERSION "-" BUILD_VERSION, FALSE, NULL, NULL); NULL 203 crmd/election.c update_attr_delegate(fsa_cib_conn, cib_none, XML_CIB_TAG_CRMCONFIG, NULL, NULL, NULL, NULL, NULL 204 crmd/election.c "cluster-infrastructure", cluster_type, FALSE, NULL, NULL); NULL 208 crmd/election.c if (fsa_cluster_name == NULL && is_corosync_cluster()) { NULL 212 crmd/election.c update_attr_delegate(fsa_cib_conn, cib_none, XML_CIB_TAG_CRMCONFIG, NULL, NULL, NULL, NULL, NULL 213 crmd/election.c "cluster-name", cluster_name, FALSE, NULL, NULL); NULL 245 crmd/election.c xmlNode *update = NULL; NULL 249 crmd/election.c update = create_node_state_update(node, node_update_expected, NULL, NULL 255 crmd/election.c register_fsa_input(C_FSA_INTERNAL, I_RELEASE_SUCCESS, NULL); NULL 41 crmd/fsa.c char *fsa_our_dc = NULL; NULL 42 crmd/fsa.c cib_t *fsa_cib_conn = NULL; NULL 43 crmd/fsa.c char *fsa_our_dc_version = NULL; NULL 45 crmd/fsa.c char *fsa_our_uuid = NULL; NULL 46 crmd/fsa.c char *fsa_our_uname = NULL; NULL 48 crmd/fsa.c char *fsa_cluster_name = NULL; NULL 54 crmd/fsa.c election_t *fsa_election = NULL; NULL 56 crmd/fsa.c fsa_timer_t *wait_timer = NULL; /* How long to wait before retrying to connect to the cib/lrmd/ccm */ NULL 57 crmd/fsa.c fsa_timer_t *recheck_timer = NULL; /* Periodically re-run the PE to account for time based rules/preferences */ NULL 58 crmd/fsa.c fsa_timer_t *election_trigger = NULL; /* How long to wait at startup, or after an election, for the DC to make contact */ NULL 59 crmd/fsa.c fsa_timer_t *transition_timer = NULL; /* How long to delay the start of a new transition with the expectation something else might happen too */ NULL 60 crmd/fsa.c fsa_timer_t *integration_timer = NULL; NULL 61 crmd/fsa.c fsa_timer_t *finalization_timer = NULL; NULL 62 crmd/fsa.c fsa_timer_t *shutdown_escalation_timer = NULL; /* How long to wait for the DC to stop all resources and give us the all-clear to shut down */ NULL 153 crmd/fsa.c fsa_data_t *fsa_data = NULL; NULL 172 crmd/fsa.c fsa_data = NULL; NULL 178 crmd/fsa.c if(fsa_data == NULL) { NULL 239 crmd/fsa.c fsa_data = NULL; NULL 270 crmd/fsa.c CRM_CHECK(fsa_data != NULL, return); NULL 446 crmd/fsa.c register_fsa_error_adv(C_FSA_INTERNAL, I_ERROR, fsa_data, NULL, __FUNCTION__); NULL 462 crmd/fsa.c } else if (stored_msg->data == NULL) { NULL 554 crmd/fsa.c update_dc(NULL); NULL 564 crmd/fsa.c CRM_LOG_ASSERT(fsa_our_dc != NULL); NULL 565 crmd/fsa.c if (fsa_our_dc == NULL) { NULL 611 crmd/fsa.c register_fsa_input(C_FSA_INTERNAL, I_ELECTION, NULL); NULL 616 crmd/fsa.c register_fsa_input_before(C_FSA_INTERNAL, I_NODE_JOIN, NULL); NULL 48 crmd/heartbeat.c int (*ccm_api_callback_done) (void *cookie) = NULL; NULL 49 crmd/heartbeat.c int (*ccm_api_handle_event) (const oc_ev_t * token) = NULL; NULL 52 crmd/heartbeat.c static void *ccm_library = NULL; NULL 111 crmd/heartbeat.c crmd_ccm_msg_callback, NULL); NULL 142 crmd/heartbeat.c register_fsa_error(C_FSA_INTERNAL, I_FAIL, NULL); NULL 219 crmd/heartbeat.c CRM_ASSERT(oc != NULL); NULL 251 crmd/heartbeat.c heartbeat_cluster->llc_ops->client_status(heartbeat_cluster, NULL, crm_system_name, 0); NULL 265 crmd/heartbeat.c register_fsa_error_adv(cause, I_ERROR, NULL, NULL, __FUNCTION__); NULL 280 crmd/heartbeat.c if (ccm_api_handle_event == NULL) { NULL 289 crmd/heartbeat.c register_fsa_input(C_CCM_CALLBACK, I_ERROR, NULL); NULL 312 crmd/heartbeat.c CRM_ASSERT(data != NULL); NULL 347 crmd/heartbeat.c register_fsa_input(C_FSA_INTERNAL, I_STOP, NULL); NULL 367 crmd/heartbeat.c do_ccm_update_cache(C_CCM_CALLBACK, fsa_state, event, data, NULL); NULL 374 crmd/heartbeat.c if (ccm_api_callback_done == NULL) { NULL 385 crmd/heartbeat.c xmlNode *update = NULL; NULL 386 crmd/heartbeat.c crm_node_t *peer = NULL; NULL 406 crmd/heartbeat.c update = create_node_state_update(peer, node_update_cluster, NULL, NULL 417 crmd/heartbeat.c crm_node_t *peer = NULL; NULL 451 crmd/heartbeat.c peer->uuid = NULL; NULL 457 crmd/heartbeat.c xmlNode *update = NULL; NULL 460 crmd/heartbeat.c update = create_node_state_update(peer, node_update_peer, NULL, NULL 472 crmd/heartbeat.c crm_node_t *from_node = NULL; NULL 474 crmd/heartbeat.c xmlNode *msg = convert_ha_message(NULL, hamsg, __FUNCTION__); NULL 479 crmd/heartbeat.c CRM_CHECK(from != NULL, crm_log_xml_err(msg, "anon"); goto bail); NULL 483 crmd/heartbeat.c if (crm_peer_cache == NULL || crm_active_peers() == 0) { NULL 519 crmd/heartbeat.c IPC_Channel *channel = NULL; NULL 524 crmd/heartbeat.c if (cluster_conn != NULL) { NULL 528 crmd/heartbeat.c CRM_CHECK(cluster_conn != NULL,;); NULL 529 crmd/heartbeat.c CRM_CHECK(channel != NULL,;); NULL 531 crmd/heartbeat.c if (channel != NULL && IPC_ISRCONN(channel)) { NULL 539 crmd/heartbeat.c if (channel == NULL || channel->ch_status != IPC_CONNECT) { NULL 61 crmd/join_client.c xmlNode *req = create_request(CRM_OP_JOIN_ANNOUNCE, NULL, NULL, NULL 62 crmd/join_client.c CRM_SYSTEM_DC, CRM_SYSTEM_CRMD, NULL); NULL 65 crmd/join_client.c update_dc(NULL); /* Unset any existing value so that the result is not discarded */ NULL 67 crmd/join_client.c send_cluster_message(NULL, crm_msg_crmd, req, FALSE); NULL 97 crmd/join_client.c xmlNode *req = create_request(CRM_OP_JOIN_ANNOUNCE, NULL, NULL, NULL 98 crmd/join_client.c CRM_SYSTEM_DC, CRM_SYSTEM_CRMD, NULL); NULL 101 crmd/join_client.c update_dc(NULL); NULL 102 crmd/join_client.c send_cluster_message(NULL, crm_msg_crmd, req, FALSE); NULL 153 crmd/join_client.c CRM_LOG_ASSERT(input != NULL); NULL 155 crmd/join_client.c fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local | cib_no_children); NULL 166 crmd/join_client.c xmlNode *generation = create_xml_node(NULL, XML_CIB_TAG_GENERATION_TUPPLE); NULL 168 crmd/join_client.c CRM_LOG_ASSERT(join_id != NULL); NULL 176 crmd/join_client.c if(rc != pcmk_ok || output == NULL) { NULL 179 crmd/join_client.c register_fsa_error_adv(C_FSA_INTERNAL, I_ERROR, NULL, NULL, __FUNCTION__); NULL 181 crmd/join_client.c } else if (fsa_our_dc == NULL) { NULL 185 crmd/join_client.c xmlNode *reply = NULL; NULL 191 crmd/join_client.c CRM_SYSTEM_DC, CRM_SYSTEM_CRMD, NULL); NULL 209 crmd/join_client.c NULL, NULL, NULL, "standby", "on", TRUE, NULL, NULL); NULL 215 crmd/join_client.c NULL, NULL, NULL, "standby", "off", TRUE, NULL, NULL); NULL 234 crmd/join_client.c xmlNode *tmp1 = NULL; NULL 260 crmd/join_client.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 279 crmd/join_client.c if (tmp1 != NULL) { NULL 281 crmd/join_client.c CRM_SYSTEM_DC, CRM_SYSTEM_CRMD, NULL); NULL 309 crmd/join_client.c update_attrd(fsa_our_uname, "terminate", NULL, NULL, FALSE); NULL 310 crmd/join_client.c update_attrd(fsa_our_uname, XML_CIB_ATTR_SHUTDOWN, "0", NULL, FALSE); NULL 321 crmd/join_client.c register_fsa_input_adv(cause, I_NOT_DC, NULL, A_NOTHING, TRUE, __FUNCTION__); NULL 327 crmd/join_client.c update_attrd(NULL, NULL, NULL, NULL, FALSE); NULL 336 crmd/join_client.c register_fsa_error(C_FSA_INTERNAL, I_FAIL, NULL); NULL 30 crmd/join_dc.c char *max_epoch = NULL; NULL 31 crmd/join_dc.c char *max_generation_from = NULL; NULL 32 crmd/join_dc.c xmlNode *max_generation_xml = NULL; NULL 47 crmd/join_dc.c if(node == NULL) { NULL 84 crmd/join_dc.c crm_node_t *peer = NULL; NULL 91 crmd/join_dc.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &peer)) { NULL 96 crmd/join_dc.c if (max_generation_from != NULL) { NULL 98 crmd/join_dc.c max_generation_from = NULL; NULL 100 crmd/join_dc.c if (max_generation_xml != NULL) { NULL 102 crmd/join_dc.c max_generation_xml = NULL; NULL 119 crmd/join_dc.c xmlNode *msg = create_request(join_op, NULL, host_to, CRM_SYSTEM_CRMD, NULL 120 crmd/join_dc.c CRM_SYSTEM_DC, NULL); NULL 136 crmd/join_dc.c xmlNode *offer = NULL; NULL 139 crmd/join_dc.c CRM_ASSERT(member != NULL); NULL 142 crmd/join_dc.c if(member->expected == NULL && safe_str_eq(member->state, CRM_NODE_LOST)) { NULL 157 crmd/join_dc.c if (member->uname == NULL) { NULL 202 crmd/join_dc.c update_dc(NULL); NULL 206 crmd/join_dc.c g_hash_table_foreach(crm_peer_cache, join_make_offer, NULL); NULL 221 crmd/join_dc.c ha_msg_input_t *welcome = NULL; NULL 223 crmd/join_dc.c const char *op = NULL; NULL 224 crmd/join_dc.c const char *join_to = NULL; NULL 236 crmd/join_dc.c if (welcome == NULL) { NULL 242 crmd/join_dc.c if (join_to == NULL) { NULL 249 crmd/join_dc.c if (join_to != NULL && (cur_state == S_INTEGRATION || cur_state == S_FINALIZE_JOIN)) { NULL 262 crmd/join_dc.c join_make_offer(NULL, member, NULL); NULL 269 crmd/join_dc.c join_make_offer(NULL, member, NULL); NULL 275 crmd/join_dc.c abort_transition(INFINITY, tg_restart, "Node join", NULL); NULL 288 crmd/join_dc.c int int_elem_l = crm_int_helper(elem_l, NULL); NULL 289 crmd/join_dc.c int int_elem_r = crm_int_helper(elem_r, NULL); NULL 308 crmd/join_dc.c xmlNode *generation = NULL; NULL 326 crmd/join_dc.c if (max_generation_xml != NULL && generation != NULL) { NULL 346 crmd/join_dc.c } else if (join_node == NULL || crm_is_peer_active(join_node) == FALSE) { NULL 350 crmd/join_dc.c } else if (generation == NULL) { NULL 354 crmd/join_dc.c } else if (max_generation_xml == NULL) { NULL 405 crmd/join_dc.c char *sync_from = NULL; NULL 427 crmd/join_dc.c if (max_generation_from == NULL || safe_str_eq(max_generation_from, fsa_our_uname)) { NULL 455 crmd/join_dc.c rc = fsa_cib_conn->cmds->sync_from(fsa_cib_conn, sync_from, NULL, cib_quorum_override); NULL 469 crmd/join_dc.c register_fsa_error_adv(C_FSA_INTERNAL, I_ELECTION_DC, NULL, NULL, __FUNCTION__); NULL 479 crmd/join_dc.c g_hash_table_foreach(crm_peer_cache, finalize_join_for, NULL); NULL 491 crmd/join_dc.c fsa_data_t *msg_data = NULL; NULL 500 crmd/join_dc.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 519 crmd/join_dc.c if (safe_str_neq(op, CRM_OP_JOIN_CONFIRM) || peer == NULL) { NULL 553 crmd/join_dc.c if (now_dc_lrmd_state != NULL) { NULL 556 crmd/join_dc.c cib_scope_local | cib_quorum_override | cib_can_create, call_id, NULL); NULL 561 crmd/join_dc.c cib_scope_local | cib_quorum_override | cib_can_create, call_id, NULL); NULL 566 crmd/join_dc.c cib_scope_local | cib_quorum_override | cib_can_create, call_id, NULL); NULL 569 crmd/join_dc.c fsa_register_cib_callback(call_id, FALSE, NULL, join_update_complete_callback); NULL 576 crmd/join_dc.c xmlNode *acknak = NULL; NULL 577 crmd/join_dc.c xmlNode *tmp1 = NULL; NULL 589 crmd/join_dc.c tmp1 = create_xml_node(NULL, XML_CIB_TAG_NODE); NULL 641 crmd/join_dc.c register_fsa_input_before(C_FSA_INTERNAL, I_NODE_JOIN, NULL); NULL 648 crmd/join_dc.c register_fsa_input_before(C_FSA_INTERNAL, I_INTEGRATED, NULL); NULL 674 crmd/join_dc.c register_fsa_input_later(C_FSA_INTERNAL, I_FINALIZED, NULL); NULL 694 crmd/join_dc.c update_attrd(NULL, NULL, NULL, NULL, FALSE); NULL 706 crmd/join_dc.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &peer)) { NULL 720 crmd/join_dc.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &peer)) { NULL 73 crmd/lrm.c register_fsa_input(C_FSA_INTERNAL, I_ERROR, NULL); NULL 85 crmd/lrm.c char *op_id = NULL; NULL 88 crmd/lrm.c if (op_id != NULL) { NULL 97 crmd/lrm.c if (strstr(key, CRM_META "_") == NULL) { NULL 105 crmd/lrm.c if (strstr(key, CRM_META "_") != NULL) { NULL 124 crmd/lrm.c for (iter = history->recurring_op_list; iter != NULL; iter = iter->next) { NULL 150 crmd/lrm.c for (iter = history->recurring_op_list; iter != NULL; iter = iter->next) { NULL 154 crmd/lrm.c history->recurring_op_list = NULL; NULL 188 crmd/lrm.c rsc_history_t *entry = NULL; NULL 192 crmd/lrm.c delete_rsc_status(lrm_state, op->rsc_id, cib_quorum_override, NULL); NULL 203 crmd/lrm.c if (entry == NULL && rsc) { NULL 214 crmd/lrm.c entry->rsc.provider = NULL; NULL 217 crmd/lrm.c } else if (entry == NULL) { NULL 298 crmd/lrm.c CRM_ASSERT(op != NULL); NULL 308 crmd/lrm.c const char *nodename = NULL; NULL 309 crmd/lrm.c lrm_state_t *lrm_state = NULL; NULL 311 crmd/lrm.c CRM_CHECK(op != NULL, return); NULL 327 crmd/lrm.c CRM_ASSERT(lrm_state != NULL); NULL 329 crmd/lrm.c process_lrm_event(lrm_state, op, NULL); NULL 343 crmd/lrm.c lrm_state_t *lrm_state = NULL; NULL 345 crmd/lrm.c if(fsa_our_uname == NULL) { NULL 349 crmd/lrm.c if (lrm_state == NULL) { NULL 350 crmd/lrm.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 392 crmd/lrm.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 413 crmd/lrm.c const char *key = NULL; NULL 414 crmd/lrm.c rsc_history_t *entry = NULL; NULL 415 crmd/lrm.c struct recurring_op_s *pending = NULL; NULL 440 crmd/lrm.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&pending)) { NULL 464 crmd/lrm.c if (lrm_state->resource_history == NULL) { NULL 475 crmd/lrm.c while (g_hash_table_iter_next(&gIter, NULL, (gpointer*)&entry)) { NULL 516 crmd/lrm.c char *list = NULL; NULL 517 crmd/lrm.c GList *iter = NULL; NULL 535 crmd/lrm.c for (iter = metadata->ra_params; iter != NULL; iter = iter->next) { NULL 569 crmd/lrm.c if (v != NULL) { NULL 583 crmd/lrm.c char *list = NULL; NULL 584 crmd/lrm.c char *digest = NULL; NULL 585 crmd/lrm.c xmlNode *restart = NULL; NULL 587 crmd/lrm.c CRM_LOG_ASSERT(op->params != NULL); NULL 595 crmd/lrm.c restart = create_xml_node(NULL, XML_TAG_PARAMS); NULL 628 crmd/lrm.c char *list = NULL; NULL 629 crmd/lrm.c char *digest = NULL; NULL 630 crmd/lrm.c xmlNode *secure = NULL; NULL 632 crmd/lrm.c CRM_LOG_ASSERT(op->params != NULL); NULL 639 crmd/lrm.c secure = create_xml_node(NULL, XML_TAG_PARAMS); NULL 642 crmd/lrm.c if (list != NULL) { NULL 663 crmd/lrm.c xmlNode *xml_op = NULL; NULL 664 crmd/lrm.c struct ra_metadata_s *metadata = NULL; NULL 665 crmd/lrm.c const char *caller_version = NULL; NULL 666 crmd/lrm.c lrm_state_t *lrm_state = NULL; NULL 668 crmd/lrm.c if (op == NULL) { NULL 681 crmd/lrm.c CRM_LOG_ASSERT(caller_version != NULL); NULL 683 crmd/lrm.c if(caller_version == NULL) { NULL 689 crmd/lrm.c if (xml_op == NULL) { NULL 693 crmd/lrm.c if ((rsc == NULL) || (op == NULL) || (op->params == NULL) NULL 702 crmd/lrm.c if (lrm_state == NULL) { NULL 709 crmd/lrm.c if (metadata == NULL) { NULL 722 crmd/lrm.c char *metadata_str = NULL; NULL 737 crmd/lrm.c if (metadata == NULL) { NULL 758 crmd/lrm.c rsc_history_t *entry = NULL; NULL 761 crmd/lrm.c if (entry == NULL || entry->last == NULL) { NULL 792 crmd/lrm.c rsc_history_t *entry = NULL; NULL 795 crmd/lrm.c while (g_hash_table_iter_next(&iter, NULL, (void **)&entry)) { NULL 797 crmd/lrm.c GList *gIter = NULL; NULL 814 crmd/lrm.c for (gIter = entry->recurring_op_list; gIter != NULL; gIter = gIter->next) { NULL 825 crmd/lrm.c xmlNode *xml_state = NULL; NULL 826 crmd/lrm.c xmlNode *xml_data = NULL; NULL 827 crmd/lrm.c xmlNode *rsc_list = NULL; NULL 828 crmd/lrm.c crm_node_t *peer = NULL; NULL 831 crmd/lrm.c CRM_CHECK(peer != NULL, return NULL); NULL 833 crmd/lrm.c xml_state = create_node_state_update(peer, update_flags, NULL, NULL 835 crmd/lrm.c if (xml_state == NULL) { NULL 836 crmd/lrm.c return NULL; NULL 859 crmd/lrm.c return NULL; NULL 880 crmd/lrm.c lrmd_event_data_t *op = NULL; NULL 889 crmd/lrm.c CRM_ASSERT(op != NULL); NULL 899 crmd/lrm.c send_direct_ack(from_host, from_sys, NULL, op, rsc_id); NULL 904 crmd/lrm.c time_t now = time(NULL); NULL 909 crmd/lrm.c update_attr_delegate(fsa_cib_conn, cib_none, XML_CIB_TAG_CRMCONFIG, NULL, NULL, NULL, NULL, NULL 910 crmd/lrm.c "last-lrm-refresh", now_s, FALSE, NULL, NULL); NULL 954 crmd/lrm.c char *rsc_xpath = NULL; NULL 958 crmd/lrm.c CRM_CHECK(rsc_id != NULL, return -ENXIO); NULL 964 crmd/lrm.c rc = cib_internal_op(fsa_cib_conn, CIB_OP_DELETE, NULL, rsc_xpath, NULL 965 crmd/lrm.c NULL, NULL, call_options | cib_xpath, user_name); NULL 977 crmd/lrm.c CRM_CHECK(rsc_id != NULL, return); NULL 1013 crmd/lrm.c xmlNode *xml_top = NULL; NULL 1015 crmd/lrm.c CRM_CHECK(op != NULL, return); NULL 1017 crmd/lrm.c xml_top = create_xml_node(NULL, XML_LRM_TAG_RSC_OP); NULL 1073 crmd/lrm.c char *op_xpath = NULL; NULL 1075 crmd/lrm.c CRM_CHECK((rsc_id != NULL) && (key != NULL), return); NULL 1093 crmd/lrm.c fsa_cib_conn->cmds->delete(fsa_cib_conn, op_xpath, NULL, NULL 1101 crmd/lrm.c if (entry == NULL) { NULL 1104 crmd/lrm.c if (op == NULL) { NULL 1128 crmd/lrm.c char *op_key = NULL; NULL 1129 crmd/lrm.c char *orig_op_key = NULL; NULL 1130 crmd/lrm.c lrm_state_t *lrm_state = NULL; NULL 1133 crmd/lrm.c if (lrm_state == NULL) { NULL 1153 crmd/lrm.c entry->failed = NULL; NULL 1163 crmd/lrm.c char *local_key = NULL; NULL 1164 crmd/lrm.c struct recurring_op_s *pending = NULL; NULL 1167 crmd/lrm.c CRM_CHECK(rsc_id != NULL, return FALSE); NULL 1168 crmd/lrm.c if (key == NULL) { NULL 1244 crmd/lrm.c CRM_CHECK(rsc != NULL, return FALSE); NULL 1245 crmd/lrm.c CRM_CHECK(key != NULL, return FALSE); NULL 1262 crmd/lrm.c lrmd_rsc_info_t *rsc = NULL; NULL 1270 crmd/lrm.c CRM_CHECK(id != NULL, return NULL); NULL 1279 crmd/lrm.c CRM_CHECK(class != NULL, return NULL); NULL 1280 crmd/lrm.c CRM_CHECK(type != NULL, return NULL); NULL 1289 crmd/lrm.c fsa_data_t *msg_data = NULL; NULL 1296 crmd/lrm.c register_fsa_error(C_FSA_INTERNAL, I_FAIL, NULL); NULL 1328 crmd/lrm.c struct pending_deletion_op_s *op = NULL; NULL 1349 crmd/lrm.c rsc_history_t *entry = NULL; NULL 1372 crmd/lrm.c rsc_history_t *entry = NULL; NULL 1377 crmd/lrm.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&entry)) { NULL 1383 crmd/lrm.c if (is_remote_lrmd_ra(NULL, NULL, entry->id)) { NULL 1394 crmd/lrm.c user_name, NULL, unregister); NULL 1403 crmd/lrm.c update_attrd(lrm_state->node_name, CRM_OP_PROBED, NULL, user_name, is_remote_node); NULL 1409 crmd/lrm.c lrmd_event_data_t *op = NULL; NULL 1414 crmd/lrm.c if(xml_rsc == NULL) { NULL 1420 crmd/lrm.c } else if(operation == NULL) { NULL 1428 crmd/lrm.c CRM_ASSERT(op != NULL); NULL 1440 crmd/lrm.c op->t_run = time(NULL); NULL 1446 crmd/lrm.c process_lrm_event(lrm_state, op, NULL); NULL 1475 crmd/lrm.c lrm_state_t *lrm_state = NULL; NULL 1476 crmd/lrm.c const char *crm_op = NULL; NULL 1477 crmd/lrm.c const char *from_sys = NULL; NULL 1478 crmd/lrm.c const char *from_host = NULL; NULL 1479 crmd/lrm.c const char *operation = NULL; NULL 1481 crmd/lrm.c const char *user_name = NULL; NULL 1482 crmd/lrm.c const char *target_node = NULL; NULL 1486 crmd/lrm.c if (input->xml != NULL) { NULL 1490 crmd/lrm.c if (target_node == NULL) { NULL 1498 crmd/lrm.c if (lrm_state == NULL && is_remote_node) { NULL 1503 crmd/lrm.c synthesize_lrmd_failure(NULL, input->xml, PCMK_OCF_CONNECTION_DIED); NULL 1507 crmd/lrm.c CRM_ASSERT(lrm_state != NULL); NULL 1510 crmd/lrm.c user_name = crm_acl_get_set_user(input->msg, F_CRM_USER, NULL); NULL 1531 crmd/lrm.c lrmd_event_data_t *op = NULL; NULL 1532 crmd/lrm.c lrmd_rsc_info_t *rsc = NULL; NULL 1535 crmd/lrm.c CRM_CHECK(xml_rsc != NULL, return); NULL 1547 crmd/lrm.c CRM_ASSERT(op != NULL); NULL 1550 crmd/lrm.c op->user_data = NULL; NULL 1555 crmd/lrm.c op->t_run = time(NULL); NULL 1561 crmd/lrm.c send_direct_ack(from_host, from_sys, NULL, op, ID(xml_rsc)); NULL 1570 crmd/lrm.c process_lrm_event(lrm_state, op, NULL); NULL 1579 crmd/lrm.c send_direct_ack(from_host, from_sys, NULL, op, ID(xml_rsc)); NULL 1583 crmd/lrm.c } else if (input->xml != NULL) { NULL 1632 crmd/lrm.c CRM_OP_INVOKE_LRM, NULL, NULL 1643 crmd/lrm.c } else if (operation != NULL) { NULL 1644 crmd/lrm.c lrmd_rsc_info_t *rsc = NULL; NULL 1645 crmd/lrm.c xmlNode *params = NULL; NULL 1648 crmd/lrm.c CRM_CHECK(xml_rsc != NULL, return); NULL 1662 crmd/lrm.c if (rsc == NULL && create_rsc) { NULL 1670 crmd/lrm.c } else if (rsc == NULL) { NULL 1672 crmd/lrm.c delete_rsc_entry(lrm_state, input, ID(xml_rsc), NULL, pcmk_ok, user_name); NULL 1675 crmd/lrm.c send_task_ok_ack(lrm_state, input, ID(xml_rsc), NULL, operation, NULL 1679 crmd/lrm.c char *op_key = NULL; NULL 1680 crmd/lrm.c char *meta_key = NULL; NULL 1682 crmd/lrm.c const char *call_id = NULL; NULL 1683 crmd/lrm.c const char *op_task = NULL; NULL 1684 crmd/lrm.c const char *op_interval = NULL; NULL 1687 crmd/lrm.c CRM_CHECK(params != NULL, crm_log_xml_warn(input->xml, "Bad command"); NULL 1702 crmd/lrm.c CRM_CHECK(op_task != NULL, crm_log_xml_warn(input->xml, "Bad command"); NULL 1704 crmd/lrm.c CRM_CHECK(op_interval != NULL, crm_log_xml_warn(input->xml, "Bad command"); NULL 1718 crmd/lrm.c in_progress = cancel_op(lrm_state, rsc->id, NULL, call, TRUE); NULL 1722 crmd/lrm.c if (in_progress == FALSE || is_remote_lrmd_ra(NULL, NULL, rsc->id)) { NULL 1725 crmd/lrm.c if (is_remote_lrmd_ra(NULL, NULL, rsc->id) == FALSE) { NULL 1728 crmd/lrm.c erase_lrm_history_by_id(lrm_state, rsc->id, op_key, NULL, call); NULL 1762 crmd/lrm.c lrmd_event_data_t *op = NULL; NULL 1777 crmd/lrm.c send_direct_ack(from_host, from_sys, NULL, op, rsc->id); NULL 1783 crmd/lrm.c if (crm_rsc_delete == TRUE && is_remote_lrmd_ra(NULL, NULL, rsc->id)) { NULL 1787 crmd/lrm.c delete_resource(lrm_state, rsc->id, rsc, NULL, from_sys, from_host, user_name, input, unregister); NULL 1797 crmd/lrm.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 1804 crmd/lrm.c lrmd_event_data_t *op = NULL; NULL 1805 crmd/lrm.c const char *op_delay = NULL; NULL 1806 crmd/lrm.c const char *op_timeout = NULL; NULL 1807 crmd/lrm.c const char *op_interval = NULL; NULL 1808 crmd/lrm.c GHashTable *params = NULL; NULL 1810 crmd/lrm.c const char *transition = NULL; NULL 1812 crmd/lrm.c CRM_ASSERT(rsc_id != NULL); NULL 1824 crmd/lrm.c if (rsc_op == NULL) { NULL 1826 crmd/lrm.c op->user_data = NULL; NULL 1855 crmd/lrm.c && !is_remote_lrmd_ra(NULL, NULL, rsc_id)) { NULL 1863 crmd/lrm.c xmlNode *versioned_attrs = NULL; NULL 1864 crmd/lrm.c GHashTable *hash = NULL; NULL 1865 crmd/lrm.c char *key = NULL; NULL 1866 crmd/lrm.c char *value = NULL; NULL 1927 crmd/lrm.c params = NULL; NULL 1943 crmd/lrm.c CRM_CHECK(transition != NULL, return op); NULL 1964 crmd/lrm.c xmlNode *reply = NULL; NULL 1966 crmd/lrm.c crm_node_t *peer = NULL; NULL 1968 crmd/lrm.c CRM_CHECK(op != NULL, return); NULL 1969 crmd/lrm.c if (op->rsc_id == NULL) { NULL 1970 crmd/lrm.c CRM_ASSERT(rsc_id != NULL); NULL 1973 crmd/lrm.c if (to_sys == NULL) { NULL 1978 crmd/lrm.c update = create_node_state_update(peer, node_update_none, NULL, NULL 1989 crmd/lrm.c reply = create_request(CRM_OP_INVOKE_LRM, update, to_host, to_sys, CRM_SYSTEM_LRMD, NULL); NULL 2012 crmd/lrm.c for (state_entry = lrm_state_list; state_entry != NULL; state_entry = state_entry->next) { NULL 2022 crmd/lrm.c g_list_free(lrm_state_list); lrm_state_list = NULL; NULL 2064 crmd/lrm.c CRM_CHECK(node_name != NULL, return); NULL 2065 crmd/lrm.c CRM_CHECK(rsc != NULL, return); NULL 2066 crmd/lrm.c CRM_CHECK(op != NULL, return); NULL 2068 crmd/lrm.c if (op->op_type == NULL NULL 2074 crmd/lrm.c if (op->params == NULL) { NULL 2080 crmd/lrm.c if (record_pending == NULL || crm_is_true(record_pending) == FALSE) { NULL 2089 crmd/lrm.c op->t_run = time(NULL); NULL 2104 crmd/lrm.c char *op_id = NULL; NULL 2105 crmd/lrm.c lrmd_event_data_t *op = NULL; NULL 2106 crmd/lrm.c lrmd_key_value_t *params = NULL; NULL 2107 crmd/lrm.c fsa_data_t *msg_data = NULL; NULL 2108 crmd/lrm.c const char *transition = NULL; NULL 2112 crmd/lrm.c CRM_CHECK(rsc != NULL, return); NULL 2113 crmd/lrm.c CRM_CHECK(operation != NULL, return); NULL 2115 crmd/lrm.c if (msg != NULL) { NULL 2117 crmd/lrm.c if (transition == NULL) { NULL 2123 crmd/lrm.c CRM_CHECK(op != NULL, return); NULL 2125 crmd/lrm.c if (is_remote_lrmd_ra(NULL, NULL, rsc->id) NULL 2162 crmd/lrm.c register_fsa_input(C_SHUTDOWN, I_SHUTDOWN, NULL); NULL 2180 crmd/lrm.c send_direct_ack(NULL, NULL, rsc, op, rsc->id); NULL 2196 crmd/lrm.c char *key = NULL; NULL 2197 crmd/lrm.c char *value = NULL; NULL 2213 crmd/lrm.c register_fsa_error(C_FSA_INTERNAL, I_FAIL, NULL); NULL 2221 crmd/lrm.c op->t_run = time(NULL); NULL 2223 crmd/lrm.c process_lrm_event(lrm_state, op, NULL); NULL 2230 crmd/lrm.c struct recurring_op_s *pending = NULL; NULL 2240 crmd/lrm.c pending->start_time = time(NULL); NULL 2245 crmd/lrm.c char *uuid = NULL; NULL 2255 crmd/lrm.c send_direct_ack(NULL, NULL, rsc, op, rsc->id); NULL 2259 crmd/lrm.c op->params = NULL; NULL 2300 crmd/lrm.c xmlNode *update, *iter = NULL; NULL 2302 crmd/lrm.c const char *uuid = NULL; NULL 2304 crmd/lrm.c CRM_CHECK(op != NULL, return 0); NULL 2319 crmd/lrm.c CRM_LOG_ASSERT(uuid != NULL); NULL 2320 crmd/lrm.c if(uuid == NULL) { NULL 2339 crmd/lrm.c const char *container = NULL; NULL 2355 crmd/lrm.c send_direct_ack(NULL, NULL, rsc, op, op->rsc_id); NULL 2378 crmd/lrm.c fsa_cib_update(XML_CIB_TAG_STATUS, update, call_opt, rc, NULL); NULL 2387 crmd/lrm.c fsa_register_cib_callback(rc, FALSE, NULL, cib_rsc_callback); NULL 2405 crmd/lrm.c char *pch = NULL; NULL 2406 crmd/lrm.c char *ret = NULL; NULL 2410 crmd/lrm.c return NULL; NULL 2415 crmd/lrm.c while (pch != NULL) { NULL 2426 crmd/lrm.c char *op_id = NULL; NULL 2427 crmd/lrm.c char *op_key = NULL; NULL 2432 crmd/lrm.c lrmd_rsc_info_t *rsc = NULL; NULL 2434 crmd/lrm.c CRM_CHECK(op != NULL, return FALSE); NULL 2435 crmd/lrm.c CRM_CHECK(op->rsc_id != NULL, return FALSE); NULL 2440 crmd/lrm.c if(pending == NULL) { NULL 2463 crmd/lrm.c send_direct_ack(NULL, NULL, NULL, op, op->rsc_id); NULL 2470 crmd/lrm.c send_direct_ack(NULL, NULL, NULL, op, op->rsc_id); NULL 2472 crmd/lrm.c } else if (pending == NULL) { NULL 2477 crmd/lrm.c } else if (op->user_data == NULL) { NULL 2493 crmd/lrm.c send_direct_ack(NULL, NULL, NULL, op, op->rsc_id); NULL 2576 crmd/lrm.c delete_rsc_entry(lrm_state, NULL, op->rsc_id, NULL, pcmk_ok, NULL); NULL 35 crmd/lrm_state.c GHashTable *lrm_state_table = NULL; NULL 106 crmd/lrm_state.c if (lrm_state == NULL || fsa_our_uname == NULL) { NULL 121 crmd/lrm_state.c lrm_state_t *state = NULL; NULL 125 crmd/lrm_state.c return NULL; NULL 130 crmd/lrm_state.c return NULL; NULL 136 crmd/lrm_state.c g_str_equal, NULL, free_rsc_info); NULL 145 crmd/lrm_state.c g_str_equal, NULL, history_free); NULL 245 crmd/lrm_state.c g_hash_table_new_full(crm_strcase_hash, crm_strcase_equal, NULL, internal_lrm_state_destroy); NULL 251 crmd/lrm_state.c g_hash_table_new_full(crm_strcase_hash, crm_strcase_equal, NULL, remote_proxy_free); NULL 254 crmd/lrm_state.c lrm_state_table = NULL; NULL 266 crmd/lrm_state.c g_hash_table_destroy(lrm_state_table); lrm_state_table = NULL; NULL 270 crmd/lrm_state.c g_hash_table_destroy(proxy_table); proxy_table = NULL; NULL 278 crmd/lrm_state.c return NULL; NULL 306 crmd/lrm_state.c remote_proxy_t *proxy = NULL; NULL 308 crmd/lrm_state.c CRM_CHECK(proxy_table != NULL, return NULL); NULL 312 crmd/lrm_state.c while (g_hash_table_iter_next(&gIter, NULL, (gpointer *) &proxy)) { NULL 319 crmd/lrm_state.c return NULL; NULL 325 crmd/lrm_state.c remote_proxy_t *proxy = NULL; NULL 327 crmd/lrm_state.c CRM_CHECK(proxy_table != NULL, return); NULL 329 crmd/lrm_state.c while ((proxy = find_connected_proxy_by_node(node_name)) != NULL) { NULL 371 crmd/lrm_state.c lrm_state->conn = NULL; NULL 403 crmd/lrm_state.c ret = ((lrmd_t *) lrm_state->conn)->cmds->connect(lrm_state->conn, CRM_SYSTEM_CRMD, NULL); NULL 436 crmd/lrm_state.c lrm_state_t *lrm_state = NULL; NULL 456 crmd/lrm_state.c if (crmd_authorize_message(msg, NULL, session)) { NULL 475 crmd/lrm_state.c crm_time_t *now = crm_time_new(NULL); NULL 481 crmd/lrm_state.c output, output, XML_CIB_TAG_PROPSET, NULL, config_hash, CIB_OPTIONS_FIRST, FALSE, now); NULL 503 crmd/lrm_state.c if (proxy != NULL) { NULL 505 crmd/lrm_state.c int rc = fsa_cib_conn->cmds->query(fsa_cib_conn, XML_CIB_TAG_CRMCONFIG, NULL, cib_scope_local); NULL 507 crmd/lrm_state.c "remote_config_check", remote_config_check, NULL); NULL 511 crmd/lrm_state.c char *now_s = NULL; NULL 512 crmd/lrm_state.c time_t now = time(NULL); NULL 519 crmd/lrm_state.c update_attrd(lrm_state->node_name, XML_CIB_ATTR_SHUTDOWN, now_s, NULL, TRUE); NULL 542 crmd/lrm_state.c CRM_CHECK(request != NULL, return); NULL 553 crmd/lrm_state.c xmlNode *op_reply = create_xml_node(NULL, "ack"); NULL 621 crmd/lrm_state.c if (is_remote_lrmd_ra(NULL, NULL, rsc_id)) { NULL 630 crmd/lrm_state.c lrmd_rsc_info_t *rsc = NULL; NULL 633 crmd/lrm_state.c return NULL; NULL 635 crmd/lrm_state.c if (is_remote_lrmd_ra(NULL, NULL, rsc_id)) { NULL 640 crmd/lrm_state.c if (rsc == NULL) { NULL 643 crmd/lrm_state.c if (rsc == NULL) { NULL 644 crmd/lrm_state.c return NULL; NULL 666 crmd/lrm_state.c if (is_remote_lrmd_ra(NULL, NULL, rsc_id)) { NULL 695 crmd/lrm_state.c if (is_remote_lrmd_ra(agent, provider, NULL)) { NULL 714 crmd/lrm_state.c if (is_remote_lrmd_ra(NULL, NULL, rsc_id)) { NULL 728 crmd/lrm_state.c static GListPtr crmd_alert_list = NULL; NULL 742 crmd/lrm_state.c if (crmd_alert_list == NULL) { NULL 747 crmd/lrm_state.c if (lrm_state == NULL) { NULL 761 crmd/lrm_state.c if (crmd_alert_list == NULL) { NULL 766 crmd/lrm_state.c if (lrm_state == NULL) { NULL 786 crmd/lrm_state.c if (crmd_alert_list == NULL) { NULL 791 crmd/lrm_state.c if (lrm_state == NULL) { NULL 46 crmd/main.c GMainLoop *crmd_mainloop = NULL; NULL 66 crmd/main.c crm_log_preinit(NULL, argc, argv); NULL 67 crmd/main.c crm_set_options(NULL, "[options]", long_options, NULL 96 crmd/main.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); NULL 107 crmd/main.c if (crm_is_writable(PE_STATE_DIR, NULL, CRM_DAEMON_USER, CRM_DAEMON_GROUP, FALSE) == FALSE) { NULL 113 crmd/main.c } else if (crm_is_writable(CRM_CONFIG_DIR, NULL, CRM_DAEMON_USER, CRM_DAEMON_GROUP, FALSE) == NULL 169 crmd/main.c register_fsa_input(C_STARTUP, I_STARTUP, NULL); NULL 59 crmd/membership.c register_fsa_input(C_FSA_INTERNAL, I_ERROR, NULL); NULL 63 crmd/membership.c register_fsa_input(C_FSA_INTERNAL, I_ELECTION, NULL); NULL 81 crmd/membership.c xmlNode *no_op = NULL; NULL 86 crmd/membership.c g_hash_table_foreach(crm_peer_cache, reap_dead_nodes, NULL); NULL 103 crmd/membership.c no_op = create_request(CRM_OP_NOOP, NULL, NULL, CRM_SYSTEM_CRMD, NULL 104 crmd/membership.c AM_I_DC ? CRM_SYSTEM_DC : CRM_SYSTEM_CRMD, NULL); NULL 105 crmd/membership.c send_cluster_message(NULL, crm_msg_crmd, no_op, FALSE); NULL 112 crmd/membership.c fsa_data_t *msg_data = NULL; NULL 122 crmd/membership.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 127 crmd/membership.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 146 crmd/membership.c const char *value = NULL; NULL 151 crmd/membership.c return NULL; NULL 162 crmd/membership.c if (crm_element_value(node_state, XML_ATTR_UUID) == NULL) { NULL 165 crmd/membership.c return NULL; NULL 219 crmd/membership.c xmlNode *node_xml = NULL; NULL 228 crmd/membership.c } else if (output == NULL) { NULL 239 crmd/membership.c for (; node_xml != NULL; node_xml = __xml_next(node_xml)) { NULL 240 crmd/membership.c const char *node_uuid = NULL; NULL 241 crmd/membership.c const char *node_uname = NULL; NULL 243 crmd/membership.c crm_node_t *node = NULL; NULL 253 crmd/membership.c if (node_uuid == NULL || node_uname == NULL) { NULL 258 crmd/membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 271 crmd/membership.c xmlNode *node_state_xml = NULL; NULL 281 crmd/membership.c node_state_xml = create_xml_node(NULL, XML_CIB_TAG_STATE); NULL 297 crmd/membership.c fsa_data_t *msg_data = NULL; NULL 302 crmd/membership.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 307 crmd/membership.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 319 crmd/membership.c xmlNode *node_list = create_xml_node(NULL, XML_CIB_TAG_NODES); NULL 330 crmd/membership.c from_hashtable = corosync_initialize_nodelist(NULL, FALSE, node_list); NULL 337 crmd/membership.c crm_node_t *node = NULL; NULL 340 crmd/membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 341 crmd/membership.c xmlNode *new_node = NULL; NULL 358 crmd/membership.c call_id = fsa_cib_conn->cmds->query(fsa_cib_conn, xpath, NULL, NULL 368 crmd/membership.c fsa_cib_update(XML_CIB_TAG_NODES, node_list, call_options, call_id, NULL); NULL 369 crmd/membership.c fsa_register_cib_callback(call_id, FALSE, NULL, node_list_update_callback); NULL 373 crmd/membership.c if (call_id >= pcmk_ok && crm_peer_cache != NULL && AM_I_DC) { NULL 379 crmd/membership.c crm_node_t *node = NULL; NULL 381 crmd/membership.c node_list = create_xml_node(NULL, XML_CIB_TAG_STATUS); NULL 384 crmd/membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 390 crmd/membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 395 crmd/membership.c fsa_cib_update(XML_CIB_TAG_STATUS, node_list, call_options, call_id, NULL); NULL 396 crmd/membership.c fsa_register_cib_callback(call_id, FALSE, NULL, crmd_node_update_complete); NULL 406 crmd/membership.c fsa_data_t *msg_data = NULL; NULL 414 crmd/membership.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 429 crmd/membership.c xmlNode *update = NULL; NULL 432 crmd/membership.c update = create_xml_node(NULL, XML_TAG_CIB); NULL 436 crmd/membership.c fsa_cib_update(XML_TAG_CIB, update, call_options, call_id, NULL); NULL 438 crmd/membership.c fsa_register_cib_callback(call_id, FALSE, NULL, cib_quorum_update_complete); NULL 446 crmd/membership.c abort_transition(INFINITY, tg_restart, "Quorum loss", NULL); NULL 40 crmd/messages.c GListPtr fsa_message_queue = NULL; NULL 60 crmd/messages.c I_NULL, cur_data ? cur_data->data : NULL, NULL 79 crmd/messages.c fsa_data_t *fsa_data = NULL; NULL 81 crmd/messages.c CRM_CHECK(raised_from != NULL, raised_from = "<unknown>"); NULL 99 crmd/messages.c if (data == NULL) { NULL 120 crmd/messages.c fsa_data->data = NULL; NULL 128 crmd/messages.c if (data != NULL) { NULL 136 crmd/messages.c CRM_CHECK(((ha_msg_input_t *) data)->msg != NULL, NULL 194 crmd/messages.c GListPtr lpc = NULL; NULL 196 crmd/messages.c for (lpc = fsa_message_queue; lpc != NULL; lpc = lpc->next) { NULL 210 crmd/messages.c ha_msg_input_t *copy = NULL; NULL 211 crmd/messages.c xmlNodePtr data = NULL; NULL 213 crmd/messages.c if (orig != NULL) { NULL 221 crmd/messages.c if (orig && orig->msg != NULL) { NULL 222 crmd/messages.c CRM_CHECK(copy->msg != NULL, crm_err("copy failed")); NULL 230 crmd/messages.c lrmd_event_data_t *op = NULL; NULL 231 crmd/messages.c xmlNode *foo = NULL; NULL 233 crmd/messages.c if (fsa_data == NULL) { NULL 238 crmd/messages.c if (fsa_data->data != NULL) { NULL 255 crmd/messages.c if (fsa_data->data != NULL) { NULL 289 crmd/messages.c void *ret_val = NULL; NULL 291 crmd/messages.c if (fsa_data == NULL) { NULL 294 crmd/messages.c } else if (fsa_data->data == NULL) { NULL 373 crmd/messages.c const char *msg_error = NULL; NULL 377 crmd/messages.c if (msg == NULL) { NULL 387 crmd/messages.c } else if (sys_to == NULL) { NULL 391 crmd/messages.c if (msg_error != NULL) { NULL 410 crmd/messages.c if (host_to == NULL || strlen(host_to) == 0) { NULL 449 crmd/messages.c send_cluster_message(host_to ? crm_get_peer(0, host_to) : NULL, dest, msg, TRUE); NULL 465 crmd/messages.c crm_node_t *node_to = NULL; NULL 479 crmd/messages.c if (node_to == NULL) { NULL 486 crmd/messages.c send_cluster_message(host_to ? node_to : NULL, dest, msg, TRUE); NULL 500 crmd/messages.c *client_name = NULL; NULL 501 crmd/messages.c *major_version = NULL; NULL 502 crmd/messages.c *minor_version = NULL; NULL 504 crmd/messages.c if (hello == NULL) { NULL 512 crmd/messages.c if (local_client_name == NULL || strlen(local_client_name) == 0) { NULL 516 crmd/messages.c } else if (local_major_version == NULL || strlen(local_major_version) == 0) { NULL 520 crmd/messages.c } else if (local_minor_version == NULL || strlen(local_minor_version) == 0) { NULL 536 crmd/messages.c char *client_name = NULL; NULL 537 crmd/messages.c char *major_version = NULL; NULL 538 crmd/messages.c char *minor_version = NULL; NULL 541 crmd/messages.c xmlNode *xml = NULL; NULL 545 crmd/messages.c if (uuid == NULL) { NULL 557 crmd/messages.c if (client_name == NULL) { NULL 603 crmd/messages.c const char *type = NULL; NULL 605 crmd/messages.c CRM_CHECK(msg != NULL, return I_NULL); NULL 623 crmd/messages.c const char *rsc = NULL; NULL 624 crmd/messages.c const char *uname = NULL; NULL 625 crmd/messages.c const char *op = NULL; NULL 626 crmd/messages.c const char *interval = NULL; NULL 648 crmd/messages.c if ((rsc == NULL) || (uname == NULL)) { NULL 690 crmd/messages.c xmlNode *msg = NULL; NULL 695 crmd/messages.c if (op == NULL) { NULL 760 crmd/messages.c if (AM_I_DC && transition_graph != NULL) { NULL 820 crmd/messages.c if (dc_match || fsa_our_dc == NULL) { NULL 838 crmd/messages.c xmlNode *ping = create_xml_node(NULL, XML_CRM_TAG_PING); NULL 857 crmd/messages.c const char *name = NULL; NULL 863 crmd/messages.c msg = create_request(CRM_OP_RM_NODE_CACHE, NULL, NULL, CRM_SYSTEM_CRMD, CRM_SYSTEM_CRMD, NULL); NULL 864 crmd/messages.c if (send_cluster_message(NULL, crm_msg_crmd, msg, TRUE) == FALSE) { NULL 899 crmd/messages.c if (op == NULL) { NULL 906 crmd/messages.c if (msg_ref == NULL) { NULL 941 crmd/messages.c char *now_s = NULL; NULL 942 crmd/messages.c time_t now = time(NULL); NULL 945 crmd/messages.c if (host_from == NULL) { NULL 954 crmd/messages.c update_attrd(host_from, XML_CIB_ATTR_SHUTDOWN, now_s, NULL, FALSE); NULL 970 crmd/messages.c if (crm_element_value(msg, F_CRM_HOST_FROM) == NULL) { NULL 974 crmd/messages.c if (client_channel != NULL) { NULL 978 crmd/messages.c } else if (sys != NULL && strcmp(sys, CRM_SYSTEM_TENGINE) == 0) { NULL 983 crmd/messages.c } else if (sys != NULL && strcmp(sys, CRM_SYSTEM_LRMD) == 0) { NULL 1003 crmd/messages.c } else if (sys != NULL && crmd_is_proxy_session(sys)) { NULL 1017 crmd/messages.c ha_msg_input_t *input_copy = NULL; NULL 1028 crmd/messages.c if (orig == NULL) { NULL 1050 crmd/messages.c xmlNode *msg = create_request(CRM_OP_REMOTE_STATE, NULL, fsa_our_dc, NULL 1051 crmd/messages.c CRM_SYSTEM_DC, CRM_SYSTEM_CRMD, NULL); NULL 34 crmd/pengine.c struct crm_subsystem_s *pe_subsystem = NULL; NULL 42 crmd/pengine.c register_fsa_error_adv(C_FSA_INTERNAL, I_ERROR, NULL, NULL, __FUNCTION__); NULL 43 crmd/pengine.c CRM_CHECK(id != NULL, return); NULL 47 crmd/pengine.c char *filename = NULL; NULL 53 crmd/pengine.c CRM_CHECK(filename != NULL, return); NULL 88 crmd/pengine.c rc = fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local); NULL 100 crmd/pengine.c pe_subsystem->source = NULL; NULL 101 crmd/pengine.c pe_subsystem->client = NULL; NULL 141 crmd/pengine.c pe_subsystem->source = NULL; NULL 152 crmd/pengine.c 5 * 1024 * 1024 /* 5MB */ , NULL, &pe_callbacks); NULL 154 crmd/pengine.c if (pe_subsystem->source == NULL) { NULL 156 crmd/pengine.c register_fsa_error(C_FSA_INTERNAL, I_FAIL, NULL); NULL 173 crmd/pengine.c char *fsa_pe_ref = NULL; NULL 191 crmd/pengine.c register_fsa_input_before(C_FSA_INTERNAL, I_TERMINATE, NULL); NULL 210 crmd/pengine.c register_fsa_input_before(C_FSA_INTERNAL, I_ELECTION, NULL); NULL 214 crmd/pengine.c fsa_pe_query = fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local); NULL 221 crmd/pengine.c fsa_pe_ref = NULL; NULL 223 crmd/pengine.c fsa_register_cib_callback(fsa_pe_query, FALSE, NULL, do_pe_invoke_callback); NULL 232 crmd/pengine.c char *xpath_string = NULL; NULL 233 crmd/pengine.c xmlXPathObjectPtr xpathObj = NULL; NULL 251 crmd/pengine.c xmlNode *configuration = NULL; NULL 252 crmd/pengine.c xmlNode *crm_config = NULL; NULL 253 crmd/pengine.c xmlNode *cluster_property_set = NULL; NULL 258 crmd/pengine.c configuration = find_entity(xml, XML_CIB_TAG_CONFIGURATION, NULL); NULL 259 crmd/pengine.c if (configuration == NULL) { NULL 263 crmd/pengine.c crm_config = find_entity(configuration, XML_CIB_TAG_CRMCONFIG, NULL); NULL 264 crmd/pengine.c if (crm_config == NULL) { NULL 268 crmd/pengine.c cluster_property_set = find_entity(crm_config, XML_CIB_TAG_PROPSET, NULL); NULL 269 crmd/pengine.c if (cluster_property_set == NULL) { NULL 287 crmd/pengine.c xmlNode *cmd = NULL; NULL 293 crmd/pengine.c register_fsa_error_adv(C_FSA_INTERNAL, I_ERROR, NULL, NULL, __FUNCTION__); NULL 321 crmd/pengine.c CRM_LOG_ASSERT(output != NULL); NULL 335 crmd/pengine.c cmd = create_request(CRM_OP_PECALC, output, NULL, CRM_SYSTEM_PENGINE, CRM_SYSTEM_DC, NULL); NULL 340 crmd/pengine.c sent = crm_ipc_send(mainloop_get_ipc_client(pe_subsystem->source), cmd, 0, 0, NULL); NULL 343 crmd/pengine.c register_fsa_error_adv(C_FSA_INTERNAL, I_ERROR, NULL, NULL, __FUNCTION__); NULL 140 crmd/remote_lrmd_ra.c lrm_state_t *connection_rsc = NULL; NULL 159 crmd/remote_lrmd_ra.c lrm_state_t *connection_rsc = NULL; NULL 184 crmd/remote_lrmd_ra.c CRM_CHECK(node_name != NULL, return); NULL 196 crmd/remote_lrmd_ra.c update_attrd(node_name, CRM_OP_PROBED, NULL, NULL, TRUE); NULL 200 crmd/remote_lrmd_ra.c CRM_CHECK(node != NULL, return); NULL 211 crmd/remote_lrmd_ra.c update = create_xml_node(NULL, XML_CIB_TAG_STATUS); NULL 228 crmd/remote_lrmd_ra.c fsa_cib_update(XML_CIB_TAG_STATUS, update, call_opt, call_id, NULL); NULL 256 crmd/remote_lrmd_ra.c update_attrd_remote_node_removed(node_name, NULL); NULL 271 crmd/remote_lrmd_ra.c CRM_CHECK(node != NULL, return); NULL 278 crmd/remote_lrmd_ra.c update = create_xml_node(NULL, XML_CIB_TAG_STATUS); NULL 280 crmd/remote_lrmd_ra.c fsa_cib_update(XML_CIB_TAG_STATUS, update, call_opt, call_id, NULL); NULL 314 crmd/remote_lrmd_ra.c CRM_CHECK(node != NULL, return); NULL 319 crmd/remote_lrmd_ra.c remote_ra_data_t *ra_data = lrm_state? lrm_state->remote_ra_data : NULL; NULL 365 crmd/remote_lrmd_ra.c op.t_rcchange = time(NULL); NULL 402 crmd/remote_lrmd_ra.c cmd->remaining_timeout = ((cmd->timeout / 1000) - (time(NULL) - cmd->start_time)) * 1000; NULL 410 crmd/remote_lrmd_ra.c remote_ra_cmd_t *cmd = NULL; NULL 434 crmd/remote_lrmd_ra.c ra_data->cur_cmd = NULL; NULL 447 crmd/remote_lrmd_ra.c lrm_state_t *lrm_state = NULL; NULL 464 crmd/remote_lrmd_ra.c lrm_state_t *lrm_state = NULL; NULL 478 crmd/remote_lrmd_ra.c ra_data->cur_cmd = NULL; NULL 499 crmd/remote_lrmd_ra.c if (lrm_state == NULL) { NULL 503 crmd/remote_lrmd_ra.c CRM_ASSERT(lrm_state != NULL); NULL 510 crmd/remote_lrmd_ra.c op.t_run = time(NULL); NULL 513 crmd/remote_lrmd_ra.c process_lrm_event(lrm_state, &op, NULL); NULL 520 crmd/remote_lrmd_ra.c lrm_state_t *lrm_state = NULL; NULL 521 crmd/remote_lrmd_ra.c remote_ra_data_t *ra_data = NULL; NULL 522 crmd/remote_lrmd_ra.c remote_ra_cmd_t *cmd = NULL; NULL 564 crmd/remote_lrmd_ra.c (ra_data->cur_cmd == NULL) && NULL 574 crmd/remote_lrmd_ra.c handle_remote_ra_stop(lrm_state, NULL); NULL 577 crmd/remote_lrmd_ra.c synthesize_lrmd_success(NULL, lrm_state->node_name, "stop"); NULL 649 crmd/remote_lrmd_ra.c cmd = NULL; /* prevent free */ NULL 672 crmd/remote_lrmd_ra.c ra_data->cur_cmd = NULL; NULL 683 crmd/remote_lrmd_ra.c remote_ra_data_t *ra_data = NULL; NULL 706 crmd/remote_lrmd_ra.c ra_data->cmds = NULL; NULL 707 crmd/remote_lrmd_ra.c ra_data->recurring_cmds = NULL; NULL 708 crmd/remote_lrmd_ra.c ra_data->cur_cmd = NULL; NULL 721 crmd/remote_lrmd_ra.c const char *server = NULL; NULL 722 crmd/remote_lrmd_ra.c lrmd_key_value_t *tmp = NULL; NULL 745 crmd/remote_lrmd_ra.c GList *first = NULL; NULL 837 crmd/remote_lrmd_ra.c remote_ra_data_t *ra_data = NULL; NULL 866 crmd/remote_lrmd_ra.c lrm_state->remote_ra_data = NULL; NULL 885 crmd/remote_lrmd_ra.c lrmd_rsc_info_t *info = NULL; NULL 918 crmd/remote_lrmd_ra.c GList *rm_list = NULL; NULL 919 crmd/remote_lrmd_ra.c remote_ra_cmd_t *cmd = NULL; NULL 920 crmd/remote_lrmd_ra.c GListPtr gIter = NULL; NULL 922 crmd/remote_lrmd_ra.c for (gIter = list; gIter != NULL; gIter = gIter->next) { NULL 929 crmd/remote_lrmd_ra.c for (gIter = rm_list; gIter != NULL; gIter = gIter->next) { NULL 949 crmd/remote_lrmd_ra.c remote_ra_cmd_t *cmd = NULL; NULL 950 crmd/remote_lrmd_ra.c GListPtr gIter = NULL; NULL 952 crmd/remote_lrmd_ra.c for (gIter = list; gIter != NULL; gIter = gIter->next) { NULL 957 crmd/remote_lrmd_ra.c cmd = NULL; NULL 969 crmd/remote_lrmd_ra.c lrm_state_t *connection_rsc = NULL; NULL 970 crmd/remote_lrmd_ra.c remote_ra_data_t *ra_data = NULL; NULL 993 crmd/remote_lrmd_ra.c GList *gIter = NULL; NULL 994 crmd/remote_lrmd_ra.c remote_ra_cmd_t *cmd = NULL; NULL 1003 crmd/remote_lrmd_ra.c return NULL; NULL 1015 crmd/remote_lrmd_ra.c for (gIter = ra_data->recurring_cmds; gIter != NULL; gIter = gIter->next) { NULL 1022 crmd/remote_lrmd_ra.c for (gIter = ra_data->cmds; gIter != NULL; gIter = gIter->next) { NULL 1029 crmd/remote_lrmd_ra.c return NULL; NULL 1043 crmd/remote_lrmd_ra.c cmd->start_time = time(NULL); NULL 1067 crmd/remote_lrmd_ra.c lrm_state_t *connection_rsc = NULL; NULL 1068 crmd/remote_lrmd_ra.c remote_ra_cmd_t *cmd = NULL; NULL 1069 crmd/remote_lrmd_ra.c remote_ra_data_t *ra_data = NULL; NULL 1099 crmd/remote_lrmd_ra.c cmd->start_time = time(NULL); NULL 1202 crmd/remote_lrmd_ra.c CRM_CHECK(node != NULL, return); NULL 1203 crmd/remote_lrmd_ra.c update = create_xml_node(NULL, XML_CIB_TAG_STATUS); NULL 1207 crmd/remote_lrmd_ra.c fsa_cib_update(XML_CIB_TAG_STATUS, update, call_opt, call_id, NULL); NULL 163 crmd/subsystems.c opts[1] = NULL; NULL 35 crmd/te_actions.c char *te_uuid = NULL; NULL 36 crmd/te_actions.c GHashTable *te_targets = NULL; NULL 61 crmd/te_actions.c crm_node_t *node = NULL; NULL 64 crmd/te_actions.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 65 crmd/te_actions.c xmlNode *cmd = NULL; NULL 72 crmd/te_actions.c CRM_SYSTEM_CRMD, CRM_SYSTEM_TENGINE, NULL); NULL 95 crmd/te_actions.c crm_node_t *peer = NULL; NULL 104 crmd/te_actions.c xmlNode *node_state = NULL; NULL 106 crmd/te_actions.c CRM_CHECK(target != NULL, return); NULL 107 crmd/te_actions.c CRM_CHECK(uuid != NULL, return); NULL 112 crmd/te_actions.c CRM_CHECK(peer != NULL, return); NULL 114 crmd/te_actions.c if (peer->state == NULL) { NULL 122 crmd/te_actions.c if (peer->uuid == NULL) { NULL 130 crmd/te_actions.c node_state = create_node_state_update(peer, flags, NULL, __FUNCTION__); NULL 134 crmd/te_actions.c time_t now = time(NULL); NULL 164 crmd/te_actions.c const char *id = NULL; NULL 165 crmd/te_actions.c const char *uuid = NULL; NULL 166 crmd/te_actions.c const char *target = NULL; NULL 167 crmd/te_actions.c const char *type = NULL; NULL 176 crmd/te_actions.c CRM_CHECK(id != NULL, invalid_action = TRUE); NULL 177 crmd/te_actions.c CRM_CHECK(uuid != NULL, invalid_action = TRUE); NULL 178 crmd/te_actions.c CRM_CHECK(type != NULL, invalid_action = TRUE); NULL 179 crmd/te_actions.c CRM_CHECK(target != NULL, invalid_action = TRUE); NULL 191 crmd/te_actions.c te_connect_stonith(NULL); NULL 214 crmd/te_actions.c if (target_rc_s != NULL) { NULL 223 crmd/te_actions.c char *counter = NULL; NULL 224 crmd/te_actions.c xmlNode *cmd = NULL; NULL 227 crmd/te_actions.c const char *id = NULL; NULL 228 crmd/te_actions.c const char *task = NULL; NULL 229 crmd/te_actions.c const char *value = NULL; NULL 230 crmd/te_actions.c const char *on_node = NULL; NULL 231 crmd/te_actions.c const char *router_node = NULL; NULL 245 crmd/te_actions.c CRM_CHECK(on_node != NULL && strlen(on_node) != 0, NULL 277 crmd/te_actions.c cmd = create_request(task, action->xml, router_node, CRM_SYSTEM_CRMD, CRM_SYSTEM_TENGINE, NULL); NULL 311 crmd/te_actions.c lrmd_event_data_t *op = NULL; NULL 312 crmd/te_actions.c xmlNode *state = NULL; NULL 313 crmd/te_actions.c xmlNode *rsc = NULL; NULL 314 crmd/te_actions.c xmlNode *xml_op = NULL; NULL 315 crmd/te_actions.c xmlNode *action_rsc = NULL; NULL 319 crmd/te_actions.c const char *rsc_id = NULL; NULL 337 crmd/te_actions.c if (action_rsc == NULL) { NULL 342 crmd/te_actions.c CRM_CHECK(rsc_id != NULL, crm_log_xml_err(action->xml, "Bad:action"); NULL 354 crmd/te_actions.c state = create_xml_node(NULL, XML_CIB_TAG_STATE); NULL 371 crmd/te_actions.c op = convert_graph_action(NULL, action, status, op_rc); NULL 388 crmd/te_actions.c fsa_register_cib_callback(rc, FALSE, NULL, cib_action_updated); NULL 409 crmd/te_actions.c xmlNode *cmd = NULL; NULL 410 crmd/te_actions.c xmlNode *rsc_op = NULL; NULL 416 crmd/te_actions.c char *counter = NULL; NULL 417 crmd/te_actions.c const char *task = NULL; NULL 418 crmd/te_actions.c const char *value = NULL; NULL 419 crmd/te_actions.c const char *on_node = NULL; NULL 420 crmd/te_actions.c const char *router_node = NULL; NULL 421 crmd/te_actions.c const char *task_uuid = NULL; NULL 423 crmd/te_actions.c CRM_ASSERT(action != NULL); NULL 424 crmd/te_actions.c CRM_ASSERT(action->xml != NULL); NULL 429 crmd/te_actions.c CRM_CHECK(on_node != NULL && strlen(on_node) != 0, NULL 460 crmd/te_actions.c CRM_SYSTEM_LRMD, CRM_SYSTEM_TENGINE, NULL); NULL 536 crmd/te_actions.c struct te_peer_s *peer = NULL; NULL 538 crmd/te_actions.c if(te_targets == NULL) { NULL 539 crmd/te_actions.c te_targets = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, te_peer_free); NULL 543 crmd/te_actions.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & peer)) { NULL 552 crmd/te_actions.c struct te_peer_s *r = NULL; NULL 554 crmd/te_actions.c if(target == NULL || te_targets == NULL) { NULL 559 crmd/te_actions.c if(r == NULL) { NULL 578 crmd/te_actions.c if (action->type != action_type_rsc || target == NULL) { NULL 589 crmd/te_actions.c if ((target == NULL) && NULL 598 crmd/te_actions.c } else if (target == NULL) { NULL 609 crmd/te_actions.c struct te_peer_s *r = NULL; NULL 613 crmd/te_actions.c if(target == NULL) { NULL 617 crmd/te_actions.c } else if(te_targets == NULL) { NULL 624 crmd/te_actions.c if(r == NULL) { NULL 651 crmd/te_actions.c const char *target = NULL; NULL 665 crmd/te_actions.c if ((target == NULL) && NULL 675 crmd/te_actions.c } else if (target == NULL) { NULL 687 crmd/te_actions.c if (action->confirmed == FALSE && action->type == action_type_rsc && target != NULL) { NULL 754 crmd/te_actions.c graph->abort_reason = NULL; NULL 759 crmd/te_actions.c register_fsa_input(C_FSA_INTERNAL, event, NULL); NULL 38 crmd/te_callbacks.c crm_trigger_t *transition_trigger = NULL; NULL 50 crmd/te_callbacks.c while (node != NULL && safe_str_neq(XML_CIB_TAG_STATE, TYPE(node))) { NULL 54 crmd/te_callbacks.c CRM_CHECK(node != NULL, return NULL); NULL 65 crmd/te_callbacks.c stonith_max_attempts = crm_int_helper(value, NULL); NULL 72 crmd/te_callbacks.c xmlXPathObject *xpathObj = NULL; NULL 74 crmd/te_callbacks.c CRM_CHECK(diff != NULL, return); NULL 77 crmd/te_callbacks.c if (cib_config_changed(NULL, NULL, &diff)) { NULL 117 crmd/te_callbacks.c const char *value = NULL; NULL 154 crmd/te_callbacks.c xpathObj = NULL; NULL 169 crmd/te_callbacks.c abort_transition(INFINITY, tg_restart, "LRM Refresh", NULL); NULL 202 crmd/te_callbacks.c const char *op_id = NULL; NULL 203 crmd/te_callbacks.c char *rsc_op_xpath = NULL; NULL 204 crmd/te_callbacks.c xmlXPathObject *op_match = NULL; NULL 207 crmd/te_callbacks.c CRM_LOG_ASSERT(match != NULL); NULL 208 crmd/te_callbacks.c if(match == NULL) { continue; }; NULL 222 crmd/te_callbacks.c if (cancelled == NULL) { NULL 247 crmd/te_callbacks.c xmlNode *cIter = NULL; NULL 248 crmd/te_callbacks.c xmlNode *rsc = NULL; NULL 249 crmd/te_callbacks.c xmlNode *rsc_op = NULL; NULL 252 crmd/te_callbacks.c if(xml == NULL) { NULL 278 crmd/te_callbacks.c abort_transition(INFINITY, tg_restart, "LRM Refresh", NULL); NULL 282 crmd/te_callbacks.c for (rsc = __xml_first_child(xml); rsc != NULL; rsc = __xml_next(rsc)) { NULL 284 crmd/te_callbacks.c for (rsc_op = __xml_first_child(rsc); rsc_op != NULL; rsc_op = __xml_next(rsc_op)) { NULL 294 crmd/te_callbacks.c char *nodeid = NULL; NULL 312 crmd/te_callbacks.c char *node_uuid = NULL; NULL 313 crmd/te_callbacks.c char *search = NULL; NULL 314 crmd/te_callbacks.c char *match = NULL; NULL 317 crmd/te_callbacks.c if (match == NULL) { NULL 319 crmd/te_callbacks.c return NULL; NULL 324 crmd/te_callbacks.c if (search == NULL) { NULL 326 crmd/te_callbacks.c return NULL; NULL 339 crmd/te_callbacks.c char *node_uuid = NULL; NULL 340 crmd/te_callbacks.c crm_action_t *down = NULL; NULL 348 crmd/te_callbacks.c if(node_uuid == NULL) { NULL 355 crmd/te_callbacks.c if(down == NULL || down->executed == false) { NULL 369 crmd/te_callbacks.c xmlNode *change = NULL; NULL 370 crmd/te_callbacks.c const char *op = NULL; NULL 372 crmd/te_callbacks.c xmlNode *diff = NULL; NULL 377 crmd/te_callbacks.c CRM_CHECK(msg != NULL, return); NULL 380 crmd/te_callbacks.c if (transition_graph == NULL) { NULL 418 crmd/te_callbacks.c for (change = __xml_first_child(diff); change != NULL; change = __xml_next(change)) { NULL 419 crmd/te_callbacks.c const char *name = NULL; NULL 422 crmd/te_callbacks.c xmlNode *match = NULL; NULL 423 crmd/te_callbacks.c const char *node = NULL; NULL 425 crmd/te_callbacks.c if(op == NULL) { NULL 452 crmd/te_callbacks.c if(xpath == NULL) { NULL 468 crmd/te_callbacks.c crm_action_t *cancel = NULL; NULL 474 crmd/te_callbacks.c if (key != NULL) { NULL 478 crmd/te_callbacks.c if (key == NULL) { NULL 487 crmd/te_callbacks.c if (cancel == NULL) { NULL 508 crmd/te_callbacks.c } else if(name == NULL) { NULL 513 crmd/te_callbacks.c xmlNode *state = NULL; NULL 517 crmd/te_callbacks.c for (state = __xml_first_child(status); state != NULL; state = __xml_next(state)) { NULL 529 crmd/te_callbacks.c xmlNode *state = NULL; NULL 531 crmd/te_callbacks.c for (state = __xml_first_child(match); state != NULL; state = __xml_next(state)) { NULL 559 crmd/te_callbacks.c for (rsc_op = __xml_first_child(match); rsc_op != NULL; rsc_op = __xml_next(rsc_op)) { NULL 590 crmd/te_callbacks.c if (op == NULL) { NULL 593 crmd/te_callbacks.c } else if (sys_to == NULL || strcasecmp(sys_to, CRM_SYSTEM_TENGINE) != 0) { NULL 601 crmd/te_callbacks.c xmlXPathObject *xpathObj = NULL; NULL 633 crmd/te_callbacks.c GHashTable *stonith_failures = NULL; NULL 642 crmd/te_callbacks.c const char *key = NULL; NULL 643 crmd/te_callbacks.c struct st_fail_rec *value = NULL; NULL 645 crmd/te_callbacks.c if (stonith_failures == NULL) { NULL 649 crmd/te_callbacks.c if (target == NULL) { NULL 659 crmd/te_callbacks.c if ((value != NULL) && (value->count >= stonith_max_attempts)) { NULL 680 crmd/te_callbacks.c if (stonith_failures == NULL) { NULL 685 crmd/te_callbacks.c struct st_fail_rec *rec = NULL; NULL 693 crmd/te_callbacks.c const char *key = NULL; NULL 694 crmd/te_callbacks.c struct st_fail_rec *rec = NULL; NULL 707 crmd/te_callbacks.c struct st_fail_rec *rec = NULL; NULL 709 crmd/te_callbacks.c if (stonith_failures == NULL) { NULL 718 crmd/te_callbacks.c if(rec == NULL) { NULL 751 crmd/te_callbacks.c char *uuid = NULL; NULL 755 crmd/te_callbacks.c crm_action_t *action = NULL; NULL 760 crmd/te_callbacks.c CRM_CHECK(userdata != NULL, return); NULL 785 crmd/te_callbacks.c if (action == NULL) { NULL 800 crmd/te_callbacks.c const char *value = NULL; NULL 801 crmd/te_callbacks.c char *now = crm_itoa(time(NULL)); NULL 803 crmd/te_callbacks.c update_attrd(target, CRM_ATTR_UNFENCED, now, NULL, FALSE); NULL 807 crmd/te_callbacks.c update_attrd(target, CRM_ATTR_DIGESTS_ALL, value, NULL, FALSE); NULL 810 crmd/te_callbacks.c update_attrd(target, CRM_ATTR_DIGESTS_SECURE, value, NULL, FALSE); NULL 840 crmd/te_callbacks.c abort_for_stonith_failure(abort_action, target, NULL); NULL 859 crmd/te_callbacks.c abort_transition(INFINITY, tg_shutdown, "CIB update failed", NULL); NULL 877 crmd/te_callbacks.c crm_action_timer_t *timer = NULL; NULL 879 crmd/te_callbacks.c CRM_CHECK(data != NULL, return FALSE); NULL 888 crmd/te_callbacks.c CRM_CHECK(timer->action != NULL, return FALSE); NULL 911 crmd/te_callbacks.c abort_transition(INFINITY, tg_restart, "Action lost", NULL); NULL 31 crmd/te_events.c char *failed_stop_offset = NULL; NULL 32 crmd/te_events.c char *failed_start_offset = NULL; NULL 37 crmd/te_events.c const char *target_uuid = NULL; NULL 38 crmd/te_events.c const char *router = NULL; NULL 39 crmd/te_events.c const char *router_uuid = NULL; NULL 40 crmd/te_events.c xmlNode *last_action = NULL; NULL 42 crmd/te_events.c GListPtr gIter = NULL; NULL 43 crmd/te_events.c GListPtr gIter2 = NULL; NULL 45 crmd/te_events.c if (graph == NULL || graph->complete) { NULL 50 crmd/te_events.c for (; gIter != NULL; gIter = gIter->next) { NULL 59 crmd/te_events.c for (; gIter2 != NULL; gIter2 = gIter2->next) { NULL 99 crmd/te_events.c if (last_action != NULL) { NULL 127 crmd/te_events.c char *task = NULL; NULL 128 crmd/te_events.c char *rsc_id = NULL; NULL 130 crmd/te_events.c const char *value = NULL; NULL 147 crmd/te_events.c CRM_CHECK(on_uname != NULL, return TRUE); NULL 150 crmd/te_events.c CRM_CHECK(task != NULL, goto bail); NULL 151 crmd/te_events.c CRM_CHECK(rsc_id != NULL, goto bail); NULL 160 crmd/te_events.c if (failed_start_offset == NULL) { NULL 167 crmd/te_events.c if (failed_stop_offset == NULL) { NULL 174 crmd/te_events.c if (value == NULL || safe_str_neq(value, INFINITY_S)) { NULL 179 crmd/te_events.c char *now = crm_itoa(time(NULL)); NULL 180 crmd/te_events.c char *attr_name = NULL; NULL 194 crmd/te_events.c update_attrd(on_uname, attr_name, value, NULL, is_remote_node); NULL 202 crmd/te_events.c update_attrd(on_uname, attr_name, now, NULL, is_remote_node); NULL 268 crmd/te_events.c const char *target = NULL; NULL 269 crmd/te_events.c const char *this_event = NULL; NULL 322 crmd/te_events.c GListPtr gIter = NULL; NULL 323 crmd/te_events.c GListPtr gIter2 = NULL; NULL 326 crmd/te_events.c for (; gIter != NULL; gIter = gIter->next) { NULL 330 crmd/te_events.c for (; gIter2 != NULL; gIter2 = gIter2->next) { NULL 343 crmd/te_events.c return NULL; NULL 349 crmd/te_events.c GListPtr gIter = NULL; NULL 350 crmd/te_events.c GListPtr gIter2 = NULL; NULL 353 crmd/te_events.c for (; gIter != NULL; gIter = gIter->next) { NULL 357 crmd/te_events.c for (; gIter2 != NULL; gIter2 = gIter2->next) { NULL 358 crmd/te_events.c const char *task = NULL; NULL 359 crmd/te_events.c const char *target = NULL; NULL 384 crmd/te_events.c return NULL; NULL 402 crmd/te_events.c crm_action_t *match = NULL; NULL 403 crmd/te_events.c xmlXPathObjectPtr xpath_ret = NULL; NULL 409 crmd/te_events.c gIter != NULL && match == NULL; NULL 413 crmd/te_events.c gIter2 != NULL && match == NULL; NULL 419 crmd/te_events.c match = NULL; NULL 427 crmd/te_events.c if (match != NULL) { NULL 447 crmd/te_events.c crm_action_t *action = NULL; NULL 451 crmd/te_events.c char *update_te_uuid = NULL; NULL 455 crmd/te_events.c const char *id = NULL; NULL 456 crmd/te_events.c const char *desc = NULL; NULL 457 crmd/te_events.c const char *magic = NULL; NULL 459 crmd/te_events.c CRM_ASSERT(event != NULL); NULL 471 crmd/te_events.c if (magic == NULL) { NULL 508 crmd/te_events.c if (action == NULL) { NULL 34 crmd/te_utils.c crm_trigger_t *stonith_reconnect = NULL; NULL 44 crmd/te_utils.c static GListPtr stonith_cleanup_list = NULL; NULL 68 crmd/te_utils.c while (iter != NULL) { NULL 89 crmd/te_utils.c GListPtr iter = NULL; NULL 91 crmd/te_utils.c for (iter = stonith_cleanup_list; iter != NULL; iter = iter->next) { NULL 98 crmd/te_utils.c stonith_cleanup_list = NULL; NULL 111 crmd/te_utils.c for (iter = stonith_cleanup_list; iter != NULL; iter = iter->next) { NULL 117 crmd/te_utils.c send_stonith_update(NULL, target, uuid); NULL 121 crmd/te_utils.c stonith_cleanup_list = NULL; NULL 129 crmd/te_utils.c GListPtr lpc = NULL; NULL 130 crmd/te_utils.c const char *task = NULL; NULL 131 crmd/te_utils.c xmlNode *last_action = NULL; NULL 133 crmd/te_utils.c if (graph == NULL) { NULL 137 crmd/te_utils.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { NULL 138 crmd/te_utils.c GListPtr lpc2 = NULL; NULL 145 crmd/te_utils.c for (lpc2 = synapse->actions; lpc2 != NULL; lpc2 = lpc2->next) { NULL 163 crmd/te_utils.c if (last_action != NULL) { NULL 165 crmd/te_utils.c abort_for_stonith_failure(tg_restart, NULL, last_action); NULL 198 crmd/te_utils.c char *te_client_id = NULL; NULL 208 crmd/te_utils.c if(te_client_id == NULL) { NULL 213 crmd/te_utils.c if (st_event == NULL) { NULL 330 crmd/te_utils.c const char *uuid = NULL; NULL 333 crmd/te_utils.c if (peer == NULL) { NULL 342 crmd/te_utils.c send_stonith_update(NULL, st_event->target, uuid); NULL 358 crmd/te_utils.c abort_transition(INFINITY, tg_restart, "External Fencing Operation", NULL); NULL 362 crmd/te_utils.c } else if (((fsa_our_dc == NULL) || safe_str_eq(fsa_our_dc, st_event->target)) NULL 374 crmd/te_utils.c send_stonith_update(NULL, st_event->target, uuid); NULL 398 crmd/te_utils.c if (stonith_api == NULL) { NULL 411 crmd/te_utils.c rc = stonith_api->cmds->connect(stonith_api, crm_system_name, NULL); NULL 417 crmd/te_utils.c if (user_data != NULL) { NULL 447 crmd/te_utils.c if (timer == NULL) { NULL 473 crmd/te_utils.c if (transition_graph == NULL) { NULL 540 crmd/te_utils.c xmlNode *diff = NULL; NULL 541 crmd/te_utils.c xmlNode *change = NULL; NULL 543 crmd/te_utils.c CRM_CHECK(transition_graph != NULL, return); NULL 562 crmd/te_utils.c fsa_pe_ref = NULL; NULL 571 crmd/te_utils.c xmlNode *search = NULL; NULL 591 crmd/te_utils.c if(reason == NULL) { NULL 596 crmd/te_utils.c } else if(change == NULL) { NULL 607 crmd/te_utils.c const char *kind = NULL; NULL 676 crmd/te_utils.c register_fsa_input(C_FSA_INTERNAL, I_PE_CALC, NULL); NULL 33 crmd/tengine.c struct crm_subsystem_s *te_subsystem = NULL; NULL 34 crmd/tengine.c stonith_t *stonith_api = NULL; NULL 44 crmd/tengine.c crm_graph_t *a_graph = unpack_graph(NULL, NULL); NULL 64 crmd/tengine.c transition_graph = NULL; NULL 91 crmd/tengine.c if (fsa_cib_conn == NULL) { NULL 143 crmd/tengine.c abort_transition(INFINITY, tg_restart, "Peer Cancelled", NULL); NULL 150 crmd/tengine.c abort_transition(INFINITY, tg_stop, "Peer Halt", NULL); NULL 156 crmd/tengine.c const char *value = NULL; NULL 157 crmd/tengine.c xmlNode *graph_data = NULL; NULL 163 crmd/tengine.c if (graph_file == NULL && input->xml == NULL) { NULL 165 crmd/tengine.c register_fsa_error(C_FSA_INTERNAL, I_FAIL, NULL); NULL 171 crmd/tengine.c abort_transition(INFINITY, tg_restart, "Transition Active", NULL); NULL 175 crmd/tengine.c if (fsa_pe_ref == NULL || safe_str_neq(fsa_pe_ref, ref)) { NULL 177 crmd/tengine.c abort_transition(INFINITY, tg_restart, "Transition Redundant", NULL); NULL 182 crmd/tengine.c if (graph_data == NULL && graph_file != NULL) { NULL 191 crmd/tengine.c CRM_CHECK(graph_data != NULL, NULL 198 crmd/tengine.c CRM_CHECK(transition_graph != NULL, transition_graph = create_blank_graph(); return); NULL 57 crmd/throttle.c static GHashTable *throttle_records = NULL; NULL 58 crmd/throttle.c static mainloop_timer_t *throttle_timer = NULL; NULL 75 crmd/throttle.c return pid? crm_strdup_printf("/proc/%d/stat", pid) : NULL; NULL 119 crmd/throttle.c static char *loadfile = NULL; NULL 125 crmd/throttle.c FILE *stream = NULL; NULL 126 crmd/throttle.c time_t now = time(NULL); NULL 128 crmd/throttle.c if(load == NULL) { NULL 134 crmd/throttle.c if(loadfile == NULL) { NULL 139 crmd/throttle.c if (loadfile == NULL) { NULL 148 crmd/throttle.c if(stream == NULL) { NULL 152 crmd/throttle.c free(loadfile); loadfile = NULL; NULL 207 crmd/throttle.c FILE *stream = NULL; NULL 210 crmd/throttle.c if(load == NULL) { NULL 215 crmd/throttle.c if(stream == NULL) { NULL 225 crmd/throttle.c *load = strtof(buffer, NULL); NULL 360 crmd/throttle.c xmlNode *xml = NULL; NULL 367 crmd/throttle.c xml = create_request(CRM_OP_THROTTLE, NULL, NULL, CRM_SYSTEM_CRMD, CRM_SYSTEM_CRMD, NULL); NULL 371 crmd/throttle.c send_cluster_message(NULL, crm_msg_crmd, xml, TRUE); NULL 422 crmd/throttle.c max = crm_int_helper(preference, NULL); NULL 431 crmd/throttle.c max = crm_int_helper(preference, NULL); NULL 440 crmd/throttle.c max = crm_int_helper(preference, NULL); NULL 450 crmd/throttle.c if(throttle_records == NULL) { NULL 452 crmd/throttle.c crm_str_hash, g_str_equal, NULL, throttle_record_free); NULL 453 crmd/throttle.c throttle_timer = mainloop_timer_add("throttle", 30 * 1000, TRUE, throttle_timer_cb, NULL); NULL 456 crmd/throttle.c throttle_update_job_max(NULL); NULL 463 crmd/throttle.c mainloop_timer_del(throttle_timer); throttle_timer = NULL; NULL 464 crmd/throttle.c g_hash_table_destroy(throttle_records); throttle_records = NULL; NULL 474 crmd/throttle.c struct throttle_record_s *r = NULL; NULL 478 crmd/throttle.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &r)) { NULL 512 crmd/throttle.c struct throttle_record_s *r = NULL; NULL 515 crmd/throttle.c if(r == NULL) { NULL 551 crmd/throttle.c struct throttle_record_s *r = NULL; NULL 559 crmd/throttle.c if(r == NULL) { NULL 61 crmd/utils.c register_fsa_input(cause, I_ELECTION, NULL); NULL 123 crmd/utils.c crm_write_blackbox(0, NULL); NULL 137 crmd/utils.c register_fsa_error_adv(C_FSA_INTERNAL, I_ELECTION, NULL, NULL, __FUNCTION__); NULL 140 crmd/utils.c register_fsa_input_before(C_TIMER_POPPED, timer->fsa_input, NULL); NULL 152 crmd/utils.c register_fsa_input(C_TIMER_POPPED, timer->fsa_input, NULL); NULL 204 crmd/utils.c if (timer == NULL) { NULL 226 crmd/utils.c const char *inputAsText = NULL; NULL 333 crmd/utils.c if (inputAsText == NULL) { NULL 344 crmd/utils.c const char *stateAsText = NULL; NULL 394 crmd/utils.c if (stateAsText == NULL) { NULL 405 crmd/utils.c const char *causeAsText = NULL; NULL 455 crmd/utils.c if (causeAsText == NULL) { NULL 466 crmd/utils.c const char *actionAsText = NULL; NULL 665 crmd/utils.c if (actionAsText == NULL) { NULL 679 crmd/utils.c if (text == NULL) { NULL 925 crmd/utils.c const char *dc_version = NULL; NULL 926 crmd/utils.c const char *welcome_from = NULL; NULL 928 crmd/utils.c if (msg != NULL) { NULL 934 crmd/utils.c CRM_CHECK(dc_version != NULL, return FALSE); NULL 935 crmd/utils.c CRM_CHECK(welcome_from != NULL, return FALSE); NULL 945 crmd/utils.c CRM_CHECK(fsa_our_dc != NULL, crm_err("We have no DC")); NULL 958 crmd/utils.c fsa_our_dc_version = NULL; NULL 960 crmd/utils.c fsa_our_dc = NULL; /* Free'd as last_dc */ NULL 962 crmd/utils.c if (welcome_from != NULL) { NULL 965 crmd/utils.c if (dc_version != NULL) { NULL 972 crmd/utils.c } else if (fsa_our_dc != NULL) { NULL 978 crmd/utils.c } else if (last_dc != NULL) { NULL 1007 crmd/utils.c call_id = fsa_cib_conn->cmds->delete(fsa_cib_conn, xpath, NULL, NULL 1016 crmd/utils.c if(full && peer->state == NULL) { NULL 1018 crmd/utils.c crm_update_peer_proc(__FUNCTION__, peer, crm_proc_none, NULL); NULL 48 fencing/admin.c { "help", no_argument, NULL, '?', NULL 51 fencing/admin.c { "version", no_argument, NULL, '$', NULL 54 fencing/admin.c { "verbose", no_argument, NULL, 'V', NULL 57 fencing/admin.c { "quiet", no_argument, NULL, 'q', NULL 61 fencing/admin.c { "-spacer-", no_argument, NULL, '-', "\nDevice definition commands:" }, NULL 63 fencing/admin.c { "register", required_argument, NULL, 'R', NULL 67 fencing/admin.c { "deregister", required_argument, NULL, 'D', NULL 70 fencing/admin.c { "register-level", required_argument, NULL, 'r', NULL 75 fencing/admin.c { "deregister-level", required_argument, NULL, 'd', NULL 80 fencing/admin.c { "-spacer-", no_argument, NULL, '-', "\nQueries:" }, NULL 82 fencing/admin.c { "list", required_argument, NULL, 'l', NULL 86 fencing/admin.c { "list-registered", no_argument, NULL, 'L', NULL 89 fencing/admin.c { "list-installed", no_argument, NULL, 'I', NULL 92 fencing/admin.c { "list-targets", required_argument, NULL, 's', NULL 96 fencing/admin.c { "metadata", no_argument, NULL, 'M', NULL 100 fencing/admin.c { "query", required_argument, NULL, 'Q', NULL 104 fencing/admin.c { "-spacer-", no_argument, NULL, '-', "\nFencing Commands:" }, NULL 106 fencing/admin.c { "fence", required_argument, NULL, 'F', NULL 109 fencing/admin.c { "unfence", required_argument, NULL, 'U', NULL 112 fencing/admin.c { "reboot", required_argument, NULL, 'B', NULL 115 fencing/admin.c { "confirm", required_argument, NULL, 'C', NULL 118 fencing/admin.c { "history", required_argument, NULL, 'H', NULL 124 fencing/admin.c { "last", required_argument, NULL, 'h', NULL 129 fencing/admin.c { "-spacer-", no_argument, NULL, '-', "\nAdditional Options:" }, NULL 131 fencing/admin.c { "agent", required_argument, NULL, 'a', NULL 135 fencing/admin.c { "option", required_argument, NULL, 'o', NULL 139 fencing/admin.c { "env-option", required_argument, NULL, 'e', NULL 145 fencing/admin.c { "tag", required_argument, NULL, 'T', NULL 150 fencing/admin.c { "device", required_argument, NULL, 'v', NULL 154 fencing/admin.c { "index", required_argument, NULL, 'i', NULL 158 fencing/admin.c { "timeout", required_argument, NULL, 't', NULL 162 fencing/admin.c { "as-node-id", no_argument, NULL, 'n', NULL 166 fencing/admin.c { "tolerance", required_argument, NULL, 0, NULL 172 fencing/admin.c { "list-all", no_argument, NULL, 'L', NULL, pcmk_option_hidden }, NULL 179 fencing/admin.c GMainLoop *mainloop = NULL; NULL 200 fencing/admin.c rc = st->cmds->connect(st, async_fence_data.name, NULL); NULL 265 fencing/admin.c st_opt_timeout_updates, NULL, "callback", fence_callback); NULL 282 fencing/admin.c trig = mainloop_add_trigger(G_PRIORITY_HIGH, async_fence_helper, NULL); NULL 295 fencing/admin.c char *node = NULL; NULL 296 fencing/admin.c char *pattern = NULL; NULL 297 fencing/admin.c char *name = NULL; NULL 301 fencing/admin.c if (value != NULL) { NULL 323 fencing/admin.c char *str = NULL; NULL 325 fencing/admin.c if (action == NULL) { NULL 351 fencing/admin.c stonith_history_t *history, *hp, *latest = NULL; NULL 355 fencing/admin.c (safe_str_eq(target, "*")? NULL : target), NULL 358 fencing/admin.c char *action_s = NULL; NULL 416 fencing/admin.c char *name = NULL; NULL 417 fencing/admin.c char *value = NULL; NULL 418 fencing/admin.c char *target = NULL; NULL 419 fencing/admin.c char *lists = NULL; NULL 420 fencing/admin.c const char *agent = NULL; NULL 421 fencing/admin.c const char *device = NULL; NULL 422 fencing/admin.c const char *longname = NULL; NULL 425 fencing/admin.c stonith_t *st = NULL; NULL 426 fencing/admin.c stonith_key_value_t *params = NULL; NULL 427 fencing/admin.c stonith_key_value_t *devices = NULL; NULL 428 fencing/admin.c stonith_key_value_t *dIter = NULL; NULL 431 fencing/admin.c crm_set_options(NULL, "<command> [<options>]", long_options, NULL 482 fencing/admin.c timeout = crm_atoi(optarg, NULL); NULL 507 fencing/admin.c fence_level = crm_atoi(optarg, NULL); NULL 510 fencing/admin.c devices = stonith_key_value_add(devices, NULL, optarg); NULL 522 fencing/admin.c free(value); value = NULL; NULL 523 fencing/admin.c free(name); name = NULL; NULL 530 fencing/admin.c if (env == NULL) { NULL 562 fencing/admin.c rc = st->cmds->connect(st, async_fence_data.name, NULL); NULL 570 fencing/admin.c rc = st->cmds->list_agents(st, st_opt_sync_call, NULL, &devices, timeout); NULL 599 fencing/admin.c rc = st->cmds->list(st, st_opts, device, NULL, timeout); NULL 644 fencing/admin.c if (agent == NULL) { NULL 648 fencing/admin.c char *buffer = NULL; NULL 650 fencing/admin.c rc = st->cmds->metadata(st, st_opt_sync_call, agent, NULL, &buffer, timeout); NULL 675 fencing/admin.c when = stonith_api_time(nodeid, NULL, FALSE); NULL 51 fencing/commands.c GHashTable *device_list = NULL; NULL 52 fencing/commands.c GHashTable *topology = NULL; NULL 53 fencing/commands.c GList *cmd_list = NULL; NULL 135 fencing/commands.c const char *value = NULL; NULL 153 fencing/commands.c const char *value = NULL; NULL 193 fencing/commands.c const char *value = NULL; NULL 244 fencing/commands.c async_command_t *cmd = NULL; NULL 248 fencing/commands.c CRM_CHECK(action != NULL, crm_log_xml_warn(msg, "NoAction"); return NULL); NULL 267 fencing/commands.c CRM_CHECK(cmd->op != NULL, crm_log_xml_warn(msg, "NoOp"); free_async_command(cmd); return NULL); NULL 268 fencing/commands.c CRM_CHECK(cmd->client != NULL, crm_log_xml_warn(msg, "NoClient")); NULL 278 fencing/commands.c const char *value = NULL; NULL 297 fencing/commands.c GListPtr gIter = NULL; NULL 298 fencing/commands.c GListPtr gIterNext = NULL; NULL 300 fencing/commands.c CRM_CHECK(device != NULL, return 0); NULL 302 fencing/commands.c for (gIter = cmd_list; gIter != NULL; gIter = gIterNext) { NULL 319 fencing/commands.c const char *action_str = NULL; NULL 320 fencing/commands.c async_command_t *cmd = NULL; NULL 321 fencing/commands.c stonith_action_t *action = NULL; NULL 325 fencing/commands.c CRM_CHECK(device != NULL, return FALSE); NULL 351 fencing/commands.c if (cmd == NULL) { NULL 367 fencing/commands.c cmd->done_cb(0, 0, NULL, cmd); NULL 383 fencing/commands.c cmd->done_cb(0, exec_rc, NULL, cmd); NULL 414 fencing/commands.c cmd->done_cb(0, exec_rc, NULL, cmd); NULL 429 fencing/commands.c stonith_device_t *device = NULL; NULL 432 fencing/commands.c device = cmd->device ? g_hash_table_lookup(device_list, cmd->device) : NULL; NULL 447 fencing/commands.c CRM_CHECK(cmd != NULL, return); NULL 448 fencing/commands.c CRM_CHECK(device != NULL, return); NULL 502 fencing/commands.c GListPtr gIter = NULL; NULL 508 fencing/commands.c for (gIter = device->pending_ops; gIter != NULL; gIter = gIter->next) { NULL 512 fencing/commands.c cmd->done_cb(0, -ENODEV, NULL, cmd); NULL 531 fencing/commands.c char *name = NULL; NULL 535 fencing/commands.c if (hostmap == NULL) { NULL 560 fencing/commands.c char *value = NULL; NULL 570 fencing/commands.c value = NULL; NULL 571 fencing/commands.c name = NULL; NULL 626 fencing/commands.c char *entry = NULL; NULL 633 fencing/commands.c if (entry == NULL) { NULL 640 fencing/commands.c entry = NULL; NULL 655 fencing/commands.c GListPtr output = NULL; NULL 657 fencing/commands.c if (hosts == NULL) { NULL 664 fencing/commands.c char *line = NULL; NULL 686 fencing/commands.c GHashTable *metadata_cache = NULL; NULL 691 fencing/commands.c xmlNode *xml = NULL; NULL 692 fencing/commands.c char *buffer = NULL; NULL 694 fencing/commands.c if(metadata_cache == NULL) { NULL 700 fencing/commands.c return NULL; NULL 702 fencing/commands.c } else if(buffer == NULL) { NULL 704 fencing/commands.c int rc = st->cmds->metadata(st, st_opt_sync_call, agent, NULL, &buffer, 10); NULL 709 fencing/commands.c return NULL; NULL 722 fencing/commands.c xmlXPathObjectPtr xpath = NULL; NULL 749 fencing/commands.c if (actions == NULL) { NULL 766 fencing/commands.c xmlXPathObjectPtr xpath = NULL; NULL 770 fencing/commands.c if (device->agent_metadata == NULL) { NULL 783 fencing/commands.c const char *on_target = NULL; NULL 784 fencing/commands.c const char *action = NULL; NULL 787 fencing/commands.c CRM_LOG_ASSERT(match != NULL); NULL 788 fencing/commands.c if(match == NULL) { continue; }; NULL 861 fencing/commands.c if (value != NULL) { NULL 889 fencing/commands.c const char *value = NULL; NULL 891 fencing/commands.c stonith_device_t *device = NULL; NULL 938 fencing/commands.c const char *check_type = NULL; NULL 942 fencing/commands.c if (check_type == NULL) { NULL 970 fencing/commands.c async_command_t *cmd = NULL; NULL 978 fencing/commands.c cmd->victim = victim ? strdup(victim) : NULL; NULL 1013 fencing/commands.c stonith_device_t *dev = cmd->device ? g_hash_table_lookup(device_list, cmd->device) : NULL; NULL 1019 fencing/commands.c search_devices_record_result(search, NULL, FALSE); NULL 1044 fencing/commands.c stonith_device_t *dev = cmd->device ? g_hash_table_lookup(device_list, cmd->device) : NULL; NULL 1055 fencing/commands.c search_devices_record_result(search, NULL, FALSE); NULL 1068 fencing/commands.c dev->targets = NULL; NULL 1073 fencing/commands.c dev->targets_age = time(NULL); NULL 1095 fencing/commands.c char *key = NULL; NULL 1096 fencing/commands.c char *value = NULL; NULL 1130 fencing/commands.c return NULL; NULL 1134 fencing/commands.c return NULL; NULL 1140 fencing/commands.c return NULL; NULL 1150 fencing/commands.c stonith_device_t *dup = NULL; NULL 1171 fencing/commands.c old->pending_ops = NULL; NULL 1239 fencing/commands.c if (tp->levels[lpc] != NULL) { NULL 1254 fencing/commands.c if (tp->levels[lpc] != NULL) { NULL 1295 fencing/commands.c if(target == NULL) { NULL 1300 fencing/commands.c if(stand_alone == FALSE && target == NULL) { NULL 1304 fencing/commands.c if(crm_element_value(level, XML_ATTR_STONITH_TARGET_ATTRIBUTE) == NULL) { NULL 1307 fencing/commands.c } else if(crm_element_value(level, XML_ATTR_STONITH_TARGET_VALUE) == NULL) { NULL 1321 fencing/commands.c stonith_key_value_t *output = NULL; NULL 1323 fencing/commands.c if (devices == NULL) { NULL 1330 fencing/commands.c char *line = NULL; NULL 1334 fencing/commands.c output = stonith_key_value_add(output, NULL, line); NULL 1367 fencing/commands.c stonith_key_value_t *dIter = NULL; NULL 1368 fencing/commands.c stonith_key_value_t *devices = NULL; NULL 1379 fencing/commands.c CRM_CHECK(level != NULL, return -EINVAL); NULL 1399 fencing/commands.c if (tp == NULL) { NULL 1414 fencing/commands.c if (tp->levels[id] != NULL) { NULL 1443 fencing/commands.c CRM_CHECK(level != NULL, return -EINVAL); NULL 1458 fencing/commands.c if (tp == NULL) { NULL 1466 fencing/commands.c } else if (id > 0 && tp->levels[id] != NULL) { NULL 1468 fencing/commands.c tp->levels[id] = NULL; NULL 1485 fencing/commands.c async_command_t *cmd = NULL; NULL 1486 fencing/commands.c stonith_device_t *device = NULL; NULL 1498 fencing/commands.c if (cmd == NULL) { NULL 1571 fencing/commands.c const char *check_type = NULL; NULL 1573 fencing/commands.c const char *alias = NULL; NULL 1575 fencing/commands.c CRM_LOG_ASSERT(dev != NULL); NULL 1577 fencing/commands.c if (dev == NULL) { NULL 1579 fencing/commands.c } else if (host == NULL) { NULL 1602 fencing/commands.c if (alias == NULL) { NULL 1625 fencing/commands.c time_t now = time(NULL); NULL 1627 fencing/commands.c if (dev->targets == NULL || dev->targets_age + 60 < now) { NULL 1631 fencing/commands.c schedule_internal_command(__FUNCTION__, dev, "list", NULL, NULL 1661 fencing/commands.c search_devices_record_result(search, dev ? dev->id : NULL, can); NULL 1681 fencing/commands.c char *key = NULL; NULL 1682 fencing/commands.c const char *check_type = NULL; NULL 1684 fencing/commands.c stonith_device_t *device = NULL; NULL 1687 fencing/commands.c callback(NULL, user_data); NULL 1693 fencing/commands.c callback(NULL, user_data); NULL 1722 fencing/commands.c search->host = host ? strdup(host) : NULL; NULL 1723 fencing/commands.c search->action = action ? strdup(action) : NULL; NULL 1852 fencing/commands.c xmlNode *dev = NULL; NULL 1853 fencing/commands.c xmlNode *list = NULL; NULL 1854 fencing/commands.c GListPtr lpc = NULL; NULL 1857 fencing/commands.c list = create_xml_node(NULL, __FUNCTION__); NULL 1859 fencing/commands.c for (lpc = devices; lpc != NULL; lpc = lpc->next) { NULL 1909 fencing/commands.c if (query->target == NULL) { NULL 1923 fencing/commands.c if (list != NULL) { NULL 1942 fencing/commands.c struct st_query_data *query = NULL; NULL 1943 fencing/commands.c const char *action = NULL; NULL 1944 fencing/commands.c const char *target = NULL; NULL 1963 fencing/commands.c query->reply = stonith_construct_reply(msg, NULL, NULL, pcmk_ok); NULL 1964 fencing/commands.c query->remote_peer = remote_peer ? strdup(remote_peer) : NULL; NULL 1965 fencing/commands.c query->client_id = client_id ? strdup(client_id) : NULL; NULL 1966 fencing/commands.c query->target = target ? strdup(target) : NULL; NULL 1967 fencing/commands.c query->action = action ? strdup(action) : NULL; NULL 1980 fencing/commands.c next = NULL; NULL 1983 fencing/commands.c if (cmd->victim != NULL) { NULL 2007 fencing/commands.c xmlNode *reply = NULL; NULL 2010 fencing/commands.c reply = stonith_construct_async_reply(cmd, output, NULL, rc); NULL 2015 fencing/commands.c output = NULL; NULL 2027 fencing/commands.c log_operation(cmd, rc, pid, NULL, output); NULL 2032 fencing/commands.c send_cluster_message(NULL, crm_msg_stonith_ng, reply, FALSE); NULL 2046 fencing/commands.c xmlNode *notify_data = create_xml_node(NULL, T_STONITH_NOTIFY_FENCE); NULL 2068 fencing/commands.c log_operation(cmd, rc, pid, NULL, output); NULL 2070 fencing/commands.c cmd->active_on = NULL; NULL 2088 fencing/commands.c CRM_CHECK(cmd != NULL, return); NULL 2105 fencing/commands.c stonith_device_t *device = NULL; NULL 2106 fencing/commands.c stonith_device_t *next_device = NULL; NULL 2109 fencing/commands.c GListPtr gIter = NULL; NULL 2110 fencing/commands.c GListPtr gIterNext = NULL; NULL 2112 fencing/commands.c CRM_CHECK(cmd != NULL, return); NULL 2114 fencing/commands.c cmd->active_on = NULL; NULL 2135 fencing/commands.c for (iter = cmd->device_next; iter != NULL; iter = iter->next) { NULL 2138 fencing/commands.c if (next_device != NULL && is_action_required(cmd->action, next_device)) { NULL 2142 fencing/commands.c next_device = NULL; NULL 2158 fencing/commands.c cmd = NULL; NULL 2172 fencing/commands.c for (gIter = cmd_list; gIter != NULL; gIter = gIterNext) { NULL 2238 fencing/commands.c stonith_device_t *device = NULL; NULL 2250 fencing/commands.c devices = NULL; /* list owned by cmd now */ NULL 2262 fencing/commands.c stonith_send_async_reply(cmd, NULL, -ENODEV, 0); NULL 2271 fencing/commands.c const char *device_id = NULL; NULL 2272 fencing/commands.c stonith_device_t *device = NULL; NULL 2276 fencing/commands.c if (cmd == NULL) { NULL 2283 fencing/commands.c if (device == NULL) { NULL 2291 fencing/commands.c char *nodename = NULL; NULL 2294 fencing/commands.c int nodeid = crm_atoi(host, NULL); NULL 2316 fencing/commands.c xmlNode *reply = NULL; NULL 2318 fencing/commands.c const char *name = NULL; NULL 2319 fencing/commands.c const char *value = NULL; NULL 2331 fencing/commands.c reply = create_xml_node(NULL, T_STONITH_REPLY); NULL 2338 fencing/commands.c CRM_CHECK(request != NULL, crm_warn("Can't create a sane reply"); return reply); NULL 2345 fencing/commands.c if (data != NULL) { NULL 2355 fencing/commands.c xmlNode *reply = NULL; NULL 2358 fencing/commands.c reply = create_xml_node(NULL, T_STONITH_REPLY); NULL 2378 fencing/commands.c if (data != NULL) { NULL 2387 fencing/commands.c if (peer == NULL) { NULL 2389 fencing/commands.c } else if (peer->uname == NULL) { NULL 2408 fencing/commands.c const char *alternate_host = NULL; NULL 2413 fencing/commands.c crm_node_t *entry = NULL; NULL 2416 fencing/commands.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&entry)) { NULL 2424 fencing/commands.c if (alternate_host == NULL) { NULL 2427 fencing/commands.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&entry)) { NULL 2443 fencing/commands.c do_local_reply(reply, client_id, is_set(call_options, st_opt_sync_call), remote_peer != NULL); NULL 2454 fencing/commands.c xmlNode *data = NULL; NULL 2455 fencing/commands.c xmlNode *reply = NULL; NULL 2457 fencing/commands.c char *output = NULL; NULL 2464 fencing/commands.c CRM_ASSERT(client == NULL || client->request_id == id); NULL 2468 fencing/commands.c xmlNode *reply = create_xml_node(NULL, "reply"); NULL 2498 fencing/commands.c const char *flag_name = NULL; NULL 2527 fencing/commands.c if (initiate_remote_stonith_op(NULL, request, FALSE) != NULL) { NULL 2537 fencing/commands.c remote_fencing_op_t *rop = NULL; NULL 2546 fencing/commands.c const char *alternate_host = NULL; NULL 2573 fencing/commands.c const char *client_id = NULL; NULL 2592 fencing/commands.c } else if (initiate_remote_stonith_op(client, request, FALSE) != NULL) { NULL 2601 fencing/commands.c const char *device_id = NULL; NULL 2614 fencing/commands.c char *device_id = NULL; NULL 2621 fencing/commands.c char *device_id = NULL; NULL 2628 fencing/commands.c xmlNode *reply = stonith_construct_async_reply(cmd, NULL, NULL, 0); NULL 2632 fencing/commands.c send_cluster_message(NULL, crm_msg_stonith_ng, reply, FALSE); NULL 2639 fencing/commands.c const char *name = NULL; NULL 2663 fencing/commands.c CRM_ASSERT(client == NULL || client->request_id == id); NULL 2722 fencing/commands.c CRM_ASSERT(client == NULL || client->request_id == id); NULL 77 fencing/config.y int priority = crm_atoi($3, NULL); NULL 101 fencing/config.y add_line_value(NULL, $1); NULL 209 fencing/config.y NULL); NULL 52 fencing/main.c char *stonith_our_uname = NULL; NULL 53 fencing/main.c char *stonith_our_uuid = NULL; NULL 56 fencing/main.c GMainLoop *mainloop = NULL; NULL 62 fencing/main.c qb_ipcs_service_t *ipcs = NULL; NULL 63 fencing/main.c xmlNode *local_cib = NULL; NULL 65 fencing/main.c GHashTable *known_peer_names = NULL; NULL 67 fencing/main.c static cib_t *cib_api = NULL; NULL 68 fencing/main.c static void *cib_library = NULL; NULL 81 fencing/main.c if (crm_client_new(c, uid, gid) == NULL) { NULL 100 fencing/main.c xmlNode *request = NULL; NULL 102 fencing/main.c const char *op = NULL; NULL 104 fencing/main.c if (c == NULL) { NULL 110 fencing/main.c if (request == NULL) { NULL 124 fencing/main.c send_cluster_message(NULL, crm_msg_stonith_ng, request, FALSE); NULL 129 fencing/main.c if (c->name == NULL) { NULL 132 fencing/main.c if (value == NULL) { NULL 152 fencing/main.c stonith_command(c, id, flags, request, NULL); NULL 164 fencing/main.c if (client == NULL) { NULL 193 fencing/main.c stonith_command(NULL, 0, 0, msg, remote_peer); NULL 200 fencing/main.c xmlNode *xml = convert_ha_message(NULL, msg, __FUNCTION__); NULL 225 fencing/main.c xmlNode *xml = NULL; NULL 226 fencing/main.c const char *from = NULL; NULL 229 fencing/main.c if(data == NULL) { NULL 234 fencing/main.c if (xml == NULL) { NULL 241 fencing/main.c stonith_peer_callback(xml, NULL); NULL 261 fencing/main.c crm_client_t *client_obj = NULL; NULL 268 fencing/main.c if (client_obj == NULL) { NULL 292 fencing/main.c if (local_rc < pcmk_ok && client_obj != NULL) { NULL 320 fencing/main.c const char *type = NULL; NULL 322 fencing/main.c CRM_CHECK(client != NULL, return); NULL 323 fencing/main.c CRM_CHECK(update_msg != NULL, return); NULL 326 fencing/main.c CRM_CHECK(type != NULL, crm_log_xml_err(update_msg, "notify"); return); NULL 328 fencing/main.c if (client->ipcs == NULL) { NULL 349 fencing/main.c crm_client_t *client = NULL; NULL 350 fencing/main.c xmlNode *notify_data = NULL; NULL 361 fencing/main.c notify_data = create_xml_node(NULL, T_STONITH_TIMEOUT_VALUE); NULL 379 fencing/main.c xmlNode *update_msg = create_xml_node(NULL, "notify"); NULL 381 fencing/main.c CRM_CHECK(type != NULL,;); NULL 388 fencing/main.c if (data != NULL) { NULL 402 fencing/main.c xmlNode *notify_data = create_xml_node(NULL, op); NULL 404 fencing/main.c CRM_CHECK(notify_data != NULL, return); NULL 429 fencing/main.c char *desc = NULL; NULL 430 fencing/main.c xmlNode *data = create_xml_node(NULL, XML_TAG_FENCING_LEVEL); NULL 449 fencing/main.c const char *rsc_id = NULL; NULL 450 fencing/main.c const char *standard = NULL; NULL 453 fencing/main.c CRM_LOG_ASSERT(match != NULL); NULL 454 fencing/main.c if(match != NULL) { NULL 472 fencing/main.c char *desc = NULL; NULL 474 fencing/main.c CRM_CHECK(match != NULL, return); NULL 500 fencing/main.c CRM_LOG_ASSERT(match != NULL); NULL 507 fencing/main.c if (target == NULL) { NULL 555 fencing/main.c xmlXPathObjectPtr xpathObj = NULL; NULL 562 fencing/main.c topology = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, free_topology_entry); NULL 586 fencing/main.c node_t *node = NULL; NULL 590 fencing/main.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 594 fencing/main.c node = NULL; NULL 610 fencing/main.c node_t *node = NULL; NULL 611 fencing/main.c const char *value = NULL; NULL 612 fencing/main.c const char *rclass = NULL; NULL 613 fencing/main.c node_t *parent = NULL; NULL 620 fencing/main.c GListPtr gIter = NULL; NULL 621 fencing/main.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 650 fencing/main.c if(node == NULL) { NULL 656 fencing/main.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 675 fencing/main.c stonith_key_value_t *params = NULL; NULL 677 fencing/main.c const char *name = NULL; NULL 680 fencing/main.c const char *rsc_provides = NULL; NULL 699 fencing/main.c stonith_device_register(data, NULL, TRUE); NULL 721 fencing/main.c GListPtr gIter = NULL; NULL 731 fencing/main.c data_set.now = crm_time_new(NULL); NULL 736 fencing/main.c do_calculations(&data_set, NULL, NULL); NULL 738 fencing/main.c for (gIter = data_set.resources; gIter != NULL; gIter = gIter->next) { NULL 741 fencing/main.c data_set.input = NULL; /* Wasn't a copy */ NULL 748 fencing/main.c xmlNode *change = NULL; NULL 749 fencing/main.c char *reason = NULL; NULL 753 fencing/main.c for (change = __xml_first_child(patchset); change != NULL; change = __xml_next(change)) { NULL 756 fencing/main.c const char *shortpath = NULL; NULL 758 fencing/main.c if(op == NULL || strcmp(op, "move") == 0) { NULL 762 fencing/main.c const char *rsc_id = NULL; NULL 763 fencing/main.c char *search = NULL; NULL 764 fencing/main.c char *mutable = NULL; NULL 772 fencing/main.c if (rsc_id != NULL) { NULL 776 fencing/main.c if (search != NULL) { NULL 813 fencing/main.c xmlXPathObjectPtr xpath_obj = NULL; NULL 845 fencing/main.c const char *rsc_id = NULL; NULL 846 fencing/main.c const char *standard = NULL; NULL 909 fencing/main.c CRM_CHECK(local_cib != NULL, return FALSE); NULL 923 fencing/main.c return (match != NULL); NULL 931 fencing/main.c xmlXPathObjectPtr xpathObj = NULL; NULL 953 fencing/main.c xmlNode *change = NULL; NULL 959 fencing/main.c for (change = __xml_first_child(patchset); change != NULL; change = __xml_next(change)) { NULL 963 fencing/main.c if(op == NULL) { NULL 966 fencing/main.c } else if(strstr(xpath, "/" XML_TAG_FENCING_LEVEL) != NULL) { NULL 991 fencing/main.c } else if (strstr(xpath, "/" XML_TAG_FENCING_TOPOLOGY) != NULL) { NULL 1000 fencing/main.c if(first_named_child(change, XML_TAG_FENCING_TOPOLOGY) == NULL) { NULL 1027 fencing/main.c xmlNode *stonith_enabled_xml = NULL; NULL 1028 fencing/main.c xmlNode *stonith_watchdog_xml = NULL; NULL 1029 fencing/main.c const char *stonith_enabled_s = NULL; NULL 1036 fencing/main.c } else if(msg == NULL) { NULL 1044 fencing/main.c if (local_cib != NULL) { NULL 1046 fencing/main.c xmlNode *patchset = NULL; NULL 1064 fencing/main.c local_cib = NULL; NULL 1069 fencing/main.c local_cib = NULL; NULL 1073 fencing/main.c if (local_cib == NULL) { NULL 1075 fencing/main.c rc = cib_api->cmds->query(cib_api, NULL, &local_cib, cib_scope_local | cib_sync_call); NULL 1080 fencing/main.c CRM_ASSERT(local_cib != NULL); NULL 1089 fencing/main.c if (stonith_enabled_s == NULL || crm_is_true(stonith_enabled_s)) { NULL 1091 fencing/main.c const char *value = NULL; NULL 1145 fencing/main.c if (mainloop != NULL && g_main_is_running(mainloop)) { NULL 1180 fencing/main.c known_peer_names = NULL; NULL 1205 fencing/main.c static cib_t *(*cib_new_fn) (void) = NULL; NULL 1207 fencing/main.c if (cib_new_fn == NULL) { NULL 1211 fencing/main.c if (cib_new_fn != NULL) { NULL 1215 fencing/main.c if (cib_api == NULL) { NULL 1233 fencing/main.c rc = cib_api->cmds->query(cib_api, NULL, NULL, cib_scope_local); NULL 1234 fencing/main.c cib_api->cmds->register_callback(cib_api, rc, 120, FALSE, NULL, "init_cib_cache_cb", NULL 1261 fencing/main.c xmlNode *query = NULL; NULL 1271 fencing/main.c query = create_xml_node(NULL, "stonith_command"); NULL 1278 fencing/main.c send_cluster_message(NULL, crm_msg_stonith_ng, query, FALSE); NULL 1296 fencing/main.c crm_set_options(NULL, "mode [options]", long_options, NULL 1462 fencing/main.c known_peer_names = g_hash_table_new_full(g_direct_hash, g_direct_equal, NULL, free); NULL 1466 fencing/main.c cluster.hb_conn = NULL; NULL 1518 fencing/main.c device_list = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, free_device); NULL 1520 fencing/main.c topology = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, free_topology_entry); NULL 1524 fencing/main.c stonith_key_value_t *params = NULL; NULL 1528 fencing/main.c xml = create_device_registration_xml("watchdog", "internal", STONITH_WATCHDOG_AGENT, params, NULL); NULL 1529 fencing/main.c stonith_device_register(xml, NULL, FALSE); NULL 85 fencing/remote.c GHashTable *remote_op_list = NULL; NULL 182 fencing/remote.c && !props->disallowed[op->phase])? props : NULL; NULL 202 fencing/remote.c if ((props == NULL) || (verified_devices_only && !props->verified)) { NULL 251 fencing/remote.c op->request = NULL; NULL 255 fencing/remote.c op->devices_list = NULL; NULL 303 fencing/remote.c GListPtr iter = NULL; NULL 313 fencing/remote.c for (iter = op->automatic_list; iter != NULL; iter = iter->next) { NULL 322 fencing/remote.c op->automatic_list = NULL; NULL 348 fencing/remote.c xmlNode *notify_data = create_xml_node(NULL, T_STONITH_NOTIFY_FENCE); NULL 367 fencing/remote.c xmlNode *bcast = create_xml_node(NULL, T_STONITH_REPLY); NULL 377 fencing/remote.c send_cluster_message(NULL, crm_msg_stonith_ng, bcast, FALSE); NULL 387 fencing/remote.c xmlNode *notify_data = NULL; NULL 388 fencing/remote.c xmlNode *reply = NULL; NULL 401 fencing/remote.c reply = stonith_construct_reply(op->request, NULL, data, rc); NULL 419 fencing/remote.c GListPtr iter = NULL; NULL 421 fencing/remote.c for (iter = op->duplicates; iter != NULL; iter = iter->next) { NULL 467 fencing/remote.c const char *subt = NULL; NULL 468 fencing/remote.c xmlNode *local_data = NULL; NULL 470 fencing/remote.c op->completed = time(NULL); NULL 490 fencing/remote.c if (data == NULL) { NULL 491 fencing/remote.c data = create_xml_node(NULL, "remote-op"); NULL 527 fencing/remote.c op->query_results = NULL; NULL 532 fencing/remote.c op->request = NULL; NULL 549 fencing/remote.c remote_op_done(op, NULL, pcmk_ok, FALSE); NULL 562 fencing/remote.c call_remote_stonith(op, NULL); NULL 587 fencing/remote.c remote_op_done(op, NULL, pcmk_ok, FALSE); NULL 593 fencing/remote.c remote_op_done(op, NULL, -ETIME, FALSE); NULL 610 fencing/remote.c call_remote_stonith(op, NULL); NULL 628 fencing/remote.c if (tp == NULL) { NULL 633 fencing/remote.c if (tp->levels[i] != NULL) { NULL 680 fencing/remote.c GListPtr lpc = NULL; NULL 684 fencing/remote.c op->devices_list = NULL; NULL 686 fencing/remote.c for (lpc = devices; lpc != NULL; lpc = lpc->next) { NULL 728 fencing/remote.c int status = regexec(&r_patt, node, 0, NULL, 0); NULL 751 fencing/remote.c if(tp != NULL) { NULL 757 fencing/remote.c while (g_hash_table_iter_next(&tIter, NULL, (gpointer *) & tp)) { NULL 765 fencing/remote.c return NULL; NULL 780 fencing/remote.c stonith_topology_t *tp = NULL; NULL 798 fencing/remote.c } while (op->level < ST_LEVEL_MAX && tp->levels[op->level] == NULL); NULL 831 fencing/remote.c remote_fencing_op_t *other = NULL; NULL 833 fencing/remote.c time_t now = time(NULL); NULL 836 fencing/remote.c while (g_hash_table_iter_next(&iter, NULL, (void **)&other)) { NULL 837 fencing/remote.c crm_node_t *peer = NULL; NULL 879 fencing/remote.c TIMEOUT_MULTIPLY_FACTOR * get_op_total_timeout(op, NULL); NULL 897 fencing/remote.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&entry)) { NULL 911 fencing/remote.c op->completed = time(NULL); NULL 926 fencing/remote.c crm_node_t *node = crm_find_peer(nodeid, NULL); NULL 927 fencing/remote.c char *nodename = NULL; NULL 944 fencing/remote.c return NULL; NULL 961 fencing/remote.c remote_fencing_op_t *op = NULL; NULL 965 fencing/remote.c if (remote_op_list == NULL) { NULL 966 fencing/remote.c remote_op_list = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, free_remote_op); NULL 974 fencing/remote.c CRM_CHECK(op_id != NULL, return NULL); NULL 994 fencing/remote.c CRM_LOG_ASSERT(g_hash_table_lookup(remote_op_list, op->id) != NULL); NULL 1002 fencing/remote.c op->created = time(NULL); NULL 1004 fencing/remote.c if (op->originator == NULL) { NULL 1009 fencing/remote.c CRM_LOG_ASSERT(client != NULL); NULL 1028 fencing/remote.c int nodeid = crm_atoi(op->target, NULL); NULL 1053 fencing/remote.c xmlNode *query = NULL; NULL 1054 fencing/remote.c const char *client_id = NULL; NULL 1055 fencing/remote.c remote_fencing_op_t *op = NULL; NULL 1063 fencing/remote.c CRM_LOG_ASSERT(client_id != NULL); NULL 1072 fencing/remote.c CRM_CHECK(op->action, return NULL); NULL 1082 fencing/remote.c remote_op_done(op, NULL, -EINVAL, FALSE); NULL 1097 fencing/remote.c NULL, op->call_options); NULL 1107 fencing/remote.c send_cluster_message(NULL, crm_msg_stonith_ng, query, FALSE); NULL 1128 fencing/remote.c GListPtr iter = NULL; NULL 1132 fencing/remote.c return NULL; NULL 1135 fencing/remote.c for (iter = op->query_results; iter != NULL; iter = iter->next) { NULL 1162 fencing/remote.c return NULL; NULL 1168 fencing/remote.c const char *device = NULL; NULL 1169 fencing/remote.c st_query_result_t *peer = NULL; NULL 1191 fencing/remote.c return NULL; NULL 1221 fencing/remote.c return NULL; NULL 1295 fencing/remote.c GListPtr device_list = NULL; NULL 1296 fencing/remote.c GListPtr iter = NULL; NULL 1310 fencing/remote.c for (iter = op->query_results; iter != NULL; iter = iter->next) { NULL 1334 fencing/remote.c GListPtr iter = NULL; NULL 1335 fencing/remote.c xmlNode *update = NULL; NULL 1336 fencing/remote.c const char *client_node = NULL; NULL 1337 fencing/remote.c const char *client_id = NULL; NULL 1338 fencing/remote.c const char *call_id = NULL; NULL 1365 fencing/remote.c update = stonith_create_op(op->client_callid, op->id, STONITH_OP_TIMEOUT_UPDATE, NULL, 0); NULL 1375 fencing/remote.c for (iter = op->duplicates; iter != NULL; iter = iter->next) { NULL 1409 fencing/remote.c if (op->devices == NULL) { NULL 1414 fencing/remote.c if ((op->devices == NULL) && (op->phase == st_phase_off)) { NULL 1426 fencing/remote.c call_remote_stonith(op, NULL); NULL 1438 fencing/remote.c const char *device = NULL; NULL 1442 fencing/remote.c if (peer == NULL && !is_set(op->call_options, st_opt_topology)) { NULL 1469 fencing/remote.c xmlNode *remote_op = stonith_create_op(op->client_callid, op->id, STONITH_OP_FENCE, NULL, 0); NULL 1532 fencing/remote.c advance_op_topology(op, device, NULL, pcmk_ok); NULL 1553 fencing/remote.c if(stonith_watchdog_timeout_ms && (device == NULL || safe_str_eq(device, "watchdog"))) { NULL 1575 fencing/remote.c remote_op_done(op, NULL, rc, FALSE); NULL 1613 fencing/remote.c GListPtr device = NULL; NULL 1614 fencing/remote.c GListPtr iter = NULL; NULL 1615 fencing/remote.c device_properties_t *match = NULL; NULL 1616 fencing/remote.c stonith_topology_t *tp = NULL; NULL 1632 fencing/remote.c match = NULL; NULL 1728 fencing/remote.c CRM_ASSERT(props != NULL); NULL 1742 fencing/remote.c for (child = __xml_first_child(xml); child != NULL; child = __xml_next(child)) { NULL 1774 fencing/remote.c CRM_CHECK(result != NULL, return NULL); NULL 1779 fencing/remote.c for (child = __xml_first_child(xml); child != NULL; child = __xml_next(child)) { NULL 1816 fencing/remote.c const char *id = NULL; NULL 1817 fencing/remote.c const char *host = NULL; NULL 1818 fencing/remote.c remote_fencing_op_t *op = NULL; NULL 1819 fencing/remote.c st_query_result_t *result = NULL; NULL 1823 fencing/remote.c CRM_CHECK(dev != NULL, return -EPROTO); NULL 1826 fencing/remote.c CRM_CHECK(id != NULL, return -EPROTO); NULL 1829 fencing/remote.c CRM_CHECK(dev != NULL, return -EPROTO); NULL 1833 fencing/remote.c if (op == NULL) { NULL 1865 fencing/remote.c call_remote_stonith(op, NULL); NULL 1881 fencing/remote.c call_remote_stonith(op, NULL); NULL 1910 fencing/remote.c const char *id = NULL; NULL 1911 fencing/remote.c const char *device = NULL; NULL 1912 fencing/remote.c remote_fencing_op_t *op = NULL; NULL 1915 fencing/remote.c CRM_CHECK(dev != NULL, return -EPROTO); NULL 1918 fencing/remote.c CRM_CHECK(id != NULL, return -EPROTO); NULL 1921 fencing/remote.c CRM_CHECK(dev != NULL, return -EPROTO); NULL 1931 fencing/remote.c if (op == NULL && rc == pcmk_ok) { NULL 1938 fencing/remote.c if (op == NULL) { NULL 2009 fencing/remote.c } else if (rc == pcmk_ok && op->devices == NULL) { NULL 2015 fencing/remote.c } else if (rc == -ETIME && op->devices == NULL) { NULL 2027 fencing/remote.c call_remote_stonith(op, NULL); NULL 2035 fencing/remote.c const char *target = NULL; NULL 2037 fencing/remote.c char *nodename = NULL; NULL 2045 fencing/remote.c int nodeid = crm_atoi(target, NULL); NULL 2056 fencing/remote.c *output = create_xml_node(NULL, F_STONITH_HISTORY_LIST); NULL 2059 fencing/remote.c remote_fencing_op_t *op = NULL; NULL 2062 fencing/remote.c while (g_hash_table_iter_next(&iter, NULL, (void **)&op)) { NULL 2063 fencing/remote.c xmlNode *entry = NULL; NULL 2090 fencing/remote.c time_t now = time(NULL); NULL 2091 fencing/remote.c remote_fencing_op_t *rop = NULL; NULL 2095 fencing/remote.c if (tolerance <= 0 || !remote_op_list || target == NULL || action == NULL) { NULL 2100 fencing/remote.c while (g_hash_table_iter_next(&iter, NULL, (void **)&rop)) { NULL 60 fencing/standalone_config.c struct device *dev = NULL; NULL 62 fencing/standalone_config.c for (dev = dev_list; dev != NULL; dev = dev->next) { NULL 74 fencing/standalone_config.c struct topology *topo = NULL; NULL 76 fencing/standalone_config.c for (topo = topo_list; topo != NULL; topo = topo->next) { NULL 102 fencing/standalone_config.c struct device *dev = NULL; NULL 193 fencing/standalone_config.c struct topology *topo = NULL; NULL 222 fencing/standalone_config.c struct topology *topo = NULL; NULL 242 fencing/standalone_config.c struct device *dev = NULL; NULL 266 fencing/standalone_config.c stonith_key_value_t *devices = NULL; NULL 273 fencing/standalone_config.c devices = stonith_key_value_add(devices, NULL, topo->priority_levels[i].device_name); NULL 275 fencing/standalone_config.c data = create_level_registration_xml(topo->node_name, NULL, NULL, NULL, NULL 281 fencing/standalone_config.c res |= stonith_level_register(data, NULL); NULL 293 fencing/standalone_config.c stonith_key_value_t *params = NULL; NULL 316 fencing/standalone_config.c res = stonith_device_register(data, NULL, FALSE); NULL 327 fencing/standalone_config.c struct device *dev = NULL; NULL 328 fencing/standalone_config.c struct topology *topo = NULL; NULL 330 fencing/standalone_config.c for (dev = dev_list; dev != NULL; dev = dev->next) { NULL 334 fencing/standalone_config.c for (topo = topo_list; topo != NULL; topo = topo->next) { NULL 44 fencing/test.c GMainLoop *mainloop = NULL; NULL 45 fencing/test.c crm_trigger_t *trig = NULL; NULL 88 fencing/test.c stonith_t *st = NULL; NULL 148 fencing/test.c st->cmds->register_callback(st, 0, 120, st_opt_timeout_updates, NULL, "st_global_callback", NULL 182 fencing/test.c stonith_key_value_t *params = NULL; NULL 206 fencing/test.c stonith_key_value_t *params = NULL; NULL 215 fencing/test.c params = NULL; NULL 242 fencing/test.c stonith_key_value_t *params = NULL; NULL 252 fencing/test.c params = NULL; NULL 254 fencing/test.c single_test(st->cmds->list(st, st_opts, "test-id", NULL, 1), "list", 1, 0); NULL 295 fencing/test.c st->cmds->register_callback(st, 0, 120, st_opt_timeout_updates, NULL, "st_global_callback", NULL 309 fencing/test.c char *tmp = NULL; NULL 310 fencing/test.c stonith_key_value_t *params = NULL; NULL 381 fencing/test.c st_opt_timeout_updates, NULL, "callback", mainloop_callback); NULL 415 fencing/test.c uint32_t diff = (time(NULL) - begin); NULL 429 fencing/test.c begin = time(NULL); NULL 491 fencing/test.c stonith_key_value_t *params = NULL; NULL 498 fencing/test.c params = NULL; NULL 504 fencing/test.c params = NULL; NULL 525 fencing/test.c rc = st->cmds->connect(st, crm_system_name, NULL); NULL 590 fencing/test.c trig = mainloop_add_trigger(G_PRIORITY_HIGH, trigger_iterate_mainloop_tests, NULL); NULL 608 fencing/test.c crm_set_options(NULL, "mode [options]", long_options, NULL 112 include/crm/common/internal.h CRM_CHECK(prefix && rsc_id && op, return NULL); NULL 140 include/crm/common/logging.h static struct qb_log_callsite *trace_cs = NULL; \ NULL 141 include/crm/common/logging.h if(trace_cs == NULL) { \ NULL 152 include/crm/common/logging.h static struct qb_log_callsite *core_cs = NULL; \ NULL 153 include/crm/common/logging.h if(core_cs == NULL) { \ NULL 166 include/crm/common/logging.h static struct qb_log_callsite *core_cs = NULL; \ NULL 167 include/crm/common/logging.h if(core_cs == NULL) { \ NULL 177 include/crm/common/logging.h static struct qb_log_callsite *xml_cs = NULL; \ NULL 178 include/crm/common/logging.h if(xml_cs == NULL) { \ NULL 236 include/crm/common/logging.h static struct qb_log_callsite *trace_tag_cs = NULL; \ NULL 238 include/crm/common/logging.h if(trace_tag_cs == NULL) { \ NULL 265 include/crm/common/logging.h static struct qb_log_callsite *digest_cs = NULL; \ NULL 164 include/crm/common/util.h if (hashtable == NULL) { NULL 211 include/crm/common/xml.h return xml? (const char *)(xml->name) : NULL; NULL 298 include/crm/common/xml.h xmlNode *child = NULL; NULL 324 include/crm/common/xml.h xmlNode *child = NULL; NULL 336 include/crm/common/xml.h return NULL; NULL 348 include/crm/common/xml.h return NULL; NULL 368 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 91 include/crm/common/xml_internal.h (prefix) != NULL ? (prefix) : "", \ NULL 97 include/crm/common/xml_internal.h (prefix) != NULL ? (prefix) : "", \ NULL 101 include/crm/common/xml_internal.h CXLB_buf = NULL; /* restore temporary override */ \ NULL 103 include/crm/common/xml_internal.h CXLB_buffer = NULL; \ NULL 107 include/crm/common/xml_internal.h } else if (CXLB_buffer == NULL) { \ NULL 110 include/crm/common/xml_internal.h CXLB_buf = NULL; \ NULL 127 include/crm/compatibility.h GListPtr gIter = NULL; NULL 129 include/crm/compatibility.h for (gIter = list; gIter != NULL; gIter = gIter->next) { NULL 141 include/crm/compatibility.h if(malloc_obj == NULL) { \ NULL 143 include/crm/compatibility.h CRM_ASSERT(malloc_obj != NULL); \ NULL 150 include/crm/compatibility.h if(malloc_obj == NULL) { \ NULL 152 include/crm/compatibility.h CRM_ASSERT(malloc_obj != NULL); \ NULL 158 include/crm/compatibility.h CRM_ASSERT(realloc_obj != NULL); \ NULL 161 include/crm/compatibility.h # define crm_free(free_obj) do { free(free_obj); free_obj=NULL; } while(0) NULL 168 include/crm/compatibility.h if(parent != NULL) { \ NULL 169 include/crm/compatibility.h xmlNode *child = NULL; \ NULL 171 include/crm/compatibility.h while(__crm_xml_iter != NULL) { \ NULL 182 include/crm/compatibility.h if(parent != NULL) { \ NULL 183 include/crm/compatibility.h xmlNode *child = NULL; \ NULL 185 include/crm/compatibility.h while(__crm_xml_iter != NULL) { \ NULL 189 include/crm/compatibility.h if(filter == NULL \ NULL 199 include/crm/compatibility.h if(parent != NULL) { \ NULL 201 include/crm/compatibility.h const char *prop_name = NULL; \ NULL 202 include/crm/compatibility.h const char *prop_value = NULL; \ NULL 203 include/crm/compatibility.h while(prop_iter != NULL) { \ NULL 215 include/crm/compatibility.h if(parent != NULL) { \ NULL 217 include/crm/compatibility.h const char *prop_name = NULL; \ NULL 218 include/crm/compatibility.h while(prop_iter != NULL) { \ NULL 228 include/crm/compatibility.h # define zap_xml_from_parent(parent, xml_obj) free_xml(xml_obj); xml_obj = NULL NULL 253 include/crm/compatibility.h child_type *child = NULL; \ NULL 254 include/crm/compatibility.h while(__crm_iter_head != NULL) { \ NULL 268 include/crm/compatibility.h NULL, attrd_opt_none) > 0; NULL 275 include/crm/compatibility.h return attrd_update_delegate(NULL, command, host, name, value, section, set, dampen, NULL, attrd_opt_none) > 0; NULL 283 include/crm/compatibility.h return attrd_update_delegate(NULL, command, host, name, value, section, set, dampen, NULL, attrd_opt_none) > 0; NULL 294 include/crm/compatibility.h attr_id, attr_name, attr_value, to_console, NULL, NULL); NULL 303 include/crm/compatibility.h set_name, attr_id, attr_name, to_console, value, NULL); NULL 312 include/crm/compatibility.h attr_id, attr_name, attr_value, to_console, NULL); NULL 321 include/crm/compatibility.h attr_id, attr_name, attr_value, to_console, NULL); NULL 140 include/crm/pengine/internal.h return NULL; NULL 307 include/crm/pengine/internal.h #define pe_action_implies(action, reason, flag) pe_action_set_flag_reason(__FUNCTION__, __LINE__, action, reason, NULL, flag, FALSE) NULL 441 include/crm/stonith-ng.h static void *st_library = NULL; NULL 442 include/crm/stonith-ng.h static int (*st_kick_fn) (int nodeid, const char *uname, int timeout, bool off) = NULL; NULL 444 include/crm/stonith-ng.h if (st_library == NULL) { NULL 447 include/crm/stonith-ng.h if (st_library && st_kick_fn == NULL) { NULL 450 include/crm/stonith-ng.h if (st_kick_fn == NULL) { NULL 458 include/crm/stonith-ng.h return (*st_kick_fn) (nodeid, NULL, timeout, off); NULL 464 include/crm/stonith-ng.h static void *st_library = NULL; NULL 465 include/crm/stonith-ng.h static time_t(*st_time_fn) (int nodeid, const char *uname, bool in_progress) = NULL; NULL 467 include/crm/stonith-ng.h if (st_library == NULL) { NULL 470 include/crm/stonith-ng.h if (st_library && st_time_fn == NULL) { NULL 473 include/crm/stonith-ng.h if (st_time_fn == NULL) { NULL 477 include/crm/stonith-ng.h return (*st_time_fn) (nodeid, NULL, in_progress); NULL 51 include/crm_internal.h if (user == NULL) { NULL 190 include/crm_internal.h # define set_bit(word, bit) word = crm_set_bit(__FUNCTION__, __LINE__, NULL, word, bit) NULL 191 include/crm_internal.h # define clear_bit(word, bit) word = crm_clear_bit(__FUNCTION__, __LINE__, NULL, word, bit) NULL 344 include/crm_internal.h if (ret == NULL) { NULL 100 include/portability.h GList *values = NULL; NULL 128 include/portability.h iter->key = NULL; NULL 129 include/portability.h iter->value = NULL; NULL 138 include/portability.h iter->key = NULL; NULL 139 include/portability.h iter->value = NULL; NULL 175 include/portability.h g_list_foreach(list, (GFunc) free_func, NULL); NULL 54 lib/ais/plugin.c struct corosync_api_v1 *pcmk_api = NULL; NULL 61 lib/ais/plugin.c char *local_uname = NULL; NULL 63 lib/ais/plugin.c char *local_cname = NULL; NULL 66 lib/ais/plugin.c char *ipc_channel_name = NULL; NULL 75 lib/ais/plugin.c GHashTable *ipc_client_list = NULL; NULL 76 lib/ais/plugin.c GHashTable *membership_list = NULL; NULL 77 lib/ais/plugin.c GHashTable *membership_notify_list = NULL; NULL 97 lib/ais/plugin.c { 0, crm_proc_none, crm_flag_none, 0, 0, FALSE, "none", NULL, NULL, NULL, NULL }, NULL 98 lib/ais/plugin.c { 0, crm_proc_plugin, crm_flag_none, 0, 0, FALSE, "ais", NULL, NULL, NULL, NULL }, NULL 99 lib/ais/plugin.c { 0, crm_proc_lrmd, crm_flag_none, 3, 0, TRUE, "lrmd", NULL, CRM_DAEMON_DIR"/lrmd", NULL, NULL }, NULL 100 lib/ais/plugin.c { 0, crm_proc_cib, crm_flag_members, 1, 0, TRUE, "cib", CRM_DAEMON_USER, CRM_DAEMON_DIR"/cib", NULL, NULL }, NULL 101 lib/ais/plugin.c { 0, crm_proc_crmd, crm_flag_members, 6, 0, TRUE, "crmd", CRM_DAEMON_USER, CRM_DAEMON_DIR"/crmd", NULL, NULL }, NULL 102 lib/ais/plugin.c { 0, crm_proc_attrd, crm_flag_none, 4, 0, TRUE, "attrd", CRM_DAEMON_USER, CRM_DAEMON_DIR"/attrd", NULL, NULL }, NULL 103 lib/ais/plugin.c { 0, crm_proc_stonithd, crm_flag_none, 0, 0, TRUE, "stonithd", NULL, "/bin/false", NULL, NULL }, NULL 104 lib/ais/plugin.c { 0, crm_proc_pe, crm_flag_none, 5, 0, TRUE, "pengine", CRM_DAEMON_USER, CRM_DAEMON_DIR"/pengine", NULL, NULL }, NULL 105 lib/ais/plugin.c { 0, crm_proc_mgmtd, crm_flag_none, 7, 0, TRUE, "mgmtd", NULL, HB_DAEMON_DIR"/mgmtd", NULL, NULL }, NULL 106 lib/ais/plugin.c { 0, crm_proc_stonith_ng, crm_flag_members, 2, 0, TRUE, "stonith-ng", NULL, CRM_DAEMON_DIR"/stonithd", NULL, NULL }, NULL 245 lib/ais/plugin.c .constructor = NULL, NULL 246 lib/ais/plugin.c .destructor = NULL, NULL 247 lib/ais/plugin.c .interfaces = NULL NULL 256 lib/ais/plugin.c .constructor = NULL, NULL 257 lib/ais/plugin.c .destructor = NULL, NULL 258 lib/ais/plugin.c .interfaces = NULL NULL 312 lib/ais/plugin.c char *value = NULL; NULL 333 lib/ais/plugin.c get_config_opt(pcmk_api, local_handle, "logfile", &value, NULL); NULL 335 lib/ais/plugin.c if (value == NULL) { NULL 392 lib/ais/plugin.c get_config_opt(pcmk_api, local_handle, "provider", &value, NULL); NULL 402 lib/ais/plugin.c value = NULL; NULL 403 lib/ais/plugin.c pcmk_api->object_key_get(local_handle, "name", strlen("name"), (void **)&value, NULL); NULL 458 lib/ais/plugin.c pid_t pid = wait4(pcmk_children[lpc].pid, &status, WNOHANG, NULL); NULL 470 lib/ais/plugin.c pcmk_children[lpc].conn = NULL; NULL 471 lib/ais/plugin.c pcmk_children[lpc].async_conn = NULL; NULL 535 lib/ais/plugin.c char *last_s = NULL; NULL 543 lib/ais/plugin.c update_member(local_nodeid, 0, 0, 1, 0, local_uname, CRM_NODE_MEMBER, NULL); NULL 555 lib/ais/plugin.c AIS_CHECK(path != NULL, return); NULL 588 lib/ais/plugin.c pcmk_user_lookup("root", &root_uid, NULL); NULL 593 lib/ais/plugin.c pcmk_env.logfile = NULL; NULL 606 lib/ais/plugin.c membership_list = g_hash_table_new_full(g_direct_hash, g_direct_equal, NULL, destroy_ais_node); NULL 664 lib/ais/plugin.c pthread_create(&pcmk_wait_thread, NULL, pcmk_wait_dispatch, NULL); NULL 714 lib/ais/plugin.c node->processes, node->uname, CRM_NODE_LOST, NULL); NULL 729 lib/ais/plugin.c AIS_ASSERT(ring_id != NULL); NULL 768 lib/ais/plugin.c crm_node_t *node = NULL; NULL 770 lib/ais/plugin.c changed += update_member(nodeid, 0, membership_seq, -1, 0, NULL, CRM_NODE_MEMBER, NULL); NULL 775 lib/ais/plugin.c if (node->addr == NULL) { NULL 787 lib/ais/plugin.c changed += update_member(nodeid, 0, membership_seq, -1, 0, NULL, CRM_NODE_MEMBER, NULL); NULL 796 lib/ais/plugin.c changed += update_member(nodeid, 0, membership_seq, -1, 0, NULL, CRM_NODE_LOST, NULL); NULL 829 lib/ais/plugin.c const char *client = NULL; NULL 838 lib/ais/plugin.c pcmk_children[lpc].conn = NULL; NULL 839 lib/ais/plugin.c pcmk_children[lpc].async_conn = NULL; NULL 949 lib/ais/plugin.c NULL, msg->version); NULL 961 lib/ais/plugin.c struct res_overlay *res_overlay = NULL; NULL 966 lib/ais/plugin.c if (res_overlay == NULL) { NULL 991 lib/ais/plugin.c msg = NULL; NULL 1027 lib/ais/plugin.c && pcmk_children[type].conn == NULL && mutable->host.type == crm_msg_ais) { NULL 1059 lib/ais/plugin.c msg = NULL; NULL 1074 lib/ais/plugin.c time_t now = time(NULL); NULL 1105 lib/ais/plugin.c time_t now = time(NULL); NULL 1114 lib/ais/plugin.c pid = wait4(pcmk_children[lpc].pid, &status, WNOHANG, NULL); NULL 1139 lib/ais/plugin.c pcmk_children[lpc].async_conn = NULL; NULL 1140 lib/ais/plugin.c pcmk_children[lpc].conn = NULL; NULL 1186 lib/ais/plugin.c update_member(local_nodeid, 0, 0, -1, get_process_list(), local_uname, CRM_NODE_MEMBER, NULL); NULL 1189 lib/ais/plugin.c g_hash_table_foreach(membership_list, member_vote_count_fn, NULL); NULL 1216 lib/ais/plugin.c msg = NULL; NULL 1231 lib/ais/plugin.c msg = NULL; NULL 1233 lib/ais/plugin.c if (data != NULL) { NULL 1236 lib/ais/plugin.c send_plugin_msg(crm_msg_ais, NULL, bcast); NULL 1248 lib/ais/plugin.c char *data = NULL; NULL 1263 lib/ais/plugin.c char *dummy = NULL; NULL 1268 lib/ais/plugin.c msg = NULL; NULL 1275 lib/ais/plugin.c if (data != NULL && strlen(data) > 0) { NULL 1276 lib/ais/plugin.c int value = ais_get_int(data, NULL); NULL 1296 lib/ais/plugin.c msg = NULL; NULL 1480 lib/ais/plugin.c void *conn = NULL; NULL 1481 lib/ais/plugin.c const char *lookup = NULL; NULL 1608 lib/ais/plugin.c time_t now = time(NULL); NULL 1610 lib/ais/plugin.c struct crm_identify_msg_s *msg = NULL; NULL 1658 lib/ais/plugin.c update_member(local_nodeid, local_born_on, membership_seq, msg->votes, msg->processes, NULL, NULL 1659 lib/ais/plugin.c NULL, VERSION); NULL 1685 lib/ais/plugin.c uint32_t id = ais_get_int(node_id, NULL); NULL 1688 lib/ais/plugin.c if (node == NULL) { NULL 1712 lib/ais/plugin.c crm_node_t *node = NULL; NULL 1713 lib/ais/plugin.c GList *node_list = NULL; NULL 1720 lib/ais/plugin.c char *node_id_s = NULL; NULL 1729 lib/ais/plugin.c GList *gIter = NULL; NULL 1731 lib/ais/plugin.c for (gIter = node_list; gIter != NULL; gIter = gIter->next) { NULL 1787 lib/ais/plugin.c g_hash_table_foreach(membership_list, member_dump_fn, NULL); NULL 83 lib/ais/utils.c if (s == NULL) { NULL 95 lib/ais/utils.c static char *opts_default[] = { NULL, NULL }; NULL 96 lib/ais/utils.c static char *opts_vgrind[] = { NULL, NULL, NULL, NULL, NULL }; NULL 148 lib/ais/utils.c if (child->command == NULL) { NULL 157 lib/ais/utils.c } else if (env_callgrind != NULL && strstr(env_callgrind, child->name)) { NULL 164 lib/ais/utils.c } else if (env_valgrind != NULL && strstr(env_valgrind, child->name)) { NULL 199 lib/ais/utils.c opts_vgrind[4] = NULL; NULL 202 lib/ais/utils.c opts_vgrind[2] = NULL; NULL 203 lib/ais/utils.c opts_vgrind[3] = NULL; NULL 204 lib/ais/utils.c opts_vgrind[4] = NULL; NULL 258 lib/ais/utils.c if (child->command == NULL) { NULL 299 lib/ais/utils.c crm_node_t *node = NULL; NULL 303 lib/ais/utils.c if (node == NULL) { NULL 307 lib/ais/utils.c node->addr = NULL; NULL 313 lib/ais/utils.c AIS_ASSERT(node != NULL); NULL 325 lib/ais/utils.c if (version != NULL) { NULL 330 lib/ais/utils.c if (uname != NULL) { NULL 331 lib/ais/utils.c if (node->uname == NULL || ais_str_eq(node->uname, uname) == FALSE) { NULL 351 lib/ais/utils.c if (state != NULL) { NULL 352 lib/ais/utils.c if (node->state == NULL || ais_str_eq(node->state, state) == FALSE) { NULL 366 lib/ais/utils.c if (uname == NULL) { NULL 378 lib/ais/utils.c if (node == NULL) { NULL 381 lib/ais/utils.c if (node->uname == NULL) { NULL 457 lib/ais/utils.c char *uncompressed = NULL; NULL 483 lib/ais/utils.c AIS_Message *ais_msg = NULL; NULL 488 lib/ais/utils.c if (data != NULL) { NULL 500 lib/ais/utils.c if (data != NULL) { NULL 531 lib/ais/utils.c if (conn == NULL) { NULL 556 lib/ais/utils.c AIS_Message *ais_msg = NULL; NULL 564 lib/ais/utils.c if (data != NULL) { NULL 577 lib/ais/utils.c if (data != NULL) { NULL 607 lib/ais/utils.c char *new_str = NULL; NULL 609 lib/ais/utils.c AIS_ASSERT(prefix != NULL); NULL 610 lib/ais/utils.c AIS_ASSERT(suffix != NULL); NULL 663 lib/ais/utils.c char *env_key = NULL; NULL 665 lib/ais/utils.c *value = NULL; NULL 668 lib/ais/utils.c config->object_key_get(object_service_handle, key, strlen(key), (void **)value, NULL); NULL 699 lib/ais/utils.c if (value == NULL) { NULL 715 lib/ais/utils.c char *local_end_text = NULL; NULL 719 lib/ais/utils.c if (text != NULL) { NULL 721 lib/ais/utils.c if (end_text != NULL) { NULL 727 lib/ais/utils.c if (end_text != NULL) { NULL 745 lib/ais/utils.c if (local_end_text != NULL && local_end_text[0] != '\0') { NULL 758 lib/ais/utils.c char *buffer = NULL; NULL 760 lib/ais/utils.c struct passwd *pwentry = NULL; NULL 170 lib/ais/utils.h if(malloc_obj == NULL) { \ NULL 179 lib/ais/utils.h obj = NULL; \ NULL 198 lib/ais/utils.h char *dup = NULL; NULL 200 lib/ais/utils.h if (src == NULL) { NULL 201 lib/ais/utils.h return NULL; NULL 210 lib/ais/utils.h if (a == NULL || b == NULL) { NULL 225 lib/ais/utils.h if (conn != NULL) { NULL 64 lib/cib/cib_attrs.c char *xpath_string = NULL; NULL 65 lib/cib/cib_attrs.c xmlNode *xml_search = NULL; NULL 66 lib/cib/cib_attrs.c const char *set_type = NULL; NULL 67 lib/cib/cib_attrs.c const char *node_type = NULL; NULL 75 lib/cib/cib_attrs.c CRM_ASSERT(value != NULL); NULL 76 lib/cib/cib_attrs.c *value = NULL; NULL 79 lib/cib/cib_attrs.c node_uuid = NULL; NULL 84 lib/cib/cib_attrs.c node_uuid = NULL; NULL 88 lib/cib/cib_attrs.c node_uuid = NULL; NULL 92 lib/cib/cib_attrs.c } else if (node_uuid == NULL) { NULL 97 lib/cib/cib_attrs.c if (xpath_string == NULL) { NULL 139 lib/cib/cib_attrs.c rc = cib_internal_op(the_cib, CIB_OP_QUERY, NULL, xpath_string, NULL, &xml_search, NULL 151 lib/cib/cib_attrs.c xmlNode *child = NULL; NULL 156 lib/cib/cib_attrs.c for (child = __xml_first_child(xml_search); child != NULL; child = __xml_next(child)) { NULL 182 lib/cib/cib_attrs.c const char *tag = NULL; NULL 184 lib/cib/cib_attrs.c xmlNode *xml_top = NULL; NULL 185 lib/cib/cib_attrs.c xmlNode *xml_obj = NULL; NULL 187 lib/cib/cib_attrs.c char *local_attr_id = NULL; NULL 188 lib/cib/cib_attrs.c char *local_set_name = NULL; NULL 190 lib/cib/cib_attrs.c CRM_CHECK(section != NULL, return -EINVAL); NULL 191 lib/cib/cib_attrs.c CRM_CHECK(attr_value != NULL, return -EINVAL); NULL 192 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return -EINVAL); NULL 209 lib/cib/cib_attrs.c node_uuid = NULL; NULL 218 lib/cib/cib_attrs.c if (node_uuid == NULL) { NULL 234 lib/cib/cib_attrs.c if (node_uuid == NULL) { NULL 244 lib/cib/cib_attrs.c node_uuid = NULL; NULL 247 lib/cib/cib_attrs.c if (set_name == NULL) { NULL 269 lib/cib/cib_attrs.c if (attr_id == NULL) { NULL 274 lib/cib/cib_attrs.c } else if (attr_name == NULL) { NULL 279 lib/cib/cib_attrs.c if (tag != NULL) { NULL 282 lib/cib/cib_attrs.c if (xml_top == NULL) { NULL 287 lib/cib/cib_attrs.c if (node_uuid == NULL && safe_str_neq(node_type, XML_CIB_TAG_TICKETS)) { NULL 302 lib/cib/cib_attrs.c if (xml_top == NULL) { NULL 309 lib/cib/cib_attrs.c if (xml_top == NULL) { NULL 314 lib/cib/cib_attrs.c rc = cib_internal_op(the_cib, CIB_OP_MODIFY, NULL, section, xml_top, NULL, NULL 338 lib/cib/cib_attrs.c CRM_ASSERT(attr_value != NULL); NULL 339 lib/cib/cib_attrs.c CRM_CHECK(section != NULL, return -EINVAL); NULL 340 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return -EINVAL); NULL 342 lib/cib/cib_attrs.c *attr_value = NULL; NULL 360 lib/cib/cib_attrs.c xmlNode *xml_obj = NULL; NULL 361 lib/cib/cib_attrs.c char *local_attr_id = NULL; NULL 363 lib/cib/cib_attrs.c CRM_CHECK(section != NULL, return -EINVAL); NULL 364 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return -EINVAL); NULL 366 lib/cib/cib_attrs.c if (attr_id == NULL) { NULL 376 lib/cib/cib_attrs.c xml_obj = crm_create_nvpair_xml(NULL, attr_id, attr_name, attr_value); NULL 378 lib/cib/cib_attrs.c rc = cib_internal_op(the_cib, CIB_OP_DELETE, NULL, section, xml_obj, NULL, NULL 408 lib/cib/cib_attrs.c const char *parsed_uuid = NULL; NULL 411 lib/cib/cib_attrs.c if (result == NULL) { NULL 419 lib/cib/cib_attrs.c CRM_CHECK(result != NULL, return rc); NULL 491 lib/cib/cib_attrs.c xmlNode *xml_search = NULL; NULL 493 lib/cib/cib_attrs.c CRM_ASSERT(uname != NULL); NULL 496 lib/cib/cib_attrs.c *uuid = NULL; NULL 503 lib/cib/cib_attrs.c if (cib_internal_op(the_cib, CIB_OP_QUERY, NULL, xpath_string, NULL, NULL 505 lib/cib/cib_attrs.c NULL) == pcmk_ok) { NULL 526 lib/cib/cib_attrs.c xmlNode *a_child = NULL; NULL 527 lib/cib/cib_attrs.c xmlNode *xml_obj = NULL; NULL 528 lib/cib/cib_attrs.c xmlNode *fragment = NULL; NULL 529 lib/cib/cib_attrs.c const char *child_name = NULL; NULL 531 lib/cib/cib_attrs.c CRM_ASSERT(uname != NULL); NULL 532 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 = __xml_first_child(xml_obj); a_child != NULL; a_child = __xml_next(a_child)) { NULL 553 lib/cib/cib_attrs.c if (child_name != NULL) { NULL 570 lib/cib/cib_attrs.c char *attr_id = NULL; NULL 572 lib/cib/cib_attrs.c CRM_CHECK(uuid != NULL, return -EINVAL); NULL 573 lib/cib/cib_attrs.c CRM_CHECK(standby_value != NULL, return -EINVAL); NULL 584 lib/cib/cib_attrs.c rc = update_attr_delegate(the_cib, cib_sync_call, scope, uuid, NULL, NULL, NULL 585 lib/cib/cib_attrs.c attr_id, "standby", standby_value, TRUE, NULL, NULL); NULL 37 lib/cib/cib_client.c GHashTable *cib_op_callback_table = NULL; NULL 51 lib/cib/cib_client.c if(cib == NULL) { \ NULL 53 lib/cib/cib_client.c } else if(cib->delegate_fn == NULL) { \ NULL 62 lib/cib/cib_client.c return cib_internal_op(cib, CRM_OP_NOOP, NULL, NULL, NULL, NULL, call_options, NULL); NULL 69 lib/cib/cib_client.c return cib_internal_op(cib, CRM_OP_PING, NULL, NULL, NULL, output_data, call_options, NULL); NULL 75 lib/cib/cib_client.c return cib->cmds->query_from(cib, NULL, section, output_data, call_options); NULL 83 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_QUERY, host, section, NULL, output_data, call_options, NULL); NULL 90 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_ISMASTER, NULL, NULL, NULL, NULL, NULL 91 lib/cib/cib_client.c cib_scope_local | cib_sync_call, NULL); NULL 98 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_SLAVE, NULL, NULL, NULL, NULL, call_options, NULL); NULL 112 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_MASTER, NULL, NULL, NULL, NULL, NULL 113 lib/cib/cib_client.c call_options | cib_scope_local, NULL); NULL 120 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_BUMP, NULL, NULL, NULL, NULL, call_options, NULL); NULL 127 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_UPGRADE, NULL, NULL, NULL, NULL, call_options, NULL); NULL 133 lib/cib/cib_client.c return cib->cmds->sync_from(cib, NULL, section, call_options); NULL 140 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_SYNC, host, section, NULL, NULL, call_options, NULL); NULL 147 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_CREATE, NULL, section, data, NULL, call_options, NULL); NULL 154 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_MODIFY, NULL, section, data, NULL, call_options, NULL); NULL 161 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_MODIFY, NULL, section, data, NULL, call_options, NULL); NULL 168 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_REPLACE, NULL, section, data, NULL, call_options, NULL); NULL 175 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_DELETE, NULL, section, data, NULL, call_options, NULL); NULL 182 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_DELETE_ALT, NULL, section, data, NULL, call_options, NULL); NULL 189 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_ERASE, NULL, NULL, NULL, output_data, call_options, NULL); NULL 212 lib/cib/cib_client.c if (cib_op_callback_table != NULL) { NULL 214 lib/cib/cib_client.c cib_op_callback_table = NULL; NULL 221 lib/cib/cib_client.c char *cib_home = NULL; NULL 222 lib/cib/cib_client.c char *fullname = NULL; NULL 226 lib/cib/cib_client.c if (dir == NULL) { NULL 229 lib/cib/cib_client.c const char *user = NULL; NULL 242 lib/cib/cib_client.c const char *home = NULL; NULL 244 lib/cib/cib_client.c if ((home = getenv("HOME")) == NULL) { NULL 250 lib/cib/cib_client.c if ((dir = getenv("TMPDIR")) == NULL) { NULL 281 lib/cib/cib_client.c cib_t *new_cib = NULL; NULL 282 lib/cib/cib_client.c char *shadow_file = NULL; NULL 284 lib/cib/cib_client.c CRM_CHECK(shadow != NULL, return NULL); NULL 317 lib/cib/cib_client.c int port = crm_parse_int(value, NULL); NULL 328 lib/cib/cib_client.c if (user == NULL) { NULL 333 lib/cib/cib_client.c if (server == NULL) { NULL 356 lib/cib/cib_client.c cib_t *new_cib = NULL; NULL 368 lib/cib/cib_client.c new_cib->op_callback = NULL; NULL 369 lib/cib/cib_client.c new_cib->variant_opaque = NULL; NULL 370 lib/cib/cib_client.c new_cib->notify_list = NULL; NULL 420 lib/cib/cib_client.c while (list != NULL) { NULL 426 lib/cib/cib_client.c cib->notify_list = NULL; NULL 449 lib/cib/cib_client.c if (callback == NULL) { NULL 463 lib/cib/cib_client.c GList *list_item = NULL; NULL 464 lib/cib/cib_client.c cib_notify_client_t *new_client = NULL; NULL 478 lib/cib/cib_client.c if (list_item != NULL) { NULL 496 lib/cib/cib_client.c GList *l = NULL; NULL 514 lib/cib/cib_client.c GList *list_item = NULL; NULL 515 lib/cib/cib_client.c cib_notify_client_t *new_client = NULL; NULL 534 lib/cib/cib_client.c if (list_item != NULL) { NULL 562 lib/cib/cib_client.c CRM_CHECK(a_client->event != NULL && b_client->event != NULL, return 0); NULL 585 lib/cib/cib_client.c cib_native_callback(timer->cib, NULL, timer->call_id, -ETIME); NULL 600 lib/cib/cib_client.c callback_name, callback, NULL); NULL 611 lib/cib/cib_client.c cib_callback_client_t *blob = NULL; NULL 615 lib/cib/cib_client.c callback(NULL, call_id, call_id, NULL, user_data); NULL 633 lib/cib/cib_client.c struct timer_rec_s *async_timer = NULL; NULL 657 lib/cib/cib_client.c NULL, cib_destroy_op_callback); NULL 666 lib/cib/cib_client.c if (cib_op_callback_table == NULL) { NULL 684 lib/cib/cib_client.c if (cib_op_callback_table == NULL) { NULL 687 lib/cib/cib_client.c return g_hash_table_foreach(cib_op_callback_table, cib_dump_pending_op, NULL); NULL 91 lib/cib/cib_file.c if (expected == NULL) { NULL 129 lib/cib/cib_file.c char *local_sigfile = NULL; NULL 130 lib/cib/cib_file.c xmlNode *local_root = NULL; NULL 132 lib/cib/cib_file.c CRM_ASSERT(filename != NULL); NULL 134 lib/cib/cib_file.c *root = NULL; NULL 149 lib/cib/cib_file.c if (local_root == NULL) { NULL 155 lib/cib/cib_file.c if (sigfile == NULL) { NULL 194 lib/cib/cib_file.c if (filename != NULL) { NULL 198 lib/cib/cib_file.c if (real_filename != NULL) { NULL 251 lib/cib/cib_file.c CRM_ASSERT((cib_path != NULL) && (cib_digest != NULL) NULL 252 lib/cib/cib_file.c && (backup_path != NULL) && (backup_digest != NULL)); NULL 317 lib/cib/cib_file.c xmlNode *cib_status_root = NULL; NULL 326 lib/cib/cib_file.c CRM_LOG_ASSERT(cib_status_root != NULL); NULL 327 lib/cib/cib_file.c if (cib_status_root != NULL) { NULL 351 lib/cib/cib_file.c char *digest = NULL; NULL 366 lib/cib/cib_file.c CRM_ASSERT((cib_path != NULL) && (digest_path != NULL) NULL 367 lib/cib/cib_file.c && (tmp_cib != NULL) && (tmp_digest != NULL)); NULL 371 lib/cib/cib_file.c rc = cib_file_read_and_verify(cib_path, NULL, NULL); NULL 421 lib/cib/cib_file.c CRM_ASSERT(digest != NULL); NULL 451 lib/cib/cib_file.c rc = cib_file_read_and_verify(tmp_cib, tmp_digest, NULL); NULL 479 lib/cib/cib_file.c cib_file_opaque_t *private = NULL; NULL 483 lib/cib/cib_file.c CRM_ASSERT((cib != NULL) && (private != NULL)); NULL 488 lib/cib/cib_file.c if (cib_location == NULL) { NULL 511 lib/cib/cib_file.c static xmlNode *in_mem_cib = NULL; NULL 531 lib/cib/cib_file.c xmlNode *root = NULL; NULL 532 lib/cib/cib_file.c const char *ignore_dtd = NULL; NULL 541 lib/cib/cib_file.c if (root == NULL) { NULL 546 lib/cib/cib_file.c if (find_xml_node(root, XML_CIB_TAG_STATUS, FALSE) == NULL) { NULL 552 lib/cib/cib_file.c if (validate_xml(root, NULL, TRUE) == FALSE) { NULL 569 lib/cib/cib_file.c if (private->filename == NULL) { NULL 608 lib/cib/cib_file.c if (daemon_pwent == NULL) { NULL 627 lib/cib/cib_file.c if (sep == NULL) { /* no directory component specified */ NULL 658 lib/cib/cib_file.c if ((sep != NULL) && (*sep == '\0')) { NULL 716 lib/cib/cib_file.c in_mem_cib = NULL; NULL 769 lib/cib/cib_file.c NULL); NULL 778 lib/cib/cib_file.c char *effective_user = NULL; NULL 781 lib/cib/cib_file.c xmlNode *request = NULL; NULL 782 lib/cib/cib_file.c xmlNode *output = NULL; NULL 783 lib/cib/cib_file.c xmlNode *cib_diff = NULL; NULL 784 lib/cib/cib_file.c xmlNode *result_cib = NULL; NULL 785 lib/cib/cib_file.c cib_op_t *fn = NULL; NULL 797 lib/cib/cib_file.c if (output_data != NULL) { NULL 798 lib/cib/cib_file.c *output_data = NULL; NULL 801 lib/cib/cib_file.c if (op == NULL) { NULL 813 lib/cib/cib_file.c if (fn == NULL) { NULL 827 lib/cib/cib_file.c if (section != NULL && data != NULL && crm_str_eq(crm_element_name(data), XML_TAG_CIB, TRUE)) { NULL 852 lib/cib/cib_file.c if (cib->op_callback != NULL) { NULL 853 lib/cib/cib_file.c cib->op_callback(NULL, cib->call_id, rc, output); NULL 61 lib/cib/cib_native.c cib_native_opaque_t *native = NULL; NULL 69 lib/cib/cib_native.c native->ipc = NULL; NULL 70 lib/cib/cib_native.c native->source = NULL; NULL 71 lib/cib/cib_native.c native->dnotify_fn = NULL; NULL 89 lib/cib/cib_native.c return cib_native_signon_raw(cib, name, type, NULL); NULL 95 lib/cib/cib_native.c const char *type = NULL; NULL 96 lib/cib/cib_native.c xmlNode *msg = NULL; NULL 102 lib/cib/cib_native.c if (cib == NULL) { NULL 109 lib/cib/cib_native.c if (msg == NULL) { NULL 139 lib/cib/cib_native.c if (cib == NULL) { NULL 171 lib/cib/cib_native.c native->source = NULL; NULL 172 lib/cib/cib_native.c native->ipc = NULL; NULL 183 lib/cib/cib_native.c const char *channel = NULL; NULL 211 lib/cib/cib_native.c if (async_fd != NULL) { NULL 229 lib/cib/cib_native.c if (rc != pcmk_ok || native->ipc == NULL || crm_ipc_connected(native->ipc) == FALSE) { NULL 235 lib/cib/cib_native.c xmlNode *reply = NULL; NULL 236 lib/cib/cib_native.c xmlNode *hello = create_xml_node(NULL, "cib_command"); NULL 255 lib/cib/cib_native.c if (native->token == NULL) { NULL 285 lib/cib/cib_native.c if (native->source != NULL) { NULL 288 lib/cib/cib_native.c native->source = NULL; NULL 289 lib/cib/cib_native.c native->ipc = NULL; NULL 295 lib/cib/cib_native.c native->ipc = NULL; NULL 332 lib/cib/cib_native.c data, output_data, call_options, NULL); NULL 344 lib/cib/cib_native.c xmlNode *op_msg = NULL; NULL 345 lib/cib/cib_native.c xmlNode *op_reply = NULL; NULL 353 lib/cib/cib_native.c if (output_data != NULL) { NULL 354 lib/cib/cib_native.c *output_data = NULL; NULL 357 lib/cib/cib_native.c if (op == NULL) { NULL 375 lib/cib/cib_native.c CRM_CHECK(native->token != NULL,; NULL 380 lib/cib/cib_native.c if (op_msg == NULL) { NULL 414 lib/cib/cib_native.c if (output_data == NULL || (call_options & cib_discard_reply)) { NULL 417 lib/cib/cib_native.c } else if (tmp != NULL) { NULL 434 lib/cib/cib_native.c if (op_reply == NULL && cib->state == cib_disconnected) { NULL 437 lib/cib/cib_native.c } else if (rc == pcmk_ok && op_reply == NULL) { NULL 479 lib/cib/cib_native.c cib_native_opaque_t *native = NULL; NULL 481 lib/cib/cib_native.c if (cib == NULL) { NULL 496 lib/cib/cib_native.c xmlNode *notify_msg = create_xml_node(NULL, "cib-callback"); NULL 504 lib/cib/cib_native.c 1000 * cib->call_timeout, NULL); NULL 41 lib/cib/cib_ops.c xmlNode *obj_root = NULL; NULL 51 lib/cib/cib_ops.c CRM_CHECK(*answer == NULL, free_xml(*answer)); NULL 52 lib/cib/cib_ops.c *answer = NULL; NULL 55 lib/cib/cib_ops.c section = NULL; NULL 60 lib/cib/cib_ops.c if (obj_root == NULL) { NULL 74 lib/cib/cib_ops.c if (result == pcmk_ok && *answer == NULL) { NULL 89 lib/cib/cib_ops.c *answer = NULL; NULL 111 lib/cib/cib_ops.c *answer = NULL; NULL 114 lib/cib/cib_ops.c if (value != NULL) { NULL 142 lib/cib/cib_ops.c *answer = NULL; NULL 151 lib/cib/cib_ops.c char *new_value = NULL; NULL 152 lib/cib/cib_ops.c char *old_value = NULL; NULL 155 lib/cib/cib_ops.c if (reset == FALSE && crm_element_value(xml_obj, field) != NULL) { NULL 158 lib/cib/cib_ops.c if (old_value != NULL) { NULL 180 lib/cib/cib_ops.c const char *tag = NULL; NULL 190 lib/cib/cib_ops.c *answer = NULL; NULL 192 lib/cib/cib_ops.c if (input == NULL) { NULL 199 lib/cib/cib_ops.c section = NULL; NULL 202 lib/cib/cib_ops.c section = NULL; NULL 214 lib/cib/cib_ops.c const char *reason = NULL; NULL 257 lib/cib/cib_ops.c if (reason != NULL) { NULL 273 lib/cib/cib_ops.c xmlNode *obj_root = NULL; NULL 277 lib/cib/cib_ops.c ok = replace_xml_child(NULL, obj_root, input, FALSE); NULL 291 lib/cib/cib_ops.c xmlNode *obj_root = NULL; NULL 300 lib/cib/cib_ops.c if (input == NULL) { NULL 307 lib/cib/cib_ops.c xmlNode *child = NULL; NULL 309 lib/cib/cib_ops.c if (replace_xml_child(NULL, obj_root, child, TRUE) == FALSE) { NULL 314 lib/cib/cib_ops.c } else if (replace_xml_child(NULL, obj_root, input, TRUE) == FALSE) { NULL 325 lib/cib/cib_ops.c xmlNode *obj_root = NULL; NULL 334 lib/cib/cib_ops.c if (input == NULL) { NULL 340 lib/cib/cib_ops.c if (obj_root == NULL) { NULL 341 lib/cib/cib_ops.c xmlNode *tmp_section = NULL; NULL 344 lib/cib/cib_ops.c if (path == NULL) { NULL 348 lib/cib/cib_ops.c tmp_section = create_xml_node(NULL, section); NULL 349 lib/cib/cib_ops.c cib_process_xpath(CIB_OP_CREATE, 0, path, NULL, tmp_section, NULL, result_cib, answer); NULL 355 lib/cib/cib_ops.c CRM_CHECK(obj_root != NULL, return -EINVAL); NULL 392 lib/cib/cib_ops.c xmlNode *target = NULL; NULL 393 lib/cib/cib_ops.c xmlNode *a_child = NULL; NULL 394 lib/cib/cib_ops.c const char *replace = NULL; NULL 395 lib/cib/cib_ops.c const char *object_id = NULL; NULL 396 lib/cib/cib_ops.c const char *object_name = NULL; NULL 398 lib/cib/cib_ops.c CRM_CHECK(update != NULL, return -EINVAL); NULL 399 lib/cib/cib_ops.c CRM_CHECK(parent != NULL, return -EINVAL); NULL 402 lib/cib/cib_ops.c CRM_CHECK(object_name != NULL, return -EINVAL); NULL 407 lib/cib/cib_ops.c if (object_id == NULL) { NULL 415 lib/cib/cib_ops.c if (target == NULL) { NULL 422 lib/cib/cib_ops.c if (replace != NULL) { NULL 423 lib/cib/cib_ops.c xmlNode *remove = NULL; NULL 429 lib/cib/cib_ops.c char *replace_item = NULL; NULL 441 lib/cib/cib_ops.c if (remove != NULL) { NULL 445 lib/cib/cib_ops.c remove = NULL; NULL 461 lib/cib/cib_ops.c for (a_child = __xml_first_child(update); a_child != NULL; a_child = __xml_next(a_child)) { NULL 487 lib/cib/cib_ops.c const char *object_name = NULL; NULL 488 lib/cib/cib_ops.c const char *object_id = NULL; NULL 489 lib/cib/cib_ops.c xmlNode *equiv_node = NULL; NULL 491 lib/cib/cib_ops.c if (new_obj != NULL) { NULL 498 lib/cib/cib_ops.c if (new_obj == NULL || object_name == NULL) { NULL 501 lib/cib/cib_ops.c } else if (parent == NULL) { NULL 504 lib/cib/cib_ops.c } else if (object_id == NULL) { NULL 515 lib/cib/cib_ops.c } else if (equiv_node != NULL) { NULL 529 lib/cib/cib_ops.c xmlNode *failed = NULL; NULL 531 lib/cib/cib_ops.c xmlNode *update_section = NULL; NULL 535 lib/cib/cib_ops.c section = NULL; NULL 538 lib/cib/cib_ops.c section = NULL; NULL 541 lib/cib/cib_ops.c section = NULL; NULL 546 lib/cib/cib_ops.c if (input == NULL) { NULL 551 lib/cib/cib_ops.c if (section == NULL) { NULL 556 lib/cib/cib_ops.c failed = create_xml_node(NULL, XML_TAG_FAILED); NULL 560 lib/cib/cib_ops.c xmlNode *a_child = NULL; NULL 562 lib/cib/cib_ops.c for (a_child = __xml_first_child(input); a_child != NULL; a_child = __xml_next(a_child)) { NULL 593 lib/cib/cib_ops.c const char *originator = NULL; NULL 595 lib/cib/cib_ops.c if (req != NULL) { NULL 612 lib/cib/cib_ops.c xmlXPathObject *xpathObj = NULL; NULL 615 lib/cib/cib_ops.c CRM_ASSERT(diff != NULL); NULL 617 lib/cib/cib_ops.c if (*diff == NULL && last != NULL && next != NULL) { NULL 621 lib/cib/cib_ops.c if (*diff == NULL) { NULL 647 lib/cib/cib_ops.c if (crm_element_value(top, XML_ATTR_GENERATION) != NULL) { NULL 651 lib/cib/cib_ops.c if (crm_element_value(top, XML_ATTR_GENERATION_ADMIN) != NULL) { NULL 656 lib/cib/cib_ops.c if (crm_element_value(top, XML_ATTR_VALIDATION) != NULL) { NULL 660 lib/cib/cib_ops.c if (crm_element_value(top, XML_ATTR_CRM_VERSION) != NULL) { NULL 664 lib/cib/cib_ops.c if (crm_element_value(top, "remote-clear-port") != NULL) { NULL 668 lib/cib/cib_ops.c if (crm_element_value(top, "remote-tls-port") != NULL) { NULL 688 lib/cib/cib_ops.c xmlXPathObjectPtr xpathObj = NULL; NULL 709 lib/cib/cib_ops.c *answer = create_xml_node(NULL, "xpath-query"); NULL 718 lib/cib/cib_ops.c xmlChar *path = NULL; NULL 721 lib/cib/cib_ops.c if (match == NULL) { NULL 761 lib/cib/cib_ops.c if (*answer == NULL) { NULL 768 lib/cib/cib_ops.c char *path = NULL; NULL 773 lib/cib/cib_ops.c char *new_path = NULL; NULL 784 lib/cib/cib_ops.c if(new_path == NULL) { NULL 799 lib/cib/cib_ops.c if (*answer == NULL) { NULL 800 lib/cib/cib_ops.c *answer = create_xml_node(NULL, "xpath-query"); NULL 817 lib/cib/cib_ops.c if (input != NULL) { NULL 835 lib/cib/cib_ops.c xmlNode *xml_node = NULL; NULL 837 lib/cib/cib_ops.c const char *error_msg = NULL; NULL 103 lib/cib/cib_remote.c xmlNode *notify_msg = create_xml_node(NULL, "cib_command"); NULL 118 lib/cib/cib_remote.c cib_remote_opaque_t *private = NULL; NULL 172 lib/cib/cib_remote.c private->command.tls_session = NULL; NULL 173 lib/cib/cib_remote.c private->callback.tls_session = NULL; NULL 195 lib/cib/cib_remote.c private->command.buffer = NULL; NULL 196 lib/cib/cib_remote.c private->callback.buffer = NULL; NULL 209 lib/cib/cib_remote.c xmlNode *answer = NULL; NULL 210 lib/cib/cib_remote.c xmlNode *login = NULL; NULL 220 lib/cib/cib_remote.c connection->tls_session = NULL; NULL 248 lib/cib/cib_remote.c connection->tls_session = NULL; NULL 258 lib/cib/cib_remote.c login = create_xml_node(NULL, "cib_command"); NULL 276 lib/cib/cib_remote.c if (answer == NULL) { NULL 288 lib/cib/cib_remote.c } else if (tmp_ticket == NULL) { NULL 296 lib/cib/cib_remote.c answer = NULL; NULL 330 lib/cib/cib_remote.c private->command.buffer = NULL; NULL 345 lib/cib/cib_remote.c xmlNode *msg = NULL; NULL 385 lib/cib/cib_remote.c if (private->passwd == NULL) { NULL 403 lib/cib/cib_remote.c private->passwd = NULL; NULL 410 lib/cib/cib_remote.c if (private->server == NULL || private->user == NULL) { NULL 424 lib/cib/cib_remote.c cib_create_op(0, private->callback.token, CRM_OP_REGISTER, NULL, NULL, NULL, 0, NULL); NULL 493 lib/cib/cib_remote.c xmlNode *op_msg = NULL; NULL 494 lib/cib/cib_remote.c xmlNode *op_reply = NULL; NULL 502 lib/cib/cib_remote.c if (output_data != NULL) { NULL 503 lib/cib/cib_remote.c *output_data = NULL; NULL 506 lib/cib/cib_remote.c if (op == NULL) { NULL 522 lib/cib/cib_remote.c NULL); NULL 523 lib/cib/cib_remote.c if (op_msg == NULL) { NULL 545 lib/cib/cib_remote.c start_time = time(NULL); NULL 577 lib/cib/cib_remote.c op_reply = NULL; NULL 580 lib/cib/cib_remote.c remaining_time = time(NULL) - start_time; NULL 592 lib/cib/cib_remote.c } else if (op_reply == NULL) { NULL 618 lib/cib/cib_remote.c if (output_data == NULL) { NULL 624 lib/cib/cib_remote.c if (tmp == NULL) { NULL 48 lib/cib/cib_utils.c { NULL, NULL, "//cib" }, NULL 49 lib/cib/cib_utils.c { XML_TAG_CIB, NULL, "//cib" }, NULL 61 lib/cib/cib_utils.c { XML_CIB_TAG_SECTION_ALL, NULL, "//cib" }, NULL 82 lib/cib/cib_utils.c const char *elem_r = NULL; NULL 85 lib/cib/cib_utils.c if (right != NULL) { NULL 89 lib/cib/cib_utils.c if (elem_l != NULL) { NULL 90 lib/cib/cib_utils.c int_elem_l = crm_parse_int(elem_l, NULL); NULL 92 lib/cib/cib_utils.c if (elem_r != NULL) { NULL 93 lib/cib/cib_utils.c int_elem_r = crm_parse_int(elem_r, NULL); NULL 118 lib/cib/cib_utils.c return NULL; NULL 121 lib/cib/cib_utils.c rc = cib->cmds->query(cib, NULL, &xml_cib, options); NULL 123 lib/cib/cib_utils.c return NULL; NULL 128 lib/cib/cib_utils.c return NULL; NULL 130 lib/cib/cib_utils.c } else if (xml_cib == NULL) { NULL 133 lib/cib/cib_utils.c return NULL; NULL 140 lib/cib/cib_utils.c return NULL; NULL 146 lib/cib/cib_utils.c xmlNode *the_cib = NULL; NULL 147 lib/cib/cib_utils.c xmlNode *generation = create_xml_node(NULL, XML_CIB_TAG_GENERATION_TUPPLE); NULL 149 lib/cib/cib_utils.c cib->cmds->query(cib, NULL, &the_cib, cib_scope_local | cib_sync_call); NULL 150 lib/cib/cib_utils.c if (the_cib != NULL) { NULL 165 lib/cib/cib_utils.c if (cib == NULL) { NULL 207 lib/cib/cib_utils.c if ((object_type == NULL && known_paths[lpc].name == NULL) NULL 212 lib/cib/cib_utils.c return NULL; NULL 226 lib/cib/cib_utils.c return NULL; NULL 234 lib/cib/cib_utils.c if (xpath == NULL) { NULL 248 lib/cib/cib_utils.c xmlNode *cib_root = NULL, *config = NULL; NULL 250 lib/cib/cib_utils.c cib_root = create_xml_node(NULL, XML_TAG_CIB); NULL 276 lib/cib/cib_utils.c const char *value = NULL; NULL 298 lib/cib/cib_utils.c xmlNode *top = NULL; NULL 299 lib/cib/cib_utils.c xmlNode *scratch = NULL; NULL 300 lib/cib/cib_utils.c xmlNode *local_diff = NULL; NULL 302 lib/cib/cib_utils.c const char *new_version = NULL; NULL 303 lib/cib/cib_utils.c static struct qb_log_callsite *diff_cs = NULL; NULL 309 lib/cib/cib_utils.c CRM_CHECK(output != NULL, return -ENOMSG); NULL 310 lib/cib/cib_utils.c CRM_CHECK(result_cib != NULL, return -ENOMSG); NULL 311 lib/cib/cib_utils.c CRM_CHECK(config_changed != NULL, return -ENOMSG); NULL 314 lib/cib/cib_utils.c *output = NULL; NULL 317 lib/cib/cib_utils.c *result_cib = NULL; NULL 320 lib/cib/cib_utils.c if (fn == NULL) { NULL 326 lib/cib/cib_utils.c xmlNode *cib_filtered = NULL; NULL 330 lib/cib/cib_utils.c if (cib_filtered == NULL) { NULL 341 lib/cib/cib_utils.c if(output == NULL || *output == NULL) { NULL 345 lib/cib/cib_utils.c cib_filtered = NULL; /* Let them have this copy */ NULL 370 lib/cib/cib_utils.c current_cib = create_xml_node(NULL, (const char *)scratch->name); NULL 374 lib/cib/cib_utils.c xml_track_changes(scratch, user, NULL, cib_acl_enabled(scratch, user)); NULL 379 lib/cib/cib_utils.c xml_track_changes(scratch, user, NULL, cib_acl_enabled(scratch, user)); NULL 392 lib/cib/cib_utils.c if (rc == pcmk_ok && scratch == NULL) { NULL 457 lib/cib/cib_utils.c time_t tm_now = time(NULL); NULL 470 lib/cib/cib_utils.c if (diff_cs == NULL) { NULL 493 lib/cib/cib_utils.c save_xml_to_file(c, "PatchApply:calculated", NULL); NULL 494 lib/cib/cib_utils.c save_xml_to_file(current_cib, "PatchApply:input", NULL); NULL 495 lib/cib/cib_utils.c save_xml_to_file(scratch, "PatchApply:actual", NULL); NULL 496 lib/cib/cib_utils.c save_xml_to_file(local_diff, "PatchApply:diff", NULL); NULL 523 lib/cib/cib_utils.c char *now_str = NULL; NULL 524 lib/cib/cib_utils.c time_t now = time(NULL); NULL 543 lib/cib/cib_utils.c CRM_LOG_ASSERT(origin != NULL); NULL 555 lib/cib/cib_utils.c if (rc == pcmk_ok && check_dtd && validate_xml(scratch, NULL, TRUE) == FALSE) { NULL 568 lib/cib/cib_utils.c if (*result_cib == NULL) { NULL 591 lib/cib/cib_utils.c xmlNode *op_msg = create_xml_node(NULL, "cib_command"); NULL 593 lib/cib/cib_utils.c CRM_CHECK(op_msg != NULL, return NULL); NULL 594 lib/cib/cib_utils.c CRM_CHECK(token != NULL, return NULL); NULL 612 lib/cib/cib_utils.c if (data != NULL) { NULL 617 lib/cib/cib_utils.c CRM_CHECK((call_options & cib_scope_local), return NULL); NULL 625 lib/cib/cib_utils.c xmlNode *output = NULL; NULL 626 lib/cib/cib_utils.c cib_callback_client_t *blob = NULL; NULL 628 lib/cib/cib_utils.c if (msg != NULL) { NULL 635 lib/cib/cib_utils.c if (blob == NULL) { NULL 639 lib/cib/cib_utils.c if (cib == NULL) { NULL 652 lib/cib/cib_utils.c } else if (cib && cib->op_callback == NULL && rc != pcmk_ok) { NULL 662 lib/cib/cib_utils.c if (cib && cib->op_callback != NULL) { NULL 674 lib/cib/cib_utils.c const char *event = NULL; NULL 676 lib/cib/cib_utils.c if (msg == NULL) { NULL 683 lib/cib/cib_utils.c if (entry == NULL) { NULL 687 lib/cib/cib_utils.c } else if (entry->callback == NULL) { NULL 709 lib/cib/cib_utils.c "enable-acl", NULL, NULL 710 lib/cib/cib_utils.c "boolean", NULL, "false", &check_boolean, NULL 712 lib/cib/cib_utils.c NULL NULL 715 lib/cib/cib_utils.c "cluster-ipc-limit", NULL, NULL 716 lib/cib/cib_utils.c "integer", NULL, "500", &check_positive_number, NULL 748 lib/cib/cib_utils.c xmlNode *config = NULL; NULL 749 lib/cib/cib_utils.c crm_time_t *now = NULL; NULL 751 lib/cib/cib_utils.c if (options == NULL || current_cib == NULL) { NULL 755 lib/cib/cib_utils.c now = crm_time_new(NULL); NULL 761 lib/cib/cib_utils.c unpack_instance_attributes(current_cib, config, XML_CIB_TAG_PROPSET, NULL, options, NULL 777 lib/cib/cib_utils.c xmlNode *diff = NULL; NULL 786 lib/cib/cib_utils.c if (rc < pcmk_ok || diff == NULL) { NULL 794 lib/cib/cib_utils.c if (input != NULL) { NULL 795 lib/cib/cib_utils.c rc = cib_process_diff(NULL, cib_none, NULL, event, diff, input, output, NULL); NULL 804 lib/cib/cib_utils.c free_xml(*output); *output = NULL; NULL 845 lib/cib/cib_utils.c if(user_name == NULL) { NULL 40 lib/cluster/cluster.c void *hb_library = NULL; NULL 46 lib/cluster/cluster.c char *uuid_calc = NULL; NULL 52 lib/cluster/cluster.c if (heartbeat_cluster == NULL) { NULL 54 lib/cluster/cluster.c return NULL; NULL 55 lib/cluster/cluster.c } else if(uname == NULL) { NULL 56 lib/cluster/cluster.c return NULL; NULL 63 lib/cluster/cluster.c return NULL; NULL 72 lib/cluster/cluster.c return NULL; NULL 81 lib/cluster/cluster.c static const char *uuid_pref = NULL; NULL 83 lib/cluster/cluster.c if (uuid_pref == NULL) { NULL 87 lib/cluster/cluster.c if (uuid_pref == NULL) { NULL 108 lib/cluster/cluster.c if(node == NULL) { NULL 109 lib/cluster/cluster.c return NULL; NULL 114 lib/cluster/cluster.c char *buffer = NULL; NULL 117 lib/cluster/cluster.c if (buffer != NULL) { NULL 127 lib/cluster/cluster.c } else if (node->uname != NULL) { NULL 131 lib/cluster/cluster.c return NULL; NULL 137 lib/cluster/cluster.c char *uuid = NULL; NULL 141 lib/cluster/cluster.c if(peer == NULL) { NULL 142 lib/cluster/cluster.c return NULL; NULL 192 lib/cluster/cluster.c if (cluster->hb_conn == NULL) { NULL 210 lib/cluster/cluster.c CRM_ASSERT(cluster->hb_conn != NULL); NULL 251 lib/cluster/cluster.c if (cluster == NULL) { NULL 257 lib/cluster/cluster.c cluster->hb_conn = NULL; NULL 282 lib/cluster/cluster.c return send_ha_message(heartbeat_cluster, data, node ? node->uname : NULL, ordered); NULL 291 lib/cluster/cluster.c static char *name = NULL; NULL 303 lib/cluster/cluster.c char *name = NULL; NULL 304 lib/cluster/cluster.c const char *isolation_host = NULL; NULL 341 lib/cluster/cluster.c if(name == NULL && nodeid == 0) { NULL 351 lib/cluster/cluster.c if (name == NULL) { NULL 357 lib/cluster/cluster.c if (name == NULL) { NULL 378 lib/cluster/cluster.c crm_node_t *node = NULL; NULL 380 lib/cluster/cluster.c CRM_CHECK(uuid != NULL, return NULL); NULL 389 lib/cluster/cluster.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 397 lib/cluster/cluster.c node = NULL; NULL 402 lib/cluster/cluster.c uint32_t id = crm_int_helper(uuid, NULL); NULL 404 lib/cluster/cluster.c node = crm_find_peer(id, NULL); NULL 420 lib/cluster/cluster.c return NULL; NULL 426 lib/cluster/cluster.c if (heartbeat_cluster != NULL) { NULL 451 lib/cluster/cluster.c return NULL; NULL 455 lib/cluster/cluster.c return NULL; NULL 516 lib/cluster/cluster.c const char *cluster = NULL; NULL 527 lib/cluster/cluster.c if(cluster == NULL) { NULL 545 lib/cluster/cluster.c if (hb->llc_ops->signon(hb, NULL) == HA_OK) { NULL 557 lib/cluster/cluster.c if(cluster == NULL) { NULL 569 lib/cluster/cluster.c if (cluster == NULL) { NULL 655 lib/cluster/cluster.c if (name == NULL) { NULL 663 lib/cluster/cluster.c } else if (strstr(name, ":") != NULL) { NULL 45 lib/cluster/corosync.c gboolean(*quorum_app_callback) (unsigned long long seq, gboolean quorate) = NULL; NULL 57 lib/cluster/corosync.c char *name = NULL; NULL 90 lib/cluster/corosync.c while (name == NULL && cmap_handle != 0) { NULL 92 lib/cluster/corosync.c char *key = NULL; NULL 105 lib/cluster/corosync.c if (name == NULL) { NULL 112 lib/cluster/corosync.c name = NULL; NULL 117 lib/cluster/corosync.c if (name == NULL) { NULL 133 lib/cluster/corosync.c if (name == NULL) { NULL 183 lib/cluster/corosync.c crm_node_t *node = NULL; NULL 212 lib/cluster/corosync.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 223 lib/cluster/corosync.c node = crm_get_peer(id, NULL); NULL 224 lib/cluster/corosync.c if (node->uname == NULL) { NULL 301 lib/cluster/corosync.c corosync_initialize_nodelist(NULL, FALSE, NULL); NULL 341 lib/cluster/corosync.c crm_node_t *peer = NULL; NULL 364 lib/cluster/corosync.c if(cluster->uname == NULL) { NULL 470 lib/cluster/corosync.c if (node == NULL) { NULL 514 lib/cluster/corosync.c char *name = NULL; NULL 515 lib/cluster/corosync.c char *key = NULL; NULL 526 lib/cluster/corosync.c if (name != NULL) { NULL 528 lib/cluster/corosync.c crm_node_t *node = NULL; NULL 531 lib/cluster/corosync.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 542 lib/cluster/corosync.c if (nodeid > 0 || name != NULL) { NULL 547 lib/cluster/corosync.c if (nodeid > 0 && name != NULL) { NULL 571 lib/cluster/corosync.c char *cluster_name = NULL; NULL 577 lib/cluster/corosync.c return NULL; NULL 632 lib/cluster/corosync.c while ((rc = cmap_iter_next(cmap_handle, iter_handle, key_name, NULL, NULL)) == CS_OK) { NULL 44 lib/cluster/cpg.c gboolean(*pcmk_cpg_dispatch_fn) (int kind, const char *from, const char *data) = NULL; NULL 87 lib/cluster/cpg.c get_ais_details(&local_nodeid, NULL); NULL 115 lib/cluster/cpg.c GListPtr cs_message_queue = NULL; NULL 236 lib/cluster/cpg.c char *data = NULL; NULL 248 lib/cluster/cpg.c return NULL; NULL 253 lib/cluster/cpg.c return NULL; NULL 257 lib/cluster/cpg.c return NULL; NULL 262 lib/cluster/cpg.c crm_node_t *peer = crm_get_peer(nodeid, NULL); NULL 264 lib/cluster/cpg.c if (peer == NULL) { NULL 267 lib/cluster/cpg.c } else if (peer->uname == NULL) { NULL 283 lib/cluster/cpg.c if (kind != NULL) { NULL 286 lib/cluster/cpg.c if (from != NULL) { NULL 292 lib/cluster/cpg.c char *uncompressed = NULL; NULL 295 lib/cluster/cpg.c if (check_message_sanity(msg, NULL) == FALSE) { NULL 320 lib/cluster/cpg.c send_cluster_text(crm_class_cluster, pid_s, TRUE, NULL, crm_msg_ais); NULL 322 lib/cluster/cpg.c return NULL; NULL 334 lib/cluster/cpg.c uint32_t id = crm_int_helper(data, NULL); NULL 337 lib/cluster/cpg.c reap_crm_member(id, NULL); NULL 339 lib/cluster/cpg.c return NULL; NULL 359 lib/cluster/cpg.c return NULL; NULL 375 lib/cluster/cpg.c crm_node_t *peer = crm_find_peer(left_list[i].nodeid, NULL); NULL 391 lib/cluster/cpg.c crm_node_t *peer = crm_get_peer(member_list[i].nodeid, NULL); NULL 403 lib/cluster/cpg.c time_t now = time(NULL); NULL 442 lib/cluster/cpg.c crm_node_t *peer = NULL; NULL 503 lib/cluster/cpg.c peer = crm_get_peer(id, NULL); NULL 512 lib/cluster/cpg.c char *data = NULL; NULL 527 lib/cluster/cpg.c static const char *local_name = NULL; NULL 529 lib/cluster/cpg.c char *target = NULL; NULL 531 lib/cluster/cpg.c AIS_Message *msg = NULL; NULL 542 lib/cluster/cpg.c if(local_name == NULL) { NULL 549 lib/cluster/cpg.c if (data == NULL) { NULL 602 lib/cluster/cpg.c char *compressed = NULL; NULL 656 lib/cluster/cpg.c CRM_CHECK(text != NULL, return type); NULL 70 lib/cluster/election.c if(e != NULL) { NULL 103 lib/cluster/election.c e->voted = NULL; NULL 152 lib/cluster/election.c time_t tm_now = time(NULL); NULL 211 lib/cluster/election.c xmlNode *vote = NULL; NULL 214 lib/cluster/election.c if(e == NULL) { NULL 220 lib/cluster/election.c if (our_node == NULL || crm_is_peer_active(our_node) == FALSE) { NULL 226 lib/cluster/election.c vote = create_request(CRM_OP_VOTE, NULL, NULL, CRM_SYSTEM_CRMD, CRM_SYSTEM_CRMD, NULL); NULL 236 lib/cluster/election.c send_cluster_message(NULL, crm_msg_crmd, vote, TRUE); NULL 242 lib/cluster/election.c e->voted = NULL; NULL 255 lib/cluster/election.c if(e == NULL) { NULL 273 lib/cluster/election.c char *key = NULL; NULL 276 lib/cluster/election.c while (g_hash_table_iter_next(&gIter, NULL, (gpointer *) & node)) { NULL 283 lib/cluster/election.c while (g_hash_table_iter_next(&gIter, (gpointer *) & key, NULL)) { NULL 312 lib/cluster/election.c const char *op = NULL; NULL 313 lib/cluster/election.c const char *from = NULL; NULL 315 lib/cluster/election.c const char *election_owner = NULL; NULL 316 lib/cluster/election.c crm_node_t *our_node = NULL, *your_node = NULL; NULL 320 lib/cluster/election.c xmlNode *novote = NULL; NULL 321 lib/cluster/election.c time_t tm_now = time(NULL); NULL 329 lib/cluster/election.c CRM_CHECK(vote != NULL, return election_error); NULL 331 lib/cluster/election.c if(e == NULL) { NULL 335 lib/cluster/election.c } else if(crm_peer_cache == NULL) { NULL 348 lib/cluster/election.c if (e->voted == NULL) { NULL 363 lib/cluster/election.c } else if (our_node == NULL || crm_is_peer_active(our_node) == FALSE) { NULL 373 lib/cluster/election.c } else if (your_node == NULL || crm_is_peer_active(your_node) == FALSE) { NULL 436 lib/cluster/election.c } else if (e->uname == NULL) { NULL 470 lib/cluster/election.c crm_write_blackbox(0, NULL); NULL 498 lib/cluster/election.c novote = create_request(CRM_OP_NOVOTE, NULL, from, NULL 499 lib/cluster/election.c CRM_SYSTEM_CRMD, CRM_SYSTEM_CRMD, NULL); NULL 41 lib/cluster/heartbeat.c ll_cluster_t *heartbeat_cluster = NULL; NULL 47 lib/cluster/heartbeat.c const char *name = NULL; NULL 48 lib/cluster/heartbeat.c const char *value = NULL; NULL 49 lib/cluster/heartbeat.c xmlNode *xml = NULL; NULL 55 lib/cluster/heartbeat.c char *uncompressed = NULL; NULL 56 lib/cluster/heartbeat.c char *compressed = NULL; NULL 59 lib/cluster/heartbeat.c CRM_CHECK(parent != NULL, return); NULL 60 lib/cluster/heartbeat.c CRM_CHECK(msg != NULL, return); NULL 75 lib/cluster/heartbeat.c CRM_CHECK(value != NULL, return); NULL 85 lib/cluster/heartbeat.c if (xml == NULL) { NULL 90 lib/cluster/heartbeat.c add_node_nocopy(parent, NULL, xml); NULL 98 lib/cluster/heartbeat.c if (strstr(name, "uuid") == NULL) { NULL 139 lib/cluster/heartbeat.c if (xml != NULL) { NULL 154 lib/cluster/heartbeat.c xmlNode *child = NULL; NULL 155 lib/cluster/heartbeat.c const char *tag = NULL; NULL 157 lib/cluster/heartbeat.c CRM_CHECK(msg != NULL, crm_err("Empty message for %s", field); NULL 161 lib/cluster/heartbeat.c if (tag == NULL) { NULL 171 lib/cluster/heartbeat.c if (parent == NULL) { NULL 172 lib/cluster/heartbeat.c parent = create_xml_node(NULL, tag); NULL 207 lib/cluster/heartbeat.c xmlNode *child = NULL; NULL 210 lib/cluster/heartbeat.c const char *name = NULL; NULL 211 lib/cluster/heartbeat.c const char *value = NULL; NULL 217 lib/cluster/heartbeat.c while (prop_iter != NULL) { NULL 224 lib/cluster/heartbeat.c while (__crm_xml_iter != NULL) { NULL 227 lib/cluster/heartbeat.c convert_xml_message_struct(result, child, NULL); NULL 230 lib/cluster/heartbeat.c if (parent == NULL) { NULL 237 lib/cluster/heartbeat.c CRM_ASSERT(holder != NULL); NULL 258 lib/cluster/heartbeat.c char *buffer = NULL; NULL 259 lib/cluster/heartbeat.c char *compressed = NULL; NULL 260 lib/cluster/heartbeat.c const char *name = NULL; NULL 292 lib/cluster/heartbeat.c char *uncompressed = NULL; NULL 314 lib/cluster/heartbeat.c xmlNode *child = NULL; NULL 315 lib/cluster/heartbeat.c xmlAttrPtr pIter = NULL; NULL 316 lib/cluster/heartbeat.c HA_Message *result = NULL; NULL 321 lib/cluster/heartbeat.c for (pIter = xml->properties; pIter != NULL; pIter = pIter->next) { NULL 330 lib/cluster/heartbeat.c for (child = __xml_first_child(xml); child != NULL; child = __xml_next(child)) { NULL 342 lib/cluster/heartbeat.c if (node == NULL) { NULL 368 lib/cluster/heartbeat.c crm_node_t *peer = NULL; NULL 369 lib/cluster/heartbeat.c const char *uuid = NULL; NULL 371 lib/cluster/heartbeat.c CRM_CHECK(oc->m_array[offset].node_uname != NULL, return NULL); NULL 378 lib/cluster/heartbeat.c uuid, oc->m_array[offset].node_uname, NULL, state); NULL 379 lib/cluster/heartbeat.c if (peer == NULL) { NULL 380 lib/cluster/heartbeat.c return NULL; NULL 410 lib/cluster/heartbeat.c if (msg == NULL) { NULL 414 lib/cluster/heartbeat.c } else if (hb_conn == NULL) { NULL 422 lib/cluster/heartbeat.c } else if (node != NULL) { NULL 444 lib/cluster/heartbeat.c if (all_is_good == FALSE && hb_conn != NULL) { NULL 445 lib/cluster/heartbeat.c IPC_Channel *ipc = NULL; NULL 446 lib/cluster/heartbeat.c IPC_Queue *send_q = NULL; NULL 451 lib/cluster/heartbeat.c if (ipc != NULL) { NULL 455 lib/cluster/heartbeat.c if (send_q != NULL) { NULL 467 lib/cluster/heartbeat.c if (msg != NULL) { NULL 476 lib/cluster/heartbeat.c IPC_Channel *channel = NULL; NULL 480 lib/cluster/heartbeat.c if (cluster_conn != NULL) { NULL 484 lib/cluster/heartbeat.c CRM_CHECK(cluster_conn != NULL, return FALSE); NULL 485 lib/cluster/heartbeat.c CRM_CHECK(channel != NULL, return FALSE); NULL 487 lib/cluster/heartbeat.c if (channel != NULL && IPC_ISRCONN(channel)) { NULL 515 lib/cluster/heartbeat.c if (channel == NULL || channel->ch_status != IPC_CONNECT) { NULL 526 lib/cluster/heartbeat.c crm_node_t *peer = NULL; NULL 527 lib/cluster/heartbeat.c const char *const_uuid = NULL; NULL 528 lib/cluster/heartbeat.c const char *const_uname = NULL; NULL 545 lib/cluster/heartbeat.c void *handle = NULL; NULL 559 lib/cluster/heartbeat.c CRM_CHECK(const_uname != NULL, return FALSE); NULL 564 lib/cluster/heartbeat.c CRM_CHECK(const_uuid != NULL, return FALSE); NULL 611 lib/cluster/heartbeat.c const char *ha_node = NULL; NULL 614 lib/cluster/heartbeat.c if (conn == NULL) { NULL 624 lib/cluster/heartbeat.c xmlNode *node = NULL; NULL 625 lib/cluster/heartbeat.c crm_node_t *peer = NULL; NULL 626 lib/cluster/heartbeat.c const char *ha_node_type = NULL; NULL 627 lib/cluster/heartbeat.c const char *ha_node_uuid = NULL; NULL 630 lib/cluster/heartbeat.c if (ha_node == NULL) { NULL 643 lib/cluster/heartbeat.c if (ha_node_uuid == NULL) { NULL 654 lib/cluster/heartbeat.c } while (ha_node != NULL); NULL 42 lib/cluster/legacy.c cman_handle_t pcmk_cman_handle = NULL; NULL 51 lib/cluster/legacy.c void *ais_ipc_ctx = NULL; NULL 82 lib/cluster/legacy.c static char *local_uname = NULL; NULL 144 lib/cluster/legacy.c CRM_ASSERT(buf != NULL); NULL 225 lib/cluster/legacy.c xmlNode *member = NULL; NULL 226 lib/cluster/legacy.c const char *value = NULL; NULL 230 lib/cluster/legacy.c if (xml == NULL) { NULL 236 lib/cluster/legacy.c CRM_CHECK(value != NULL, crm_log_xml_err(xml, "No quorum value:"); return); NULL 242 lib/cluster/legacy.c CRM_CHECK(value != NULL, crm_log_xml_err(xml, "No membership id"); return); NULL 243 lib/cluster/legacy.c crm_peer_seq = crm_int_helper(value, NULL); NULL 253 lib/cluster/legacy.c for (member = __xml_first_child(xml); member != NULL; member = __xml_next(member)) { NULL 263 lib/cluster/legacy.c int votes = crm_int_helper(votes_s, NULL); NULL 264 lib/cluster/legacy.c unsigned int id = crm_int_helper(id_s, NULL); NULL 265 lib/cluster/legacy.c unsigned int procs = crm_int_helper(procs_s, NULL); NULL 268 lib/cluster/legacy.c uint64_t born = crm_int_helper(born_s, NULL); NULL 269 lib/cluster/legacy.c uint64_t seen = crm_int_helper(seen_s, NULL); NULL 283 lib/cluster/legacy.c const char *from = NULL; NULL 296 lib/cluster/legacy.c char *buffer = NULL; NULL 306 lib/cluster/legacy.c if (buffer == NULL) { NULL 315 lib/cluster/legacy.c cluster->cpg.cpg_deliver_fn(0, NULL, 0, 0, buffer, 0); NULL 318 lib/cluster/legacy.c plugin_default_deliver_message(0, NULL, 0, 0, buffer, 0); NULL 391 lib/cluster/legacy.c crm_node_t *peer = NULL; NULL 392 lib/cluster/legacy.c const char *name = NULL; NULL 451 lib/cluster/legacy.c if (pcmk_cman_handle == NULL || cman_is_active(pcmk_cman_handle) == FALSE) { NULL 498 lib/cluster/legacy.c char *pid_s = NULL; NULL 499 lib/cluster/legacy.c const char *name = NULL; NULL 500 lib/cluster/legacy.c crm_node_t *peer = NULL; NULL 532 lib/cluster/legacy.c if (ais_fd_callbacks.destroy == NULL) { NULL 541 lib/cluster/legacy.c send_cluster_text(crm_class_cluster, pid_s, TRUE, NULL, crm_msg_ais); NULL 547 lib/cluster/legacy.c plugin_get_details(NULL, &(cluster->uname)); NULL 569 lib/cluster/legacy.c xmlNode *node = NULL; NULL 571 lib/cluster/legacy.c for (node = __xml_first_child(msg); node != NULL; node = __xml_next(node)) { NULL 583 lib/cluster/legacy.c crm_update_peer_proc(__FUNCTION__, peer, children, NULL); NULL 598 lib/cluster/legacy.c callback(NULL); NULL 619 lib/cluster/legacy.c xmlNode *poke = create_xml_node(NULL, "poke"); NULL 624 lib/cluster/legacy.c crm_ipc_send(mainloop_get_ipc_client(ipc), poke, 0, 0, NULL); NULL 645 lib/cluster/legacy.c return NULL; /* Always use the uname() default for localhost. No way to look up peers */ NULL 651 lib/cluster/legacy.c char *name = NULL; NULL 657 lib/cluster/legacy.c cman = cman_init(NULL); NULL 658 lib/cluster/legacy.c if (cman != NULL && cman_is_active(cman)) { NULL 670 lib/cluster/legacy.c if (name == NULL) { NULL 681 lib/cluster/legacy.c crm_node_t *peer = NULL; NULL 717 lib/cluster/legacy.c if(cluster->uname == NULL) { NULL 798 lib/cluster/legacy.c char *env_key = NULL; NULL 799 lib/cluster/legacy.c const char *env_value = NULL; NULL 804 lib/cluster/legacy.c *value = NULL; NULL 883 lib/cluster/legacy.c char *value = NULL; NULL 897 lib/cluster/legacy.c get_config_opt(config, local_handle, "name", &value, NULL); NULL 912 lib/cluster/legacy.c get_config_opt(config, local_handle, "provider", &value, NULL); NULL 935 lib/cluster/legacy.c if (node == NULL) { NULL 44 lib/cluster/membership.c GHashTable *crm_peer_cache = NULL; NULL 62 lib/cluster/membership.c GHashTable *crm_remote_peer_cache = NULL; NULL 71 lib/cluster/membership.c if (crm_remote_peer_cache == NULL) { NULL 93 lib/cluster/membership.c if (node_name == NULL) { NULL 95 lib/cluster/membership.c return NULL; NULL 106 lib/cluster/membership.c if (node == NULL) { NULL 107 lib/cluster/membership.c return NULL; NULL 113 lib/cluster/membership.c if (node->uuid == NULL) { NULL 116 lib/cluster/membership.c return NULL; NULL 139 lib/cluster/membership.c CRM_ASSERT(crm_remote_peer_get(node_name) != NULL); NULL 193 lib/cluster/membership.c const char *state = NULL; NULL 196 lib/cluster/membership.c CRM_CHECK(remote != NULL, return); NULL 206 lib/cluster/membership.c if (node == NULL) { NULL 267 lib/cluster/membership.c g_hash_table_foreach(crm_remote_peer_cache, mark_dirty, NULL); NULL 291 lib/cluster/membership.c g_hash_table_foreach_remove(crm_remote_peer_cache, is_dirty, NULL); NULL 297 lib/cluster/membership.c if(node == NULL) { NULL 326 lib/cluster/membership.c if (search == NULL) { NULL 357 lib/cluster/membership.c if (crm_peer_cache == NULL) { NULL 363 lib/cluster/membership.c search.uname = name ? strdup(name) : NULL; NULL 421 lib/cluster/membership.c if (crm_peer_cache == NULL) { NULL 425 lib/cluster/membership.c if (crm_remote_peer_cache == NULL) { NULL 426 lib/cluster/membership.c crm_remote_peer_cache = g_hash_table_new_full(crm_strcase_hash, crm_strcase_equal, NULL, destroy_crm_node); NULL 433 lib/cluster/membership.c if (crm_peer_cache != NULL) { NULL 436 lib/cluster/membership.c crm_peer_cache = NULL; NULL 439 lib/cluster/membership.c if (crm_remote_peer_cache != NULL) { NULL 442 lib/cluster/membership.c crm_remote_peer_cache = NULL; NULL 446 lib/cluster/membership.c void (*crm_status_callback) (enum crm_status_type, crm_node_t *, const void *) = NULL; NULL 484 lib/cluster/membership.c const char *id = NULL; NULL 485 lib/cluster/membership.c crm_node_t *node = NULL; NULL 504 lib/cluster/membership.c crm_node_t *node = NULL; NULL 506 lib/cluster/membership.c CRM_ASSERT(id > 0 || uname != NULL); NULL 514 lib/cluster/membership.c if (node == NULL && (flags & CRM_GET_PEER_CLUSTER)) { NULL 523 lib/cluster/membership.c crm_node_t *node = NULL; NULL 525 lib/cluster/membership.c CRM_ASSERT(id > 0 || uname != NULL); NULL 533 lib/cluster/membership.c if (node == NULL && (flags & CRM_GET_PEER_CLUSTER)) { NULL 543 lib/cluster/membership.c crm_node_t *node = NULL; NULL 544 lib/cluster/membership.c crm_node_t *by_id = NULL; NULL 545 lib/cluster/membership.c crm_node_t *by_name = NULL; NULL 547 lib/cluster/membership.c CRM_ASSERT(id > 0 || uname != NULL); NULL 551 lib/cluster/membership.c if (uname != NULL) { NULL 553 lib/cluster/membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 564 lib/cluster/membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 578 lib/cluster/membership.c } else if(by_id == NULL && by_name) { NULL 585 lib/cluster/membership.c node = NULL; /* Create a new one */ NULL 591 lib/cluster/membership.c } else if(by_name == NULL && by_id) { NULL 639 lib/cluster/membership.c crm_node_t *existing_node = NULL; NULL 641 lib/cluster/membership.c if (node->id == 0 || node->uname == NULL) { NULL 652 lib/cluster/membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &existing_node)) { NULL 655 lib/cluster/membership.c && existing_node->uname != NULL NULL 678 lib/cluster/membership.c crm_node_t *node = NULL; NULL 679 lib/cluster/membership.c char *uname_lookup = NULL; NULL 681 lib/cluster/membership.c CRM_ASSERT(id > 0 || uname != NULL); NULL 689 lib/cluster/membership.c if ((node == NULL || node->uname == NULL) && (uname == NULL)) { NULL 698 lib/cluster/membership.c if (node == NULL) { NULL 704 lib/cluster/membership.c if (node == NULL) { NULL 715 lib/cluster/membership.c if(id > 0 && uname && (node->id == 0 || node->uname == NULL)) { NULL 723 lib/cluster/membership.c if (uname && (node->uname == NULL)) { NULL 727 lib/cluster/membership.c if(node->uuid == NULL) { NULL 763 lib/cluster/membership.c crm_node_t *node = NULL; NULL 768 lib/cluster/membership.c CRM_ASSERT(node != NULL); NULL 770 lib/cluster/membership.c if (node->uuid == NULL) { NULL 775 lib/cluster/membership.c } else if (uuid != NULL) { NULL 781 lib/cluster/membership.c if (crm_update_peer_proc(source, node, children, state) == NULL) { NULL 782 lib/cluster/membership.c return NULL; NULL 786 lib/cluster/membership.c if (state != NULL) { NULL 787 lib/cluster/membership.c if (crm_update_peer_state(source, node, state, seen) == NULL) { NULL 788 lib/cluster/membership.c return NULL; NULL 808 lib/cluster/membership.c if (addr != NULL) { NULL 809 lib/cluster/membership.c if (node->addr == NULL || crm_str_eq(node->addr, addr, FALSE) == FALSE) { NULL 840 lib/cluster/membership.c CRM_CHECK(uname != NULL, NULL 842 lib/cluster/membership.c CRM_CHECK(node != NULL, NULL 861 lib/cluster/membership.c CRM_ASSERT(node->uname != NULL); NULL 864 lib/cluster/membership.c crm_status_callback(crm_status_uname, node, NULL); NULL 896 lib/cluster/membership.c CRM_CHECK(node != NULL, crm_err("%s: Could not set %s to %s for NULL", NULL 897 lib/cluster/membership.c source, peer2text(flag), status); return NULL); NULL 905 lib/cluster/membership.c if (status == NULL) { NULL 930 lib/cluster/membership.c if (status == NULL && flag <= crm_proc_none) { NULL 948 lib/cluster/membership.c if (crm_peer_cache == NULL) { NULL 949 lib/cluster/membership.c return NULL; NULL 967 lib/cluster/membership.c char *last = NULL; NULL 970 lib/cluster/membership.c CRM_CHECK(node != NULL, crm_err("%s: Could not set 'expected' to %s", source, expected); NULL 979 lib/cluster/membership.c if (expected != NULL && safe_str_neq(node->expected, expected)) { NULL 1015 lib/cluster/membership.c CRM_CHECK(node != NULL, NULL 1018 lib/cluster/membership.c return NULL); NULL 1051 lib/cluster/membership.c node = NULL; NULL 1079 lib/cluster/membership.c return crm_update_peer_state_iter(source, node, state, membership, NULL); NULL 1092 lib/cluster/membership.c crm_node_t *node = NULL; NULL 1096 lib/cluster/membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *)&node)) { NULL 32 lib/common/alerts.c [CRM_alert_recipient] = {"CRM_notify_recipient", "CRM_alert_recipient", NULL}, NULL 33 lib/common/alerts.c [CRM_alert_node] = {"CRM_notify_node", "CRM_alert_node", NULL}, NULL 34 lib/common/alerts.c [CRM_alert_nodeid] = {"CRM_notify_nodeid", "CRM_alert_nodeid", NULL}, NULL 35 lib/common/alerts.c [CRM_alert_rsc] = {"CRM_notify_rsc", "CRM_alert_rsc", NULL}, NULL 36 lib/common/alerts.c [CRM_alert_task] = {"CRM_notify_task", "CRM_alert_task", NULL}, NULL 37 lib/common/alerts.c [CRM_alert_interval] = {"CRM_notify_interval", "CRM_alert_interval", NULL}, NULL 38 lib/common/alerts.c [CRM_alert_desc] = {"CRM_notify_desc", "CRM_alert_desc", NULL}, NULL 39 lib/common/alerts.c [CRM_alert_status] = {"CRM_notify_status", "CRM_alert_status", NULL}, NULL 40 lib/common/alerts.c [CRM_alert_target_rc] = {"CRM_notify_target_rc", "CRM_alert_target_rc", NULL}, NULL 41 lib/common/alerts.c [CRM_alert_rc] = {"CRM_notify_rc", "CRM_alert_rc", NULL}, NULL 42 lib/common/alerts.c [CRM_alert_kind] = {"CRM_notify_kind", "CRM_alert_kind", NULL}, NULL 43 lib/common/alerts.c [CRM_alert_version] = {"CRM_notify_version", "CRM_alert_version", NULL}, NULL 44 lib/common/alerts.c [CRM_alert_node_sequence] = {"CRM_notify_node_sequence", CRM_ALERT_NODE_SEQUENCE, NULL}, NULL 45 lib/common/alerts.c [CRM_alert_timestamp] = {"CRM_notify_timestamp", "CRM_alert_timestamp", NULL}, NULL 46 lib/common/alerts.c [CRM_alert_attribute_name] = {"CRM_notify_attribute_name", "CRM_alert_attribute_name", NULL}, NULL 47 lib/common/alerts.c [CRM_alert_attribute_value] = {"CRM_notify_attribute_value", "CRM_alert_attribute_value", NULL} NULL 106 lib/common/alerts.c dst->value = src->value?strdup(src->value):NULL; NULL 238 lib/common/alerts.c xmlNode *change = NULL; NULL 239 lib/common/alerts.c xmlXPathObject *xpathObj = NULL; NULL 241 lib/common/alerts.c CRM_CHECK(msg != NULL, return FALSE); NULL 253 lib/common/alerts.c if ((xpathObj = xpath_search(msg, diff)) != NULL) { NULL 258 lib/common/alerts.c for (change = __xml_first_child(patchset); change != NULL; change = __xml_next(change)) { NULL 261 lib/common/alerts.c if (xpath == NULL) { NULL 270 lib/common/alerts.c xmlNode *section = NULL; NULL 271 lib/common/alerts.c const char *name = NULL; NULL 274 lib/common/alerts.c ((section = __xml_first_child(change)) == NULL) || NULL 275 lib/common/alerts.c ((name = crm_element_name(section)) == NULL) || NULL 32 lib/common/attrd_client.c xmlNode *attrd_op = create_xml_node(NULL, __FUNCTION__); NULL 59 lib/common/attrd_client.c static crm_ipc_t *local_ipc = NULL; NULL 62 lib/common/attrd_client.c if (ipc == NULL && local_ipc == NULL) { NULL 68 lib/common/attrd_client.c if (ipc == NULL) { NULL 79 lib/common/attrd_client.c rc = crm_ipc_send(ipc, attrd_op, flags, 0, NULL); NULL 141 lib/common/attrd_client.c const char *task = NULL; NULL 142 lib/common/attrd_client.c const char *name_as = NULL; NULL 144 lib/common/attrd_client.c const char *display_command = NULL; /* for commands without name/value */ NULL 155 lib/common/attrd_client.c if (name == NULL && command == 'U') { NULL 192 lib/common/attrd_client.c if (name_as != NULL) { NULL 193 lib/common/attrd_client.c if (name == NULL) { NULL 267 lib/common/attrd_client.c name = NULL; NULL 270 lib/common/attrd_client.c if(name != NULL) { NULL 45 lib/common/cib_secrets.c char *hash2 = NULL; NULL 68 lib/common/cib_secrets.c return NULL; NULL 73 lib/common/cib_secrets.c return NULL; NULL 104 lib/common/cib_secrets.c GList *secret_params = NULL, *l; NULL 107 lib/common/cib_secrets.c const char *dir_prefix = NULL; NULL 109 lib/common/cib_secrets.c if (params == NULL) { NULL 178 lib/common/cib_secrets.c if (hash == NULL) { NULL 44 lib/common/compat.c return realpath(path, NULL); NULL 50 lib/common/compat.c if ((canonicalized == NULL) || (realpath(path, canonicalized) == NULL)) { NULL 51 lib/common/compat.c return NULL; NULL 56 lib/common/compat.c return NULL; NULL 42 lib/common/digest.c char *buffer = NULL; NULL 66 lib/common/digest.c char *digest = NULL; NULL 67 lib/common/digest.c char *buffer = NULL; NULL 68 lib/common/digest.c xmlNode *copy = NULL; NULL 72 lib/common/digest.c copy = sorted_xml(input, NULL, TRUE); NULL 78 lib/common/digest.c CRM_CHECK(buffer != NULL && strlen(buffer) > 0, free_xml(copy); NULL 80 lib/common/digest.c return NULL); NULL 101 lib/common/digest.c char *digest = NULL; NULL 102 lib/common/digest.c char *buffer = NULL; NULL 105 lib/common/digest.c static struct qb_log_callsite *digest_cs = NULL; NULL 125 lib/common/digest.c CRM_ASSERT(buffer != NULL); NULL 128 lib/common/digest.c if (digest_cs == NULL) { NULL 204 lib/common/digest.c if (version == NULL || compare_version("3.0.5", version) > 0) { NULL 224 lib/common/digest.c char *calculated = NULL; NULL 227 lib/common/digest.c if (input != NULL) { NULL 229 lib/common/digest.c if (calculated == NULL) { NULL 55 lib/common/io.c CRM_CHECK(path != NULL, return); NULL 89 lib/common/io.c char *filename = NULL; NULL 92 lib/common/io.c CRM_CHECK(directory != NULL, return NULL); NULL 93 lib/common/io.c CRM_CHECK(series != NULL, return NULL); NULL 102 lib/common/io.c CRM_CHECK(filename != NULL, return NULL); NULL 124 lib/common/io.c FILE *file_strm = NULL; NULL 126 lib/common/io.c char *series_file = NULL; NULL 127 lib/common/io.c char *buffer = NULL; NULL 131 lib/common/io.c CRM_CHECK(directory != NULL, return 0); NULL 132 lib/common/io.c CRM_CHECK(series != NULL, return 0); NULL 137 lib/common/io.c CRM_CHECK(series_file != NULL, return 0); NULL 141 lib/common/io.c if (file_strm == NULL) { NULL 159 lib/common/io.c buffer = NULL; NULL 168 lib/common/io.c buffer = NULL; NULL 198 lib/common/io.c FILE *file_strm = NULL; NULL 199 lib/common/io.c char *series_file = NULL; NULL 201 lib/common/io.c CRM_CHECK(directory != NULL, return); NULL 202 lib/common/io.c CRM_CHECK(series != NULL, return); NULL 220 lib/common/io.c if (file_strm != NULL) { NULL 230 lib/common/io.c if (file_strm != NULL) { NULL 253 lib/common/io.c char *series_file = NULL; NULL 256 lib/common/io.c CRM_CHECK((directory != NULL) && (series != NULL), errno = EINVAL; return -1); NULL 259 lib/common/io.c CRM_CHECK(series_file != NULL, return -1); NULL 284 lib/common/io.c char *full_file = NULL; NULL 285 lib/common/io.c const char *target = NULL; NULL 290 lib/common/io.c CRM_ASSERT(dir != NULL); NULL 291 lib/common/io.c if (file != NULL) { NULL 317 lib/common/io.c struct passwd *sys_user = NULL; NULL 320 lib/common/io.c readwritable = (sys_user != NULL NULL 333 lib/common/io.c readwritable = (sys_grp != NULL NULL 336 lib/common/io.c if (need_both || user == NULL) { NULL 364 lib/common/io.c if (directory == NULL) { NULL 397 lib/common/io.c char *contents = NULL; NULL 404 lib/common/io.c if (fp == NULL) { NULL 405 lib/common/io.c return NULL; NULL 413 lib/common/io.c if (contents == NULL) { NULL 415 lib/common/io.c return NULL; NULL 423 lib/common/io.c contents = NULL; NULL 446 lib/common/io.c if (fp == NULL) { NULL 449 lib/common/io.c if ((contents != NULL) && (fprintf(fp, "%s", contents) < 0)) { NULL 79 lib/common/ipc.c char *since_epoch = NULL; NULL 84 lib/common/ipc.c if (local_cust1 == NULL) { NULL 89 lib/common/ipc.c if (local_cust2 == NULL) { NULL 96 lib/common/ipc.c if (since_epoch != NULL) { NULL 98 lib/common/ipc.c local_cust1, local_cust2, (unsigned long)time(NULL), ref_counter++); NULL 109 lib/common/ipc.c char *true_from = NULL; NULL 110 lib/common/ipc.c xmlNode *request = NULL; NULL 113 lib/common/ipc.c if (uuid_from != NULL) { NULL 115 lib/common/ipc.c } else if (sys_from != NULL) { NULL 122 lib/common/ipc.c request = create_xml_node(NULL, __FUNCTION__); NULL 133 lib/common/ipc.c if (host_to != NULL && strlen(host_to) > 0) { NULL 137 lib/common/ipc.c if (msg_data != NULL) { NULL 152 lib/common/ipc.c xmlNode *reply = NULL; NULL 161 lib/common/ipc.c if (type == NULL) { NULL 163 lib/common/ipc.c CRM_ASSERT(type != NULL); NULL 164 lib/common/ipc.c return NULL; NULL 168 lib/common/ipc.c return NULL; NULL 171 lib/common/ipc.c reply = create_xml_node(NULL, __FUNCTION__); NULL 172 lib/common/ipc.c if (reply == NULL) { NULL 174 lib/common/ipc.c return NULL; NULL 189 lib/common/ipc.c if (host_from != NULL && strlen(host_from) > 0) { NULL 193 lib/common/ipc.c if (xml_response_data != NULL) { NULL 204 lib/common/ipc.c GHashTable *client_connections = NULL; NULL 214 lib/common/ipc.c return NULL; NULL 234 lib/common/ipc.c return NULL; NULL 240 lib/common/ipc.c if (c == NULL) { NULL 242 lib/common/ipc.c } else if (c->name == NULL && c->id == NULL) { NULL 244 lib/common/ipc.c } else if (c->name == NULL) { NULL 254 lib/common/ipc.c if (client_connections == NULL) { NULL 263 lib/common/ipc.c if (client_connections != NULL) { NULL 269 lib/common/ipc.c g_hash_table_destroy(client_connections); client_connections = NULL; NULL 276 lib/common/ipc.c qb_ipcs_connection_t *c = NULL; NULL 278 lib/common/ipc.c if (service == NULL) { NULL 284 lib/common/ipc.c while (c != NULL) { NULL 308 lib/common/ipc.c CRM_ASSERT(client != NULL); NULL 320 lib/common/ipc.c crm_client_t *client = NULL; NULL 323 lib/common/ipc.c if (c == NULL) { NULL 324 lib/common/ipc.c return NULL; NULL 368 lib/common/ipc.c if (c == NULL) { NULL 424 lib/common/ipc.c int qmax_int = crm_int_helper(qmax, NULL); NULL 447 lib/common/ipc.c xmlNode *xml = NULL; NULL 448 lib/common/ipc.c char *uncompressed = NULL; NULL 469 lib/common/ipc.c return NULL; NULL 486 lib/common/ipc.c return NULL; NULL 534 lib/common/ipc.c if (c == NULL) { NULL 545 lib/common/ipc.c struct crm_ipc_response_header *header = NULL; NULL 614 lib/common/ipc.c char *compressed = NULL; NULL 618 lib/common/ipc.c CRM_ASSERT(result != NULL); NULL 628 lib/common/ipc.c *result = NULL; NULL 764 lib/common/ipc.c struct iovec *iov = NULL; NULL 767 lib/common/ipc.c if(c == NULL) { NULL 790 lib/common/ipc.c xmlNode *ack = create_xml_node(NULL, tag); NULL 847 lib/common/ipc.c crm_ipc_t *client = NULL; NULL 878 lib/common/ipc.c if (client->ipc == NULL) { NULL 912 lib/common/ipc.c client->ipc = NULL; NULL 960 lib/common/ipc.c if (client == NULL) { NULL 964 lib/common/ipc.c } else if (client->ipc == NULL) { NULL 992 lib/common/ipc.c CRM_ASSERT(client != NULL); NULL 1052 lib/common/ipc.c struct crm_ipc_response_header *header = NULL; NULL 1054 lib/common/ipc.c CRM_ASSERT(client != NULL); NULL 1055 lib/common/ipc.c CRM_ASSERT(client->ipc != NULL); NULL 1056 lib/common/ipc.c CRM_ASSERT(client->buffer != NULL); NULL 1098 lib/common/ipc.c CRM_ASSERT(client != NULL); NULL 1105 lib/common/ipc.c struct crm_ipc_response_header *header = NULL; NULL 1107 lib/common/ipc.c CRM_ASSERT(client != NULL); NULL 1108 lib/common/ipc.c if (client->buffer == NULL) { NULL 1119 lib/common/ipc.c CRM_ASSERT(client != NULL); NULL 1139 lib/common/ipc.c time_t timeout = time(NULL) + 1 + (ms_timeout / 1000); NULL 1143 lib/common/ipc.c } while (rc == -EAGAIN && time(NULL) < timeout && crm_ipc_connected(client)); NULL 1151 lib/common/ipc.c time_t timeout = time(NULL) + 1 + (ms_timeout / 1000); NULL 1162 lib/common/ipc.c struct crm_ipc_response_header *hdr = NULL; NULL 1193 lib/common/ipc.c } while (time(NULL) < timeout); NULL 1210 lib/common/ipc.c if (client == NULL) { NULL 1319 lib/common/ipc.c crm_write_blackbox(0, NULL); NULL 1338 lib/common/ipc.c xmlNode *hello_node = NULL; NULL 1339 lib/common/ipc.c xmlNode *hello = NULL; NULL 1341 lib/common/ipc.c if (uuid == NULL || strlen(uuid) == 0 NULL 1342 lib/common/ipc.c || client_name == NULL || strlen(client_name) == 0 NULL 1343 lib/common/ipc.c || major_version == NULL || strlen(major_version) == 0 NULL 1344 lib/common/ipc.c || minor_version == NULL || strlen(minor_version) == 0) { NULL 1346 lib/common/ipc.c return NULL; NULL 1349 lib/common/ipc.c hello_node = create_xml_node(NULL, XML_TAG_OPTIONS); NULL 1356 lib/common/ipc.c hello = create_request(CRM_OP_HELLO, hello_node, NULL, NULL, client_name, uuid); NULL 102 lib/common/iso8601.c crm_time_t *dt = NULL; NULL 105 lib/common/iso8601.c if (date_time == NULL) { NULL 106 lib/common/iso8601.c tm_now = time(NULL); NULL 118 lib/common/iso8601.c if (dt == NULL) { NULL 273 lib/common/iso8601.c crm_time_t *utc = NULL; NULL 410 lib/common/iso8601.c char *date_s = NULL; NULL 411 lib/common/iso8601.c char *time_s = NULL; NULL 412 lib/common/iso8601.c char *offset_s = NULL; NULL 413 lib/common/iso8601.c char *result_s = NULL; NULL 414 lib/common/iso8601.c crm_time_t *dt = NULL; NULL 415 lib/common/iso8601.c crm_time_t *utc = NULL; NULL 417 lib/common/iso8601.c if (date_time == NULL) { NULL 428 lib/common/iso8601.c CRM_CHECK(dt != NULL, return NULL); NULL 436 lib/common/iso8601.c if (date_s == NULL) { NULL 467 lib/common/iso8601.c if (date_s == NULL) { NULL 512 lib/common/iso8601.c if (time_s == NULL) { NULL 538 lib/common/iso8601.c date_s ? date_s : "", (date_s != NULL && time_s != NULL) ? " " : "", NULL 587 lib/common/iso8601.c if (offset_str == NULL) { NULL 589 lib/common/iso8601.c time_t now = time(NULL); NULL 622 lib/common/iso8601.c char *offset_s = NULL; NULL 626 lib/common/iso8601.c if (a_time == NULL) { NULL 634 lib/common/iso8601.c if (offset_s == NULL) { NULL 654 lib/common/iso8601.c crm_time_t *dt = NULL; NULL 662 lib/common/iso8601.c CRM_CHECK(date_str != NULL, return NULL); NULL 663 lib/common/iso8601.c CRM_CHECK(strlen(date_str) > 0, return NULL); NULL 667 lib/common/iso8601.c dt = crm_time_new(NULL); NULL 757 lib/common/iso8601.c if (time_s == NULL) { NULL 768 lib/common/iso8601.c CRM_CHECK(crm_time_check(dt), return NULL); NULL 782 lib/common/iso8601.c CRM_CHECK(str != NULL, return FALSE); NULL 783 lib/common/iso8601.c CRM_CHECK(result != NULL, return FALSE); NULL 836 lib/common/iso8601.c crm_time_t *diff = NULL; NULL 838 lib/common/iso8601.c CRM_CHECK(interval_str != NULL, goto bail); NULL 901 lib/common/iso8601.c return NULL; NULL 909 lib/common/iso8601.c crm_time_period_t *period = NULL; NULL 911 lib/common/iso8601.c CRM_CHECK(period_str != NULL, return NULL); NULL 912 lib/common/iso8601.c CRM_CHECK(strlen(period_str) > 0, return NULL); NULL 935 lib/common/iso8601.c } else if (period->diff != NULL) { NULL 937 lib/common/iso8601.c period->start = crm_time_new(NULL); NULL 941 lib/common/iso8601.c CRM_CHECK(period_str != NULL, goto bail); NULL 945 lib/common/iso8601.c if (period->start == NULL && period->end == NULL) { NULL 949 lib/common/iso8601.c } else if (period->start == NULL && period->diff == NULL) { NULL 953 lib/common/iso8601.c } else if (period->end == NULL && period->diff == NULL) { NULL 964 lib/common/iso8601.c return NULL; NULL 966 lib/common/iso8601.c if (period->end == NULL && period->diff == NULL) { NULL 969 lib/common/iso8601.c if (period->start == NULL) { NULL 972 lib/common/iso8601.c } else if (period->end == NULL) { NULL 987 lib/common/iso8601.c CRM_CHECK(target != NULL && source != NULL, return); NULL 1053 lib/common/iso8601.c crm_time_t *utc = NULL; NULL 1054 lib/common/iso8601.c crm_time_t *answer = NULL; NULL 1056 lib/common/iso8601.c CRM_CHECK(dt != NULL && value != NULL, return NULL); NULL 1075 lib/common/iso8601.c crm_time_t *utc = NULL; NULL 1076 lib/common/iso8601.c crm_time_t *answer = NULL; NULL 1078 lib/common/iso8601.c CRM_CHECK(dt != NULL && value != NULL, return NULL); NULL 1098 lib/common/iso8601.c crm_time_t *utc = NULL; NULL 1099 lib/common/iso8601.c crm_time_t *answer = NULL; NULL 1101 lib/common/iso8601.c CRM_CHECK(dt != NULL && value != NULL, return NULL); NULL 1122 lib/common/iso8601.c CRM_CHECK(dt != NULL, return FALSE); NULL 1153 lib/common/iso8601.c crm_time_t *t1 = NULL; NULL 1154 lib/common/iso8601.c crm_time_t *t2 = NULL; NULL 1156 lib/common/iso8601.c if (a == NULL && b == NULL) { NULL 1158 lib/common/iso8601.c } else if (a == NULL) { NULL 1160 lib/common/iso8601.c } else if (b == NULL) { NULL 1309 lib/common/iso8601.c crm_time_hr_t *hr_dt = NULL; NULL 1359 lib/common/iso8601.c crm_time_hr_t *hr_dt = NULL; NULL 1363 lib/common/iso8601.c if (gettimeofday(&tv_now, NULL) == 0) { NULL 1364 lib/common/iso8601.c hr_dt = crm_time_timeval_hr_convert(NULL, &tv_now); NULL 1370 lib/common/iso8601.c hr_dt = crm_time_hr_convert(NULL, dt); NULL 1393 lib/common/iso8601.c return NULL; NULL 1451 lib/common/iso8601.c return (date_len == 0)?NULL:strdup(date_s); 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 113 lib/common/logging.c crm_write_blackbox(nsig, NULL); NULL 120 lib/common/logging.c const char *value = NULL; NULL 124 lib/common/logging.c if (value != NULL) { NULL 131 lib/common/logging.c if (value != NULL) { NULL 137 lib/common/logging.c return NULL; NULL 169 lib/common/logging.c if (value != NULL && crm_is_true(value)) { NULL 172 lib/common/logging.c } else if (value != NULL && strstr(value, daemon)) { NULL 183 lib/common/logging.c g_log_set_default_handler(glib_log_default, NULL); NULL 235 lib/common/logging.c FILE *logfile = NULL; NULL 236 lib/common/logging.c char *parent_dir = NULL; NULL 239 lib/common/logging.c if (filename == NULL && have_logfile == FALSE) { NULL 243 lib/common/logging.c if (filename == NULL) { NULL 271 lib/common/logging.c if(logfile == NULL) { NULL 351 lib/common/logging.c static char *blackbox_file_prefix = NULL; NULL 368 lib/common/logging.c if (blackbox_file_prefix == NULL) { NULL 396 lib/common/logging.c blackbox_trigger = qb_log_custom_open(blackbox_logger, NULL, NULL, NULL); NULL 432 lib/common/logging.c time_t now = time(NULL); NULL 434 lib/common/logging.c if (blackbox_file_prefix == NULL) { NULL 485 lib/common/logging.c return crm_log_init(entity, LOG_ERR, FALSE, FALSE, 0, NULL, TRUE); NULL 518 lib/common/logging.c if (strstr(trace_blackbox, key) != NULL) { NULL 531 lib/common/logging.c } else if (trace_files && strstr(trace_files, cs->filename) != NULL) { NULL 533 lib/common/logging.c } else if (trace_fns && strstr(trace_fns, cs->function) != NULL) { NULL 535 lib/common/logging.c } else if (trace_fmts && strstr(trace_fmts, cs->format) != NULL) { NULL 539 lib/common/logging.c && cs->tags != crm_trace_nonlog && g_quark_to_string(cs->tags) != NULL) { NULL 549 lib/common/logging.c static const char *trace_fns = NULL; NULL 550 lib/common/logging.c static const char *trace_tags = NULL; NULL 551 lib/common/logging.c static const char *trace_fmts = NULL; NULL 552 lib/common/logging.c static const char *trace_files = NULL; NULL 553 lib/common/logging.c static const char *trace_blackbox = NULL; NULL 563 lib/common/logging.c if (trace_tags != NULL) { NULL 566 lib/common/logging.c const char *offset = NULL; NULL 581 lib/common/logging.c } while (next != NULL && next[0] != 0); NULL 597 lib/common/logging.c if (cs == NULL) { NULL 664 lib/common/logging.c {NULL, -1} NULL 668 lib/common/logging.c for (lpc = 0; name != NULL && p_names[lpc].name != NULL; lpc++) { NULL 680 lib/common/logging.c if(crm_system_name != NULL) { NULL 687 lib/common/logging.c } else if (argc > 0 && argv != NULL) { NULL 699 lib/common/logging.c } else if (crm_system_name == NULL) { NULL 730 lib/common/logging.c glib_log_default = g_log_set_default_handler(crm_glib_handler, NULL); NULL 761 lib/common/logging.c const char *syslog_priority = NULL; NULL 774 lib/common/logging.c if (facility == NULL) { NULL 847 lib/common/logging.c if (user != NULL && safe_str_neq(user, "root") && safe_str_neq(user, CRM_DAEMON_USER)) { NULL 858 lib/common/logging.c if (pwent == NULL) { NULL 957 lib/common/logging.c char *arg_string = NULL; NULL 959 lib/common/logging.c if (argc == 0 || argv == NULL || logged) { NULL 966 lib/common/logging.c if (argv[lpc] == NULL) { NULL 1234 lib/common/logging.c const char *next = NULL; NULL 1235 lib/common/logging.c const char *offset = NULL; NULL 1237 lib/common/logging.c if (output == NULL) { NULL 1252 lib/common/logging.c } while (next != NULL && next[0] != 0); NULL 1260 lib/common/logging.c char *string = NULL; NULL 178 lib/common/mainloop.c crm_trigger_t *trigger = NULL; NULL 187 lib/common/mainloop.c g_source_set_callback(source, dispatch, trigger, NULL); NULL 194 lib/common/mainloop.c trigger->id = g_source_attach(source, NULL); NULL 215 lib/common/mainloop.c GSource *source = NULL; NULL 219 lib/common/mainloop.c CRM_ASSERT(source != NULL); NULL 235 lib/common/mainloop.c GSource *gs = NULL; NULL 237 lib/common/mainloop.c if(source == NULL) { NULL 289 lib/common/mainloop.c if (sig > 0 && sig < NSIG && crm_signals[sig] != NULL) { NULL 329 lib/common/mainloop.c GSource *source = NULL; NULL 344 lib/common/mainloop.c } else if (crm_signals[sig] != NULL && crm_signals[sig]->handler == dispatch) { NULL 348 lib/common/mainloop.c } else if (crm_signals[sig] != NULL) { NULL 356 lib/common/mainloop.c crm_signals[sig] = (crm_signal_t *) mainloop_setup_trigger(source, priority, NULL, NULL); NULL 357 lib/common/mainloop.c CRM_ASSERT(crm_signals[sig] != NULL); NULL 365 lib/common/mainloop.c crm_signals[sig] = NULL; NULL 387 lib/common/mainloop.c crm_signal_t *tmp = NULL; NULL 393 lib/common/mainloop.c } else if (crm_signal(sig, NULL) == FALSE) { NULL 397 lib/common/mainloop.c } else if (crm_signals[sig] == NULL) { NULL 403 lib/common/mainloop.c crm_signals[sig] = NULL; NULL 408 lib/common/mainloop.c static qb_array_t *gio_map = NULL; NULL 557 lib/common/mainloop.c .job_add = NULL, NULL 593 lib/common/mainloop.c qb_ipcs_service_t *server = NULL; NULL 595 lib/common/mainloop.c if (gio_map == NULL) { NULL 612 lib/common/mainloop.c return NULL; NULL 747 lib/common/mainloop.c client->destroy_fn = NULL; NULL 754 lib/common/mainloop.c client->ipc = NULL; NULL 760 lib/common/mainloop.c free(client->name); client->name = NULL; NULL 770 lib/common/mainloop.c mainloop_io_t *client = NULL; NULL 776 lib/common/mainloop.c client = mainloop_add_fd(name, priority, fd, userdata, NULL); NULL 779 lib/common/mainloop.c if (client == NULL) { NULL 785 lib/common/mainloop.c return NULL; NULL 806 lib/common/mainloop.c return NULL; NULL 813 lib/common/mainloop.c mainloop_io_t *client = NULL; NULL 817 lib/common/mainloop.c if (client == NULL) { NULL 818 lib/common/mainloop.c return NULL; NULL 856 lib/common/mainloop.c if (client != NULL) { NULL 867 lib/common/mainloop.c static GListPtr child_list = NULL; NULL 896 lib/common/mainloop.c child->privatedata = NULL; NULL 1011 lib/common/mainloop.c GListPtr saved = NULL; NULL 1045 lib/common/mainloop.c mainloop_child_t *child = NULL; NULL 1046 lib/common/mainloop.c mainloop_child_t *match = NULL; NULL 1051 lib/common/mainloop.c for (iter = child_list; iter != NULL && match == NULL; iter = iter->next) { NULL 1058 lib/common/mainloop.c if (match == NULL) { NULL 1126 lib/common/mainloop.c g_timeout_add(1, child_signal_init, NULL); NULL 1154 lib/common/mainloop.c CRM_ASSERT(t != NULL); NULL 39 lib/common/operations.c CRM_ASSERT(rsc_id != NULL); NULL 40 lib/common/operations.c CRM_ASSERT(op_type != NULL); NULL 48 lib/common/operations.c char *notify = NULL; NULL 49 lib/common/operations.c char *mutable_key = NULL; NULL 50 lib/common/operations.c char *mutable_key_ptr = NULL; NULL 53 lib/common/operations.c CRM_CHECK(key != NULL, return FALSE); NULL 121 lib/common/operations.c char *op_id = NULL; NULL 123 lib/common/operations.c CRM_CHECK(rsc_id != NULL, return NULL); NULL 124 lib/common/operations.c CRM_CHECK(op_type != NULL, return NULL); NULL 125 lib/common/operations.c CRM_CHECK(notify_type != NULL, return NULL); NULL 133 lib/common/operations.c if (op_id != NULL) { NULL 143 lib/common/operations.c char *fail_state = NULL; NULL 145 lib/common/operations.c CRM_CHECK(transition_key != NULL, return NULL); NULL 150 lib/common/operations.c if (fail_state != NULL) { NULL 160 lib/common/operations.c char *fail_state = NULL; NULL 162 lib/common/operations.c CRM_CHECK(transition_key != NULL, return NULL); NULL 167 lib/common/operations.c if (fail_state != NULL) { NULL 178 lib/common/operations.c char *key = NULL; NULL 181 lib/common/operations.c CRM_CHECK(magic != NULL, return FALSE); NULL 182 lib/common/operations.c CRM_CHECK(op_rc != NULL, return FALSE); NULL 183 lib/common/operations.c CRM_CHECK(op_status != NULL, return FALSE); NULL 203 lib/common/operations.c char *fail_state = NULL; NULL 205 lib/common/operations.c CRM_CHECK(node != NULL, return NULL); NULL 210 lib/common/operations.c if (fail_state != NULL) { NULL 223 lib/common/operations.c CRM_CHECK(uuid != NULL, return FALSE); NULL 224 lib/common/operations.c CRM_CHECK(target_rc != NULL, return FALSE); NULL 225 lib/common/operations.c CRM_CHECK(action_id != NULL, return FALSE); NULL 226 lib/common/operations.c CRM_CHECK(transition_id != NULL, return FALSE); NULL 273 lib/common/operations.c *uuid = NULL; NULL 285 lib/common/operations.c char *key = NULL; NULL 286 lib/common/operations.c char *timeout = NULL; NULL 287 lib/common/operations.c char *interval = NULL; NULL 306 lib/common/operations.c if (param_set == NULL) { NULL 341 lib/common/operations.c if (timeout != NULL) { NULL 360 lib/common/operations.c char *digest = NULL; NULL 361 lib/common/operations.c xmlNode *args_xml = NULL; NULL 363 lib/common/operations.c if (op->params == NULL) { NULL 367 lib/common/operations.c args_xml = create_xml_node(NULL, XML_TAG_PARAMS); NULL 395 lib/common/operations.c char *uuid = NULL; NULL 444 lib/common/operations.c CRM_CHECK(prefix && task && interval, return NULL); NULL 460 lib/common/operations.c char *key = NULL; NULL 461 lib/common/operations.c char *magic = NULL; NULL 462 lib/common/operations.c char *op_id = NULL; NULL 463 lib/common/operations.c char *op_id_additional = NULL; NULL 464 lib/common/operations.c char *local_user_data = NULL; NULL 465 lib/common/operations.c const char *exit_reason = NULL; NULL 467 lib/common/operations.c xmlNode *xml_op = NULL; NULL 468 lib/common/operations.c const char *task = NULL; NULL 472 lib/common/operations.c CRM_CHECK(op != NULL, return NULL); NULL 512 lib/common/operations.c CRM_LOG_ASSERT(n_type != NULL); NULL 513 lib/common/operations.c CRM_LOG_ASSERT(n_task != NULL); NULL 537 lib/common/operations.c if (xml_op == NULL) { NULL 541 lib/common/operations.c if (op->user_data == NULL) { NULL 549 lib/common/operations.c if(magic == NULL) { NULL 560 lib/common/operations.c crm_xml_add(xml_op, XML_LRM_ATTR_EXIT_REASON, exit_reason == NULL ? "" : exit_reason); NULL 611 lib/common/operations.c op_id_additional = NULL; NULL 617 lib/common/operations.c op->user_data = NULL; NULL 89 lib/common/procfs.c if (name != NULL) { NULL 126 lib/common/procfs.c if (dp == NULL) { NULL 131 lib/common/procfs.c while ((entry = readdir(dp)) != NULL) { NULL 134 lib/common/procfs.c && (crm_pid_active(pid, NULL) == 1)) { NULL 155 lib/common/procfs.c FILE *stream = NULL; NULL 159 lib/common/procfs.c if (stream == NULL) { NULL 114 lib/common/remote.c return NULL; NULL 123 lib/common/remote.c return NULL; NULL 147 lib/common/remote.c time_t start = time(NULL); NULL 159 lib/common/remote.c } while (((time(NULL) - start) < (timeout_ms / 1000)) && NULL 177 lib/common/remote.c gnutls_priority_set_direct(*session, "NORMAL:+ANON-DH", NULL); NULL 205 lib/common/remote.c gnutls_priority_set_direct(*session, "NORMAL:+DHE-PSK:+PSK", NULL); NULL 232 lib/common/remote.c if (buf == NULL) { NULL 274 lib/common/remote.c if (buf == NULL) { NULL 344 lib/common/remote.c if (xml_text == NULL) { NULL 386 lib/common/remote.c xmlNode *xml = NULL; NULL 389 lib/common/remote.c if (remote->buffer == NULL || header == NULL) { NULL 390 lib/common/remote.c return NULL; NULL 410 lib/common/remote.c return NULL; NULL 415 lib/common/remote.c return NULL; NULL 434 lib/common/remote.c if (xml == NULL && header->version > REMOTE_MSG_VERSION) { NULL 438 lib/common/remote.c } else if (xml == NULL) { NULL 482 lib/common/remote.c start = time(NULL); NULL 492 lib/common/remote.c timeout = total_timeout - ((time(NULL) - start) * 1000); NULL 534 lib/common/remote.c CRM_ASSERT(remote->buffer != NULL); NULL 620 lib/common/remote.c time_t start = time(NULL); NULL 663 lib/common/remote.c remaining_timeout = total_timeout - ((time(NULL) - start) * 1000); NULL 699 lib/common/remote.c cb_arg = select(sock + 1, &rset, &wset, NULL, &ts); NULL 705 lib/common/remote.c if ((time(NULL) - cb_data->start) < (cb_data->timeout / 1000)) { NULL 714 lib/common/remote.c if ((time(NULL) - cb_data->start) < (cb_data->timeout / 1000)) { NULL 773 lib/common/remote.c struct tcp_async_cb_data *cb_data = NULL; NULL 794 lib/common/remote.c cb_data->start = time(NULL); NULL 864 lib/common/remote.c struct addrinfo *res = NULL; NULL 865 lib/common/remote.c struct addrinfo *rp = NULL; NULL 876 lib/common/remote.c ret_ga = getaddrinfo(server, NULL, &hints, &res); NULL 888 lib/common/remote.c for (rp = res; rp != NULL; rp = rp->ai_next) { NULL 945 lib/common/remote.c return crm_remote_tcp_connect_async(host, port, -1, NULL, NULL, NULL); NULL 1042 lib/common/remote.c port = strtol(env, NULL, 10); NULL 76 lib/common/schemas.c static struct schema_s *known_schemas = NULL; NULL 90 lib/common/schemas.c CRM_XML_LOG_BASE(priority, FALSE, 0, NULL, fmt, ap); NULL 130 lib/common/schemas.c static const char *base = NULL; NULL 132 lib/common/schemas.c if (base == NULL) { NULL 135 lib/common/schemas.c if (base == NULL || strlen(base) == 0) { NULL 220 lib/common/schemas.c CRM_ASSERT(known_schemas != NULL); NULL 277 lib/common/schemas.c struct dirent **namelist = NULL; NULL 289 lib/common/schemas.c "pacemaker-1.0.rng", NULL, 0); NULL 298 lib/common/schemas.c char *transform = NULL; NULL 314 lib/common/schemas.c char *xslt = NULL; NULL 317 lib/common/schemas.c xslt = get_schema_path(NULL, transform); NULL 321 lib/common/schemas.c add_schema(schema_validator_rng, &version, NULL, NULL, NULL 322 lib/common/schemas.c NULL, -1); NULL 332 lib/common/schemas.c add_schema(schema_validator_rng, &version, NULL, NULL, transform, NULL 341 lib/common/schemas.c "pacemaker-next.rng", NULL, 0); NULL 344 lib/common/schemas.c "pacemaker-next.rng", NULL, -1); NULL 347 lib/common/schemas.c "N/A", NULL, -1); NULL 356 lib/common/schemas.c xmlDtdPtr dtd = NULL; NULL 357 lib/common/schemas.c xmlValidCtxtPtr cvp = NULL; NULL 359 lib/common/schemas.c CRM_CHECK(doc != NULL, return FALSE); NULL 360 lib/common/schemas.c CRM_CHECK(dtd_file != NULL, return FALSE); NULL 362 lib/common/schemas.c dtd = xmlParseDTD(NULL, (const xmlChar *)dtd_file); NULL 363 lib/common/schemas.c if (dtd == NULL) { NULL 425 lib/common/schemas.c relaxng_ctx_cache_t *ctx = NULL; NULL 427 lib/common/schemas.c CRM_CHECK(doc != NULL, return FALSE); NULL 428 lib/common/schemas.c CRM_CHECK(relaxng_file != NULL, return FALSE); NULL 439 lib/common/schemas.c CRM_CHECK(ctx->parser != NULL, goto cleanup); NULL 454 lib/common/schemas.c CRM_CHECK(ctx->rng != NULL, NULL 459 lib/common/schemas.c CRM_CHECK(ctx->valid != NULL, goto cleanup); NULL 492 lib/common/schemas.c if (ctx->parser != NULL) { NULL 495 lib/common/schemas.c if (ctx->valid != NULL) { NULL 498 lib/common/schemas.c if (ctx->rng != NULL) { NULL 515 lib/common/schemas.c relaxng_ctx_cache_t *ctx = NULL; NULL 525 lib/common/schemas.c if (ctx == NULL) { NULL 528 lib/common/schemas.c if (ctx->parser != NULL) { NULL 531 lib/common/schemas.c if (ctx->valid != NULL) { NULL 534 lib/common/schemas.c if (ctx->rng != NULL) { NULL 538 lib/common/schemas.c known_schemas[lpc].cache = NULL; NULL 546 lib/common/schemas.c known_schemas = NULL; NULL 552 lib/common/schemas.c xmlDocPtr doc = NULL; NULL 554 lib/common/schemas.c char *file = NULL; NULL 564 lib/common/schemas.c CRM_CHECK(xml != NULL, return FALSE); NULL 594 lib/common/schemas.c FILE *fp = NULL; NULL 597 lib/common/schemas.c CRM_CHECK(filename != NULL, return); NULL 600 lib/common/schemas.c if (fp == NULL) { NULL 625 lib/common/schemas.c xmlDoc *doc = NULL; NULL 626 lib/common/schemas.c xmlNode *xml = NULL; NULL 630 lib/common/schemas.c CRM_CHECK(filename != NULL, return FALSE); NULL 640 lib/common/schemas.c rc = validate_xml(xml, NULL, FALSE); NULL 654 lib/common/schemas.c if (validation == NULL) { NULL 658 lib/common/schemas.c if (validation == NULL) { NULL 715 lib/common/schemas.c char *xform = NULL; NULL 716 lib/common/schemas.c xmlNode *out = NULL; NULL 717 lib/common/schemas.c xmlDocPtr res = NULL; NULL 718 lib/common/schemas.c xmlDocPtr doc = NULL; NULL 719 lib/common/schemas.c xsltStylesheet *xslt = NULL; NULL 721 lib/common/schemas.c CRM_CHECK(xml != NULL, return FALSE); NULL 723 lib/common/schemas.c xform = get_schema_path(NULL, transform); NULL 730 lib/common/schemas.c xsltSetGenericErrorFunc(NULL, cib_upgrade_err); NULL 736 lib/common/schemas.c CRM_CHECK(xslt != NULL, goto cleanup); NULL 738 lib/common/schemas.c res = xsltApplyStylesheet(xslt, doc, NULL); NULL 739 lib/common/schemas.c CRM_CHECK(res != NULL, goto cleanup); NULL 741 lib/common/schemas.c xsltSetGenericErrorFunc(NULL, NULL); /* restore default one */ NULL 770 lib/common/schemas.c if (name == NULL) { NULL 786 lib/common/schemas.c xmlNode *xml = NULL; NULL 787 lib/common/schemas.c char *value = NULL; NULL 792 lib/common/schemas.c CRM_CHECK(best != NULL, return -EINVAL); NULL 795 lib/common/schemas.c CRM_CHECK(xml_blob != NULL, return -EINVAL); NULL 796 lib/common/schemas.c CRM_CHECK(*xml_blob != NULL, return -EINVAL); NULL 801 lib/common/schemas.c if (value != NULL) { NULL 855 lib/common/schemas.c xmlNode *upgrade = NULL; NULL 868 lib/common/schemas.c } else if (known_schemas[lpc].transform == NULL) { NULL 882 lib/common/schemas.c if (upgrade == NULL) { NULL 930 lib/common/schemas.c char *const orig_value = strdup(value == NULL ? "(none)" : value); NULL 937 lib/common/schemas.c xmlNode *converted = NULL; NULL 973 lib/common/schemas.c converted = NULL; NULL 35 lib/common/strings.c char *new_str = NULL; NULL 37 lib/common/strings.c CRM_ASSERT(prefix != NULL); NULL 38 lib/common/strings.c CRM_ASSERT(suffix != NULL); NULL 52 lib/common/strings.c if (buffer != NULL) { NULL 63 lib/common/strings.c char *buffer = NULL; NULL 66 lib/common/strings.c if (buffer != NULL) { NULL 83 lib/common/strings.c char *local_end_text = NULL; NULL 88 lib/common/strings.c if (text != NULL) { NULL 90 lib/common/strings.c if (end_text != NULL) { NULL 96 lib/common/strings.c if (end_text != NULL) { NULL 115 lib/common/strings.c if (local_end_text != NULL && local_end_text[0] != '\0') { NULL 129 lib/common/strings.c if (text != NULL) { NULL 130 lib/common/strings.c atoi_result = crm_int_helper(text, NULL); NULL 136 lib/common/strings.c if (default_text != NULL) { NULL 137 lib/common/strings.c atoi_result = crm_int_helper(default_text, NULL); NULL 155 lib/common/strings.c } else if (a == NULL || b == NULL) { NULL 169 lib/common/strings.c if (s != NULL) { NULL 178 lib/common/strings.c if (s == NULL) { NULL 201 lib/common/strings.c if (str == NULL) { NULL 222 lib/common/strings.c } else if (a == NULL || b == NULL) { NULL 236 lib/common/strings.c return (input == NULL) ? "" : input; NULL 272 lib/common/strings.c if ((s == NULL) || (match == NULL)) { NULL 279 lib/common/strings.c || strchr(&match[1], match[0]) == NULL */)) NULL 384 lib/common/strings.c GHashTable *new_table = NULL; NULL 399 lib/common/strings.c if (value == NULL) { NULL 416 lib/common/strings.c char *compressed = NULL; NULL 70 lib/common/utils.c char *crm_system_name = NULL; NULL 77 lib/common/utils.c static struct crm_option *crm_long_options = NULL; NULL 78 lib/common/utils.c static const char *crm_app_description = NULL; NULL 79 lib/common/utils.c static char *crm_short_options = NULL; NULL 80 lib/common/utils.c static const char *crm_app_usage = NULL; NULL 143 lib/common/utils.c if (value == NULL) { NULL 151 lib/common/utils.c crm_int_helper(value, NULL); NULL 163 lib/common/utils.c if (safe_str_eq(value, INFINITY_S) || (crm_int_helper(value, NULL))) { NULL 217 lib/common/utils.c char *end = NULL; NULL 234 lib/common/utils.c if (score == NULL) { NULL 255 lib/common/utils.c score_f = crm_parse_int(score, NULL); NULL 297 lib/common/utils.c const char *value = NULL; NULL 298 lib/common/utils.c char *new_value = NULL; NULL 300 lib/common/utils.c CRM_ASSERT(name != NULL); NULL 305 lib/common/utils.c if ((value == NULL) && old_name) { NULL 307 lib/common/utils.c if (value != NULL) { NULL 322 lib/common/utils.c value = NULL; NULL 333 lib/common/utils.c if (value == NULL) { NULL 336 lib/common/utils.c return NULL; NULL 342 lib/common/utils.c return NULL); NULL 358 lib/common/utils.c const char *value = NULL; NULL 371 lib/common/utils.c return NULL; NULL 389 lib/common/utils.c if (option_list[lpc].description_long == NULL && option_list[lpc].description_short == NULL) { NULL 436 lib/common/utils.c char *buffer = NULL; NULL 438 lib/common/utils.c struct passwd *pwentry = NULL; NULL 465 lib/common/utils.c CRM_ASSERT(end_text != NULL); NULL 469 lib/common/utils.c if (text != NULL && text[0] != 0) { NULL 490 lib/common/utils.c char *ver1_copy = NULL, *ver2_copy = NULL; NULL 491 lib/common/utils.c char *rest1 = NULL, *rest2 = NULL; NULL 493 lib/common/utils.c if (version1 == NULL && version2 == NULL) { NULL 495 lib/common/utils.c } else if (version1 == NULL) { NULL 497 lib/common/utils.c } else if (version2 == NULL) { NULL 516 lib/common/utils.c if (rest1 != NULL) { NULL 520 lib/common/utils.c if (rest2 != NULL) { NULL 533 lib/common/utils.c if (rest1 != NULL && rest1[0] == '.') { NULL 536 lib/common/utils.c if (rest1 != NULL && rest1[0] == 0) { NULL 537 lib/common/utils.c rest1 = NULL; NULL 540 lib/common/utils.c if (rest2 != NULL && rest2[0] == '.') { NULL 543 lib/common/utils.c if (rest2 != NULL && rest2[0] == 0) { NULL 544 lib/common/utils.c rest2 = NULL; NULL 577 lib/common/utils.c if (input == NULL) { NULL 605 lib/common/utils.c char *end_text = NULL; NULL 609 lib/common/utils.c if (input == NULL) { NULL 617 lib/common/utils.c if (strchr(NUMCHARS, *cp) == NULL) { NULL 699 lib/common/utils.c crm_write_blackbox(SIGTRAP, NULL); NULL 740 lib/common/utils.c } else if(daemon == NULL || have_proc_pid == -1) { NULL 931 lib/common/utils.c char *crm_name = NULL; NULL 933 lib/common/utils.c CRM_CHECK(field != NULL, return NULL); NULL 951 lib/common/utils.c char *key = NULL; NULL 952 lib/common/utils.c const char *value = NULL; NULL 966 lib/common/utils.c struct option *long_opts = NULL; NULL 985 lib/common/utils.c for (lpc = 0; long_options[lpc].name != NULL; lpc++) { NULL 1002 lib/common/utils.c long_opts[index].name = NULL; NULL 1021 lib/common/utils.c char *local_short_options = NULL; NULL 1023 lib/common/utils.c for (lpc = 0; long_options[lpc].name != NULL; lpc++) { NULL 1055 lib/common/utils.c return crm_get_option_long(argc, argv, index, NULL); NULL 1062 lib/common/utils.c static struct option *long_opts = NULL; NULL 1064 lib/common/utils.c if (long_opts == NULL && crm_long_options) { NULL 1128 lib/common/utils.c for (i = 0; crm_long_options[i].name != NULL; i++) { NULL 1189 lib/common/utils.c if (*ipcs_ro == NULL || *ipcs_rw == NULL || *ipcs_shm == NULL) { NULL 1216 lib/common/utils.c if (*ipcs == NULL) { NULL 1228 lib/common/utils.c if (*ipcs == NULL) { NULL 1239 lib/common/utils.c if(user == NULL || strlen(user) == 0) { NULL 1263 lib/common/utils.c if (pwent == NULL) { NULL 1265 lib/common/utils.c return NULL; NULL 1276 lib/common/utils.c static const char *effective_user = NULL; NULL 1277 lib/common/utils.c const char *requested_user = NULL; NULL 1278 lib/common/utils.c const char *user = NULL; NULL 1280 lib/common/utils.c if(effective_user == NULL) { NULL 1285 lib/common/utils.c if(requested_user == NULL) { NULL 1293 lib/common/utils.c } else if(peer_user == NULL && requested_user == NULL) { NULL 1297 lib/common/utils.c } else if(peer_user == NULL) { NULL 1305 lib/common/utils.c } else if (requested_user == NULL) { NULL 1319 lib/common/utils.c if(field != NULL && user != crm_element_value(request, field)) { NULL 1330 lib/common/utils.c CRM_CHECK(user != NULL && request != NULL && field != NULL, return); NULL 1337 lib/common/utils.c } else if (crm_element_value(request, field) == NULL) { NULL 1354 lib/common/utils.c if (*handle == NULL) { NULL 1363 lib/common/utils.c return NULL; NULL 1367 lib/common/utils.c if (a_function == NULL) { NULL 1427 lib/common/utils.c char *digest = NULL; NULL 1430 lib/common/utils.c if (buffer == NULL) { NULL 1464 lib/common/utils.c return NULL; NULL 1483 lib/common/utils.c CRM_CHECK(standard != NULL, return FALSE); NULL 1518 lib/common/utils.c *standard = NULL; NULL 1519 lib/common/utils.c *provider = NULL; NULL 1520 lib/common/utils.c *type = NULL; NULL 1523 lib/common/utils.c if ((colon == NULL) || (colon == spec)) { NULL 1533 lib/common/utils.c if ((colon == NULL) || (colon == spec)) { NULL 179 lib/common/watchdog.c static struct qb_log_callsite *panic_cs = NULL; NULL 181 lib/common/watchdog.c if (panic_cs == NULL) { NULL 210 lib/common/watchdog.c char *pidfile = NULL; NULL 211 lib/common/watchdog.c char *sbd_path = NULL; NULL 116 lib/common/xml.c if(xml == NULL || xml->doc == NULL || xml->doc->_private == NULL) { NULL 134 lib/common/xml.c char *tmp = NULL; \ NULL 151 lib/common/xml.c if ((*buffer) == NULL || spaces >= ((*max) - (*offset))) { NULL 167 lib/common/xml.c if(p == NULL) { NULL 199 lib/common/xml.c xmlNode *cIter = NULL; NULL 206 lib/common/xml.c for (cIter = __xml_first_child(xml); cIter != NULL; cIter = __xml_next(cIter)) { NULL 214 lib/common/xml.c xmlNode *cIter = NULL; NULL 223 lib/common/xml.c for (cIter = __xml_first_child(xml); cIter != NULL; cIter = __xml_next(cIter)) { NULL 233 lib/common/xml.c xml_private_t *p = NULL; NULL 257 lib/common/xml.c if (attr == NULL || attr->children == NULL) { NULL 258 lib/common/xml.c return NULL; NULL 266 lib/common/xml.c if (xml == NULL) { NULL 267 lib/common/xml.c return NULL; NULL 303 lib/common/xml.c p->user = NULL; NULL 307 lib/common/xml.c p->acls = NULL; NULL 312 lib/common/xml.c p->deleted_objs = NULL; NULL 334 lib/common/xml.c xml_private_t *p = NULL; NULL 370 lib/common/xml.c xml_acl_t *acl = NULL; NULL 372 lib/common/xml.c xml_private_t *p = NULL; NULL 377 lib/common/xml.c if(tag == NULL) { NULL 381 lib/common/xml.c if(ref == NULL) { NULL 386 lib/common/xml.c if(target == NULL || target->doc == NULL || target->doc->_private == NULL){ NULL 390 lib/common/xml.c return NULL; NULL 392 lib/common/xml.c } else if (tag == NULL && ref == NULL && xpath == NULL) { NULL 394 lib/common/xml.c return NULL; NULL 450 lib/common/xml.c xmlNode *child = NULL; NULL 461 lib/common/xml.c if(tag == NULL) { NULL 462 lib/common/xml.c CRM_ASSERT(tag != NULL); NULL 469 lib/common/xml.c xmlNode *role = NULL; NULL 542 lib/common/xml.c GListPtr aIter = NULL; NULL 543 lib/common/xml.c xml_private_t *p = NULL; NULL 544 lib/common/xml.c xmlXPathObjectPtr xpathObj = NULL; NULL 553 lib/common/xml.c for(aIter = p->acls; aIter != NULL; aIter = aIter->next) { NULL 600 lib/common/xml.c xml_private_t *p = NULL; NULL 602 lib/common/xml.c if(target == NULL || target->doc == NULL || target->doc->_private == NULL) { NULL 610 lib/common/xml.c } else if(p->acls == NULL) { NULL 617 lib/common/xml.c xmlNode *child = NULL; NULL 663 lib/common/xml.c xmlNode *child = NULL; NULL 664 lib/common/xml.c xmlAttr *xIter = NULL; NULL 674 lib/common/xml.c while(xIter != NULL) { NULL 687 lib/common/xml.c while ( child != NULL ) { NULL 703 lib/common/xml.c GListPtr aIter = NULL; NULL 704 lib/common/xml.c xmlNode *target = NULL; NULL 705 lib/common/xml.c xml_private_t *p = NULL; NULL 706 lib/common/xml.c xml_private_t *doc = NULL; NULL 708 lib/common/xml.c *result = NULL; NULL 709 lib/common/xml.c if(xml == NULL || pcmk_acl_required(user) == FALSE) { NULL 716 lib/common/xml.c if(target == NULL) { NULL 725 lib/common/xml.c for(aIter = doc->acls; aIter != NULL && target; aIter = aIter->next) { NULL 760 lib/common/xml.c doc->acls = NULL; NULL 765 lib/common/xml.c target = NULL; NULL 782 lib/common/xml.c xmlAttr *xIter = NULL; NULL 789 lib/common/xml.c for (xIter = crm_first_attr(xml); xIter != NULL; xIter = xIter->next) { NULL 792 lib/common/xml.c if (strcmp(prop_name, XML_ATTR_ID) == 0 && strstr(path, "/"XML_CIB_TAG_ACLS"/") == NULL) { NULL 796 lib/common/xml.c } else if(__xml_acl_check(xml, NULL, xpf_acl_write)) { NULL 814 lib/common/xml.c while (cIter != NULL) { NULL 863 lib/common/xml.c if(acl_source == NULL) { NULL 874 lib/common/xml.c if(xml == NULL) { NULL 885 lib/common/xml.c if(xml != NULL && xml->doc && xml->doc->_private) { NULL 944 lib/common/xml.c xmlNode *cIter = NULL; NULL 960 lib/common/xml.c xmlNode *cIter = NULL; NULL 976 lib/common/xml.c xmlNode *cIter = NULL; NULL 977 lib/common/xml.c xmlAttr *pIter = NULL; NULL 978 lib/common/xml.c xmlNode *change = NULL; NULL 985 lib/common/xml.c if(__get_prefix(NULL, xml->parent, buffer, offset) > 0) { NULL 999 lib/common/xml.c for (pIter = crm_first_attr(xml); pIter != NULL; pIter = pIter->next) { NULL 1000 lib/common/xml.c xmlNode *attr = NULL; NULL 1007 lib/common/xml.c if(change == NULL) { NULL 1011 lib/common/xml.c if(__get_prefix(NULL, xml, buffer, offset) > 0) { NULL 1036 lib/common/xml.c xmlNode *result = NULL; NULL 1041 lib/common/xml.c for (pIter = crm_first_attr(xml); pIter != NULL; pIter = pIter->next) { NULL 1051 lib/common/xml.c for (cIter = __xml_first_child(xml); cIter != NULL; cIter = __xml_next(cIter)) { NULL 1061 lib/common/xml.c if(__get_prefix(NULL, xml, buffer, offset) > 0) { NULL 1074 lib/common/xml.c xmlNode *cIter = NULL; NULL 1075 lib/common/xml.c xmlAttr *pIter = NULL; NULL 1081 lib/common/xml.c while (pIter != NULL) { NULL 1095 lib/common/xml.c for (cIter = __xml_first_child(xml); cIter != NULL; cIter = __xml_next(cIter)) { NULL 1103 lib/common/xml.c GListPtr gIter = NULL; NULL 1104 lib/common/xml.c xml_private_t *p = NULL; NULL 1119 lib/common/xml.c if(strstr(deleted_obj->path, "/"XML_TAG_CIB"/"XML_CIB_TAG_CONFIGURATION) != NULL) { NULL 1132 lib/common/xml.c xmlNode *cib = NULL; NULL 1133 lib/common/xml.c xmlNode *diff_child = NULL; NULL 1135 lib/common/xml.c const char *tag = NULL; NULL 1143 lib/common/xml.c if (local_diff == NULL) { NULL 1150 lib/common/xml.c if (diff_child == NULL) { NULL 1156 lib/common/xml.c if (cib == NULL) { NULL 1171 lib/common/xml.c if (diff_child == NULL) { NULL 1177 lib/common/xml.c if (cib == NULL) { NULL 1188 lib/common/xml.c xmlAttrPtr xIter = NULL; NULL 1218 lib/common/xml.c GListPtr gIter = NULL; NULL 1219 lib/common/xml.c xml_private_t *doc = NULL; NULL 1221 lib/common/xml.c xmlNode *v = NULL; NULL 1222 lib/common/xml.c xmlNode *version = NULL; NULL 1223 lib/common/xml.c xmlNode *patchset = NULL; NULL 1232 lib/common/xml.c return NULL; NULL 1238 lib/common/xml.c patchset = create_xml_node(NULL, XML_TAG_DIFF); NULL 1247 lib/common/xml.c if(value == NULL) { NULL 1257 lib/common/xml.c if(value == NULL) { NULL 1298 lib/common/xml.c xmlNode *patch = NULL; NULL 1304 lib/common/xml.c return NULL; /* No change */ NULL 1347 lib/common/xml.c return NULL; NULL 1357 lib/common/xml.c const char *version = NULL; NULL 1358 lib/common/xml.c char *digest = NULL; NULL 1360 lib/common/xml.c if (patch == NULL || source == NULL || target == NULL) { NULL 1390 lib/common/xml.c xmlNode *child = NULL; NULL 1391 lib/common/xml.c xmlNode *added = NULL; NULL 1392 lib/common/xml.c xmlNode *removed = NULL; NULL 1398 lib/common/xml.c const char *fmt = NULL; NULL 1399 lib/common/xml.c const char *digest = NULL; NULL 1402 lib/common/xml.c static struct qb_log_callsite *patchset_cs = NULL; NULL 1404 lib/common/xml.c if (patchset_cs == NULL) { NULL 1408 lib/common/xml.c if (patchset == NULL) { NULL 1428 lib/common/xml.c } else if (patchset != NULL && (add[0] || add[1] || add[2])) { NULL 1436 lib/common/xml.c xmlNode *change = NULL; NULL 1438 lib/common/xml.c for (change = __xml_first_child(patchset); change != NULL; change = __xml_next(change)) { NULL 1442 lib/common/xml.c if(op == NULL) { NULL 1471 lib/common/xml.c for (child = __xml_first_child(clist); child != NULL; child = __xml_next(child)) { NULL 1475 lib/common/xml.c if(op == NULL) { NULL 1513 lib/common/xml.c if (log_level < LOG_DEBUG || function == NULL) { NULL 1518 lib/common/xml.c for (child = __xml_first_child(removed); child != NULL; child = __xml_next(child)) { NULL 1530 lib/common/xml.c for (child = __xml_first_child(added); child != NULL; child = __xml_next(child)) { NULL 1544 lib/common/xml.c GListPtr gIter = NULL; NULL 1545 lib/common/xml.c xml_private_t *doc = NULL; NULL 1575 lib/common/xml.c xmlNode *top = NULL; NULL 1576 lib/common/xml.c xml_private_t *doc = NULL; NULL 1578 lib/common/xml.c if(xml == NULL) { NULL 1600 lib/common/xml.c CRM_CHECK(needle != NULL, return NULL); NULL 1610 lib/common/xml.c xmlNode *patch_child = NULL; NULL 1611 lib/common/xml.c xmlNode *cIter = NULL; NULL 1612 lib/common/xml.c xmlAttrPtr xIter = NULL; NULL 1614 lib/common/xml.c char *id = NULL; NULL 1615 lib/common/xml.c const char *name = NULL; NULL 1616 lib/common/xml.c const char *value = NULL; NULL 1618 lib/common/xml.c if (target == NULL || patch == NULL) { NULL 1629 lib/common/xml.c CRM_CHECK(name != NULL, return); NULL 1636 lib/common/xml.c if (value != NULL && strcmp(value, "removed:top") == 0) { NULL 1643 lib/common/xml.c for (xIter = crm_first_attr(patch); xIter != NULL; xIter = xIter->next) { NULL 1667 lib/common/xml.c xmlNode *patch_child = NULL; NULL 1668 lib/common/xml.c xmlNode *target_child = NULL; NULL 1669 lib/common/xml.c xmlAttrPtr xIter = NULL; NULL 1671 lib/common/xml.c const char *id = NULL; NULL 1672 lib/common/xml.c const char *name = NULL; NULL 1673 lib/common/xml.c const char *value = NULL; NULL 1675 lib/common/xml.c if (patch == NULL) { NULL 1677 lib/common/xml.c } else if (parent == NULL && target == NULL) { NULL 1683 lib/common/xml.c if (target == NULL NULL 1684 lib/common/xml.c && value != NULL NULL 1692 lib/common/xml.c } else if(target == NULL) { NULL 1704 lib/common/xml.c CRM_CHECK(name != NULL, return); NULL 1708 lib/common/xml.c for (xIter = crm_first_attr(patch); xIter != NULL; xIter = xIter->next) { NULL 1717 lib/common/xml.c for (patch_child = __xml_first_child(patch); patch_child != NULL; NULL 1748 lib/common/xml.c if (cib_node != NULL) { NULL 1759 lib/common/xml.c *patch_node = NULL; NULL 1769 lib/common/xml.c xmlNode *tmp = NULL; NULL 1875 lib/common/xml.c xmlNode *child_diff = NULL; NULL 1881 lib/common/xml.c for (child_diff = __xml_first_child(removed); child_diff != NULL; NULL 1898 lib/common/xml.c xmlNode *child_diff = NULL; NULL 1900 lib/common/xml.c for (child_diff = __xml_first_child(added); child_diff != NULL; NULL 1904 lib/common/xml.c __add_xml_object(NULL, xml, child_diff); NULL 1924 lib/common/xml.c xmlNode *cIter = NULL; NULL 1926 lib/common/xml.c for (cIter = __xml_first_child(parent); cIter != NULL; cIter = __xml_next(cIter)) { NULL 1931 lib/common/xml.c if(cid == NULL || strcmp(cid, id) != 0) { NULL 1945 lib/common/xml.c return NULL; NULL 1967 lib/common/xml.c target = NULL; NULL 1981 lib/common/xml.c target = __first_xml_child_match(target, tag, NULL, current_position); NULL 1988 lib/common/xml.c target = NULL; NULL 1992 lib/common/xml.c if(rc == 1 || target == NULL) { NULL 2025 lib/common/xml.c xmlNode *change = NULL; NULL 2026 lib/common/xml.c for (change = __xml_first_child(patchset); change != NULL; change = __xml_next(change)) { NULL 2027 lib/common/xml.c xmlNode *match = NULL; NULL 2033 lib/common/xml.c if(op == NULL) { NULL 2047 lib/common/xml.c if(match == NULL && strcmp(op, "delete") == 0) { NULL 2051 lib/common/xml.c } else if(match == NULL) { NULL 2058 lib/common/xml.c xmlNode *child = NULL; NULL 2059 lib/common/xml.c xmlNode *match_child = NULL; NULL 2089 lib/common/xml.c xmlNode *match_child = NULL; NULL 2096 lib/common/xml.c CRM_ASSERT(match->parent != NULL); NULL 2111 lib/common/xml.c CRM_ASSERT(match->parent->last != NULL); NULL 2132 lib/common/xml.c if(attrs == NULL) { NULL 2136 lib/common/xml.c while(pIter != NULL) { NULL 2143 lib/common/xml.c for (pIter = crm_first_attr(attrs); pIter != NULL; pIter = pIter->next) { NULL 2162 lib/common/xml.c xmlNode *old = NULL; NULL 2165 lib/common/xml.c if(patchset == NULL) { NULL 2199 lib/common/xml.c static struct qb_log_callsite *digest_cs = NULL; NULL 2201 lib/common/xml.c char *new_digest = NULL; NULL 2204 lib/common/xml.c if (digest_cs == NULL) { NULL 2216 lib/common/xml.c save_xml_to_file(old, "PatchDigest:input", NULL); NULL 2217 lib/common/xml.c save_xml_to_file(xml, "PatchDigest:result", NULL); NULL 2218 lib/common/xml.c save_xml_to_file(patchset,"PatchDigest:diff", NULL); NULL 2237 lib/common/xml.c xmlNode *a_child = NULL; NULL 2240 lib/common/xml.c if (root != NULL) { NULL 2244 lib/common/xml.c if (search_path == NULL) { NULL 2246 lib/common/xml.c return NULL; NULL 2249 lib/common/xml.c for (a_child = __xml_first_child(root); a_child != NULL; a_child = __xml_next(a_child)) { NULL 2258 lib/common/xml.c } else if (root != NULL) { NULL 2264 lib/common/xml.c return NULL; NULL 2270 lib/common/xml.c xmlNode *a_child = NULL; NULL 2272 lib/common/xml.c for (a_child = __xml_first_child(parent); a_child != NULL; a_child = __xml_next(a_child)) { NULL 2274 lib/common/xml.c if (node_name == NULL || strcmp((const char *)a_child->name, node_name) == 0) { NULL 2276 lib/common/xml.c if (id == NULL || (cid != NULL && strcmp(id, cid) == 0)) { NULL 2283 lib/common/xml.c return NULL; NULL 2289 lib/common/xml.c if (src == NULL) { NULL 2292 lib/common/xml.c } else if (target == NULL) { NULL 2296 lib/common/xml.c xmlAttrPtr pIter = NULL; NULL 2298 lib/common/xml.c for (pIter = crm_first_attr(src); pIter != NULL; pIter = pIter->next) { NULL 2313 lib/common/xml.c xmlNode *child = NULL; NULL 2314 lib/common/xml.c xmlAttrPtr pIter = NULL; NULL 2316 lib/common/xml.c for (pIter = crm_first_attr(target); pIter != NULL; pIter = pIter->next) { NULL 2322 lib/common/xml.c for (child = __xml_first_child(target); child != NULL; child = __xml_next(child)) { NULL 2335 lib/common/xml.c const char *old_value = NULL; NULL 2337 lib/common/xml.c if (value == NULL || name == NULL) { NULL 2343 lib/common/xml.c if (old_value == NULL) { NULL 2391 lib/common/xml.c xmlDoc *doc = NULL; NULL 2393 lib/common/xml.c CRM_CHECK(node != NULL, return NULL); NULL 2396 lib/common/xml.c if (doc == NULL) { NULL 2407 lib/common/xml.c xmlNode *child = NULL; NULL 2410 lib/common/xml.c CRM_CHECK(src_node != NULL, return NULL); NULL 2441 lib/common/xml.c if(docp->acls == NULL) { NULL 2447 lib/common/xml.c offset = __get_prefix(NULL, xml, buffer, offset); NULL 2493 lib/common/xml.c xmlAttr *attr = NULL; NULL 2495 lib/common/xml.c CRM_CHECK(node != NULL, return NULL); NULL 2496 lib/common/xml.c CRM_CHECK(name != NULL, return NULL); NULL 2498 lib/common/xml.c if (value == NULL) { NULL 2499 lib/common/xml.c return NULL; NULL 2503 lib/common/xml.c const char *old_value = NULL; NULL 2516 lib/common/xml.c if(old == NULL || value == NULL || strcmp(old, value) != 0) { NULL 2523 lib/common/xml.c return NULL; NULL 2531 lib/common/xml.c CRM_CHECK(attr && attr->children && attr->children->content, return NULL); NULL 2539 lib/common/xml.c xmlAttr *attr = NULL; NULL 2540 lib/common/xml.c const char *old_value = NULL; NULL 2542 lib/common/xml.c CRM_CHECK(node != NULL, return NULL); NULL 2543 lib/common/xml.c CRM_CHECK(name != NULL && name[0] != 0, return NULL); NULL 2553 lib/common/xml.c return NULL; NULL 2555 lib/common/xml.c } else if (old_value != NULL && value == NULL) { NULL 2557 lib/common/xml.c return NULL; NULL 2559 lib/common/xml.c } else if (value == NULL) { NULL 2560 lib/common/xml.c return NULL; NULL 2564 lib/common/xml.c if(old_value == NULL || value == NULL || strcmp(old_value, value) != 0) { NULL 2573 lib/common/xml.c CRM_CHECK(attr && attr->children && attr->children->content, return NULL); NULL 2590 lib/common/xml.c xmlDoc *doc = NULL; NULL 2591 lib/common/xml.c xmlNode *node = NULL; NULL 2593 lib/common/xml.c if (name == NULL || name[0] == 0) { NULL 2594 lib/common/xml.c CRM_CHECK(name != NULL && name[0] == 0, return NULL); NULL 2595 lib/common/xml.c return NULL; NULL 2598 lib/common/xml.c if (parent == NULL) { NULL 2600 lib/common/xml.c node = xmlNewDocRawNode(doc, NULL, (const xmlChar *)name, NULL); NULL 2605 lib/common/xml.c node = xmlNewDocRawNode(doc, NULL, (const xmlChar *)name, NULL); NULL 2617 lib/common/xml.c if(offset == 0 && prefix == NULL && xml->parent) { NULL 2618 lib/common/xml.c offset = __get_prefix(NULL, xml->parent, buffer, offset); NULL 2636 lib/common/xml.c if(__get_prefix(NULL, xml, buffer, offset) > 0) { NULL 2639 lib/common/xml.c return NULL; NULL 2645 lib/common/xml.c if (child != NULL) { NULL 2646 lib/common/xml.c xmlNode *top = NULL; NULL 2650 lib/common/xml.c if (doc != NULL) { NULL 2654 lib/common/xml.c if (doc != NULL && top == child) { NULL 2658 lib/common/xml.c } else if(__xml_acl_check(child, NULL, xpf_acl_write) == FALSE) { NULL 2662 lib/common/xml.c __get_prefix(NULL, child, buffer, offset); NULL 2671 lib/common/xml.c if(__get_prefix(NULL, child, buffer, offset) > 0) { NULL 2730 lib/common/xml.c static struct qb_log_callsite *xml_error_cs = NULL; NULL 2732 lib/common/xml.c if (xml_error_cs == NULL) { NULL 2752 lib/common/xml.c xmlNode *xml = NULL; NULL 2753 lib/common/xml.c xmlDocPtr output = NULL; NULL 2754 lib/common/xml.c xmlParserCtxtPtr ctxt = NULL; NULL 2755 lib/common/xml.c xmlErrorPtr last_error = NULL; NULL 2757 lib/common/xml.c if (input == NULL) { NULL 2759 lib/common/xml.c return NULL; NULL 2764 lib/common/xml.c CRM_CHECK(ctxt != NULL, return NULL); NULL 2772 lib/common/xml.c xmlCtxtReadDoc(ctxt, (const xmlChar *)input, NULL, NULL, NULL 2793 lib/common/xml.c if (xml != NULL) { NULL 2820 lib/common/xml.c char *xml_buffer = NULL; NULL 2821 lib/common/xml.c xmlNode *xml_obj = NULL; NULL 2839 lib/common/xml.c return NULL; NULL 2854 lib/common/xml.c char *buffer = NULL; NULL 2860 lib/common/xml.c BZFILE *bz_file = NULL; NULL 2863 lib/common/xml.c if (input == NULL) { NULL 2865 lib/common/xml.c return NULL; NULL 2868 lib/common/xml.c bz_file = BZ2_bzReadOpen(&rc, input, 0, 0, NULL, 0); NULL 2872 lib/common/xml.c return NULL; NULL 2892 lib/common/xml.c buffer = NULL; NULL 2936 lib/common/xml.c xmlNode *xml = NULL; NULL 2937 lib/common/xml.c xmlDocPtr output = NULL; NULL 2939 lib/common/xml.c xmlParserCtxtPtr ctxt = NULL; NULL 2940 lib/common/xml.c xmlErrorPtr last_error = NULL; NULL 2945 lib/common/xml.c CRM_CHECK(ctxt != NULL, return NULL); NULL 2957 lib/common/xml.c if (filename == NULL) { NULL 2959 lib/common/xml.c output = xmlCtxtReadFd(ctxt, STDIN_FILENO, "unknown.xml", NULL, xml_options); NULL 2962 lib/common/xml.c output = xmlCtxtReadFile(ctxt, filename, NULL, xml_options); NULL 2967 lib/common/xml.c output = xmlCtxtReadDoc(ctxt, (const xmlChar *)input, NULL, NULL, xml_options); NULL 2987 lib/common/xml.c if (xml != NULL) { NULL 3008 lib/common/xml.c time_t now = time(NULL); NULL 3047 lib/common/xml.c char *id = NULL; NULL 3064 lib/common/xml.c char *buffer = NULL; NULL 3067 lib/common/xml.c CRM_CHECK(stream != NULL, return -1); NULL 3070 lib/common/xml.c if (xml_node == NULL) { NULL 3080 lib/common/xml.c CRM_CHECK(buffer != NULL && strlen(buffer) > 0, crm_log_xml_warn(xml_node, "dump:failed"); NULL 3087 lib/common/xml.c BZFILE *bz_file = NULL; NULL 3145 lib/common/xml.c FILE *stream = NULL; NULL 3155 lib/common/xml.c FILE *stream = NULL; NULL 3284 lib/common/xml.c char *p_value = NULL; NULL 3285 lib/common/xml.c const char *p_name = NULL; NULL 3286 lib/common/xml.c xml_private_t *p = NULL; NULL 3288 lib/common/xml.c CRM_ASSERT(buffer != NULL); NULL 3289 lib/common/xml.c if (attr == NULL || attr->children == NULL) { NULL 3310 lib/common/xml.c const char *name = NULL; NULL 3311 lib/common/xml.c const char *hidden = NULL; NULL 3313 lib/common/xml.c xmlNode *child = NULL; NULL 3314 lib/common/xml.c xmlAttrPtr pIter = NULL; NULL 3316 lib/common/xml.c if(data == NULL) { NULL 3323 lib/common/xml.c char *buffer = NULL; NULL 3334 lib/common/xml.c for (pIter = crm_first_attr(data); pIter != NULL; pIter = pIter->next) { NULL 3338 lib/common/xml.c char *p_copy = NULL; NULL 3347 lib/common/xml.c } else if (hidden != NULL && p_name[0] != 0 && strstr(hidden, p_name) != NULL) { NULL 3383 lib/common/xml.c for (child = __xml_first_child(data); child != NULL; child = __xml_next(child)) { NULL 3389 lib/common/xml.c char *buffer = NULL; NULL 3404 lib/common/xml.c char *prefix_m = NULL; NULL 3405 lib/common/xml.c xmlNode *child = NULL; NULL 3406 lib/common/xml.c xmlAttrPtr pIter = NULL; NULL 3408 lib/common/xml.c if(data == NULL) { NULL 3425 lib/common/xml.c char *prefix_del = NULL; NULL 3426 lib/common/xml.c char *prefix_moved = NULL; NULL 3445 lib/common/xml.c for (pIter = crm_first_attr(data); pIter != NULL; pIter = pIter->next) { NULL 3478 lib/common/xml.c for (child = __xml_first_child(data); child != NULL; child = __xml_next(child)) { NULL 3486 lib/common/xml.c for (child = __xml_first_child(data); child != NULL; child = __xml_next(child)) { NULL 3499 lib/common/xml.c xmlNode *a_child = NULL; NULL 3501 lib/common/xml.c char *prefix_m = NULL; NULL 3503 lib/common/xml.c if (prefix == NULL) { NULL 3508 lib/common/xml.c if (data == NULL) { NULL 3521 lib/common/xml.c && (data->children == NULL || crm_element_value(data, XML_DIFF_MARKER))) { NULL 3528 lib/common/xml.c && (data->children == NULL || crm_element_value(data, XML_DIFF_MARKER))) { NULL 3539 lib/common/xml.c for (a_child = __xml_first_child(data); a_child != NULL; a_child = __xml_next(a_child)) { NULL 3553 lib/common/xml.c xmlAttrPtr xIter = NULL; NULL 3560 lib/common/xml.c for (xIter = crm_first_attr(data); xIter != NULL; xIter = xIter->next) { NULL 3581 lib/common/xml.c const char *name = NULL; NULL 3583 lib/common/xml.c CRM_ASSERT(max != NULL); NULL 3584 lib/common/xml.c CRM_ASSERT(offset != NULL); NULL 3585 lib/common/xml.c CRM_ASSERT(buffer != NULL); NULL 3587 lib/common/xml.c if (data == NULL) { NULL 3592 lib/common/xml.c if (*buffer == NULL) { NULL 3598 lib/common/xml.c CRM_ASSERT(name != NULL); NULL 3607 lib/common/xml.c xmlAttrPtr xIter = NULL; NULL 3609 lib/common/xml.c for (xIter = crm_first_attr(data); xIter != NULL; xIter = xIter->next) { NULL 3614 lib/common/xml.c if (data->children == NULL) { NULL 3626 lib/common/xml.c xmlNode *xChild = NULL; NULL 3627 lib/common/xml.c for(xChild = data->children; xChild != NULL; xChild = xChild->next) { NULL 3643 lib/common/xml.c CRM_ASSERT(max != NULL); NULL 3644 lib/common/xml.c CRM_ASSERT(offset != NULL); NULL 3645 lib/common/xml.c CRM_ASSERT(buffer != NULL); NULL 3647 lib/common/xml.c if (data == NULL) { NULL 3652 lib/common/xml.c if (*buffer == NULL) { NULL 3670 lib/common/xml.c CRM_ASSERT(max != NULL); NULL 3671 lib/common/xml.c CRM_ASSERT(offset != NULL); NULL 3672 lib/common/xml.c CRM_ASSERT(buffer != NULL); NULL 3674 lib/common/xml.c if (data == NULL) { NULL 3679 lib/common/xml.c if (*buffer == NULL) { NULL 3698 lib/common/xml.c if(data == NULL) { NULL 3718 lib/common/xml.c xmlDoc *doc = NULL; NULL 3719 lib/common/xml.c xmlBuffer *xml_buffer = NULL; NULL 3721 lib/common/xml.c *buffer = NULL; NULL 3724 lib/common/xml.c CRM_CHECK(doc != NULL, return); NULL 3726 lib/common/xml.c now = time(NULL); NULL 3728 lib/common/xml.c CRM_ASSERT(xml_buffer != NULL); NULL 3745 lib/common/xml.c next = time(NULL); NULL 3807 lib/common/xml.c char *buffer = NULL; NULL 3817 lib/common/xml.c char *buffer = NULL; NULL 3827 lib/common/xml.c char *buffer = NULL; NULL 3837 lib/common/xml.c if (xml_root != NULL && xml_root->children != NULL) { NULL 3848 lib/common/xml.c CRM_CHECK(dest != NULL, return -1); NULL 3850 lib/common/xml.c *dest = crm_int_helper(value, NULL); NULL 3871 lib/common/xml.c char *value_copy = NULL; NULL 3874 lib/common/xml.c if (value != NULL) { NULL 3883 lib/common/xml.c if(__xml_acl_check(obj, NULL, xpf_acl_write) == FALSE) { NULL 3888 lib/common/xml.c xml_private_t *p = NULL; NULL 3904 lib/common/xml.c xmlNode *child = NULL; NULL 3906 lib/common/xml.c CRM_CHECK(a_node != NULL, return); NULL 3909 lib/common/xml.c for (child = __xml_first_child(a_node); child != NULL; child = __xml_next(child)) { NULL 3917 lib/common/xml.c char *f = NULL; NULL 3919 lib/common/xml.c if (filename == NULL) { NULL 3937 lib/common/xml.c static struct qb_log_callsite *digest_cs = NULL; NULL 3941 lib/common/xml.c xmlNode *child_diff = NULL; NULL 3945 lib/common/xml.c CRM_CHECK(new != NULL, return FALSE); NULL 3946 lib/common/xml.c if (digest_cs == NULL) { NULL 3953 lib/common/xml.c for (child_diff = __xml_first_child(removed); child_diff != NULL; NULL 3957 lib/common/xml.c *new = subtract_xml_object(NULL, old, child_diff, FALSE, NULL, NULL); NULL 3973 lib/common/xml.c xmlNode *child_diff = NULL; NULL 3975 lib/common/xml.c for (child_diff = __xml_first_child(added); child_diff != NULL; NULL 3979 lib/common/xml.c add_xml_object(NULL, *new, child_diff, TRUE); NULL 3990 lib/common/xml.c char *new_digest = NULL; NULL 4000 lib/common/xml.c save_xml_to_file(old, "diff:original", NULL); NULL 4001 lib/common/xml.c save_xml_to_file(diff, "diff:input", NULL); NULL 4002 lib/common/xml.c save_xml_to_file(*new, "diff:new", NULL); NULL 4020 lib/common/xml.c xmlNode *cIter = NULL; NULL 4021 lib/common/xml.c xmlAttr *pIter = NULL; NULL 4023 lib/common/xml.c CRM_CHECK(new != NULL, return); NULL 4024 lib/common/xml.c if(old == NULL) { NULL 4039 lib/common/xml.c for (pIter = crm_first_attr(new); pIter != NULL; pIter = pIter->next) { NULL 4046 lib/common/xml.c for (pIter = crm_first_attr(old); pIter != NULL; ) { NULL 4048 lib/common/xml.c xml_private_t *p = NULL; NULL 4054 lib/common/xml.c if(exists == NULL) { NULL 4104 lib/common/xml.c for (pIter = crm_first_attr(new); pIter != NULL; ) { NULL 4126 lib/common/xml.c for (cIter = __xml_first_child(old); cIter != NULL; ) { NULL 4144 lib/common/xml.c if (find_element(new, old_child, TRUE) == NULL) { NULL 4152 lib/common/xml.c for (cIter = __xml_first_child(new); cIter != NULL; ) { NULL 4157 lib/common/xml.c if(old_child == NULL) { NULL 4193 lib/common/xml.c xml_track_changes(new, NULL, NULL, FALSE); NULL 4202 lib/common/xml.c xmlNode *tmp1 = NULL; NULL 4203 lib/common/xml.c xmlNode *diff = create_xml_node(NULL, "diff"); NULL 4209 lib/common/xml.c tmp1 = subtract_xml_object(removed, old, new, FALSE, NULL, "removed:top"); NULL 4210 lib/common/xml.c if (suppress && tmp1 != NULL && can_prune_leaf(tmp1)) { NULL 4214 lib/common/xml.c tmp1 = subtract_xml_object(added, new, old, TRUE, NULL, "added:top"); NULL 4215 lib/common/xml.c if (suppress && tmp1 != NULL && can_prune_leaf(tmp1)) { NULL 4219 lib/common/xml.c if (added->children == NULL && removed->children == NULL) { NULL 4221 lib/common/xml.c diff = NULL; NULL 4230 lib/common/xml.c xmlNode *cIter = NULL; NULL 4231 lib/common/xml.c xmlAttrPtr pIter = NULL; NULL 4242 lib/common/xml.c for (pIter = crm_first_attr(xml_node); pIter != NULL; pIter = pIter->next) { NULL 4269 lib/common/xml.c xmlNode *us = NULL; NULL 4270 lib/common/xml.c xmlNode *child = NULL; NULL 4271 lib/common/xml.c xmlAttrPtr pIter = NULL; NULL 4275 lib/common/xml.c CRM_CHECK(xml_node != NULL && name != NULL, return); NULL 4278 lib/common/xml.c for (pIter = crm_first_attr(xml_node); pIter != NULL; pIter = pIter->next) { NULL 4297 lib/common/xml.c us = NULL; NULL 4301 lib/common/xml.c for (child = __xml_first_child(us); child != NULL; child = __xml_next(child)) { NULL 4317 lib/common/xml.c xmlNode *child = NULL; NULL 4319 lib/common/xml.c for (child = __xml_first_child(xml_node); child != NULL; child = __xml_next(child)) { NULL 4331 lib/common/xml.c xmlNode *a_child = NULL; NULL 4334 lib/common/xml.c CRM_CHECK(search_comment->type == XML_COMMENT_NODE, return NULL); NULL 4336 lib/common/xml.c for (a_child = __xml_first_child(root); a_child != NULL; a_child = __xml_next(a_child)) { NULL 4345 lib/common/xml.c return NULL; NULL 4358 lib/common/xml.c return NULL; NULL 4362 lib/common/xml.c return NULL; NULL 4369 lib/common/xml.c CRM_CHECK(left != NULL, return NULL); NULL 4370 lib/common/xml.c CRM_CHECK(left->type == XML_COMMENT_NODE, return NULL); NULL 4372 lib/common/xml.c if (right == NULL NULL 4374 lib/common/xml.c xmlNode *deleted = NULL; NULL 4382 lib/common/xml.c return NULL; NULL 4391 lib/common/xml.c xmlNode *diff = NULL; NULL 4392 lib/common/xml.c xmlNode *right_child = NULL; NULL 4393 lib/common/xml.c xmlNode *left_child = NULL; NULL 4394 lib/common/xml.c xmlAttrPtr xIter = NULL; NULL 4396 lib/common/xml.c const char *id = NULL; NULL 4397 lib/common/xml.c const char *name = NULL; NULL 4398 lib/common/xml.c const char *value = NULL; NULL 4399 lib/common/xml.c const char *right_val = NULL; NULL 4404 lib/common/xml.c if (changed == NULL) { NULL 4408 lib/common/xml.c if (left == NULL) { NULL 4409 lib/common/xml.c return NULL; NULL 4417 lib/common/xml.c if (right == NULL) { NULL 4418 lib/common/xml.c xmlNode *deleted = NULL; NULL 4429 lib/common/xml.c CRM_CHECK(name != NULL, return NULL); NULL 4430 lib/common/xml.c CRM_CHECK(safe_str_eq(crm_element_name(left), crm_element_name(right)), return NULL); NULL 4434 lib/common/xml.c if (value != NULL && strcmp(value, "removed:top") == 0) { NULL 4437 lib/common/xml.c return NULL; NULL 4449 lib/common/xml.c for (left_child = __xml_first_child(left); left_child != NULL; NULL 4464 lib/common/xml.c xmlAttrPtr pIter = NULL; NULL 4466 lib/common/xml.c for (pIter = crm_first_attr(left); pIter != NULL; pIter = pIter->next) { NULL 4481 lib/common/xml.c for (xIter = crm_first_attr(left); xIter != NULL; xIter = xIter->next) { NULL 4483 lib/common/xml.c xmlAttrPtr right_attr = NULL; NULL 4484 lib/common/xml.c xml_private_t *p = NULL; NULL 4509 lib/common/xml.c if (right_val == NULL || (p && is_set(p->flags, xpf_deleted))) { NULL 4513 lib/common/xml.c xmlAttrPtr pIter = NULL; NULL 4515 lib/common/xml.c for (pIter = crm_first_attr(left); pIter != NULL; pIter = pIter->next) { NULL 4540 lib/common/xml.c xmlAttrPtr pIter = NULL; NULL 4544 lib/common/xml.c for (pIter = crm_first_attr(left); pIter != NULL; pIter = pIter->next) { NULL 4563 lib/common/xml.c return NULL; NULL 4575 lib/common/xml.c CRM_CHECK(update != NULL, return 0); NULL 4578 lib/common/xml.c if (target == NULL) { NULL 4582 lib/common/xml.c if (target == NULL) { NULL 4597 lib/common/xml.c xmlNode *a_child = NULL; NULL 4598 lib/common/xml.c const char *object_id = NULL; NULL 4599 lib/common/xml.c const char *object_name = NULL; NULL 4606 lib/common/xml.c CRM_CHECK(update != NULL, return 0); NULL 4615 lib/common/xml.c CRM_CHECK(object_name != NULL, return 0); NULL 4617 lib/common/xml.c if (target == NULL && object_id == NULL) { NULL 4621 lib/common/xml.c } else if (target == NULL) { NULL 4625 lib/common/xml.c if (target == NULL) { NULL 4627 lib/common/xml.c CRM_CHECK(target != NULL, return 0); NULL 4646 lib/common/xml.c xmlAttrPtr pIter = NULL; NULL 4648 lib/common/xml.c for (pIter = crm_first_attr(update); pIter != NULL; pIter = pIter->next) { NULL 4658 lib/common/xml.c for (a_child = __xml_first_child(update); a_child != NULL; a_child = __xml_next(a_child)) { NULL 4662 lib/common/xml.c add_xml_object(target, NULL, a_child, as_diff); NULL 4675 lib/common/xml.c xmlNode *child_of_child = NULL; NULL 4677 lib/common/xml.c CRM_CHECK(child != NULL, return FALSE); NULL 4678 lib/common/xml.c CRM_CHECK(to_update != NULL, return FALSE); NULL 4690 lib/common/xml.c add_xml_object(NULL, child, to_update, FALSE); NULL 4693 lib/common/xml.c for (child_of_child = __xml_first_child(child); child_of_child != NULL; NULL 4711 lib/common/xml.c CRM_CHECK(root != NULL, return FALSE); NULL 4712 lib/common/xml.c CRM_CHECK(children != NULL, return FALSE); NULL 4714 lib/common/xml.c if (tag != NULL && safe_str_neq(tag, crm_element_name(root))) { NULL 4716 lib/common/xml.c } else if (value != NULL && safe_str_neq(value, crm_element_value(root, field))) { NULL 4719 lib/common/xml.c if (*children == NULL) { NULL 4720 lib/common/xml.c *children = create_xml_node(NULL, __FUNCTION__); NULL 4727 lib/common/xml.c xmlNode *child = NULL; NULL 4729 lib/common/xml.c for (child = __xml_first_child(root); child != NULL; child = __xml_next(child)) { NULL 4741 lib/common/xml.c xmlNode *child_of_child = NULL; NULL 4743 lib/common/xml.c const char *up_id = NULL; NULL 4744 lib/common/xml.c const char *child_id = NULL; NULL 4745 lib/common/xml.c const char *right_val = NULL; NULL 4747 lib/common/xml.c CRM_CHECK(child != NULL, return FALSE); NULL 4748 lib/common/xml.c CRM_CHECK(update != NULL, return FALSE); NULL 4753 lib/common/xml.c if (up_id == NULL || (child_id && strcmp(child_id, up_id) == 0)) { NULL 4760 lib/common/xml.c xmlAttrPtr pIter = NULL; NULL 4762 lib/common/xml.c for (pIter = crm_first_attr(update); pIter != NULL; pIter = pIter->next) { NULL 4773 lib/common/xml.c if (can_delete && parent != NULL) { NULL 4775 lib/common/xml.c if (delete_only || update == NULL) { NULL 4781 lib/common/xml.c xmlNode *old = NULL; NULL 4795 lib/common/xml.c child = NULL; NULL 4811 lib/common/xml.c child_of_child = NULL; NULL 4839 lib/common/xml.c CRM_CHECK(id || name, return NULL); NULL 4842 lib/common/xml.c CRM_CHECK(nvp, return NULL); NULL 4882 lib/common/xml.c } else if (crm_element_value(xml_node, name) == NULL) { NULL 4899 lib/common/xml.c if (crm_element_value(xml_node, name) == NULL) { NULL 4910 lib/common/xml.c char *crm_name = NULL; NULL 4912 lib/common/xml.c if (key == NULL || value == NULL) { NULL 4933 lib/common/xml.c xmlNode *child = NULL; NULL 4934 lib/common/xml.c xmlAttrPtr pIter = NULL; NULL 4935 lib/common/xml.c xmlNode *nvpair_list = NULL; NULL 4938 lib/common/xml.c CRM_CHECK(parent != NULL, return nvpair_hash); NULL 4941 lib/common/xml.c if (nvpair_list == NULL) { NULL 4948 lib/common/xml.c for (pIter = crm_first_attr(nvpair_list); pIter != NULL; pIter = pIter->next) { NULL 4957 lib/common/xml.c for (child = __xml_first_child(nvpair_list); child != NULL; child = __xml_next(child)) { NULL 4963 lib/common/xml.c if (key != NULL && value != NULL) { NULL 4984 lib/common/xml.c CRM_ASSERT(a != NULL); NULL 4985 lib/common/xml.c CRM_ASSERT(pair_a->name != NULL); NULL 4987 lib/common/xml.c CRM_ASSERT(b != NULL); NULL 4988 lib/common/xml.c CRM_ASSERT(pair_b->name != NULL); NULL 5011 lib/common/xml.c xmlNode *child = NULL; NULL 5012 lib/common/xml.c GListPtr sorted = NULL; NULL 5013 lib/common/xml.c GListPtr unsorted = NULL; NULL 5014 lib/common/xml.c name_value_t *pair = NULL; NULL 5015 lib/common/xml.c xmlNode *result = NULL; NULL 5016 lib/common/xml.c const char *name = NULL; NULL 5017 lib/common/xml.c xmlAttrPtr pIter = NULL; NULL 5019 lib/common/xml.c CRM_CHECK(input != NULL, return NULL); NULL 5022 lib/common/xml.c CRM_CHECK(name != NULL, return NULL); NULL 5026 lib/common/xml.c for (pIter = crm_first_attr(input); pIter != NULL; pIter = pIter->next) { NULL 5034 lib/common/xml.c pair = NULL; NULL 5041 lib/common/xml.c for (child = __xml_first_child(input); child != NULL; child = __xml_next(child)) { NULL 5055 lib/common/xml.c xmlNode *match = NULL; NULL 5057 lib/common/xml.c for (match = __xml_first_child(parent); match != NULL; match = __xml_next(match)) { NULL 5063 lib/common/xml.c if (name == NULL || strcmp((const char *)match->name, name) == 0) { NULL 5067 lib/common/xml.c return NULL; NULL 5083 lib/common/xml.c while (match != NULL) { NULL 5089 lib/common/xml.c return NULL; NULL 5127 lib/common/xml.c const char *tag = NULL; NULL 5128 lib/common/xml.c const char *ref = NULL; NULL 5130 lib/common/xml.c char *xpath_string = NULL; NULL 5132 lib/common/xml.c if (result == NULL) { NULL 5133 lib/common/xml.c return NULL; NULL 5135 lib/common/xml.c } else if (top == NULL) { NULL 5142 lib/common/xml.c if (ref != NULL) { NULL 5151 lib/common/xml.c if (result == NULL) { NULL 5167 lib/common/xml.c xmlAttr *attr = NULL; NULL 5169 lib/common/xml.c if (data == NULL) { NULL 5171 lib/common/xml.c CRM_LOG_ASSERT(data != NULL); NULL 5172 lib/common/xml.c return NULL; NULL 5174 lib/common/xml.c } else if (name == NULL) { NULL 5176 lib/common/xml.c return NULL; NULL 5180 lib/common/xml.c if (attr == NULL || attr->children == NULL) { NULL 5181 lib/common/xml.c return NULL; NULL 49 lib/common/xpath.c if (xpathObj == NULL) { NULL 55 lib/common/xpath.c xpathObj->nodesetval->nodeTab[lpc] = NULL; NULL 66 lib/common/xpath.c xmlNode *match = NULL; NULL 69 lib/common/xpath.c CRM_CHECK(index >= 0, return NULL); NULL 70 lib/common/xpath.c CRM_CHECK(xpathObj != NULL, return NULL); NULL 74 lib/common/xpath.c return NULL; NULL 76 lib/common/xpath.c } else if(xpathObj->nodesetval->nodeTab[index] == NULL) { NULL 78 lib/common/xpath.c return NULL; NULL 82 lib/common/xpath.c CRM_CHECK(match != NULL, return NULL); NULL 86 lib/common/xpath.c xpathObj->nodesetval->nodeTab[index] = NULL; NULL 101 lib/common/xpath.c match = NULL; NULL 111 lib/common/xpath.c if (xpathObj == NULL) { NULL 116 lib/common/xpath.c xmlNode *xml = NULL; NULL 119 lib/common/xpath.c if (xpathObj->nodesetval->nodeTab[lpc] == NULL) { NULL 130 lib/common/xpath.c xpathObj->nodesetval->nodeTab[lpc] = NULL; NULL 147 lib/common/xpath.c xmlDocPtr doc = NULL; NULL 148 lib/common/xpath.c xmlXPathObjectPtr xpathObj = NULL; NULL 149 lib/common/xpath.c xmlXPathContextPtr xpathCtx = NULL; NULL 152 lib/common/xpath.c CRM_CHECK(path != NULL, return NULL); NULL 153 lib/common/xpath.c CRM_CHECK(xml_top != NULL, return NULL); NULL 154 lib/common/xpath.c CRM_CHECK(strlen(path) > 0, return NULL); NULL 159 lib/common/xpath.c CRM_ASSERT(xpathCtx != NULL); NULL 189 lib/common/xpath.c CRM_LOG_ASSERT(result != NULL); NULL 201 lib/common/xpath.c xmlNode *result = NULL; NULL 202 lib/common/xpath.c char *xpath_full = NULL; NULL 203 lib/common/xpath.c char *xpath_prefix = NULL; NULL 205 lib/common/xpath.c if (xml_obj == NULL || xpath == NULL) { NULL 206 lib/common/xpath.c return NULL; NULL 227 lib/common/xpath.c xmlNode *result = NULL; NULL 228 lib/common/xpath.c xmlXPathObjectPtr xpathObj = NULL; NULL 229 lib/common/xpath.c char *nodePath = NULL; NULL 230 lib/common/xpath.c char *matchNodePath = NULL; NULL 232 lib/common/xpath.c if (xpath == NULL) { NULL 252 lib/common/xpath.c CRM_LOG_ASSERT(match != NULL); NULL 253 lib/common/xpath.c if(match != NULL) { NULL 44 lib/fencing/st_client.c static void *lha_agents_lib = NULL; NULL 185 lib/fencing/st_client.c stonith_private_t *native = NULL; NULL 190 lib/fencing/st_client.c blob.xml = create_xml_node(NULL, "notify"); NULL 193 lib/fencing/st_client.c native->ipc = NULL; NULL 194 lib/fencing/st_client.c native->source = NULL; NULL 208 lib/fencing/st_client.c xmlNode *data = create_xml_node(NULL, F_STONITH_DEVICE); NULL 240 lib/fencing/st_client.c xmlNode *data = NULL; NULL 242 lib/fencing/st_client.c data = create_device_registration_xml(id, namespace, agent, params, NULL); NULL 244 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_DEVICE_ADD, data, NULL, call_options, 0); NULL 254 lib/fencing/st_client.c xmlNode *data = NULL; NULL 256 lib/fencing/st_client.c data = create_xml_node(NULL, F_STONITH_DEVICE); NULL 259 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_DEVICE_DEL, data, NULL, call_options, 0); NULL 271 lib/fencing/st_client.c xmlNode *data = NULL; NULL 275 lib/fencing/st_client.c data = create_xml_node(NULL, XML_TAG_FENCING_LEVEL); NULL 290 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_LEVEL_DEL, data, NULL, options, 0); NULL 300 lib/fencing/st_client.c NULL, NULL, NULL, level); NULL 324 lib/fencing/st_client.c char *list = NULL; NULL 327 lib/fencing/st_client.c CRM_CHECK(node || pattern || (attr && value), return NULL); NULL 329 lib/fencing/st_client.c data = create_xml_node(NULL, XML_TAG_FENCING_LEVEL); NULL 330 lib/fencing/st_client.c CRM_CHECK(data, return NULL); NULL 356 lib/fencing/st_client.c if (list == NULL) { NULL 359 lib/fencing/st_client.c return NULL; NULL 380 lib/fencing/st_client.c CRM_CHECK(data != NULL, return -EINVAL); NULL 382 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_LEVEL_ADD, data, NULL, options, 0); NULL 392 lib/fencing/st_client.c return stonith_api_register_level_full(st, options, node, NULL, NULL, NULL, NULL 402 lib/fencing/st_client.c CRM_CHECK(key != NULL, return); NULL 403 lib/fencing/st_client.c CRM_CHECK(value != NULL, return); NULL 415 lib/fencing/st_client.c if (*args != NULL) { NULL 440 lib/fencing/st_client.c char *name = NULL; NULL 443 lib/fencing/st_client.c if (map == NULL) { NULL 464 lib/fencing/st_client.c char *param = NULL; NULL 465 lib/fencing/st_client.c const char *value = NULL; NULL 472 lib/fencing/st_client.c if (name == NULL) { NULL 496 lib/fencing/st_client.c name = NULL; NULL 514 lib/fencing/st_client.c char *arg_list = NULL; NULL 515 lib/fencing/st_client.c const char *value = NULL; NULL 517 lib/fencing/st_client.c CRM_CHECK(action != NULL, return NULL); NULL 524 lib/fencing/st_client.c if (value == NULL && device_args) { NULL 530 lib/fencing/st_client.c if (value == NULL && device_args && safe_str_eq(action, "off")) { NULL 566 lib/fencing/st_client.c } else if (param == NULL) { NULL 571 lib/fencing/st_client.c if (map == NULL) { NULL 588 lib/fencing/st_client.c if (value == NULL || safe_str_eq(value, "dynamic")) { NULL 654 lib/fencing/st_client.c action->output = NULL; NULL 656 lib/fencing/st_client.c action->error = NULL; NULL 696 lib/fencing/st_client.c const char *value = NULL; NULL 714 lib/fencing/st_client.c char *output = NULL; NULL 719 lib/fencing/st_client.c return NULL; NULL 744 lib/fencing/st_client.c int diff = time(NULL) - action->initial_start_time; NULL 794 lib/fencing/st_client.c if (action->error == NULL) { NULL 845 lib/fencing/st_client.c action->initial_start_time = time(NULL); NULL 857 lib/fencing/st_client.c if (action->args == NULL || action->agent == NULL) NULL 911 lib/fencing/st_client.c execlp(action->agent, action->agent, NULL); NULL 1107 lib/fencing/st_client.c action->output = NULL; /* handed it off, do not free */ NULL 1120 lib/fencing/st_client.c if (devices == NULL) { NULL 1126 lib/fencing/st_client.c if (namespace == NULL || safe_str_eq("heartbeat", namespace)) { NULL 1130 lib/fencing/st_client.c char **entry = NULL; NULL 1131 lib/fencing/st_client.c char **type_list = NULL; NULL 1132 lib/fencing/st_client.c static char **(*type_list_fn) (void) = NULL; NULL 1133 lib/fencing/st_client.c static void (*type_free_fn) (char **) = NULL; NULL 1148 lib/fencing/st_client.c for (entry = type_list; entry != NULL && *entry; ++entry) { NULL 1150 lib/fencing/st_client.c *devices = stonith_key_value_add(*devices, NULL, *entry); NULL 1157 lib/fencing/st_client.c if (namespace != NULL) { NULL 1164 lib/fencing/st_client.c if (namespace == NULL || safe_str_eq("redhat", namespace)) { NULL 1185 lib/fencing/st_client.c *devices = stonith_key_value_add(*devices, NULL, namelist[file_num]->d_name); NULL 1205 lib/fencing/st_client.c return NULL; NULL 1218 lib/fencing/st_client.c char *string = NULL; NULL 1237 lib/fencing/st_client.c char *buffer = NULL; NULL 1248 lib/fencing/st_client.c stonith_action_t *action = stonith_action_create(agent, "metadata", NULL, 0, 5, NULL, NULL); NULL 1250 lib/fencing/st_client.c xmlNode *xml = NULL; NULL 1251 lib/fencing/st_client.c xmlNode *actions = NULL; NULL 1252 lib/fencing/st_client.c xmlXPathObject *xpathObj = NULL; NULL 1254 lib/fencing/st_client.c if (exec_rc < 0 || rc != 0 || buffer == NULL) { NULL 1262 lib/fencing/st_client.c if(xml == NULL) { NULL 1278 lib/fencing/st_client.c xmlNode *tmp = NULL; NULL 1315 lib/fencing/st_client.c Stonith *stonith_obj = NULL; NULL 1318 lib/fencing/st_client.c static Stonith *(*st_new_fn) (const char *) = NULL; NULL 1319 lib/fencing/st_client.c static const char *(*st_info_fn) (Stonith *, int) = NULL; NULL 1320 lib/fencing/st_client.c static void (*st_del_fn) (Stonith *) = NULL; NULL 1321 lib/fencing/st_client.c static void (*st_log_fn) (Stonith *, PILLogFun) = NULL; NULL 1339 lib/fencing/st_client.c char *xml_meta_longdesc = NULL; NULL 1340 lib/fencing/st_client.c char *xml_meta_shortdesc = NULL; NULL 1342 lib/fencing/st_client.c char *meta_param = NULL; NULL 1343 lib/fencing/st_client.c char *meta_longdesc = NULL; NULL 1344 lib/fencing/st_client.c char *meta_shortdesc = NULL; NULL 1350 lib/fencing/st_client.c if (meta_longdesc == NULL) { NULL 1356 lib/fencing/st_client.c if (meta_shortdesc == NULL) { NULL 1362 lib/fencing/st_client.c if (meta_param == NULL) { NULL 1372 lib/fencing/st_client.c (char *)xmlEncodeEntitiesReentrant(NULL, (const unsigned char *)meta_longdesc); NULL 1374 lib/fencing/st_client.c (char *)xmlEncodeEntitiesReentrant(NULL, (const unsigned char *)meta_shortdesc); NULL 1410 lib/fencing/st_client.c xmlNode *data = NULL; NULL 1411 lib/fencing/st_client.c xmlNode *output = NULL; NULL 1412 lib/fencing/st_client.c xmlXPathObjectPtr xpathObj = NULL; NULL 1414 lib/fencing/st_client.c CRM_CHECK(devices != NULL, return -EINVAL); NULL 1416 lib/fencing/st_client.c data = create_xml_node(NULL, F_STONITH_DEVICE); NULL 1433 lib/fencing/st_client.c CRM_LOG_ASSERT(match != NULL); NULL 1434 lib/fencing/st_client.c if(match != NULL) { NULL 1439 lib/fencing/st_client.c *devices = stonith_key_value_add(*devices, NULL, crm_element_value(match, XML_ATTR_ID)); NULL 1458 lib/fencing/st_client.c xmlNode *data = NULL; NULL 1460 lib/fencing/st_client.c data = create_xml_node(NULL, F_STONITH_DEVICE); NULL 1477 lib/fencing/st_client.c xmlNode *output = NULL; NULL 1479 lib/fencing/st_client.c rc = stonith_api_call(stonith, call_options, id, "list", NULL, timeout, &output); NULL 1501 lib/fencing/st_client.c return stonith_api_call(stonith, call_options, id, "monitor", NULL, timeout, NULL); NULL 1508 lib/fencing/st_client.c return stonith_api_call(stonith, call_options, id, "status", port, timeout, NULL); NULL 1516 lib/fencing/st_client.c xmlNode *data = NULL; NULL 1518 lib/fencing/st_client.c data = create_xml_node(NULL, __FUNCTION__); NULL 1524 lib/fencing/st_client.c rc = stonith_send_command(stonith, STONITH_OP_FENCE, data, NULL, call_options, timeout); NULL 1541 lib/fencing/st_client.c xmlNode *data = NULL; NULL 1542 lib/fencing/st_client.c xmlNode *output = NULL; NULL 1543 lib/fencing/st_client.c stonith_history_t *last = NULL; NULL 1545 lib/fencing/st_client.c *history = NULL; NULL 1548 lib/fencing/st_client.c data = create_xml_node(NULL, __FUNCTION__); NULL 1557 lib/fencing/st_client.c xmlNode *op = NULL; NULL 1560 lib/fencing/st_client.c for (op = __xml_first_child(reply); op != NULL; op = __xml_next(op)) { NULL 1607 lib/fencing/st_client.c Stonith *stonith_obj = NULL; NULL 1610 lib/fencing/st_client.c static Stonith *(*st_new_fn) (const char *) = NULL; NULL 1611 lib/fencing/st_client.c static void (*st_del_fn) (Stonith *) = NULL; NULL 1637 lib/fencing/st_client.c return NULL; NULL 1648 lib/fencing/st_client.c CRM_CHECK(a_client->event != NULL && b_client->event != NULL, return 0); NULL 1651 lib/fencing/st_client.c if (a_client->notify == NULL || b_client->notify == NULL) { NULL 1672 lib/fencing/st_client.c xmlNode *op_msg = create_xml_node(NULL, "stonith_command"); NULL 1674 lib/fencing/st_client.c CRM_CHECK(op_msg != NULL, return NULL); NULL 1675 lib/fencing/st_client.c CRM_CHECK(token != NULL, return NULL); NULL 1686 lib/fencing/st_client.c if (data != NULL) { NULL 1712 lib/fencing/st_client.c if (native->source != NULL) { NULL 1715 lib/fencing/st_client.c native->source = NULL; NULL 1716 lib/fencing/st_client.c native->ipc = NULL; NULL 1722 lib/fencing/st_client.c native->ipc = NULL; NULL 1727 lib/fencing/st_client.c free(native->token); native->token = NULL; NULL 1764 lib/fencing/st_client.c if (native->ipc == NULL) { NULL 1770 lib/fencing/st_client.c xmlNode *reply = NULL; NULL 1771 lib/fencing/st_client.c xmlNode *hello = create_xml_node(NULL, "stonith_command"); NULL 1782 lib/fencing/st_client.c } else if (reply == NULL) { NULL 1795 lib/fencing/st_client.c } else if (tmp_ticket == NULL) { NULL 1828 lib/fencing/st_client.c xmlNode *notify_msg = create_xml_node(NULL, __FUNCTION__); NULL 1840 lib/fencing/st_client.c rc = crm_ipc_send(native->ipc, notify_msg, crm_ipc_client_response, -1, NULL); NULL 1857 lib/fencing/st_client.c GList *list_item = NULL; NULL 1858 lib/fencing/st_client.c stonith_notify_client_t *new_client = NULL; NULL 1859 lib/fencing/st_client.c stonith_private_t *private = NULL; NULL 1870 lib/fencing/st_client.c if (list_item != NULL) { NULL 1888 lib/fencing/st_client.c GList *list_item = NULL; NULL 1889 lib/fencing/st_client.c stonith_notify_client_t *new_client = NULL; NULL 1890 lib/fencing/st_client.c stonith_private_t *private = NULL; NULL 1897 lib/fencing/st_client.c new_client->notify = NULL; NULL 1903 lib/fencing/st_client.c if (list_item != NULL) { NULL 1924 lib/fencing/st_client.c stonith_perform_callback(timer->stonith, NULL, timer->call_id, -ETIME); NULL 1963 lib/fencing/st_client.c stonith_callback_client_t *callback = NULL; NULL 1992 lib/fencing/st_client.c stonith_callback_client_t *blob = NULL; NULL 1993 lib/fencing/st_client.c stonith_private_t *private = NULL; NULL 1995 lib/fencing/st_client.c CRM_CHECK(stonith != NULL, return -EINVAL); NULL 1996 lib/fencing/st_client.c CRM_CHECK(stonith->private != NULL, return -EINVAL); NULL 2035 lib/fencing/st_client.c private->op_callback = NULL; NULL 2038 lib/fencing/st_client.c NULL, NULL 2042 lib/fencing/st_client.c private->op_callback = NULL; NULL 2064 lib/fencing/st_client.c if (private->stonith_op_callback_table == NULL) { NULL 2067 lib/fencing/st_client.c return g_hash_table_foreach(private->stonith_op_callback_table, stonith_dump_pending_op, NULL); NULL 2073 lib/fencing/st_client.c stonith_private_t *private = NULL; NULL 2074 lib/fencing/st_client.c stonith_callback_client_t *blob = NULL; NULL 2077 lib/fencing/st_client.c CRM_CHECK(stonith != NULL, return); NULL 2078 lib/fencing/st_client.c CRM_CHECK(stonith->private != NULL, return); NULL 2082 lib/fencing/st_client.c local_blob.id = NULL; NULL 2083 lib/fencing/st_client.c local_blob.callback = NULL; NULL 2084 lib/fencing/st_client.c local_blob.user_data = NULL; NULL 2087 lib/fencing/st_client.c if (msg != NULL) { NULL 2096 lib/fencing/st_client.c if (blob != NULL) { NULL 2098 lib/fencing/st_client.c blob = NULL; NULL 2104 lib/fencing/st_client.c local_blob.callback = NULL; NULL 2107 lib/fencing/st_client.c if (local_blob.callback != NULL && (rc == pcmk_ok || local_blob.only_success == FALSE)) { NULL 2111 lib/fencing/st_client.c } else if (private->op_callback == NULL && rc != pcmk_ok) { NULL 2116 lib/fencing/st_client.c if (private->op_callback != NULL) { NULL 2118 lib/fencing/st_client.c invoke_callback(stonith, call_id, rc, NULL, private->op_callback); NULL 2197 lib/fencing/st_client.c stonith_event_t *st_event = NULL; NULL 2198 lib/fencing/st_client.c const char *event = NULL; NULL 2200 lib/fencing/st_client.c if (blob->xml == NULL) { NULL 2207 lib/fencing/st_client.c if (entry == NULL) { NULL 2211 lib/fencing/st_client.c } else if (entry->notify == NULL) { NULL 2237 lib/fencing/st_client.c xmlNode *op_msg = NULL; NULL 2238 lib/fencing/st_client.c xmlNode *op_reply = NULL; NULL 2246 lib/fencing/st_client.c if (output_data != NULL) { NULL 2247 lib/fencing/st_client.c *output_data = NULL; NULL 2250 lib/fencing/st_client.c if (op == NULL) { NULL 2268 lib/fencing/st_client.c CRM_CHECK(native->token != NULL,; NULL 2271 lib/fencing/st_client.c if (op_msg == NULL) { NULL 2307 lib/fencing/st_client.c if ((call_options & st_opt_discard_reply) || output_data == NULL) { NULL 2312 lib/fencing/st_client.c op_reply = NULL; /* Prevent subsequent free */ NULL 2343 lib/fencing/st_client.c stonith_private_t *private = NULL; NULL 2345 lib/fencing/st_client.c CRM_ASSERT(st != NULL); NULL 2368 lib/fencing/st_client.c const char *type = NULL; NULL 2372 lib/fencing/st_client.c stonith_private_t *private = NULL; NULL 2374 lib/fencing/st_client.c CRM_ASSERT(st != NULL); NULL 2379 lib/fencing/st_client.c if (blob.xml == NULL) { NULL 2454 lib/fencing/st_client.c stonith_t *new_stonith = NULL; NULL 2455 lib/fencing/st_client.c stonith_private_t *private = NULL; NULL 2462 lib/fencing/st_client.c NULL, stonith_destroy_op_callback); NULL 2463 lib/fencing/st_client.c private->notify_list = NULL; NULL 2554 lib/fencing/st_client.c char *name = NULL; NULL 2558 lib/fencing/st_client.c stonith_t *st = NULL; NULL 2564 lib/fencing/st_client.c rc = st->cmds->connect(st, "stonith-api", NULL); NULL 2570 lib/fencing/st_client.c if (uname != NULL) { NULL 2604 lib/fencing/st_client.c char *name = NULL; NULL 2607 lib/fencing/st_client.c stonith_t *st = NULL; NULL 2608 lib/fencing/st_client.c stonith_history_t *history, *hp = NULL; NULL 2613 lib/fencing/st_client.c rc = st->cmds->connect(st, "stonith-api", NULL); NULL 2619 lib/fencing/st_client.c if (uname != NULL) { NULL 2639 lib/fencing/st_client.c when = time(NULL); NULL 43 lib/lrmd/lrmd_alerts.c if (value == NULL) { NULL 95 lib/lrmd/lrmd_alerts.c CRM_CHECK(value != NULL, return FALSE); NULL 97 lib/lrmd/lrmd_alerts.c if (list == NULL) { NULL 132 lib/lrmd/lrmd_alerts.c crm_time_hr_t *now = NULL; NULL 139 lib/lrmd/lrmd_alerts.c lrmd_key_value_t *copy_params = NULL; NULL 140 lib/lrmd/lrmd_alerts.c lrmd_key_value_t *head = NULL; NULL 157 lib/lrmd/lrmd_alerts.c if (now == NULL) { NULL 158 lib/lrmd/lrmd_alerts.c now = crm_time_hr_new(NULL); NULL 164 lib/lrmd/lrmd_alerts.c for (head = params; head != NULL; head = head->next) { NULL 225 lib/lrmd/lrmd_alerts.c lrmd_key_value_t *params = NULL; NULL 227 lib/lrmd/lrmd_alerts.c if (lrmd == NULL) { NULL 261 lib/lrmd/lrmd_alerts.c lrmd_key_value_t *params = NULL; NULL 263 lib/lrmd/lrmd_alerts.c if (lrmd == NULL) { NULL 271 lib/lrmd/lrmd_alerts.c rc = exec_alert_list(lrmd, alert_list, crm_alert_node, NULL, params); NULL 297 lib/lrmd/lrmd_alerts.c lrmd_key_value_t *params = NULL; NULL 299 lib/lrmd/lrmd_alerts.c if (lrmd == NULL) { NULL 308 lib/lrmd/lrmd_alerts.c rc = exec_alert_list(lrmd, alert_list, crm_alert_fencing, NULL, params); NULL 332 lib/lrmd/lrmd_alerts.c lrmd_key_value_t *params = NULL; NULL 334 lib/lrmd/lrmd_alerts.c if (lrmd == NULL) { NULL 364 lib/lrmd/lrmd_alerts.c rc = exec_alert_list(lrmd, alert_list, crm_alert_resource, NULL, params); NULL 192 lib/lrmd/lrmd_client.c lrmd_event_data_t *copy = NULL; NULL 201 lib/lrmd/lrmd_client.c copy->rsc_id = event->rsc_id ? strdup(event->rsc_id) : NULL; NULL 202 lib/lrmd/lrmd_client.c copy->op_type = event->op_type ? strdup(event->op_type) : NULL; NULL 203 lib/lrmd/lrmd_client.c copy->user_data = event->user_data ? strdup(event->user_data) : NULL; NULL 204 lib/lrmd/lrmd_client.c copy->output = event->output ? strdup(event->output) : NULL; NULL 205 lib/lrmd/lrmd_client.c copy->exit_reason = event->exit_reason ? strdup(event->exit_reason) : NULL; NULL 206 lib/lrmd/lrmd_client.c copy->remote_nodename = event->remote_nodename ? strdup(event->remote_nodename) : NULL; NULL 240 lib/lrmd/lrmd_client.c if (proxy_session != NULL) { NULL 339 lib/lrmd/lrmd_client.c xmlNode *xml = NULL; NULL 353 lib/lrmd/lrmd_client.c GList *iter = NULL; NULL 360 lib/lrmd/lrmd_client.c native->pending_notify = NULL; NULL 430 lib/lrmd/lrmd_client.c lrmd_private_t *private = NULL; NULL 432 lib/lrmd/lrmd_client.c CRM_ASSERT(lrmd != NULL); NULL 466 lib/lrmd/lrmd_client.c xmlNode *op_msg = create_xml_node(NULL, "lrmd_command"); NULL 468 lib/lrmd/lrmd_client.c CRM_CHECK(op_msg != NULL, return NULL); NULL 469 lib/lrmd/lrmd_client.c CRM_CHECK(token != NULL, return NULL); NULL 478 lib/lrmd/lrmd_client.c if (data != NULL) { NULL 496 lib/lrmd/lrmd_client.c native->ipc = NULL; NULL 497 lib/lrmd/lrmd_client.c native->source = NULL; NULL 529 lib/lrmd/lrmd_client.c native->process_notify = NULL; NULL 533 lib/lrmd/lrmd_client.c native->pending_notify = NULL; NULL 537 lib/lrmd/lrmd_client.c native->remote->buffer = NULL; NULL 540 lib/lrmd/lrmd_client.c native->psk_cred_c = NULL; NULL 541 lib/lrmd/lrmd_client.c native->remote->tls_session = NULL; NULL 565 lib/lrmd/lrmd_client.c xmlNode *xml = NULL; NULL 566 lib/lrmd/lrmd_client.c time_t start = time(NULL); NULL 567 lib/lrmd/lrmd_client.c const char *msg_type = NULL; NULL 583 lib/lrmd/lrmd_client.c remaining_timeout = total_timeout - ((time(NULL) - start) * 1000); NULL 590 lib/lrmd/lrmd_client.c return NULL; NULL 598 lib/lrmd/lrmd_client.c return NULL; NULL 600 lib/lrmd/lrmd_client.c return NULL; NULL 604 lib/lrmd/lrmd_client.c CRM_ASSERT(xml != NULL); NULL 612 lib/lrmd/lrmd_client.c xml = NULL; NULL 621 lib/lrmd/lrmd_client.c xml = NULL; NULL 626 lib/lrmd/lrmd_client.c xml = NULL; NULL 634 lib/lrmd/lrmd_client.c xml = NULL; NULL 670 lib/lrmd/lrmd_client.c xmlNode *xml = NULL; NULL 734 lib/lrmd/lrmd_client.c rc = crm_ipc_send(native->ipc, msg, crm_ipc_flags_none, 0, NULL); NULL 798 lib/lrmd/lrmd_client.c xmlNode *op_msg = NULL; NULL 799 lib/lrmd/lrmd_client.c xmlNode *op_reply = NULL; NULL 805 lib/lrmd/lrmd_client.c if (op == NULL) { NULL 810 lib/lrmd/lrmd_client.c CRM_CHECK(native->token != NULL,; NULL 816 lib/lrmd/lrmd_client.c if (op_msg == NULL) { NULL 832 lib/lrmd/lrmd_client.c } else if(op_reply == NULL) { NULL 848 lib/lrmd/lrmd_client.c op_reply = NULL; /* Prevent subsequent free */ NULL 866 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); NULL 869 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_POKE, data, NULL, 0, 0, native->type == CRM_CLIENT_IPC ? TRUE : FALSE); NULL 881 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_OPERATION); NULL 888 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_CHECK, data, NULL, 0, 0, native->type == CRM_CLIENT_IPC ? TRUE : FALSE); NULL 899 lib/lrmd/lrmd_client.c xmlNode *reply = NULL; NULL 900 lib/lrmd/lrmd_client.c xmlNode *hello = create_xml_node(NULL, "lrmd_command"); NULL 917 lib/lrmd/lrmd_client.c } else if (reply == NULL) { NULL 936 lib/lrmd/lrmd_client.c } else if (tmp_ticket == NULL) { NULL 984 lib/lrmd/lrmd_client.c if (native->ipc == NULL) { NULL 1000 lib/lrmd/lrmd_client.c static char *key_cache = NULL; NULL 1004 lib/lrmd/lrmd_client.c if (location == NULL) { NULL 1009 lib/lrmd/lrmd_client.c time_t now = time(NULL); NULL 1022 lib/lrmd/lrmd_client.c key_cache = NULL; NULL 1062 lib/lrmd/lrmd_client.c key_cache_updated = time(NULL); NULL 1128 lib/lrmd/lrmd_client.c gnutls_datum_t psk_key = { NULL, 0 }; NULL 1166 lib/lrmd/lrmd_client.c native->remote->tls_session = NULL; NULL 1217 lib/lrmd/lrmd_client.c gnutls_datum_t psk_key = { NULL, 0 }; NULL 1246 lib/lrmd/lrmd_client.c native->remote->tls_session = NULL; NULL 1310 lib/lrmd/lrmd_client.c rc = lrmd_api_connect(lrmd, name, NULL); NULL 1336 lib/lrmd/lrmd_client.c if (native->source != NULL) { NULL 1339 lib/lrmd/lrmd_client.c native->source = NULL; NULL 1340 lib/lrmd/lrmd_client.c native->ipc = NULL; NULL 1346 lib/lrmd/lrmd_client.c native->ipc = NULL; NULL 1370 lib/lrmd/lrmd_client.c if (native->source != NULL) { NULL 1373 lib/lrmd/lrmd_client.c native->source = NULL; NULL 1382 lib/lrmd/lrmd_client.c native->pending_notify = NULL; NULL 1407 lib/lrmd/lrmd_client.c native->token = NULL; NULL 1410 lib/lrmd/lrmd_client.c native->peer_version = NULL; NULL 1421 lib/lrmd/lrmd_client.c xmlNode *data = NULL; NULL 1430 lib/lrmd/lrmd_client.c data = create_xml_node(NULL, F_LRMD_RSC); NULL 1437 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_REG, data, NULL, 0, options, TRUE); NULL 1447 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); NULL 1451 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_UNREG, data, NULL, 0, options, TRUE); NULL 1460 lib/lrmd/lrmd_client.c lrmd_rsc_info_t *copy = NULL; NULL 1490 lib/lrmd/lrmd_client.c lrmd_rsc_info_t *rsc_info = NULL; NULL 1491 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); NULL 1492 lib/lrmd/lrmd_client.c xmlNode *output = NULL; NULL 1493 lib/lrmd/lrmd_client.c const char *class = NULL; NULL 1494 lib/lrmd/lrmd_client.c const char *provider = NULL; NULL 1495 lib/lrmd/lrmd_client.c const char *type = NULL; NULL 1503 lib/lrmd/lrmd_client.c return NULL; NULL 1512 lib/lrmd/lrmd_client.c return NULL; NULL 1515 lib/lrmd/lrmd_client.c return NULL; NULL 1561 lib/lrmd/lrmd_client.c if (lrmd == NULL) { NULL 1580 lib/lrmd/lrmd_client.c if (*output == NULL) { NULL 1604 lib/lrmd/lrmd_client.c CRMD_METADATA_CALL_TIMEOUT, NULL, 0); NULL 1605 lib/lrmd/lrmd_client.c if (action == NULL) { NULL 1636 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); NULL 1638 lib/lrmd/lrmd_client.c lrmd_key_value_t *tmp = NULL; NULL 1652 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_EXEC, data, NULL, timeout, options, TRUE); NULL 1665 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_ALERT); NULL 1667 lib/lrmd/lrmd_client.c lrmd_key_value_t *tmp = NULL; NULL 1678 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_ALERT_EXEC, data, NULL, timeout, NULL 1690 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); NULL 1696 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_CANCEL, data, NULL, 0, 0, TRUE); NULL 1706 lib/lrmd/lrmd_client.c stonith_key_value_t *stonith_resources = NULL; NULL 1707 lib/lrmd/lrmd_client.c stonith_key_value_t *dIter = NULL; NULL 1710 lib/lrmd/lrmd_client.c stonith_api->cmds->list_agents(stonith_api, st_opt_sync_call, NULL, &stonith_resources, 0); NULL 1735 lib/lrmd/lrmd_client.c GListPtr gIter = NULL; NULL 1738 lib/lrmd/lrmd_client.c for (gIter = agents; gIter != NULL; gIter = gIter->next) { NULL 1760 lib/lrmd/lrmd_client.c GList *agents = NULL; NULL 1761 lib/lrmd/lrmd_client.c GListPtr gIter2 = NULL; NULL 1764 lib/lrmd/lrmd_client.c for (gIter2 = agents; gIter2 != NULL; gIter2 = gIter2->next) { NULL 1778 lib/lrmd/lrmd_client.c char *provider = NULL; NULL 1779 lib/lrmd/lrmd_client.c GList *ocf_providers = NULL; NULL 1780 lib/lrmd/lrmd_client.c GListPtr gIter = NULL; NULL 1784 lib/lrmd/lrmd_client.c for (gIter = ocf_providers; gIter != NULL; gIter = gIter->next) { NULL 1801 lib/lrmd/lrmd_client.c GList *standards = NULL; NULL 1802 lib/lrmd/lrmd_client.c GListPtr gIter = NULL; NULL 1806 lib/lrmd/lrmd_client.c for (gIter = standards; gIter != NULL; gIter = gIter->next) { NULL 1811 lib/lrmd/lrmd_client.c if (list_stonith_agents(NULL) > 0) { NULL 1823 lib/lrmd/lrmd_client.c lrmd_t *new_lrmd = NULL; NULL 1824 lib/lrmd/lrmd_client.c lrmd_private_t *pvt = NULL; NULL 1863 lib/lrmd/lrmd_client.c return NULL; NULL 1877 lib/lrmd/lrmd_client.c return NULL; NULL 35 lib/lrmd/proxy_common.c GHashTable *proxy_table = NULL; NULL 41 lib/lrmd/proxy_common.c xmlNode *msg = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 56 lib/lrmd/proxy_common.c xmlNode *msg = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 71 lib/lrmd/proxy_common.c xmlNode *msg = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 81 lib/lrmd/proxy_common.c xmlNode *event = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 94 lib/lrmd/proxy_common.c xmlNode *response = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 106 lib/lrmd/proxy_common.c if (proxy == NULL) { NULL 131 lib/lrmd/proxy_common.c xmlNode *xml = NULL; NULL 136 lib/lrmd/proxy_common.c if (xml == NULL) { NULL 163 lib/lrmd/proxy_common.c proxy->source = NULL; NULL 164 lib/lrmd/proxy_common.c proxy->ipc = NULL; NULL 168 lib/lrmd/proxy_common.c proxy->lrm = NULL; NULL 178 lib/lrmd/proxy_common.c remote_proxy_t *proxy = NULL; NULL 180 lib/lrmd/proxy_common.c if(channel == NULL) { NULL 183 lib/lrmd/proxy_common.c return NULL; NULL 200 lib/lrmd/proxy_common.c if (proxy->source == NULL) { NULL 203 lib/lrmd/proxy_common.c return NULL; NULL 226 lib/lrmd/proxy_common.c CRM_CHECK(op != NULL, return); NULL 227 lib/lrmd/proxy_common.c CRM_CHECK(session != NULL, return); NULL 240 lib/lrmd/proxy_common.c CRM_CHECK(request != NULL, return); NULL 242 lib/lrmd/proxy_common.c if (proxy == NULL) { NULL 270 lib/lrmd/proxy_common.c && crm_element_value(request, F_ATTRD_HOST) == NULL) { NULL 274 lib/lrmd/proxy_common.c rc = crm_ipc_send(proxy->ipc, request, flags, 5000, NULL); NULL 277 lib/lrmd/proxy_common.c xmlNode *op_reply = create_xml_node(NULL, "nack"); NULL 297 lib/lrmd/proxy_common.c xmlNode *op_reply = NULL; NULL 40 lib/pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 51 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 68 lib/pengine/clone.c char *child_id = NULL; NULL 69 lib/pengine/clone.c resource_t *child = NULL; NULL 70 lib/pengine/clone.c const char *child_base = NULL; NULL 71 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 87 lib/pengine/clone.c char *inc_num = NULL; NULL 88 lib/pengine/clone.c char *inc_max = NULL; NULL 89 lib/pengine/clone.c resource_t *child_rsc = NULL; NULL 90 lib/pengine/clone.c xmlNode *child_copy = NULL; NULL 91 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 95 lib/pengine/clone.c CRM_CHECK(clone_data->xml_obj_child != NULL, return FALSE); NULL 110 lib/pengine/clone.c child_rsc = NULL; NULL 142 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 156 lib/pengine/clone.c xmlNode *a_child = NULL; NULL 158 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 171 lib/pengine/clone.c clone_data->xml_obj_child = NULL; NULL 199 lib/pengine/clone.c for (a_child = __xml_first_child(xml_obj); a_child != NULL; NULL 209 lib/pengine/clone.c if (clone_data->xml_obj_child == NULL) { NULL 220 lib/pengine/clone.c if (g_hash_table_lookup(rsc->meta, XML_RSC_ATTR_STICKINESS) == NULL) { NULL 231 lib/pengine/clone.c if (create_child_clone(rsc, lpc, data_set) == NULL) { NULL 240 lib/pengine/clone.c if (create_child_clone(rsc, -1, data_set) == NULL) { NULL 254 lib/pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 275 lib/pengine/clone.c if(suffix == NULL) { NULL 303 lib/pengine/clone.c if ((target_role == NULL) && rsc->children && rsc->children->data) { NULL 342 lib/pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 365 lib/pengine/clone.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 385 lib/pengine/clone.c char *list_text = NULL; NULL 386 lib/pengine/clone.c char *child_text = NULL; NULL 387 lib/pengine/clone.c char *stopped_list = NULL; NULL 390 lib/pengine/clone.c GListPtr master_list = NULL; NULL 391 lib/pengine/clone.c GListPtr started_list = NULL; NULL 394 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 397 lib/pengine/clone.c if (pre_text == NULL) { NULL 426 lib/pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 454 lib/pengine/clone.c } else if (is_set(options, pe_print_pending) && child_rsc->pending_task != NULL) { NULL 460 lib/pengine/clone.c node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); NULL 507 lib/pengine/clone.c short_print(list_text, child_text, "Masters", NULL, options, print_data); NULL 510 lib/pengine/clone.c list_text = NULL; NULL 525 lib/pengine/clone.c short_print(list_text, child_text, "Slaves (target-role)", NULL, options, print_data); NULL 527 lib/pengine/clone.c short_print(list_text, child_text, "Slaves", NULL, options, print_data); NULL 531 lib/pengine/clone.c short_print(list_text, child_text, "Started", NULL, options, print_data); NULL 536 lib/pengine/clone.c list_text = NULL; NULL 553 lib/pengine/clone.c free(stopped_list); stopped_list = NULL; NULL 563 lib/pengine/clone.c for (nIter = list; nIter != NULL; nIter = nIter->next) { NULL 566 lib/pengine/clone.c if (pe_find_node(rsc->running_on, node->details->uname) == NULL) { NULL 573 lib/pengine/clone.c short_print(stopped_list, child_text, state, NULL, options, print_data); NULL 588 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 594 lib/pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 600 lib/pengine/clone.c child_rsc->xml = NULL; NULL 603 lib/pengine/clone.c child_rsc->orig_xml = NULL; NULL 610 lib/pengine/clone.c CRM_ASSERT(clone_data->demote_notify == NULL); NULL 611 lib/pengine/clone.c CRM_ASSERT(clone_data->stop_notify == NULL); NULL 612 lib/pengine/clone.c CRM_ASSERT(clone_data->start_notify == NULL); NULL 613 lib/pengine/clone.c CRM_ASSERT(clone_data->promote_notify == NULL); NULL 625 lib/pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 89 lib/pengine/common.c "What to do when the cluster does not have quorum", NULL }, NULL 90 lib/pengine/common.c { "symmetric-cluster", "symmetric_cluster", "boolean", NULL, "true", &check_boolean, NULL 91 lib/pengine/common.c "All resources can run anywhere by default", NULL }, NULL 93 lib/pengine/common.c NULL, NULL, &check_number, NULL 94 lib/pengine/common.c "Deprecated (use resource-stickiness in rsc_defaults instead)", NULL }, NULL 95 lib/pengine/common.c { "is-managed-default", "is_managed_default", "boolean", NULL, NULL, NULL 97 lib/pengine/common.c NULL }, NULL 98 lib/pengine/common.c { "maintenance-mode", NULL, "boolean", NULL, "false", &check_boolean, NULL 99 lib/pengine/common.c "Should the cluster monitor resources and start/stop them as required", NULL }, NULL 100 lib/pengine/common.c { "start-failure-is-fatal", NULL, "boolean", NULL, "true", &check_boolean, "Always treat start failures as fatal", NULL 102 lib/pengine/common.c { "enable-startup-probes", NULL, "boolean", NULL, "true", &check_boolean, NULL 103 lib/pengine/common.c "Should the cluster check for active resources during startup", NULL }, NULL 106 lib/pengine/common.c { "stonith-enabled", "stonith_enabled", "boolean", NULL, "true", &check_boolean, NULL 107 lib/pengine/common.c "Failed nodes are STONITH'd", NULL }, NULL 109 lib/pengine/common.c "Action to send to STONITH device", NULL }, NULL 110 lib/pengine/common.c { "stonith-timeout", NULL, "time", NULL, "60s", &check_timer, NULL 111 lib/pengine/common.c "How long to wait for the STONITH action (reboot,on,off) to complete", NULL }, NULL 112 lib/pengine/common.c { XML_ATTR_HAVE_WATCHDOG, NULL, "boolean", NULL, "false", &check_boolean, NULL 114 lib/pengine/common.c { "concurrent-fencing", NULL, "boolean", NULL, "false", &check_boolean, NULL 115 lib/pengine/common.c "Allow performing fencing operations in parallel", NULL }, NULL 116 lib/pengine/common.c { "startup-fencing", "startup_fencing", "boolean", NULL, "true", &check_boolean, NULL 120 lib/pengine/common.c { "cluster-delay", "transition_idle_timeout", "time", NULL, "60s", &check_time, NULL 123 lib/pengine/common.c { "batch-limit", NULL, "integer", NULL, "0", &check_number, NULL 126 lib/pengine/common.c { "migration-limit", NULL, "integer", NULL, "-1", &check_number, NULL 128 lib/pengine/common.c { "default-action-timeout", "default_action_timeout", "time", NULL, NULL, NULL 129 lib/pengine/common.c &check_time, "Deprecated (use 'timeout' in op_defaults instead)", NULL }, NULL 132 lib/pengine/common.c { "stop-all-resources", NULL, "boolean", NULL, "false", &check_boolean, NULL 133 lib/pengine/common.c "Should the cluster stop all active resources (except those needed for fencing)", NULL }, NULL 134 lib/pengine/common.c { "stop-orphan-resources", "stop_orphan_resources", "boolean", NULL, "true", &check_boolean, NULL 135 lib/pengine/common.c "Should deleted resources be stopped", NULL }, NULL 136 lib/pengine/common.c { "stop-orphan-actions", "stop_orphan_actions", "boolean", NULL, "true", &check_boolean, NULL 137 lib/pengine/common.c "Should deleted actions be cancelled", NULL }, NULL 138 lib/pengine/common.c { "remove-after-stop", "remove_after_stop", "boolean", NULL, "false", &check_boolean, NULL 144 lib/pengine/common.c { "pe-error-series-max", NULL, "integer", NULL, "-1", &check_number, NULL 146 lib/pengine/common.c { "pe-warn-series-max", NULL, "integer", NULL, "5000", &check_number, NULL 148 lib/pengine/common.c { "pe-input-series-max", NULL, "integer", NULL, "4000", &check_number, NULL 152 lib/pengine/common.c { "node-health-strategy", NULL, "enum", "none, migrate-on-red, only-green, progressive, custom", "none", &check_health, NULL 155 lib/pengine/common.c { "node-health-base", NULL, "integer", NULL, "0", &check_number, NULL 158 lib/pengine/common.c { "node-health-green", NULL, "integer", NULL, "0", &check_number, NULL 161 lib/pengine/common.c { "node-health-yellow", NULL, "integer", NULL, "0", &check_number, NULL 164 lib/pengine/common.c { "node-health-red", NULL, "integer", NULL, "-INFINITY", &check_number, NULL 169 lib/pengine/common.c { "placement-strategy", NULL, "enum", "default, utilization, minimal, balanced", "default", &check_placement_strategy, NULL 170 lib/pengine/common.c "The strategy to determine resource placement", NULL}, NULL 369 lib/pengine/common.c CRM_ASSERT(role != NULL); NULL 425 lib/pengine/common.c CRM_CHECK(hash != NULL, return); NULL 428 lib/pengine/common.c if (name == NULL || value == NULL) { NULL 434 lib/pengine/common.c } else if (g_hash_table_lookup(hash, name) == NULL) { NULL 444 lib/pengine/common.c if(node == NULL) { NULL 445 lib/pengine/common.c return NULL; NULL 447 lib/pengine/common.c } else if(rsc == NULL) { NULL 452 lib/pengine/common.c if(source == NULL || safe_str_eq("host", source) == FALSE) { NULL 474 lib/pengine/common.c return NULL; NULL 480 lib/pengine/common.c if(node == NULL) { NULL 481 lib/pengine/common.c return NULL; NULL 134 lib/pengine/complex.c GHashTable *node_hash = NULL; NULL 142 lib/pengine/complex.c xmlAttrPtr xIter = NULL; NULL 153 lib/pengine/complex.c meta_hash, NULL, FALSE, data_set->now); NULL 155 lib/pengine/complex.c if(version == NULL || compare_version(version, "3.0.9") < 0) { NULL 160 lib/pengine/complex.c meta_hash, NULL, FALSE, data_set->now); NULL 164 lib/pengine/complex.c if (rsc->parent != NULL) { NULL 170 lib/pengine/complex.c node_hash, meta_hash, NULL, FALSE, data_set->now); NULL 177 lib/pengine/complex.c GHashTable *node_hash = NULL; NULL 184 lib/pengine/complex.c meta_hash, NULL, FALSE, data_set->now); NULL 187 lib/pengine/complex.c if (rsc->parent != NULL) { NULL 193 lib/pengine/complex.c node_hash, meta_hash, NULL, FALSE, data_set->now); NULL 202 lib/pengine/complex.c GHashTable *node_hash = NULL; NULL 212 lib/pengine/complex.c if (rsc->parent != NULL) { NULL 228 lib/pengine/complex.c char *key = NULL; NULL 230 lib/pengine/complex.c if (role == NULL || crm_str_eq(role, RSC_ROLE_STARTED_S, TRUE) NULL 242 lib/pengine/complex.c xmlNode *cib_resources = NULL; NULL 243 lib/pengine/complex.c xmlNode *template = NULL; NULL 244 lib/pengine/complex.c xmlNode *new_xml = NULL; NULL 245 lib/pengine/complex.c xmlNode *child_xml = NULL; NULL 246 lib/pengine/complex.c xmlNode *rsc_ops = NULL; NULL 247 lib/pengine/complex.c xmlNode *template_ops = NULL; NULL 248 lib/pengine/complex.c const char *template_ref = NULL; NULL 249 lib/pengine/complex.c const char *clone = NULL; NULL 250 lib/pengine/complex.c const char *id = NULL; NULL 252 lib/pengine/complex.c if (xml_obj == NULL) { NULL 258 lib/pengine/complex.c if (template_ref == NULL) { NULL 263 lib/pengine/complex.c if (id == NULL) { NULL 274 lib/pengine/complex.c if (cib_resources == NULL) { NULL 280 lib/pengine/complex.c if (template == NULL) { NULL 296 lib/pengine/complex.c for (child_xml = __xml_first_child(xml_obj); child_xml != NULL; NULL 298 lib/pengine/complex.c xmlNode *new_child = NULL; NULL 308 lib/pengine/complex.c xmlNode *op = NULL; NULL 310 lib/pengine/complex.c g_hash_table_new_full(crm_str_hash, g_str_equal, g_hash_destroy_str, NULL); NULL 312 lib/pengine/complex.c for (op = __xml_first_child(rsc_ops); op != NULL; op = __xml_next_element(op)) { NULL 318 lib/pengine/complex.c for (op = __xml_first_child(template_ops); op != NULL; op = __xml_next_element(op)) { NULL 321 lib/pengine/complex.c if (g_hash_table_lookup(rsc_ops_hash, key) == NULL) { NULL 352 lib/pengine/complex.c const char *template_ref = NULL; NULL 353 lib/pengine/complex.c const char *id = NULL; NULL 355 lib/pengine/complex.c if (xml_obj == NULL) { NULL 361 lib/pengine/complex.c if (template_ref == NULL) { NULL 366 lib/pengine/complex.c if (id == NULL) { NULL 388 lib/pengine/complex.c const char *wrapper = NULL; NULL 395 lib/pengine/complex.c if (top->isolation_wrapper == NULL && (value == NULL || crm_is_true(value))) { NULL 404 lib/pengine/complex.c if (wrapper == NULL) { NULL 438 lib/pengine/complex.c while (g_hash_table_iter_next(&iter, (gpointer *) &key, NULL)) { NULL 469 lib/pengine/complex.c xmlNode *expanded_xml = NULL; NULL 470 lib/pengine/complex.c xmlNode *ops = NULL; NULL 471 lib/pengine/complex.c resource_t *top = NULL; NULL 472 lib/pengine/complex.c const char *value = NULL; NULL 473 lib/pengine/complex.c const char *rclass = NULL; /* Look for this after any templates have been expanded */ NULL 481 lib/pengine/complex.c if (id == NULL) { NULL 485 lib/pengine/complex.c } else if (rsc == NULL) { NULL 505 lib/pengine/complex.c (*rsc)->orig_xml = NULL; NULL 525 lib/pengine/complex.c (*rsc)->versioned_parameters = create_xml_node(NULL, XML_TAG_RSC_VER_ATTRS); NULL 531 lib/pengine/complex.c g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, g_hash_destroy_str); NULL 533 lib/pengine/complex.c (*rsc)->known_on = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, g_hash_destroy_str); NULL 547 lib/pengine/complex.c get_meta_attributes((*rsc)->meta, *rsc, NULL, data_set); NULL 548 lib/pengine/complex.c get_rsc_attributes((*rsc)->parameters, *rsc, NULL, data_set); NULL 550 lib/pengine/complex.c pe_get_versioned_attributes((*rsc)->versioned_parameters, *rsc, NULL, data_set); NULL 561 lib/pengine/complex.c (*rsc)->rsc_cons = NULL; NULL 562 lib/pengine/complex.c (*rsc)->rsc_tickets = NULL; NULL 563 lib/pengine/complex.c (*rsc)->actions = NULL; NULL 598 lib/pengine/complex.c } else if ((value == NULL) && baremetal_remote_node && !has_versioned_params) { NULL 610 lib/pengine/complex.c if (value != NULL && safe_str_neq("default", value)) { NULL 622 lib/pengine/complex.c if (value != NULL && safe_str_neq("default", value)) { NULL 671 lib/pengine/complex.c if (value != NULL && safe_str_neq("default", value)) { NULL 676 lib/pengine/complex.c if (value != NULL && safe_str_neq("default", value)) { NULL 679 lib/pengine/complex.c } else if (value == NULL) { NULL 683 lib/pengine/complex.c const char *legacy = NULL; NULL 687 lib/pengine/complex.c if (legacy == NULL) { NULL 701 lib/pengine/complex.c if (legacy == NULL) { NULL 706 lib/pengine/complex.c if (value == NULL) { NULL 804 lib/pengine/complex.c if (value != NULL) { NULL 831 lib/pengine/complex.c resource_location(*rsc, NULL, 0, "symmetric_default", data_set); NULL 836 lib/pengine/complex.c resource_location(*rsc, NULL, 0, "remote_connection_default", data_set); NULL 844 lib/pengine/complex.c unpack_instance_attributes(data_set->input, (*rsc)->xml, XML_TAG_UTILIZATION, NULL, NULL 845 lib/pengine/complex.c (*rsc)->utilization, NULL, FALSE, data_set->now); NULL 860 lib/pengine/complex.c node_t *node = NULL; NULL 863 lib/pengine/complex.c if (node != NULL) { NULL 871 lib/pengine/complex.c for (; gIter != NULL; gIter = gIter->next) { NULL 884 lib/pengine/complex.c if (parent == NULL || rsc == NULL) { NULL 887 lib/pengine/complex.c while (parent->parent != NULL) { NULL 901 lib/pengine/complex.c if (parent == NULL) { NULL 902 lib/pengine/complex.c return NULL; NULL 904 lib/pengine/complex.c while (parent->parent != NULL && parent->parent->variant != pe_container) { NULL 913 lib/pengine/complex.c if (rsc == NULL) { NULL 924 lib/pengine/complex.c if (rsc->parameters != NULL) { NULL 928 lib/pengine/complex.c if (rsc->versioned_parameters != NULL) { NULL 932 lib/pengine/complex.c if (rsc->meta != NULL) { NULL 935 lib/pengine/complex.c if (rsc->utilization != NULL) { NULL 939 lib/pengine/complex.c if (rsc->parent == NULL && is_set(rsc->flags, pe_rsc_orphan)) { NULL 941 lib/pengine/complex.c rsc->xml = NULL; NULL 943 lib/pengine/complex.c rsc->orig_xml = NULL; NULL 948 lib/pengine/complex.c rsc->xml = NULL; NULL 952 lib/pengine/complex.c rsc->running_on = NULL; NULL 956 lib/pengine/complex.c rsc->known_on = NULL; NULL 960 lib/pengine/complex.c rsc->actions = NULL; NULL 964 lib/pengine/complex.c rsc->allowed_nodes = NULL; NULL 45 lib/pengine/container.c return NULL; NULL 48 lib/pengine/container.c return NULL; NULL 64 lib/pengine/container.c if(data->ip_range_start == NULL) { NULL 95 lib/pengine/container.c xmlNode *rsc = create_xml_node(NULL, XML_CIB_TAG_RESOURCE); NULL 140 lib/pengine/container.c char *id = NULL; NULL 141 lib/pengine/container.c xmlNode *xml_ip = NULL; NULL 142 lib/pengine/container.c xmlNode *xml_obj = NULL; NULL 152 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, "ip", tuple->ipaddr); NULL 154 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, "nic", data->host_network); NULL 158 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, NULL 162 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, "cidr_netmask", "32"); NULL 166 lib/pengine/container.c crm_create_op_xml(xml_obj, ID(xml_ip), "monitor", "60s", NULL); NULL 191 lib/pengine/container.c char *id = NULL; NULL 192 lib/pengine/container.c xmlNode *xml_docker = NULL; NULL 193 lib/pengine/container.c xmlNode *xml_obj = NULL; NULL 203 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, "image", data->image); NULL 204 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, "allow_pull", XML_BOOLEAN_TRUE); NULL 205 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, "force_kill", XML_BOOLEAN_FALSE); NULL 206 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, "reuse", XML_BOOLEAN_FALSE); NULL 215 lib/pengine/container.c if (data->ip_range_start != NULL) { NULL 233 lib/pengine/container.c for(GListPtr pIter = data->mounts; pIter != NULL; pIter = pIter->next) { NULL 255 lib/pengine/container.c for(GListPtr pIter = data->ports; pIter != NULL; pIter = pIter->next) { NULL 275 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, "run_opts", buffer); NULL 278 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, "mount_points", dbuffer); NULL 283 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, NULL 286 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, NULL 295 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", "/bin/true"); NULL 312 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, NULL 321 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", "/bin/true"); NULL 326 lib/pengine/container.c crm_create_op_xml(xml_obj, ID(xml_docker), "monitor", "60s", NULL); NULL 348 lib/pengine/container.c char *id = NULL; NULL 349 lib/pengine/container.c xmlNode *xml_docker = NULL; NULL 350 lib/pengine/container.c xmlNode *xml_obj = NULL; NULL 362 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, "image", data->image); NULL 363 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, "allow_pull", "true"); NULL 364 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, "force_kill", "false"); NULL 365 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, "reuse", "false"); NULL 372 lib/pengine/container.c if (data->ip_range_start != NULL) { NULL 390 lib/pengine/container.c for(GListPtr pIter = data->mounts; pIter != NULL; pIter = pIter->next) { NULL 418 lib/pengine/container.c for(GListPtr pIter = data->ports; pIter != NULL; pIter = pIter->next) { NULL 437 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, "run_opts", buffer); NULL 440 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, "mount_points", dbuffer); NULL 445 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, "run_cmd", data->docker_run_command); NULL 447 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, "run_cmd", SBIN_DIR"/pacemaker_remoted"); NULL 455 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", "/bin/true"); NULL 472 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, "run_cmd", NULL 481 lib/pengine/container.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", "/bin/true"); NULL 486 lib/pengine/container.c crm_create_op_xml(xml_obj, ID(xml_docker), "monitor", "60s", NULL); NULL 516 lib/pengine/container.c for (child = rsc->children; child != NULL; child = child->next) { NULL 529 lib/pengine/container.c GListPtr rsc_iter = NULL; NULL 530 lib/pengine/container.c node_t *node = NULL; NULL 531 lib/pengine/container.c xmlNode *xml_remote = NULL; NULL 533 lib/pengine/container.c char *port_s = NULL; NULL 534 lib/pengine/container.c const char *uname = NULL; NULL 535 lib/pengine/container.c const char *connect_name = NULL; NULL 550 lib/pengine/container.c if (data->control_port == NULL) { NULL 559 lib/pengine/container.c xml_remote = pe_create_remote_xml(NULL, id, tuple->docker->id, NULL 560 lib/pengine/container.c XML_BOOLEAN_FALSE, NULL, "60s", NULL, NULL 561 lib/pengine/container.c NULL, connect_name, NULL 571 lib/pengine/container.c id = NULL; NULL 579 lib/pengine/container.c if (node == NULL) { NULL 614 lib/pengine/container.c tuple->child->allowed_nodes = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, g_hash_destroy_str); NULL 628 lib/pengine/container.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&node)) { NULL 733 lib/pengine/container.c container_variant_data_t *container_data = NULL; NULL 735 lib/pengine/container.c if (top == NULL) { NULL 736 lib/pengine/container.c return NULL; NULL 739 lib/pengine/container.c while (top->parent != NULL) { NULL 744 lib/pengine/container.c for (GListPtr gIter = container_data->tuples; gIter != NULL; gIter = gIter->next) { NULL 751 lib/pengine/container.c return NULL; NULL 770 lib/pengine/container.c if(rsc == NULL) { NULL 795 lib/pengine/container.c pe_node_t *node = NULL; NULL 796 lib/pengine/container.c container_grouping_t *tuple = NULL; NULL 799 lib/pengine/container.c return NULL; NULL 803 lib/pengine/container.c if(tuple == NULL) { NULL 804 lib/pengine/container.c return NULL; NULL 808 lib/pengine/container.c if(node == NULL && tuple->docker->running_on) { NULL 815 lib/pengine/container.c if(node == NULL) { NULL 817 lib/pengine/container.c return NULL; NULL 821 lib/pengine/container.c if(xml != NULL && field != NULL) { NULL 831 lib/pengine/container.c const char *value = NULL; NULL 832 lib/pengine/container.c xmlNode *xml_obj = NULL; NULL 833 lib/pengine/container.c xmlNode *xml_resource = NULL; NULL 834 lib/pengine/container.c container_variant_data_t *container_data = NULL; NULL 836 lib/pengine/container.c CRM_ASSERT(rsc != NULL); NULL 844 lib/pengine/container.c if (xml_obj != NULL) { NULL 848 lib/pengine/container.c if (xml_obj != NULL) { NULL 864 lib/pengine/container.c if ((value == NULL) && (container_data->masters > 0)) { NULL 903 lib/pengine/container.c for (xmlNode *xml_child = __xml_first_child_element(xml_obj); xml_child != NULL; NULL 909 lib/pengine/container.c if(port->source == NULL) { NULL 915 lib/pengine/container.c if(port->source != NULL && strlen(port->source) > 0) { NULL 916 lib/pengine/container.c if(port->target == NULL) { NULL 929 lib/pengine/container.c for (xmlNode *xml_child = __xml_first_child_element(xml_obj); xml_child != NULL; NULL 937 lib/pengine/container.c if (source == NULL) { NULL 951 lib/pengine/container.c char *value = NULL; NULL 952 lib/pengine/container.c xmlNode *xml_set = NULL; NULL 955 lib/pengine/container.c xml_resource = create_xml_node(NULL, XML_CIB_TAG_MASTER); NULL 958 lib/pengine/container.c xml_resource = create_xml_node(NULL, XML_CIB_TAG_INCARNATION); NULL 966 lib/pengine/container.c crm_create_nvpair_xml(xml_set, NULL, NULL 970 lib/pengine/container.c crm_create_nvpair_xml(xml_set, NULL, NULL 975 lib/pengine/container.c crm_create_nvpair_xml(xml_set, NULL, NULL 979 lib/pengine/container.c crm_create_nvpair_xml(xml_set, NULL, XML_RSC_ATTR_UNIQUE, NULL 985 lib/pengine/container.c crm_create_nvpair_xml(xml_set, NULL, NULL 1001 lib/pengine/container.c GListPtr childIter = NULL; NULL 1002 lib/pengine/container.c resource_t *new_rsc = NULL; NULL 1003 lib/pengine/container.c container_port_t *port = NULL; NULL 1006 lib/pengine/container.c char *buffer = NULL; NULL 1010 lib/pengine/container.c if (new_rsc != NULL && new_rsc->fns != NULL) { NULL 1040 lib/pengine/container.c DEFAULT_REMOTE_KEY_LOCATION, NULL, 0); NULL 1042 lib/pengine/container.c mount_add(container_data, CRM_LOG_DIR "/bundles", "/var/log", NULL, 1); NULL 1062 lib/pengine/container.c for(childIter = container_data->child->children; childIter != NULL; childIter = childIter->next) { NULL 1098 lib/pengine/container.c for (GListPtr gIter = container_data->tuples; gIter != NULL; gIter = gIter->next) { NULL 1131 lib/pengine/container.c container_variant_data_t *container_data = NULL; NULL 1132 lib/pengine/container.c GListPtr iter = NULL; NULL 1135 lib/pengine/container.c for (iter = container_data->tuples; iter != NULL; iter = iter->next) { NULL 1170 lib/pengine/container.c container_variant_data_t *container_data = NULL; NULL 1178 lib/pengine/container.c for (GListPtr gIter = container_data->tuples; gIter != NULL; gIter = gIter->next) { NULL 1201 lib/pengine/container.c if (rsc != NULL) { NULL 1227 lib/pengine/container.c container_variant_data_t *container_data = NULL; NULL 1228 lib/pengine/container.c char *child_text = NULL; NULL 1229 lib/pengine/container.c CRM_CHECK(rsc != NULL, return); NULL 1231 lib/pengine/container.c if (pre_text == NULL) { NULL 1255 lib/pengine/container.c for (GListPtr gIter = container_data->tuples; gIter != NULL; gIter = gIter->next) { NULL 1273 lib/pengine/container.c node_t *node = NULL; NULL 1279 lib/pengine/container.c if(rsc == NULL) { NULL 1301 lib/pengine/container.c container_variant_data_t *container_data = NULL; NULL 1302 lib/pengine/container.c char *child_text = NULL; NULL 1303 lib/pengine/container.c CRM_CHECK(rsc != NULL, return); NULL 1312 lib/pengine/container.c if (pre_text == NULL) { NULL 1326 lib/pengine/container.c for (GListPtr gIter = container_data->tuples; gIter != NULL; gIter = gIter->next) { NULL 1367 lib/pengine/container.c if(tuple == NULL) { NULL 1373 lib/pengine/container.c tuple->node = NULL; NULL 1378 lib/pengine/container.c tuple->ip->xml = NULL; NULL 1380 lib/pengine/container.c tuple->ip = NULL; NULL 1384 lib/pengine/container.c tuple->docker->xml = NULL; NULL 1386 lib/pengine/container.c tuple->docker = NULL; NULL 1390 lib/pengine/container.c tuple->remote->xml = NULL; NULL 1392 lib/pengine/container.c tuple->remote = NULL; NULL 1401 lib/pengine/container.c container_variant_data_t *container_data = NULL; NULL 1402 lib/pengine/container.c CRM_CHECK(rsc != NULL, return); NULL 1425 lib/pengine/container.c container_data->child->xml = NULL; NULL 1448 lib/pengine/container.c if ((rsc == NULL) || (rsc->variant != pe_container)) { NULL 1451 lib/pengine/container.c container_variant_data_t *container_data = NULL; NULL 25 lib/pengine/failcounts.c const char *conf_op_name = NULL; NULL 27 lib/pengine/failcounts.c const char *lrm_op_task = NULL; NULL 29 lib/pengine/failcounts.c const char *lrm_op_id = NULL; NULL 30 lib/pengine/failcounts.c char *last_failure_key = NULL; NULL 32 lib/pengine/failcounts.c if (rsc_id == NULL || conf_op_xml == NULL || lrm_op_xml == NULL) { NULL 86 lib/pengine/failcounts.c if (rsc->container == NULL && is_not_set(data_set->flags, pe_flag_stonith_enabled)) { NULL 106 lib/pengine/failcounts.c const char *conf_op_name = NULL; NULL 108 lib/pengine/failcounts.c char *lrm_op_xpath = NULL; NULL 109 lib/pengine/failcounts.c xmlXPathObject *lrm_op_xpathObj = NULL; NULL 240 lib/pengine/failcounts.c char *key = NULL; NULL 241 lib/pengine/failcounts.c const char *value = NULL; NULL 252 lib/pengine/failcounts.c if (regexec(&failcount_re, key, 0, NULL, 0) == 0) { NULL 254 lib/pengine/failcounts.c } else if (regexec(&lastfailure_re, key, 0, NULL, 0) == 0) { NULL 255 lib/pengine/failcounts.c last = QB_MAX(last, crm_int_helper(value, NULL)); NULL 262 lib/pengine/failcounts.c if ((failcount > 0) && (last > 0) && (last_failure != NULL)) { NULL 289 lib/pengine/failcounts.c GListPtr gIter = NULL; NULL 291 lib/pengine/failcounts.c for (gIter = rsc->fillers; gIter != NULL; gIter = gIter->next) { NULL 34 lib/pengine/group.c xmlNode *xml_native_rsc = NULL; NULL 35 lib/pengine/group.c group_variant_data_t *group_data = NULL; NULL 38 lib/pengine/group.c const char *clone_id = NULL; NULL 44 lib/pengine/group.c group_data->first_child = NULL; NULL 45 lib/pengine/group.c group_data->last_child = NULL; NULL 51 lib/pengine/group.c if (group_ordered != NULL) { NULL 54 lib/pengine/group.c if (group_colocated != NULL) { NULL 60 lib/pengine/group.c for (xml_native_rsc = __xml_first_child(xml_obj); xml_native_rsc != NULL; NULL 63 lib/pengine/group.c resource_t *new_rsc = NULL; NULL 68 lib/pengine/group.c if (new_rsc != NULL && new_rsc->fns != NULL) { NULL 76 lib/pengine/group.c if (group_data->first_child == NULL) { NULL 107 lib/pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 135 lib/pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 148 lib/pengine/group.c char *child_text = NULL; NULL 151 lib/pengine/group.c if (pre_text == NULL) { NULL 175 lib/pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 199 lib/pengine/group.c CRM_CHECK(rsc != NULL, return); NULL 203 lib/pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 223 lib/pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 36 lib/pengine/native.c CRM_CHECK(node != NULL, return); NULL 37 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 40 lib/pengine/native.c CRM_CHECK(a_node != NULL, return); NULL 77 lib/pengine/native.c node_t *local_node = NULL; NULL 83 lib/pengine/native.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&local_node)) { NULL 102 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 119 lib/pengine/native.c if (rsc->parent != NULL) { NULL 130 lib/pengine/native.c native_variant_data_t *native_data = NULL; NULL 177 lib/pengine/native.c } else if (is_set(flags, pe_find_inactive) && (rsc->running_on == NULL)) { NULL 191 lib/pengine/native.c resource_t *result = NULL; NULL 193 lib/pengine/native.c CRM_CHECK(id && rsc && rsc->id, return NULL); NULL 230 lib/pengine/native.c for (GListPtr gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 238 lib/pengine/native.c return NULL; NULL 245 lib/pengine/native.c char *value_copy = NULL; NULL 246 lib/pengine/native.c const char *value = NULL; NULL 248 lib/pengine/native.c GHashTable *local_hash = NULL; NULL 250 lib/pengine/native.c CRM_CHECK(rsc != NULL, return NULL); NULL 251 lib/pengine/native.c CRM_CHECK(name != NULL && strlen(name) != 0, return NULL); NULL 256 lib/pengine/native.c if (node != NULL) { NULL 270 lib/pengine/native.c if (value == NULL) { NULL 275 lib/pengine/native.c if (value != NULL) { NULL 278 lib/pengine/native.c if (local_hash != NULL) { NULL 289 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 323 lib/pengine/native.c const char *pending_state = NULL; NULL 351 lib/pengine/native.c const char *pending_task = NULL; NULL 355 lib/pengine/native.c pending_task = NULL; NULL 390 lib/pengine/native.c const char *rsc_state = NULL; NULL 395 lib/pengine/native.c if (rsc_state == NULL) { NULL 407 lib/pengine/native.c const char *target_role = NULL; NULL 456 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 481 lib/pengine/native.c const char *desc = NULL; NULL 484 lib/pengine/native.c const char *target_role = NULL; NULL 493 lib/pengine/native.c CRM_ASSERT(kind != NULL); NULL 504 lib/pengine/native.c if (pre_text == NULL && (options & pe_print_printf)) { NULL 514 lib/pengine/native.c node = NULL; NULL 651 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 701 lib/pengine/native.c node_t *n = NULL; NULL 709 lib/pengine/native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&n)) { NULL 716 lib/pengine/native.c node_t *n = NULL; NULL 720 lib/pengine/native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&n)) { NULL 729 lib/pengine/native.c node_t *node = NULL; NULL 737 lib/pengine/native.c if (rsc->running_on != NULL) { NULL 765 lib/pengine/native.c node_t *one = NULL; NULL 766 lib/pengine/native.c GListPtr result = NULL; NULL 771 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 781 lib/pengine/native.c result = g_list_append(NULL, rsc->allocated_to); NULL 791 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 794 lib/pengine/native.c if (*list == NULL || pe_find_node_id(*list, node->details->id) == NULL) { NULL 809 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 818 lib/pengine/native.c int *rsc_counter = NULL; NULL 819 lib/pengine/native.c int *active_counter = NULL; NULL 835 lib/pengine/native.c if (rsc_counter == NULL) { NULL 846 lib/pengine/native.c for (; gIter2 != NULL; gIter2 = gIter2->next) { NULL 848 lib/pengine/native.c GHashTable *node_table = NULL; NULL 855 lib/pengine/native.c if (node_table == NULL) { NULL 861 lib/pengine/native.c if (active_counter == NULL) { NULL 890 lib/pengine/native.c char *type = NULL; NULL 891 lib/pengine/native.c int *rsc_counter = NULL; NULL 898 lib/pengine/native.c char *node_name = NULL; NULL 899 lib/pengine/native.c GHashTable *node_table = NULL; NULL 906 lib/pengine/native.c if (active_counter == NULL || *active_counter == 0) { NULL 914 lib/pengine/native.c node_name = NULL; NULL 954 lib/pengine/native.c rsc_table = NULL; NULL 958 lib/pengine/native.c active_table = NULL; NULL 29 lib/pengine/remote.c if (rsc == NULL) { NULL 36 lib/pengine/remote.c if (node == NULL) { NULL 46 lib/pengine/remote.c if (is_remote_node(node) && (node->details->remote_rsc == NULL || node->details->remote_rsc->container == FALSE)) { NULL 74 lib/pengine/remote.c return NULL; NULL 78 lib/pengine/remote.c GListPtr gIter = NULL; NULL 79 lib/pengine/remote.c for (gIter = rsc->fillers; gIter != NULL; gIter = gIter->next) { NULL 87 lib/pengine/remote.c return NULL; NULL 123 lib/pengine/remote.c for (iter = host->details->running_rsc; iter != NULL; iter = iter->next) { NULL 126 lib/pengine/remote.c if (rsc->is_remote_node && (rsc->container != NULL)) { NULL 178 lib/pengine/remote.c crm_create_nvpair_xml(xml_sub, NULL, NULL 181 lib/pengine/remote.c crm_create_nvpair_xml(xml_sub, NULL, NULL 185 lib/pengine/remote.c crm_create_nvpair_xml(xml_sub, NULL, NULL 189 lib/pengine/remote.c crm_create_nvpair_xml(xml_sub, NULL, XML_RSC_ATTR_MANAGED, is_managed); NULL 197 lib/pengine/remote.c crm_create_nvpair_xml(xml_sub, NULL, "addr", server); NULL 200 lib/pengine/remote.c crm_create_nvpair_xml(xml_sub, NULL, "port", port); NULL 47 lib/pengine/rules.c xmlNode *rule = NULL; NULL 49 lib/pengine/rules.c for (rule = __xml_first_child(ruleset); rule != NULL; rule = __xml_next_element(rule)) { NULL 64 lib/pengine/rules.c return pe_test_rule_full(rule, node_hash, role, now, NULL); NULL 72 lib/pengine/rules.c .params = NULL, NULL 73 lib/pengine/rules.c .meta = NULL, NULL 81 lib/pengine/rules.c xmlNode *expr = NULL; NULL 86 lib/pengine/rules.c const char *value = NULL; NULL 88 lib/pengine/rules.c rule = expand_idref(rule, NULL); NULL 96 lib/pengine/rules.c for (expr = __xml_first_child(rule); expr != NULL; expr = __xml_next_element(expr)) { NULL 121 lib/pengine/rules.c return pe_test_expression_full(expr, node_hash, role, now, NULL); NULL 129 lib/pengine/rules.c .params = NULL, NULL 130 lib/pengine/rules.c .meta = NULL, NULL 139 lib/pengine/rules.c const char *uname = NULL; NULL 150 lib/pengine/rules.c if (node_hash != NULL) { NULL 167 lib/pengine/rules.c NULL, NULL)) { NULL 192 lib/pengine/rules.c const char *tag = NULL; NULL 193 lib/pengine/rules.c const char *attr = NULL; NULL 228 lib/pengine/rules.c const char *op = NULL; NULL 229 lib/pengine/rules.c const char *value = NULL; NULL 268 lib/pengine/rules.c return pe_test_attr_expression_full(expr, hash, now, NULL); NULL 277 lib/pengine/rules.c const char *h_val = NULL; NULL 278 lib/pengine/rules.c GHashTable *table = NULL; NULL 280 lib/pengine/rules.c const char *op = NULL; NULL 281 lib/pengine/rules.c const char *type = NULL; NULL 282 lib/pengine/rules.c const char *attr = NULL; NULL 283 lib/pengine/rules.c const char *value = NULL; NULL 284 lib/pengine/rules.c const char *value_source = NULL; NULL 292 lib/pengine/rules.c if (attr == NULL || op == NULL) { NULL 317 lib/pengine/rules.c const char *param_value = NULL; NULL 326 lib/pengine/rules.c if (hash != NULL) { NULL 332 lib/pengine/rules.c attr = NULL; NULL 335 lib/pengine/rules.c if (value != NULL && h_val != NULL) { NULL 336 lib/pengine/rules.c if (type == NULL) { NULL 353 lib/pengine/rules.c int h_val_f = crm_parse_int(h_val, NULL); NULL 354 lib/pengine/rules.c int value_f = crm_parse_int(value, NULL); NULL 369 lib/pengine/rules.c } else if (value == NULL && h_val == NULL) { NULL 371 lib/pengine/rules.c } else if (value == NULL) { NULL 378 lib/pengine/rules.c if (h_val != NULL) { NULL 383 lib/pengine/rules.c if (h_val == NULL) { NULL 393 lib/pengine/rules.c if ((h_val == NULL && value != NULL) NULL 394 lib/pengine/rules.c || (h_val != NULL && value == NULL) NULL 399 lib/pengine/rules.c } else if (value == NULL || h_val == NULL) { NULL 465 lib/pengine/rules.c const char *temp = NULL; NULL 467 lib/pengine/rules.c CRM_ASSERT(name != NULL && value != NULL); NULL 468 lib/pengine/rules.c *name = NULL; NULL 469 lib/pengine/rules.c *value = NULL; NULL 472 lib/pengine/rules.c if (srcstring != NULL) { NULL 477 lib/pengine/rules.c if (*name == NULL) { NULL 489 lib/pengine/rules.c *value = NULL; NULL 493 lib/pengine/rules.c if (*value == NULL) { NULL 506 lib/pengine/rules.c if (*name != NULL) { NULL 508 lib/pengine/rules.c *name = NULL; NULL 510 lib/pengine/rules.c *name = NULL; NULL 511 lib/pengine/rules.c *value = NULL; NULL 518 lib/pengine/rules.c if(value != NULL) { \ NULL 521 lib/pengine/rules.c if(value_low == NULL) { \ NULL 547 lib/pengine/rules.c const char *value = NULL; NULL 548 lib/pengine/rules.c char *value_low = NULL; NULL 549 lib/pengine/rules.c char *value_high = NULL; NULL 556 lib/pengine/rules.c CRM_CHECK(now != NULL, return FALSE); NULL 587 lib/pengine/rules.c if(value != NULL) { \ NULL 595 lib/pengine/rules.c crm_time_t *end = NULL; NULL 596 lib/pengine/rules.c const char *value = NULL; NULL 598 lib/pengine/rules.c end = crm_time_new(NULL); NULL 615 lib/pengine/rules.c crm_time_t *start = NULL; NULL 616 lib/pengine/rules.c crm_time_t *end = NULL; NULL 617 lib/pengine/rules.c const char *value = NULL; NULL 620 lib/pengine/rules.c xmlNode *duration_spec = NULL; NULL 621 lib/pengine/rules.c xmlNode *date_spec = NULL; NULL 631 lib/pengine/rules.c if (value != NULL) { NULL 635 lib/pengine/rules.c if (value != NULL) { NULL 639 lib/pengine/rules.c if (start != NULL && end == NULL && duration_spec != NULL) { NULL 642 lib/pengine/rules.c if (op == NULL) { NULL 647 lib/pengine/rules.c if (start != NULL && crm_time_compare(start, now) > 0) { NULL 649 lib/pengine/rules.c } else if (end != NULL && crm_time_compare(end, now) < 0) { NULL 688 lib/pengine/rules.c if (a == NULL && b == NULL) { NULL 690 lib/pengine/rules.c } else if (a == NULL) { NULL 692 lib/pengine/rules.c } else if (b == NULL) { NULL 714 lib/pengine/rules.c const char *name = NULL; NULL 715 lib/pengine/rules.c const char *value = NULL; NULL 716 lib/pengine/rules.c const char *old_value = NULL; NULL 718 lib/pengine/rules.c xmlNode *an_attr = NULL; NULL 725 lib/pengine/rules.c for (an_attr = __xml_first_child(list); an_attr != NULL; an_attr = __xml_next_element(an_attr)) { NULL 730 lib/pengine/rules.c if (name == NULL) { NULL 736 lib/pengine/rules.c if (value == NULL) { NULL 740 lib/pengine/rules.c if (name == NULL || value == NULL) { NULL 754 lib/pengine/rules.c } else if (old_value == NULL) { NULL 769 lib/pengine/rules.c xmlNode * rule = NULL; NULL 770 lib/pengine/rules.c xmlNode * expr = NULL; NULL 772 lib/pengine/rules.c for (rule = __xml_first_child(attr_set); rule != NULL; rule = __xml_next_element(rule)) { NULL 774 lib/pengine/rules.c for (expr = __xml_first_child(rule); expr != NULL; expr = __xml_next_element(expr)) { NULL 782 lib/pengine/rules.c return NULL; NULL 788 lib/pengine/rules.c xmlNode *attr_set_copy = NULL; NULL 789 lib/pengine/rules.c xmlNode *rule = NULL; NULL 790 lib/pengine/rules.c xmlNode *expr = NULL; NULL 805 lib/pengine/rules.c while (expr != NULL) { NULL 816 lib/pengine/rules.c add_node_nocopy(versioned_attrs, NULL, attr_set_copy); NULL 841 lib/pengine/rules.c CRM_ATTR_RA_VERSION, NULL, NULL))) { NULL 871 lib/pengine/rules.c GListPtr unsorted = NULL; NULL 872 lib/pengine/rules.c const char *score = NULL; NULL 873 lib/pengine/rules.c sorted_set_t *pair = NULL; NULL 874 lib/pengine/rules.c xmlNode *attr_set = NULL; NULL 876 lib/pengine/rules.c if (xml_obj == NULL) { NULL 878 lib/pengine/rules.c return NULL; NULL 882 lib/pengine/rules.c for (attr_set = __xml_first_child(xml_obj); attr_set != NULL; attr_set = __xml_next_element(attr_set)) { NULL 884 lib/pengine/rules.c if (set_name == NULL || crm_str_eq((const char *)attr_set->name, set_name, TRUE)) { NULL 885 lib/pengine/rules.c pair = NULL; NULL 887 lib/pengine/rules.c if (attr_set == NULL) { NULL 903 lib/pengine/rules.c if (pair != NULL) { NULL 915 lib/pengine/rules.c return NULL; NULL 940 lib/pengine/rules.c NULL, FALSE, now, &data); NULL 955 lib/pengine/rules.c char *p_dst, *result = NULL; NULL 958 lib/pengine/rules.c return NULL; NULL 979 lib/pengine/rules.c return NULL; NULL 1019 lib/pengine/rules.c unpack_instance_attributes(NULL, versioned_params, crm_element_name(attr_set), NULL 1020 lib/pengine/rules.c node_hash, hash, NULL, FALSE, NULL); NULL 19 lib/pengine/rules_alerts.c static char *notify_script = NULL; NULL 20 lib/pengine/rules_alerts.c static char *notify_target = NULL; NULL 29 lib/pengine/rules_alerts.c strdup(script) : NULL; NULL 32 lib/pengine/rules_alerts.c notify_target = target? strdup(target): NULL; NULL 50 lib/pengine/rules_alerts.c crm_time_t *now = crm_time_new(NULL); NULL 51 lib/pengine/rules_alerts.c const char *value = NULL; NULL 53 lib/pengine/rules_alerts.c unpack_instance_attributes(basenode, basenode, XML_TAG_META_SETS, NULL, NULL 54 lib/pengine/rules_alerts.c config_hash, NULL, FALSE, now); NULL 95 lib/pengine/rules_alerts.c if ((basenode == NULL) || (entry == NULL)) { NULL 100 lib/pengine/rules_alerts.c if (child == NULL) { NULL 104 lib/pengine/rules_alerts.c if (entry->envvars == NULL) { NULL 108 lib/pengine/rules_alerts.c for (child = first_named_child(child, XML_CIB_TAG_NVPAIR); child != NULL; NULL 114 lib/pengine/rules_alerts.c if (value == NULL) { NULL 127 lib/pengine/rules_alerts.c xmlNode *event_type = NULL; NULL 130 lib/pengine/rules_alerts.c for (event_type = __xml_first_child(select); event_type != NULL; NULL 135 lib/pengine/rules_alerts.c if (tagname == NULL) { NULL 154 lib/pengine/rules_alerts.c attr != NULL; NULL 161 lib/pengine/rules_alerts.c entry->select_attribute_name = NULL; NULL 167 lib/pengine/rules_alerts.c entry->select_attribute_name[nattrs] = NULL; NULL 210 lib/pengine/rules_alerts.c GListPtr alert_list = NULL; NULL 232 lib/pengine/rules_alerts.c alert != NULL; alert = crm_next_same_xml(alert)) { NULL 240 lib/pengine/rules_alerts.c if ((alert_id == NULL) || (alert_path == NULL)) { NULL 249 lib/pengine/rules_alerts.c if (entry->tstamp_format == NULL) { NULL 258 lib/pengine/rules_alerts.c recipient != NULL; recipient = crm_next_same_xml(recipient)) { NULL 35 lib/pengine/status.c crm_mem_stats(NULL); \ NULL 64 lib/pengine/status.c data_set->failed = create_xml_node(NULL, "failed-ops"); NULL 66 lib/pengine/status.c if (data_set->input == NULL) { NULL 70 lib/pengine/status.c if (data_set->now == NULL) { NULL 71 lib/pengine/status.c data_set->now = crm_time_new(NULL); NULL 74 lib/pengine/status.c if (data_set->dc_uuid == NULL) { NULL 115 lib/pengine/status.c resource_t *rsc = NULL; NULL 118 lib/pengine/status.c while (iterator != NULL) { NULL 123 lib/pengine/status.c if (resources != NULL) { NULL 133 lib/pengine/status.c while (iterator != NULL) { NULL 137 lib/pengine/status.c if (actions != NULL) { NULL 147 lib/pengine/status.c while (iterator != NULL) { NULL 156 lib/pengine/status.c if (details != NULL) { NULL 158 lib/pengine/status.c if (details->attrs != NULL) { NULL 161 lib/pengine/status.c if (details->utilization != NULL) { NULL 164 lib/pengine/status.c if (details->digest_cache != NULL) { NULL 173 lib/pengine/status.c if (nodes != NULL) { NULL 181 lib/pengine/status.c pe_dataset = NULL; NULL 182 lib/pengine/status.c if (data_set == NULL) { NULL 187 lib/pengine/status.c if (data_set->config_hash != NULL) { NULL 191 lib/pengine/status.c if (data_set->singletons != NULL) { NULL 225 lib/pengine/status.c CRM_CHECK(data_set->ordering_constraints == NULL,; NULL 227 lib/pengine/status.c CRM_CHECK(data_set->placement_constraints == NULL,; NULL 257 lib/pengine/status.c GListPtr rIter = NULL; NULL 263 lib/pengine/status.c parent->fns->find_rsc(parent, id, NULL, flags); NULL 264 lib/pengine/status.c if (match != NULL) { NULL 269 lib/pengine/status.c return NULL; NULL 289 lib/pengine/status.c for (; gIter != NULL; gIter = gIter->next) { NULL 297 lib/pengine/status.c return NULL; NULL 305 lib/pengine/status.c for (; gIter != NULL; gIter = gIter->next) { NULL 313 lib/pengine/status.c return NULL; NULL 60 lib/pengine/unpack.c node->details->remote_rsc->container == NULL && NULL 127 lib/pengine/unpack.c pe_fence_op(node, NULL, TRUE, reason, data_set); NULL 141 lib/pengine/unpack.c pe_fence_op(node, NULL, TRUE, reason, data_set); NULL 164 lib/pengine/unpack.c xmlXPathObjectPtr result = NULL; NULL 178 lib/pengine/unpack.c const char *value = NULL; NULL 183 lib/pengine/unpack.c unpack_instance_attributes(data_set->input, config, XML_CIB_TAG_PROPSET, NULL, config_hash, NULL 359 lib/pengine/unpack.c node_t *new_node = NULL; NULL 361 lib/pengine/unpack.c if (pe_find_node(data_set->nodes, uname) != NULL) { NULL 367 lib/pengine/unpack.c if (new_node == NULL) { NULL 368 lib/pengine/unpack.c return NULL; NULL 375 lib/pengine/unpack.c if (new_node->details == NULL) { NULL 377 lib/pengine/unpack.c return NULL; NULL 386 lib/pengine/unpack.c new_node->details->running_rsc = NULL; NULL 392 lib/pengine/unpack.c } else if (type == NULL || safe_str_eq(type, "member") NULL 424 lib/pengine/unpack.c if (data->name_check == NULL) { NULL 426 lib/pengine/unpack.c for (xml_rsc = __xml_first_child(parent); xml_rsc != NULL; xml_rsc = __xml_next_element(xml_rsc)) { NULL 439 lib/pengine/unpack.c return NULL; NULL 449 lib/pengine/unpack.c xmlNode *attr_set = NULL; NULL 450 lib/pengine/unpack.c xmlNode *attr = NULL; NULL 453 lib/pengine/unpack.c const char *remote_name = NULL; NULL 454 lib/pengine/unpack.c const char *remote_server = NULL; NULL 455 lib/pengine/unpack.c const char *remote_port = NULL; NULL 457 lib/pengine/unpack.c const char *remote_allow_migrate=NULL; NULL 458 lib/pengine/unpack.c const char *container_managed = NULL; NULL 460 lib/pengine/unpack.c for (attr_set = __xml_first_child(xml_obj); attr_set != NULL; attr_set = __xml_next_element(attr_set)) { NULL 465 lib/pengine/unpack.c for (attr = __xml_first_child(attr_set); attr != NULL; attr = __xml_next_element(attr)) { NULL 485 lib/pengine/unpack.c if (remote_name == NULL) { NULL 486 lib/pengine/unpack.c return NULL; NULL 490 lib/pengine/unpack.c return NULL; NULL 502 lib/pengine/unpack.c if ((new_node->details->type == node_remote) && (new_node->details->remote_rsc == NULL)) { NULL 527 lib/pengine/unpack.c xmlNode *xml_obj = NULL; NULL 528 lib/pengine/unpack.c node_t *new_node = NULL; NULL 529 lib/pengine/unpack.c const char *id = NULL; NULL 530 lib/pengine/unpack.c const char *uname = NULL; NULL 531 lib/pengine/unpack.c const char *type = NULL; NULL 532 lib/pengine/unpack.c const char *score = NULL; NULL 534 lib/pengine/unpack.c for (xml_obj = __xml_first_child(xml_nodes); xml_obj != NULL; xml_obj = __xml_next_element(xml_obj)) { NULL 536 lib/pengine/unpack.c new_node = NULL; NULL 544 lib/pengine/unpack.c if (id == NULL) { NULL 550 lib/pengine/unpack.c if (new_node == NULL) { NULL 563 lib/pengine/unpack.c unpack_instance_attributes(data_set->input, xml_obj, XML_TAG_UTILIZATION, NULL, NULL 564 lib/pengine/unpack.c new_node->details->utilization, NULL, FALSE, data_set->now); NULL 570 lib/pengine/unpack.c if (data_set->localhost && pe_find_node(data_set->nodes, data_set->localhost) == NULL) { NULL 572 lib/pengine/unpack.c pe_create_node(data_set->localhost, data_set->localhost, NULL, 0, NULL 582 lib/pengine/unpack.c const char *container_id = NULL; NULL 587 lib/pengine/unpack.c for (; gIter != NULL; gIter = gIter->next) { NULL 613 lib/pengine/unpack.c xmlNode *xml_obj = NULL; NULL 616 lib/pengine/unpack.c for (xml_obj = __xml_first_child(xml_resources); xml_obj != NULL; xml_obj = __xml_next_element(xml_obj)) { NULL 617 lib/pengine/unpack.c const char *new_node_id = NULL; NULL 625 lib/pengine/unpack.c if (new_node_id && pe_find_node(data_set->nodes, new_node_id) == NULL) { NULL 627 lib/pengine/unpack.c pe_create_node(new_node_id, new_node_id, "remote", NULL, NULL 645 lib/pengine/unpack.c if (new_node_id && pe_find_node(data_set->nodes, new_node_id) == NULL) { NULL 647 lib/pengine/unpack.c pe_create_node(new_node_id, new_node_id, "remote", NULL, NULL 653 lib/pengine/unpack.c xmlNode *xml_obj2 = NULL; NULL 655 lib/pengine/unpack.c for (xml_obj2 = __xml_first_child(xml_obj); xml_obj2 != NULL; xml_obj2 = __xml_next_element(xml_obj2)) { NULL 659 lib/pengine/unpack.c if (new_node_id && pe_find_node(data_set->nodes, new_node_id) == NULL) { NULL 661 lib/pengine/unpack.c pe_create_node(new_node_id, new_node_id, "remote", NULL, NULL 682 lib/pengine/unpack.c node_t *remote_node = NULL; NULL 696 lib/pengine/unpack.c CRM_CHECK(remote_node != NULL, return;); NULL 702 lib/pengine/unpack.c if (new_rsc->container == NULL) { NULL 739 lib/pengine/unpack.c xmlNode *xml_obj = NULL; NULL 740 lib/pengine/unpack.c GListPtr gIter = NULL; NULL 746 lib/pengine/unpack.c for (xml_obj = __xml_first_child(xml_resources); xml_obj != NULL; xml_obj = __xml_next_element(xml_obj)) { NULL 747 lib/pengine/unpack.c resource_t *new_rsc = NULL; NULL 753 lib/pengine/unpack.c template_id, NULL, NULL) == FALSE) { NULL 755 lib/pengine/unpack.c g_hash_table_insert(data_set->template_rsc_sets, strdup(template_id), NULL); NULL 761 lib/pengine/unpack.c if (common_unpack(xml_obj, &new_rsc, NULL, data_set)) { NULL 768 lib/pengine/unpack.c if (new_rsc != NULL && new_rsc->fns != NULL) { NULL 774 lib/pengine/unpack.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 799 lib/pengine/unpack.c xmlNode *xml_tag = NULL; NULL 804 lib/pengine/unpack.c for (xml_tag = __xml_first_child(xml_tags); xml_tag != NULL; xml_tag = __xml_next_element(xml_tag)) { NULL 805 lib/pengine/unpack.c xmlNode *xml_obj_ref = NULL; NULL 812 lib/pengine/unpack.c if (tag_id == NULL) { NULL 818 lib/pengine/unpack.c for (xml_obj_ref = __xml_first_child(xml_tag); xml_obj_ref != NULL; xml_obj_ref = __xml_next_element(xml_obj_ref)) { NULL 825 lib/pengine/unpack.c if (obj_ref == NULL) { NULL 845 lib/pengine/unpack.c const char *ticket_id = NULL; NULL 846 lib/pengine/unpack.c const char *granted = NULL; NULL 847 lib/pengine/unpack.c const char *last_granted = NULL; NULL 848 lib/pengine/unpack.c const char *standby = NULL; NULL 849 lib/pengine/unpack.c xmlAttrPtr xIter = NULL; NULL 851 lib/pengine/unpack.c ticket_t *ticket = NULL; NULL 854 lib/pengine/unpack.c if (ticket_id == NULL || strlen(ticket_id) == 0) { NULL 861 lib/pengine/unpack.c if (ticket == NULL) { NULL 863 lib/pengine/unpack.c if (ticket == NULL) { NULL 910 lib/pengine/unpack.c xmlNode *xml_obj = NULL; NULL 912 lib/pengine/unpack.c for (xml_obj = __xml_first_child(xml_tickets); xml_obj != NULL; xml_obj = __xml_next_element(xml_obj)) { NULL 928 lib/pengine/unpack.c char *state_key = NULL; NULL 935 lib/pengine/unpack.c const char *ticket_id = NULL; NULL 936 lib/pengine/unpack.c const char *is_granted = NULL; NULL 937 lib/pengine/unpack.c const char *last_granted = NULL; NULL 938 lib/pengine/unpack.c const char *sep = NULL; NULL 940 lib/pengine/unpack.c ticket_t *ticket = NULL; NULL 968 lib/pengine/unpack.c if (ticket_id == NULL || strlen(ticket_id) == 0) { NULL 973 lib/pengine/unpack.c if (state_key == NULL || strlen(state_key) == 0) { NULL 979 lib/pengine/unpack.c if (ticket == NULL) { NULL 981 lib/pengine/unpack.c if (ticket == NULL) { NULL 1006 lib/pengine/unpack.c const char *resource_discovery_enabled = NULL; NULL 1007 lib/pengine/unpack.c xmlNode *attrs = NULL; NULL 1008 lib/pengine/unpack.c resource_t *rsc = NULL; NULL 1009 lib/pengine/unpack.c const char *shutdown = NULL; NULL 1015 lib/pengine/unpack.c if ((this_node == NULL) || (is_remote_node(this_node) == FALSE)) { NULL 1032 lib/pengine/unpack.c if (shutdown != NULL && safe_str_neq("0", shutdown)) { NULL 1071 lib/pengine/unpack.c xmlNode *lrm_rsc = NULL; NULL 1073 lib/pengine/unpack.c for (xmlNode *state = __xml_first_child(status); state != NULL; state = __xml_next_element(state)) { NULL 1074 lib/pengine/unpack.c const char *id = NULL; NULL 1075 lib/pengine/unpack.c const char *uname = NULL; NULL 1076 lib/pengine/unpack.c node_t *this_node = NULL; NULL 1087 lib/pengine/unpack.c if (this_node == NULL) { NULL 1106 lib/pengine/unpack.c } else if(rsc == NULL) { NULL 1159 lib/pengine/unpack.c const char *id = NULL; NULL 1160 lib/pengine/unpack.c const char *uname = NULL; NULL 1162 lib/pengine/unpack.c xmlNode *state = NULL; NULL 1163 lib/pengine/unpack.c node_t *this_node = NULL; NULL 1167 lib/pengine/unpack.c if (data_set->tickets == NULL) { NULL 1172 lib/pengine/unpack.c for (state = __xml_first_child(status); state != NULL; state = __xml_next_element(state)) { NULL 1175 lib/pengine/unpack.c GHashTable *state_hash = NULL; NULL 1181 lib/pengine/unpack.c unpack_instance_attributes(data_set->input, xml_tickets, XML_TAG_ATTR_SETS, NULL, NULL 1182 lib/pengine/unpack.c state_hash, NULL, TRUE, data_set->now); NULL 1195 lib/pengine/unpack.c xmlNode *attrs = NULL; NULL 1196 lib/pengine/unpack.c const char *resource_discovery_enabled = NULL; NULL 1202 lib/pengine/unpack.c if (uname == NULL) { NULL 1206 lib/pengine/unpack.c } else if (this_node == NULL) { NULL 1268 lib/pengine/unpack.c for (GListPtr gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 1271 lib/pengine/unpack.c if (this_node == NULL) { NULL 1340 lib/pengine/unpack.c } else if (terminate != NULL && strlen(terminate) > 0) { NULL 1357 lib/pengine/unpack.c if (exp_state == NULL) { NULL 1367 lib/pengine/unpack.c } else if (in_cluster == NULL) { NULL 1422 lib/pengine/unpack.c resource_t *container = NULL; NULL 1423 lib/pengine/unpack.c pe_node_t *host = NULL; NULL 1429 lib/pengine/unpack.c if (rsc == NULL) { NULL 1492 lib/pengine/unpack.c const char *shutdown = NULL; NULL 1495 lib/pengine/unpack.c if (this_node == NULL) { NULL 1504 lib/pengine/unpack.c if (shutdown != NULL && safe_str_neq("0", shutdown)) { NULL 1595 lib/pengine/unpack.c return NULL; NULL 1612 lib/pengine/unpack.c char *basename = NULL; NULL 1635 lib/pengine/unpack.c char *zero = NULL; NULL 1649 lib/pengine/unpack.c resource_t *rsc = NULL; NULL 1650 lib/pengine/unpack.c xmlNode *xml_rsc = create_xml_node(NULL, XML_CIB_TAG_RESOURCE); NULL 1656 lib/pengine/unpack.c if (!common_unpack(xml_rsc, &rsc, NULL, data_set)) { NULL 1657 lib/pengine/unpack.c return NULL; NULL 1665 lib/pengine/unpack.c if (node == NULL) { NULL 1666 lib/pengine/unpack.c node = pe_create_node(rsc_id, rsc_id, "remote", NULL, data_set); NULL 1692 lib/pengine/unpack.c GListPtr rIter = NULL; NULL 1693 lib/pengine/unpack.c resource_t *rsc = NULL; NULL 1696 lib/pengine/unpack.c CRM_ASSERT(parent != NULL); NULL 1702 lib/pengine/unpack.c for (rIter = parent->children; rsc == NULL && rIter; rIter = rIter->next) { NULL 1703 lib/pengine/unpack.c GListPtr nIter = NULL; NULL 1704 lib/pengine/unpack.c GListPtr locations = NULL; NULL 1708 lib/pengine/unpack.c if (locations == NULL) { NULL 1713 lib/pengine/unpack.c for (nIter = locations; nIter && rsc == NULL; nIter = nIter->next) { NULL 1718 lib/pengine/unpack.c rsc = parent->fns->find_rsc(child, rsc_id, NULL, pe_find_clone); NULL 1731 lib/pengine/unpack.c rsc = NULL; NULL 1741 lib/pengine/unpack.c for (rIter = parent->children; rsc == NULL && rIter; rIter = rIter->next) { NULL 1742 lib/pengine/unpack.c GListPtr locations = NULL; NULL 1751 lib/pengine/unpack.c if (locations == NULL) { NULL 1753 lib/pengine/unpack.c rsc = parent->fns->find_rsc(child, rsc_id, NULL, pe_find_clone); NULL 1760 lib/pengine/unpack.c if (rsc == NULL) { NULL 1765 lib/pengine/unpack.c rsc = top->fns->find_rsc(top, rsc_id, NULL, pe_find_clone); NULL 1766 lib/pengine/unpack.c CRM_ASSERT(rsc != NULL); NULL 1785 lib/pengine/unpack.c resource_t *rsc = NULL; NULL 1786 lib/pengine/unpack.c resource_t *parent = NULL; NULL 1792 lib/pengine/unpack.c if (rsc == NULL) { NULL 1811 lib/pengine/unpack.c return NULL; NULL 1825 lib/pengine/unpack.c CRM_ASSERT(rsc != NULL); NULL 1841 lib/pengine/unpack.c resource_t *rsc = NULL; NULL 1853 lib/pengine/unpack.c CRM_CHECK(rsc != NULL, return NULL); NULL 1854 lib/pengine/unpack.c resource_location(rsc, NULL, -INFINITY, "__orphan_dont_run__", data_set); NULL 1864 lib/pengine/unpack.c node_t *tmpnode = NULL; NULL 1865 lib/pengine/unpack.c char *reason = NULL; NULL 1876 lib/pengine/unpack.c if (g_hash_table_lookup(iter->known_on, node->details->id) == NULL) { NULL 1928 lib/pengine/unpack.c if (reason == NULL) { NULL 2001 lib/pengine/unpack.c tmpnode = NULL; NULL 2057 lib/pengine/unpack.c } else if (rsc->clone_name && strchr(rsc->clone_name, ':') != NULL) { NULL 2063 lib/pengine/unpack.c rsc->clone_name = NULL; NULL 2070 lib/pengine/unpack.c for (; gIter != NULL; gIter = gIter->next) { NULL 2088 lib/pengine/unpack.c const char *task = NULL; NULL 2089 lib/pengine/unpack.c const char *status = NULL; NULL 2095 lib/pengine/unpack.c for (; gIter != NULL; gIter = gIter->next) { NULL 2099 lib/pengine/unpack.c char *key = NULL; NULL 2101 lib/pengine/unpack.c const char *interval_s = NULL; NULL 2145 lib/pengine/unpack.c const char *task = NULL; NULL 2146 lib/pengine/unpack.c const char *status = NULL; NULL 2152 lib/pengine/unpack.c for (; gIter != NULL; gIter = gIter->next) { NULL 2190 lib/pengine/unpack.c GListPtr gIter = NULL; NULL 2195 lib/pengine/unpack.c const char *task = NULL; NULL 2198 lib/pengine/unpack.c resource_t *rsc = NULL; NULL 2199 lib/pengine/unpack.c GListPtr op_list = NULL; NULL 2200 lib/pengine/unpack.c GListPtr sorted_op_list = NULL; NULL 2202 lib/pengine/unpack.c xmlNode *migrate_op = NULL; NULL 2203 lib/pengine/unpack.c xmlNode *rsc_op = NULL; NULL 2204 lib/pengine/unpack.c xmlNode *last_failure = NULL; NULL 2213 lib/pengine/unpack.c op_list = NULL; NULL 2214 lib/pengine/unpack.c sorted_op_list = NULL; NULL 2216 lib/pengine/unpack.c for (rsc_op = __xml_first_child(rsc_entry); rsc_op != NULL; rsc_op = __xml_next_element(rsc_op)) { NULL 2222 lib/pengine/unpack.c if (op_list == NULL) { NULL 2224 lib/pengine/unpack.c return NULL; NULL 2229 lib/pengine/unpack.c if (rsc == NULL) { NULL 2232 lib/pengine/unpack.c CRM_ASSERT(rsc != NULL); NULL 2240 lib/pengine/unpack.c for (gIter = sorted_op_list; gIter != NULL; gIter = gIter->next) { NULL 2284 lib/pengine/unpack.c xmlNode *rsc_entry = NULL; NULL 2285 lib/pengine/unpack.c for (rsc_entry = __xml_first_child(lrm_rsc_list); rsc_entry != NULL; NULL 2299 lib/pengine/unpack.c if (container_id == NULL || rsc_id == NULL) { NULL 2304 lib/pengine/unpack.c if (container == NULL) { NULL 2309 lib/pengine/unpack.c if (rsc == NULL || NULL 2311 lib/pengine/unpack.c rsc->container != NULL) { NULL 2324 lib/pengine/unpack.c xmlNode *rsc_entry = NULL; NULL 2327 lib/pengine/unpack.c CRM_CHECK(node != NULL, return FALSE); NULL 2331 lib/pengine/unpack.c for (rsc_entry = __xml_first_child(lrm_rsc_list); rsc_entry != NULL; NULL 2429 lib/pengine/unpack.c find_lrm_op(rsc->id, CRMD_ACTION_STOP, node->details->id, NULL, data_set); NULL 2437 lib/pengine/unpack.c if (stop_op == NULL || stop_id < task_id) { NULL 2514 lib/pengine/unpack.c find_lrm_op(rsc->id, CRMD_ACTION_STOP, migrate_source, NULL, data_set); NULL 2529 lib/pengine/unpack.c if (stop_op == NULL || stop_id < migrate_id) { NULL 2544 lib/pengine/unpack.c find_lrm_op(rsc->id, CRMD_ACTION_STOP, migrate_target, NULL, data_set); NULL 2559 lib/pengine/unpack.c if (stop_op == NULL || stop_id < migrate_id) { NULL 2568 lib/pengine/unpack.c } else if (migrate_op == NULL) { NULL 2578 lib/pengine/unpack.c xmlNode *xIter = NULL; NULL 2604 lib/pengine/unpack.c if(key == NULL) { NULL 2616 lib/pengine/unpack.c action_t *action = NULL; NULL 2645 lib/pengine/unpack.c action = custom_action(rsc, strdup(key), task, NULL, TRUE, FALSE, data_set); NULL 2864 lib/pengine/unpack.c const char *clear_reason = NULL; NULL 2928 lib/pengine/unpack.c op_digest_cache_t *digest_data = NULL; NULL 2944 lib/pengine/unpack.c if (clear_reason != NULL) { NULL 2976 lib/pengine/unpack.c char *dummy_string = NULL; NULL 2978 lib/pengine/unpack.c if (key == NULL) { NULL 2992 lib/pengine/unpack.c action_t *action = custom_action(rsc, strdup(key), task, NULL, TRUE, FALSE, data_set); NULL 3096 lib/pengine/unpack.c const char *key = NULL; NULL 3097 lib/pengine/unpack.c const char *task = NULL; NULL 3098 lib/pengine/unpack.c const char *task_key = NULL; NULL 3109 lib/pengine/unpack.c CRM_CHECK(rsc != NULL, return FALSE); NULL 3110 lib/pengine/unpack.c CRM_CHECK(node != NULL, return FALSE); NULL 3111 lib/pengine/unpack.c CRM_CHECK(xml_op != NULL, return FALSE); NULL 3123 lib/pengine/unpack.c CRM_CHECK(task != NULL, return FALSE); NULL 3226 lib/pengine/unpack.c if (rsc->pending_task == NULL) { NULL 3298 lib/pengine/unpack.c resource_location(parent, NULL, -INFINITY, "fatal-error", data_set); NULL 3312 lib/pengine/unpack.c const char *cluster_name = NULL; NULL 3335 lib/pengine/unpack.c unpack_instance_attributes(data_set->input, xml_obj, XML_TAG_ATTR_SETS, NULL, NULL 3336 lib/pengine/unpack.c node->details->attrs, NULL, overwrite, data_set->now); NULL 3338 lib/pengine/unpack.c if (pe_node_attribute_raw(node, CRM_ATTR_SITE_NAME) == NULL) { NULL 3363 lib/pengine/unpack.c xmlNode *rsc_op = NULL; NULL 3365 lib/pengine/unpack.c GListPtr gIter = NULL; NULL 3366 lib/pengine/unpack.c GListPtr op_list = NULL; NULL 3367 lib/pengine/unpack.c GListPtr sorted_op_list = NULL; NULL 3370 lib/pengine/unpack.c op_list = NULL; NULL 3371 lib/pengine/unpack.c sorted_op_list = NULL; NULL 3373 lib/pengine/unpack.c for (rsc_op = __xml_first_child(rsc_entry); rsc_op != NULL; rsc_op = __xml_next_element(rsc_op)) { NULL 3381 lib/pengine/unpack.c if (op_list == NULL) { NULL 3383 lib/pengine/unpack.c return NULL; NULL 3393 lib/pengine/unpack.c op_list = NULL; NULL 3397 lib/pengine/unpack.c for (gIter = sorted_op_list; gIter != NULL; gIter = gIter->next) { NULL 3421 lib/pengine/unpack.c GListPtr output = NULL; NULL 3422 lib/pengine/unpack.c GListPtr intermediate = NULL; NULL 3424 lib/pengine/unpack.c xmlNode *tmp = NULL; NULL 3427 lib/pengine/unpack.c node_t *this_node = NULL; NULL 3429 lib/pengine/unpack.c xmlNode *node_state = NULL; NULL 3431 lib/pengine/unpack.c for (node_state = __xml_first_child(status); node_state != NULL; NULL 3437 lib/pengine/unpack.c if (node != NULL && safe_str_neq(uname, node)) { NULL 3442 lib/pengine/unpack.c if(this_node == NULL) { NULL 3443 lib/pengine/unpack.c CRM_LOG_ASSERT(this_node != NULL); NULL 3458 lib/pengine/unpack.c xmlNode *lrm_rsc = NULL; NULL 3463 lib/pengine/unpack.c for (lrm_rsc = __xml_first_child(tmp); lrm_rsc != NULL; NULL 3469 lib/pengine/unpack.c if (rsc != NULL && safe_str_neq(rsc_id, rsc)) { NULL 31 lib/pengine/utils.c pe_working_set_t *pe_dataset = NULL; NULL 47 lib/pengine/utils.c CRM_CHECK(action != NULL, return NULL); NULL 49 lib/pengine/utils.c if (action->action_details == NULL) { NULL 51 lib/pengine/utils.c CRM_CHECK(action->action_details != NULL, return NULL); NULL 55 lib/pengine/utils.c if (details->versioned_parameters == NULL) { NULL 56 lib/pengine/utils.c details->versioned_parameters = create_xml_node(NULL, NULL 59 lib/pengine/utils.c if (details->versioned_meta == NULL) { NULL 60 lib/pengine/utils.c details->versioned_meta = create_xml_node(NULL, XML_TAG_OP_VER_META); NULL 70 lib/pengine/utils.c if ((action == NULL) || (action->action_details == NULL)) { NULL 83 lib/pengine/utils.c action->action_details = NULL; NULL 114 lib/pengine/utils.c } else if(node == NULL) { NULL 129 lib/pengine/utils.c node_t *new_node = NULL; NULL 131 lib/pengine/utils.c CRM_CHECK(this_node != NULL, return NULL); NULL 134 lib/pengine/utils.c CRM_ASSERT(new_node != NULL); NULL 151 lib/pengine/utils.c node_t *other_node = NULL; NULL 155 lib/pengine/utils.c node_t *node = NULL; NULL 158 lib/pengine/utils.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 161 lib/pengine/utils.c if (other_node == NULL) { NULL 168 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 173 lib/pengine/utils.c if (other_node == NULL) { NULL 186 lib/pengine/utils.c GHashTable *result = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, g_hash_destroy_str); NULL 188 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 201 lib/pengine/utils.c GListPtr result = NULL; NULL 204 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 205 lib/pengine/utils.c node_t *new_node = NULL; NULL 216 lib/pengine/utils.c if (new_node != NULL) { NULL 239 lib/pengine/utils.c node_t *node = NULL; NULL 254 lib/pengine/utils.c GListPtr gIter = NULL; NULL 260 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 279 lib/pengine/utils.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 295 lib/pengine/utils.c GListPtr gIter = NULL; NULL 298 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 311 lib/pengine/utils.c char *new_text = NULL; NULL 325 lib/pengine/utils.c char *dump_text = NULL; NULL 346 lib/pengine/utils.c char *dump_text = NULL; NULL 370 lib/pengine/utils.c if (a == NULL && b == NULL) { NULL 373 lib/pengine/utils.c if (a == NULL) { NULL 376 lib/pengine/utils.c if (b == NULL) { NULL 397 lib/pengine/utils.c if (a == NULL && b == NULL) { NULL 400 lib/pengine/utils.c if (a == NULL) { NULL 403 lib/pengine/utils.c if (b == NULL) { NULL 423 lib/pengine/utils.c action_t *action = NULL; NULL 424 lib/pengine/utils.c GListPtr possible_matches = NULL; NULL 426 lib/pengine/utils.c CRM_CHECK(key != NULL, return NULL); NULL 427 lib/pengine/utils.c CRM_CHECK(task != NULL, free(key); return NULL); NULL 429 lib/pengine/utils.c if (save_action && rsc != NULL) { NULL 440 lib/pengine/utils.c if(data_set->singletons == NULL) { NULL 441 lib/pengine/utils.c data_set->singletons = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, NULL); NULL 444 lib/pengine/utils.c if (possible_matches != NULL) { NULL 458 lib/pengine/utils.c if (action == NULL) { NULL 472 lib/pengine/utils.c CRM_ASSERT(task != NULL); NULL 504 lib/pengine/utils.c if(rsc == NULL) { NULL 509 lib/pengine/utils.c if (rsc != NULL) { NULL 529 lib/pengine/utils.c if (rsc != NULL) { NULL 538 lib/pengine/utils.c && action->node != NULL && action->op_entry != NULL) { NULL 542 lib/pengine/utils.c action->extra, NULL, FALSE, data_set->now); NULL 548 lib/pengine/utils.c } else if (action->node == NULL) { NULL 553 lib/pengine/utils.c && g_hash_table_lookup(action->meta, XML_LRM_ATTR_INTERVAL) == NULL) { NULL 577 lib/pengine/utils.c pe_action_set_reason(action, NULL, TRUE); NULL 590 lib/pengine/utils.c pe_action_set_flag_reason(__FUNCTION__, __LINE__, action, NULL, "no quorum", pe_action_runnable, TRUE); NULL 597 lib/pengine/utils.c pe_action_set_flag_reason(__FUNCTION__, __LINE__, action, NULL, "quorum freeze", pe_action_runnable, TRUE); NULL 637 lib/pengine/utils.c return NULL; NULL 640 lib/pengine/utils.c xmlNode *operation = NULL; NULL 641 lib/pengine/utils.c const char *name = NULL; NULL 642 lib/pengine/utils.c const char *role = NULL; NULL 643 lib/pengine/utils.c const char *on_fail = NULL; NULL 644 lib/pengine/utils.c const char *interval = NULL; NULL 645 lib/pengine/utils.c const char *enabled = NULL; NULL 647 lib/pengine/utils.c CRM_CHECK(action->rsc != NULL, return NULL); NULL 682 lib/pengine/utils.c const char *name = NULL; NULL 683 lib/pengine/utils.c const char *value = NULL; NULL 684 lib/pengine/utils.c const char *interval = NULL; NULL 685 lib/pengine/utils.c xmlNode *op = NULL; NULL 686 lib/pengine/utils.c xmlNode *operation = NULL; NULL 688 lib/pengine/utils.c for (operation = __xml_first_child(rsc->ops_xml); operation != NULL; NULL 723 lib/pengine/utils.c if (value != NULL) { NULL 748 lib/pengine/utils.c crm_time_t *delay = NULL; NULL 808 lib/pengine/utils.c if (value == NULL && xml_obj == NULL && action && NULL 821 lib/pengine/utils.c if (value == NULL && config_hash) { NULL 832 lib/pengine/utils.c if (value == NULL) { NULL 847 lib/pengine/utils.c xmlNode *child = NULL; NULL 848 lib/pengine/utils.c const char *timeout = NULL; NULL 852 lib/pengine/utils.c child != NULL; child = crm_next_same_xml(child)) { NULL 859 lib/pengine/utils.c if (timeout == NULL && data_set->op_defaults) { NULL 862 lib/pengine/utils.c NULL, action_meta, NULL, FALSE, data_set->now); NULL 866 lib/pengine/utils.c if (timeout == NULL && data_set->config_hash) { NULL 870 lib/pengine/utils.c if (timeout == NULL) { NULL 886 lib/pengine/utils.c xmlNode *attrs = NULL; NULL 887 lib/pengine/utils.c xmlNode *attr = NULL; NULL 889 lib/pengine/utils.c for (attrs = __xml_first_child(versioned_meta); attrs != NULL; attrs = __xml_next_element(attrs)) { NULL 890 lib/pengine/utils.c for (attr = __xml_first_child(attrs); attr != NULL; attr = __xml_next_element(attr)) { NULL 895 lib/pengine/utils.c int start_delay = unpack_start_delay(value, NULL); NULL 899 lib/pengine/utils.c int start_delay = unpack_interval_origin(value, NULL, xml_obj, interval, now); NULL 904 lib/pengine/utils.c int timeout = unpack_timeout(value, NULL, NULL, 0, NULL); NULL 919 lib/pengine/utils.c char *value_ms = NULL; NULL 920 lib/pengine/utils.c const char *value = NULL; NULL 921 lib/pengine/utils.c const char *field = NULL; NULL 923 lib/pengine/utils.c pe_rsc_action_details_t *rsc_details = NULL; NULL 926 lib/pengine/utils.c CRM_CHECK(action->rsc != NULL, return); NULL 928 lib/pengine/utils.c unpack_instance_attributes(data_set->input, data_set->op_defaults, XML_TAG_META_SETS, NULL, NULL 929 lib/pengine/utils.c action->meta, NULL, FALSE, data_set->now); NULL 932 lib/pengine/utils.c xmlAttrPtr xIter = NULL; NULL 943 lib/pengine/utils.c NULL, action->meta, NULL, FALSE, data_set->now); NULL 946 lib/pengine/utils.c NULL, action->meta, NULL, FALSE, data_set->now); NULL 950 lib/pengine/utils.c pe_unpack_versioned_attributes(data_set->input, xml_obj, XML_TAG_ATTR_SETS, NULL, NULL 952 lib/pengine/utils.c pe_unpack_versioned_attributes(data_set->input, xml_obj, XML_TAG_META_SETS, NULL, NULL 960 lib/pengine/utils.c if (value != NULL) { NULL 1022 lib/pengine/utils.c if (value == NULL) { NULL 1067 lib/pengine/utils.c value = NULL; NULL 1072 lib/pengine/utils.c value = NULL; NULL 1076 lib/pengine/utils.c if (value == NULL && container) { NULL 1089 lib/pengine/utils.c } else if (((value == NULL) || !is_set(action->rsc->flags, pe_rsc_managed)) && NULL 1112 lib/pengine/utils.c } else if (value == NULL && safe_str_eq(action->task, CRMD_ACTION_STOP)) { NULL 1122 lib/pengine/utils.c } else if (value == NULL) { NULL 1129 lib/pengine/utils.c value = NULL; NULL 1130 lib/pengine/utils.c if (xml_obj != NULL) { NULL 1133 lib/pengine/utils.c if (value != NULL && action->fail_role == RSC_ROLE_UNKNOWN) { NULL 1172 lib/pengine/utils.c char *local_key = NULL; NULL 1173 lib/pengine/utils.c const char *name = NULL; NULL 1174 lib/pengine/utils.c const char *value = NULL; NULL 1175 lib/pengine/utils.c const char *interval = NULL; NULL 1176 lib/pengine/utils.c char *match_key = NULL; NULL 1177 lib/pengine/utils.c xmlNode *op = NULL; NULL 1178 lib/pengine/utils.c xmlNode *operation = NULL; NULL 1181 lib/pengine/utils.c for (operation = __xml_first_child(rsc->ops_xml); operation != NULL; NULL 1206 lib/pengine/utils.c if (op != NULL) { NULL 1215 lib/pengine/utils.c return NULL; NULL 1230 lib/pengine/utils.c return NULL; NULL 1242 lib/pengine/utils.c if (node == NULL) { NULL 1243 lib/pengine/utils.c crm_trace("%s%s: <NULL>", pre_text == NULL ? "" : pre_text, pre_text == NULL ? "" : ": "); NULL 1249 lib/pengine/utils.c pre_text == NULL ? "" : pre_text, NULL 1250 lib/pengine/utils.c pre_text == NULL ? "" : ": ", NULL 1264 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 1279 lib/pengine/utils.c user_data == NULL ? "" : (char *)user_data, NULL 1280 lib/pengine/utils.c user_data == NULL ? "" : ": ", (char *)key, (char *)value); NULL 1288 lib/pengine/utils.c if (rsc == NULL) { NULL 1290 lib/pengine/utils.c pre_text == NULL ? "" : pre_text, pre_text == NULL ? "" : ": "); NULL 1302 lib/pengine/utils.c if (action == NULL) { NULL 1329 lib/pengine/utils.c const char *value = NULL; NULL 1330 lib/pengine/utils.c GListPtr result = NULL; NULL 1333 lib/pengine/utils.c CRM_CHECK(input != NULL, return NULL); NULL 1335 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 1339 lib/pengine/utils.c if (value == NULL) { NULL 1345 lib/pengine/utils.c } else if (not_on_node == NULL) { NULL 1349 lib/pengine/utils.c } else if (action->node == NULL) { NULL 1365 lib/pengine/utils.c if (rsc == NULL) { NULL 1387 lib/pengine/utils.c GListPtr gIter = NULL; NULL 1389 lib/pengine/utils.c CRM_CHECK(uuid || task, return NULL); NULL 1391 lib/pengine/utils.c for (gIter = input; gIter != NULL; gIter = gIter->next) { NULL 1394 lib/pengine/utils.c if (uuid != NULL && safe_str_neq(uuid, action->uuid)) { NULL 1397 lib/pengine/utils.c } else if (task != NULL && safe_str_neq(task, action->task)) { NULL 1400 lib/pengine/utils.c } else if (on_node == NULL) { NULL 1403 lib/pengine/utils.c } else if (action->node == NULL) { NULL 1411 lib/pengine/utils.c return NULL; NULL 1418 lib/pengine/utils.c GListPtr result = NULL; NULL 1420 lib/pengine/utils.c CRM_CHECK(key != NULL, return NULL); NULL 1422 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 1429 lib/pengine/utils.c } else if (on_node == NULL) { NULL 1433 lib/pengine/utils.c } else if (action->node == NULL) { NULL 1458 lib/pengine/utils.c GListPtr result = NULL; NULL 1460 lib/pengine/utils.c CRM_CHECK(key != NULL, return NULL); NULL 1462 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 1470 lib/pengine/utils.c } else if (on_node == NULL || action->node == NULL) { NULL 1486 lib/pengine/utils.c node_t *match = NULL; NULL 1499 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 1508 lib/pengine/utils.c if (match == NULL) { NULL 1519 lib/pengine/utils.c if (node != NULL) { NULL 1522 lib/pengine/utils.c } else if (data_set != NULL) { NULL 1525 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 1533 lib/pengine/utils.c node_t *node_iter = NULL; NULL 1536 lib/pengine/utils.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node_iter)) { NULL 1541 lib/pengine/utils.c if (node == NULL && score == -INFINITY) { NULL 1545 lib/pengine/utils.c rsc->allocated_to = NULL; NULL 1565 lib/pengine/utils.c char *a_uuid = NULL; NULL 1566 lib/pengine/utils.c char *b_uuid = NULL; NULL 1631 lib/pengine/utils.c CRM_CHECK(a_magic != NULL && b_magic != NULL, sort_return(0, "No magic")); NULL 1678 lib/pengine/utils.c if (data_set->now == NULL) { NULL 1680 lib/pengine/utils.c data_set->now = crm_time_new(NULL); NULL 1686 lib/pengine/utils.c return time(NULL); NULL 1695 lib/pengine/utils.c CRM_CHECK(role != NULL, return FALSE); NULL 1697 lib/pengine/utils.c if (value == NULL || safe_str_eq("started", value) NULL 1728 lib/pengine/utils.c GListPtr gIter = NULL; NULL 1729 lib/pengine/utils.c action_wrapper_t *wrapper = NULL; NULL 1730 lib/pengine/utils.c GListPtr list = NULL; NULL 1736 lib/pengine/utils.c if (lh_action == NULL || rh_action == NULL) { NULL 1747 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 1763 lib/pengine/utils.c wrapper = NULL; NULL 1780 lib/pengine/utils.c action_t *op = NULL; NULL 1785 lib/pengine/utils.c if (op == NULL) { NULL 1786 lib/pengine/utils.c op = custom_action(NULL, strdup(name), name, NULL, TRUE, TRUE, data_set); NULL 1809 lib/pengine/utils.c ticket_t *ticket = NULL; NULL 1811 lib/pengine/utils.c if (ticket_id == NULL || strlen(ticket_id) == 0) { NULL 1812 lib/pengine/utils.c return NULL; NULL 1815 lib/pengine/utils.c if (data_set->tickets == NULL) { NULL 1821 lib/pengine/utils.c if (ticket == NULL) { NULL 1824 lib/pengine/utils.c if (ticket == NULL) { NULL 1826 lib/pengine/utils.c return NULL; NULL 1859 lib/pengine/utils.c if (need_present && match == NULL) { NULL 1876 lib/pengine/utils.c char *key = NULL; NULL 1877 lib/pengine/utils.c char *value = NULL; NULL 1892 lib/pengine/utils.c op_digest_cache_t *data = NULL; NULL 1895 lib/pengine/utils.c if (data == NULL) { NULL 1899 lib/pengine/utils.c xmlNode *local_versioned_params = create_xml_node(NULL, XML_TAG_RSC_VER_ATTRS); NULL 1900 lib/pengine/utils.c const char *ra_version = NULL; NULL 1904 lib/pengine/utils.c const char *restart_list = NULL; NULL 1908 lib/pengine/utils.c CRM_ASSERT(data != NULL); NULL 1915 lib/pengine/utils.c data->params_all = create_xml_node(NULL, XML_TAG_PARAMS); NULL 1965 lib/pengine/utils.c if(xml_op && crm_element_value(xml_op, XML_LRM_ATTR_RESTART_DIGEST) != NULL) { NULL 1983 lib/pengine/utils.c op_digest_cache_t *data = NULL; NULL 1985 lib/pengine/utils.c char *key = NULL; NULL 1995 lib/pengine/utils.c CRM_ASSERT(node != NULL); NULL 2013 lib/pengine/utils.c } else if (digest_all == NULL) { NULL 2036 lib/pengine/utils.c op_digest_cache_t *data = rsc_action_digest(rsc, STONITH_DIGEST_TASK, key, node, NULL, data_set); NULL 2050 lib/pengine/utils.c if (digest_all == NULL) { NULL 2097 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 2110 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 2120 lib/pengine/utils.c for (GListPtr gIter = candidates; gIter != NULL; gIter = gIter->next) { NULL 2141 lib/pengine/utils.c char *op_key = NULL; NULL 2142 lib/pengine/utils.c action_t *stonith_op = NULL; NULL 2144 lib/pengine/utils.c if(op == NULL) { NULL 2154 lib/pengine/utils.c if(stonith_op == NULL) { NULL 2155 lib/pengine/utils.c stonith_op = custom_action(NULL, op_key, CRM_OP_FENCE, node, TRUE, TRUE, data_set); NULL 2176 lib/pengine/utils.c GListPtr matches = find_unfencing_devices(data_set->resources, NULL); NULL 2178 lib/pengine/utils.c for (GListPtr gIter = matches; gIter != NULL; gIter = gIter->next) { NULL 2212 lib/pengine/utils.c pe_action_required(stonith_op, NULL, reason); NULL 2213 lib/pengine/utils.c } else if(reason && stonith_op->reason == NULL) { NULL 2228 lib/pengine/utils.c } else if (rsc != NULL && is_not_set(rsc->flags, pe_rsc_fence_device)) { NULL 2246 lib/pengine/utils.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 2257 lib/pengine/utils.c tag_t *tag = NULL; NULL 2258 lib/pengine/utils.c GListPtr gIter = NULL; NULL 2264 lib/pengine/utils.c if (tag == NULL) { NULL 2266 lib/pengine/utils.c if (tag == NULL) { NULL 2270 lib/pengine/utils.c tag->refs = NULL; NULL 2274 lib/pengine/utils.c for (gIter = tag->refs; gIter != NULL; gIter = gIter->next) { NULL 2297 lib/pengine/utils.c const char *change = NULL; NULL 2334 lib/pengine/utils.c char *reason_text = NULL; NULL 2335 lib/pengine/utils.c if(reason == NULL) { NULL 2338 lib/pengine/utils.c } else if(reason->rsc == NULL) { NULL 2356 lib/pengine/utils.c action->reason = NULL; NULL 2358 lib/pengine/utils.c if(action->reason == NULL) { NULL 2363 lib/pengine/utils.c action->reason = NULL; NULL 54 lib/pengine/variant.h CRM_ASSERT(rsc != NULL); \ NULL 125 lib/pengine/variant.h CRM_ASSERT(rsc != NULL); \ NULL 127 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 158 lib/pengine/variant.h CRM_ASSERT(rsc != NULL); \ NULL 160 lib/pengine/variant.h CRM_ASSERT(rsc->variant_opaque != NULL); \ NULL 16 lib/services/dbus.c static GList *conn_dispatches = NULL; NULL 37 lib/services/dbus.c return NULL; NULL 74 lib/services/dbus.c if(pending == NULL) { NULL 78 lib/services/dbus.c } else if(reply == NULL) { NULL 153 lib/services/dbus.c const char *method = NULL; NULL 154 lib/services/dbus.c DBusMessage *reply = NULL; NULL 155 lib/services/dbus.c DBusPendingCall* pending = NULL; NULL 176 lib/services/dbus.c return NULL; NULL 204 lib/services/dbus.c const char *method = NULL; NULL 205 lib/services/dbus.c DBusPendingCall* pending = NULL; NULL 220 lib/services/dbus.c return NULL; NULL 222 lib/services/dbus.c } else if (pending == NULL) { NULL 224 lib/services/dbus.c return NULL; NULL 234 lib/services/dbus.c pending = NULL; NULL 236 lib/services/dbus.c CRM_ASSERT(dbus_pending_call_set_notify(pending, done, user_data, NULL)); NULL 241 lib/services/dbus.c CRM_ASSERT(dbus_pending_call_set_notify(pending, done, user_data, NULL)); NULL 253 lib/services/dbus.c if(field == NULL) { NULL 259 lib/services/dbus.c if(field == NULL) { NULL 287 lib/services/dbus.c char *output = NULL; NULL 358 lib/services/dbus.c data->callback(data->name, NULL, data->userdata); NULL 373 lib/services/dbus.c DBusMessage *reply = NULL; NULL 374 lib/services/dbus.c char *value = NULL; NULL 396 lib/services/dbus.c char *output = NULL; NULL 397 lib/services/dbus.c struct db_getall_data *query_data = NULL; NULL 404 lib/services/dbus.c if (NULL == msg) { NULL 406 lib/services/dbus.c return NULL; NULL 412 lib/services/dbus.c if(query_data == NULL) { NULL 414 lib/services/dbus.c return NULL; NULL 421 lib/services/dbus.c query_data->name = NULL; NULL 430 lib/services/dbus.c if (pending != NULL) { NULL 435 lib/services/dbus.c DBusMessage *reply = pcmk_dbus_send_recv(msg, connection, NULL, timeout); NULL 462 lib/services/dbus.c GList *gIter = NULL; NULL 464 lib/services/dbus.c for (gIter = conn_dispatches; gIter != NULL; gIter = gIter->next) { NULL 474 lib/services/dbus.c conn_dispatches = NULL; NULL 552 lib/services/dbus.c dbus_watch_set_data(watch, client, NULL); NULL 591 lib/services/dbus.c dbus_timeout_set_data(timeout, GUINT_TO_POINTER(id), NULL); NULL 606 lib/services/dbus.c dbus_timeout_set_data(timeout, 0, NULL); NULL 632 lib/services/dbus.c pcmk_dbus_timeout_toggle, NULL, NULL); NULL 635 lib/services/dbus.c pcmk_dbus_watch_toggle, NULL, NULL); NULL 636 lib/services/dbus.c dbus_connection_set_dispatch_status_function(c, pcmk_dbus_connection_dispatch_status, NULL, NULL); NULL 637 lib/services/dbus.c pcmk_dbus_connection_dispatch_status(c, dbus_connection_get_dispatch_status(c), NULL); NULL 40 lib/services/services.c static GHashTable *recurring_actions = NULL; NULL 44 lib/services/services.c static GList *blocked_ops = NULL; NULL 47 lib/services/services.c static GList *inflight_ops = NULL; NULL 54 lib/services/services.c return resources_action_create(name, PCMK_RESOURCE_CLASS_LSB, NULL, name, NULL 55 lib/services/services.c action, interval, timeout, NULL, 0); NULL 79 lib/services/services.c char *path = NULL; NULL 101 lib/services/services.c return NULL; NULL 107 lib/services/services.c if (recurring_actions == NULL) { NULL 108 lib/services/services.c recurring_actions = g_hash_table_new_full(g_str_hash, g_str_equal, NULL, NULL 109 lib/services/services.c NULL); NULL 126 lib/services/services.c && (g_list_find(inflight_ops, op) != NULL); NULL 144 lib/services/services.c char *expanded_class = NULL; NULL 169 lib/services/services.c svc_action_t *op = NULL; NULL 228 lib/services/services.c params = NULL; NULL 248 lib/services/services.c op->opaque->args[2] = NULL; NULL 273 lib/services/services.c if (value_tmp == NULL) { NULL 285 lib/services/services.c op->opaque->args[param_num] = NULL; NULL 319 lib/services/services.c char *key = NULL; NULL 320 lib/services/services.c char *value = NULL; NULL 328 lib/services/services.c char *long_opt = NULL; NULL 344 lib/services/services.c op->opaque->args[index] = NULL; NULL 349 lib/services/services.c op = NULL; NULL 363 lib/services/services.c return NULL; NULL 408 lib/services/services.c svc_action_t *action = services_action_create_generic(exec, NULL); NULL 437 lib/services/services.c CRM_CHECK((op != NULL) && (user != NULL), return -EINVAL); NULL 489 lib/services/services.c g_hash_table_foreach(action->params, set_alert_env, NULL); NULL 493 lib/services/services.c g_hash_table_foreach(action->params, unset_alert_env, NULL); NULL 529 lib/services/services.c if(op->opaque == NULL) { NULL 547 lib/services/services.c op->opaque->pending = NULL; NULL 553 lib/services/services.c op->opaque->stderr_gsource = NULL; NULL 558 lib/services/services.c op->opaque->stdout_gsource = NULL; NULL 567 lib/services/services.c if (op == NULL) { NULL 575 lib/services/services.c CRM_CHECK(g_list_find(inflight_ops, op) == NULL, return); NULL 576 lib/services/services.c CRM_CHECK(g_list_find(blocked_ops, op) == NULL, return); NULL 577 lib/services/services.c CRM_CHECK((recurring_actions == NULL) NULL 578 lib/services/services.c || (g_hash_table_lookup(recurring_actions, op->id) == NULL), NULL 608 lib/services/services.c op->params = NULL; NULL 645 lib/services/services.c svc_action_t *op = NULL; NULL 650 lib/services/services.c if (op == NULL) { NULL 706 lib/services/services.c svc_action_t * op = NULL; NULL 713 lib/services/services.c if (op == NULL) { NULL 742 lib/services/services.c svc_action_t * dup = NULL; NULL 752 lib/services/services.c op->cb_data = NULL; NULL 797 lib/services/services.c if (op == NULL) { NULL 858 lib/services/services.c GList *gIter = NULL; NULL 859 lib/services/services.c svc_action_t *op = NULL; NULL 861 lib/services/services.c for (gIter = inflight_ops; gIter != NULL; gIter = gIter->next) { NULL 874 lib/services/services.c GList *executed_ops = NULL; NULL 875 lib/services/services.c GList *gIter = NULL; NULL 876 lib/services/services.c svc_action_t *op = NULL; NULL 888 lib/services/services.c for (gIter = blocked_ops; gIter != NULL; gIter = gIter->next) { NULL 903 lib/services/services.c for (gIter = executed_ops; gIter != NULL; gIter = gIter->next) { NULL 960 lib/services/services.c if ((m) != NULL) { \ NULL 962 lib/services/services.c (m) = NULL; \ NULL 980 lib/services/services.c *value = (char *)xmlEncodeEntitiesReentrant(NULL, BAD_CAST line+strlen(prefix)); NULL 992 lib/services/services.c FILE *fp = NULL; NULL 994 lib/services/services.c char *provides = NULL; NULL 995 lib/services/services.c char *req_start = NULL; NULL 996 lib/services/services.c char *req_stop = NULL; NULL 997 lib/services/services.c char *shld_start = NULL; NULL 998 lib/services/services.c char *shld_stop = NULL; NULL 999 lib/services/services.c char *dflt_start = NULL; NULL 1000 lib/services/services.c char *dflt_stop = NULL; NULL 1001 lib/services/services.c char *s_dscrpt = NULL; NULL 1002 lib/services/services.c char *xml_l_dscrpt = NULL; NULL 1016 lib/services/services.c if (fp == NULL) { NULL 1087 lib/services/services.c xml_l_dscrpt = (char *)xmlEncodeEntitiesReentrant(NULL, BAD_CAST(description)); NULL 1136 lib/services/services.c FILE *file_strm = NULL; NULL 1142 lib/services/services.c if (file_strm == NULL) { NULL 1160 lib/services/services.c *output = NULL; NULL 1171 lib/services/services.c *output = NULL; NULL 1275 lib/services/services.c if (op->agent == NULL) { NULL 1280 lib/services/services.c if (class == NULL) { NULL 1290 lib/services/services.c if (class == NULL) { NULL 1320 lib/services/services.c if (op == NULL) { NULL 1359 lib/services/services.c return resources_list_agents(PCMK_RESOURCE_CLASS_LSB, NULL); NULL 1373 lib/services/services.c GList *standards = NULL; NULL 1374 lib/services/services.c GList *agents = NULL; NULL 1421 lib/services/services.c return NULL; NULL 1427 lib/services/services.c if ((standard == NULL) NULL 1434 lib/services/services.c if (standard == NULL) { NULL 1436 lib/services/services.c tmp2 = resources_os_list_ocf_agents(NULL); NULL 1481 lib/services/services.c return NULL; NULL 41 lib/services/services_linux.c char *data = NULL; NULL 116 lib/services/services_linux.c op->opaque->stdout_gsource = NULL; NULL 128 lib/services/services_linux.c op->opaque->stderr_gsource = NULL; NULL 176 lib/services/services_linux.c g_hash_table_foreach(op->params, set_ocf_env_with_prefix, NULL); NULL 179 lib/services/services_linux.c set_ocf_env("OCF_RA_VERSION_MAJOR", "1", NULL); NULL 180 lib/services/services_linux.c set_ocf_env("OCF_RA_VERSION_MINOR", "0", NULL); NULL 181 lib/services/services_linux.c set_ocf_env("OCF_ROOT", OCF_ROOT_DIR, NULL); NULL 182 lib/services/services_linux.c set_ocf_env("OCF_EXIT_REASON_PREFIX", PCMK_OCF_REASON_PREFIX, NULL); NULL 185 lib/services/services_linux.c set_ocf_env("OCF_RESOURCE_INSTANCE", op->rsc, NULL); NULL 188 lib/services/services_linux.c if (op->agent != NULL) { NULL 189 lib/services/services_linux.c set_ocf_env("OCF_RESOURCE_TYPE", op->agent, NULL); NULL 193 lib/services/services_linux.c if (op->provider != NULL) { NULL 194 lib/services/services_linux.c set_ocf_env("OCF_RESOURCE_PROVIDER", op->provider, NULL); NULL 207 lib/services/services_linux.c op->stdout_data = NULL; NULL 209 lib/services/services_linux.c op->stderr_data = NULL; NULL 212 lib/services/services_linux.c services_action_async(op, NULL); NULL 273 lib/services/services_linux.c op->opaque->stderr_gsource = NULL; NULL 284 lib/services/services_linux.c op->opaque->stdout_gsource = NULL; NULL 494 lib/services/services_linux.c start = time(NULL); NULL 553 lib/services/services_linux.c timeout = op->timeout - (time(NULL) - start) * 1000; NULL 623 lib/services/services_linux.c if (sigprocmask(SIG_UNBLOCK, &mask, NULL) < 0) { \ NULL 632 lib/services/services_linux.c if (sigaction(SIGCHLD, &old_sa, NULL) < 0) { \ NULL 713 lib/services/services_linux.c pmask = NULL; NULL 811 lib/services/services_linux.c GList *list = NULL; NULL 816 lib/services/services_linux.c entries = scandir(root, &namelist, NULL, alphasort); NULL 878 lib/services/services_linux.c GList *gIter = NULL; NULL 879 lib/services/services_linux.c GList *result = NULL; NULL 880 lib/services/services_linux.c GList *providers = NULL; NULL 890 lib/services/services_linux.c for (gIter = providers; gIter != NULL; gIter = gIter->next) { NULL 906 lib/services/services_linux.c GList *plugin_list = NULL; NULL 907 lib/services/services_linux.c GList *result = NULL; NULL 908 lib/services/services_linux.c GList *gIter = NULL; NULL 913 lib/services/services_linux.c for (gIter = plugin_list; gIter != NULL; gIter = gIter->next) { NULL 39 lib/services/systemd.c static DBusConnection* systemd_proxy = NULL; NULL 70 lib/services/systemd.c DBusMessage *reply = NULL; NULL 74 lib/services/systemd.c CRM_CHECK(systemd_proxy, return NULL); NULL 76 lib/services/systemd.c if (msg == NULL) { NULL 78 lib/services/systemd.c return NULL; NULL 89 lib/services/systemd.c return NULL; NULL 91 lib/services/systemd.c } else if (reply == NULL) { NULL 93 lib/services/systemd.c return NULL; NULL 109 lib/services/systemd.c systemd_proxy = NULL; NULL 117 lib/services/systemd.c if (systemd_proxy == NULL) { NULL 131 lib/services/systemd.c : NULL; NULL 139 lib/services/systemd.c systemd_proxy = NULL; NULL 165 lib/services/systemd.c return NULL; NULL 171 lib/services/systemd.c if (name == NULL) { NULL 172 lib/services/systemd.c return NULL; NULL 186 lib/services/systemd.c DBusMessage *reply = NULL; NULL 217 lib/services/systemd.c CRM_ASSERT(msg != NULL); NULL 252 lib/services/systemd.c const char *path = NULL; NULL 262 lib/services/systemd.c } else if(pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, __FUNCTION__, __LINE__)) { NULL 263 lib/services/systemd.c dbus_message_get_args (reply, NULL, NULL 284 lib/services/systemd.c DBusMessage *reply = NULL; NULL 294 lib/services/systemd.c services_set_op_pending(op, NULL); NULL 307 lib/services/systemd.c DBusMessage *reply = NULL; NULL 308 lib/services/systemd.c DBusPendingCall* pending = NULL; NULL 309 lib/services/systemd.c char *name = NULL; NULL 324 lib/services/systemd.c CRM_ASSERT(msg != NULL); NULL 330 lib/services/systemd.c if(op == NULL || op->synchronous) { NULL 331 lib/services/systemd.c const char *unit = NULL; NULL 332 lib/services/systemd.c char *munit = NULL; NULL 334 lib/services/systemd.c reply = systemd_send_recv(msg, NULL, NULL 354 lib/services/systemd.c return NULL; NULL 361 lib/services/systemd.c GList *units = NULL; NULL 365 lib/services/systemd.c DBusMessage *reply = NULL; NULL 368 lib/services/systemd.c return NULL; NULL 378 lib/services/systemd.c if (reply == NULL) { NULL 379 lib/services/systemd.c return NULL; NULL 384 lib/services/systemd.c return NULL; NULL 390 lib/services/systemd.c return NULL; NULL 398 lib/services/systemd.c const char *match = NULL; NULL 399 lib/services/systemd.c char *unit_name = NULL; NULL 400 lib/services/systemd.c char *basename = NULL; NULL 414 lib/services/systemd.c if (value.str == NULL) { NULL 421 lib/services/systemd.c if (match == NULL) { NULL 447 lib/services/systemd.c if (unit_name == NULL) { NULL 467 lib/services/systemd.c char *unit = NULL; NULL 472 lib/services/systemd.c unit = systemd_unit_by_name(name, NULL); NULL 483 lib/services/systemd.c char *meta = NULL; NULL 484 lib/services/systemd.c char *desc = NULL; NULL 485 lib/services/systemd.c char *path = systemd_unit_by_name(name, NULL); NULL 489 lib/services/systemd.c desc = systemd_get_property(path, "Description", NULL, NULL, NULL, NULL 533 lib/services/systemd.c if(!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, __FUNCTION__, __LINE__)) { NULL 538 lib/services/systemd.c const char *path = NULL; NULL 540 lib/services/systemd.c dbus_message_get_args (reply, NULL, NULL 554 lib/services/systemd.c DBusMessage *reply = NULL; NULL 564 lib/services/systemd.c services_set_op_pending(op, NULL); NULL 581 lib/services/systemd.c if(state == NULL) { NULL 597 lib/services/systemd.c services_set_op_pending(op, NULL); NULL 606 lib/services/systemd.c DBusMessage *msg = NULL; NULL 607 lib/services/systemd.c DBusMessage *reply = NULL; NULL 612 lib/services/systemd.c DBusPendingCall *pending = NULL; NULL 616 lib/services/systemd.c (op->synchronous? NULL : systemd_unit_check), NULL 617 lib/services/systemd.c op, (op->synchronous? NULL : &pending), NULL 632 lib/services/systemd.c FILE *file_strm = NULL; NULL 647 lib/services/systemd.c if (file_strm != NULL) { NULL 669 lib/services/systemd.c if (file_strm != NULL) { NULL 696 lib/services/systemd.c CRM_ASSERT(msg != NULL); NULL 723 lib/services/systemd.c reply = systemd_send_recv(msg, NULL, op->timeout); NULL 758 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, __FUNCTION__, __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 232 lib/services/upstart.c return upstart_job_by_name(name, NULL, DBUS_TIMEOUT_USE_DEFAULT); NULL 238 lib/services/upstart.c char *instance = NULL; NULL 251 lib/services/upstart.c CRM_ASSERT(msg != NULL); NULL 262 lib/services/upstart.c } else if(reply == NULL) { NULL 309 lib/services/upstart.c services_set_op_pending(op, NULL); NULL 369 lib/services/upstart.c DBusMessage *reply = NULL; NULL 390 lib/services/upstart.c if(!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, __FUNCTION__, __LINE__)) { NULL 395 lib/services/upstart.c const char *path = NULL; NULL 397 lib/services/upstart.c dbus_message_get_args (reply, NULL, NULL 406 lib/services/upstart.c services_set_op_pending(op, NULL); NULL 419 lib/services/upstart.c char *job = NULL; NULL 425 lib/services/upstart.c DBusMessage *msg = NULL; NULL 426 lib/services/upstart.c DBusMessage *reply = 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, __FUNCTION__, __LINE__)) { NULL 540 lib/services/upstart.c const char *path = NULL; NULL 542 lib/services/upstart.c dbus_message_get_args (reply, NULL, NULL 28 lib/transition/graph.c crm_graph_functions_t *graph_fns = NULL; NULL 33 lib/transition/graph.c GListPtr lpc = NULL; NULL 40 lib/transition/graph.c for (lpc = synapse->inputs; lpc != NULL; lpc = lpc->next) { NULL 65 lib/transition/graph.c GListPtr lpc = NULL; NULL 73 lib/transition/graph.c for (lpc = synapse->actions; lpc != NULL; lpc = lpc->next) { NULL 106 lib/transition/graph.c GListPtr lpc = NULL; NULL 108 lib/transition/graph.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { NULL 133 lib/transition/graph.c GListPtr lpc = NULL; NULL 141 lib/transition/graph.c for (lpc = synapse->inputs; lpc != NULL; lpc = lpc->next) { NULL 156 lib/transition/graph.c for (lpc = synapse->actions; synapse->ready && lpc != NULL; lpc = lpc->next) { NULL 179 lib/transition/graph.c const char *id = NULL; NULL 184 lib/transition/graph.c CRM_CHECK(id != NULL, return FALSE); NULL 196 lib/transition/graph.c const char *task = NULL; NULL 199 lib/transition/graph.c CRM_CHECK(task != NULL, return FALSE); NULL 217 lib/transition/graph.c GListPtr lpc = NULL; NULL 219 lib/transition/graph.c CRM_CHECK(synapse != NULL, return FALSE); NULL 225 lib/transition/graph.c for (lpc = synapse->actions; lpc != NULL; lpc = lpc->next) { NULL 249 lib/transition/graph.c GListPtr lpc = NULL; NULL 255 lib/transition/graph.c if (graph_fns == NULL) { NULL 258 lib/transition/graph.c if (graph == NULL) { NULL 270 lib/transition/graph.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { NULL 284 lib/transition/graph.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { NULL 34 lib/transition/unpack.c crm_action_t *action = NULL; NULL 37 lib/transition/unpack.c if (value == NULL) { NULL 40 lib/transition/unpack.c return NULL; NULL 44 lib/transition/unpack.c if (action == NULL) { NULL 47 lib/transition/unpack.c return NULL; NULL 50 lib/transition/unpack.c action->id = crm_parse_int(value, NULL); NULL 68 lib/transition/unpack.c if (value != NULL) { NULL 69 lib/transition/unpack.c action->timeout = crm_parse_int(value, NULL); NULL 74 lib/transition/unpack.c if (value != NULL) { NULL 75 lib/transition/unpack.c action->timeout += crm_parse_int(value, NULL); NULL 79 lib/transition/unpack.c if (value != NULL) { NULL 80 lib/transition/unpack.c action->interval = crm_parse_int(value, NULL); NULL 84 lib/transition/unpack.c if (value != NULL) { NULL 96 lib/transition/unpack.c const char *value = NULL; NULL 97 lib/transition/unpack.c xmlNode *inputs = NULL; NULL 98 lib/transition/unpack.c xmlNode *action_set = NULL; NULL 99 lib/transition/unpack.c synapse_t *new_synapse = NULL; NULL 101 lib/transition/unpack.c CRM_CHECK(xml_synapse != NULL, return NULL); NULL 105 lib/transition/unpack.c new_synapse->id = crm_parse_int(ID(xml_synapse), NULL); NULL 108 lib/transition/unpack.c if (value != NULL) { NULL 109 lib/transition/unpack.c new_synapse->priority = crm_parse_int(value, NULL); NULL 113 lib/transition/unpack.c return NULL); NULL 119 lib/transition/unpack.c for (action_set = __xml_first_child(xml_synapse); action_set != NULL; NULL 122 lib/transition/unpack.c xmlNode *action = NULL; NULL 124 lib/transition/unpack.c for (action = __xml_first_child(action_set); action != NULL; NULL 128 lib/transition/unpack.c if (new_action == NULL) { NULL 143 lib/transition/unpack.c for (inputs = __xml_first_child(xml_synapse); inputs != NULL; inputs = __xml_next(inputs)) { NULL 145 lib/transition/unpack.c xmlNode *trigger = NULL; NULL 147 lib/transition/unpack.c for (trigger = __xml_first_child(inputs); trigger != NULL; NULL 149 lib/transition/unpack.c xmlNode *input = NULL; NULL 151 lib/transition/unpack.c for (input = __xml_first_child(trigger); input != NULL; input = __xml_next(input)) { NULL 154 lib/transition/unpack.c if (new_input == NULL) { NULL 184 lib/transition/unpack.c crm_graph_t *new_graph = NULL; NULL 185 lib/transition/unpack.c const char *t_id = NULL; NULL 186 lib/transition/unpack.c const char *time = NULL; NULL 187 lib/transition/unpack.c xmlNode *synapse = NULL; NULL 204 lib/transition/unpack.c if (xml_graph != NULL) { NULL 206 lib/transition/unpack.c CRM_CHECK(t_id != NULL, free(new_graph); NULL 207 lib/transition/unpack.c return NULL); NULL 211 lib/transition/unpack.c CRM_CHECK(time != NULL, free(new_graph); NULL 212 lib/transition/unpack.c return NULL); NULL 216 lib/transition/unpack.c if (time == NULL) { NULL 229 lib/transition/unpack.c for (synapse = __xml_first_child(xml_graph); synapse != NULL; synapse = __xml_next(synapse)) { NULL 233 lib/transition/unpack.c if (new_synapse != NULL) { NULL 282 lib/transition/unpack.c if (graph == NULL) { NULL 299 lib/transition/unpack.c xmlNode *xop = NULL; NULL 300 lib/transition/unpack.c lrmd_event_data_t *op = NULL; NULL 302 lib/transition/unpack.c const char *name = NULL; NULL 303 lib/transition/unpack.c const char *value = NULL; NULL 304 lib/transition/unpack.c xmlNode *action_resource = NULL; NULL 306 lib/transition/unpack.c CRM_CHECK(action != NULL, return NULL); NULL 307 lib/transition/unpack.c CRM_CHECK(action->type == action_type_rsc, return NULL); NULL 310 lib/transition/unpack.c CRM_CHECK(action_resource != NULL, crm_log_xml_warn(action->xml, "Bad"); NULL 311 lib/transition/unpack.c return NULL); NULL 321 lib/transition/unpack.c op->t_run = time(NULL); NULL 332 lib/transition/unpack.c for (xop = __xml_first_child(resource); xop != NULL; xop = __xml_next(xop)) { NULL 39 lib/transition/utils.c fail = crm_int_helper(fail_s, NULL); NULL 75 lib/transition/utils.c CRM_ASSERT(graph_fns != NULL); NULL 76 lib/transition/utils.c CRM_ASSERT(graph_fns->rsc != NULL); NULL 77 lib/transition/utils.c CRM_ASSERT(graph_fns->crmd != NULL); NULL 78 lib/transition/utils.c CRM_ASSERT(graph_fns->pseudo != NULL); NULL 79 lib/transition/utils.c CRM_ASSERT(graph_fns->stonith != NULL); NULL 122 lib/transition/utils.c GListPtr sIter = NULL; NULL 124 lib/transition/utils.c if (graph == NULL) { NULL 125 lib/transition/utils.c return NULL; NULL 128 lib/transition/utils.c for (sIter = graph->synapses; sIter != NULL; sIter = sIter->next) { NULL 129 lib/transition/utils.c GListPtr aIter = NULL; NULL 132 lib/transition/utils.c for (aIter = synapse->actions; aIter != NULL; aIter = aIter->next) { NULL 140 lib/transition/utils.c return NULL; NULL 146 lib/transition/utils.c GListPtr lpc = NULL; NULL 147 lib/transition/utils.c char *pending = NULL; NULL 164 lib/transition/utils.c for (lpc = synapse->inputs; lpc != NULL; lpc = lpc->next) { NULL 181 lib/transition/utils.c for (lpc = synapse->actions; lpc != NULL; lpc = lpc->next) { NULL 196 lib/transition/utils.c for (lpc = synapse->inputs; lpc != NULL; lpc = lpc->next) { NULL 201 lib/transition/utils.c if (find_action(graph, input->id) == NULL) { NULL 202 lib/transition/utils.c if (host == NULL) { NULL 219 lib/transition/utils.c print_synapse(log_level, NULL, action->synapse); NULL 225 lib/transition/utils.c GListPtr lpc = NULL; NULL 227 lib/transition/utils.c if (graph == NULL || graph->num_actions == 0) { NULL 239 lib/transition/utils.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { NULL 268 lib/transition/utils.c if (graph == NULL) { NULL 275 lib/transition/utils.c if (graph->abort_reason != 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 36 lrmd/ipc_proxy.c static qb_ipcs_service_t *cib_ro = NULL; NULL 37 lrmd/ipc_proxy.c static qb_ipcs_service_t *cib_rw = NULL; NULL 38 lrmd/ipc_proxy.c static qb_ipcs_service_t *cib_shm = NULL; NULL 40 lrmd/ipc_proxy.c static qb_ipcs_service_t *attrd_ipcs = NULL; NULL 41 lrmd/ipc_proxy.c static qb_ipcs_service_t *crmd_ipcs = NULL; NULL 42 lrmd/ipc_proxy.c static qb_ipcs_service_t *stonith_ipcs = NULL; NULL 45 lrmd/ipc_proxy.c static GHashTable *ipc_providers = NULL; NULL 47 lrmd/ipc_proxy.c static GHashTable *ipc_clients = NULL; NULL 64 lrmd/ipc_proxy.c gpointer key = NULL; NULL 65 lrmd/ipc_proxy.c gpointer value = NULL; NULL 72 lrmd/ipc_proxy.c return NULL; NULL 84 lrmd/ipc_proxy.c if (ipc_proxy == NULL) { NULL 92 lrmd/ipc_proxy.c if (client == NULL) { NULL 103 lrmd/ipc_proxy.c msg = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 173 lrmd/ipc_proxy.c if (ipc_client == NULL) { NULL 174 lrmd/ipc_proxy.c xmlNode *msg = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 227 lrmd/ipc_proxy.c xmlNode *request = NULL; NULL 228 lrmd/ipc_proxy.c xmlNode *msg = NULL; NULL 252 lrmd/ipc_proxy.c CRM_CHECK(client != NULL, crm_err("Invalid client"); NULL 254 lrmd/ipc_proxy.c CRM_CHECK(client->id != NULL, crm_err("Invalid client: %p", client); NULL 262 lrmd/ipc_proxy.c msg = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 286 lrmd/ipc_proxy.c xmlNode *msg = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 307 lrmd/ipc_proxy.c if (client == NULL) { NULL 316 lrmd/ipc_proxy.c xmlNode *msg = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 326 lrmd/ipc_proxy.c client->userdata = NULL; NULL 381 lrmd/ipc_proxy.c if (ipc_providers == NULL) { NULL 391 lrmd/ipc_proxy.c crm_client_t *ipc_client = NULL; NULL 392 lrmd/ipc_proxy.c char *key = NULL; NULL 393 lrmd/ipc_proxy.c GList *remove_these = NULL; NULL 394 lrmd/ipc_proxy.c GListPtr gIter = NULL; NULL 396 lrmd/ipc_proxy.c if (ipc_providers == NULL) { NULL 414 lrmd/ipc_proxy.c for (gIter = remove_these; gIter != NULL; gIter = gIter->next) { NULL 426 lrmd/ipc_proxy.c ipc_clients = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, NULL); NULL 427 lrmd/ipc_proxy.c ipc_providers = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, NULL); NULL 438 lrmd/ipc_proxy.c if (crmd_ipcs == NULL) { NULL 458 lrmd/ipc_proxy.c cib_ro = NULL; NULL 459 lrmd/ipc_proxy.c cib_rw = NULL; NULL 460 lrmd/ipc_proxy.c cib_shm = NULL; NULL 461 lrmd/ipc_proxy.c ipc_providers = NULL; NULL 462 lrmd/ipc_proxy.c ipc_clients = NULL; NULL 40 lrmd/lrmd.c GHashTable *rsc_list = NULL; NULL 150 lrmd/lrmd.c lrmd_rsc_t *rsc = NULL; NULL 169 lrmd/lrmd.c lrmd_cmd_t *cmd = NULL; NULL 192 lrmd/lrmd.c if (g_hash_table_lookup(cmd->params, "CRM_meta_isolation_instance") == NULL) { NULL 246 lrmd/lrmd.c CRM_ASSERT(rsc != NULL); NULL 266 lrmd/lrmd.c lrmd_rsc_t *rsc = NULL; NULL 269 lrmd/lrmd.c rsc = cmd->rsc_id ? g_hash_table_lookup(rsc_list, cmd->rsc_id) : NULL; NULL 281 lrmd/lrmd.c GListPtr gIter = NULL; NULL 282 lrmd/lrmd.c lrmd_cmd_t * dup = NULL; NULL 289 lrmd/lrmd.c for (gIter = rsc->pending_ops; gIter != NULL; gIter = gIter->next) { NULL 299 lrmd/lrmd.c for (gIter = rsc->recurring_ops; gIter != NULL; gIter = gIter->next) { NULL 321 lrmd/lrmd.c cmd->userdata_str = NULL; NULL 345 lrmd/lrmd.c CRM_CHECK(cmd != NULL, return); NULL 346 lrmd/lrmd.c CRM_CHECK(rsc != NULL, return); NULL 358 lrmd/lrmd.c cancel_all_recurring(rsc, NULL); NULL 379 lrmd/lrmd.c xmlNode *reply = NULL; NULL 381 lrmd/lrmd.c reply = create_xml_node(NULL, T_LRMD_REPLY); NULL 401 lrmd/lrmd.c if (client == NULL) { NULL 404 lrmd/lrmd.c } else if (client->name == NULL) { NULL 432 lrmd/lrmd.c if (now == NULL) { NULL 436 lrmd/lrmd.c if ((old == NULL) || (old->time == 0)) { NULL 475 lrmd/lrmd.c xmlNode *notify = NULL; NULL 478 lrmd/lrmd.c exec_time = time_diff_ms(NULL, &cmd->t_run); NULL 501 lrmd/lrmd.c notify = create_xml_node(NULL, T_LRMD_NOTIFY); NULL 531 lrmd/lrmd.c char *key = NULL; NULL 532 lrmd/lrmd.c char *value = NULL; NULL 548 lrmd/lrmd.c } else if (client_connections != NULL) { NULL 558 lrmd/lrmd.c if (client_connections != NULL) { NULL 560 lrmd/lrmd.c xmlNode *notify = NULL; NULL 567 lrmd/lrmd.c notify = create_xml_node(NULL, T_LRMD_NOTIFY); NULL 588 lrmd/lrmd.c cmd->exit_reason = NULL; NULL 590 lrmd/lrmd.c cmd->output = NULL; NULL 598 lrmd/lrmd.c rsc ? rsc->active : NULL, cmd); NULL 601 lrmd/lrmd.c rsc->active = NULL; NULL 646 lrmd/lrmd.c char *lower_std_output = NULL; NULL 661 lrmd/lrmd.c if (stdout_data == NULL) { NULL 774 lrmd/lrmd.c crm_client_t *client = NULL; NULL 776 lrmd/lrmd.c xmlNode *notify = NULL; NULL 777 lrmd/lrmd.c char *key = NULL; NULL 779 lrmd/lrmd.c notify = create_xml_node(NULL, T_LRMD_NOTIFY); NULL 798 lrmd/lrmd.c const char *cur = NULL; NULL 799 lrmd/lrmd.c const char *last = NULL; NULL 800 lrmd/lrmd.c char *reason = NULL; NULL 802 lrmd/lrmd.c char *eol = NULL; NULL 804 lrmd/lrmd.c if (output == NULL) { NULL 805 lrmd/lrmd.c return NULL; NULL 813 lrmd/lrmd.c for (; cur != NULL; cur = strstr(cur, PCMK_OCF_REASON_PREFIX)) { NULL 818 lrmd/lrmd.c if (last == NULL) { NULL 819 lrmd/lrmd.c return NULL; NULL 831 lrmd/lrmd.c if (eol != NULL) { NULL 842 lrmd/lrmd.c lrmd_rsc_t *rsc = NULL; NULL 843 lrmd/lrmd.c char *key = NULL; NULL 860 lrmd/lrmd.c const char *rclass = NULL; NULL 877 lrmd/lrmd.c rsc = cmd->rsc_id ? g_hash_table_lookup(rsc_list, cmd->rsc_id) : NULL; NULL 914 lrmd/lrmd.c int time_sum = time_diff_ms(NULL, &cmd->t_first_run); NULL 949 lrmd/lrmd.c int time_sum = time_diff_ms(NULL, &cmd->t_first_run); NULL 977 lrmd/lrmd.c rsc->active = NULL; NULL 1009 lrmd/lrmd.c lrmd_rsc_t *rsc = NULL; NULL 1065 lrmd/lrmd.c GList *cmd_list = NULL; NULL 1066 lrmd/lrmd.c GList *cmd_iter = NULL; NULL 1067 lrmd/lrmd.c lrmd_rsc_t *rsc = NULL; NULL 1068 lrmd/lrmd.c char *key = NULL; NULL 1082 lrmd/lrmd.c rsc->pending_ops = rsc->recurring_ops = NULL; NULL 1115 lrmd/lrmd.c char *key = NULL; NULL 1116 lrmd/lrmd.c char *value = NULL; NULL 1117 lrmd/lrmd.c stonith_key_value_t *device_params = NULL; NULL 1180 lrmd/lrmd.c svc_action_t *action = NULL; NULL 1181 lrmd/lrmd.c GHashTable *params_copy = NULL; NULL 1249 lrmd/lrmd.c action = NULL; NULL 1259 lrmd/lrmd.c lrmd_cmd_t *cmd = NULL; NULL 1261 lrmd/lrmd.c CRM_CHECK(rsc != NULL, return FALSE); NULL 1319 lrmd/lrmd.c GListPtr gIter = NULL; NULL 1324 lrmd/lrmd.c while (gIter != NULL) { NULL 1330 lrmd/lrmd.c cmd_finalize(cmd, NULL); NULL 1338 lrmd/lrmd.c while (gIter != NULL) { NULL 1349 lrmd/lrmd.c cmd_finalize(cmd, NULL); NULL 1376 lrmd/lrmd.c xmlNode *reply = create_xml_node(NULL, "reply"); NULL 1435 lrmd/lrmd.c xmlNode *reply = NULL; NULL 1436 lrmd/lrmd.c lrmd_rsc_t *rsc = NULL; NULL 1454 lrmd/lrmd.c reply = create_xml_node(NULL, T_LRMD_REPLY); NULL 1479 lrmd/lrmd.c lrmd_rsc_t *rsc = NULL; NULL 1507 lrmd/lrmd.c lrmd_rsc_t *rsc = NULL; NULL 1508 lrmd/lrmd.c lrmd_cmd_t *cmd = NULL; NULL 1535 lrmd/lrmd.c GListPtr gIter = NULL; NULL 1553 lrmd/lrmd.c for (gIter = rsc->pending_ops; gIter != NULL; gIter = gIter->next) { NULL 1566 lrmd/lrmd.c for (gIter = rsc->recurring_ops; gIter != NULL; gIter = gIter->next) { NULL 1591 lrmd/lrmd.c GList *cmd_list = NULL; NULL 1592 lrmd/lrmd.c GList *cmd_iter = NULL; NULL 1688 lrmd/lrmd.c CRM_LOG_ASSERT(data != NULL); NULL 28 lrmd/lrmd_alert_api.c if (inflight_alerts == NULL) { NULL 38 lrmd/lrmd_alert_api.c if (inflight_alerts != NULL) { NULL 52 lrmd/lrmd_alert_api.c while (g_hash_table_iter_next(&iter, NULL, &timeout)) { NULL 77 lrmd/lrmd_alert_api.c action->cb_data = NULL; NULL 88 lrmd/lrmd_alert_api.c svc_action_t *action = NULL; NULL 91 lrmd/lrmd_alert_api.c GHashTable *params = NULL; NULL 92 lrmd/lrmd_alert_api.c struct alert_cb_s *cb_data = NULL; NULL 94 lrmd/lrmd_alert_api.c if ((alert_id == NULL) || (alert_path == NULL)) { NULL 110 lrmd/lrmd_alert_api.c CRM_CHECK(cb_data != NULL, NULL 114 lrmd/lrmd_alert_api.c CRM_CHECK(cb_data->client_id != NULL, NULL 162 lrmd/lrmd_alert_api.c if (inflight_alerts == NULL) { NULL 185 lrmd/lrmd_alert_api.c inflight_alerts = NULL; NULL 42 lrmd/main.c GMainLoop *mainloop = NULL; NULL 43 lrmd/main.c static qb_ipcs_service_t *ipcs = NULL; NULL 44 lrmd/main.c stonith_t *stonith_api = NULL; NULL 70 lrmd/main.c stonith_api = NULL; NULL 79 lrmd/main.c rc = stonith_api->cmds->connect(stonith_api, "lrmd", NULL); NULL 94 lrmd/main.c stonith_api = NULL; NULL 104 lrmd/main.c if (crm_client_new(c, uid, gid) == NULL) { NULL 116 lrmd/main.c CRM_ASSERT(new_client != NULL); NULL 131 lrmd/main.c CRM_CHECK(client != NULL, crm_err("Invalid client"); NULL 133 lrmd/main.c CRM_CHECK(client->id != NULL, crm_err("Invalid client: %p", client); NULL 146 lrmd/main.c if (value == NULL) { NULL 183 lrmd/main.c if (shutting_down && (ipc_proxy_get_provider() == NULL)) { NULL 184 lrmd/main.c lrmd_exit(NULL); NULL 194 lrmd/main.c if (client == NULL) { NULL 247 lrmd/main.c if (client->ipcs == NULL) { NULL 254 lrmd/main.c if (client->remote == NULL) { NULL 346 lrmd/main.c shutdown_ack_timer = g_timeout_add_seconds(20, lrmd_exit, NULL); NULL 357 lrmd/main.c lrmd_exit(NULL); NULL 390 lrmd/main.c shutdown_ack_timer = g_timeout_add(0, lrmd_exit, NULL); NULL 451 lrmd/main.c sigprocmask(SIG_UNBLOCK, &set, NULL); NULL 469 lrmd/main.c char *LastArgv = NULL; NULL 477 lrmd/main.c for(i = 0; envp[i] != NULL; i++) { NULL 493 lrmd/main.c argv[1] = NULL; NULL 524 lrmd/main.c {"dummy", 0, 0, 'r', NULL, 1}, NULL 535 lrmd/main.c const char *option = NULL; NULL 542 lrmd/main.c crm_set_options(NULL, "[options]", long_options, NULL 546 lrmd/main.c crm_set_options(NULL, "[options]", long_options, NULL 580 lrmd/main.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); NULL 613 lrmd/main.c rsc_list = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, free_rsc); NULL 615 lrmd/main.c if (ipcs == NULL) { NULL 634 lrmd/main.c lrmd_exit(NULL); NULL 85 lrmd/remote_ctl.c GMainLoop *mainloop = NULL; NULL 86 lrmd/remote_ctl.c lrmd_t *lrmd_conn = NULL; NULL 93 lrmd/remote_ctl.c g_hash_table_destroy(proxy_table); proxy_table = NULL; NULL 102 lrmd/remote_ctl.c lrmd_conn = NULL; NULL 142 lrmd/remote_ctl.c client_start(NULL); NULL 191 lrmd/remote_ctl.c g_timeout_add(options.timeout, timeout_err, NULL); NULL 195 lrmd/remote_ctl.c char *output = NULL; NULL 218 lrmd/remote_ctl.c lrmd_rsc_info_t *rsc_info = NULL; NULL 221 lrmd/remote_ctl.c if (rsc_info == NULL) { NULL 235 lrmd/remote_ctl.c NULL, NULL 278 lrmd/remote_ctl.c char *key = NULL; NULL 279 lrmd/remote_ctl.c char *val = NULL; NULL 283 lrmd/remote_ctl.c crm_set_options(NULL, "mode [options]", long_options, NULL 332 lrmd/remote_ctl.c key = val = NULL; NULL 339 lrmd/remote_ctl.c key = val = NULL; NULL 378 lrmd/remote_ctl.c if (options.node_name == NULL) { NULL 383 lrmd/remote_ctl.c g_hash_table_new_full(crm_strcase_hash, crm_strcase_equal, NULL, remote_proxy_free); NULL 384 lrmd/remote_ctl.c lrmd_conn = lrmd_remote_api_new(NULL, options.tls_host ? options.tls_host : "localhost", options.port); NULL 385 lrmd/remote_ctl.c lrmd_internal_set_proxy_callback(lrmd_conn, NULL, ctl_remote_proxy_cb); NULL 389 lrmd/remote_ctl.c trig = mainloop_add_trigger(G_PRIORITY_HIGH, client_start, NULL); NULL 63 lrmd/test.c cib_t *cib_conn = NULL; NULL 91 lrmd/test.c GMainLoop *mainloop = NULL; NULL 92 lrmd/test.c lrmd_t *lrmd_conn = NULL; NULL 121 lrmd/test.c lrmd_conn = NULL; NULL 171 lrmd/test.c start_test(NULL); NULL 216 lrmd/test.c g_timeout_add(options.timeout, timeout_err, NULL); NULL 227 lrmd/test.c NULL, NULL 261 lrmd/test.c char *output = NULL; NULL 271 lrmd/test.c lrmd_list_t *list = NULL; NULL 272 lrmd/test.c lrmd_list_t *iter = NULL; NULL 278 lrmd/test.c for (iter = list; iter != NULL; iter = iter->next) { NULL 288 lrmd/test.c lrmd_list_t *list = NULL; NULL 289 lrmd/test.c lrmd_list_t *iter = NULL; NULL 295 lrmd/test.c for (iter = list; iter != NULL; iter = iter->next) { NULL 306 lrmd/test.c lrmd_list_t *list = NULL; NULL 307 lrmd/test.c lrmd_list_t *iter = NULL; NULL 313 lrmd/test.c for (iter = list; iter != NULL; iter = iter->next) { NULL 353 lrmd/test.c xmlNode *cib_xml_copy = NULL; NULL 354 lrmd/test.c resource_t *rsc = NULL; NULL 355 lrmd/test.c GHashTable *params = NULL; NULL 356 lrmd/test.c GHashTable *meta = NULL; NULL 373 lrmd/test.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); NULL 378 lrmd/test.c } else if (cib_xml_copy == NULL) { NULL 384 lrmd/test.c if (cli_config_update(&cib_xml_copy, NULL, FALSE) == FALSE) { NULL 391 lrmd/test.c data_set.now = crm_time_new(NULL); NULL 408 lrmd/test.c get_rsc_attributes(params, rsc, NULL, &data_set); NULL 409 lrmd/test.c get_meta_attributes(meta, rsc, NULL, &data_set); NULL 412 lrmd/test.c char *key = NULL; NULL 413 lrmd/test.c char *value = NULL; NULL 423 lrmd/test.c char *key = NULL; NULL 424 lrmd/test.c char *value = NULL; NULL 448 lrmd/test.c char *key = NULL; NULL 449 lrmd/test.c char *val = NULL; NULL 453 lrmd/test.c crm_set_options(NULL, "mode [options]", long_options, NULL 529 lrmd/test.c key = val = NULL; NULL 536 lrmd/test.c key = val = NULL; NULL 593 lrmd/test.c lrmd_conn = lrmd_remote_api_new(NULL, "localhost", 0); NULL 597 lrmd/test.c trig = mainloop_add_trigger(G_PRIORITY_HIGH, start_test, NULL); NULL 605 lrmd/test.c if (cib_conn != NULL) { NULL 58 lrmd/tls_backend.c xmlNode *request = NULL; NULL 141 lrmd/tls_backend.c if (client == NULL) { NULL 150 lrmd/tls_backend.c client_disconnect_cleanup(NULL); NULL 185 lrmd/tls_backend.c client->remote->source = NULL; NULL 195 lrmd/tls_backend.c gnutls_session_t *session = NULL; NULL 196 lrmd/tls_backend.c crm_client_t *new_client = NULL; NULL 209 lrmd/tls_backend.c if (session == NULL) { NULL 215 lrmd/tls_backend.c new_client = crm_client_alloc(NULL); NULL 299 lrmd/tls_backend.c struct addrinfo hints, *res = NULL, *iter; NULL 301 lrmd/tls_backend.c gnutls_datum_t psk_key = { NULL, 0 }; NULL 338 lrmd/tls_backend.c rc = getaddrinfo(NULL, port_str, &hints, &res); NULL 357 lrmd/tls_backend.c if (iter == NULL && filter == AF_INET6) { NULL 368 lrmd/tls_backend.c mainloop_add_fd("lrmd-remote", G_PRIORITY_DEFAULT, ssock, NULL, &remote_listen_fd_callbacks); NULL 159 mcp/corosync.c char *env_key = NULL; NULL 160 mcp/corosync.c const char *env_value = NULL; NULL 165 mcp/corosync.c *value = NULL; NULL 249 mcp/corosync.c *value = NULL; NULL 270 mcp/corosync.c const char *const_value = NULL; NULL 273 mcp/corosync.c char *value = NULL; NULL 341 mcp/corosync.c get_config_opt(config, local_handle, "name", &value, NULL); NULL 380 mcp/corosync.c char *debug_enabled = NULL; NULL 415 mcp/corosync.c char *logfile = NULL; NULL 416 mcp/corosync.c char *logfile_enabled = NULL; NULL 441 mcp/corosync.c char *syslog_enabled = NULL; NULL 442 mcp/corosync.c char *syslog_facility = NULL; NULL 472 mcp/corosync.c if (crm_user_lookup(CRM_DAEMON_USER, NULL, &gid) < 0) { NULL 41 mcp/pacemaker.c GMainLoop *mainloop = NULL; NULL 45 mcp/pacemaker.c const char *local_name = NULL; NULL 47 mcp/pacemaker.c crm_trigger_t *shutdown_trigger = NULL; NULL 68 mcp/pacemaker.c { 0, crm_proc_none, 0, 0, FALSE, "none", NULL, NULL }, NULL 69 mcp/pacemaker.c { 0, crm_proc_plugin, 0, 0, FALSE, "ais", NULL, NULL }, NULL 70 mcp/pacemaker.c { 0, crm_proc_lrmd, 3, 0, TRUE, "lrmd", NULL, CRM_DAEMON_DIR"/lrmd" }, NULL 74 mcp/pacemaker.c { 0, crm_proc_stonithd, 0, 0, TRUE, "stonithd", NULL, NULL }, NULL 76 mcp/pacemaker.c { 0, crm_proc_mgmtd, 0, 0, TRUE, "mgmtd", NULL, HB_DAEMON_DIR"/mgmtd" }, NULL 77 mcp/pacemaker.c { 0, crm_proc_stonith_ng, 2, 0, TRUE, "stonith-ng", NULL, CRM_DAEMON_DIR"/stonithd" }, NULL 90 mcp/pacemaker.c pcmk_children[pcmk_child_crmd].uid = NULL; NULL 134 mcp/pacemaker.c update_node_processes(local_nodeid, NULL, get_process_list()); NULL 144 mcp/pacemaker.c update_node_processes(local_nodeid, NULL, get_process_list()); NULL 205 mcp/pacemaker.c if (child->command == NULL) { NULL 228 mcp/pacemaker.c static char *opts_default[] = { NULL, NULL }; NULL 229 mcp/pacemaker.c static char *opts_vgrind[] = { NULL, NULL, NULL, NULL, NULL }; NULL 247 mcp/pacemaker.c if (child->command == NULL) { NULL 252 mcp/pacemaker.c if (env_callgrind != NULL && crm_is_true(env_callgrind)) { NULL 256 mcp/pacemaker.c } else if (env_callgrind != NULL && strstr(env_callgrind, child->name)) { NULL 260 mcp/pacemaker.c } else if (env_valgrind != NULL && crm_is_true(env_valgrind)) { NULL 263 mcp/pacemaker.c } else if (env_valgrind != NULL && strstr(env_valgrind, child->name)) { NULL 290 mcp/pacemaker.c update_node_processes(local_nodeid, NULL, get_process_list()); NULL 303 mcp/pacemaker.c opts_vgrind[4] = NULL; NULL 306 mcp/pacemaker.c opts_vgrind[2] = NULL; NULL 307 mcp/pacemaker.c opts_vgrind[3] = NULL; NULL 308 mcp/pacemaker.c opts_vgrind[4] = NULL; NULL 383 mcp/pacemaker.c g_timeout_add_seconds(5, check_active_before_startup_processes, NULL); NULL 397 mcp/pacemaker.c time_t now = time(NULL); NULL 458 mcp/pacemaker.c if (shutdown_trigger == NULL) { NULL 459 mcp/pacemaker.c shutdown_trigger = mainloop_add_trigger(G_PRIORITY_HIGH, pcmk_shutdown_worker, NULL); NULL 468 mcp/pacemaker.c if (crm_client_new(c, uid, gid) == NULL) { NULL 486 mcp/pacemaker.c const char *task = NULL; NULL 491 mcp/pacemaker.c if (msg == NULL) { NULL 506 mcp/pacemaker.c const char *name = NULL; NULL 531 mcp/pacemaker.c if (client == NULL) { NULL 564 mcp/pacemaker.c crm_node_t *node = NULL; NULL 565 mcp/pacemaker.c xmlNode *update = create_xml_node(NULL, "nodes"); NULL 572 mcp/pacemaker.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & node)) { NULL 588 mcp/pacemaker.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & client)) { NULL 648 mcp/pacemaker.c update_process_clients(NULL); NULL 674 mcp/pacemaker.c {NULL, 0, 0, 0} NULL 740 mcp/pacemaker.c while ((entry = readdir(dp)) != NULL) { NULL 757 mcp/pacemaker.c if (safe_str_eq(entry_name, name) && (crm_pid_active(pid, NULL) == 1)) { NULL 769 mcp/pacemaker.c NULL); NULL 834 mcp/pacemaker.c if (task == NULL) { NULL 843 mcp/pacemaker.c update_process_clients(NULL); NULL 849 mcp/pacemaker.c const char *name = NULL; NULL 856 mcp/pacemaker.c if (xml != NULL) { NULL 918 mcp/pacemaker.c crm_ipc_t *old_instance = NULL; NULL 919 mcp/pacemaker.c qb_ipcs_service_t *ipcs = NULL; NULL 923 mcp/pacemaker.c crm_log_preinit(NULL, argc, argv); NULL 924 mcp/pacemaker.c crm_set_options(NULL, "mode [options]", long_options, "Start/Stop Pacemaker\n"); NULL 981 mcp/pacemaker.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); NULL 994 mcp/pacemaker.c create_request(CRM_OP_QUIT, NULL, NULL, CRM_SYSTEM_MCP, CRM_SYSTEM_MCP, NULL); NULL 997 mcp/pacemaker.c crm_ipc_send(old_instance, cmd, 0, 0, NULL); NULL 1086 mcp/pacemaker.c if (ipcs == NULL) { NULL 1146 mcp/pacemaker.c ipcs = NULL; NULL 161 pengine/allocate.c const char *value = NULL; NULL 162 pengine/allocate.c const char *old_value = NULL; NULL 179 pengine/allocate.c trigger_unfencing(rsc, node, "Device definition changed", NULL, data_set); NULL 204 pengine/allocate.c action_t *cancel = NULL; NULL 206 pengine/allocate.c char *key = NULL; NULL 207 pengine/allocate.c const char *task = NULL; NULL 208 pengine/allocate.c const char *call_id = NULL; NULL 209 pengine/allocate.c const char *interval_s = NULL; NULL 211 pengine/allocate.c CRM_CHECK(xml_op != NULL, return); NULL 212 pengine/allocate.c CRM_CHECK(active_node != NULL, return); NULL 238 pengine/allocate.c custom_action_order(rsc, stop_key(rsc), NULL, rsc, NULL, cancel, pe_order_optional, data_set); NULL 240 pengine/allocate.c key = NULL; NULL 247 pengine/allocate.c char *key = NULL; NULL 249 pengine/allocate.c const char *interval_s = NULL; NULL 250 pengine/allocate.c const op_digest_cache_t *digest_data = NULL; NULL 254 pengine/allocate.c const char *digest_secure = NULL; NULL 256 pengine/allocate.c CRM_CHECK(active_node != NULL, return FALSE); NULL 265 pengine/allocate.c xmlNode *op_match = NULL; NULL 273 pengine/allocate.c if (op_match == NULL && is_set(data_set->flags, pe_flag_stop_action_orphans)) { NULL 278 pengine/allocate.c } else if (op_match == NULL) { NULL 284 pengine/allocate.c key = NULL; NULL 319 pengine/allocate.c pe_action_t *required = NULL; NULL 324 pengine/allocate.c required = custom_action(rsc, key, task, NULL, TRUE, TRUE, data_set); NULL 325 pengine/allocate.c pe_action_set_flag_reason(__FUNCTION__, __LINE__, required, NULL, NULL 328 pengine/allocate.c trigger_unfencing(rsc, active_node, "Device parameters changed", NULL, data_set); NULL 335 pengine/allocate.c trigger_unfencing(rsc, active_node, "Device parameters changed (reload)", NULL, data_set); NULL 340 pengine/allocate.c action_t *op = NULL; NULL 351 pengine/allocate.c } else if (digest_restart && rsc->isolation_wrapper == NULL && (uber_parent(rsc))->isolation_wrapper == NULL) { NULL 359 pengine/allocate.c pe_action_t *required = NULL; NULL 365 pengine/allocate.c required = custom_action(rsc, key, task, NULL, TRUE, TRUE, data_set); NULL 366 pengine/allocate.c pe_action_set_flag_reason(__FUNCTION__, __LINE__, required, NULL, NULL 378 pengine/allocate.c GListPtr gIter = NULL; NULL 384 pengine/allocate.c const char *task = NULL; NULL 385 pengine/allocate.c const char *interval_s = NULL; NULL 387 pengine/allocate.c xmlNode *rsc_op = NULL; NULL 388 pengine/allocate.c GListPtr op_list = NULL; NULL 389 pengine/allocate.c GListPtr sorted_op_list = NULL; NULL 393 pengine/allocate.c CRM_CHECK(node != NULL, return); NULL 397 pengine/allocate.c if(parent == NULL NULL 407 pengine/allocate.c } else if (pe_find_node_id(rsc->running_on, node->details->id) == NULL) { NULL 422 pengine/allocate.c for (rsc_op = __xml_first_child(rsc_entry); rsc_op != NULL; rsc_op = __xml_next_element(rsc_op)) { NULL 431 pengine/allocate.c for (gIter = sorted_op_list; gIter != NULL; gIter = gIter->next) { NULL 464 pengine/allocate.c if (did_change && pe_get_failcount(node, rsc, NULL, pe_fc_effective, NULL 465 pengine/allocate.c NULL, data_set)) { NULL 467 pengine/allocate.c char *key = NULL; NULL 468 pengine/allocate.c action_t *action_clear = NULL; NULL 489 pengine/allocate.c GListPtr gIter = NULL; NULL 492 pengine/allocate.c if (id == NULL) { NULL 493 pengine/allocate.c return NULL; NULL 495 pengine/allocate.c } else if (rsc == NULL && data_set) { NULL 497 pengine/allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 500 pengine/allocate.c result = find_rsc_list(result, child, id, renamed_clones, partial, NULL); NULL 505 pengine/allocate.c } else if (rsc == NULL) { NULL 506 pengine/allocate.c return NULL; NULL 532 pengine/allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 535 pengine/allocate.c result = find_rsc_list(result, child, id, renamed_clones, partial, NULL); NULL 545 pengine/allocate.c const char *id = NULL; NULL 546 pengine/allocate.c node_t *node = NULL; NULL 547 pengine/allocate.c xmlNode *lrm_rscs = NULL; NULL 550 pengine/allocate.c xmlNode *node_state = NULL; NULL 552 pengine/allocate.c for (node_state = __xml_first_child(status); node_state != NULL; NULL 561 pengine/allocate.c if (node == NULL) { NULL 573 pengine/allocate.c xmlNode *rsc_entry = NULL; NULL 575 pengine/allocate.c for (rsc_entry = __xml_first_child(lrm_rscs); rsc_entry != NULL; NULL 580 pengine/allocate.c GListPtr gIter = NULL; NULL 581 pengine/allocate.c GListPtr result = NULL; NULL 584 pengine/allocate.c CRM_CHECK(rsc_id != NULL, return); NULL 586 pengine/allocate.c result = find_rsc_list(NULL, NULL, rsc_id, TRUE, FALSE, data_set); NULL 587 pengine/allocate.c for (gIter = result; gIter != NULL; gIter = gIter->next) { NULL 607 pengine/allocate.c GListPtr gIter = NULL; NULL 611 pengine/allocate.c for (gIter = data_set->placement_constraints; gIter != NULL; gIter = gIter->next) { NULL 663 pengine/allocate.c fail_count = pe_get_failcount(node, rsc, NULL, NULL 664 pengine/allocate.c pe_fc_effective|pe_fc_fillers, NULL, NULL 696 pengine/allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 709 pengine/allocate.c if (current == NULL) { NULL 711 pengine/allocate.c } else if (match != NULL || is_set(data_set->flags, pe_flag_symmetric_cluster)) { NULL 720 pengine/allocate.c node_t *nIter = NULL; NULL 725 pengine/allocate.c while (g_hash_table_iter_next(&iter, NULL, (void **)&nIter)) { NULL 747 pengine/allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 760 pengine/allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 792 pengine/allocate.c GListPtr gIter = NULL; NULL 796 pengine/allocate.c if (health_strategy == NULL || safe_str_eq(health_strategy, "none")) { NULL 843 pengine/allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 860 pengine/allocate.c for (; gIter2 != NULL; gIter2 = gIter2->next) { NULL 863 pengine/allocate.c rsc2node_new(health_strategy, rsc, system_health, NULL, node, data_set); NULL 876 pengine/allocate.c if (data_set->input == NULL) { NULL 898 pengine/allocate.c action_t *probe_node_complete = NULL; NULL 900 pengine/allocate.c for (GListPtr gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 921 pengine/allocate.c if (probed != NULL && crm_is_true(probed) == FALSE) { NULL 922 pengine/allocate.c action_t *probe_op = custom_action(NULL, crm_strdup_printf("%s-%s", CRM_OP_REPROBE, node->details->uname), NULL 929 pengine/allocate.c for (GListPtr gIter2 = data_set->resources; gIter2 != NULL; gIter2 = gIter2->next) { NULL 949 pengine/allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 969 pengine/allocate.c GListPtr gIter = NULL; NULL 974 pengine/allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 977 pengine/allocate.c if (node == NULL) { NULL 989 pengine/allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 990 pengine/allocate.c GListPtr gIter2 = NULL; NULL 994 pengine/allocate.c for (; gIter2 != NULL; gIter2 = gIter2->next) { NULL 1014 pengine/allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 1046 pengine/allocate.c node_t *r1_node = NULL; NULL 1047 pengine/allocate.c node_t *r2_node = NULL; NULL 1048 pengine/allocate.c GListPtr gIter = NULL; NULL 1049 pengine/allocate.c GHashTable *r1_nodes = NULL; NULL 1050 pengine/allocate.c GHashTable *r2_nodes = NULL; NULL 1052 pengine/allocate.c if (a == NULL && b == NULL) { NULL 1055 pengine/allocate.c if (a == NULL) { NULL 1058 pengine/allocate.c if (b == NULL) { NULL 1077 pengine/allocate.c if (nodes == NULL) { NULL 1082 pengine/allocate.c rsc_merge_weights(resource1, resource1->id, NULL, NULL, 1, NULL 1084 pengine/allocate.c dump_node_scores(LOG_TRACE, NULL, resource1->id, r1_nodes); NULL 1086 pengine/allocate.c rsc_merge_weights(resource2, resource2->id, NULL, NULL, 1, NULL 1088 pengine/allocate.c dump_node_scores(LOG_TRACE, NULL, resource2->id, r2_nodes); NULL 1098 pengine/allocate.c if (r1_node != NULL) { NULL 1105 pengine/allocate.c if (r2_node != NULL) { NULL 1121 pengine/allocate.c for (gIter = nodes; gIter != NULL; gIter = gIter->next) { NULL 1124 pengine/allocate.c r1_node = NULL; NULL 1125 pengine/allocate.c r2_node = NULL; NULL 1173 pengine/allocate.c GListPtr gIter = NULL; NULL 1178 pengine/allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 1193 pengine/allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 1199 pengine/allocate.c rsc->cmds->allocate(rsc, NULL, data_set); NULL 1216 pengine/allocate.c custom_action_order(lh_rsc, start_key(lh_rsc), NULL, NULL 1217 pengine/allocate.c rh_action->rsc, NULL, rh_action, NULL 1228 pengine/allocate.c custom_action_order(lh_action->rsc, NULL, lh_action, NULL 1229 pengine/allocate.c rh_rsc, stop_key(rh_rsc), NULL, NULL 1237 pengine/allocate.c GListPtr gIter = NULL; NULL 1248 pengine/allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 1252 pengine/allocate.c && pe_get_failcount(node, rsc, NULL, pe_fc_effective, NULL, NULL 1269 pengine/allocate.c custom_action_order(clear_op->rsc, NULL, clear_op, NULL 1270 pengine/allocate.c rsc, stop_key(rsc), NULL, NULL 1279 pengine/allocate.c GListPtr gIter = NULL; NULL 1284 pengine/allocate.c nodes = g_list_sort_with_data(nodes, sort_node_weight, NULL); NULL 1293 pengine/allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 1305 pengine/allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 1352 pengine/allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 1359 pengine/allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 1378 pengine/allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 1395 pengine/allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 1417 pengine/allocate.c pe_action_t *stop = NULL; NULL 1418 pengine/allocate.c pe_action_t *stonith_op = NULL; NULL 1432 pengine/allocate.c stop = find_first_action(container->actions, NULL, CRMD_ACTION_STOP, NULL); NULL 1434 pengine/allocate.c if (find_first_action(container->actions, NULL, CRMD_ACTION_START, NULL)) { NULL 1451 pengine/allocate.c pe_action_t *parent_stonith_op = pe_fence_op(stop->node, NULL, FALSE, NULL, data_set); NULL 1482 pengine/allocate.c action_t *dc_down = NULL; NULL 1483 pengine/allocate.c action_t *dc_fence = NULL; NULL 1484 pengine/allocate.c action_t *stonith_op = NULL; NULL 1485 pengine/allocate.c action_t *last_stonith = NULL; NULL 1491 pengine/allocate.c GListPtr stonith_ops = NULL; NULL 1511 pengine/allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 1524 pengine/allocate.c stonith_op = NULL; NULL 1529 pengine/allocate.c stonith_op = pe_fence_op(node, NULL, FALSE, "node is unclean", data_set); NULL 1555 pengine/allocate.c action_t *down_op = NULL; NULL 1559 pengine/allocate.c down_op = custom_action(NULL, crm_strdup_printf("%s-%s", CRM_OP_SHUTDOWN, node->details->uname), NULL 1570 pengine/allocate.c if (node->details->unclean && stonith_op == NULL) { NULL 1587 pengine/allocate.c if (dc_down != NULL) { NULL 1588 pengine/allocate.c GListPtr gIter = NULL; NULL 1595 pengine/allocate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { NULL 1617 pengine/allocate.c GListPtr gIter2 = NULL; NULL 1619 pengine/allocate.c for (gIter2 = stonith_ops; gIter2 != NULL; gIter2 = gIter2->next) { NULL 1653 pengine/allocate.c GListPtr list = NULL; NULL 1655 pengine/allocate.c list = find_actions(actions, original_key, NULL); NULL 1656 pengine/allocate.c if (list == NULL) { NULL 1658 pengine/allocate.c char *key = NULL; NULL 1659 pengine/allocate.c char *tmp = NULL; NULL 1660 pengine/allocate.c char *task = NULL; NULL 1668 pengine/allocate.c list = find_actions(actions, key, NULL); NULL 1685 pengine/allocate.c GListPtr gIter = NULL; NULL 1686 pengine/allocate.c GListPtr rh_actions = NULL; NULL 1687 pengine/allocate.c action_t *rh_action = NULL; NULL 1690 pengine/allocate.c CRM_CHECK(rsc != NULL, return); NULL 1691 pengine/allocate.c CRM_CHECK(order != NULL, return); NULL 1696 pengine/allocate.c if (rh_action != NULL) { NULL 1697 pengine/allocate.c rh_actions = g_list_prepend(NULL, rh_action); NULL 1699 pengine/allocate.c } else if (rsc != NULL) { NULL 1703 pengine/allocate.c if (rh_actions == NULL) { NULL 1719 pengine/allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 1739 pengine/allocate.c GListPtr gIter = NULL; NULL 1740 pengine/allocate.c GListPtr lh_actions = NULL; NULL 1745 pengine/allocate.c CRM_ASSERT(lh_rsc != NULL); NULL 1747 pengine/allocate.c if (lh_action != NULL) { NULL 1748 pengine/allocate.c lh_actions = g_list_prepend(NULL, lh_action); NULL 1750 pengine/allocate.c } else if (lh_action == NULL) { NULL 1754 pengine/allocate.c if (lh_actions == NULL && lh_rsc != rh_rsc) { NULL 1755 pengine/allocate.c char *key = NULL; NULL 1756 pengine/allocate.c char *rsc_id = NULL; NULL 1757 pengine/allocate.c char *op_type = NULL; NULL 1776 pengine/allocate.c lh_action = custom_action(lh_rsc, key, op_type, NULL, TRUE, TRUE, data_set); NULL 1777 pengine/allocate.c lh_actions = g_list_prepend(NULL, lh_action); NULL 1785 pengine/allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 1788 pengine/allocate.c if (rh_rsc == NULL && order->rh_action) { NULL 1826 pengine/allocate.c resource_t *remote_rsc = NULL; NULL 1827 pengine/allocate.c resource_t *container = NULL; NULL 1916 pengine/allocate.c resource_t *remote_rsc = NULL; NULL 1917 pengine/allocate.c node_t *cluster_node = NULL; NULL 1933 pengine/allocate.c if(remote_rsc->next_role == RSC_ROLE_STOPPED || remote_rsc->allocated_to == NULL) { NULL 1966 pengine/allocate.c } else if (cluster_node == NULL) { NULL 1991 pengine/allocate.c resource_t *remote_rsc = NULL; NULL 1992 pengine/allocate.c node_t *cluster_node = NULL; NULL 1998 pengine/allocate.c if (action->rsc == NULL) { NULL 2121 pengine/allocate.c for (GListPtr gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { NULL 2123 pengine/allocate.c resource_t *remote = NULL; NULL 2126 pengine/allocate.c if (action->rsc == NULL) { NULL 2138 pengine/allocate.c NULL, NULL 2142 pengine/allocate.c NULL, NULL 2150 pengine/allocate.c if (action->node == NULL) { NULL 2169 pengine/allocate.c if (remote == NULL) { NULL 2198 pengine/allocate.c GListPtr gIter = NULL; NULL 2200 pengine/allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 2245 pengine/allocate.c action_t *start = NULL; NULL 2246 pengine/allocate.c GListPtr actions = NULL; NULL 2247 pengine/allocate.c GListPtr probes = NULL; NULL 2248 pengine/allocate.c char *key = NULL; NULL 2251 pengine/allocate.c actions = find_actions(rsc->actions, key, NULL); NULL 2259 pengine/allocate.c if(start == NULL) { NULL 2265 pengine/allocate.c probes = find_actions(rsc->actions, key, NULL); NULL 2268 pengine/allocate.c for (actions = start->actions_before; actions != NULL; actions = actions->next) { NULL 2271 pengine/allocate.c GListPtr pIter = NULL; NULL 2276 pengine/allocate.c GListPtr clone_actions = NULL; NULL 2277 pengine/allocate.c for (clone_actions = first->actions_before; clone_actions != NULL; clone_actions = clone_actions->next) { NULL 2291 pengine/allocate.c if(first_rsc == NULL) { NULL 2305 pengine/allocate.c for (pIter = probes; pIter != NULL; pIter = pIter->next) { NULL 2319 pengine/allocate.c GListPtr gIter = NULL; NULL 2331 pengine/allocate.c for (gIter = data_set->ordering_constraints; gIter != NULL; gIter = gIter->next) { NULL 2337 pengine/allocate.c if (rsc != NULL) { NULL 2344 pengine/allocate.c if (rsc != NULL) { NULL 2354 pengine/allocate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { NULL 2364 pengine/allocate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { NULL 2371 pengine/allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 2387 pengine/allocate.c GListPtr gIter = NULL; NULL 2388 pengine/allocate.c const char *value = NULL; NULL 2393 pengine/allocate.c data_set->graph = create_xml_node(NULL, XML_TAG_GRAPH); NULL 2415 pengine/allocate.c if (crm_int_helper(value, NULL) > 0) { NULL 2428 pengine/allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 2444 pengine/allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 2482 pengine/allocate.c GListPtr gIter = NULL; NULL 2484 pengine/allocate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { NULL 2485 pengine/allocate.c char *node_name = NULL; NULL 2486 pengine/allocate.c char *task = NULL; NULL 2489 pengine/allocate.c if (action->rsc != NULL) { NULL 2509 pengine/allocate.c if(task == NULL) { NULL 2529 pengine/allocate.c if (data_set == NULL) { NULL 2536 pengine/allocate.c data_set->ordering_constraints = NULL; NULL 2541 pengine/allocate.c data_set->placement_constraints = NULL; NULL 2546 pengine/allocate.c data_set->colocation_constraints = NULL; NULL 2551 pengine/allocate.c data_set->ticket_constraints = NULL; NULL 39 pengine/clone.c CRM_ASSERT(resource1 != NULL); NULL 40 pengine/clone.c CRM_ASSERT(resource2 != NULL); NULL 48 pengine/clone.c node_t *ret = NULL; NULL 50 pengine/clone.c if (node != NULL && rsc->parent) { NULL 52 pengine/clone.c } else if(node != NULL) { NULL 67 pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 81 pengine/clone.c node_t *node1 = NULL; NULL 82 pengine/clone.c node_t *node2 = NULL; NULL 90 pengine/clone.c CRM_ASSERT(resource1 != NULL); NULL 91 pengine/clone.c CRM_ASSERT(resource2 != NULL); NULL 122 pengine/clone.c if (match == NULL || match->weight < 0) { NULL 124 pengine/clone.c node1 = NULL; NULL 132 pengine/clone.c if (match == NULL || match->weight < 0) { NULL 134 pengine/clone.c node2 = NULL; NULL 157 pengine/clone.c if (node1 == NULL && node2 == NULL) { NULL 163 pengine/clone.c if (node1 == NULL) { NULL 166 pengine/clone.c } else if (node2 == NULL) { NULL 185 pengine/clone.c if (node1 != NULL && node2 == NULL) { NULL 188 pengine/clone.c } else if (node1 == NULL && node2 != NULL) { NULL 193 pengine/clone.c if (node1 == NULL || node2 == NULL) { NULL 221 pengine/clone.c node_t *n = NULL; NULL 222 pengine/clone.c GListPtr gIter = NULL; NULL 223 pengine/clone.c GListPtr list1 = NULL; NULL 224 pengine/clone.c GListPtr list2 = NULL; NULL 226 pengine/clone.c g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, g_hash_destroy_str); NULL 228 pengine/clone.c g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, g_hash_destroy_str); NULL 323 pengine/clone.c if (node1 == NULL) { NULL 328 pengine/clone.c } else if (node2 == NULL) { NULL 366 pengine/clone.c node_t *local_node = NULL; NULL 368 pengine/clone.c if (node == NULL && rsc->allowed_nodes) { NULL 371 pengine/clone.c while (g_hash_table_iter_next(&iter, NULL, (void **)&local_node)) { NULL 374 pengine/clone.c return NULL; NULL 386 pengine/clone.c if (local_node == NULL) { NULL 409 pengine/clone.c return NULL; NULL 415 pengine/clone.c node_t *chosen = NULL; NULL 416 pengine/clone.c GHashTable *backup = NULL; NULL 424 pengine/clone.c return rsc->fns->location(rsc, NULL, FALSE); NULL 428 pengine/clone.c return NULL; NULL 439 pengine/clone.c if (local_prefer == NULL || local_prefer->weight < 0) { NULL 442 pengine/clone.c return NULL; NULL 446 pengine/clone.c can_run_instance(rsc, NULL, limit); NULL 458 pengine/clone.c chosen = NULL; NULL 459 pengine/clone.c backup = NULL; NULL 482 pengine/clone.c GListPtr gIter = NULL; NULL 485 pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 494 pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 517 pengine/clone.c for(GListPtr nIter = nodes; nIter != NULL; nIter = nIter->next) { NULL 537 pengine/clone.c for (GListPtr gIter = children; gIter != NULL && allocated < max; gIter = gIter->next) { NULL 567 pengine/clone.c for (GListPtr gIter = children; gIter != NULL; gIter = gIter->next) { NULL 574 pengine/clone.c if (local_node == NULL) { NULL 583 pengine/clone.c resource_location(child, NULL, -INFINITY, "clone_color:limit_reached", data_set); NULL 585 pengine/clone.c if (color_instance(child, NULL, max < available_nodes, per_host_max, data_set)) { NULL 599 pengine/clone.c GListPtr nodes = NULL; NULL 601 pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 606 pengine/clone.c return NULL; NULL 610 pengine/clone.c return NULL; NULL 619 pengine/clone.c for (GListPtr gIter = rsc->rsc_cons; gIter != NULL; gIter = gIter->next) { NULL 626 pengine/clone.c for (GListPtr gIter = rsc->rsc_cons_lhs; gIter != NULL; gIter = gIter->next) { NULL 639 pengine/clone.c nodes = g_list_sort_with_data(nodes, sort_node_weight, NULL); NULL 648 pengine/clone.c return NULL; NULL 655 pengine/clone.c GListPtr gIter = NULL; NULL 660 pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 669 pengine/clone.c CRM_ASSERT(active != NULL); NULL 670 pengine/clone.c CRM_ASSERT(starting != NULL); NULL 671 pengine/clone.c CRM_ASSERT(stopping != NULL); NULL 678 pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 716 pengine/clone.c action_t *match = NULL; NULL 717 pengine/clone.c GListPtr possible = NULL; NULL 718 pengine/clone.c GListPtr active = NULL; NULL 720 pengine/clone.c possible = find_actions(rsc->actions, key, NULL); NULL 725 pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 739 pengine/clone.c active = NULL; NULL 748 pengine/clone.c possible = NULL; NULL 764 pengine/clone.c char *key = NULL; NULL 765 pengine/clone.c action_t *stop = NULL; NULL 766 pengine/clone.c action_t *start = NULL; NULL 767 pengine/clone.c action_t *last_stop = NULL; NULL 768 pengine/clone.c action_t *last_start = NULL; NULL 769 pengine/clone.c GListPtr gIter = NULL; NULL 771 pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 781 pengine/clone.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 785 pengine/clone.c stop = find_rsc_action(child, key, active_only, NULL); NULL 789 pengine/clone.c start = find_rsc_action(child, key, active_only, NULL); NULL 813 pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 829 pengine/clone.c action_t *stop = NULL; NULL 830 pengine/clone.c action_t *stopped = NULL; NULL 832 pengine/clone.c action_t *start = NULL; NULL 833 pengine/clone.c action_t *started = NULL; NULL 837 pengine/clone.c for (GListPtr gIter = children; gIter != NULL; gIter = gIter->next) { NULL 861 pengine/clone.c if (start_notify != NULL && *start_notify == NULL) { NULL 873 pengine/clone.c if (stop_notify != NULL && *stop_notify == NULL) { NULL 885 pengine/clone.c resource_t *last_rsc = NULL; NULL 887 pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 905 pengine/clone.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 935 pengine/clone.c for (GListPtr gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 944 pengine/clone.c if (rsc->allocated_to != NULL) { NULL 948 pengine/clone.c native_assign_node(rsc, NULL, node, force); NULL 955 pengine/clone.c node_t *node = NULL; NULL 960 pengine/clone.c node = child_rsc->fns->location(child_rsc, NULL, current); NULL 984 pengine/clone.c resource_t *pair = NULL; NULL 985 pengine/clone.c GListPtr gIter = NULL; NULL 986 pengine/clone.c GListPtr scratch = NULL; NULL 987 pengine/clone.c node_t *local_node = NULL; NULL 989 pengine/clone.c local_node = local_child->fns->location(local_child, NULL, current); NULL 995 pengine/clone.c scratch = g_list_sort_with_data(scratch, sort_node_weight, NULL); NULL 998 pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1026 pengine/clone.c GListPtr gIter = NULL; NULL 1028 pengine/clone.c const char *interleave_s = NULL; NULL 1030 pengine/clone.c CRM_CHECK(constraint != NULL, return); NULL 1031 pengine/clone.c CRM_CHECK(rsc_lh != NULL, pe_err("rsc_lh was NULL for %s", constraint->id); return); NULL 1032 pengine/clone.c CRM_CHECK(rsc_rh != NULL, pe_err("rsc_rh was NULL for %s", constraint->id); return); NULL 1057 pengine/clone.c resource_t *rh_child = NULL; NULL 1067 pengine/clone.c assign_node(rsc_lh, NULL, TRUE); NULL 1076 pengine/clone.c GListPtr rhs = NULL; NULL 1079 pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1081 pengine/clone.c node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); NULL 1083 pengine/clone.c if (chosen != NULL && is_set_recursive(child_rsc, pe_rsc_block, TRUE) == FALSE) { NULL 1095 pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1122 pengine/clone.c char *task_mutable = NULL; NULL 1144 pengine/clone.c GListPtr gIter = NULL; NULL 1151 pengine/clone.c for (gIter = children; gIter != NULL; gIter = gIter->next) { NULL 1152 pengine/clone.c action_t *child_action = NULL; NULL 1155 pengine/clone.c child_action = find_first_action(child->actions, NULL, task_s, child->children ? NULL : node); NULL 1177 pengine/clone.c if (node == NULL) { NULL 1200 pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1210 pengine/clone.c GListPtr gIter = NULL; NULL 1211 pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 1216 pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1219 pengine/clone.c rsc->cmds->action_flags(op, NULL); NULL 1249 pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1259 pengine/clone.c clone_data->demote_notify = NULL; NULL 1261 pengine/clone.c clone_data->stop_notify = NULL; NULL 1263 pengine/clone.c clone_data->start_notify = NULL; NULL 1265 pengine/clone.c clone_data->promote_notify = NULL; NULL 1271 pengine/clone.c GListPtr gIter = NULL; NULL 1272 pengine/clone.c node_t *one = NULL; NULL 1273 pengine/clone.c GListPtr result = NULL; NULL 1278 pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1293 pengine/clone.c GListPtr gIter = NULL; NULL 1296 pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1299 pengine/clone.c if (*list == NULL || pe_find_node_id(*list, node->details->id) == NULL) { NULL 1312 pengine/clone.c GListPtr gIter = NULL; NULL 1315 pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1316 pengine/clone.c GListPtr gIter2 = NULL; NULL 1317 pengine/clone.c GListPtr known_list = NULL; NULL 1323 pengine/clone.c for (; gIter2 != NULL; gIter2 = gIter2->next) { NULL 1334 pengine/clone.c return NULL; NULL 1341 pengine/clone.c GListPtr gIter = NULL; NULL 1343 pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 1349 pengine/clone.c if (rsc->children == NULL) { NULL 1374 pengine/clone.c resource_t *child = NULL; NULL 1384 pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1385 pengine/clone.c node_t *local_node = NULL; NULL 1389 pengine/clone.c local_node = child_rsc->fns->location(child_rsc, NULL, FALSE); NULL 1390 pengine/clone.c if (local_node == NULL) { NULL 1406 pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1426 pengine/clone.c char *name = NULL; NULL 1427 pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 46 pengine/constraints.c if(__rsc == NULL) { \ NULL 62 pengine/constraints.c xmlNode *xml_obj = NULL; NULL 63 pengine/constraints.c xmlNode *lifetime = NULL; NULL 65 pengine/constraints.c for (xml_obj = __xml_first_child(xml_constraints); xml_obj != NULL; NULL 70 pengine/constraints.c if (id == NULL) { NULL 84 pengine/constraints.c if (test_ruleset(lifetime, NULL, data_set->now) == FALSE) { NULL 135 pengine/constraints.c return NULL; NULL 144 pengine/constraints.c if (kind == NULL) { NULL 180 pengine/constraints.c GListPtr rIter = NULL; NULL 184 pengine/constraints.c resource_t *match = parent->fns->find_rsc(parent, id, NULL, NULL 187 pengine/constraints.c if (match != NULL) { NULL 197 pengine/constraints.c return NULL; NULL 205 pengine/constraints.c *tag = NULL; NULL 207 pengine/constraints.c NULL, (gpointer*) tag); NULL 211 pengine/constraints.c NULL, (gpointer*) tag); NULL 217 pengine/constraints.c } else if (*tag == NULL) { NULL 222 pengine/constraints.c } else if (*tag == NULL) { NULL 237 pengine/constraints.c *rsc = NULL; NULL 245 pengine/constraints.c *tag = NULL; NULL 256 pengine/constraints.c resource_t *rsc_then = NULL; NULL 257 pengine/constraints.c resource_t *rsc_first = NULL; NULL 263 pengine/constraints.c const char *id_first = NULL; NULL 264 pengine/constraints.c const char *id_then = NULL; NULL 265 pengine/constraints.c const char *action_then = NULL; NULL 266 pengine/constraints.c const char *action_first = NULL; NULL 267 pengine/constraints.c const char *instance_then = NULL; NULL 268 pengine/constraints.c const char *instance_first = NULL; NULL 269 pengine/constraints.c const char *require_all_s = NULL; NULL 276 pengine/constraints.c if (xml_obj == NULL) { NULL 280 pengine/constraints.c } else if (id == NULL) { NULL 294 pengine/constraints.c if (action_first == NULL) { NULL 297 pengine/constraints.c if (action_then == NULL) { NULL 301 pengine/constraints.c if (id_then == NULL || id_first == NULL) { NULL 310 pengine/constraints.c if (rsc_then == NULL) { NULL 314 pengine/constraints.c } else if (rsc_first == NULL) { NULL 333 pengine/constraints.c if (rsc_then == NULL) { NULL 342 pengine/constraints.c if (rsc_first == NULL) { NULL 383 pengine/constraints.c GListPtr rIter = NULL; NULL 397 pengine/constraints.c custom_action_order(child, generate_op_key(child->id, action_first, 0), NULL, NULL 398 pengine/constraints.c NULL, NULL, unordered_action, NULL 404 pengine/constraints.c order_id = custom_action_order(NULL, NULL, unordered_action, NULL 405 pengine/constraints.c rsc_then, generate_op_key(rsc_then->id, action_then, 0), NULL, NULL 427 pengine/constraints.c if (action_then == NULL || action_first == NULL) { NULL 452 pengine/constraints.c xmlNode *new_xml = NULL; NULL 453 pengine/constraints.c xmlNode *set = NULL; NULL 455 pengine/constraints.c const char *cons_id = NULL; NULL 457 pengine/constraints.c *expanded_xml = NULL; NULL 459 pengine/constraints.c if (xml_obj == NULL) { NULL 467 pengine/constraints.c for (set = __xml_first_child(new_xml); set != NULL; set = __xml_next_element(set)) { NULL 468 pengine/constraints.c xmlNode *xml_rsc = NULL; NULL 469 pengine/constraints.c GListPtr tag_refs = NULL; NULL 470 pengine/constraints.c GListPtr gIter = NULL; NULL 476 pengine/constraints.c for (xml_rsc = __xml_first_child(set); xml_rsc != NULL; xml_rsc = __xml_next_element(xml_rsc)) { NULL 477 pengine/constraints.c resource_t *rsc = NULL; NULL 478 pengine/constraints.c tag_t *tag = NULL; NULL 519 pengine/constraints.c for (gIter = tag->refs; gIter != NULL; gIter = gIter->next) { NULL 521 pengine/constraints.c xmlNode *new_rsc_ref = NULL; NULL 523 pengine/constraints.c new_rsc_ref = xmlNewDocRawNode(getDocPtr(set), NULL, NULL 524 pengine/constraints.c (const xmlChar *)XML_TAG_RESOURCE_REF, NULL); NULL 551 pengine/constraints.c for (gIter = tag_refs; gIter != NULL; gIter = gIter->next) { NULL 572 pengine/constraints.c const char *cons_id = NULL; NULL 573 pengine/constraints.c const char *id = NULL; NULL 575 pengine/constraints.c resource_t *rsc = NULL; NULL 576 pengine/constraints.c tag_t *tag = NULL; NULL 578 pengine/constraints.c *rsc_set = NULL; NULL 580 pengine/constraints.c if (xml_obj == NULL) { NULL 585 pengine/constraints.c if (attr == NULL) { NULL 591 pengine/constraints.c if (cons_id == NULL) { NULL 597 pengine/constraints.c if (id == NULL) { NULL 606 pengine/constraints.c GListPtr gIter = NULL; NULL 614 pengine/constraints.c for (gIter = tag->refs; gIter != NULL; gIter = gIter->next) { NULL 616 pengine/constraints.c xmlNode *rsc_ref = NULL; NULL 628 pengine/constraints.c xmlNode *rsc_ref = NULL; NULL 660 pengine/constraints.c return unpack_rsc_location(xml_obj, rsc_lh, NULL, NULL, data_set, NULL); NULL 667 pengine/constraints.c GListPtr rIter = NULL; NULL 684 pengine/constraints.c regmatch_t *pmatch = NULL; NULL 708 pengine/constraints.c unpack_rsc_location(xml_obj, r, NULL, NULL, data_set, &match_data); NULL 712 pengine/constraints.c unpack_rsc_location(xml_obj, r, NULL, NULL, data_set, NULL); NULL 733 pengine/constraints.c rsc_to_node_t *location = NULL; NULL 739 pengine/constraints.c if (rsc_lh == NULL) { NULL 745 pengine/constraints.c if (score == NULL) { NULL 749 pengine/constraints.c if (node != NULL && score != NULL) { NULL 759 pengine/constraints.c xmlNode *rule_xml = NULL; NULL 761 pengine/constraints.c for (rule_xml = __xml_first_child(xml_obj); rule_xml != NULL; NULL 776 pengine/constraints.c if (role == NULL) { NULL 807 pengine/constraints.c const char *id = NULL; NULL 808 pengine/constraints.c const char *id_lh = NULL; NULL 809 pengine/constraints.c const char *state_lh = NULL; NULL 811 pengine/constraints.c resource_t *rsc_lh = NULL; NULL 813 pengine/constraints.c tag_t *tag_lh = NULL; NULL 815 pengine/constraints.c xmlNode *new_xml = NULL; NULL 816 pengine/constraints.c xmlNode *rsc_set_lh = NULL; NULL 818 pengine/constraints.c *expanded_xml = NULL; NULL 820 pengine/constraints.c if (xml_obj == NULL) { NULL 826 pengine/constraints.c if (id == NULL) { NULL 841 pengine/constraints.c if (id_lh == NULL) { NULL 885 pengine/constraints.c xmlNode *xml_rsc = NULL; NULL 886 pengine/constraints.c resource_t *resource = NULL; NULL 891 pengine/constraints.c if (set == NULL) { NULL 897 pengine/constraints.c if (set_id == NULL) { NULL 905 pengine/constraints.c for (xml_rsc = __xml_first_child(set); xml_rsc != NULL; xml_rsc = __xml_next_element(xml_rsc)) { NULL 908 pengine/constraints.c unpack_rsc_location(location, resource, role, local_score, data_set, NULL); NULL 918 pengine/constraints.c xmlNode *set = NULL; NULL 921 pengine/constraints.c xmlNode *orig_xml = NULL; NULL 922 pengine/constraints.c xmlNode *expanded_xml = NULL; NULL 933 pengine/constraints.c for (set = __xml_first_child(xml_obj); set != NULL; set = __xml_next_element(set)) { NULL 963 pengine/constraints.c if (score == NULL) { NULL 972 pengine/constraints.c if (attr_score == NULL) { NULL 990 pengine/constraints.c const char *rule_id = NULL; NULL 991 pengine/constraints.c const char *score = NULL; NULL 992 pengine/constraints.c const char *boolean = NULL; NULL 993 pengine/constraints.c const char *role = NULL; NULL 995 pengine/constraints.c GListPtr gIter = NULL; NULL 996 pengine/constraints.c GListPtr match_L = NULL; NULL 1003 pengine/constraints.c rsc_to_node_t *location_rule = NULL; NULL 1012 pengine/constraints.c if (role != NULL && text2role(role) == RSC_ROLE_UNKNOWN) { NULL 1014 pengine/constraints.c return NULL; NULL 1018 pengine/constraints.c if (score == NULL) { NULL 1020 pengine/constraints.c if (score != NULL) { NULL 1028 pengine/constraints.c location_rule = rsc2node_new(rule_id, rsc, 0, discovery, NULL, data_set); NULL 1030 pengine/constraints.c if (location_rule == NULL) { NULL 1031 pengine/constraints.c return NULL; NULL 1045 pengine/constraints.c if (role != NULL) { NULL 1056 pengine/constraints.c GListPtr gIter = NULL; NULL 1059 pengine/constraints.c for (gIter = match_L; gIter != NULL; gIter = gIter->next) { NULL 1066 pengine/constraints.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 1083 pengine/constraints.c if (local == NULL && do_and) { NULL 1086 pengine/constraints.c } else if (local == NULL) { NULL 1100 pengine/constraints.c if (delete != NULL) { NULL 1113 pengine/constraints.c if (location_rule->node_list_rh == NULL) { NULL 1115 pengine/constraints.c return NULL; NULL 1128 pengine/constraints.c if (a == NULL) { NULL 1131 pengine/constraints.c if (b == NULL) { NULL 1135 pengine/constraints.c CRM_ASSERT(rsc_constraint1->rsc_lh != NULL); NULL 1136 pengine/constraints.c CRM_ASSERT(rsc_constraint1->rsc_rh != NULL); NULL 1162 pengine/constraints.c if (a == NULL) { NULL 1165 pengine/constraints.c if (b == NULL) { NULL 1169 pengine/constraints.c CRM_ASSERT(rsc_constraint1->rsc_lh != NULL); NULL 1170 pengine/constraints.c CRM_ASSERT(rsc_constraint1->rsc_rh != NULL); NULL 1195 pengine/constraints.c const char *first_tasks[] = { NULL, NULL }; NULL 1196 pengine/constraints.c const char *then_tasks[] = { NULL, NULL }; NULL 1224 pengine/constraints.c for (first_lpc = 0; first_lpc <= 1 && first_tasks[first_lpc] != NULL; first_lpc++) { NULL 1225 pengine/constraints.c for (then_lpc = 0; then_lpc <= 1 && then_tasks[then_lpc] != NULL; then_lpc++) { NULL 1237 pengine/constraints.c rsc_colocation_t *new_con = NULL; NULL 1239 pengine/constraints.c if (rsc_lh == NULL) { NULL 1243 pengine/constraints.c } else if (rsc_rh == NULL) { NULL 1249 pengine/constraints.c if (new_con == NULL) { NULL 1253 pengine/constraints.c if (state_lh == NULL || safe_str_eq(state_lh, RSC_ROLE_STARTED_S)) { NULL 1257 pengine/constraints.c if (state_rh == NULL || safe_str_eq(state_rh, RSC_ROLE_STARTED_S)) { NULL 1269 pengine/constraints.c if (node_attr == NULL) { NULL 1296 pengine/constraints.c char *lh_key = NULL; NULL 1297 pengine/constraints.c char *rh_key = NULL; NULL 1299 pengine/constraints.c CRM_CHECK(lh_rsc != NULL, return -1); NULL 1300 pengine/constraints.c CRM_CHECK(lh_task != NULL, return -1); NULL 1301 pengine/constraints.c CRM_CHECK(rh_rsc != NULL, return -1); NULL 1302 pengine/constraints.c CRM_CHECK(rh_task != NULL, return -1); NULL 1315 pengine/constraints.c return custom_action_order(lh_rsc, lh_key, NULL, rh_rsc, rh_key, NULL, type, data_set); NULL 1321 pengine/constraints.c char *res = NULL; NULL 1322 pengine/constraints.c char *rsc_id = NULL; NULL 1323 pengine/constraints.c char *op_type = NULL; NULL 1333 pengine/constraints.c op_type = NULL; NULL 1349 pengine/constraints.c char *lh_task = NULL; NULL 1350 pengine/constraints.c char *rh_task = NULL; NULL 1354 pengine/constraints.c if (order->lh_rsc == NULL || order->rh_rsc == NULL) { NULL 1381 pengine/constraints.c if (lh_task == NULL || rh_task == NULL) { NULL 1391 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_MIGRATED, 0), NULL, NULL 1392 pengine/constraints.c order->rh_rsc, generate_op_key(order->rh_rsc->id, RSC_MIGRATE, 0), NULL, NULL 1403 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_START, 0), NULL, NULL 1404 pengine/constraints.c order->rh_rsc, generate_op_key(order->rh_rsc->id, RSC_MIGRATE, 0), NULL, NULL 1418 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_STOP, 0), NULL, NULL 1419 pengine/constraints.c order->rh_rsc, generate_op_key(order->rh_rsc->id, RSC_MIGRATE, 0), NULL, NULL 1425 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_STOP, 0), NULL, NULL 1426 pengine/constraints.c order->rh_rsc, generate_op_key(order->rh_rsc->id, RSC_MIGRATED, 0), NULL, NULL 1436 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_PROMOTE, 0), NULL, NULL 1437 pengine/constraints.c order->rh_rsc, generate_op_key(order->rh_rsc->id, RSC_MIGRATE, 0), NULL, NULL 1447 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_DEMOTE, 0), NULL, NULL 1448 pengine/constraints.c order->rh_rsc, generate_op_key(order->rh_rsc->id, RSC_MIGRATE, 0), NULL, NULL 1454 pengine/constraints.c custom_action_order(order->lh_rsc, generate_op_key(order->lh_rsc->id, RSC_DEMOTE, 0), NULL, NULL 1455 pengine/constraints.c order->rh_rsc, generate_op_key(order->rh_rsc->id, RSC_MIGRATED, 0), NULL, NULL 1472 pengine/constraints.c order_constraint_t *order = NULL; NULL 1474 pengine/constraints.c if (lh_rsc == NULL && lh_action) { NULL 1477 pengine/constraints.c if (rh_rsc == NULL && rh_action) { NULL 1481 pengine/constraints.c if ((lh_action == NULL && lh_rsc == NULL) NULL 1482 pengine/constraints.c || (rh_action == NULL && rh_rsc == NULL)) { NULL 1506 pengine/constraints.c if (order->lh_action_task == NULL && lh_action) { NULL 1510 pengine/constraints.c if (order->rh_action_task == NULL && rh_action) { NULL 1514 pengine/constraints.c if (order->lh_rsc == NULL && lh_action) { NULL 1518 pengine/constraints.c if (order->rh_rsc == NULL && rh_action) { NULL 1572 pengine/constraints.c xmlNode *xml_rsc = NULL; NULL 1573 pengine/constraints.c GListPtr set_iter = NULL; NULL 1574 pengine/constraints.c GListPtr resources = NULL; NULL 1576 pengine/constraints.c resource_t *last = NULL; NULL 1577 pengine/constraints.c resource_t *resource = NULL; NULL 1583 pengine/constraints.c char *key = NULL; NULL 1595 pengine/constraints.c if (action == NULL) { NULL 1602 pengine/constraints.c if (sequential_s == NULL) { NULL 1613 pengine/constraints.c for (xml_rsc = __xml_first_child(set); xml_rsc != NULL; xml_rsc = __xml_next_element(xml_rsc)) { NULL 1623 pengine/constraints.c *end = NULL; NULL 1624 pengine/constraints.c *begin = NULL; NULL 1625 pengine/constraints.c *inv_end = NULL; NULL 1626 pengine/constraints.c *inv_begin = NULL; NULL 1636 pengine/constraints.c *rsc = NULL; NULL 1647 pengine/constraints.c while (set_iter != NULL) { NULL 1664 pengine/constraints.c GListPtr gIter = NULL; NULL 1666 pengine/constraints.c for (gIter = set_iter; gIter != NULL; gIter = gIter->next) { NULL 1670 pengine/constraints.c custom_action_order(resource, strdup(key), NULL, then_rsc, then_key, NULL, NULL 1675 pengine/constraints.c if (last != NULL) { NULL 1694 pengine/constraints.c last = NULL; NULL 1713 pengine/constraints.c while (set_iter != NULL) { NULL 1728 pengine/constraints.c if (last != NULL) { NULL 1745 pengine/constraints.c xmlNode *xml_rsc = NULL; NULL 1746 pengine/constraints.c xmlNode *xml_rsc_2 = NULL; NULL 1748 pengine/constraints.c resource_t *rsc_1 = NULL; NULL 1749 pengine/constraints.c resource_t *rsc_2 = NULL; NULL 1762 pengine/constraints.c if (action_1 == NULL) { NULL 1766 pengine/constraints.c if (action_2 == NULL) { NULL 1797 pengine/constraints.c for (xml_rsc = __xml_first_child(set1); xml_rsc != NULL; xml_rsc = __xml_next_element(xml_rsc)) { NULL 1806 pengine/constraints.c custom_action_order(rsc_1, generate_op_key(rsc_1->id, action_1, 0), NULL, NULL 1807 pengine/constraints.c NULL, NULL, unordered_action, NULL 1810 pengine/constraints.c for (xml_rsc_2 = __xml_first_child(set2); xml_rsc_2 != NULL; xml_rsc_2 = __xml_next_element(xml_rsc_2)) { NULL 1819 pengine/constraints.c custom_action_order(NULL, NULL, unordered_action, NULL 1820 pengine/constraints.c rsc_2, generate_op_key(rsc_2->id, action_2, 0), NULL, NULL 1830 pengine/constraints.c const char *rid = NULL; NULL 1832 pengine/constraints.c for (xml_rsc = __xml_first_child(set1); xml_rsc != NULL; xml_rsc = __xml_next_element(xml_rsc)) { NULL 1841 pengine/constraints.c for (xml_rsc = __xml_first_child(set1); xml_rsc != NULL; xml_rsc = __xml_next_element(xml_rsc)) { NULL 1853 pengine/constraints.c for (xml_rsc = __xml_first_child(set2); xml_rsc != NULL; xml_rsc = __xml_next_element(xml_rsc)) { NULL 1862 pengine/constraints.c const char *rid = NULL; NULL 1864 pengine/constraints.c for (xml_rsc = __xml_first_child(set2); xml_rsc != NULL; xml_rsc = __xml_next_element(xml_rsc)) { NULL 1873 pengine/constraints.c if (rsc_1 != NULL && rsc_2 != NULL) { NULL 1876 pengine/constraints.c } else if (rsc_1 != NULL) { NULL 1877 pengine/constraints.c for (xml_rsc = __xml_first_child(set2); xml_rsc != NULL; xml_rsc = __xml_next_element(xml_rsc)) { NULL 1884 pengine/constraints.c } else if (rsc_2 != NULL) { NULL 1885 pengine/constraints.c xmlNode *xml_rsc = NULL; NULL 1887 pengine/constraints.c for (xml_rsc = __xml_first_child(set1); xml_rsc != NULL; xml_rsc = __xml_next_element(xml_rsc)) { NULL 1895 pengine/constraints.c for (xml_rsc = __xml_first_child(set1); xml_rsc != NULL; xml_rsc = __xml_next_element(xml_rsc)) { NULL 1897 pengine/constraints.c xmlNode *xml_rsc_2 = NULL; NULL 1901 pengine/constraints.c for (xml_rsc_2 = __xml_first_child(set2); xml_rsc_2 != NULL; NULL 1918 pengine/constraints.c const char *id = NULL; NULL 1919 pengine/constraints.c const char *id_first = NULL; NULL 1920 pengine/constraints.c const char *id_then = NULL; NULL 1921 pengine/constraints.c const char *action_first = NULL; NULL 1922 pengine/constraints.c const char *action_then = NULL; NULL 1924 pengine/constraints.c resource_t *rsc_first = NULL; NULL 1925 pengine/constraints.c resource_t *rsc_then = NULL; NULL 1926 pengine/constraints.c tag_t *tag_first = NULL; NULL 1927 pengine/constraints.c tag_t *tag_then = NULL; NULL 1929 pengine/constraints.c xmlNode *new_xml = NULL; NULL 1930 pengine/constraints.c xmlNode *rsc_set_first = NULL; NULL 1931 pengine/constraints.c xmlNode *rsc_set_then = NULL; NULL 1934 pengine/constraints.c *expanded_xml = NULL; NULL 1936 pengine/constraints.c if (xml_obj == NULL) { NULL 1942 pengine/constraints.c if (id == NULL) { NULL 1958 pengine/constraints.c if (id_first == NULL || id_then == NULL) { NULL 2029 pengine/constraints.c resource_t *rsc = NULL; NULL 2035 pengine/constraints.c action_t *set_end = NULL; NULL 2036 pengine/constraints.c action_t *set_begin = NULL; NULL 2038 pengine/constraints.c action_t *set_inv_end = NULL; NULL 2039 pengine/constraints.c action_t *set_inv_begin = NULL; NULL 2041 pengine/constraints.c xmlNode *set = NULL; NULL 2042 pengine/constraints.c xmlNode *last = NULL; NULL 2044 pengine/constraints.c xmlNode *orig_xml = NULL; NULL 2045 pengine/constraints.c xmlNode *expanded_xml = NULL; NULL 2061 pengine/constraints.c if (invert == NULL) { NULL 2076 pengine/constraints.c for (set = __xml_first_child(xml_obj); set != NULL; set = __xml_next_element(set)) { NULL 2158 pengine/constraints.c xmlNode *xml_rsc = NULL; NULL 2159 pengine/constraints.c resource_t *with = NULL; NULL 2160 pengine/constraints.c resource_t *resource = NULL; NULL 2173 pengine/constraints.c if(ordering == NULL) { NULL 2177 pengine/constraints.c if (sequential != NULL && crm_is_true(sequential) == FALSE) { NULL 2181 pengine/constraints.c for (xml_rsc = __xml_first_child(set); xml_rsc != NULL; xml_rsc = __xml_next_element(xml_rsc)) { NULL 2184 pengine/constraints.c if (with != NULL) { NULL 2186 pengine/constraints.c rsc_colocation_new(set_id, NULL, local_score, resource, with, role, role, NULL 2194 pengine/constraints.c resource_t *last = NULL; NULL 2195 pengine/constraints.c for (xml_rsc = __xml_first_child(set); xml_rsc != NULL; xml_rsc = __xml_next_element(xml_rsc)) { NULL 2198 pengine/constraints.c if (last != NULL) { NULL 2200 pengine/constraints.c rsc_colocation_new(set_id, NULL, local_score, last, resource, role, role, NULL 2214 pengine/constraints.c for (xml_rsc = __xml_first_child(set); xml_rsc != NULL; xml_rsc = __xml_next_element(xml_rsc)) { NULL 2216 pengine/constraints.c xmlNode *xml_rsc_with = NULL; NULL 2220 pengine/constraints.c for (xml_rsc_with = __xml_first_child(set); xml_rsc_with != NULL; NULL 2225 pengine/constraints.c } else if (resource == NULL) { NULL 2233 pengine/constraints.c rsc_colocation_new(set_id, NULL, local_score, resource, with, role, role, NULL 2248 pengine/constraints.c xmlNode *xml_rsc = NULL; NULL 2249 pengine/constraints.c resource_t *rsc_1 = NULL; NULL 2250 pengine/constraints.c resource_t *rsc_2 = NULL; NULL 2258 pengine/constraints.c if (sequential_1 == NULL || crm_is_true(sequential_1)) { NULL 2260 pengine/constraints.c for (xml_rsc = __xml_first_child(set1); xml_rsc != NULL; xml_rsc = __xml_next_element(xml_rsc)) { NULL 2268 pengine/constraints.c if (sequential_2 == NULL || crm_is_true(sequential_2)) { NULL 2270 pengine/constraints.c const char *rid = NULL; NULL 2272 pengine/constraints.c for (xml_rsc = __xml_first_child(set2); xml_rsc != NULL; xml_rsc = __xml_next_element(xml_rsc)) { NULL 2280 pengine/constraints.c if (rsc_1 != NULL && rsc_2 != NULL) { NULL 2281 pengine/constraints.c rsc_colocation_new(id, NULL, score, rsc_1, rsc_2, role_1, role_2, data_set); NULL 2283 pengine/constraints.c } else if (rsc_1 != NULL) { NULL 2284 pengine/constraints.c for (xml_rsc = __xml_first_child(set2); xml_rsc != NULL; xml_rsc = __xml_next_element(xml_rsc)) { NULL 2287 pengine/constraints.c rsc_colocation_new(id, NULL, score, rsc_1, rsc_2, role_1, role_2, data_set); NULL 2291 pengine/constraints.c } else if (rsc_2 != NULL) { NULL 2292 pengine/constraints.c for (xml_rsc = __xml_first_child(set1); xml_rsc != NULL; xml_rsc = __xml_next_element(xml_rsc)) { NULL 2295 pengine/constraints.c rsc_colocation_new(id, NULL, score, rsc_1, rsc_2, role_1, role_2, data_set); NULL 2300 pengine/constraints.c for (xml_rsc = __xml_first_child(set1); xml_rsc != NULL; xml_rsc = __xml_next_element(xml_rsc)) { NULL 2302 pengine/constraints.c xmlNode *xml_rsc_2 = NULL; NULL 2306 pengine/constraints.c for (xml_rsc_2 = __xml_first_child(set2); xml_rsc_2 != NULL; NULL 2310 pengine/constraints.c rsc_colocation_new(id, NULL, score, rsc_1, rsc_2, role_1, role_2, data_set); NULL 2341 pengine/constraints.c if (rsc_lh == NULL) { NULL 2345 pengine/constraints.c } else if (rsc_rh == NULL) { NULL 2364 pengine/constraints.c if (rsc_lh == NULL) { NULL 2373 pengine/constraints.c if (rsc_rh == NULL) { NULL 2396 pengine/constraints.c const char *id = NULL; NULL 2397 pengine/constraints.c const char *id_lh = NULL; NULL 2398 pengine/constraints.c const char *id_rh = NULL; NULL 2399 pengine/constraints.c const char *state_lh = NULL; NULL 2400 pengine/constraints.c const char *state_rh = NULL; NULL 2402 pengine/constraints.c resource_t *rsc_lh = NULL; NULL 2403 pengine/constraints.c resource_t *rsc_rh = NULL; NULL 2405 pengine/constraints.c tag_t *tag_lh = NULL; NULL 2406 pengine/constraints.c tag_t *tag_rh = NULL; NULL 2408 pengine/constraints.c xmlNode *new_xml = NULL; NULL 2409 pengine/constraints.c xmlNode *rsc_set_lh = NULL; NULL 2410 pengine/constraints.c xmlNode *rsc_set_rh = NULL; NULL 2413 pengine/constraints.c *expanded_xml = NULL; NULL 2415 pengine/constraints.c if (xml_obj == NULL) { NULL 2421 pengine/constraints.c if (id == NULL) { NULL 2437 pengine/constraints.c if (id_lh == NULL || id_rh == NULL) { NULL 2514 pengine/constraints.c xmlNode *set = NULL; NULL 2515 pengine/constraints.c xmlNode *last = NULL; NULL 2518 pengine/constraints.c xmlNode *orig_xml = NULL; NULL 2519 pengine/constraints.c xmlNode *expanded_xml = NULL; NULL 2539 pengine/constraints.c for (set = __xml_first_child(xml_obj); set != NULL; set = __xml_next_element(set)) { NULL 2569 pengine/constraints.c rsc_ticket_t *new_rsc_ticket = NULL; NULL 2571 pengine/constraints.c if (rsc_lh == NULL) { NULL 2577 pengine/constraints.c if (new_rsc_ticket == NULL) { NULL 2581 pengine/constraints.c if (state_lh == NULL || safe_str_eq(state_lh, RSC_ROLE_STARTED_S)) { NULL 2656 pengine/constraints.c xmlNode *xml_rsc = NULL; NULL 2657 pengine/constraints.c resource_t *resource = NULL; NULL 2658 pengine/constraints.c const char *set_id = NULL; NULL 2659 pengine/constraints.c const char *role = NULL; NULL 2661 pengine/constraints.c CRM_CHECK(set != NULL, return FALSE); NULL 2662 pengine/constraints.c CRM_CHECK(ticket != NULL, return FALSE); NULL 2665 pengine/constraints.c if (set_id == NULL) { NULL 2673 pengine/constraints.c xml_rsc != NULL; xml_rsc = crm_next_same_xml(xml_rsc)) { NULL 2691 pengine/constraints.c ticket_t *ticket = NULL; NULL 2697 pengine/constraints.c resource_t *rsc_lh = NULL; NULL 2699 pengine/constraints.c if (xml_obj == NULL) { NULL 2704 pengine/constraints.c if (id == NULL) { NULL 2709 pengine/constraints.c if (ticket_str == NULL) { NULL 2716 pengine/constraints.c if (ticket == NULL) { NULL 2721 pengine/constraints.c if (id_lh == NULL) { NULL 2728 pengine/constraints.c if (rsc_lh == NULL) { NULL 2741 pengine/constraints.c if (rsc_lh == NULL) { NULL 2755 pengine/constraints.c const char *id = NULL; NULL 2756 pengine/constraints.c const char *id_lh = NULL; NULL 2757 pengine/constraints.c const char *state_lh = NULL; NULL 2759 pengine/constraints.c resource_t *rsc_lh = NULL; NULL 2760 pengine/constraints.c tag_t *tag_lh = NULL; NULL 2762 pengine/constraints.c xmlNode *new_xml = NULL; NULL 2763 pengine/constraints.c xmlNode *rsc_set_lh = NULL; NULL 2766 pengine/constraints.c *expanded_xml = NULL; NULL 2768 pengine/constraints.c if (xml_obj == NULL) { NULL 2774 pengine/constraints.c if (id == NULL) { NULL 2789 pengine/constraints.c if (id_lh == NULL) { NULL 2835 pengine/constraints.c xmlNode *set = NULL; NULL 2842 pengine/constraints.c ticket_t *ticket = NULL; NULL 2844 pengine/constraints.c xmlNode *orig_xml = NULL; NULL 2845 pengine/constraints.c xmlNode *expanded_xml = NULL; NULL 2849 pengine/constraints.c if (xml_obj == NULL) { NULL 2854 pengine/constraints.c if (id == NULL) { NULL 2859 pengine/constraints.c if (data_set->tickets == NULL) { NULL 2864 pengine/constraints.c if (ticket_str == NULL) { NULL 2871 pengine/constraints.c if (ticket == NULL) { NULL 2873 pengine/constraints.c if (ticket == NULL) { NULL 2887 pengine/constraints.c for (set = __xml_first_child(xml_obj); set != NULL; set = __xml_next_element(set)) { NULL 32 pengine/container.c for (GListPtr gIter = data->tuples; gIter != NULL; gIter = gIter->next) { NULL 47 pengine/container.c GListPtr containers = NULL; NULL 48 pengine/container.c container_variant_data_t *data = NULL; NULL 52 pengine/container.c for (GListPtr gIter = data->tuples; gIter != NULL; gIter = gIter->next) { NULL 62 pengine/container.c GListPtr containers = NULL; NULL 63 pengine/container.c container_variant_data_t *data = NULL; NULL 67 pengine/container.c for (GListPtr gIter = data->tuples; gIter != NULL; gIter = gIter->next) { NULL 94 pengine/container.c fail_count = pe_get_failcount(node, rsc, NULL, NULL 95 pengine/container.c pe_fc_effective|pe_fc_fillers, NULL, NULL 119 pengine/container.c GListPtr containers = NULL; NULL 120 pengine/container.c GListPtr nodes = NULL; NULL 121 pengine/container.c container_variant_data_t *container_data = NULL; NULL 123 pengine/container.c CRM_CHECK(rsc != NULL, return NULL); NULL 133 pengine/container.c nodes = g_list_sort_with_data(nodes, sort_node_weight, NULL); NULL 140 pengine/container.c for (GListPtr gIter = container_data->tuples; gIter != NULL; gIter = gIter->next) { NULL 154 pengine/container.c rsc_colocation_new("child-remote-with-docker-remote", NULL, NULL 155 pengine/container.c INFINITY, tuple->remote, docker_host->details->remote_rsc, NULL, NULL, data_set); NULL 164 pengine/container.c pe_node_t *node = NULL; NULL 167 pengine/container.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & node)) { NULL 182 pengine/container.c pe_node_t *node = NULL; NULL 185 pengine/container.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & node)) { NULL 197 pengine/container.c return NULL; NULL 204 pengine/container.c pe_action_t *action = NULL; NULL 205 pengine/container.c GListPtr containers = NULL; NULL 206 pengine/container.c container_variant_data_t *container_data = NULL; NULL 208 pengine/container.c CRM_CHECK(rsc != NULL, return); NULL 212 pengine/container.c for (GListPtr gIter = container_data->tuples; gIter != NULL; gIter = gIter->next) { NULL 227 pengine/container.c clone_create_pseudo_actions(rsc, containers, NULL, NULL, data_set); NULL 251 pengine/container.c container_variant_data_t *container_data = NULL; NULL 253 pengine/container.c CRM_CHECK(rsc != NULL, return); NULL 270 pengine/container.c for (GListPtr gIter = container_data->tuples; gIter != NULL; gIter = gIter->next) { NULL 296 pengine/container.c rsc_colocation_new("ip-with-docker", NULL, INFINITY, tuple->ip, tuple->docker, NULL, NULL, data_set); NULL 347 pengine/container.c container_variant_data_t *container_data = NULL; NULL 349 pengine/container.c CRM_CHECK(candidate != NULL, return NULL); NULL 355 pengine/container.c for (GListPtr gIter = container_data->tuples; gIter != NULL; gIter = gIter->next) { NULL 366 pengine/container.c return NULL; NULL 373 pengine/container.c GListPtr scratch = NULL; NULL 374 pengine/container.c resource_t *pair = NULL; NULL 375 pengine/container.c node_t *active_node_lh = NULL; NULL 377 pengine/container.c active_node_lh = rsc_lh->fns->location(rsc_lh, NULL, current); NULL 383 pengine/container.c scratch = g_list_sort_with_data(scratch, sort_node_weight, NULL); NULL 385 pengine/container.c for (GListPtr gIter = scratch; gIter != NULL; gIter = gIter->next) { NULL 435 pengine/container.c container_variant_data_t *data = NULL; NULL 446 pengine/container.c GListPtr allocated_rhs = NULL; NULL 447 pengine/container.c container_variant_data_t *container_data = NULL; NULL 449 pengine/container.c CRM_CHECK(constraint != NULL, return); NULL 450 pengine/container.c CRM_CHECK(rsc_lh != NULL, pe_err("rsc_lh was NULL for %s", constraint->id); return); NULL 451 pengine/container.c CRM_CHECK(rsc != NULL, pe_err("rsc was NULL for %s", constraint->id); return); NULL 467 pengine/container.c assign_node(rsc_lh, NULL, TRUE); NULL 480 pengine/container.c for (GListPtr gIter = container_data->tuples; gIter != NULL; gIter = gIter->next) { NULL 487 pengine/container.c node_t *chosen = tuple->docker->fns->location(tuple->docker, NULL, FALSE); NULL 489 pengine/container.c if (chosen != NULL && is_set_recursive(tuple->docker, pe_rsc_block, TRUE) == FALSE) { NULL 505 pengine/container.c GListPtr containers = NULL; NULL 507 pengine/container.c container_variant_data_t *data = NULL; NULL 536 pengine/container.c GListPtr gIter = NULL; NULL 537 pengine/container.c GListPtr children = NULL; NULL 539 pengine/container.c if (local_node == NULL) { NULL 541 pengine/container.c return NULL; NULL 548 pengine/container.c for (gIter = children; gIter != NULL; gIter = gIter->next) { NULL 562 pengine/container.c return NULL; NULL 569 pengine/container.c container_variant_data_t *data = NULL; NULL 571 pengine/container.c for (GListPtr gIter = data->tuples; gIter != NULL; gIter = gIter->next) { NULL 580 pengine/container.c return NULL; NULL 587 pengine/container.c GListPtr gIter = NULL; NULL 588 pengine/container.c GListPtr children = NULL; NULL 599 pengine/container.c for (gIter = children; gIter != NULL; gIter = gIter->next) { NULL 602 pengine/container.c if (first_child == NULL && current) { NULL 605 pengine/container.c } else if (first_child == NULL) { NULL 616 pengine/container.c if(assign_node(then_child, NULL, TRUE)) { NULL 622 pengine/container.c pe_action_t *first_action = NULL; NULL 623 pengine/container.c pe_action_t *then_action = NULL; NULL 637 pengine/container.c first_action = find_first_action(first_tuple->child->actions, NULL, task2text(task), node); NULL 639 pengine/container.c first_action = find_first_action(first_child->actions, NULL, task2text(task), node); NULL 650 pengine/container.c then_action = find_first_action(then_tuple->child->actions, NULL, then->task, node); NULL 652 pengine/container.c then_action = find_first_action(then_child->actions, NULL, then->task, node); NULL 655 pengine/container.c if (first_action == NULL) { NULL 671 pengine/container.c if (then_action == NULL) { NULL 713 pengine/container.c resource_t *rsc = NULL; NULL 714 pengine/container.c const char *interleave_s = NULL; NULL 716 pengine/container.c if(first->rsc == NULL || then->rsc == NULL) { NULL 753 pengine/container.c GListPtr gIter = NULL; NULL 754 pengine/container.c GListPtr children = NULL; NULL 761 pengine/container.c for (gIter = children; gIter != NULL; gIter = gIter->next) { NULL 764 pengine/container.c action_t *then_child_action = find_first_action(then_child->actions, NULL, then->task, node); NULL 775 pengine/container.c for (GListPtr lpc = then_child_action->actions_after; lpc != NULL; lpc = lpc->next) { NULL 793 pengine/container.c container_variant_data_t *container_data = NULL; NULL 800 pengine/container.c for (GListPtr gIter = container_data->tuples; gIter != NULL; gIter = gIter->next) { NULL 820 pengine/container.c container_variant_data_t *container_data = NULL; NULL 822 pengine/container.c CRM_CHECK(rsc != NULL, return); NULL 830 pengine/container.c for (GListPtr gIter = container_data->tuples; gIter != NULL; gIter = gIter->next) { NULL 863 pengine/container.c container_variant_data_t *container_data = NULL; NULL 865 pengine/container.c CRM_CHECK(rsc != NULL, return FALSE); NULL 868 pengine/container.c for (GListPtr gIter = container_data->tuples; gIter != NULL; gIter = gIter->next) { NULL 896 pengine/container.c for (GListPtr tIter = container_data->tuples; tIter != NULL && container_data->replicas_per_host == 1; tIter = tIter->next) { NULL 899 pengine/container.c if ((other != tuple) && (other != NULL) NULL 900 pengine/container.c && (other->docker != NULL)) { NULL 902 pengine/container.c custom_action_order(tuple->docker, generate_op_key(tuple->docker->id, RSC_STATUS, 0), NULL, NULL 903 pengine/container.c other->docker, generate_op_key(other->docker->id, RSC_START, 0), NULL, NULL 917 pengine/container.c action_t *probe = find_first_action(tuple->remote->actions, probe_uuid, NULL, node); NULL 926 pengine/container.c NULL, tuple->remote, NULL, probe, NULL 949 pengine/container.c container_variant_data_t *container_data = NULL; NULL 951 pengine/container.c CRM_CHECK(rsc != NULL, return); NULL 954 pengine/container.c for (GListPtr gIter = container_data->tuples; gIter != NULL; gIter = gIter->next) { NULL 41 pengine/graph.c flags = action->rsc->cmds->action_flags(action, NULL); NULL 74 pengine/graph.c char *uuid = NULL; NULL 75 pengine/graph.c char *rid = NULL; NULL 76 pengine/graph.c char *raw_task = NULL; NULL 81 pengine/graph.c if (old_uuid == NULL) { NULL 82 pengine/graph.c return NULL; NULL 84 pengine/graph.c } else if (strstr(old_uuid, "notify") != NULL) { NULL 133 pengine/graph.c if (uuid == NULL) { NULL 153 pengine/graph.c if (rsc == NULL) { NULL 157 pengine/graph.c if ((rsc->parent == NULL) NULL 167 pengine/graph.c char *uuid = NULL; NULL 173 pengine/graph.c result = find_first_action(rsc->actions, uuid, NULL, NULL); NULL 174 pengine/graph.c if (result == NULL) { NULL 321 pengine/graph.c if (is_not_set(first_flags, pe_action_runnable) && first->rsc->running_on != NULL) { NULL 464 pengine/graph.c for (; gIter != NULL; gIter = gIter->next) { NULL 471 pengine/graph.c pe_action_set_flag_reason(__FUNCTION__, __LINE__, action, NULL, reason_text, pe_action_runnable, FALSE); NULL 482 pengine/graph.c GListPtr gIter = NULL; NULL 483 pengine/graph.c resource_t *rsc = NULL; NULL 497 pengine/graph.c if (rsc == NULL || rsc->rsc_cons_lhs == NULL) { NULL 503 pengine/graph.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 505 pengine/graph.c action_t *start = find_first_action(child->actions, NULL, RSC_START, NULL); NULL 506 pengine/graph.c if (start == NULL || is_set(start->flags, pe_action_runnable)) { NULL 511 pengine/graph.c for (gIter = rsc->rsc_cons_lhs; gIter != NULL; gIter = gIter->next) { NULL 522 pengine/graph.c GListPtr lpc = NULL; NULL 556 pengine/graph.c for (lpc = then->actions_before; lpc != NULL; lpc = lpc->next) { NULL 567 pengine/graph.c first_node = first->rsc->fns->location(first->rsc, NULL, FALSE); NULL 574 pengine/graph.c then_node = then->rsc->fns->location(then->rsc, NULL, FALSE); NULL 663 pengine/graph.c GListPtr lpc2 = NULL; NULL 672 pengine/graph.c for (lpc2 = first->actions_after; lpc2 != NULL; lpc2 = lpc2->next) { NULL 702 pengine/graph.c for (lpc = then->actions_after; lpc != NULL; lpc = lpc->next) { NULL 718 pengine/graph.c GListPtr lpc = NULL; NULL 720 pengine/graph.c for (lpc = data_set->actions; lpc != NULL; lpc = lpc->next) { NULL 723 pengine/graph.c if (action->rsc == NULL || action->node == NULL) { NULL 748 pengine/graph.c custom_action_order(action->rsc, NULL, action, NULL 749 pengine/graph.c NULL, strdup(CRM_OP_SHUTDOWN), shutdown_op, NULL 771 pengine/graph.c GListPtr r = NULL; NULL 773 pengine/graph.c CRM_CHECK(stonith_op != NULL, return FALSE); NULL 774 pengine/graph.c for (r = data_set->resources; r != NULL; r = r->next) { NULL 783 pengine/graph.c node_t *began_on = NULL; NULL 784 pengine/graph.c node_t *ended_on = NULL; NULL 785 pengine/graph.c node_t *router_node = NULL; NULL 788 pengine/graph.c return NULL; NULL 791 pengine/graph.c CRM_ASSERT(action->node->details->remote_rsc != NULL); NULL 882 pengine/graph.c GListPtr gIter = NULL; NULL 884 pengine/graph.c xml?create_xml_node(xml, XML_GRAPH_TAG_MAINTENANCE):NULL; NULL 887 pengine/graph.c for (gIter = data_set->nodes; gIter != NULL; NULL 919 pengine/graph.c action_t *action = NULL; NULL 921 pengine/graph.c if (add_maintenance_nodes(NULL, data_set)) { NULL 973 pengine/graph.c for (iter = action->actions_before; iter != NULL; iter = iter->next) { NULL 993 pengine/graph.c xmlNode *action_xml = NULL; NULL 994 pengine/graph.c xmlNode *args_xml = NULL; NULL 996 pengine/graph.c pe_rsc_action_details_t *rsc_details = NULL; NULL 999 pengine/graph.c if (action == NULL) { NULL 1000 pengine/graph.c return NULL; NULL 1005 pengine/graph.c action_xml = create_xml_node(NULL, NULL 1011 pengine/graph.c action_xml = create_xml_node(NULL, XML_GRAPH_TAG_CRM_EVENT); NULL 1014 pengine/graph.c action_xml = create_xml_node(NULL, XML_GRAPH_TAG_CRM_EVENT); NULL 1017 pengine/graph.c action_xml = create_xml_node(NULL, XML_GRAPH_TAG_CRM_EVENT); NULL 1026 pengine/graph.c action_xml = create_xml_node(NULL, XML_GRAPH_TAG_PSEUDO_EVENT); NULL 1030 pengine/graph.c action_xml = create_xml_node(NULL, XML_GRAPH_TAG_RSC_OP); NULL 1038 pengine/graph.c if (action->rsc != NULL && action->rsc->clone_name != NULL) { NULL 1039 pengine/graph.c char *clone_key = NULL; NULL 1047 pengine/graph.c CRM_CHECK(n_type != NULL, crm_err("No notify type value found for %s", action->uuid)); NULL 1048 pengine/graph.c CRM_CHECK(n_task != NULL, NULL 1058 pengine/graph.c CRM_CHECK(clone_key != NULL, crm_err("Could not generate a key for %s", action->uuid)); NULL 1067 pengine/graph.c if (needs_node_info && action->node != NULL) { NULL 1142 pengine/graph.c CRM_ASSERT(action->rsc->clone_name == NULL); NULL 1154 pengine/graph.c args_xml = create_xml_node(NULL, XML_TAG_ATTRS); NULL 1158 pengine/graph.c if (action->rsc != NULL && action->node) { NULL 1167 pengine/graph.c xmlNode *versioned_parameters = create_xml_node(NULL, XML_TAG_RSC_VER_ATTRS); NULL 1201 pengine/graph.c if (action->rsc != NULL) { NULL 1206 pengine/graph.c while (parent != NULL) { NULL 1223 pengine/graph.c pe_node_t *host = NULL; NULL 1275 pengine/graph.c if (needs_node_info && (action->node != NULL)) { NULL 1290 pengine/graph.c CRM_CHECK(action != NULL, return FALSE); NULL 1297 pengine/graph.c GListPtr lpc = NULL; NULL 1314 pengine/graph.c for (lpc = action->actions_after; lpc != NULL; lpc = lpc->next) { NULL 1343 pengine/graph.c } else if (action->rsc != NULL && is_not_set(action->rsc->flags, pe_rsc_managed)) { NULL 1344 pengine/graph.c const char *interval = NULL; NULL 1349 pengine/graph.c if (safe_str_neq(action->task, RSC_STATUS) && interval == NULL) { NULL 1363 pengine/graph.c if (action->node == NULL) { NULL 1395 pengine/graph.c if (a == NULL) { NULL 1398 pengine/graph.c if (b == NULL) { NULL 1502 pengine/graph.c if (wrapper->action->node == NULL || action->rsc->allocated_to == NULL NULL 1510 pengine/graph.c } else if (wrapper->action->node == NULL || action->node == NULL NULL 1591 pengine/graph.c GListPtr lpc = NULL; NULL 1635 pengine/graph.c for (lpc = wrapper->action->actions_before; lpc != NULL; lpc = lpc->next) { NULL 1699 pengine/graph.c GListPtr lpc = NULL; NULL 1702 pengine/graph.c xmlNode *syn = NULL; NULL 1703 pengine/graph.c xmlNode *set = NULL; NULL 1704 pengine/graph.c xmlNode *in = NULL; NULL 1705 pengine/graph.c xmlNode *input = NULL; NULL 1706 pengine/graph.c xmlNode *xml_action = NULL; NULL 1721 pengine/graph.c if (action->rsc != NULL) { NULL 1736 pengine/graph.c for (lpc = action->actions_before; lpc != NULL; lpc = lpc->next) { NULL 33 pengine/group.c node_t *node = NULL; NULL 34 pengine/group.c node_t *group_node = NULL; NULL 35 pengine/group.c GListPtr gIter = NULL; NULL 36 pengine/group.c group_variant_data_t *group_data = NULL; NULL 46 pengine/group.c return NULL; NULL 49 pengine/group.c if (group_data->first_child == NULL) { NULL 52 pengine/group.c return NULL; NULL 60 pengine/group.c rsc->rsc_cons = NULL; NULL 64 pengine/group.c rsc->rsc_cons_lhs = NULL; NULL 70 pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 74 pengine/group.c if (group_node == NULL) { NULL 86 pengine/group.c return NULL; NULL 94 pengine/group.c action_t *op = NULL; NULL 95 pengine/group.c const char *value = NULL; NULL 100 pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 107 pengine/group.c op = start_action(rsc, NULL, TRUE /* !group_data->child_starting */ ); NULL 111 pengine/group.c RSC_STARTED, NULL, TRUE /* !group_data->child_starting */ , TRUE, data_set); NULL 114 pengine/group.c op = stop_action(rsc, NULL, TRUE /* !group_data->child_stopping */ ); NULL 118 pengine/group.c RSC_STOPPED, NULL, TRUE /* !group_data->child_stopping */ , TRUE, data_set); NULL 123 pengine/group.c op = custom_action(rsc, demote_key(rsc), RSC_DEMOTE, NULL, TRUE, TRUE, data_set); NULL 126 pengine/group.c op = custom_action(rsc, demoted_key(rsc), RSC_DEMOTED, NULL, TRUE, TRUE, data_set); NULL 130 pengine/group.c op = custom_action(rsc, promote_key(rsc), RSC_PROMOTE, NULL, TRUE, TRUE, data_set); NULL 133 pengine/group.c op = custom_action(rsc, promoted_key(rsc), RSC_PROMOTED, NULL, TRUE, TRUE, data_set); NULL 143 pengine/group.c group_variant_data_t *group_data = NULL; NULL 156 pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 178 pengine/group.c resource_t *last_rsc = NULL; NULL 179 pengine/group.c resource_t *last_active = NULL; NULL 181 pengine/group.c group_variant_data_t *group_data = NULL; NULL 189 pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 199 pengine/group.c if (last_rsc == NULL) { NULL 206 pengine/group.c rsc_colocation_new("group:internal_colocation", NULL, INFINITY, NULL 207 pengine/group.c child_rsc, last_rsc, NULL, NULL, data_set); NULL 237 pengine/group.c } else if (last_rsc != NULL) { NULL 271 pengine/group.c && last_rsc->running_on == NULL && last_active && last_active->running_on) { NULL 280 pengine/group.c if (group_data->ordered && last_rsc != NULL) { NULL 297 pengine/group.c GListPtr gIter = NULL; NULL 298 pengine/group.c group_variant_data_t *group_data = NULL; NULL 300 pengine/group.c if (rsc_lh == NULL) { NULL 304 pengine/group.c } else if (rsc_rh == NULL) { NULL 325 pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 336 pengine/group.c group_variant_data_t *group_data = NULL; NULL 366 pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 376 pengine/group.c GListPtr gIter = NULL; NULL 379 pengine/group.c for (gIter = action->rsc->children; gIter != NULL; gIter = gIter->next) { NULL 383 pengine/group.c action_t *child_action = find_first_action(child->actions, NULL, task_s, node); NULL 421 pengine/group.c CRM_ASSERT(then->rsc != NULL); NULL 424 pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 426 pengine/group.c action_t *child_action = find_first_action(child->actions, NULL, then->task, node); NULL 443 pengine/group.c group_variant_data_t *group_data = NULL; NULL 451 pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 472 pengine/group.c CRM_CHECK(rsc != NULL, return); NULL 475 pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 487 pengine/group.c group_variant_data_t *group_data = NULL; NULL 502 pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 41 pengine/main.c GMainLoop *mainloop = NULL; NULL 42 pengine/main.c qb_ipcs_service_t *ipcs = NULL; NULL 50 pengine/main.c if (crm_client_new(c, uid, gid) == NULL) { NULL 73 pengine/main.c if (msg != NULL) { NULL 88 pengine/main.c if (client == NULL) { NULL 128 pengine/main.c crm_log_preinit(NULL, argc, argv); NULL 129 pengine/main.c crm_set_options(NULL, "[options]", NULL 165 pengine/main.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); NULL 166 pengine/main.c if (crm_is_writable(PE_STATE_DIR, NULL, CRM_DAEMON_USER, CRM_DAEMON_GROUP, FALSE) == FALSE) { NULL 175 pengine/main.c if (ipcs == NULL) { NULL 36 pengine/master.c if (child == NULL) { NULL 37 pengine/master.c if (clone_data->ordered && last != NULL) { NULL 53 pengine/master.c if (last == NULL) { NULL 72 pengine/master.c if (child == NULL) { NULL 73 pengine/master.c if (clone_data->ordered && last != NULL) { NULL 87 pengine/master.c if (clone_data->ordered && last != NULL) { NULL 106 pengine/master.c GListPtr gIter = NULL; NULL 110 pengine/master.c for (; gIter != NULL; gIter = gIter->next) { NULL 118 pengine/master.c CRM_ASSERT(demoting != NULL); NULL 119 pengine/master.c CRM_ASSERT(promoting != NULL); NULL 122 pengine/master.c for (; gIter != NULL; gIter = gIter->next) { NULL 144 pengine/master.c pe_node_t *cons_node = NULL; NULL 151 pengine/master.c if (cons_node != NULL) { NULL 165 pengine/master.c node_t *node = NULL; NULL 166 pengine/master.c node_t *local_node = NULL; NULL 168 pengine/master.c clone_variant_data_t *clone_data = NULL; NULL 180 pengine/master.c for (; gIter != NULL; gIter = gIter->next) { NULL 183 pengine/master.c if (can_be_master(child) == NULL) { NULL 185 pengine/master.c return NULL; NULL 190 pengine/master.c node = rsc->fns->location(rsc, NULL, FALSE); NULL 191 pengine/master.c if (node == NULL) { NULL 193 pengine/master.c return NULL; NULL 201 pengine/master.c return NULL; NULL 206 pengine/master.c return NULL; NULL 210 pengine/master.c return NULL; NULL 216 pengine/master.c if (local_node == NULL) { NULL 218 pengine/master.c return NULL; NULL 228 pengine/master.c return NULL; NULL 241 pengine/master.c CRM_ASSERT(resource1 != NULL); NULL 242 pengine/master.c CRM_ASSERT(resource2 != NULL); NULL 275 pengine/master.c GListPtr gIter = NULL; NULL 276 pengine/master.c node_t *node = NULL; NULL 277 pengine/master.c node_t *chosen = NULL; NULL 278 pengine/master.c clone_variant_data_t *clone_data = NULL; NULL 291 pengine/master.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 299 pengine/master.c for (; gIter != NULL; gIter = gIter->next) { NULL 302 pengine/master.c chosen = child->fns->location(child, NULL, FALSE); NULL 303 pengine/master.c if (chosen == NULL || child->sort_index < 0) { NULL 309 pengine/master.c CRM_ASSERT(node != NULL); NULL 320 pengine/master.c for (; gIter != NULL; gIter = gIter->next) { NULL 340 pengine/master.c for (; gIter != NULL; gIter = gIter->next) { NULL 360 pengine/master.c for (; gIter != NULL; gIter = gIter->next) { NULL 365 pengine/master.c resource_location(rsc, NULL, -INFINITY, "__stateful_without_ticket__", data_set); NULL 374 pengine/master.c for (; gIter != NULL; gIter = gIter->next) { NULL 377 pengine/master.c chosen = child->fns->location(child, NULL, FALSE); NULL 381 pengine/master.c } else if (chosen == NULL || child->sort_index < 0) { NULL 386 pengine/master.c CRM_ASSERT(node != NULL); NULL 400 pengine/master.c GListPtr rIter = NULL; NULL 436 pengine/master.c rsc = parent->fns->find_rsc(child, key, NULL, pe_find_clone); NULL 453 pengine/master.c const char *attr_value = NULL; NULL 468 pengine/master.c const char *attr_value = NULL; NULL 470 pengine/master.c node_t *match = NULL; NULL 472 pengine/master.c CRM_CHECK(node != NULL, return not_set_value); NULL 477 pengine/master.c for (; gIter != NULL; gIter = gIter->next) { NULL 503 pengine/master.c if ((match == NULL) && (known == NULL)) { NULL 511 pengine/master.c if (match == NULL) { NULL 531 pengine/master.c if ((attr_value == NULL) && is_not_set(rsc->flags, pe_rsc_unique)) { NULL 545 pengine/master.c if (attr_value != NULL) { NULL 557 pengine/master.c clone_variant_data_t *clone_data = NULL; NULL 568 pengine/master.c for (; gIter != NULL; gIter = gIter->next) { NULL 570 pengine/master.c node_t *node = NULL; NULL 574 pengine/master.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 614 pengine/master.c GListPtr allocated = NULL; NULL 627 pengine/master.c for (; gIter != NULL; gIter = gIter->next) { NULL 643 pengine/master.c for (; gIter != NULL; gIter = gIter->next) { NULL 654 pengine/master.c GListPtr gIter = NULL; NULL 655 pengine/master.c GListPtr gIter2 = NULL; NULL 658 pengine/master.c node_t *node = NULL; NULL 659 pengine/master.c node_t *chosen = NULL; NULL 665 pengine/master.c clone_variant_data_t *clone_data = NULL; NULL 670 pengine/master.c return NULL; NULL 674 pengine/master.c return NULL; NULL 685 pengine/master.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 692 pengine/master.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 693 pengine/master.c GListPtr list = NULL; NULL 709 pengine/master.c if (chosen == NULL) { NULL 744 pengine/master.c for (gIter2 = child_rsc->rsc_cons; gIter2 != NULL; gIter2 = gIter2->next) { NULL 763 pengine/master.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 767 pengine/master.c chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); NULL 780 pengine/master.c chosen = NULL; /* nuke 'chosen' so that we don't promote more than the NULL 793 pengine/master.c if (chosen == NULL) { NULL 820 pengine/master.c return NULL; NULL 826 pengine/master.c action_t *action = NULL; NULL 828 pengine/master.c action_t *action_complete = NULL; NULL 831 pengine/master.c resource_t *last_promote_rsc = NULL; NULL 832 pengine/master.c resource_t *last_demote_rsc = NULL; NULL 834 pengine/master.c clone_variant_data_t *clone_data = NULL; NULL 843 pengine/master.c for (; gIter != NULL; gIter = gIter->next) { NULL 864 pengine/master.c rsc, NULL, last_promote_rsc, data_set); NULL 866 pengine/master.c if (clone_data->promote_notify == NULL) { NULL 876 pengine/master.c child_demoting_constraints(clone_data, pe_order_optional, rsc, NULL, last_demote_rsc, data_set); NULL 878 pengine/master.c if (clone_data->demote_notify == NULL) { NULL 902 pengine/master.c for (; gIter != NULL; gIter = gIter->next) { NULL 939 pengine/master.c resource_t *last_rsc = NULL; NULL 940 pengine/master.c clone_variant_data_t *clone_data = NULL; NULL 947 pengine/master.c for (; gIter != NULL; gIter = gIter->next) { NULL 967 pengine/master.c node_t *node = NULL; NULL 968 pengine/master.c const char *value = NULL; NULL 970 pengine/master.c if (other == NULL) { NULL 973 pengine/master.c } else if (attr == NULL) { NULL 979 pengine/master.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 992 pengine/master.c GListPtr gIter = NULL; NULL 994 pengine/master.c CRM_CHECK(rsc_rh != NULL, return); NULL 1004 pengine/master.c CRM_CHECK(rsc_lh != NULL, return); NULL 1011 pengine/master.c for (; gIter != NULL; gIter = gIter->next) { NULL 1018 pengine/master.c GListPtr rhs = NULL; NULL 1020 pengine/master.c for (gIter = rsc_rh->children; gIter != NULL; gIter = gIter->next) { NULL 1022 pengine/master.c node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); NULL 1026 pengine/master.c if (chosen != NULL && next_role == constraint->role_rh) { NULL 1050 pengine/master.c if (rh_child == NULL && constraint->score >= INFINITY) { NULL 1054 pengine/master.c } else if (rh_child != NULL) { NULL 1069 pengine/master.c char *name = NULL; NULL 1070 pengine/master.c clone_variant_data_t *clone_data = NULL; NULL 85 pengine/native.c GListPtr nodes = NULL; NULL 86 pengine/native.c node_t *chosen = NULL; NULL 87 pengine/native.c node_t *best = NULL; NULL 114 pengine/native.c if (chosen == NULL) { NULL 127 pengine/native.c chosen = NULL; NULL 132 pengine/native.c chosen = NULL; NULL 141 pengine/native.c if ((chosen == NULL) && nodes) { NULL 203 pengine/native.c node_t *node = NULL; NULL 205 pengine/native.c const char *best_node = NULL; NULL 207 pengine/native.c if (attr == NULL) { NULL 212 pengine/native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 218 pengine/native.c if (weight > best_score || best_node == NULL) { NULL 243 pengine/native.c node_t *node = NULL; NULL 245 pengine/native.c if (attr == NULL) { NULL 250 pengine/native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 254 pengine/native.c CRM_LOG_ASSERT(node != NULL); NULL 255 pengine/native.c if(node == NULL) { continue; }; NULL 318 pengine/native.c GHashTable *work = NULL; NULL 336 pengine/native.c while (last->next != NULL) { NULL 341 pengine/native.c work = rsc_merge_weights(last->data, rhs, NULL, attr, factor, flags); NULL 353 pengine/native.c for(iter = rsc->children; iter->next != NULL; iter = iter->next) { NULL 372 pengine/native.c GListPtr gIter = NULL; NULL 381 pengine/native.c while (last->next != NULL) { NULL 394 pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 395 pengine/native.c resource_t *other = NULL; NULL 407 pengine/native.c dump_node_scores(LOG_TRACE, NULL, rhs, work); NULL 413 pengine/native.c node_t *node = NULL; NULL 417 pengine/native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 435 pengine/native.c GListPtr gIter = NULL; NULL 451 pengine/native.c return NULL; NULL 458 pengine/native.c for (gIter = rsc->rsc_cons; gIter != NULL; gIter = gIter->next) { NULL 461 pengine/native.c GHashTable *archive = NULL; NULL 471 pengine/native.c rsc_rh->cmds->allocate(rsc_rh, NULL, data_set); NULL 477 pengine/native.c archive = NULL; NULL 486 pengine/native.c for (gIter = rsc->rsc_cons_lhs; gIter != NULL; gIter = gIter->next) { NULL 500 pengine/native.c resource_location(rsc, NULL, -INFINITY, XML_RSC_ATTR_TARGET_ROLE, data_set); NULL 518 pengine/native.c const char *reason = NULL; NULL 519 pengine/native.c node_t *assign_to = NULL; NULL 522 pengine/native.c if (rsc->running_on == NULL) { NULL 536 pengine/native.c native_assign_node(rsc, NULL, assign_to, TRUE); NULL 540 pengine/native.c native_assign_node(rsc, NULL, NULL, TRUE); NULL 547 pengine/native.c } else if (rsc->allocated_to == NULL) { NULL 550 pengine/native.c } else if (rsc->running_on != NULL) { NULL 565 pengine/native.c CRM_ASSERT(remote_node != NULL); NULL 591 pengine/native.c const char *id = NULL; NULL 592 pengine/native.c const char *value = NULL; NULL 593 pengine/native.c xmlNode *operation = NULL; NULL 596 pengine/native.c for (operation = __xml_first_child(rsc->ops_xml); operation != NULL; NULL 605 pengine/native.c if (value == NULL) { NULL 613 pengine/native.c if (id == NULL) { NULL 632 pengine/native.c char *key = NULL; NULL 633 pengine/native.c const char *name = NULL; NULL 634 pengine/native.c const char *value = NULL; NULL 635 pengine/native.c const char *interval = NULL; NULL 636 pengine/native.c const char *node_uname = NULL; NULL 639 pengine/native.c action_t *mon = NULL; NULL 641 pengine/native.c GListPtr possible_matches = NULL; NULL 654 pengine/native.c if (node != NULL) { NULL 680 pengine/native.c if (find_rsc_op_entry(rsc, key) == NULL) { NULL 686 pengine/native.c if (start != NULL) { NULL 690 pengine/native.c is_optional = (rsc->cmds->action_flags(start, NULL) & pe_action_optional); NULL 698 pengine/native.c if (possible_matches == NULL) { NULL 703 pengine/native.c GListPtr gIter = NULL; NULL 705 pengine/native.c for (gIter = possible_matches; gIter != NULL; gIter = gIter->next) { NULL 716 pengine/native.c if ((rsc->next_role == RSC_ROLE_MASTER && value == NULL) NULL 717 pengine/native.c || (value != NULL && text2role(value) != rsc->next_role)) { NULL 737 pengine/native.c local_key = NULL; NULL 758 pengine/native.c custom_action_order(rsc, NULL, mon, rsc, local_key, NULL, NULL 762 pengine/native.c mon = NULL; NULL 779 pengine/native.c if (start == NULL || is_set(start->flags, pe_action_runnable) == FALSE) { NULL 784 pengine/native.c } else if (node == NULL || node->details->online == FALSE || node->details->unclean) { NULL 801 pengine/native.c if (node == NULL || is_set(rsc->flags, pe_rsc_managed)) { NULL 802 pengine/native.c custom_action_order(rsc, start_key(rsc), NULL, NULL 803 pengine/native.c NULL, strdup(key), mon, NULL 806 pengine/native.c custom_action_order(rsc, reload_key(rsc), NULL, NULL 807 pengine/native.c NULL, strdup(key), mon, NULL 811 pengine/native.c custom_action_order(rsc, promote_key(rsc), NULL, NULL 812 pengine/native.c rsc, NULL, mon, NULL 816 pengine/native.c custom_action_order(rsc, demote_key(rsc), NULL, NULL 817 pengine/native.c rsc, NULL, mon, NULL 827 pengine/native.c (node == NULL || node->details->maintenance == FALSE)) { NULL 828 pengine/native.c xmlNode *operation = NULL; NULL 830 pengine/native.c for (operation = __xml_first_child(rsc->ops_xml); operation != NULL; NULL 843 pengine/native.c char *key = NULL; NULL 844 pengine/native.c const char *name = NULL; NULL 845 pengine/native.c const char *role = NULL; NULL 846 pengine/native.c const char *interval = NULL; NULL 847 pengine/native.c const char *node_uname = NULL; NULL 850 pengine/native.c GListPtr possible_matches = NULL; NULL 851 pengine/native.c GListPtr gIter = NULL; NULL 860 pengine/native.c if (role == NULL || text2role(role) != RSC_ROLE_STOPPED) { NULL 868 pengine/native.c if (node != NULL) { NULL 894 pengine/native.c if (find_rsc_op_entry(rsc, key) == NULL) { NULL 901 pengine/native.c if (node != NULL) { NULL 904 pengine/native.c action_t *cancel_op = NULL; NULL 918 pengine/native.c local_key = NULL; NULL 923 pengine/native.c custom_action_order(rsc, NULL, cancel_op, rsc, start_key(rsc), NULL, NULL 932 pengine/native.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 938 pengine/native.c action_t *stopped_mon = NULL; NULL 939 pengine/native.c char *rc_inactive = NULL; NULL 940 pengine/native.c GListPtr probe_complete_ops = NULL; NULL 941 pengine/native.c GListPtr stop_ops = NULL; NULL 942 pengine/native.c GListPtr local_gIter = NULL; NULL 943 pengine/native.c char *stop_op_key = NULL; NULL 954 pengine/native.c if (possible_matches == NULL) { NULL 974 pengine/native.c GListPtr pIter = NULL; NULL 976 pengine/native.c for (pIter = probes; pIter != NULL; pIter = pIter->next) { NULL 994 pengine/native.c for (local_gIter = stop_ops; local_gIter != NULL; local_gIter = local_gIter->next) { NULL 1009 pengine/native.c NULL, strdup(key), stopped_mon, NULL 1051 pengine/native.c (node == NULL || node->details->maintenance == FALSE)) { NULL 1052 pengine/native.c xmlNode *operation = NULL; NULL 1054 pengine/native.c for (operation = __xml_first_child(rsc->ops_xml); operation != NULL; NULL 1066 pengine/native.c action_t *migrate_to = NULL; NULL 1067 pengine/native.c action_t *migrate_from = NULL; NULL 1068 pengine/native.c action_t *start = NULL; NULL 1069 pengine/native.c action_t *stop = NULL; NULL 1095 pengine/native.c custom_action_order(rsc, generate_op_key(rsc->id, RSC_STATUS, 0), NULL, NULL 1096 pengine/native.c rsc, generate_op_key(rsc->id, RSC_MIGRATED, 0), NULL, pe_order_optional, data_set); NULL 1103 pengine/native.c custom_action_order(rsc, generate_op_key(rsc->id, RSC_STATUS, 0), NULL, NULL 1104 pengine/native.c rsc, generate_op_key(rsc->id, RSC_MIGRATE, 0), NULL, pe_order_optional, data_set); NULL 1105 pengine/native.c custom_action_order(rsc, generate_op_key(rsc->id, RSC_MIGRATE, 0), NULL, NULL 1106 pengine/native.c rsc, generate_op_key(rsc->id, RSC_MIGRATED, 0), NULL, pe_order_optional | pe_order_implies_first_migratable, data_set); NULL 1109 pengine/native.c custom_action_order(rsc, generate_op_key(rsc->id, RSC_MIGRATED, 0), NULL, NULL 1110 pengine/native.c rsc, generate_op_key(rsc->id, RSC_STOP, 0), NULL, pe_order_optional | pe_order_implies_first_migratable, data_set); NULL 1111 pengine/native.c custom_action_order(rsc, generate_op_key(rsc->id, RSC_MIGRATED, 0), NULL, NULL 1112 pengine/native.c rsc, generate_op_key(rsc->id, RSC_START, 0), NULL, pe_order_optional | pe_order_implies_first_migratable | pe_order_pseudo_left, data_set); NULL 1143 pengine/native.c action_t *start = NULL; NULL 1144 pengine/native.c node_t *chosen = NULL; NULL 1145 pengine/native.c node_t *current = NULL; NULL 1150 pengine/native.c GListPtr gIter = NULL; NULL 1157 pengine/native.c if (chosen != NULL && rsc->next_role == RSC_ROLE_UNKNOWN) { NULL 1173 pengine/native.c for (gIter = rsc->running_on; gIter != NULL; gIter = gIter->next) { NULL 1182 pengine/native.c for (gIter = rsc->dangling_migrations; gIter != NULL; gIter = gIter->next) { NULL 1233 pengine/native.c rsc->partial_migration_source = rsc->partial_migration_target = NULL; NULL 1256 pengine/native.c } else if (rsc->role > RSC_ROLE_STARTED && current != NULL && chosen != NULL) { NULL 1314 pengine/native.c Recurring_Stopped(rsc, NULL, NULL, data_set); NULL 1320 pengine/native.c if (rsc->partial_migration_target && (chosen == NULL || rsc->partial_migration_target->details != chosen->details)) { NULL 1343 pengine/native.c node_t *node = NULL; NULL 1345 pengine/native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 1361 pengine/native.c custom_action_order(rsc, generate_op_key(rsc->id, RSC_STOP, 0), NULL, NULL 1362 pengine/native.c rsc, generate_op_key(rsc->id, RSC_START, 0), NULL, type, data_set); NULL 1365 pengine/native.c custom_action_order(rsc, generate_op_key(rsc->id, RSC_DEMOTE, 0), NULL, NULL 1366 pengine/native.c rsc, generate_op_key(rsc->id, RSC_STOP, 0), NULL, NULL 1369 pengine/native.c custom_action_order(rsc, generate_op_key(rsc->id, RSC_START, 0), NULL, NULL 1370 pengine/native.c rsc, generate_op_key(rsc->id, RSC_PROMOTE, 0), NULL, NULL 1378 pengine/native.c node_t *node = NULL; NULL 1382 pengine/native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 1383 pengine/native.c action_t *unfence = pe_fence_op(node, "on", TRUE, NULL, data_set); NULL 1403 pengine/native.c custom_action_order(rsc, stop_key(rsc), NULL, NULL 1404 pengine/native.c NULL, strdup(unfence->uuid), unfence, NULL 1407 pengine/native.c custom_action_order(NULL, strdup(unfence->uuid), unfence, NULL 1408 pengine/native.c rsc, start_key(rsc), NULL, NULL 1422 pengine/native.c custom_action_order(rsc, stop_key(rsc), NULL, NULL 1423 pengine/native.c NULL, strdup(all_stopped->task), all_stopped, NULL 1430 pengine/native.c node_t *next = NULL; NULL 1431 pengine/native.c GListPtr gIter = NULL; NULL 1436 pengine/native.c for (gIter = rsc->running_on; gIter != NULL; gIter = gIter->next) { NULL 1442 pengine/native.c if (load_stopped->node == NULL) { NULL 1447 pengine/native.c custom_action_order(rsc, stop_key(rsc), NULL, NULL 1448 pengine/native.c NULL, load_stopped_task, load_stopped, pe_order_load, data_set); NULL 1452 pengine/native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&next)) { NULL 1456 pengine/native.c if (load_stopped->node == NULL) { NULL 1461 pengine/native.c custom_action_order(NULL, strdup(load_stopped_task), load_stopped, NULL 1462 pengine/native.c rsc, start_key(rsc), NULL, pe_order_load, data_set); NULL 1464 pengine/native.c custom_action_order(NULL, strdup(load_stopped_task), load_stopped, NULL 1465 pengine/native.c rsc, generate_op_key(rsc->id, RSC_MIGRATE, 0), NULL, NULL 1473 pengine/native.c resource_t *remote_rsc = NULL; NULL 1494 pengine/native.c node_t *node = NULL; NULL 1496 pengine/native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 1511 pengine/native.c custom_action_order(rsc->container, generate_op_key(rsc->container->id, RSC_START, 0), NULL, NULL 1512 pengine/native.c rsc, generate_op_key(rsc->id, RSC_START, 0), NULL, NULL 1515 pengine/native.c custom_action_order(rsc, generate_op_key(rsc->id, RSC_STOP, 0), NULL, NULL 1516 pengine/native.c rsc->container, generate_op_key(rsc->container->id, RSC_STOP, 0), NULL, NULL 1524 pengine/native.c rsc_colocation_new("resource-with-container", NULL, score, rsc, NULL 1525 pengine/native.c rsc->container, NULL, NULL, data_set); NULL 1548 pengine/native.c if (rsc_lh == NULL) { NULL 1552 pengine/native.c } else if (constraint->rsc_rh == NULL) { NULL 1594 pengine/native.c details_rh = rsc_rh->allocated_to ? rsc_rh->allocated_to->details : NULL; NULL 1595 pengine/native.c details_lh = rsc_lh->allocated_to ? rsc_lh->allocated_to->details : NULL; NULL 1645 pengine/native.c const char *rh_value = NULL; NULL 1646 pengine/native.c const char *lh_value = NULL; NULL 1650 pengine/native.c if (constraint->node_attribute != NULL) { NULL 1682 pengine/native.c const char *tmp = NULL; NULL 1683 pengine/native.c const char *value = NULL; NULL 1686 pengine/native.c GHashTable *work = NULL; NULL 1690 pengine/native.c node_t *node = NULL; NULL 1692 pengine/native.c if (constraint->node_attribute != NULL) { NULL 1710 pengine/native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 1731 pengine/native.c work = NULL; NULL 1790 pengine/native.c if (rsc_ticket == NULL) { NULL 1795 pengine/native.c if (rsc_lh == NULL) { NULL 1809 pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 1822 pengine/native.c GListPtr gIter = NULL; NULL 1826 pengine/native.c resource_location(rsc_lh, NULL, -INFINITY, "__loss_of_ticket__", data_set); NULL 1832 pengine/native.c resource_location(rsc_lh, NULL, -INFINITY, "__loss_of_ticket__", data_set); NULL 1841 pengine/native.c resource_location(rsc_lh, NULL, -INFINITY, "__loss_of_ticket__", data_set); NULL 1843 pengine/native.c for (gIter = rsc_lh->running_on; gIter != NULL; gIter = gIter->next) { NULL 1864 pengine/native.c resource_location(rsc_lh, NULL, -INFINITY, "__no_ticket__", data_set); NULL 1870 pengine/native.c resource_location(rsc_lh, NULL, -INFINITY, "__ticket_standby__", data_set); NULL 2005 pengine/native.c const char *reason = NULL; NULL 2071 pengine/native.c GListPtr gIter = NULL; NULL 2073 pengine/native.c node_t *node = NULL; NULL 2075 pengine/native.c if (constraint == NULL) { NULL 2079 pengine/native.c } else if (rsc == NULL) { NULL 2098 pengine/native.c if (constraint->node_list_rh == NULL) { NULL 2103 pengine/native.c for (gIter = constraint->node_list_rh; gIter != NULL; gIter = gIter->next) { NULL 2105 pengine/native.c node_t *other_node = NULL; NULL 2109 pengine/native.c if (other_node != NULL) { NULL 2132 pengine/native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 2140 pengine/native.c GListPtr gIter = NULL; NULL 2145 pengine/native.c for (gIter = rsc->actions; gIter != NULL; gIter = gIter->next) { NULL 2152 pengine/native.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 2174 pengine/native.c } else if(stop == NULL) { \ NULL 2176 pengine/native.c CRM_ASSERT(stop != NULL); \ NULL 2189 pengine/native.c char *reason = NULL; NULL 2190 pengine/native.c char *details = NULL; NULL 2196 pengine/native.c CRM_ASSERT(destination != NULL || origin != NULL); NULL 2198 pengine/native.c if(source == NULL) { NULL 2211 pengine/native.c if(origin != NULL && destination != NULL && origin->details == destination->details) { NULL 2219 pengine/native.c if(need_role && origin == NULL) { NULL 2223 pengine/native.c } else if(need_role && destination == NULL) { NULL 2227 pengine/native.c } else if(origin == NULL || destination == NULL) { NULL 2288 pengine/native.c node_t *next = NULL; NULL 2289 pengine/native.c node_t *current = NULL; NULL 2291 pengine/native.c action_t *stop = NULL; NULL 2292 pengine/native.c action_t *start = NULL; NULL 2293 pengine/native.c action_t *demote = NULL; NULL 2294 pengine/native.c action_t *promote = NULL; NULL 2296 pengine/native.c char *key = NULL; NULL 2298 pengine/native.c GListPtr possible_matches = NULL; NULL 2306 pengine/native.c GListPtr gIter = NULL; NULL 2308 pengine/native.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 2333 pengine/native.c if (current == NULL && is_set(rsc->flags, pe_rsc_orphan)) { NULL 2339 pengine/native.c || (current == NULL && next == NULL)) { NULL 2346 pengine/native.c if (current != NULL && next != NULL && safe_str_neq(current->details->id, next->details->id)) { NULL 2359 pengine/native.c if(start == NULL || is_set(start->flags, pe_action_runnable) == FALSE) { NULL 2360 pengine/native.c possible_matches = find_actions(rsc->actions, key, NULL); NULL 2387 pengine/native.c action_t *migrate_op = NULL; NULL 2397 pengine/native.c CRM_CHECK(next != NULL,); NULL 2398 pengine/native.c if (next == NULL) { NULL 2400 pengine/native.c LogAction("Migrate", rsc, current, next, start, NULL, terminal); NULL 2403 pengine/native.c LogAction("Reload", rsc, current, next, start, NULL, terminal); NULL 2405 pengine/native.c } else if (start == NULL || is_set(start->flags, pe_action_optional)) { NULL 2410 pengine/native.c LogAction("Stop", rsc, current, NULL, stop, NULL 2416 pengine/native.c rsc, current, next, stop, NULL, terminal); NULL 2419 pengine/native.c LogAction("Recover", rsc, current, NULL, stop, NULL, terminal); NULL 2423 pengine/native.c LogAction("Restart", rsc, current, next, start, NULL, terminal); NULL 2435 pengine/native.c GListPtr gIter = NULL; NULL 2438 pengine/native.c for (gIter = rsc->running_on; gIter != NULL; gIter = gIter->next) { NULL 2440 pengine/native.c action_t *stop_op = NULL; NULL 2452 pengine/native.c LogAction("Stop", rsc, node, NULL, stop_op, NULL 2464 pengine/native.c LogAction("Move", rsc, current, next, stop, NULL, terminal); NULL 2468 pengine/native.c LogAction("Reload", rsc, current, next, start, NULL, terminal); NULL 2470 pengine/native.c } else if (stop != NULL && is_not_set(stop->flags, pe_action_optional)) { NULL 2471 pengine/native.c LogAction("Restart", rsc, current, next, start, NULL, terminal); NULL 2475 pengine/native.c CRM_LOG_ASSERT(current != NULL); NULL 2476 pengine/native.c LogAction("Demote", rsc, current, next, demote, NULL, terminal); NULL 2480 pengine/native.c LogAction("Promote", rsc, current, next, promote, NULL, terminal); NULL 2483 pengine/native.c LogAction("Start", rsc, current, next, start, NULL, terminal); NULL 2490 pengine/native.c GListPtr gIter = NULL; NULL 2495 pengine/native.c for (gIter = rsc->running_on; gIter != NULL; gIter = gIter->next) { NULL 2513 pengine/native.c if(rsc->allocated_to == NULL) { NULL 2526 pengine/native.c action_t *unfence = pe_fence_op(current, "on", TRUE, NULL, data_set); NULL 2530 pengine/native.c if (unfenced == NULL || safe_str_eq("0", unfenced)) { NULL 2542 pengine/native.c action_t *start = NULL; NULL 2549 pengine/native.c action_t *unfence = pe_fence_op(next, "on", TRUE, NULL, data_set); NULL 2554 pengine/native.c if (unfenced == NULL || safe_str_eq("0", unfenced)) { NULL 2556 pengine/native.c trigger_unfencing(NULL, next, reason, NULL, data_set); NULL 2572 pengine/native.c char *key = NULL; NULL 2573 pengine/native.c GListPtr gIter = NULL; NULL 2575 pengine/native.c GListPtr action_list = NULL; NULL 2578 pengine/native.c CRM_CHECK(next != NULL, return FALSE); NULL 2585 pengine/native.c for (gIter = action_list; gIter != NULL; gIter = gIter->next) { NULL 2605 pengine/native.c for (gIter = action_list; gIter != NULL; gIter = gIter->next) { NULL 2618 pengine/native.c GListPtr gIter = NULL; NULL 2624 pengine/native.c for (gIter = rsc->running_on; gIter != NULL; gIter = gIter->next) { NULL 2657 pengine/native.c } else if (node == NULL) { NULL 2687 pengine/native.c char *tmp = NULL; NULL 2690 pengine/native.c CRM_CHECK(last_rsc_id != NULL, return NULL); NULL 2691 pengine/native.c if (last_rsc_id != NULL) { NULL 2744 pengine/native.c return NULL; NULL 2778 pengine/native.c node_t *running = NULL; NULL 2782 pengine/native.c if (running != NULL) { NULL 2794 pengine/native.c return NULL; NULL 2802 pengine/native.c char *key = NULL; NULL 2803 pengine/native.c action_t *probe = NULL; NULL 2804 pengine/native.c node_t *running = NULL; NULL 2805 pengine/native.c node_t *allowed = NULL; NULL 2808 pengine/native.c static const char *rc_master = NULL; NULL 2809 pengine/native.c static const char *rc_inactive = NULL; NULL 2811 pengine/native.c if (rc_inactive == NULL) { NULL 2816 pengine/native.c CRM_CHECK(node != NULL, return FALSE); NULL 2844 pengine/native.c GListPtr gIter = NULL; NULL 2847 pengine/native.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 2867 pengine/native.c if (running == NULL && is_set(rsc->flags, pe_rsc_unique) == FALSE) { NULL 2878 pengine/native.c if (force == FALSE && running != NULL) { NULL 2887 pengine/native.c if (allowed == NULL) { NULL 2899 pengine/native.c if(allowed == NULL && node->rsc_discover_mode == pe_discover_never) { NULL 2935 pengine/native.c && g_hash_table_lookup(remote->known_on, remote->allocated_to->details->id) == NULL) { NULL 2942 pengine/native.c custom_action_order(remote, generate_op_key(remote->id, RSC_STATUS, 0), NULL, NULL 2943 pengine/native.c top, generate_op_key(top->id, RSC_START, 0), NULL, NULL 2958 pengine/native.c && pe_find_node(remote->running_on, remote->allocated_to->details->uname) == NULL) NULL 2964 pengine/native.c custom_action_order(remote, generate_op_key(remote->id, RSC_STOP, 0), NULL, NULL 2965 pengine/native.c top, generate_op_key(top->id, RSC_START, 0), NULL, NULL 2994 pengine/native.c action_t *unfence = pe_fence_op(node, "on", TRUE, NULL, data_set); NULL 3003 pengine/native.c if (running == NULL) { NULL 3023 pengine/native.c if(is_not_set(probe->flags, pe_action_runnable) && rsc->running_on == NULL) { NULL 3030 pengine/native.c custom_action_order(rsc, NULL, probe, NULL 3031 pengine/native.c top, generate_op_key(top->id, RSC_START, 0), NULL, NULL 3035 pengine/native.c custom_action_order(rsc, NULL, probe, NULL 3036 pengine/native.c top, reload_key(rsc), NULL, NULL 3057 pengine/native.c GListPtr gIter = NULL; NULL 3064 pengine/native.c for (gIter = rsc->actions; gIter != NULL; gIter = gIter->next) { NULL 3074 pengine/native.c && NULL == pe_hash_table_lookup(rsc->known_on, target->details->id)) { NULL 3101 pengine/native.c char *key = NULL; NULL 3102 pengine/native.c GListPtr gIter = NULL; NULL 3103 pengine/native.c GListPtr action_list = NULL; NULL 3105 pengine/native.c action_t *start = NULL; NULL 3113 pengine/native.c start = find_first_action(rsc->actions, NULL, CRMD_ACTION_START, NULL); NULL 3120 pengine/native.c for (gIter = action_list; gIter != NULL; gIter = gIter->next) { NULL 3138 pengine/native.c if(start == NULL || start->needs > rsc_req_quorum) { NULL 3140 pengine/native.c action_t *parent_stop = find_first_action(top->actions, NULL, RSC_STOP, NULL); NULL 3217 pengine/native.c for (gIter = action_list; gIter != NULL; gIter = gIter->next) { NULL 3238 pengine/native.c if (start == NULL || start->needs > rsc_req_quorum) { NULL 3251 pengine/native.c GListPtr gIter = NULL; NULL 3253 pengine/native.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 3278 pengine/native.c GListPtr gIter = NULL; NULL 3279 pengine/native.c action_t *reload = NULL; NULL 3282 pengine/native.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 3302 pengine/native.c } else if (node == NULL) { NULL 3314 pengine/native.c custom_action_order(NULL, NULL, reload, rsc, stop_key(rsc), NULL, NULL 3317 pengine/native.c custom_action_order(NULL, NULL, reload, rsc, demote_key(rsc), NULL, NULL 3329 pengine/native.c char *name = NULL; NULL 3338 pengine/native.c char *name = NULL; NULL 3345 pengine/native.c for (parent = rsc; parent != NULL; parent = parent->parent) { NULL 3352 pengine/native.c while (iso_parent != NULL) { NULL 3353 pengine/native.c char *name = NULL; NULL 3354 pengine/native.c char *iso = NULL; NULL 3356 pengine/native.c if (iso_parent->isolation_wrapper == NULL) { NULL 3388 pengine/native.c CRM_ASSERT(value != NULL); NULL 37 pengine/notif.c if (entry_a == NULL && entry_b == NULL) { NULL 40 pengine/notif.c if (entry_a == NULL) { NULL 43 pengine/notif.c if (entry_b == NULL) { NULL 47 pengine/notif.c if (entry_a->rsc == NULL && entry_b->rsc == NULL) { NULL 50 pengine/notif.c if (entry_a->rsc == NULL) { NULL 53 pengine/notif.c if (entry_b->rsc == NULL) { NULL 62 pengine/notif.c if (entry_a->node == NULL && entry_b->node == NULL) { NULL 65 pengine/notif.c if (entry_a->node == NULL) { NULL 68 pengine/notif.c if (entry_b->node == NULL) { NULL 79 pengine/notif.c CRM_ASSERT(dup != NULL); NULL 88 pengine/notif.c GListPtr gIter = NULL; NULL 89 pengine/notif.c char *node_list = NULL; NULL 90 pengine/notif.c char *metal_list = NULL; NULL 92 pengine/notif.c CRM_ASSERT(uname != NULL); NULL 93 pengine/notif.c if (list == NULL) { NULL 101 pengine/notif.c for (gIter = list; gIter != NULL; gIter = gIter->next) { NULL 106 pengine/notif.c if (node->details->uname == NULL) { NULL 130 pengine/notif.c if (node->details->uname == NULL) { NULL 148 pengine/notif.c GListPtr gIter = NULL; NULL 149 pengine/notif.c const char *uname = NULL; NULL 150 pengine/notif.c const char *rsc_id = NULL; NULL 151 pengine/notif.c const char *last_rsc_id = NULL; NULL 154 pengine/notif.c *rsc_list = NULL; NULL 157 pengine/notif.c if (list == NULL) { NULL 168 pengine/notif.c *node_list = NULL; NULL 171 pengine/notif.c for (gIter = list; gIter != NULL; gIter = gIter->next) { NULL 174 pengine/notif.c CRM_LOG_ASSERT(entry != NULL); NULL 175 pengine/notif.c CRM_LOG_ASSERT(entry && entry->rsc != NULL); NULL 177 pengine/notif.c if(entry == NULL || entry->rsc == NULL) { NULL 182 pengine/notif.c CRM_LOG_ASSERT(node_list == NULL || entry->node != NULL); NULL 183 pengine/notif.c if(node_list != NULL && entry->node == NULL) { NULL 187 pengine/notif.c uname = NULL; NULL 189 pengine/notif.c CRM_ASSERT(rsc_id != NULL); NULL 197 pengine/notif.c if (rsc_list != NULL) { NULL 210 pengine/notif.c if (entry->node != NULL) { NULL 214 pengine/notif.c if (node_list != NULL && uname) { NULL 240 pengine/notif.c char *key = NULL; NULL 241 pengine/notif.c action_t *trigger = NULL; NULL 242 pengine/notif.c const char *value = NULL; NULL 243 pengine/notif.c const char *task = NULL; NULL 245 pengine/notif.c if (op == NULL || confirm == NULL) { NULL 247 pengine/notif.c return NULL; NULL 250 pengine/notif.c CRM_CHECK(rsc != NULL, return NULL); NULL 251 pengine/notif.c CRM_CHECK(node != NULL, return NULL); NULL 255 pengine/notif.c return NULL; NULL 258 pengine/notif.c return NULL; NULL 284 pengine/notif.c action_t *notify = NULL; NULL 286 pengine/notif.c CRM_CHECK(rsc != NULL, return); NULL 288 pengine/notif.c if (n_data->post == NULL) { NULL 294 pengine/notif.c if (notify != NULL) { NULL 301 pengine/notif.c for (; gIter != NULL; gIter = gIter->next) { NULL 305 pengine/notif.c if (interval == NULL || safe_str_eq(interval, "0")) { NULL 331 pengine/notif.c char *key = NULL; NULL 332 pengine/notif.c notify_data_t *n_data = NULL; NULL 335 pengine/notif.c return NULL; NULL 346 pengine/notif.c custom_action(rsc, key, RSC_NOTIFY, NULL, is_set(start->flags, pe_action_optional), NULL 361 pengine/notif.c custom_action(rsc, key, RSC_NOTIFIED, NULL, is_set(start->flags, pe_action_optional), NULL 381 pengine/notif.c custom_action(rsc, key, RSC_NOTIFY, NULL, is_set(end->flags, pe_action_optional), TRUE, NULL 401 pengine/notif.c custom_action(rsc, key, RSC_NOTIFIED, NULL, is_set(end->flags, pe_action_optional), NULL 440 pengine/notif.c if(n_data->allowed_nodes == NULL) { NULL 447 pengine/notif.c for (; gIter != NULL; gIter = gIter->next) { NULL 456 pengine/notif.c notify_entry_t *entry = NULL; NULL 492 pengine/notif.c notify_entry_t *entry = NULL; NULL 497 pengine/notif.c for (; gIter != NULL; gIter = gIter->next) { NULL 500 pengine/notif.c if (is_set(op->flags, pe_action_optional) == FALSE && op->node != NULL) { NULL 536 pengine/notif.c char *rsc_list = NULL; NULL 537 pengine/notif.c char *node_list = NULL; NULL 538 pengine/notif.c char *metal_list = NULL; NULL 539 pengine/notif.c const char *source = NULL; NULL 540 pengine/notif.c GListPtr nodes = NULL; NULL 546 pengine/notif.c if (rsc_list != NULL && safe_str_neq(" ", rsc_list)) { NULL 609 pengine/notif.c expand_list(n_data->inactive, &rsc_list, NULL); NULL 613 pengine/notif.c expand_node_list(nodes, &node_list, NULL); NULL 623 pengine/notif.c expand_node_list(data_set->nodes, &node_list, NULL); NULL 642 pengine/notif.c GListPtr gIter = NULL; NULL 643 pengine/notif.c action_t *stop = NULL; NULL 644 pengine/notif.c action_t *start = NULL; NULL 649 pengine/notif.c for (; gIter != NULL; gIter = gIter->next) { NULL 660 pengine/notif.c for (; gIter != NULL; gIter = gIter->next) { NULL 663 pengine/notif.c if (is_set(op->flags, pe_action_optional) == FALSE && op->node != NULL) { NULL 682 pengine/notif.c stop = find_first_action(rsc->actions, NULL, RSC_STOP, NULL); NULL 683 pengine/notif.c start = find_first_action(rsc->actions, NULL, RSC_START, NULL); NULL 689 pengine/notif.c for (; gIter != NULL; gIter = gIter->next) { NULL 703 pengine/notif.c if (task == action_demote || stop == NULL NULL 713 pengine/notif.c if (rsc->allocated_to == NULL) { NULL 718 pengine/notif.c if (task != start_rsc || start == NULL || is_set(start->flags, pe_action_optional)) { NULL 729 pengine/notif.c if (n_data == NULL) { NULL 753 pengine/notif.c n_data = create_notification_boundaries(rsc, RSC_STOP, NULL, stonith_op, NULL 65 pengine/pengine.c static char *last_digest = NULL; NULL 66 pengine/pengine.c static char *filename = NULL; NULL 68 pengine/pengine.c time_t execution_date = time(NULL); NULL 75 pengine/pengine.c if (op == NULL) { NULL 84 pengine/pengine.c } else if (sys_to == NULL || strcasecmp(sys_to, CRM_SYSTEM_PENGINE) != 0) { NULL 92 pengine/pengine.c char *digest = NULL; NULL 93 pengine/pengine.c const char *value = NULL; NULL 95 pengine/pengine.c xmlNode *converted = NULL; NULL 96 pengine/pengine.c xmlNode *reply = NULL; NULL 110 pengine/pengine.c if (cli_config_update(&converted, NULL, TRUE) == FALSE) { NULL 111 pengine/pengine.c data_set.graph = create_xml_node(NULL, XML_TAG_GRAPH); NULL 128 pengine/pengine.c do_calculations(&data_set, converted, NULL); NULL 135 pengine/pengine.c if (value != NULL) { NULL 136 pengine/pengine.c series_wrap = crm_int_helper(value, NULL); NULL 150 pengine/pengine.c data_set.input = NULL; NULL 152 pengine/pengine.c CRM_ASSERT(reply != NULL); NULL 168 pengine/pengine.c char *graph_file = NULL; NULL 225 pengine/pengine.c GListPtr gIter = NULL; NULL 241 pengine/pengine.c if (data_set->now == NULL) { NULL 242 pengine/pengine.c data_set->now = crm_time_new(NULL); NULL 250 pengine/pengine.c for (; gIter != NULL; gIter = gIter->next) { NULL 256 pengine/pengine.c rsc->fns->print(rsc, NULL, pe_print_log, &rsc_log_level); NULL 264 pengine/pengine.c return NULL; NULL 289 pengine/pengine.c for (; gIter != NULL; gIter = gIter->next) { NULL 51 pengine/ptest.c char *use_date = NULL; NULL 53 pengine/ptest.c FILE *dot_strm = NULL; NULL 58 pengine/ptest.c #define dot_write(fmt...) if(dot_strm != NULL) { \ NULL 95 pengine/ptest.c char *action_name = NULL; NULL 96 pengine/ptest.c const char *action_host = NULL; NULL 148 pengine/ptest.c GListPtr lpc = NULL; NULL 152 pengine/ptest.c crm_graph_t *transition = NULL; NULL 153 pengine/ptest.c crm_time_t *a_date = NULL; NULL 154 pengine/ptest.c cib_t *cib_conn = NULL; NULL 156 pengine/ptest.c xmlNode *cib_object = NULL; NULL 160 pengine/ptest.c char *msg_buffer = NULL; NULL 164 pengine/ptest.c const char *source = NULL; NULL 165 pengine/ptest.c const char *xml_file = NULL; NULL 166 pengine/ptest.c const char *dot_file = NULL; NULL 167 pengine/ptest.c const char *graph_file = NULL; NULL 168 pengine/ptest.c const char *input_file = NULL; NULL 169 pengine/ptest.c const char *input_xml = NULL; NULL 184 pengine/ptest.c crm_set_options(NULL, "[-?Vv] -[Xxp] {other options}", long_options, NULL 279 pengine/ptest.c if (cib_object == NULL) { NULL 284 pengine/ptest.c } else if (xml_file != NULL) { NULL 290 pengine/ptest.c cib_object = filename2xml(NULL); NULL 296 pengine/ptest.c if (cib_object == NULL && source) { NULL 300 pengine/ptest.c } else if (cib_object == NULL) { NULL 305 pengine/ptest.c if (get_object_root(XML_CIB_TAG_STATUS, cib_object) == NULL) { NULL 309 pengine/ptest.c if (cli_config_update(&cib_object, NULL, FALSE) == FALSE) { NULL 314 pengine/ptest.c if (validate_xml(cib_object, NULL, FALSE) != TRUE) { NULL 319 pengine/ptest.c if (input_file != NULL) { NULL 322 pengine/ptest.c if (input_strm == NULL) { NULL 335 pengine/ptest.c if (use_date != NULL) { NULL 359 pengine/ptest.c } else if (graph_file != NULL) { NULL 362 pengine/ptest.c if (graph_strm == NULL) { NULL 374 pengine/ptest.c if (dot_file != NULL) { NULL 376 pengine/ptest.c if (dot_strm == NULL) { NULL 381 pengine/ptest.c if (dot_strm == NULL) { NULL 386 pengine/ptest.c for (lpc = data_set.actions; lpc != NULL; lpc = lpc->next) { NULL 391 pengine/ptest.c const char *fill = NULL; NULL 405 pengine/ptest.c } else if (action->rsc != NULL && is_not_set(action->rsc->flags, pe_rsc_managed)) { NULL 430 pengine/ptest.c for (lpc = data_set.actions; lpc != NULL; lpc = lpc->next) { NULL 433 pengine/ptest.c GListPtr lpc2 = NULL; NULL 435 pengine/ptest.c for (lpc2 = action->actions_before; lpc2 != NULL; lpc2 = lpc2->next) { NULL 438 pengine/ptest.c char *before_name = NULL; NULL 439 pengine/ptest.c char *after_name = NULL; NULL 468 pengine/ptest.c if (dot_strm != NULL) { NULL 64 pengine/utilization.c if (g_hash_table_lookup_extended(data->node1->details->utilization, key, NULL, NULL)) { NULL 104 pengine/utilization.c const char *current = NULL; NULL 105 pengine/utilization.c char *result = NULL; NULL 205 pengine/utilization.c GListPtr gIter1 = NULL; NULL 210 pengine/utilization.c for (; gIter1 != NULL; gIter1 = gIter1->next) { NULL 212 pengine/utilization.c GListPtr gIter2 = NULL; NULL 220 pengine/utilization.c for (; gIter2 != NULL; gIter2 = gIter2->next) { NULL 247 pengine/utilization.c GListPtr gIter = NULL; NULL 248 pengine/utilization.c GListPtr all_rscs = NULL; NULL 256 pengine/utilization.c for (gIter = all_rscs; gIter != NULL; gIter = gIter->next) { NULL 275 pengine/utilization.c GListPtr gIter = NULL; NULL 277 pengine/utilization.c if (rsc == NULL) { NULL 287 pengine/utilization.c for (gIter = rsc->rsc_cons; gIter != NULL; gIter = gIter->next) { NULL 309 pengine/utilization.c for (gIter = rsc->rsc_cons_lhs; gIter != NULL; gIter = gIter->next) { NULL 346 pengine/utilization.c GListPtr colocated_rscs = NULL; NULL 348 pengine/utilization.c node_t *node = NULL; NULL 352 pengine/utilization.c GHashTable *unallocated_utilization = NULL; NULL 354 pengine/utilization.c node_t *most_capable_node = NULL; NULL 359 pengine/utilization.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 368 pengine/utilization.c if (most_capable_node == NULL || NULL 377 pengine/utilization.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 391 pengine/utilization.c } else if (*prefer == NULL) { NULL 405 pengine/utilization.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 429 pengine/utilization.c group_variant_data_t *group_data = NULL; NULL 435 pengine/utilization.c for (; gIter != NULL; gIter = gIter->next) { NULL 456 pengine/utilization.c group_variant_data_t *group_data = NULL; NULL 462 pengine/utilization.c for (; gIter != NULL; gIter = gIter->next) { NULL 29 pengine/utils.c while (iterator != NULL) { NULL 38 pengine/utils.c if (constraints != NULL) { NULL 48 pengine/utils.c while (iterator != NULL) { NULL 57 pengine/utils.c if (constraints != NULL) { NULL 67 pengine/utils.c rsc_to_node_t *new_con = NULL; NULL 69 pengine/utils.c if (rsc == NULL || id == NULL) { NULL 71 pengine/utils.c return NULL; NULL 73 pengine/utils.c } else if (foo_node == NULL) { NULL 74 pengine/utils.c CRM_CHECK(node_weight == 0, return NULL); NULL 78 pengine/utils.c if (new_con != NULL) { NULL 81 pengine/utils.c new_con->node_list_rh = NULL; NULL 85 pengine/utils.c if (discover_mode == NULL || safe_str_eq(discover_mode, "always")) { NULL 96 pengine/utils.c if (foo_node != NULL) { NULL 100 pengine/utils.c new_con->node_list_rh = g_list_prepend(NULL, copy); NULL 113 pengine/utils.c if (node == NULL) { NULL 149 pengine/utils.c if (a == NULL) { NULL 152 pengine/utils.c if (b == NULL) { NULL 236 pengine/utils.c rsc->allocated_to = NULL; NULL 251 pengine/utils.c if (force == FALSE && chosen != NULL) { NULL 267 pengine/utils.c chosen = NULL; NULL 278 pengine/utils.c if (chosen == NULL) { NULL 279 pengine/utils.c GListPtr gIter = NULL; NULL 285 pengine/utils.c for (gIter = rsc->actions; gIter != NULL; gIter = gIter->next) { NULL 327 pengine/utils.c const char *node_uname = NULL; NULL 328 pengine/utils.c const char *node_uuid = NULL; NULL 330 pengine/utils.c if (action == NULL) { NULL 331 pengine/utils.c crm_trace("%s%s: <NULL>", pre_text == NULL ? "" : pre_text, pre_text == NULL ? "" : ": "); NULL 336 pengine/utils.c node_uname = NULL; NULL 337 pengine/utils.c node_uuid = NULL; NULL 339 pengine/utils.c } else if (action->node != NULL) { NULL 344 pengine/utils.c node_uuid = NULL; NULL 351 pengine/utils.c pre_text == NULL ? "" : pre_text, NULL 352 pengine/utils.c pre_text == NULL ? "" : ": ", NULL 366 pengine/utils.c pre_text == NULL ? "" : pre_text, NULL 367 pengine/utils.c pre_text == NULL ? "" : ": ", NULL 383 pengine/utils.c GListPtr gIter = NULL; NULL 388 pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 397 pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 416 pengine/utils.c node_t *node = NULL; NULL 418 pengine/utils.c if (nodes == NULL) { NULL 423 pengine/utils.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 435 pengine/utils.c pe_action_t *action = custom_action(rsc, generate_op_key(rsc->id, task, 0), task, NULL, optional, TRUE, data_set); NULL 113 replace/scandir.c #ifndef NULL NULL 155 replace/scandir.c if (directory = opendir(directory_name), directory == NULL) NULL 158 replace/scandir.c if (array = (struct dirent **)malloc(allocated * sizeof(struct dirent *)), array == NULL) NULL 164 replace/scandir.c if (select_function == NULL || (*select_function) (entry)) { NULL 191 replace/scandir.c if (copy = (struct dirent *)malloc(sizeof(struct dirent) + extra), copy == NULL) { NULL 206 replace/scandir.c if (array == NULL) { NULL 218 replace/scandir.c array[counter] = NULL; NULL 34 replace/setenv.c char *envp = 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 230 replace/uuid_parse.c uuid.time_low = strtoul(in, NULL, 16); NULL 231 replace/uuid_parse.c uuid.time_mid = strtoul(in + 9, NULL, 16); NULL 232 replace/uuid_parse.c uuid.time_hi_and_version = strtoul(in + 14, NULL, 16); NULL 233 replace/uuid_parse.c uuid.clock_seq = strtoul(in + 19, NULL, 16); NULL 239 replace/uuid_parse.c uuid.node[i] = strtoul(buf, NULL, 16); NULL 40 scratch.c xmlNode *top = NULL; NULL 41 scratch.c const char *xml_file = NULL; NULL 43 scratch.c crm_log_init(NULL, LOG_TRACE, FALSE, TRUE, argc, argv, FALSE); NULL 69 tools/attrd_updater.c {"quiet", 0, 0, 'q', NULL, pcmk_option_hidden}, NULL 70 tools/attrd_updater.c {"update", 1, 0, 'v', NULL, pcmk_option_hidden}, NULL 71 tools/attrd_updater.c {"section", 1, 0, 'S', NULL, pcmk_option_hidden}, NULL 90 tools/attrd_updater.c const char *attr_node = NULL; NULL 91 tools/attrd_updater.c const char *attr_name = NULL; NULL 92 tools/attrd_updater.c const char *attr_value = NULL; NULL 93 tools/attrd_updater.c const char *attr_set = NULL; NULL 94 tools/attrd_updater.c const char *attr_section = NULL; NULL 95 tools/attrd_updater.c const char *attr_dampen = NULL; NULL 103 tools/attrd_updater.c crm_set_options(NULL, "command -n attribute [options]", long_options, NULL 175 tools/attrd_updater.c if (command != 'R' && attr_name == NULL) { NULL 231 tools/attrd_updater.c query = create_xml_node(NULL, __FUNCTION__); NULL 232 tools/attrd_updater.c if (query == NULL) { NULL 273 tools/attrd_updater.c if (reply == NULL) { NULL 281 tools/attrd_updater.c if (reply_attr == NULL) { NULL 288 tools/attrd_updater.c || (crm_element_value(reply, F_ATTRD_VERSION) == NULL) NULL 314 tools/attrd_updater.c for (child = __xml_first_child(reply); child != NULL; child = __xml_next(child)) { NULL 321 tools/attrd_updater.c if (reply_host == NULL) { NULL 346 tools/attrd_updater.c xmlNode *reply = NULL; NULL 351 tools/attrd_updater.c attr_node = NULL; NULL 366 tools/attrd_updater.c if (reply != NULL) { NULL 391 tools/attrd_updater.c int rc = attrd_update_delegate(NULL, command, attr_node, attr_name, NULL 393 tools/attrd_updater.c attr_dampen, NULL, attr_options); NULL 41 tools/cib_shadow.c GMainLoop *mainloop = NULL; NULL 43 tools/cib_shadow.c const char *host = NULL; NULL 47 tools/cib_shadow.c const char *cib_action = NULL; NULL 49 tools/cib_shadow.c cib_t *real_cib = NULL; NULL 73 tools/cib_shadow.c } else if (batch_flag == FALSE && shell != NULL) { NULL 79 tools/cib_shadow.c execl(shell, shell, "--norc", "--noprofile", NULL); NULL 81 tools/cib_shadow.c execl(shell, shell, NULL); NULL 103 tools/cib_shadow.c if (prompt != NULL && strstr(prompt, our_prompt)) { NULL 122 tools/cib_shadow.c {"which", no_argument, NULL, 'w', "\t\tIndicate the active shadow copy"}, NULL 123 tools/cib_shadow.c {"display", no_argument, NULL, 'p', "\t\tDisplay the contents of the active shadow copy"}, NULL 124 tools/cib_shadow.c {"edit", no_argument, NULL, 'E', "\t\tEdit the contents of the active shadow copy with your favorite $EDITOR"}, NULL 125 tools/cib_shadow.c {"diff", no_argument, NULL, 'd', "\t\tDisplay the changes in the active shadow copy\n"}, NULL 126 tools/cib_shadow.c {"file", no_argument, NULL, 'F', "\t\tDisplay the location of the active shadow copy file\n"}, NULL 129 tools/cib_shadow.c {"create", required_argument, NULL, 'c', "\tCreate the named shadow copy of the active cluster configuration"}, NULL 130 tools/cib_shadow.c {"create-empty", required_argument, NULL, 'e', "Create the named shadow copy with an empty cluster configuration. Optional: --validate-with"}, NULL 131 tools/cib_shadow.c {"commit", required_argument, NULL, 'C', "\tUpload the contents of the named shadow copy to the cluster"}, NULL 132 tools/cib_shadow.c {"delete", required_argument, NULL, 'D', "\tDelete the contents of the named shadow copy"}, NULL 133 tools/cib_shadow.c {"reset", required_argument, NULL, 'r', "\tRecreate the named shadow copy from the active cluster configuration"}, NULL 134 tools/cib_shadow.c {"switch", required_argument, NULL, 's', "\t(Advanced) Switch to the named shadow copy"}, NULL 137 tools/cib_shadow.c {"force", no_argument, NULL, 'f', "\t\t(Advanced) Force the action to be performed"}, NULL 138 tools/cib_shadow.c {"batch", no_argument, NULL, 'b', "\t\t(Advanced) Don't spawn a new shell" }, NULL 139 tools/cib_shadow.c {"all", no_argument, NULL, 'a', "\t\t(Advanced) Upload the entire CIB, including status, with --commit" }, NULL 140 tools/cib_shadow.c {"validate-with", required_argument, NULL, 'v', "(Advanced) Create an older configuration version" }, NULL 165 tools/cib_shadow.c const char *validation = NULL; NULL 166 tools/cib_shadow.c char *shadow = NULL; NULL 167 tools/cib_shadow.c char *shadow_file = NULL; NULL 174 tools/cib_shadow.c crm_set_options(NULL, "(query|command) [modifiers]", long_options, NULL 200 tools/cib_shadow.c shadow = NULL; NULL 271 tools/cib_shadow.c if (local == NULL) { NULL 281 tools/cib_shadow.c if (shadow == NULL) { NULL 290 tools/cib_shadow.c if (local != NULL && safe_str_neq(local, shadow) && force_flag == FALSE) { NULL 360 tools/cib_shadow.c xmlNode *output = NULL; NULL 364 tools/cib_shadow.c rc = real_cib->cmds->query(real_cib, NULL, &output, command_options); NULL 392 tools/cib_shadow.c const char *err = NULL; NULL 395 tools/cib_shadow.c if (editor == NULL) { NULL 401 tools/cib_shadow.c execlp(editor, "--", shadow_file, NULL); NULL 414 tools/cib_shadow.c char *output_s = NULL; NULL 425 tools/cib_shadow.c xmlNode *diff = NULL; NULL 426 tools/cib_shadow.c xmlNode *old_config = NULL; NULL 429 tools/cib_shadow.c rc = real_cib->cmds->query(real_cib, NULL, &old_config, command_options); NULL 436 tools/cib_shadow.c xml_track_changes(new_config, NULL, new_config, FALSE); NULL 439 tools/cib_shadow.c diff = xml_create_patchset(0, old_config, new_config, NULL, FALSE); NULL 444 tools/cib_shadow.c if (diff != NULL) { NULL 457 tools/cib_shadow.c rc = real_cib->cmds->replace(real_cib, NULL, input, command_options); NULL 43 tools/cibadmin.c GMainLoop *mainloop = NULL; NULL 45 tools/cibadmin.c const char *host = NULL; NULL 55 tools/cibadmin.c const char *cib_user = NULL; NULL 56 tools/cibadmin.c const char *cib_action = NULL; NULL 64 tools/cibadmin.c const char *obj_type = NULL; NULL 65 tools/cibadmin.c char *status = NULL; NULL 66 tools/cibadmin.c char *migrate_from = NULL; NULL 67 tools/cibadmin.c char *migrate_res = NULL; NULL 68 tools/cibadmin.c char *subtype = NULL; NULL 69 tools/cibadmin.c char *reset = NULL; NULL 73 tools/cibadmin.c cib_t *the_cib = NULL; NULL 99 tools/cibadmin.c {"blank", 0, 0, '-', NULL, 1}, NULL 109 tools/cibadmin.c {"no-bcast", 0, 0, 'b', NULL, 1}, NULL 123 tools/cibadmin.c {"-space-", 0, 0, '!', NULL, 1}, NULL 162 tools/cibadmin.c {"host", 1, 0, 'h', NULL, 1}, NULL 183 tools/cibadmin.c xmlNode *child = NULL; NULL 205 tools/cibadmin.c const char *source = NULL; NULL 206 tools/cibadmin.c const char *admin_input_xml = NULL; NULL 207 tools/cibadmin.c const char *admin_input_file = NULL; NULL 210 tools/cibadmin.c xmlNode *output = NULL; NULL 211 tools/cibadmin.c xmlNode *input = NULL; NULL 218 tools/cibadmin.c crm_set_options(NULL, "command [options] [data]", long_options, NULL 377 tools/cibadmin.c if (optind > argc || cib_action == NULL) { NULL 394 tools/cibadmin.c if (admin_input_file != NULL) { NULL 398 tools/cibadmin.c } else if (admin_input_xml != NULL) { NULL 407 tools/cibadmin.c if (input != NULL) { NULL 417 tools/cibadmin.c char *digest = NULL; NULL 419 tools/cibadmin.c if (input == NULL) { NULL 432 tools/cibadmin.c char *digest = NULL; NULL 433 tools/cibadmin.c const char *version = NULL; NULL 435 tools/cibadmin.c if (input == NULL) { NULL 463 tools/cibadmin.c the_cib->cmds->register_callback(the_cib, request_id, message_timeout_ms, FALSE, NULL, NULL 480 tools/cibadmin.c xmlNode *obj = NULL; NULL 483 tools/cibadmin.c rc = the_cib->cmds->query(the_cib, NULL, &obj, command_options); NULL 494 tools/cibadmin.c if (output != NULL) { NULL 521 tools/cibadmin.c if (status == NULL) { NULL 526 tools/cibadmin.c if (cib_action != NULL) { NULL 569 tools/cibadmin.c } else if (safe_str_eq(cib_action, CIB_OP_QUERY) && output == NULL) { NULL 573 tools/cibadmin.c } else if (output == NULL) { NULL 47 tools/crm_attribute.c const char *dest_uname = NULL; NULL 48 tools/crm_attribute.c char *dest_node = NULL; NULL 49 tools/crm_attribute.c char *set_name = NULL; NULL 50 tools/crm_attribute.c char *attr_id = NULL; NULL 51 tools/crm_attribute.c char *attr_name = NULL; NULL 52 tools/crm_attribute.c char *attr_pattern = NULL; NULL 53 tools/crm_attribute.c const char *type = NULL; NULL 54 tools/crm_attribute.c const char *rsc_id = NULL; NULL 55 tools/crm_attribute.c const char *attr_value = NULL; NULL 56 tools/crm_attribute.c const char *attr_default = NULL; NULL 57 tools/crm_attribute.c const char *set_type = NULL; NULL 86 tools/crm_attribute.c {"inhibit-policy-engine", 0, 0, '!', NULL, 1}, NULL 89 tools/crm_attribute.c {"quiet", 0, 0, 'Q', NULL, 1}, NULL 90 tools/crm_attribute.c {"node-uname", 1, 0, 'U', NULL, 1}, NULL 91 tools/crm_attribute.c {"node-uuid", 1, 0, 'u', NULL, 1}, NULL 92 tools/crm_attribute.c {"get-value", 0, 0, 'G', NULL, 1}, NULL 93 tools/crm_attribute.c {"delete-attr", 0, 0, 'D', NULL, 1}, NULL 94 tools/crm_attribute.c {"attr-value", 1, 0, 'v', NULL, 1}, NULL 95 tools/crm_attribute.c {"attr-name", 1, 0, 'n', NULL, 1}, NULL 96 tools/crm_attribute.c {"attr-id", 1, 0, 'i', NULL, 1}, NULL 119 tools/crm_attribute.c cib_t *the_cib = NULL; NULL 130 tools/crm_attribute.c crm_set_options(NULL, "<command> -n <attribute> [options]", long_options, NULL 232 tools/crm_attribute.c if (type == NULL && dest_uname != NULL) { NULL 243 tools/crm_attribute.c if (type == NULL && dest_uname == NULL) { NULL 254 tools/crm_attribute.c if (dest_uname == NULL) { NULL 267 tools/crm_attribute.c if ((command == 'D') && (attr_name == NULL) && (attr_pattern == NULL)) { NULL 286 tools/crm_attribute.c && pcmk_ok == attrd_update_delegate(NULL, command, dest_uname, attr_name, NULL 287 tools/crm_attribute.c attr_value, type, set_name, NULL, NULL, NULL 293 tools/crm_attribute.c attr_id, attr_name, attr_value, TRUE, NULL); NULL 304 tools/crm_attribute.c CRM_LOG_ASSERT(type != NULL); NULL 305 tools/crm_attribute.c CRM_LOG_ASSERT(attr_name != NULL); NULL 306 tools/crm_attribute.c CRM_LOG_ASSERT(attr_value != NULL); NULL 309 tools/crm_attribute.c attr_id, attr_name, attr_value, TRUE, NULL, is_remote_node ? "remote" : NULL); NULL 313 tools/crm_attribute.c char *read_value = NULL; NULL 316 tools/crm_attribute.c attr_id, attr_name, &read_value, TRUE, NULL); NULL 336 tools/crm_attribute.c } else if (read_value != NULL) { NULL 54 tools/crm_diff.c {"stdin", 0, 0, 's', NULL, 1}, NULL 94 tools/crm_diff.c if (output != NULL) { NULL 115 tools/crm_diff.c const char *fmt = NULL; NULL 116 tools/crm_diff.c const char *digest = NULL; NULL 150 tools/crm_diff.c xmlNode *tmp = NULL; NULL 174 tools/crm_diff.c xmlNode *output = NULL; NULL 192 tools/crm_diff.c xml_track_changes(object_2, NULL, object_2, FALSE); NULL 196 tools/crm_diff.c output = xml_create_patchset(0, object_1, object_2, NULL, FALSE); NULL 201 tools/crm_diff.c if (output == NULL) { NULL 232 tools/crm_diff.c xmlNode *object_1 = NULL; NULL 233 tools/crm_diff.c xmlNode *object_2 = NULL; NULL 234 tools/crm_diff.c const char *xml_file_1 = NULL; NULL 235 tools/crm_diff.c const char *xml_file_2 = NULL; NULL 240 tools/crm_diff.c crm_set_options(NULL, "original_xml operation [options]", long_options, NULL 324 tools/crm_diff.c } else if (xml_file_1 != NULL) { NULL 335 tools/crm_diff.c } else if (xml_file_2 != NULL) { NULL 339 tools/crm_diff.c if (object_1 == NULL) { NULL 343 tools/crm_diff.c if (object_2 == NULL) { NULL 51 tools/crm_error.c crm_set_options(NULL, "[options] -- rc", long_options, NULL 82 tools/crm_error.c if(name == NULL || strcmp("Unknown", name) == 0) { NULL 94 tools/crm_error.c rc = crm_atoi(argv[lpc], NULL); NULL 98 tools/crm_mon.c char *output_filename = NULL; /* if sending output to a file, its name */ NULL 101 tools/crm_mon.c char *xml_file = NULL; NULL 102 tools/crm_mon.c char *pid_file = NULL; NULL 103 tools/crm_mon.c char *snmp_target = NULL; NULL 104 tools/crm_mon.c char *snmp_community = NULL; NULL 110 tools/crm_mon.c GMainLoop *mainloop = NULL; NULL 112 tools/crm_mon.c GList *attr_list = NULL; NULL 114 tools/crm_mon.c const char *crm_mail_host = NULL; NULL 115 tools/crm_mon.c const char *crm_mail_prefix = NULL; NULL 116 tools/crm_mon.c const char *crm_mail_from = NULL; NULL 117 tools/crm_mon.c const char *crm_mail_to = NULL; NULL 118 tools/crm_mon.c const char *external_agent = NULL; NULL 119 tools/crm_mon.c const char *external_recipient = NULL; NULL 121 tools/crm_mon.c cib_t *cib = NULL; NULL 122 tools/crm_mon.c stonith_t *st = NULL; NULL 123 tools/crm_mon.c xmlNode *current_cib = NULL; NULL 139 tools/crm_mon.c "#", NULL } NULL 142 tools/crm_mon.c crm_trigger_t *refresh_trigger = NULL; NULL 226 tools/crm_mon.c timer_id = g_timeout_add(reconnect_msec, mon_timer_popped, NULL); NULL 237 tools/crm_mon.c timer_id = g_timeout_add(reconnect_msec, mon_timer_popped, NULL); NULL 286 tools/crm_mon.c CRM_CHECK(cib != NULL, return -EINVAL); NULL 288 tools/crm_mon.c if (getenv("CIB_passwd") != NULL) { NULL 292 tools/crm_mon.c if (watch_fencing && st == NULL) { NULL 298 tools/crm_mon.c rc = st->cmds->connect(st, crm_system_name, NULL); NULL 318 tools/crm_mon.c rc = cib->cmds->query(cib, NULL, ¤t_cib, cib_scope_local | cib_sync_call); NULL 320 tools/crm_mon.c mon_refresh_display(NULL); NULL 399 tools/crm_mon.c {"xml-file", 1, 0, 'x', NULL, pcmk_option_hidden}, NULL 417 tools/crm_mon.c {NULL, 0, 0, 0} NULL 427 tools/crm_mon.c for (lpc = 0; long_options[lpc].name != NULL; lpc++) { NULL 433 tools/crm_mon.c const char * tab = NULL; NULL 439 tools/crm_mon.c return NULL; NULL 535 tools/crm_mon.c mon_refresh_display(NULL); NULL 550 tools/crm_mon.c crm_set_options(NULL, "mode [options]", long_options, NULL 625 tools/crm_mon.c if(optarg == NULL) { NULL 631 tools/crm_mon.c if(optarg == NULL) { NULL 638 tools/crm_mon.c if(optarg == NULL) { NULL 708 tools/crm_mon.c argerr += (output_filename != NULL); NULL 709 tools/crm_mon.c argerr += (xml_file != NULL); NULL 710 tools/crm_mon.c argerr += (snmp_target != NULL); NULL 711 tools/crm_mon.c argerr += (crm_mail_to != NULL); NULL 712 tools/crm_mon.c argerr += (external_agent != NULL); NULL 772 tools/crm_mon.c if (xml_file != NULL) { NULL 774 tools/crm_mon.c mon_refresh_display(NULL); NULL 778 tools/crm_mon.c if (current_cib == NULL) { NULL 829 tools/crm_mon.c ncurses_winch_handler = NULL; NULL 830 tools/crm_mon.c g_io_add_watch(g_io_channel_unix_new(STDIN_FILENO), G_IO_IN, detect_user_input, NULL); NULL 833 tools/crm_mon.c refresh_trigger = mainloop_add_trigger(G_PRIORITY_LOW, mon_refresh_display, NULL); NULL 858 tools/crm_mon.c GListPtr gIter = NULL; NULL 860 tools/crm_mon.c if (rsc == NULL) { NULL 868 tools/crm_mon.c for (; gIter != NULL; gIter = gIter->next) { NULL 886 tools/crm_mon.c GListPtr gIter = NULL; NULL 891 tools/crm_mon.c if (data_set->dc_node == NULL) { NULL 895 tools/crm_mon.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 910 tools/crm_mon.c int nresources = count_resources(data_set, NULL); NULL 982 tools/crm_mon.c for (c = (date_str != NULL) ? date_str : empty_str; *c != '\0'; ++c) { NULL 1080 tools/crm_mon.c heading = (inactive_resources? "Inactive resources" : NULL); NULL 1168 tools/crm_mon.c const char *prefix = NULL; NULL 1190 tools/crm_mon.c print_rscs_brief(data_set->resources, NULL, print_opts, stream, NULL 1195 tools/crm_mon.c for (rsc_iter = data_set->resources; rsc_iter != NULL; rsc_iter = rsc_iter->next) { NULL 1252 tools/crm_mon.c NULL, data_set) NULL 1280 tools/crm_mon.c if (rsc == NULL) { NULL 1349 tools/crm_mon.c print_nvpair(stream, CRM_LAST_FAILURE_PREFIX, NULL, NULL, NULL 1415 tools/crm_mon.c const char *value = NULL; NULL 1450 tools/crm_mon.c int_value = crm_parse_int(value, NULL); NULL 1452 tools/crm_mon.c print_nvpair(stream, attr, NULL, NULL, int_value); NULL 1459 tools/crm_mon.c int_value = crm_parse_int(value, NULL); NULL 1461 tools/crm_mon.c print_nvpair(stream, attr, NULL, NULL, int_value); NULL 1513 tools/crm_mon.c GListPtr gIter = NULL; NULL 1514 tools/crm_mon.c GListPtr op_list = NULL; NULL 1518 tools/crm_mon.c xmlNode *rsc_op = NULL; NULL 1528 tools/crm_mon.c for (rsc_op = __xml_first_child(rsc_entry); rsc_op != NULL; rsc_op = __xml_next(rsc_op)) { NULL 1536 tools/crm_mon.c for (gIter = op_list; gIter != NULL; gIter = gIter->next) { NULL 1586 tools/crm_mon.c xmlNode *lrm_rsc = NULL; NULL 1587 tools/crm_mon.c xmlNode *rsc_entry = NULL; NULL 1596 tools/crm_mon.c for (rsc_entry = __xml_first_child(lrm_rsc); rsc_entry != NULL; NULL 1622 tools/crm_mon.c GListPtr gIter = NULL; NULL 1624 tools/crm_mon.c for (gIter = rsc_list; gIter != NULL; gIter = gIter->next) { NULL 1628 tools/crm_mon.c if (rsc->children != NULL) { NULL 1637 tools/crm_mon.c if (name == NULL) { NULL 1708 tools/crm_mon.c CRM_CHECK(name != NULL, return); NULL 1711 tools/crm_mon.c for (i = 0; filt_str[i] != NULL; i++) { NULL 1729 tools/crm_mon.c const char *value = NULL; NULL 1785 tools/crm_mon.c xmlNode *node_state = NULL; NULL 1817 tools/crm_mon.c for (node_state = __xml_first_child(cib_status); node_state != NULL; NULL 1866 tools/crm_mon.c print_nvpair(stdout, "last-granted", NULL, NULL, ticket->last_granted); NULL 1948 tools/crm_mon.c const char *node_host = NULL; NULL 1949 tools/crm_mon.c const char *node_id = NULL; NULL 1952 tools/crm_mon.c CRM_ASSERT((node != NULL) && (node->details != NULL) && (node->details->uname != NULL)); NULL 1967 tools/crm_mon.c if (node_host == NULL) { NULL 1988 tools/crm_mon.c CRM_ASSERT(node_name != NULL); NULL 2012 tools/crm_mon.c char *node_name = NULL; NULL 2078 tools/crm_mon.c for (gIter = data_set->placement_constraints; gIter != NULL; gIter = gIter->next) { NULL 2082 tools/crm_mon.c for (gIter2 = location->node_list_rh; gIter2 != NULL; gIter2 = gIter2->next) { NULL 2110 tools/crm_mon.c get_rsc_attributes(rsc->parameters, rsc, NULL, data_set); NULL 2113 tools/crm_mon.c GListPtr gIter = NULL; NULL 2115 tools/crm_mon.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 2131 tools/crm_mon.c GListPtr gIter = NULL; NULL 2156 tools/crm_mon.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 2161 tools/crm_mon.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 2169 tools/crm_mon.c g_hash_table_foreach(data.node->details->attrs, create_attr_list, NULL); NULL 2172 tools/crm_mon.c attr_list = NULL; NULL 2244 tools/crm_mon.c time_t a_time = time(NULL); NULL 2247 tools/crm_mon.c if ((a_time == (time_t) -1) || (since_epoch == NULL)) { NULL 2408 tools/crm_mon.c : NULL; NULL 2410 tools/crm_mon.c char *dc_name = dc? get_node_display_name(dc) : NULL; NULL 2469 tools/crm_mon.c int nresources = count_resources(data_set, NULL); NULL 2481 tools/crm_mon.c if (stack_s && strstr(stack_s, "classic openais") != NULL) { NULL 2510 tools/crm_mon.c if (stack_s && strstr(stack_s, "classic openais") != NULL) { NULL 2542 tools/crm_mon.c count_resources(data_set, NULL), NULL 2685 tools/crm_mon.c if ((data_set->dc_node == NULL) || (show & mon_show_dc)) { NULL 2745 tools/crm_mon.c if (op_key == NULL) { NULL 2751 tools/crm_mon.c if (exit_reason == NULL) { NULL 2858 tools/crm_mon.c xmlNode *xml_op = NULL; NULL 2881 tools/crm_mon.c for (xml_op = __xml_first_child(data_set->failed); xml_op != NULL; NULL 2919 tools/crm_mon.c GListPtr gIter = NULL; NULL 2923 tools/crm_mon.c char *online_nodes = NULL; NULL 2924 tools/crm_mon.c char *online_remote_nodes = NULL; NULL 2925 tools/crm_mon.c char *online_guest_nodes = NULL; NULL 2926 tools/crm_mon.c char *offline_nodes = NULL; NULL 2927 tools/crm_mon.c char *offline_remote_nodes = NULL; NULL 2936 tools/crm_mon.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 2938 tools/crm_mon.c const char *node_mode = NULL; NULL 3017 tools/crm_mon.c GListPtr gIter2 = NULL; NULL 3019 tools/crm_mon.c for (gIter2 = node->details->running_rsc; gIter2 != NULL; gIter2 = gIter2->next) { NULL 3099 tools/crm_mon.c GListPtr gIter = NULL; NULL 3109 tools/crm_mon.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 3143 tools/crm_mon.c GListPtr lpc2 = NULL; NULL 3146 tools/crm_mon.c for (lpc2 = node->details->running_rsc; lpc2 != NULL; lpc2 = lpc2->next) { NULL 3207 tools/crm_mon.c GListPtr gIter = NULL; NULL 3208 tools/crm_mon.c char *filename_tmp = NULL; NULL 3218 tools/crm_mon.c if (stream == NULL) { NULL 3238 tools/crm_mon.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 3260 tools/crm_mon.c print_rscs_brief(node->details->running_rsc, NULL, print_opts | pe_print_rsconly, NULL 3265 tools/crm_mon.c GListPtr lpc2 = NULL; NULL 3268 tools/crm_mon.c for (lpc2 = node->details->running_rsc; lpc2 != NULL; lpc2 = lpc2->next) { NULL 3272 tools/crm_mon.c rsc->fns->print(rsc, NULL, print_opts | pe_print_rsconly, stream); NULL 3354 tools/crm_mon.c if(NULL == snmp_pdu_add_variable( \ NULL 3375 tools/crm_mon.c static netsnmp_session *session = NULL; NULL 3387 tools/crm_mon.c if (target == NULL) { NULL 3388 tools/crm_mon.c return NULL; NULL 3402 tools/crm_mon.c session->callback_magic = NULL; NULL 3415 tools/crm_mon.c NULL, NULL); NULL 3417 tools/crm_mon.c if (session == NULL) { NULL 3447 tools/crm_mon.c time_t now = time(NULL); NULL 3630 tools/crm_mon.c execl(external_agent, external_agent, NULL); NULL 3655 tools/crm_mon.c char *crm_mail_subject = NULL; NULL 3659 tools/crm_mon.c if (node == NULL) { NULL 3662 tools/crm_mon.c if (rsc == NULL) { NULL 3665 tools/crm_mon.c if (desc == NULL) { NULL 3669 tools/crm_mon.c if (crm_mail_to == NULL) { NULL 3673 tools/crm_mon.c if (crm_mail_host == NULL) { NULL 3677 tools/crm_mon.c if (crm_mail_prefix == NULL) { NULL 3726 tools/crm_mon.c sigaction(SIGPIPE, &sa, NULL); NULL 3733 tools/crm_mon.c smtp_set_eventcb(session, event_cb, NULL); NULL 3742 tools/crm_mon.c if (crm_mail_from == NULL) { NULL 3755 tools/crm_mon.c smtp_set_header(message, "To", NULL /*phrase */ , NULL /*addr */ ); /* "Phrase" <addr> */ NULL 3780 tools/crm_mon.c smtp_enumerate_recipients(message, print_recipient_status, NULL); NULL 3801 tools/crm_mon.c char *rsc = NULL; NULL 3802 tools/crm_mon.c char *task = NULL; NULL 3803 tools/crm_mon.c const char *desc = NULL; NULL 3804 tools/crm_mon.c const char *magic = NULL; NULL 3805 tools/crm_mon.c const char *id = NULL; NULL 3806 tools/crm_mon.c char *update_te_uuid = NULL; NULL 3807 tools/crm_mon.c const char *node = NULL; NULL 3823 tools/crm_mon.c if (id == NULL) { NULL 3829 tools/crm_mon.c if (magic == NULL) { NULL 3847 tools/crm_mon.c while (n != NULL && safe_str_neq(XML_CIB_TAG_STATE, TYPE(n))) { NULL 3851 tools/crm_mon.c if(node == NULL && n) { NULL 3855 tools/crm_mon.c if (node == NULL && n) { NULL 3859 tools/crm_mon.c if (node == NULL) { NULL 3863 tools/crm_mon.c if (node == NULL) { NULL 3910 tools/crm_mon.c char *nodeid = NULL; NULL 3927 tools/crm_mon.c xmlNode *change = NULL; NULL 3930 tools/crm_mon.c for (change = __xml_first_child(diff); change != NULL; change = __xml_next(change)) { NULL 3931 tools/crm_mon.c const char *name = NULL; NULL 3934 tools/crm_mon.c xmlNode *match = NULL; NULL 3935 tools/crm_mon.c const char *node = NULL; NULL 3937 tools/crm_mon.c if(op == NULL) { NULL 3961 tools/crm_mon.c if(xpath == NULL) { NULL 3964 tools/crm_mon.c } else if(name == NULL) { NULL 3969 tools/crm_mon.c xmlNode *state = NULL; NULL 3972 tools/crm_mon.c for (state = __xml_first_child(status); state != NULL; state = __xml_next(state)) { NULL 3974 tools/crm_mon.c if (node == NULL) { NULL 3981 tools/crm_mon.c xmlNode *state = NULL; NULL 3983 tools/crm_mon.c for (state = __xml_first_child(match); state != NULL; state = __xml_next(state)) { NULL 3985 tools/crm_mon.c if (node == NULL) { NULL 3993 tools/crm_mon.c if (node == NULL) { NULL 4037 tools/crm_mon.c handle_rsc_op(rsc_op, NULL); NULL 4046 tools/crm_mon.c long now = time(NULL); NULL 4049 tools/crm_mon.c static mainloop_timer_t *refresh_timer = NULL; NULL 4054 tools/crm_mon.c if(refresh_timer == NULL) { NULL 4055 tools/crm_mon.c refresh_timer = mainloop_timer_add("refresh", 2000, FALSE, mon_trigger_refresh, NULL); NULL 4058 tools/crm_mon.c if (current_cib != NULL) { NULL 4065 tools/crm_mon.c free_xml(current_cib); current_cib = NULL; NULL 4072 tools/crm_mon.c free_xml(current_cib); current_cib = NULL; NULL 4076 tools/crm_mon.c if (current_cib == NULL) { NULL 4078 tools/crm_mon.c cib->cmds->query(cib, NULL, ¤t_cib, cib_scope_local | cib_sync_call); NULL 4096 tools/crm_mon.c if (current_cib == NULL) { NULL 4131 tools/crm_mon.c last_refresh = time(NULL); NULL 4133 tools/crm_mon.c if (cli_config_update(&cib_copy, NULL, FALSE) == FALSE) { NULL 4198 tools/crm_mon.c send_snmp_trap(e->target, NULL, e->operation, pcmk_ok, e->result, 0, desc); NULL 4201 tools/crm_mon.c send_smtp_trap(e->target, NULL, e->operation, pcmk_ok, e->result, 0, desc); NULL 4204 tools/crm_mon.c send_custom_trap(e->target, NULL, e->operation, pcmk_ok, e->result, 0, desc); NULL 4216 tools/crm_mon.c netsnmp_session *session = crm_snmp_init(NULL, NULL); NULL 4233 tools/crm_mon.c if (cib != NULL) { NULL 4236 tools/crm_mon.c cib = NULL; NULL 43 tools/crm_node.c char *target_uuid = NULL; NULL 44 tools/crm_node.c char *target_uname = NULL; NULL 45 tools/crm_node.c const char *standby_value = NULL; NULL 46 tools/crm_node.c const char *standby_scope = NULL; NULL 92 tools/crm_node.c cib_t *cib = NULL; NULL 93 tools/crm_node.c xmlNode *node = NULL; NULL 94 tools/crm_node.c xmlNode *node_state = NULL; NULL 98 tools/crm_node.c if(name == NULL && id == 0) { NULL 102 tools/crm_node.c node = create_xml_node(NULL, XML_CIB_TAG_NODE); NULL 103 tools/crm_node.c node_state = create_xml_node(NULL, XML_CIB_TAG_STATE); NULL 135 tools/crm_node.c char *name = NULL; NULL 136 tools/crm_node.c char *admin_uuid = NULL; NULL 138 tools/crm_node.c xmlNode *cmd = NULL; NULL 139 tools/crm_node.c xmlNode *hello = NULL; NULL 140 tools/crm_node.c char *endptr = NULL; NULL 156 tools/crm_node.c rc = crm_ipc_send(conn, hello, 0, 0, NULL); NULL 179 tools/crm_node.c cmd = create_xml_node(NULL, __FUNCTION__); NULL 196 tools/crm_node.c NULL, NULL, target, crm_system_name, admin_uuid); NULL 203 tools/crm_node.c rc = crm_ipc_send(conn, cmd, 0, 0, NULL); NULL 234 tools/crm_node.c xmlNode *node = NULL; NULL 235 tools/crm_node.c GListPtr nodes = NULL; NULL 236 tools/crm_node.c GListPtr iter = NULL; NULL 240 tools/crm_node.c if (command == 'q' && quorate != NULL) { NULL 248 tools/crm_node.c for (node = __xml_first_child(msg); node != NULL; node = __xml_next(node)) { NULL 338 tools/crm_node.c GMainLoop *amainloop = g_main_loop_new(NULL, FALSE); NULL 340 tools/crm_node.c mainloop_add_ipc_client(CRM_SYSTEM_MCP, G_PRIORITY_DEFAULT, 0, NULL, &node_callbacks); NULL 341 tools/crm_node.c if (ipc != NULL) { NULL 343 tools/crm_node.c xmlNode *poke = create_xml_node(NULL, "poke"); NULL 345 tools/crm_node.c crm_ipc_send(mainloop_get_ipc_client(ipc), poke, 0, 0, NULL); NULL 362 tools/crm_node.c oc_ev_t *ccm_token = NULL; NULL 363 tools/crm_node.c static void *ccm_library = NULL; NULL 370 tools/crm_node.c char *buffer = NULL; NULL 375 tools/crm_node.c if (input == NULL) { NULL 402 tools/crm_node.c } else if (buffer != NULL) { NULL 497 tools/crm_node.c ret = (*ccm_api_set_callback) (ccm_token, OC_EV_MEMB_CLASS, ccm_age_callback, NULL); NULL 547 tools/crm_node.c rc = select(ccm_fd + 1, &rset, NULL, NULL, NULL); NULL 588 tools/crm_node.c cman_handle_t cman_handle = NULL; NULL 593 tools/crm_node.c cman_handle = cman_init(NULL); NULL 594 tools/crm_node.c if (cman_handle == NULL || cman_is_active(cman_handle) == FALSE) { NULL 685 tools/crm_node.c if (node->uname != NULL) { NULL 696 tools/crm_node.c const char *from = NULL; NULL 719 tools/crm_node.c GList *nodes = NULL; NULL 720 tools/crm_node.c GListPtr lpc = NULL; NULL 723 tools/crm_node.c for (lpc = nodes; lpc != NULL; lpc = lpc->next) { NULL 731 tools/crm_node.c GList *nodes = NULL; NULL 732 tools/crm_node.c GListPtr lpc = NULL; NULL 735 tools/crm_node.c for (lpc = nodes; lpc != NULL; lpc = lpc->next) { NULL 769 tools/crm_node.c rc = quorum_initialize(&q_handle, NULL, &quorum_type); NULL 791 tools/crm_node.c rc = cpg_initialize(&c_handle, NULL); NULL 823 tools/crm_node.c cluster.cpg.cpg_confchg_fn = NULL; NULL 827 tools/crm_node.c GMainLoop *amainloop = NULL; NULL 831 tools/crm_node.c send_cluster_text(crm_class_rmpeer, target_uname, TRUE, NULL, crm_msg_ais); NULL 841 tools/crm_node.c send_cluster_text(crm_class_quorum, NULL, TRUE, NULL, crm_msg_ais); NULL 847 tools/crm_node.c send_cluster_text(crm_class_members, __FUNCTION__, TRUE, NULL, crm_msg_ais); NULL 881 tools/crm_node.c crm_set_options(NULL, "command [options]", long_options, NULL 921 tools/crm_node.c nodeid = crm_parse_int(optarg, NULL); NULL 947 tools/crm_node.c if(name == NULL) { NULL 40 tools/crm_resource.c GMainLoop *mainloop = NULL; NULL 71 tools/crm_resource.c g_timeout_add(message_timeout_ms, resource_ipc_timeout, NULL); NULL 108 tools/crm_resource.c "help", no_argument, NULL, '?', NULL 112 tools/crm_resource.c "version", no_argument, NULL, '$', NULL 116 tools/crm_resource.c "verbose", no_argument, NULL, 'V', NULL 120 tools/crm_resource.c "quiet", no_argument, NULL, 'Q', NULL 124 tools/crm_resource.c "resource", required_argument, NULL, 'r', NULL 128 tools/crm_resource.c { "-spacer-", no_argument, NULL, '-', "\nQueries:" }, NULL 130 tools/crm_resource.c "list", no_argument, NULL, 'L', NULL 133 tools/crm_resource.c "list-raw", no_argument, NULL, 'l', NULL 137 tools/crm_resource.c "list-cts", no_argument, NULL, 'c', NULL 138 tools/crm_resource.c NULL, pcmk_option_hidden NULL 141 tools/crm_resource.c "list-operations", no_argument, NULL, 'O', NULL 145 tools/crm_resource.c "list-all-operations", no_argument, NULL, 'o', NULL 149 tools/crm_resource.c "pending", no_argument, NULL, 'j', NULL 154 tools/crm_resource.c "list-standards", no_argument, NULL, 0, NULL 158 tools/crm_resource.c "list-ocf-providers", no_argument, NULL, 0, NULL 162 tools/crm_resource.c "list-agents", required_argument, NULL, 0, NULL 166 tools/crm_resource.c "list-ocf-alternatives", required_argument, NULL, 0, NULL 170 tools/crm_resource.c "show-metadata", required_argument, NULL, 0, NULL 174 tools/crm_resource.c "query-xml", no_argument, NULL, 'q', NULL 178 tools/crm_resource.c "query-xml-raw", no_argument, NULL, 'w', NULL 182 tools/crm_resource.c "get-parameter", required_argument, NULL, 'g', NULL 187 tools/crm_resource.c "get-property", required_argument, NULL, 'G', NULL 192 tools/crm_resource.c "locate", no_argument, NULL, 'W', NULL 196 tools/crm_resource.c "stack", no_argument, NULL, 'A', NULL 200 tools/crm_resource.c "constraints", no_argument, NULL, 'a', NULL 204 tools/crm_resource.c "why", no_argument, NULL, 'Y', NULL 208 tools/crm_resource.c { "-spacer-", no_argument, NULL, '-', "\nCommands:" }, NULL 210 tools/crm_resource.c "validate", no_argument, NULL, 0, NULL 214 tools/crm_resource.c "cleanup", no_argument, NULL, 'C', NULL 221 tools/crm_resource.c "refresh", no_argument, NULL, 'R', NULL 228 tools/crm_resource.c "set-parameter", required_argument, NULL, 'p', NULL 233 tools/crm_resource.c "delete-parameter", required_argument, NULL, 'd', NULL 238 tools/crm_resource.c "set-property", required_argument, NULL, 'S', NULL 243 tools/crm_resource.c { "-spacer-", no_argument, NULL, '-', "\nResource location:" }, NULL 245 tools/crm_resource.c "move", no_argument, NULL, 'M', NULL 255 tools/crm_resource.c "ban", no_argument, NULL, 'B', NULL 264 tools/crm_resource.c "clear", no_argument, NULL, 'U', NULL 272 tools/crm_resource.c "lifetime", required_argument, NULL, 'u', NULL 277 tools/crm_resource.c "master", no_argument, NULL, 0, NULL 282 tools/crm_resource.c { "-spacer-", no_argument, NULL, '-', "\nAdvanced Commands:" }, NULL 284 tools/crm_resource.c "delete", no_argument, NULL, 'D', NULL 288 tools/crm_resource.c "fail", no_argument, NULL, 'F', NULL 292 tools/crm_resource.c "restart", no_argument, NULL, 0, NULL 296 tools/crm_resource.c "wait", no_argument, NULL, 0, NULL 300 tools/crm_resource.c "force-demote", no_argument, NULL, 0, NULL 306 tools/crm_resource.c "force-stop", no_argument, NULL, 0, NULL 310 tools/crm_resource.c "force-start", no_argument, NULL, 0, NULL 316 tools/crm_resource.c "force-promote", no_argument, NULL, 0, NULL 322 tools/crm_resource.c "force-check", no_argument, NULL, 0, NULL 326 tools/crm_resource.c { "-spacer-", no_argument, NULL, '-', "\nAdditional Options:" }, NULL 328 tools/crm_resource.c "node", required_argument, NULL, 'N', NULL 332 tools/crm_resource.c "recursive", no_argument, NULL, 0, NULL 336 tools/crm_resource.c "resource-type", required_argument, NULL, 't', NULL 340 tools/crm_resource.c "parameter-value", required_argument, NULL, 'v', NULL 344 tools/crm_resource.c "meta", no_argument, NULL, 'm', NULL 348 tools/crm_resource.c "utilization", no_argument, NULL, 'z', NULL 352 tools/crm_resource.c "operation", required_argument, NULL, 'n', NULL 356 tools/crm_resource.c "interval", required_argument, NULL, 'I', NULL 360 tools/crm_resource.c "set-name", required_argument, NULL, 's', NULL 364 tools/crm_resource.c "nvpair", required_argument, NULL, 'i', NULL 368 tools/crm_resource.c "timeout", required_argument, NULL, 'T', NULL 372 tools/crm_resource.c "force", no_argument, NULL, 'f', NULL 377 tools/crm_resource.c "xml-file", required_argument, NULL, 'x', NULL 378 tools/crm_resource.c NULL, pcmk_option_hidden NULL 382 tools/crm_resource.c {"host-uname", required_argument, NULL, 'H', NULL, pcmk_option_hidden}, NULL 383 tools/crm_resource.c {"migrate", no_argument, NULL, 'M', NULL, pcmk_option_hidden}, NULL 384 tools/crm_resource.c {"un-migrate", no_argument, NULL, 'U', NULL, pcmk_option_hidden}, NULL 385 tools/crm_resource.c {"un-move", no_argument, NULL, 'U', NULL, pcmk_option_hidden}, NULL 387 tools/crm_resource.c {"refresh", 0, 0, 'R', NULL, pcmk_option_hidden}, // remove this line for 2.0.0 NULL 388 tools/crm_resource.c {"reprobe", no_argument, NULL, 'P', NULL, pcmk_option_hidden}, NULL 390 tools/crm_resource.c {"-spacer-", 1, NULL, '-', "\nExamples:", pcmk_option_paragraph}, NULL 391 tools/crm_resource.c {"-spacer-", 1, NULL, '-', "List the available OCF agents:", pcmk_option_paragraph}, NULL 392 tools/crm_resource.c {"-spacer-", 1, NULL, '-', " crm_resource --list-agents ocf", pcmk_option_example}, NULL 393 tools/crm_resource.c {"-spacer-", 1, NULL, '-', "List the available OCF agents from the linux-ha project:", pcmk_option_paragraph}, NULL 394 tools/crm_resource.c {"-spacer-", 1, NULL, '-', " crm_resource --list-agents ocf:heartbeat", pcmk_option_example}, NULL 395 tools/crm_resource.c {"-spacer-", 1, NULL, '-', "Move 'myResource' to a specific node:", pcmk_option_paragraph}, NULL 396 tools/crm_resource.c {"-spacer-", 1, NULL, '-', " crm_resource --resource myResource --move --node altNode", pcmk_option_example}, NULL 397 tools/crm_resource.c {"-spacer-", 1, NULL, '-', "Allow (but not force) 'myResource' to move back to its original location:", pcmk_option_paragraph}, NULL 398 tools/crm_resource.c {"-spacer-", 1, NULL, '-', " crm_resource --resource myResource --clear", pcmk_option_example}, NULL 399 tools/crm_resource.c {"-spacer-", 1, NULL, '-', "Stop 'myResource' (and anything that depends on it):", pcmk_option_paragraph}, NULL 400 tools/crm_resource.c {"-spacer-", 1, NULL, '-', " crm_resource --resource myResource --set-parameter target-role --meta --parameter-value Stopped", pcmk_option_example}, NULL 401 tools/crm_resource.c {"-spacer-", 1, NULL, '-', "Tell the cluster not to manage 'myResource':", pcmk_option_paragraph}, NULL 402 tools/crm_resource.c {"-spacer-", 1, NULL, '-', "The cluster will not attempt to start or stop the resource under any circumstances."}, NULL 403 tools/crm_resource.c {"-spacer-", 1, NULL, '-', "Useful when performing maintenance tasks on a resource.", pcmk_option_paragraph}, NULL 404 tools/crm_resource.c {"-spacer-", 1, NULL, '-', " crm_resource --resource myResource --set-parameter is-managed --meta --parameter-value false", pcmk_option_example}, NULL 405 tools/crm_resource.c {"-spacer-", 1, NULL, '-', "Erase the operation history of 'myResource' on 'aNode':", pcmk_option_paragraph}, NULL 406 tools/crm_resource.c {"-spacer-", 1, NULL, '-', "The cluster will 'forget' the existing resource state (including any errors) and attempt to recover the resource."}, NULL 407 tools/crm_resource.c {"-spacer-", 1, NULL, '-', "Useful when a resource had failed permanently and has been repaired by an administrator.", pcmk_option_paragraph}, NULL 408 tools/crm_resource.c {"-spacer-", 1, NULL, '-', " crm_resource --resource myResource --cleanup --node aNode", pcmk_option_example}, NULL 420 tools/crm_resource.c const char *rsc_id = NULL; NULL 421 tools/crm_resource.c const char *host_uname = NULL; NULL 422 tools/crm_resource.c const char *prop_name = NULL; NULL 423 tools/crm_resource.c const char *prop_value = NULL; NULL 424 tools/crm_resource.c const char *rsc_type = NULL; NULL 425 tools/crm_resource.c const char *prop_id = NULL; NULL 426 tools/crm_resource.c const char *prop_set = NULL; NULL 427 tools/crm_resource.c const char *rsc_long_cmd = NULL; NULL 428 tools/crm_resource.c const char *longname = NULL; NULL 429 tools/crm_resource.c const char *operation = NULL; NULL 430 tools/crm_resource.c const char *interval = NULL; NULL 432 tools/crm_resource.c GHashTable *override_params = NULL; NULL 434 tools/crm_resource.c char *xml_file = NULL; NULL 435 tools/crm_resource.c crm_ipc_t *crmd_channel = NULL; NULL 437 tools/crm_resource.c cib_t *cib_conn = NULL; NULL 438 tools/crm_resource.c resource_t *rsc = NULL; NULL 440 tools/crm_resource.c char *our_pid = NULL; NULL 456 tools/crm_resource.c crm_set_options(NULL, "(query|command) [options]", long_options, NULL 494 tools/crm_resource.c const char *text = NULL; NULL 495 tools/crm_resource.c lrmd_list_t *list = NULL; NULL 496 tools/crm_resource.c lrmd_list_t *iter = NULL; NULL 511 tools/crm_resource.c for (iter = list; iter != NULL; iter = iter->next) { NULL 527 tools/crm_resource.c char *standard = NULL; NULL 528 tools/crm_resource.c char *provider = NULL; NULL 529 tools/crm_resource.c char *type = NULL; NULL 530 tools/crm_resource.c char *metadata = NULL; NULL 554 tools/crm_resource.c lrmd_list_t *list = NULL; NULL 555 tools/crm_resource.c lrmd_list_t *iter = NULL; NULL 566 tools/crm_resource.c for (iter = list; iter != NULL; iter = iter->next) { NULL 634 tools/crm_resource.c if (cib_file == NULL) { NULL 645 tools/crm_resource.c if (cib_file == NULL) { NULL 756 tools/crm_resource.c && argv[optind] != NULL NULL 761 tools/crm_resource.c while (optind < argc && argv[optind] != NULL) { NULL 778 tools/crm_resource.c } else if (optind < argc && argv[optind] != NULL && rsc_cmd == 0) { NULL 780 tools/crm_resource.c while (optind < argc && argv[optind] != NULL) { NULL 803 tools/crm_resource.c data_set.input = NULL; /* make clean-up easier */ NULL 825 tools/crm_resource.c xmlNode *cib_xml_copy = NULL; NULL 827 tools/crm_resource.c if (xml_file != NULL) { NULL 831 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); NULL 851 tools/crm_resource.c if (rsc == NULL) { NULL 860 tools/crm_resource.c xmlNode *xml = NULL; NULL 862 tools/crm_resource.c mainloop_add_ipc_client(CRM_SYSTEM_CRMD, G_PRIORITY_DEFAULT, 0, NULL, &crm_callbacks); NULL 865 tools/crm_resource.c if (crmd_channel == NULL) { NULL 872 tools/crm_resource.c crm_ipc_send(crmd_channel, xml, 0, 0, NULL); NULL 883 tools/crm_resource.c GListPtr lpc = NULL; NULL 886 tools/crm_resource.c for (lpc = data_set.resources; lpc != NULL; lpc = lpc->next) { NULL 913 tools/crm_resource.c GListPtr lpc = NULL; NULL 921 tools/crm_resource.c for (lpc = data_set.resources; lpc != NULL; lpc = lpc->next) { NULL 930 tools/crm_resource.c cli_resource_print_location(rsc, NULL); NULL 932 tools/crm_resource.c for (lpc = data_set.resources; lpc != NULL; lpc = lpc->next) { NULL 941 tools/crm_resource.c GListPtr lpc = NULL; NULL 944 tools/crm_resource.c for (lpc = data_set.resources; lpc != NULL; lpc = lpc->next) { NULL 975 tools/crm_resource.c node_t *dest = NULL; NULL 979 tools/crm_resource.c if (dest == NULL) { NULL 989 tools/crm_resource.c node_t *dest = NULL; NULL 993 tools/crm_resource.c if (dest == NULL) { NULL 998 tools/crm_resource.c rc = cli_resource_clear(rsc_id, dest->details->uname, NULL, cib_conn); NULL 1001 tools/crm_resource.c rc = cli_resource_clear(rsc_id, NULL, data_set.nodes, cib_conn); NULL 1010 tools/crm_resource.c if (dest == NULL) { NULL 1015 tools/crm_resource.c rc = cli_resource_ban(rsc_id, dest->details->uname, NULL, cib_conn); NULL 1021 tools/crm_resource.c rc = cli_resource_ban(rsc_id, current->details->uname, NULL, cib_conn); NULL 1025 tools/crm_resource.c GListPtr iter = NULL; NULL 1026 tools/crm_resource.c node_t *current = NULL; NULL 1039 tools/crm_resource.c rc = cli_resource_ban(rsc_id, current->details->uname, NULL, cib_conn); NULL 1057 tools/crm_resource.c xmlNode *msg_data = NULL; NULL 1059 tools/crm_resource.c if ((rsc_type == NULL) || !strlen(rsc_type)) { NULL 1064 tools/crm_resource.c } else if ((prop_value == NULL) || !strlen(prop_value)) { NULL 1070 tools/crm_resource.c CRM_LOG_ASSERT(prop_name != NULL); NULL 1072 tools/crm_resource.c msg_data = create_xml_node(NULL, rsc_type); NULL 1083 tools/crm_resource.c if (prop_value == NULL || strlen(prop_value) == 0) { NULL 1101 tools/crm_resource.c for (xmlNode *xml_op = __xml_first_child(data_set.failed); xml_op != NULL; NULL 1109 tools/crm_resource.c if(resource_name == NULL) { NULL 1159 tools/crm_resource.c xmlNode *msg_data = NULL; NULL 1160 tools/crm_resource.c xmlNode *cmd = NULL; NULL 1167 tools/crm_resource.c if (node->details->remote_rsc == NULL || node->details->remote_rsc->running_on == NULL) { NULL 1178 tools/crm_resource.c if (crmd_channel == NULL) { NULL 1185 tools/crm_resource.c msg_data = create_xml_node(NULL, "crm-resource-reprobe-op"); NULL 1197 tools/crm_resource.c rc = attrd_clear_delegate(NULL, host_uname, NULL, NULL, NULL, NULL, NULL 1200 tools/crm_resource.c if (crm_ipc_send(crmd_channel, cmd, 0, 0, NULL) > 0) { NULL 1206 tools/crm_resource.c GListPtr rIter = NULL; NULL 1211 tools/crm_resource.c cli_resource_delete(crmd_channel, host_uname, rsc, NULL, NULL, NULL 1219 tools/crm_resource.c xmlNode *msg_data = NULL; NULL 1221 tools/crm_resource.c if (rsc_type == NULL) { NULL 1227 tools/crm_resource.c msg_data = create_xml_node(NULL, rsc_type); NULL 1241 tools/crm_resource.c if (data_set.input != NULL) { NULL 1244 tools/crm_resource.c if (cib_conn != NULL) { NULL 21 tools/crm_resource_ban.c char *move_lifetime = NULL; NULL 26 tools/crm_resource_ban.c char *later_s = NULL; NULL 27 tools/crm_resource_ban.c crm_time_t *now = NULL; NULL 28 tools/crm_resource_ban.c crm_time_t *later = NULL; NULL 29 tools/crm_resource_ban.c crm_time_t *duration = NULL; NULL 31 tools/crm_resource_ban.c if (input == NULL) { NULL 32 tools/crm_resource_ban.c return NULL; NULL 36 tools/crm_resource_ban.c if (duration == NULL) { NULL 41 tools/crm_resource_ban.c return NULL; NULL 44 tools/crm_resource_ban.c now = crm_time_new(NULL); NULL 63 tools/crm_resource_ban.c char *later_s = NULL; NULL 65 tools/crm_resource_ban.c xmlNode *fragment = NULL; NULL 66 tools/crm_resource_ban.c xmlNode *location = NULL; NULL 68 tools/crm_resource_ban.c if(host == NULL) { NULL 73 tools/crm_resource_ban.c rc = cli_resource_ban(rsc_id, target->details->uname, NULL, cib_conn); NULL 79 tools/crm_resource_ban.c if(move_lifetime && later_s == NULL) { NULL 83 tools/crm_resource_ban.c fragment = create_xml_node(NULL, XML_CIB_TAG_CONSTRAINTS); NULL 108 tools/crm_resource_ban.c if (later_s == NULL) { NULL 147 tools/crm_resource_ban.c xmlNode *location = NULL; NULL 148 tools/crm_resource_ban.c xmlNode *fragment = NULL; NULL 150 tools/crm_resource_ban.c if(move_lifetime && later_s == NULL) { NULL 154 tools/crm_resource_ban.c if(cib_conn == NULL) { NULL 159 tools/crm_resource_ban.c fragment = create_xml_node(NULL, XML_CIB_TAG_CONSTRAINTS); NULL 171 tools/crm_resource_ban.c if (later_s == NULL) { NULL 208 tools/crm_resource_ban.c xmlNode *fragment = NULL; NULL 209 tools/crm_resource_ban.c xmlNode *location = NULL; NULL 211 tools/crm_resource_ban.c if(cib_conn == NULL) { NULL 215 tools/crm_resource_ban.c fragment = create_xml_node(NULL, XML_CIB_TAG_CONSTRAINTS); NULL 28 tools/crm_resource_print.c xmlNode *xml_obj = NULL; NULL 29 tools/crm_resource_print.c xmlNode *lifetime = NULL; NULL 32 tools/crm_resource_print.c for (xml_obj = __xml_first_child(cib_constraints); xml_obj != NULL; NULL 36 tools/crm_resource_print.c if (id == NULL) { NULL 42 tools/crm_resource_print.c if (test_ruleset(lifetime, NULL, data_set->now) == FALSE) { NULL 65 tools/crm_resource_print.c GListPtr lpc = NULL; NULL 66 tools/crm_resource_print.c const char *host = NULL; NULL 73 tools/crm_resource_print.c xmlNode *op = NULL; NULL 77 tools/crm_resource_print.c for (op = __xml_first_child(rsc->ops_xml); op != NULL; op = __xml_next(op)) { NULL 93 tools/crm_resource_print.c if (rsc->running_on != NULL && g_list_length(rsc->running_on) == 1) { NULL 105 tools/crm_resource_print.c for (lpc = rsc->children; lpc != NULL; lpc = lpc->next) { NULL 116 tools/crm_resource_print.c GListPtr lpc = NULL; NULL 119 tools/crm_resource_print.c if (children == NULL) { NULL 123 tools/crm_resource_print.c for (lpc = children; lpc != NULL; lpc = lpc->next) { NULL 135 tools/crm_resource_print.c GListPtr lpc = NULL; NULL 142 tools/crm_resource_print.c for (lpc = data_set->resources; lpc != NULL; lpc = lpc->next) { NULL 149 tools/crm_resource_print.c rsc->fns->print(rsc, NULL, opts, stdout); NULL 165 tools/crm_resource_print.c resource_t *rsc = NULL; NULL 168 tools/crm_resource_print.c GListPtr lpc = NULL; NULL 174 tools/crm_resource_print.c for (lpc = ops; lpc != NULL; lpc = lpc->next) { NULL 209 tools/crm_resource_print.c GListPtr lpc = NULL; NULL 217 tools/crm_resource_print.c for (lpc = list; lpc != NULL; lpc = lpc->next) { NULL 220 tools/crm_resource_print.c GListPtr lpc2 = NULL; NULL 222 tools/crm_resource_print.c for (lpc2 = cons->node_list_rh; lpc2 != NULL; lpc2 = lpc2->next) { NULL 236 tools/crm_resource_print.c char *prefix = NULL; NULL 237 tools/crm_resource_print.c GListPtr lpc = NULL; NULL 255 tools/crm_resource_print.c for (lpc = list; lpc != NULL; lpc = lpc->next) { NULL 258 tools/crm_resource_print.c char *score = NULL; NULL 299 tools/crm_resource_print.c char *rsc_xml = NULL; NULL 305 tools/crm_resource_print.c rsc->fns->print(rsc, NULL, opts, stdout); NULL 318 tools/crm_resource_print.c node_t *current = NULL; NULL 319 tools/crm_resource_print.c GHashTable *params = NULL; NULL 320 tools/crm_resource_print.c const char *value = NULL; NULL 341 tools/crm_resource_print.c XML_TAG_UTILIZATION, NULL, NULL 342 tools/crm_resource_print.c params, NULL, FALSE, data_set->now); NULL 347 tools/crm_resource_print.c if (value != NULL) { NULL 365 tools/crm_resource_print.c if (value != NULL) { NULL 32 tools/crm_resource_runtime.c GListPtr lpc = NULL; NULL 34 tools/crm_resource_runtime.c for (lpc = the_rsc->running_on; lpc != NULL; lpc = lpc->next) { NULL 66 tools/crm_resource_runtime.c for (GListPtr iter = rsc->children; iter != NULL; iter = iter->next) { NULL 96 tools/crm_resource_runtime.c xmlNode *xml_search = NULL; NULL 97 tools/crm_resource_runtime.c char *xpath_string = NULL; NULL 100 tools/crm_resource_runtime.c *value = NULL; NULL 103 tools/crm_resource_runtime.c if(the_cib == NULL) { NULL 143 tools/crm_resource_runtime.c xmlNode *child = NULL; NULL 148 tools/crm_resource_runtime.c for (child = __xml_first_child(xml_search); child != NULL; child = __xml_next(child)) { NULL 172 tools/crm_resource_runtime.c char *lookup_id = NULL; NULL 173 tools/crm_resource_runtime.c char *local_attr_id = NULL; NULL 205 tools/crm_resource_runtime.c } else if(rsc->parent == NULL && rsc->children) { NULL 237 tools/crm_resource_runtime.c char *lookup_id = NULL; NULL 238 tools/crm_resource_runtime.c char *local_attr_id = NULL; NULL 239 tools/crm_resource_runtime.c char *local_attr_set = NULL; NULL 241 tools/crm_resource_runtime.c xmlNode *xml_top = NULL; NULL 242 tools/crm_resource_runtime.c xmlNode *xml_obj = NULL; NULL 246 tools/crm_resource_runtime.c if(attr_id == NULL NULL 249 tools/crm_resource_runtime.c cib, XML_ATTR_ID, uber_parent(rsc)->id, NULL, NULL, NULL, attr_name, NULL)) { NULL 288 tools/crm_resource_runtime.c const char *value = NULL; NULL 289 tools/crm_resource_runtime.c xmlNode *cib_top = NULL; NULL 295 tools/crm_resource_runtime.c if (value != NULL) { NULL 306 tools/crm_resource_runtime.c if (attr_set == NULL) { NULL 310 tools/crm_resource_runtime.c if (attr_id == NULL) { NULL 319 tools/crm_resource_runtime.c xml_top = create_xml_node(NULL, tag); NULL 331 tools/crm_resource_runtime.c if (xml_top == NULL) { NULL 351 tools/crm_resource_runtime.c GListPtr lpc = NULL; NULL 359 tools/crm_resource_runtime.c for (lpc = data_set->resources; lpc != NULL; lpc = lpc->next) { NULL 368 tools/crm_resource_runtime.c for (lpc = rsc->rsc_cons_lhs; lpc != NULL; lpc = lpc->next) { NULL 376 tools/crm_resource_runtime.c cli_resource_update_attribute(peer, peer->id, NULL, NULL, NULL 392 tools/crm_resource_runtime.c xmlNode *xml_obj = NULL; NULL 395 tools/crm_resource_runtime.c char *lookup_id = NULL; NULL 396 tools/crm_resource_runtime.c char *local_attr_id = NULL; NULL 398 tools/crm_resource_runtime.c if(attr_id == NULL NULL 401 tools/crm_resource_runtime.c cib, XML_ATTR_ID, uber_parent(rsc)->id, NULL, NULL, NULL, attr_name, NULL) != pcmk_ok) { NULL 423 tools/crm_resource_runtime.c if (attr_id == NULL) { NULL 427 tools/crm_resource_runtime.c xml_obj = crm_create_nvpair_xml(NULL, attr_id, attr_name, NULL); NULL 450 tools/crm_resource_runtime.c char *our_pid = NULL; NULL 451 tools/crm_resource_runtime.c char *key = NULL; NULL 453 tools/crm_resource_runtime.c xmlNode *cmd = NULL; NULL 454 tools/crm_resource_runtime.c xmlNode *xml_rsc = NULL; NULL 455 tools/crm_resource_runtime.c const char *value = NULL; NULL 457 tools/crm_resource_runtime.c xmlNode *params = NULL; NULL 458 tools/crm_resource_runtime.c xmlNode *msg_data = NULL; NULL 461 tools/crm_resource_runtime.c if (rsc == NULL) { NULL 469 tools/crm_resource_runtime.c } else if (host_uname == NULL) { NULL 476 tools/crm_resource_runtime.c if (node->details->remote_rsc == NULL || node->details->remote_rsc->running_on == NULL) { NULL 487 tools/crm_resource_runtime.c msg_data = create_xml_node(NULL, XML_GRAPH_TAG_RSC_OP); NULL 506 tools/crm_resource_runtime.c if (value == NULL) { NULL 512 tools/crm_resource_runtime.c if (value == NULL) { NULL 532 tools/crm_resource_runtime.c if (crm_ipc_send(crmd_channel, cmd, 0, 0, NULL) > 0) { NULL 567 tools/crm_resource_runtime.c node_t *node = NULL; NULL 568 tools/crm_resource_runtime.c char *rsc_name = NULL; NULL 571 tools/crm_resource_runtime.c if (rsc == NULL) { NULL 575 tools/crm_resource_runtime.c GListPtr lpc = NULL; NULL 577 tools/crm_resource_runtime.c for (lpc = rsc->children; lpc != NULL; lpc = lpc->next) { NULL 588 tools/crm_resource_runtime.c } else if (host_uname == NULL) { NULL 589 tools/crm_resource_runtime.c GListPtr lpc = NULL; NULL 592 tools/crm_resource_runtime.c if(nodes == NULL && do_force) { NULL 595 tools/crm_resource_runtime.c } else if(nodes == NULL && rsc->exclusive_discover) { NULL 597 tools/crm_resource_runtime.c pe_node_t *node = NULL; NULL 600 tools/crm_resource_runtime.c while (g_hash_table_iter_next(&iter, NULL, (void**)&node)) { NULL 606 tools/crm_resource_runtime.c } else if(nodes == NULL) { NULL 610 tools/crm_resource_runtime.c for (lpc = nodes; lpc != NULL; lpc = lpc->next) { NULL 625 tools/crm_resource_runtime.c if (node == NULL) { NULL 637 tools/crm_resource_runtime.c if (crmd_channel == NULL) { NULL 658 tools/crm_resource_runtime.c while(g_main_context_iteration(NULL, FALSE)) { NULL 671 tools/crm_resource_runtime.c rc = attrd_clear_delegate(NULL, host_uname, rsc_name, operation, interval, NULL 672 tools/crm_resource_runtime.c NULL, attr_options); NULL 688 tools/crm_resource_runtime.c char *role_s = NULL; NULL 689 tools/crm_resource_runtime.c char *managed = NULL; NULL 693 tools/crm_resource_runtime.c NULL, NULL, NULL, XML_RSC_ATTR_MANAGED, &managed); NULL 696 tools/crm_resource_runtime.c NULL, NULL, NULL, XML_RSC_ATTR_TARGET_ROLE, &role_s); NULL 734 tools/crm_resource_runtime.c GHashTable *params = NULL; NULL 735 tools/crm_resource_runtime.c GHashTable *meta = NULL; NULL 736 tools/crm_resource_runtime.c GHashTable *combined = NULL; NULL 741 tools/crm_resource_runtime.c return NULL; NULL 748 tools/crm_resource_runtime.c get_rsc_attributes(params, rsc, NULL /* TODO: Pass in local node */ , data_set); NULL 749 tools/crm_resource_runtime.c get_meta_attributes(meta, rsc, NULL /* TODO: Pass in local node */ , data_set); NULL 752 tools/crm_resource_runtime.c char *key = NULL; NULL 753 tools/crm_resource_runtime.c char *value = NULL; NULL 763 tools/crm_resource_runtime.c char *key = NULL; NULL 764 tools/crm_resource_runtime.c char *value = NULL; NULL 781 tools/crm_resource_runtime.c GListPtr hIter = NULL; NULL 782 tools/crm_resource_runtime.c GListPtr hosts = NULL; NULL 784 tools/crm_resource_runtime.c if(rsc == NULL) { NULL 789 tools/crm_resource_runtime.c for (hIter = hosts; host != NULL && hIter != NULL; hIter = hIter->next) { NULL 801 tools/crm_resource_runtime.c if(host != NULL) { NULL 805 tools/crm_resource_runtime.c } else if(host == NULL && hosts == NULL) { NULL 828 tools/crm_resource_runtime.c GList *rIter = NULL; NULL 829 tools/crm_resource_runtime.c GList *active = NULL; NULL 831 tools/crm_resource_runtime.c for (rIter = rsc_list; rIter != NULL; rIter = rIter->next) { NULL 851 tools/crm_resource_runtime.c GList *item = NULL; NULL 854 tools/crm_resource_runtime.c for (item = items; item != NULL; item = item->next) { NULL 855 tools/crm_resource_runtime.c GList *candidate = NULL; NULL 856 tools/crm_resource_runtime.c for (candidate = from; candidate != NULL; candidate = candidate->next) { NULL 871 tools/crm_resource_runtime.c GList *item = NULL; NULL 873 tools/crm_resource_runtime.c for (item = items; item != NULL; item = item->next) { NULL 881 tools/crm_resource_runtime.c GList *item = NULL; NULL 883 tools/crm_resource_runtime.c for (item = items; item != NULL; item = item->next) { NULL 907 tools/crm_resource_runtime.c if (cli_config_update(xml, NULL, FALSE) == FALSE) { NULL 911 tools/crm_resource_runtime.c data_set->now = crm_time_new(NULL); NULL 929 tools/crm_resource_runtime.c xmlNode *cib_xml_copy = NULL; NULL 932 tools/crm_resource_runtime.c rc = cib->cmds->query(cib, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); NULL 949 tools/crm_resource_runtime.c char *pid = NULL; NULL 950 tools/crm_resource_runtime.c char *shadow_file = NULL; NULL 951 tools/crm_resource_runtime.c cib_t *shadow_cib = NULL; NULL 965 tools/crm_resource_runtime.c if (shadow_cib == NULL) { NULL 984 tools/crm_resource_runtime.c do_calculations(data_set, data_set->input, NULL); NULL 985 tools/crm_resource_runtime.c run_simulation(data_set, shadow_cib, NULL, TRUE); NULL 1012 tools/crm_resource_runtime.c GList *iter = NULL; NULL 1027 tools/crm_resource_runtime.c action_t *stop = custom_action(rsc, key, RSC_STOP, NULL, TRUE, FALSE, data_set); NULL 1030 tools/crm_resource_runtime.c max_delay = crm_int_helper(value, NULL); NULL 1042 tools/crm_resource_runtime.c GList *item = NULL; NULL 1044 tools/crm_resource_runtime.c for (item = resources; item != NULL; item = item->next) { NULL 1088 tools/crm_resource_runtime.c char *rsc_id = NULL; NULL 1089 tools/crm_resource_runtime.c char *orig_target_role = NULL; NULL 1091 tools/crm_resource_runtime.c GList *list_delta = NULL; NULL 1092 tools/crm_resource_runtime.c GList *target_active = NULL; NULL 1093 tools/crm_resource_runtime.c GList *current_active = NULL; NULL 1094 tools/crm_resource_runtime.c GList *restart_target_active = NULL; NULL 1151 tools/crm_resource_runtime.c rc = cli_resource_ban(rsc_id, host, NULL, cib); NULL 1160 tools/crm_resource_runtime.c find_resource_attr(cib, XML_NVPAIR_ATTR_VALUE, lookup_id, NULL, NULL, NULL 1161 tools/crm_resource_runtime.c NULL, XML_RSC_ATTR_TARGET_ROLE, &orig_target_role); NULL 1163 tools/crm_resource_runtime.c rc = cli_resource_update_attribute(rsc, rsc_id, NULL, NULL, NULL 1234 tools/crm_resource_runtime.c rc = cli_resource_clear(rsc_id, host, NULL, cib); NULL 1237 tools/crm_resource_runtime.c rc = cli_resource_update_attribute(rsc, rsc_id, NULL, NULL, NULL 1242 tools/crm_resource_runtime.c orig_target_role = NULL; NULL 1244 tools/crm_resource_runtime.c rc = cli_resource_delete_attribute(rsc, rsc_id, NULL, NULL, NULL 1295 tools/crm_resource_runtime.c current_active = get_active_resources(NULL, data_set.resources); NULL 1317 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, host, NULL, cib); NULL 1319 tools/crm_resource_runtime.c cli_resource_update_attribute(rsc, rsc_id, NULL, NULL, NULL 1324 tools/crm_resource_runtime.c cli_resource_delete_attribute(rsc, rsc_id, NULL, NULL, NULL 1364 tools/crm_resource_runtime.c for (action = actions; action != NULL; action = action->next) { NULL 1386 tools/crm_resource_runtime.c for (action = actions; action != NULL; action = action->next) { NULL 1425 tools/crm_resource_runtime.c time_t expire_time = time(NULL) + timeout_s; NULL 1432 tools/crm_resource_runtime.c time_diff = expire_time - time(NULL); NULL 1451 tools/crm_resource_runtime.c do_calculations(&data_set, data_set.input, NULL); NULL 1464 tools/crm_resource_runtime.c svc_action_t *op = NULL; NULL 1465 tools/crm_resource_runtime.c const char *rid = NULL; NULL 1466 tools/crm_resource_runtime.c const char *rtype = NULL; NULL 1467 tools/crm_resource_runtime.c const char *rprov = NULL; NULL 1468 tools/crm_resource_runtime.c const char *rclass = NULL; NULL 1469 tools/crm_resource_runtime.c const char *action = NULL; NULL 1470 tools/crm_resource_runtime.c GHashTable *params = NULL; NULL 1532 tools/crm_resource_runtime.c if (op == NULL) { NULL 1552 tools/crm_resource_runtime.c char *name = NULL; NULL 1553 tools/crm_resource_runtime.c char *value = NULL; NULL 1565 tools/crm_resource_runtime.c char *local_copy = NULL; NULL 1622 tools/crm_resource_runtime.c node_t *current = NULL; NULL 1641 tools/crm_resource_runtime.c GListPtr iter = NULL; NULL 1665 tools/crm_resource_runtime.c if(dest == NULL) { NULL 1674 tools/crm_resource_runtime.c if(current == NULL) { NULL 1706 tools/crm_resource_runtime.c (void)cli_resource_ban(rsc_id, current->details->uname, NULL, cib); NULL 1725 tools/crm_resource_runtime.c GListPtr lpc = NULL; NULL 1726 tools/crm_resource_runtime.c GListPtr hosts = NULL; NULL 1728 tools/crm_resource_runtime.c for (lpc = resources; lpc != NULL; lpc = lpc->next) { NULL 1732 tools/crm_resource_runtime.c if (hosts == NULL) { NULL 1740 tools/crm_resource_runtime.c hosts = NULL; NULL 1764 tools/crm_resource_runtime.c GListPtr lpc = NULL; NULL 1766 tools/crm_resource_runtime.c for (lpc = activeResources; lpc != NULL; lpc = lpc->next) { NULL 1772 tools/crm_resource_runtime.c for(lpc = unactiveResources; lpc != NULL; lpc = lpc->next) { NULL 1788 tools/crm_resource_runtime.c GListPtr hosts = NULL; NULL 1799 tools/crm_resource_runtime.c const char *host_uname = (node == NULL)? NULL : node->details->uname; NULL 1801 tools/crm_resource_runtime.c if ((rsc == NULL) && (host_uname == NULL)) { NULL 1804 tools/crm_resource_runtime.c } else if ((rsc != NULL) && (host_uname != NULL)) { NULL 1808 tools/crm_resource_runtime.c } else if ((rsc == NULL) && (host_uname != NULL)) { NULL 1811 tools/crm_resource_runtime.c } else if ((rsc != NULL) && (host_uname == NULL)) { NULL 39 tools/crm_simulate.c cib_t *global_cib = NULL; NULL 40 tools/crm_simulate.c GListPtr op_fail = NULL; NULL 44 tools/crm_simulate.c char *temp_shadow = NULL; NULL 57 tools/crm_simulate.c char *use_date = NULL; NULL 72 tools/crm_simulate.c char *when = NULL; NULL 74 tools/crm_simulate.c data_set->now = crm_time_new(NULL); NULL 87 tools/crm_simulate.c char *online_nodes = NULL; NULL 88 tools/crm_simulate.c char *online_remote_nodes = NULL; NULL 89 tools/crm_simulate.c char *online_remote_containers = NULL; NULL 90 tools/crm_simulate.c char *offline_nodes = NULL; NULL 91 tools/crm_simulate.c char *offline_remote_nodes = NULL; NULL 93 tools/crm_simulate.c GListPtr gIter = NULL; NULL 95 tools/crm_simulate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 97 tools/crm_simulate.c const char *node_mode = NULL; NULL 98 tools/crm_simulate.c char *node_name = NULL; NULL 195 tools/crm_simulate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 202 tools/crm_simulate.c rsc->fns->print(rsc, NULL, pe_print_printf | options, stdout); NULL 210 tools/crm_simulate.c char *action_name = NULL; NULL 211 tools/crm_simulate.c const char *prefix = NULL; NULL 212 tools/crm_simulate.c const char *action_host = NULL; NULL 227 tools/crm_simulate.c char *key = NULL; NULL 238 tools/crm_simulate.c CRM_ASSERT(n_type != NULL); NULL 239 tools/crm_simulate.c CRM_ASSERT(n_task != NULL); NULL 280 tools/crm_simulate.c GListPtr gIter = NULL; NULL 283 tools/crm_simulate.c if (dot_strm == NULL) { NULL 289 tools/crm_simulate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { NULL 306 tools/crm_simulate.c } else if (action->rsc != NULL && is_not_set(action->rsc->flags, pe_rsc_managed)) { NULL 334 tools/crm_simulate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { NULL 337 tools/crm_simulate.c GListPtr gIter2 = NULL; NULL 339 tools/crm_simulate.c for (gIter2 = action->actions_before; gIter2 != NULL; gIter2 = gIter2->next) { NULL 342 tools/crm_simulate.c char *before_name = NULL; NULL 343 tools/crm_simulate.c char *after_name = NULL; NULL 377 tools/crm_simulate.c if (dot_strm != NULL) { NULL 387 tools/crm_simulate.c cib_t *cib_conn = NULL; NULL 388 tools/crm_simulate.c xmlNode *cib_object = NULL; NULL 389 tools/crm_simulate.c char *local_output = NULL; NULL 391 tools/crm_simulate.c if (input == NULL) { NULL 397 tools/crm_simulate.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_object, cib_scope_local | cib_sync_call); NULL 402 tools/crm_simulate.c cib_conn = NULL; NULL 408 tools/crm_simulate.c } else if (cib_object == NULL) { NULL 414 tools/crm_simulate.c cib_object = filename2xml(NULL); NULL 420 tools/crm_simulate.c if (get_object_root(XML_CIB_TAG_STATUS, cib_object) == NULL) { NULL 424 tools/crm_simulate.c if (cli_config_update(&cib_object, NULL, FALSE) == FALSE) { NULL 429 tools/crm_simulate.c if (validate_xml(cib_object, NULL, FALSE) != TRUE) { NULL 434 tools/crm_simulate.c if (output == NULL) { NULL 445 tools/crm_simulate.c cib_object = NULL; NULL 519 tools/crm_simulate.c xmlNode *cib_object = NULL; NULL 524 tools/crm_simulate.c if (get_object_root(XML_CIB_TAG_STATUS, cib_object) == NULL) { NULL 528 tools/crm_simulate.c if (cli_config_update(&cib_object, NULL, FALSE) == FALSE) { NULL 533 tools/crm_simulate.c if (validate_xml(cib_object, NULL, FALSE) != TRUE) { NULL 542 tools/crm_simulate.c do_calculations(&data_set, cib_object, NULL); NULL 590 tools/crm_simulate.c GListPtr gIter = NULL; NULL 592 tools/crm_simulate.c if (rsc == NULL) { NULL 600 tools/crm_simulate.c for (; gIter != NULL; gIter = gIter->next) { NULL 621 tools/crm_simulate.c const char *quorum = NULL; NULL 622 tools/crm_simulate.c const char *watchdog = NULL; NULL 623 tools/crm_simulate.c const char *test_dir = NULL; NULL 624 tools/crm_simulate.c const char *dot_file = NULL; NULL 625 tools/crm_simulate.c const char *graph_file = NULL; NULL 626 tools/crm_simulate.c const char *input_file = NULL; NULL 627 tools/crm_simulate.c const char *output_file = NULL; NULL 633 tools/crm_simulate.c GListPtr node_up = NULL; NULL 634 tools/crm_simulate.c GListPtr node_down = NULL; NULL 635 tools/crm_simulate.c GListPtr node_fail = NULL; NULL 636 tools/crm_simulate.c GListPtr op_inject = NULL; NULL 637 tools/crm_simulate.c GListPtr ticket_grant = NULL; NULL 638 tools/crm_simulate.c GListPtr ticket_revoke = NULL; NULL 639 tools/crm_simulate.c GListPtr ticket_standby = NULL; NULL 640 tools/crm_simulate.c GListPtr ticket_activate = NULL; NULL 642 tools/crm_simulate.c xmlNode *input = NULL; NULL 645 tools/crm_simulate.c crm_set_options(NULL, "datasource operation [additional options]", NULL 680 tools/crm_simulate.c xml_file = NULL; NULL 791 tools/crm_simulate.c if (test_dir != NULL) { NULL 802 tools/crm_simulate.c if (data_set.now != NULL) { NULL 808 tools/crm_simulate.c rc = global_cib->cmds->query(global_cib, NULL, &input, cib_sync_call | cib_scope_local); NULL 829 tools/crm_simulate.c data_set.disabled_resources, count_resources(&data_set, NULL), data_set.blocked_resources); NULL 841 tools/crm_simulate.c rc = global_cib->cmds->query(global_cib, NULL, &input, cib_sync_call); NULL 857 tools/crm_simulate.c if (input_file != NULL) { NULL 867 tools/crm_simulate.c crm_time_t *local_date = NULL; NULL 878 tools/crm_simulate.c input = NULL; /* Don't try and free it twice */ NULL 880 tools/crm_simulate.c if (graph_file != NULL) { NULL 884 tools/crm_simulate.c if (dot_file != NULL) { NULL 889 tools/crm_simulate.c GListPtr gIter = NULL; NULL 896 tools/crm_simulate.c for (gIter = data_set.resources; gIter != NULL; gIter = gIter->next) { NULL 47 tools/crm_ticket.c const char *ticket_id = NULL; NULL 48 tools/crm_ticket.c const char *get_attr_name = NULL; NULL 49 tools/crm_ticket.c const char *attr_name = NULL; NULL 50 tools/crm_ticket.c const char *attr_value = NULL; NULL 51 tools/crm_ticket.c const char *attr_id = NULL; NULL 52 tools/crm_ticket.c const char *set_name = NULL; NULL 53 tools/crm_ticket.c const char *attr_default = NULL; NULL 55 tools/crm_ticket.c char *xml_file = NULL; NULL 68 tools/crm_ticket.c ticket_t *ticket = NULL; NULL 104 tools/crm_ticket.c const char *name = NULL; NULL 105 tools/crm_ticket.c const char *value = NULL; NULL 142 tools/crm_ticket.c ticket_t *ticket = NULL; NULL 146 tools/crm_ticket.c while (g_hash_table_iter_next(&iter, NULL, (void **)&ticket)) { NULL 160 tools/crm_ticket.c xmlNode *xml_search = NULL; NULL 162 tools/crm_ticket.c char *xpath_string = NULL; NULL 164 tools/crm_ticket.c CRM_ASSERT(ticket_state_xml != NULL); NULL 165 tools/crm_ticket.c *ticket_state_xml = NULL; NULL 203 tools/crm_ticket.c xmlNode *xml_search = NULL; NULL 205 tools/crm_ticket.c char *xpath_string = NULL; NULL 207 tools/crm_ticket.c CRM_ASSERT(ticket_cons_xml != NULL); NULL 208 tools/crm_ticket.c *ticket_cons_xml = NULL; NULL 240 tools/crm_ticket.c xmlNode *state_xml = NULL; NULL 244 tools/crm_ticket.c if (state_xml == NULL) { NULL 250 tools/crm_ticket.c char *state_xml_str = NULL; NULL 265 tools/crm_ticket.c xmlNode *cons_xml = NULL; NULL 266 tools/crm_ticket.c char *cons_xml_str = NULL; NULL 270 tools/crm_ticket.c if (cons_xml == NULL) { NULL 289 tools/crm_ticket.c xmlNode *xml_search = NULL; NULL 291 tools/crm_ticket.c char *xpath_string = NULL; NULL 293 tools/crm_ticket.c CRM_ASSERT(value != NULL); NULL 294 tools/crm_ticket.c *value = NULL; NULL 312 tools/crm_ticket.c const char *attr_prefix = NULL; NULL 313 tools/crm_ticket.c char *long_key = NULL; NULL 341 tools/crm_ticket.c xmlNode *child = NULL; NULL 346 tools/crm_ticket.c for (child = __xml_first_child(xml_search); child != NULL; child = __xml_next(child)) { NULL 369 tools/crm_ticket.c xmlNode *xml_obj = NULL; NULL 372 tools/crm_ticket.c char *local_attr_id = NULL; NULL 384 tools/crm_ticket.c if (attr_id == NULL) { NULL 388 tools/crm_ticket.c xml_obj = crm_create_nvpair_xml(NULL, attr_id, /*attr_name*/ NULL, NULL); NULL 408 tools/crm_ticket.c ticket_t *ticket = NULL; NULL 410 tools/crm_ticket.c CRM_ASSERT(attr_value != NULL); NULL 411 tools/crm_ticket.c *attr_value = NULL; NULL 414 tools/crm_ticket.c if (ticket == NULL) { NULL 419 tools/crm_ticket.c if (*attr_value == NULL) { NULL 433 tools/crm_ticket.c char *warning = NULL; NULL 434 tools/crm_ticket.c const char *word = NULL; NULL 476 tools/crm_ticket.c const char *value = NULL; NULL 477 tools/crm_ticket.c GListPtr list_iter = NULL; NULL 483 tools/crm_ticket.c if (g_hash_table_lookup_extended(attr_set, "granted", NULL, (gpointer *) & value)) { NULL 511 tools/crm_ticket.c xmlNode *xml_top = NULL; NULL 512 tools/crm_ticket.c xmlNode *ticket_state_xml = NULL; NULL 515 tools/crm_ticket.c GListPtr list_iter = NULL; NULL 518 tools/crm_ticket.c char *key = NULL; NULL 519 tools/crm_ticket.c char *value = NULL; NULL 521 tools/crm_ticket.c ticket_t *ticket = NULL; NULL 542 tools/crm_ticket.c xmlNode *xml_obj = NULL; NULL 544 tools/crm_ticket.c xml_top = create_xml_node(NULL, XML_CIB_TAG_STATUS); NULL 562 tools/crm_ticket.c && (ticket == NULL || ticket->granted == FALSE) NULL 565 tools/crm_ticket.c char *now = crm_itoa(time(NULL)); NULL 603 tools/crm_ticket.c xmlNode *ticket_state_xml = NULL; NULL 661 tools/crm_ticket.c {"xml-file", 1, 0, 'x', NULL, 1},\ NULL 706 tools/crm_ticket.c xmlNode *cib_xml_copy = NULL; NULL 707 tools/crm_ticket.c xmlNode *cib_constraints = NULL; NULL 709 tools/crm_ticket.c cib_t *cib_conn = NULL; NULL 717 tools/crm_ticket.c GListPtr attr_delete = NULL; NULL 720 tools/crm_ticket.c crm_log_init(NULL, LOG_CRIT, FALSE, FALSE, argc, argv, FALSE); NULL 721 tools/crm_ticket.c crm_set_options(NULL, "(query|command) [options]", long_options, NULL 778 tools/crm_ticket.c attr_name = NULL; NULL 779 tools/crm_ticket.c attr_value = NULL; NULL 794 tools/crm_ticket.c attr_name = NULL; NULL 795 tools/crm_ticket.c attr_value = NULL; NULL 822 tools/crm_ticket.c if (optind < argc && argv[optind] != NULL) { NULL 824 tools/crm_ticket.c while (optind < argc && argv[optind] != NULL) { NULL 842 tools/crm_ticket.c if (cib_conn == NULL) { NULL 854 tools/crm_ticket.c if (xml_file != NULL) { NULL 858 tools/crm_ticket.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); NULL 864 tools/crm_ticket.c } else if (cli_config_update(&cib_xml_copy, NULL, FALSE) == FALSE) { NULL 870 tools/crm_ticket.c data_set.now = crm_time_new(NULL); NULL 892 tools/crm_ticket.c if (ticket == NULL) { NULL 909 tools/crm_ticket.c const char *value = NULL; NULL 911 tools/crm_ticket.c if (ticket_id == NULL) { NULL 926 tools/crm_ticket.c if (ticket_id == NULL) { NULL 933 tools/crm_ticket.c ticket_t *ticket = NULL; NULL 936 tools/crm_ticket.c if (ticket == NULL) { NULL 951 tools/crm_ticket.c if (ticket_id == NULL) { NULL 958 tools/crm_ticket.c && (attr_name == NULL || strlen(attr_name) == 0)) { NULL 965 tools/crm_ticket.c && (attr_value == NULL || strlen(attr_value) == 0)) { NULL 983 tools/crm_ticket.c if (ticket_id == NULL) { NULL 989 tools/crm_ticket.c if (attr_name == NULL || strlen(attr_name) == 0) { NULL 995 tools/crm_ticket.c if (attr_value == NULL || strlen(attr_value) == 0) { NULL 1009 tools/crm_ticket.c attr_set = NULL; NULL 1014 tools/crm_ticket.c attr_delete = NULL; NULL 1016 tools/crm_ticket.c if (cib_conn != NULL) { NULL 77 tools/crm_uuid.c crm_set_options(NULL, " [-r|-w new_ascii_value]", NULL 109 tools/crm_uuid.c char *buffer = NULL; NULL 114 tools/crm_uuid.c if (input == NULL) { NULL 144 tools/crm_uuid.c } else if (buffer != NULL) { NULL 40 tools/crm_verify.c char *cib_save = NULL; NULL 68 tools/crm_verify.c {F_CRM_DATA, 1, 0, 'X', NULL, 1}, /* legacy */ NULL 76 tools/crm_verify.c xmlNode *cib_object = NULL; NULL 77 tools/crm_verify.c xmlNode *status = NULL; NULL 83 tools/crm_verify.c cib_t *cib_conn = NULL; NULL 88 tools/crm_verify.c const char *xml_tag = NULL; NULL 89 tools/crm_verify.c const char *xml_file = NULL; NULL 90 tools/crm_verify.c const char *xml_string = NULL; NULL 93 tools/crm_verify.c crm_set_options(NULL, "[modifiers] data_source", long_options, NULL 167 tools/crm_verify.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_object, options); NULL 174 tools/crm_verify.c if (cib_object == NULL) { NULL 180 tools/crm_verify.c } else if (xml_file != NULL) { NULL 182 tools/crm_verify.c if (cib_object == NULL) { NULL 188 tools/crm_verify.c } else if (xml_string != NULL) { NULL 190 tools/crm_verify.c if (cib_object == NULL) { NULL 197 tools/crm_verify.c if (cib_object == NULL) { NULL 218 tools/crm_verify.c if (cib_save != NULL) { NULL 223 tools/crm_verify.c if (status == NULL) { NULL 227 tools/crm_verify.c if (validate_xml(cib_object, NULL, FALSE) == FALSE) { NULL 230 tools/crm_verify.c cib_object = NULL; NULL 232 tools/crm_verify.c } else if (cli_config_update(&cib_object, NULL, FALSE) == FALSE) { NULL 235 tools/crm_verify.c cib_object = NULL; NULL 242 tools/crm_verify.c if (cib_object == NULL) { NULL 243 tools/crm_verify.c } else if (status != NULL || USE_LIVE_CIB) { NULL 245 tools/crm_verify.c do_calculations(&data_set, cib_object, NULL); NULL 249 tools/crm_verify.c data_set.now = crm_time_new(NULL); NULL 44 tools/crmadmin.c GMainLoop *mainloop = NULL; NULL 45 tools/crmadmin.c crm_ipc_t *crmd_channel = NULL; NULL 46 tools/crmadmin.c char *admin_uuid = NULL; NULL 79 tools/crmadmin.c const char *crmd_operation = NULL; NULL 81 tools/crmadmin.c xmlNode *msg_options = NULL; NULL 85 tools/crmadmin.c char *id = NULL; NULL 86 tools/crmadmin.c char *disconnect = NULL; NULL 87 tools/crmadmin.c char *dest_node = NULL; NULL 88 tools/crmadmin.c char *rsc_name = NULL; NULL 89 tools/crmadmin.c char *crm_option = NULL; NULL 92 tools/crmadmin.c const char *sys_to = NULL; NULL 113 tools/crmadmin.c {"health", 0, 0, 'H', NULL, 1}, NULL 134 tools/crmadmin.c crm_set_options(NULL, "command [options]", long_options, NULL 235 tools/crmadmin.c message_timer_id = g_timeout_add(message_timeout_ms, admin_message_timeout, NULL); NULL 258 tools/crmadmin.c xmlNode *msg_data = NULL; NULL 261 tools/crmadmin.c msg_options = create_xml_node(NULL, XML_TAG_OPTIONS); NULL 270 tools/crmadmin.c if (dest_node != NULL) { NULL 288 tools/crmadmin.c dest_node = NULL; NULL 296 tools/crmadmin.c dest_node = NULL; NULL 304 tools/crmadmin.c xmlNode *output = NULL; NULL 312 tools/crmadmin.c rc = the_cib->cmds->query(the_cib, NULL, &output, cib_scope_local | cib_sync_call); NULL 365 tools/crmadmin.c if (crmd_channel == NULL) { NULL 370 tools/crmadmin.c if (sys_to == NULL) { NULL 371 tools/crmadmin.c if (dest_node != NULL) { NULL 382 tools/crmadmin.c crm_ipc_send(crmd_channel, cmd, 0, 0, NULL); NULL 409 tools/crmadmin.c mainloop_add_ipc_client(CRM_SYSTEM_CRMD, G_PRIORITY_DEFAULT, 0, NULL, &crm_callbacks); NULL 418 tools/crmadmin.c } else if (crmd_channel != NULL) { NULL 421 tools/crmadmin.c crm_ipc_send(crmd_channel, xml, 0, 0, NULL); NULL 430 tools/crmadmin.c const char *type = NULL; NULL 431 tools/crmadmin.c const char *crm_msg_reference = NULL; NULL 433 tools/crmadmin.c if (msg == NULL) { NULL 440 tools/crmadmin.c if (type == NULL) { NULL 444 tools/crmadmin.c } else if (msg_type != NULL && strcasecmp(msg_type, type) != 0) { NULL 449 tools/crmadmin.c if (crm_msg_reference == NULL) { NULL 468 tools/crmadmin.c if (xml == NULL) { NULL 483 tools/crmadmin.c if (BE_SILENT && state != NULL) { NULL 491 tools/crmadmin.c if (BE_SILENT && dc != NULL) { NULL 505 tools/crmadmin.c message_timer_id = g_timeout_add(message_timeout_ms, admin_message_timeout, NULL); NULL 546 tools/crmadmin.c xmlNode *node = NULL; NULL 549 tools/crmadmin.c for (node = __xml_first_child(nodes); node != NULL; node = __xml_next(node)) { NULL 40 tools/fake_transition.c static cib_t *fake_cib = NULL; NULL 41 tools/fake_transition.c static GListPtr fake_resource_list = NULL; NULL 42 tools/fake_transition.c static GListPtr fake_op_fail_list = NULL; NULL 65 tools/fake_transition.c xmlNode *attrs = NULL; NULL 66 tools/fake_transition.c xmlNode *instance_attrs = NULL; NULL 76 tools/fake_transition.c if (attrs == NULL) { NULL 82 tools/fake_transition.c if (instance_attrs == NULL) { NULL 87 tools/fake_transition.c crm_create_nvpair_xml(instance_attrs, NULL, name, value); NULL 101 tools/fake_transition.c char *name = NULL; NULL 102 tools/fake_transition.c char *now = crm_itoa(time(NULL)); NULL 120 tools/fake_transition.c char *xpath = NULL; NULL 125 tools/fake_transition.c rc = cib_conn->cmds->query(cib_conn, xpath, NULL, cib_xpath | cib_sync_call | cib_scope_local); NULL 128 tools/fake_transition.c xmlNode *cib_object = create_xml_node(NULL, XML_CIB_TAG_NODE); NULL 147 tools/fake_transition.c lrmd_event_data_t *op = NULL; NULL 148 tools/fake_transition.c xmlNode *xop = NULL; NULL 158 tools/fake_transition.c op->params = NULL; /* TODO: Fill me in */ NULL 159 tools/fake_transition.c op->t_run = time(NULL); NULL 163 tools/fake_transition.c for (xop = __xml_first_child(cib_resource); xop != NULL; xop = __xml_next(xop)) { NULL 179 tools/fake_transition.c return create_operation_update(cib_resource, op, CRM_FEATURE_SET, target_rc, NULL, crm_system_name, NULL 187 tools/fake_transition.c xmlNode *cib_object = NULL; NULL 197 tools/fake_transition.c if (cib_object && ID(cib_object) == NULL) { NULL 202 tools/fake_transition.c return NULL; // not reached, but makes static analysis happy NULL 206 tools/fake_transition.c char *found_uuid = NULL; NULL 208 tools/fake_transition.c if (uuid == NULL) { NULL 209 tools/fake_transition.c query_node_uuid(cib_conn, node, &found_uuid, NULL); NULL 214 tools/fake_transition.c cib_object = create_xml_node(NULL, XML_CIB_TAG_STATE); NULL 235 tools/fake_transition.c xmlNode *cib_node = inject_node_state(cib_conn, node, NULL); NULL 257 tools/fake_transition.c char *xpath = NULL; NULL 258 tools/fake_transition.c xmlNode *match = NULL; NULL 276 tools/fake_transition.c xmlNode *lrm = NULL; NULL 277 tools/fake_transition.c xmlNode *container = NULL; NULL 278 tools/fake_transition.c xmlNode *cib_resource = NULL; NULL 279 tools/fake_transition.c char *xpath = NULL; NULL 282 tools/fake_transition.c if (cib_resource != NULL) { NULL 288 tools/fake_transition.c if (rclass == NULL || rtype == NULL) { NULL 291 tools/fake_transition.c return NULL; NULL 301 tools/fake_transition.c return NULL; NULL 303 tools/fake_transition.c } else if (crm_provider_required(rclass) && (rprovider == NULL)) { NULL 305 tools/fake_transition.c return NULL; NULL 313 tools/fake_transition.c if (lrm == NULL) { NULL 321 tools/fake_transition.c if (container == NULL) { NULL 342 tools/fake_transition.c xmlNode *xml_search = NULL; NULL 344 tools/fake_transition.c char *xpath_string = NULL; NULL 346 tools/fake_transition.c CRM_ASSERT(ticket_state_xml != NULL); NULL 347 tools/fake_transition.c *ticket_state_xml = NULL; NULL 384 tools/fake_transition.c xmlNode *xml_top = NULL; NULL 385 tools/fake_transition.c xmlNode *ticket_state_xml = NULL; NULL 396 tools/fake_transition.c xmlNode *xml_obj = NULL; NULL 398 tools/fake_transition.c xml_top = create_xml_node(NULL, XML_CIB_TAG_STATUS); NULL 422 tools/fake_transition.c GListPtr gIter = NULL; NULL 424 tools/fake_transition.c xmlNode *cib_op = NULL; NULL 425 tools/fake_transition.c xmlNode *cib_node = NULL; NULL 426 tools/fake_transition.c xmlNode *cib_resource = NULL; NULL 428 tools/fake_transition.c lrmd_event_data_t *op = NULL; NULL 431 tools/fake_transition.c xmlNode *top = create_xml_node(NULL, XML_TAG_CIB); NULL 437 tools/fake_transition.c rc = cib->cmds->modify(cib, NULL, top, cib_sync_call | cib_scope_local); NULL 445 tools/fake_transition.c XML_CIB_TAG_CRMCONFIG, NULL, NULL, NULL, NULL, NULL 446 tools/fake_transition.c XML_ATTR_HAVE_WATCHDOG, watchdog, FALSE, NULL, NULL); NULL 451 tools/fake_transition.c for (gIter = node_up; gIter != NULL; gIter = gIter->next) { NULL 456 tools/fake_transition.c CRM_ASSERT(cib_node != NULL); NULL 464 tools/fake_transition.c for (gIter = node_down; gIter != NULL; gIter = gIter->next) { NULL 470 tools/fake_transition.c CRM_ASSERT(cib_node != NULL); NULL 478 tools/fake_transition.c cib->cmds->delete(cib, xpath, NULL, NULL 483 tools/fake_transition.c cib->cmds->delete(cib, xpath, NULL, NULL 488 tools/fake_transition.c for (gIter = node_fail; gIter != NULL; gIter = gIter->next) { NULL 494 tools/fake_transition.c CRM_ASSERT(cib_node != NULL); NULL 502 tools/fake_transition.c for (gIter = ticket_grant; gIter != NULL; gIter = gIter->next) { NULL 512 tools/fake_transition.c for (gIter = ticket_revoke; gIter != NULL; gIter = gIter->next) { NULL 522 tools/fake_transition.c for (gIter = ticket_standby; gIter != NULL; gIter = gIter->next) { NULL 532 tools/fake_transition.c for (gIter = ticket_activate; gIter != NULL; gIter = gIter->next) { NULL 542 tools/fake_transition.c for (gIter = op_inject; gIter != NULL; gIter = gIter->next) { NULL 549 tools/fake_transition.c char *key = NULL; NULL 550 tools/fake_transition.c char *node = NULL; NULL 551 tools/fake_transition.c char *task = NULL; NULL 552 tools/fake_transition.c char *resource = NULL; NULL 554 tools/fake_transition.c const char *rtype = NULL; NULL 555 tools/fake_transition.c const char *rclass = NULL; NULL 556 tools/fake_transition.c const char *rprovider = NULL; NULL 558 tools/fake_transition.c resource_t *rsc = NULL; NULL 575 tools/fake_transition.c if (rsc == NULL) { NULL 582 tools/fake_transition.c cib_node = inject_node_state(cib, node, NULL); NULL 583 tools/fake_transition.c CRM_ASSERT(cib_node != NULL); NULL 588 tools/fake_transition.c CRM_ASSERT(cib_resource != NULL); NULL 591 tools/fake_transition.c CRM_ASSERT(op != NULL); NULL 594 tools/fake_transition.c CRM_ASSERT(cib_op != NULL); NULL 624 tools/fake_transition.c GListPtr gIter = NULL; NULL 625 tools/fake_transition.c lrmd_event_data_t *op = NULL; NULL 629 tools/fake_transition.c const char *rtype = NULL; NULL 630 tools/fake_transition.c const char *rclass = NULL; NULL 631 tools/fake_transition.c const char *resource = NULL; NULL 632 tools/fake_transition.c const char *rprovider = NULL; NULL 636 tools/fake_transition.c xmlNode *cib_node = NULL; NULL 637 tools/fake_transition.c xmlNode *cib_resource = NULL; NULL 650 tools/fake_transition.c if (action_rsc == NULL) { NULL 661 tools/fake_transition.c if (pe_find_resource(fake_resource_list, resource) == NULL) { NULL 678 tools/fake_transition.c if (target_rc_s != NULL) { NULL 682 tools/fake_transition.c CRM_ASSERT(fake_cib->cmds->query(fake_cib, NULL, NULL, cib_sync_call | cib_scope_local) == NULL 690 tools/fake_transition.c CRM_ASSERT(cib_node != NULL); NULL 693 tools/fake_transition.c CRM_ASSERT(cib_resource != NULL); NULL 703 tools/fake_transition.c for (gIter = fake_op_fail_list; gIter != NULL; gIter = gIter->next) { NULL 705 tools/fake_transition.c char *key = NULL; NULL 777 tools/fake_transition.c CRM_ASSERT(cib_node != NULL); NULL 784 tools/fake_transition.c fake_cib->cmds->delete(fake_cib, xpath, NULL, NULL 789 tools/fake_transition.c fake_cib->cmds->delete(fake_cib, xpath, NULL, NULL 804 tools/fake_transition.c crm_graph_t *transition = NULL; NULL 829 tools/fake_transition.c fake_resource_list = NULL; NULL 841 tools/fake_transition.c xmlNode *cib_object = NULL; NULL 842 tools/fake_transition.c int rc = fake_cib->cmds->query(fake_cib, NULL, &cib_object, cib_sync_call | cib_scope_local); NULL 106 tools/ipmiservicelogd.c return NULL; NULL 142 tools/ipmiservicelogd.c return NULL; NULL 148 tools/ipmiservicelogd.c return NULL; NULL 159 tools/ipmiservicelogd.c char *retSerialNumber = NULL; NULL 180 tools/ipmiservicelogd.c return NULL; NULL 211 tools/ipmiservicelogd.c return NULL; NULL 218 tools/ipmiservicelogd.c return NULL; NULL 221 tools/ipmiservicelogd.c return NULL; NULL 231 tools/ipmiservicelogd.c NULL NULL 244 tools/ipmiservicelogd.c NULL NULL 262 tools/ipmiservicelogd.c ipmi_parse_args_iter_help(con_usage, NULL); NULL 268 tools/ipmiservicelogd.c servicelog *slog = NULL; NULL 272 tools/ipmiservicelogd.c char *serial_number = NULL; NULL 273 tools/ipmiservicelogd.c char *product_name = NULL; NULL 305 tools/ipmiservicelogd.c sl_event.next = NULL; /* only used if in a linked list */ NULL 307 tools/ipmiservicelogd.c sl_event.time_logged = time (NULL); NULL 308 tools/ipmiservicelogd.c sl_event.time_event = time (NULL); NULL 309 tools/ipmiservicelogd.c sl_event.time_last_update = time (NULL); NULL 325 tools/ipmiservicelogd.c sl_event.callouts = NULL; NULL 327 tools/ipmiservicelogd.c sl_event.raw_data = NULL; NULL 488 tools/ipmiservicelogd.c sensor_threshold_event_handler, NULL); NULL 491 tools/ipmiservicelogd.c sensor_discrete_event_handler, NULL); NULL 571 tools/ipmiservicelogd.c rv = ipmi_args_setup_con(args, os_hnd, NULL, &con); NULL 586 tools/ipmiservicelogd.c rv = ipmi_smi_setup_con(0, os_hnd, NULL, &con); NULL 594 tools/ipmiservicelogd.c rv = ipmi_open_domain("", &con, 1, setup_done, NULL, NULL, NULL, NULL, 0, NULL); NULL 90 tools/notifyServicelogEvent.c servicelog *slog = NULL; NULL 91 tools/notifyServicelogEvent.c struct sl_event *event = NULL; NULL 95 tools/notifyServicelogEvent.c crm_set_options(NULL, "event_id ", long_options, NULL 158 tools/notifyServicelogEvent.c const char *health_status = NULL; NULL 171 tools/notifyServicelogEvent.c rc = (attrd_update_delegate(NULL, 'v', NULL, health_component, NULL 172 tools/notifyServicelogEvent.c health_status, NULL, NULL, NULL, NULL, NULL 55 tools/test.iso8601.c char *end = NULL; NULL 56 tools/test.iso8601.c char *start = NULL; NULL 80 tools/test.iso8601.c crm_time_t *duration = NULL; NULL 81 tools/test.iso8601.c crm_time_t *date_time = NULL; NULL 82 tools/test.iso8601.c crm_time_period_t *interval = NULL; NULL 84 tools/test.iso8601.c const char *period_s = NULL; NULL 85 tools/test.iso8601.c const char *duration_s = NULL; NULL 86 tools/test.iso8601.c const char *date_time_s = NULL; NULL 87 tools/test.iso8601.c const char *expected_s = NULL; NULL 90 tools/test.iso8601.c crm_set_options(NULL, "command [output modifier] ", long_options, NULL 145 tools/test.iso8601.c date_time = crm_time_new(NULL); NULL 147 tools/test.iso8601.c if (date_time == NULL) { NULL 159 tools/test.iso8601.c if (date_time == NULL) { NULL 172 tools/test.iso8601.c if (duration == NULL) { NULL 183 tools/test.iso8601.c if (interval == NULL) {