NULL 21 daemons/attrd/attrd_alerts.c static GListPtr attrd_alert_list = NULL; NULL 26 daemons/attrd/attrd_alerts.c CRM_CHECK(op != NULL, return); NULL 40 daemons/attrd/attrd_alerts.c if (the_lrmd == NULL) { NULL 50 daemons/attrd/attrd_alerts.c ret = the_lrmd->cmds->connect(the_lrmd, T_ATTRD, NULL); NULL 76 daemons/attrd/attrd_alerts.c the_lrmd = NULL; /* in case we're called recursively */ NULL 84 daemons/attrd/attrd_alerts.c xmlNode *crmalerts = NULL; NULL 115 daemons/attrd/attrd_alerts.c CRM_CHECK(the_cib != NULL, return TRUE); NULL 117 daemons/attrd/attrd_alerts.c call_id = the_cib->cmds->query(the_cib, XPATH_ALERTS, NULL, NULL 120 daemons/attrd/attrd_alerts.c the_cib->cmds->register_callback_full(the_cib, call_id, 120, FALSE, NULL, NULL 140 daemons/attrd/attrd_alerts.c if (attrd_alert_list == NULL) { NULL 50 daemons/attrd/attrd_commands.c GHashTable *attributes = NULL; NULL 132 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; NULL 135 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&aIter, NULL, (gpointer *) & a)) { NULL 137 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&vIter, NULL, (gpointer *) & v)) { NULL 154 daemons/attrd/attrd_commands.c a->values = g_hash_table_new_full(crm_strcase_hash, crm_strcase_equal, NULL, free_attribute_value); NULL 195 daemons/attrd/attrd_commands.c char *host_alloc = NULL; NULL 197 daemons/attrd/attrd_commands.c if (host == NULL) { NULL 202 daemons/attrd/attrd_commands.c crm_node_t *node = crm_find_peer(nodeid, NULL); NULL 203 daemons/attrd/attrd_commands.c char *host_alloc = NULL; NULL 220 daemons/attrd/attrd_commands.c send_attrd_message(NULL, xml); /* ends up at attrd_peer_message() */ NULL 239 daemons/attrd/attrd_commands.c attribute_t *a = NULL; NULL 246 daemons/attrd/attrd_commands.c if ((attr == NULL) && regex) { NULL 256 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&aIter, (gpointer *) & attr, NULL)) { NULL 257 daemons/attrd/attrd_commands.c int status = regexec(r_patt, attr, 0, NULL, 0); NULL 262 daemons/attrd/attrd_commands.c send_attrd_message(NULL, xml); NULL 272 daemons/attrd/attrd_commands.c } else if (attr == NULL) { NULL 278 daemons/attrd/attrd_commands.c if (host == NULL) { NULL 291 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; NULL 296 daemons/attrd/attrd_commands.c int_value = attrd_expand_value(value, (v? v->current : NULL)); NULL 311 daemons/attrd/attrd_commands.c send_attrd_message(NULL, xml); /* ends up at attrd_peer_message() */ NULL 331 daemons/attrd/attrd_commands.c send_attrd_message(NULL, xml); NULL 348 daemons/attrd/attrd_commands.c if (op == NULL) { NULL 367 daemons/attrd/attrd_commands.c crm_xml_replace(xml, PCMK__XA_ATTR_NAME, NULL); NULL 370 daemons/attrd/attrd_commands.c crm_xml_replace(xml, PCMK__XA_ATTR_VALUE, NULL); NULL 401 daemons/attrd/attrd_commands.c xmlNode *reply = create_xml_node(NULL, __func__); NULL 404 daemons/attrd/attrd_commands.c if (reply == NULL) { NULL 405 daemons/attrd/attrd_commands.c return NULL; NULL 428 daemons/attrd/attrd_commands.c if (host_value == NULL) { NULL 430 daemons/attrd/attrd_commands.c return NULL; NULL 434 daemons/attrd/attrd_commands.c (v? v->current : NULL)); NULL 441 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &v)) { NULL 443 daemons/attrd/attrd_commands.c if (host_value == NULL) { NULL 445 daemons/attrd/attrd_commands.c return NULL; NULL 472 daemons/attrd/attrd_commands.c if (origin == NULL) { NULL 479 daemons/attrd/attrd_commands.c if (attr == NULL) { NULL 488 daemons/attrd/attrd_commands.c if (reply == NULL) { NULL 523 daemons/attrd/attrd_commands.c char *attr = NULL; NULL 537 daemons/attrd/attrd_commands.c crm_xml_replace(xml, PCMK__XA_ATTR_VALUE, NULL); NULL 541 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&iter, (gpointer *) &attr, NULL)) { NULL 542 daemons/attrd/attrd_commands.c if (regexec(®ex, attr, 0, NULL, 0) == 0) { NULL 559 daemons/attrd/attrd_commands.c xmlNode *attrd_op = create_xml_node(NULL, __func__); NULL 595 daemons/attrd/attrd_commands.c PCMK__ATTRD_CMD_UPDATE_DELAY, NULL)) { NULL 612 daemons/attrd/attrd_commands.c xmlNode *child = NULL; NULL 621 daemons/attrd/attrd_commands.c for (child = pcmk__xml_first_child(xml); child != NULL; NULL 640 daemons/attrd/attrd_commands.c attribute_t *a = NULL; NULL 641 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; NULL 642 daemons/attrd/attrd_commands.c xmlNode *sync = create_xml_node(NULL, __func__); NULL 647 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&aIter, NULL, (gpointer *) & a)) { NULL 649 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&vIter, NULL, (gpointer *) & v)) { NULL 672 daemons/attrd/attrd_commands.c attribute_t *a = NULL; NULL 675 daemons/attrd/attrd_commands.c CRM_CHECK(host != NULL, return); NULL 679 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&aIter, NULL, (gpointer *) & a)) { NULL 714 daemons/attrd/attrd_commands.c if (dup && (dup->uuid == NULL)) { NULL 719 daemons/attrd/attrd_commands.c CRM_ASSERT(crm_remote_peer_get(host) != NULL); NULL 722 daemons/attrd/attrd_commands.c if (v == NULL) { NULL 724 daemons/attrd/attrd_commands.c CRM_ASSERT(v != NULL); NULL 727 daemons/attrd/attrd_commands.c CRM_ASSERT(v->nodename != NULL); NULL 741 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; NULL 742 daemons/attrd/attrd_commands.c xmlNode *sync = create_xml_node(NULL, __func__); NULL 748 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&aIter, NULL, (gpointer *) & a)) { NULL 750 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&vIter, NULL, (gpointer *) & v)) { NULL 766 daemons/attrd/attrd_commands.c send_attrd_message(NULL, sync); NULL 776 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; NULL 784 daemons/attrd/attrd_commands.c if (attr == NULL) { NULL 795 daemons/attrd/attrd_commands.c if (a == NULL) { NULL 809 daemons/attrd/attrd_commands.c if (dvalue == NULL) { NULL 831 daemons/attrd/attrd_commands.c a->timer = NULL; NULL 847 daemons/attrd/attrd_commands.c if (host == NULL) { NULL 853 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&vIter, (gpointer *) & host, NULL)) { NULL 866 daemons/attrd/attrd_commands.c xmlNode *sync = create_xml_node(NULL, __func__); NULL 879 daemons/attrd/attrd_commands.c send_attrd_message(NULL, sync); NULL 886 daemons/attrd/attrd_commands.c v->current = (value? strdup(value) : NULL); NULL 942 daemons/attrd/attrd_commands.c attrd_peer_sync(NULL, NULL); NULL 972 daemons/attrd/attrd_commands.c attrd_peer_sync(peer, NULL); NULL 993 daemons/attrd/attrd_commands.c const char *peer = NULL; NULL 994 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; NULL 999 daemons/attrd/attrd_commands.c if(a == NULL) { NULL 1016 daemons/attrd/attrd_commands.c a->timer = NULL; NULL 1036 daemons/attrd/attrd_commands.c v->requested = NULL; NULL 1081 daemons/attrd/attrd_commands.c attribute_t *a = NULL; NULL 1085 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & a)) { NULL 1106 daemons/attrd/attrd_commands.c const char *set = NULL; NULL 1107 daemons/attrd/attrd_commands.c xmlNode *xml_obj = NULL; NULL 1143 daemons/attrd/attrd_commands.c attribute_value_t *a_v = NULL; NULL 1145 daemons/attrd/attrd_commands.c CRM_ASSERT(a_v != NULL); NULL 1150 daemons/attrd/attrd_commands.c if (v->current != NULL) { NULL 1161 daemons/attrd/attrd_commands.c attribute_value_t *at = NULL; NULL 1166 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&vIter, NULL, (gpointer *) & at)) { NULL 1178 daemons/attrd/attrd_commands.c xmlNode *xml_top = NULL; NULL 1179 daemons/attrd/attrd_commands.c attribute_value_t *v = NULL; NULL 1182 daemons/attrd/attrd_commands.c GHashTable *alert_attribute_value = NULL; NULL 1184 daemons/attrd/attrd_commands.c if (a == NULL) { NULL 1192 daemons/attrd/attrd_commands.c CRM_CHECK(the_cib != NULL, return); NULL 1215 daemons/attrd/attrd_commands.c xml_top = create_xml_node(NULL, XML_CIB_TAG_STATUS); NULL 1229 daemons/attrd/attrd_commands.c crm_strcase_equal, NULL, NULL 1234 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & v)) { NULL 1238 daemons/attrd/attrd_commands.c if (peer == NULL) { NULL 1257 daemons/attrd/attrd_commands.c if (peer->uuid == NULL) { NULL 1276 daemons/attrd/attrd_commands.c v->requested = NULL; NULL 1296 daemons/attrd/attrd_commands.c a->update = cib_internal_op(the_cib, CIB_OP_MODIFY, NULL, XML_CIB_TAG_STATUS, xml_top, NULL, NULL 15 daemons/attrd/attrd_elections.c static char *peer_writer = NULL; NULL 16 daemons/attrd/attrd_elections.c static election_t *writer = NULL; NULL 34 daemons/attrd/attrd_elections.c if ((peer_writer == NULL) NULL 65 daemons/attrd/attrd_elections.c peer_writer = NULL; NULL 81 daemons/attrd/attrd_elections.c if ((peer_writer == NULL) || (previous != election_lost)) { NULL 137 daemons/attrd/attrd_elections.c peer_writer = NULL; NULL 25 daemons/attrd/attrd_utils.c cib_t *the_cib = NULL; NULL 28 daemons/attrd/attrd_utils.c static GMainLoop *mloop = NULL; NULL 62 daemons/attrd/attrd_utils.c if ((mloop == NULL) || !g_main_loop_is_running(mloop)) { NULL 80 daemons/attrd/attrd_utils.c mloop = g_main_loop_new(NULL, FALSE); NULL 113 daemons/attrd/attrd_utils.c if (pcmk__new_client(c, uid, gid) == NULL) { NULL 132 daemons/attrd/attrd_utils.c if (client == NULL) { NULL 170 daemons/attrd/attrd_utils.c .connection_created = NULL, NULL 171 daemons/attrd/attrd_utils.c .msg_process = NULL, NULL 183 daemons/attrd/attrd_utils.c CRM_CHECK(the_cib != NULL, return); NULL 188 daemons/attrd/attrd_utils.c the_cib = NULL; NULL 272 daemons/attrd/attrd_utils.c char *pattern = NULL; NULL 277 daemons/attrd/attrd_utils.c if (rsc == NULL) { NULL 279 daemons/attrd/attrd_utils.c } else if (op == NULL) { NULL 35 daemons/attrd/pacemaker-attrd.c lrmd_t *the_lrmd = NULL; NULL 36 daemons/attrd/pacemaker-attrd.c crm_cluster_t *attrd_cluster = NULL; NULL 37 daemons/attrd/pacemaker-attrd.c crm_trigger_t *attrd_config_read = NULL; NULL 46 daemons/attrd/pacemaker-attrd.c xmlNode *xml = NULL; NULL 47 daemons/attrd/pacemaker-attrd.c const char *from = NULL; NULL 50 daemons/attrd/pacemaker-attrd.c if(data == NULL) { NULL 58 daemons/attrd/pacemaker-attrd.c if (xml == NULL) { NULL 138 daemons/attrd/pacemaker-attrd.c call_id = the_cib->cmds->remove(the_cib, xpath, NULL, NULL 153 daemons/attrd/pacemaker-attrd.c if (the_cib == NULL) { NULL 199 daemons/attrd/pacemaker-attrd.c the_cib = NULL; NULL 214 daemons/attrd/pacemaker-attrd.c attrd_config_read = mainloop_add_trigger(G_PRIORITY_HIGH, attrd_read_options, NULL); NULL 220 daemons/attrd/pacemaker-attrd.c static qb_ipcs_service_t *ipcs = NULL; NULL 228 daemons/attrd/pacemaker-attrd.c xmlNode *xml = NULL; NULL 232 daemons/attrd/pacemaker-attrd.c CRM_CHECK((c != NULL) && (client != NULL), return 0); NULL 233 daemons/attrd/pacemaker-attrd.c if (data == NULL) { NULL 238 daemons/attrd/pacemaker-attrd.c if (xml == NULL) { NULL 244 daemons/attrd/pacemaker-attrd.c CRM_ASSERT(client->user != NULL); NULL 250 daemons/attrd/pacemaker-attrd.c if (client->name == NULL) { NULL 295 daemons/attrd/pacemaker-attrd.c if (ipcs != NULL) { NULL 298 daemons/attrd/pacemaker-attrd.c ipcs = NULL; NULL 323 daemons/attrd/pacemaker-attrd.c "help", no_argument, NULL, '?', NULL 327 daemons/attrd/pacemaker-attrd.c "verbose", no_argument, NULL, 'V', NULL 339 daemons/attrd/pacemaker-attrd.c crm_ipc_t *old_instance = NULL; NULL 342 daemons/attrd/pacemaker-attrd.c crm_log_preinit(NULL, argc, argv); NULL 343 daemons/attrd/pacemaker-attrd.c pcmk__set_cli_options(NULL, "[options]", long_options, NULL 349 daemons/attrd/pacemaker-attrd.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); NULL 387 daemons/attrd/pacemaker-attrd.c old_instance = NULL; NULL 390 daemons/attrd/pacemaker-attrd.c attributes = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, free_attribute); NULL 48 daemons/based/based_callbacks.c qb_ipcs_service_t *ipcs_ro = NULL; NULL 49 daemons/based/based_callbacks.c qb_ipcs_service_t *ipcs_rw = NULL; NULL 50 daemons/based/based_callbacks.c qb_ipcs_service_t *ipcs_shm = NULL; NULL 78 daemons/based/based_callbacks.c if (pcmk__new_client(c, uid, gid) == NULL) { NULL 108 daemons/based/based_callbacks.c if (client == NULL) { NULL 128 daemons/based/based_callbacks.c .connection_created = NULL, NULL 136 daemons/based/based_callbacks.c .connection_created = NULL, NULL 150 daemons/based/based_callbacks.c xmlNode *ack = create_xml_node(NULL, __func__); NULL 219 daemons/based/based_callbacks.c if (op_request == NULL) { NULL 224 daemons/based/based_callbacks.c } else if(cib_client == NULL) { NULL 235 daemons/based/based_callbacks.c if (cib_client->name == NULL) { NULL 238 daemons/based/based_callbacks.c if (value == NULL) { NULL 262 daemons/based/based_callbacks.c CRM_LOG_ASSERT(cib_client->user != NULL); NULL 273 daemons/based/based_callbacks.c static char *ping_digest = NULL; NULL 282 daemons/based/based_callbacks.c xmlNode *ping = create_xml_node(NULL, "ping"); NULL 286 daemons/based/based_callbacks.c ping_digest = NULL; NULL 296 daemons/based/based_callbacks.c send_cluster_message(NULL, crm_msg_cib, ping, TRUE); NULL 314 daemons/based/based_callbacks.c seq = (uint64_t) crm_parse_ll(seq_s, NULL); NULL 317 daemons/based/based_callbacks.c if(digest == NULL) { NULL 329 daemons/based/based_callbacks.c if(ping_digest == NULL) { NULL 367 daemons/based/based_callbacks.c pcmk__client_t *client_obj = NULL; NULL 374 daemons/based/based_callbacks.c if (client_obj == NULL) { NULL 440 daemons/based/based_callbacks.c cib_local_notify_t *notify = NULL; NULL 468 daemons/based/based_callbacks.c g_direct_equal, NULL, NULL 491 daemons/based/based_callbacks.c if (host == NULL && (call_options & cib_scope_local)) { NULL 495 daemons/based/based_callbacks.c } else if (host == NULL && cib_is_master) { NULL 523 daemons/based/based_callbacks.c if (pcmk__strcase_any_of(op, CIB_OP_MASTER, CIB_OP_SLAVE, NULL)) { NULL 551 daemons/based/based_callbacks.c } else if (host == NULL) { NULL 584 daemons/based/based_callbacks.c const char *op = NULL; NULL 585 daemons/based/based_callbacks.c const char *host = NULL; NULL 586 daemons/based/based_callbacks.c const char *delegated = NULL; NULL 610 daemons/based/based_callbacks.c if (reply_to == NULL || is_reply) { NULL 633 daemons/based/based_callbacks.c if (host != NULL && pcmk__str_eq(host, cib_our_uname, pcmk__str_casei)) { NULL 642 daemons/based/based_callbacks.c } else if (host == NULL && cib_is_master == TRUE) { NULL 648 daemons/based/based_callbacks.c if (delegated != NULL) { NULL 651 daemons/based/based_callbacks.c } else if (host != NULL) { NULL 655 daemons/based/based_callbacks.c } else if (reply_to == NULL && cib_is_master == FALSE) { NULL 660 daemons/based/based_callbacks.c if (reply_to != NULL) { NULL 682 daemons/based/based_callbacks.c const char *host = NULL; NULL 723 daemons/based/based_callbacks.c if (upgrade_rc != NULL) { NULL 727 daemons/based/based_callbacks.c } else if ((max == NULL) && cib_is_master) { NULL 742 daemons/based/based_callbacks.c send_sync_request(NULL); NULL 754 daemons/based/based_callbacks.c if (reply_to == NULL) { NULL 779 daemons/based/based_callbacks.c if (host != NULL && pcmk__str_eq(host, cib_our_uname, pcmk__str_casei)) { NULL 784 daemons/based/based_callbacks.c } else if (host != NULL) { NULL 826 daemons/based/based_callbacks.c if (host != NULL) { NULL 832 daemons/based/based_callbacks.c send_cluster_message(NULL, crm_msg_cib, request, FALSE); NULL 846 daemons/based/based_callbacks.c CRM_ASSERT(msg != NULL); NULL 861 daemons/based/based_callbacks.c const char *digest = NULL; NULL 864 daemons/based/based_callbacks.c CRM_LOG_ASSERT(result_diff != NULL); NULL 882 daemons/based/based_callbacks.c CRM_ASSERT(digest != NULL); NULL 887 daemons/based/based_callbacks.c return send_cluster_message(NULL, crm_msg_cib, msg, TRUE); NULL 889 daemons/based/based_callbacks.c } else if (originator != NULL) { NULL 922 daemons/based/based_callbacks.c xmlNode *op_reply = NULL; NULL 923 daemons/based/based_callbacks.c xmlNode *result_diff = NULL; NULL 929 daemons/based/based_callbacks.c const char *target = NULL; NULL 937 daemons/based/based_callbacks.c if ((host != NULL) && (*host == '\0')) { NULL 938 daemons/based/based_callbacks.c host = NULL; NULL 951 daemons/based/based_callbacks.c if (cib_client == NULL) { NULL 966 daemons/based/based_callbacks.c if (cib_client != NULL) { NULL 1013 daemons/based/based_callbacks.c op_reply = create_xml_node(NULL, "cib-reply"); NULL 1028 daemons/based/based_callbacks.c time_t now = time(NULL); NULL 1063 daemons/based/based_callbacks.c finished = time(NULL); NULL 1066 daemons/based/based_callbacks.c crm_write_blackbox(0, NULL); NULL 1069 daemons/based/based_callbacks.c if (op_reply == NULL && (needs_reply || local_notify)) { NULL 1087 daemons/based/based_callbacks.c rc == pcmk_ok && result_diff != NULL && !(call_options & cib_inhibit_bcast)) { NULL 1105 daemons/based/based_callbacks.c (cib_client == NULL)); NULL 1106 daemons/based/based_callbacks.c op_reply = NULL; /* the reply is queued, so don't free here */ NULL 1112 daemons/based/based_callbacks.c } else if (cib_client == NULL) { NULL 1113 daemons/based/based_callbacks.c if (is_update == FALSE || result_diff == NULL) { NULL 1136 daemons/based/based_callbacks.c (cib_client == NULL)); NULL 1140 daemons/based/based_callbacks.c (cib_client == NULL)); NULL 1153 daemons/based/based_callbacks.c xmlNode *input = NULL; NULL 1154 daemons/based/based_callbacks.c xmlNode *output = NULL; NULL 1155 daemons/based/based_callbacks.c xmlNode *result_cib = NULL; NULL 1156 daemons/based/based_callbacks.c xmlNode *current_cib = NULL; NULL 1161 daemons/based/based_callbacks.c const char *op = NULL; NULL 1162 daemons/based/based_callbacks.c const char *section = NULL; NULL 1173 daemons/based/based_callbacks.c static mainloop_timer_t *digest_timer = NULL; NULL 1177 daemons/based/based_callbacks.c if(digest_timer == NULL) { NULL 1178 daemons/based/based_callbacks.c digest_timer = mainloop_timer_add("digester", 5000, FALSE, cib_digester_cb, NULL); NULL 1181 daemons/based/based_callbacks.c *reply = NULL; NULL 1182 daemons/based/based_callbacks.c *cib_diff = NULL; NULL 1206 daemons/based/based_callbacks.c current_cib, &result_cib, NULL, &output); NULL 1208 daemons/based/based_callbacks.c CRM_CHECK(result_cib == NULL, free_xml(result_cib)); NULL 1255 daemons/based/based_callbacks.c config_changed = cib_config_changed(NULL, NULL, cib_diff); NULL 1284 daemons/based/based_callbacks.c if (section == NULL) { NULL 1310 daemons/based/based_callbacks.c if (output != NULL) { NULL 1345 daemons/based/based_callbacks.c *reply = create_xml_node(NULL, "cib-reply"); NULL 1353 daemons/based/based_callbacks.c if (output != NULL) { NULL 1365 daemons/based/based_callbacks.c output = NULL; NULL 1379 daemons/based/based_callbacks.c const char *reason = NULL; NULL 1391 daemons/based/based_callbacks.c } else if (crm_peer_cache == NULL) { NULL 1396 daemons/based/based_callbacks.c if (crm_element_value(msg, F_CIB_CLIENTNAME) == NULL) { NULL 1401 daemons/based/based_callbacks.c cib_process_request(msg, TRUE, NULL); NULL 1436 daemons/based/based_callbacks.c qb_ipcs_connection_t *c = NULL; NULL 1441 daemons/based/based_callbacks.c while (c != NULL) { NULL 1453 daemons/based/based_callbacks.c while (c != NULL) { NULL 1465 daemons/based/based_callbacks.c while (c != NULL) { NULL 1479 daemons/based/based_callbacks.c pcmk__foreach_ipc_client(disconnect_remote_client, NULL); NULL 1499 daemons/based/based_callbacks.c xmlNode *leaving = NULL; NULL 1509 daemons/based/based_callbacks.c leaving = create_xml_node(NULL, "exit-notification"); NULL 1513 daemons/based/based_callbacks.c send_cluster_message(NULL, crm_msg_cib, leaving, TRUE); NULL 1516 daemons/based/based_callbacks.c g_timeout_add(EXIT_ESCALATION_MS, cib_force_exit, NULL); NULL 1551 daemons/based/based_callbacks.c } else if ((mainloop != NULL) && g_main_loop_is_running(mainloop)) { NULL 37 daemons/based/based_common.c xmlNode *data = NULL; NULL 40 daemons/based/based_common.c if (root == NULL) { NULL 41 daemons/based/based_common.c return NULL; NULL 44 daemons/based/based_common.c F_CRM_DATA, F_CIB_CALLDATA, NULL)) { NULL 52 daemons/based/based_common.c if (section != NULL && data != NULL && pcmk__str_eq(crm_element_name(data), XML_TAG_CIB, pcmk__str_none)) { NULL 63 daemons/based/based_common.c *data = NULL; NULL 82 daemons/based/based_common.c *data = NULL; NULL 90 daemons/based/based_common.c xmlNode *input_fragment = NULL; NULL 93 daemons/based/based_common.c *data = NULL; NULL 94 daemons/based/based_common.c *section = NULL; NULL 103 daemons/based/based_common.c CRM_CHECK(input_fragment != NULL, crm_log_xml_warn(request, "no input")); NULL 104 daemons/based/based_common.c *data = cib_prepare_common(input_fragment, NULL); NULL 111 daemons/based/based_common.c CRM_LOG_ASSERT(*data == NULL); NULL 123 daemons/based/based_common.c *data = NULL; NULL 137 daemons/based/based_common.c CRM_LOG_ASSERT(*data == NULL); NULL 138 daemons/based/based_common.c CRM_LOG_ASSERT(*output == NULL); NULL 144 daemons/based/based_common.c {NULL, FALSE, FALSE, FALSE, cib_prepare_none, cib_cleanup_none, cib_process_default}, NULL 169 daemons/based/based_common.c static GHashTable *operation_hash = NULL; NULL 171 daemons/based/based_common.c if (operation_hash == NULL) { NULL 175 daemons/based/based_common.c operation_hash = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, free); NULL 186 daemons/based/based_common.c if (op != NULL) { NULL 203 daemons/based/based_common.c const char *field = NULL; NULL 204 daemons/based/based_common.c const char *value = NULL; NULL 205 daemons/based/based_common.c xmlNode *value_struct = NULL; NULL 240 daemons/based/based_common.c xmlNode *copy = create_xml_node(NULL, "copy"); NULL 242 daemons/based/based_common.c CRM_ASSERT(copy != NULL); NULL 247 daemons/based/based_common.c if (value != NULL) { NULL 254 daemons/based/based_common.c if (value_struct != NULL) { NULL 36 daemons/based/based_io.c crm_trigger_t *cib_writer = NULL; NULL 67 daemons/based/based_io.c xmlNode *root = NULL; NULL 183 daemons/based/based_io.c struct dirent **namelist = NULL; NULL 186 daemons/based/based_io.c char *sigfile = NULL; NULL 187 daemons/based/based_io.c char *sigfilepath = NULL; NULL 188 daemons/based/based_io.c char *filename = NULL; NULL 189 daemons/based/based_io.c const char *name = NULL; NULL 190 daemons/based/based_io.c const char *value = NULL; NULL 191 daemons/based/based_io.c const char *validation = NULL; NULL 194 daemons/based/based_io.c xmlNode *root = NULL; NULL 195 daemons/based/based_io.c xmlNode *status = NULL; NULL 201 daemons/based/based_io.c return NULL; NULL 213 daemons/based/based_io.c if (root == NULL) { NULL 221 daemons/based/based_io.c while (root == NULL && lpc > 1) { NULL 243 daemons/based/based_io.c if (root == NULL) { NULL 256 daemons/based/based_io.c if (discard_status && status != NULL) { NULL 259 daemons/based/based_io.c status = NULL; NULL 261 daemons/based/based_io.c if (status == NULL) { NULL 270 daemons/based/based_io.c if (value == NULL) { NULL 282 daemons/based/based_io.c if (value == NULL) { NULL 288 daemons/based/based_io.c if (value == NULL) { NULL 300 daemons/based/based_io.c if (validate_xml(root, NULL, TRUE) == FALSE) { NULL 304 daemons/based/based_io.c } else if (validation == NULL) { NULL 325 daemons/based/based_io.c if (tmp_cib == NULL) { NULL 330 daemons/based/based_io.c the_cib = NULL; NULL 394 daemons/based/based_io.c xmlNode *cib_local = NULL; NULL 422 daemons/based/based_io.c mainloop_child_add(pid, 0, "disk-writer", NULL, cib_diskwrite_complete); NULL 444 daemons/based/based_io.c if (p == NULL) { NULL 38 daemons/based/based_messages.c xmlNode *the_cib = NULL; NULL 58 daemons/based/based_messages.c *answer = NULL; NULL 60 daemons/based/based_messages.c if (crm_element_value(req, F_CIB_ISREPLY) == NULL) { NULL 83 daemons/based/based_messages.c *answer = NULL; NULL 85 daemons/based/based_messages.c if (op == NULL) { NULL 141 daemons/based/based_messages.c xmlNode *sync_me = create_xml_node(NULL, "sync-me"); NULL 150 daemons/based/based_messages.c send_cluster_message(host ? crm_get_peer(0, host) : NULL, crm_msg_cib, sync_me, FALSE); NULL 162 daemons/based/based_messages.c static struct qb_log_callsite *cs = NULL; NULL 165 daemons/based/based_messages.c *answer = create_xml_node(NULL, XML_CRM_TAG_PING); NULL 171 daemons/based/based_messages.c if (cs == NULL) { NULL 182 daemons/based/based_messages.c xmlNode *shallow = create_xml_node(NULL, tag); NULL 215 daemons/based/based_messages.c *answer = NULL; NULL 237 daemons/based/based_messages.c if (value != NULL) { NULL 243 daemons/based/based_messages.c xmlNode *up = create_xml_node(NULL, __func__); NULL 261 daemons/based/based_messages.c send_cluster_message(NULL, crm_msg_cib, up, FALSE); NULL 279 daemons/based/based_messages.c xmlNode *up = create_xml_node(NULL, __func__); NULL 349 daemons/based/based_messages.c *result_cib = NULL; NULL 350 daemons/based/based_messages.c send_sync_request(NULL); NULL 363 daemons/based/based_messages.c *result_cib = NULL; NULL 364 daemons/based/based_messages.c send_sync_request(NULL); NULL 387 daemons/based/based_messages.c const char *object_name = NULL; NULL 388 daemons/based/based_messages.c const char *object_id = NULL; NULL 389 daemons/based/based_messages.c xmlNode *equiv_node = NULL; NULL 392 daemons/based/based_messages.c if (delete_spec != NULL) { NULL 399 daemons/based/based_messages.c if (delete_spec == NULL) { NULL 402 daemons/based/based_messages.c } else if (parent == NULL) { NULL 405 daemons/based/based_messages.c } else if (object_id == NULL) { NULL 417 daemons/based/based_messages.c } else if (equiv_node == NULL) { NULL 424 daemons/based/based_messages.c equiv_node = NULL; NULL 427 daemons/based/based_messages.c xmlNode *child = NULL; NULL 429 daemons/based/based_messages.c for (child = pcmk__xml_first_child(delete_spec); child != NULL; NULL 448 daemons/based/based_messages.c xmlNode *failed = NULL; NULL 450 daemons/based/based_messages.c xmlNode *update_section = NULL; NULL 454 daemons/based/based_messages.c section = NULL; NULL 457 daemons/based/based_messages.c section = NULL; NULL 460 daemons/based/based_messages.c section = NULL; NULL 465 daemons/based/based_messages.c if (input == NULL) { NULL 470 daemons/based/based_messages.c failed = create_xml_node(NULL, XML_TAG_FAILED); NULL 495 daemons/based/based_messages.c char *digest = NULL; NULL 501 daemons/based/based_messages.c CRM_CHECK(the_cib != NULL,;); NULL 502 daemons/based/based_messages.c CRM_CHECK(replace_request != NULL,;); NULL 505 daemons/based/based_messages.c if (all == FALSE && host == NULL) { NULL 516 daemons/based/based_messages.c if (host != NULL) { NULL 534 daemons/based/based_messages.c (all ? NULL : crm_get_peer(0, host), crm_msg_cib, replace_request, FALSE) == FALSE) { NULL 48 daemons/based/based_notify.c const char *type = NULL; NULL 54 daemons/based/based_notify.c if (client->ipcs == NULL && client->remote == NULL) { NULL 60 daemons/based/based_notify.c CRM_LOG_ASSERT(type != NULL); NULL 144 daemons/based/based_notify.c if (diff == NULL) { NULL 162 daemons/based/based_notify.c } else if (diff != NULL) { NULL 176 daemons/based/based_notify.c xmlNode *update_msg = NULL; NULL 177 daemons/based/based_notify.c const char *id = NULL; NULL 179 daemons/based/based_notify.c update_msg = create_xml_node(NULL, "notify"); NULL 181 daemons/based/based_notify.c if (result_data != NULL) { NULL 190 daemons/based/based_notify.c if (id != NULL) { NULL 194 daemons/based/based_notify.c if (update != NULL) { NULL 198 daemons/based/based_notify.c } else if (result_data != NULL) { NULL 207 daemons/based/based_notify.c if (update != NULL) { NULL 210 daemons/based/based_notify.c if (result_data != NULL) { NULL 221 daemons/based/based_notify.c xmlNode *generation = create_xml_node(NULL, XML_CIB_TAG_GENERATION_TUPPLE); NULL 223 daemons/based/based_notify.c if (a_cib != NULL) { NULL 233 daemons/based/based_notify.c xmlNode *replace_msg = NULL; NULL 243 daemons/based/based_notify.c if (diff == NULL) { NULL 258 daemons/based/based_notify.c } else if (diff != NULL) { NULL 263 daemons/based/based_notify.c replace_msg = create_xml_node(NULL, "notify-replace"); NULL 90 daemons/based/based_remote.c int *ssock = NULL; NULL 128 daemons/based/based_remote.c if(ssock == NULL) { NULL 176 daemons/based/based_remote.c struct passwd *pwd = NULL; NULL 177 daemons/based/based_remote.c struct group *group = NULL; NULL 179 daemons/based/based_remote.c CRM_CHECK(usr != NULL, return FALSE); NULL 180 daemons/based/based_remote.c CRM_CHECK(grp != NULL, return FALSE); NULL 183 daemons/based/based_remote.c if (pwd == NULL) { NULL 189 daemons/based/based_remote.c if (group != NULL && pcmk__str_eq(grp, group->gr_name, pcmk__str_none)) { NULL 194 daemons/based/based_remote.c if (group == NULL) { NULL 202 daemons/based/based_remote.c if (member == NULL) { NULL 216 daemons/based/based_remote.c const char *user = NULL; NULL 217 daemons/based/based_remote.c const char *pass = NULL; NULL 218 daemons/based/based_remote.c const char *tmp = NULL; NULL 221 daemons/based/based_remote.c if (login == NULL) { NULL 287 daemons/based/based_remote.c pcmk__client_t *new_client = NULL; NULL 317 daemons/based/based_remote.c new_client = pcmk__new_unauth_client(NULL); NULL 329 daemons/based/based_remote.c if (new_client->remote->tls_session == NULL) { NULL 359 daemons/based/based_remote.c if (client == NULL) { NULL 383 daemons/based/based_remote.c client->remote->tls_session = NULL; NULL 410 daemons/based/based_remote.c const char *value = NULL; NULL 418 daemons/based/based_remote.c if (client->name == NULL) { NULL 420 daemons/based/based_remote.c if (value == NULL) { NULL 427 daemons/based/based_remote.c if (client->userdata == NULL) { NULL 429 daemons/based/based_remote.c if (value != NULL) { NULL 450 daemons/based/based_remote.c if (crm_element_value(command, F_CIB_CALLID) == NULL) { NULL 458 daemons/based/based_remote.c if (crm_element_value(command, F_CIB_CALLOPTS) == NULL) { NULL 469 daemons/based/based_remote.c xmlNode *command = NULL; NULL 514 daemons/based/based_remote.c const char *user = NULL; NULL 536 daemons/based/based_remote.c reg = create_xml_node(NULL, "cib_result"); NULL 573 daemons/based/based_remote.c CRM_ASSERT(reply != NULL); NULL 597 daemons/based/based_remote.c reply = NULL; NULL 603 daemons/based/based_remote.c if (reply[count].resp != NULL) { NULL 614 daemons/based/based_remote.c reply[count].resp = NULL; NULL 618 daemons/based/based_remote.c reply = NULL; NULL 632 daemons/based/based_remote.c const void *p_user = NULL; NULL 635 daemons/based/based_remote.c struct pam_handle *pam_h = NULL; NULL 636 daemons/based/based_remote.c static const char *pam_name = NULL; NULL 638 daemons/based/based_remote.c if (pam_name == NULL) { NULL 641 daemons/based/based_remote.c if (pam_name == NULL) { NULL 670 daemons/based/based_remote.c } else if (p_user == NULL) { NULL 43 daemons/based/cibmon.c static GMainLoop *mainloop = NULL; NULL 50 daemons/based/cibmon.c static cib_t *cib = NULL; NULL 51 daemons/based/cibmon.c static xmlNode *cib_copy = NULL; NULL 155 daemons/based/cibmon.c mainloop = g_main_loop_new(NULL, FALSE); NULL 193 daemons/based/cibmon.c const char *op = NULL; NULL 196 daemons/based/cibmon.c xmlNode *diff = NULL; NULL 197 daemons/based/cibmon.c xmlNode *cib_last = NULL; NULL 200 daemons/based/cibmon.c if (msg == NULL) { NULL 219 daemons/based/cibmon.c if (log_updates && update != NULL) { NULL 223 daemons/based/cibmon.c if (cib_copy != NULL) { NULL 225 daemons/based/cibmon.c cib_copy = NULL; NULL 226 daemons/based/cibmon.c rc = cib_process_diff(op, cib_force_diff, NULL, NULL, diff, cib_last, &cib_copy, NULL); NULL 231 daemons/based/cibmon.c cib_copy = NULL; NULL 235 daemons/based/cibmon.c if (cib_copy == NULL) { NULL 236 daemons/based/cibmon.c rc = cib->cmds->query(cib, NULL, &cib_copy, cib_scope_local | cib_sync_call); NULL 36 daemons/based/pacemaker-based.c GMainLoop *mainloop = NULL; NULL 37 daemons/based/pacemaker-based.c const char *cib_root = NULL; NULL 38 daemons/based/pacemaker-based.c char *cib_our_uname = NULL; NULL 46 daemons/based/pacemaker-based.c GHashTable *config_hash = NULL; NULL 47 daemons/based/pacemaker-based.c GHashTable *local_notify_queue = NULL; NULL 69 daemons/based/pacemaker-based.c "verbose", no_argument, NULL, 'V', NULL 73 daemons/based/pacemaker-based.c "stand-alone", no_argument, NULL, 's', NULL 77 daemons/based/pacemaker-based.c "disk-writes", no_argument, NULL, 'w', NULL 81 daemons/based/pacemaker-based.c "cib-root", required_argument, NULL, 'r', NULL 94 daemons/based/pacemaker-based.c struct passwd *pwentry = NULL; NULL 95 daemons/based/pacemaker-based.c crm_ipc_t *old_instance = NULL; NULL 97 daemons/based/pacemaker-based.c crm_log_preinit(NULL, argc, argv); NULL 98 daemons/based/pacemaker-based.c pcmk__set_cli_options(NULL, "[options]", long_options, NULL 105 daemons/based/pacemaker-based.c cib_writer = mainloop_add_trigger(G_PRIORITY_LOW, write_cib_contents, NULL); NULL 108 daemons/based/pacemaker-based.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); NULL 122 daemons/based/pacemaker-based.c CRM_CHECK(pwentry != NULL, NULL 174 daemons/based/pacemaker-based.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); NULL 188 daemons/based/pacemaker-based.c old_instance = NULL; NULL 191 daemons/based/pacemaker-based.c if (cib_root == NULL) { NULL 197 daemons/based/pacemaker-based.c if (pcmk__daemon_can_write(cib_root, NULL) == FALSE) { NULL 211 daemons/based/pacemaker-based.c mainloop = g_main_loop_new(NULL, FALSE); NULL 242 daemons/based/pacemaker-based.c xmlNode *xml = NULL; NULL 243 daemons/based/pacemaker-based.c const char *from = NULL; NULL 246 daemons/based/pacemaker-based.c if(data == NULL) { NULL 251 daemons/based/pacemaker-based.c if (xml == NULL) { NULL 258 daemons/based/pacemaker-based.c cib_peer_callback(xml, NULL); NULL 356 daemons/based/pacemaker-based.c const char *port_s = NULL; NULL 18 daemons/controld/controld_attrd.c static crm_ipc_t *attrd_ipc = NULL; NULL 27 daemons/controld/controld_attrd.c attrd_ipc = NULL; NULL 72 daemons/controld/controld_attrd.c register_fsa_input(C_FSA_INTERNAL, I_FAIL, NULL); NULL 90 daemons/controld/controld_attrd.c if (attrd_ipc == NULL) { NULL 113 daemons/controld/controld_attrd.c value, XML_CIB_TAG_STATUS, NULL, NULL 114 daemons/controld/controld_attrd.c NULL, user_name, attrd_opts); NULL 156 daemons/controld/controld_attrd.c update_attrd_helper(host, name, value, NULL, user_name, is_remote_node, NULL 165 daemons/controld/controld_attrd.c update_attrd_helper(host, NULL, NULL, NULL, user_name, TRUE, 'C'); NULL 172 daemons/controld/controld_attrd.c const char *op_desc = NULL; NULL 173 daemons/controld/controld_attrd.c const char *interval_desc = NULL; NULL 185 daemons/controld/controld_attrd.c update_attrd_helper(host, rsc, op, interval_spec, NULL, is_remote_node, 0); NULL 46 daemons/controld/controld_based.c register_fsa_input(C_FSA_INTERNAL, I_ELECTION, NULL); NULL 56 daemons/controld/controld_based.c CRM_ASSERT(fsa_cib_conn != NULL); NULL 132 daemons/controld/controld_based.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 167 daemons/controld/controld_based.c CRMD_ACTION_NOTIFY, CRMD_ACTION_METADATA, NULL); NULL 219 daemons/controld/controld_based.c char *xpath = NULL; NULL 220 daemons/controld/controld_based.c char *desc = NULL; NULL 222 daemons/controld/controld_based.c CRM_CHECK(uname != NULL, return); NULL 249 daemons/controld/controld_based.c if (fsa_cib_conn == NULL) { NULL 257 daemons/controld/controld_based.c call_id = fsa_cib_conn->cmds->remove(fsa_cib_conn, xpath, NULL, options); NULL 289 daemons/controld/controld_based.c char *desc = NULL; NULL 290 daemons/controld/controld_based.c char *xpath = NULL; NULL 293 daemons/controld/controld_based.c CRM_CHECK((rsc_id != NULL) && (node != NULL), return EINVAL); NULL 296 daemons/controld/controld_based.c if (fsa_cib_conn == NULL) { NULL 304 daemons/controld/controld_based.c rc = cib_internal_op(fsa_cib_conn, CIB_OP_DELETE, NULL, xpath, NULL, NULL 305 daemons/controld/controld_based.c NULL, call_options|cib_xpath, user_name); NULL 45 daemons/controld/controld_callbacks.c register_fsa_error_adv(C_FSA_INTERNAL, I_ELECTION, NULL, &new_input, NULL 117 daemons/controld/controld_callbacks.c if (node->uname == NULL) { NULL 153 daemons/controld/controld_callbacks.c CRM_CHECK(data != NULL, return); NULL 188 daemons/controld/controld_callbacks.c register_fsa_input(C_CRMD_STATUS_CALLBACK, I_ERROR, NULL); NULL 193 daemons/controld/controld_callbacks.c register_fsa_input(C_CRMD_STATUS_CALLBACK, I_ELECTION, NULL); NULL 209 daemons/controld/controld_callbacks.c } else if (AM_I_DC || (fsa_our_dc == NULL)) { NULL 226 daemons/controld/controld_callbacks.c xmlNode *update = NULL; NULL 235 daemons/controld/controld_callbacks.c register_fsa_input_before(C_FSA_INTERNAL, I_NODE_JOIN, NULL); NULL 280 daemons/controld/controld_callbacks.c abort_transition(INFINITY, tg_restart, "Node failure", NULL); NULL 297 daemons/controld/controld_callbacks.c "pacemaker_remote node integrated", NULL); NULL 302 daemons/controld/controld_callbacks.c update = create_node_state_update(node, flags, NULL, __func__); NULL 303 daemons/controld/controld_callbacks.c if (update == NULL) { NULL 330 daemons/controld/controld_callbacks.c register_fsa_input(C_FSA_INTERNAL, I_ERROR, NULL); NULL 25 daemons/controld/controld_control.c qb_ipcs_service_t *ipcs = NULL; NULL 35 daemons/controld/controld_control.c crm_trigger_t *fsa_source = NULL; NULL 36 daemons/controld/controld_control.c crm_trigger_t *config_read = NULL; NULL 48 daemons/controld/controld_control.c static crm_cluster_t *cluster = NULL; NULL 50 daemons/controld/controld_control.c if (cluster == NULL) { NULL 75 daemons/controld/controld_control.c if(cluster->uuid == NULL) { NULL 83 daemons/controld/controld_control.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 116 daemons/controld/controld_control.c xmlNode *msg = NULL; NULL 122 daemons/controld/controld_control.c msg = create_request(CRM_OP_SHUTDOWN_REQ, NULL, NULL, CRM_SYSTEM_CRMD, CRM_SYSTEM_CRMD, NULL); NULL 124 daemons/controld/controld_control.c if (send_cluster_message(NULL, crm_msg_crmd, msg, TRUE) == FALSE) { NULL 125 daemons/controld/controld_control.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 154 daemons/controld/controld_control.c GListPtr gIter = NULL; NULL 166 daemons/controld/controld_control.c crm_write_blackbox(SIGTRAP, NULL); NULL 182 daemons/controld/controld_control.c ipcs = NULL; NULL 189 daemons/controld/controld_control.c if ((exit_code == CRM_EX_OK) && (crmd_mainloop == NULL)) { NULL 203 daemons/controld/controld_control.c crm_write_blackbox(SIGTRAP, NULL); NULL 209 daemons/controld/controld_control.c for (gIter = fsa_message_queue; gIter != NULL; gIter = gIter->next) { NULL 220 daemons/controld/controld_control.c g_list_free(fsa_message_queue); fsa_message_queue = NULL; NULL 238 daemons/controld/controld_control.c mainloop_destroy_trigger(fsa_source); fsa_source = NULL; NULL 240 daemons/controld/controld_control.c mainloop_destroy_trigger(config_read); config_read = NULL; NULL 241 daemons/controld/controld_control.c mainloop_destroy_trigger(transition_trigger); transition_trigger = NULL; NULL 247 daemons/controld/controld_control.c te_cleanup_stonith_history_sync(NULL, TRUE); NULL 250 daemons/controld/controld_control.c free(fsa_our_dc_version); fsa_our_dc_version = NULL; NULL 251 daemons/controld/controld_control.c free(fsa_our_uname); fsa_our_uname = NULL; NULL 252 daemons/controld/controld_control.c free(fsa_our_uuid); fsa_our_uuid = NULL; NULL 253 daemons/controld/controld_control.c free(fsa_our_dc); fsa_our_dc = NULL; NULL 255 daemons/controld/controld_control.c free(fsa_cluster_name); fsa_cluster_name = NULL; NULL 257 daemons/controld/controld_control.c free(te_uuid); te_uuid = NULL; NULL 258 daemons/controld/controld_control.c free(failed_stop_offset); failed_stop_offset = NULL; NULL 259 daemons/controld/controld_control.c free(failed_start_offset); failed_start_offset = NULL; NULL 261 daemons/controld/controld_control.c free(max_generation_from); max_generation_from = NULL; NULL 262 daemons/controld/controld_control.c free_xml(max_generation_xml); max_generation_xml = NULL; NULL 274 daemons/controld/controld_control.c crmd_mainloop = NULL; NULL 301 daemons/controld/controld_control.c fsa_cib_conn = NULL; NULL 347 daemons/controld/controld_control.c fsa_source = mainloop_add_trigger(G_PRIORITY_HIGH, crm_fsa_trigger, NULL); NULL 348 daemons/controld/controld_control.c config_read = mainloop_add_trigger(G_PRIORITY_HIGH, crm_read_options, NULL); NULL 349 daemons/controld/controld_control.c transition_trigger = mainloop_add_trigger(G_PRIORITY_LOW, te_graph_trigger, NULL); NULL 356 daemons/controld/controld_control.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 365 daemons/controld/controld_control.c if (pcmk__new_client(c, uid, gid) == NULL) { NULL 381 daemons/controld/controld_control.c if (msg == NULL) { NULL 388 daemons/controld/controld_control.c CRM_ASSERT(client->user != NULL); NULL 393 daemons/controld/controld_control.c if (controld_authorize_ipc_message(msg, client, NULL)) { NULL 433 daemons/controld/controld_control.c mainloop_del_ipc_server(ipcs); ipcs = NULL; NULL 434 daemons/controld/controld_control.c register_fsa_input(C_FSA_INTERNAL, I_TERMINATE, NULL); NULL 445 daemons/controld/controld_control.c .connection_created = NULL, NULL 488 daemons/controld/controld_control.c if (ipcs == NULL) { NULL 490 daemons/controld/controld_control.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 497 daemons/controld/controld_control.c register_fsa_input(msg_data->fsa_cause, I_PENDING, NULL); NULL 509 daemons/controld/controld_control.c register_fsa_input(C_FSA_INTERNAL, I_TERMINATE, NULL); NULL 519 daemons/controld/controld_control.c "dc-version", NULL, "string", NULL, "none", NULL, NULL 525 daemons/controld/controld_control.c "cluster-infrastructure", NULL, "string", NULL, "corosync", NULL, NULL 530 daemons/controld/controld_control.c "cluster-name", NULL, "string", NULL, NULL, NULL, NULL 538 daemons/controld/controld_control.c XML_CONFIG_ATTR_DC_DEADTIME, NULL, "time", NULL 539 daemons/controld/controld_control.c NULL, "20s", pcmk__valid_interval_spec, NULL 545 daemons/controld/controld_control.c XML_CONFIG_ATTR_RECHECK, NULL, "time", NULL 558 daemons/controld/controld_control.c "load-threshold", NULL, "percentage", NULL, NULL 565 daemons/controld/controld_control.c "node-action-limit", NULL, "integer", NULL, NULL 570 daemons/controld/controld_control.c { XML_CONFIG_ATTR_FENCE_REACTION, NULL, "string", NULL, "stop", NULL, NULL 579 daemons/controld/controld_control.c XML_CONFIG_ATTR_ELECTION_FAIL, NULL, "time", NULL, NULL 587 daemons/controld/controld_control.c XML_CONFIG_ATTR_FORCE_QUIT, NULL, "time", NULL, NULL 595 daemons/controld/controld_control.c "join-integration-timeout", "crmd-integration-timeout", "time", NULL, NULL 602 daemons/controld/controld_control.c "join-finalization-timeout", "crmd-finalization-timeout", "time", NULL, NULL 609 daemons/controld/controld_control.c "transition-delay", "crmd-transition-delay", "time", NULL, NULL 618 daemons/controld/controld_control.c "stonith-watchdog-timeout", NULL, "time", NULL, NULL 641 daemons/controld/controld_control.c "stonith-max-attempts", NULL, "integer", NULL, NULL 649 daemons/controld/controld_control.c "no-quorum-policy", NULL, "enum", "stop, freeze, ignore, demote, suicide", NULL 650 daemons/controld/controld_control.c "stop", pcmk__valid_quorum, NULL, NULL NULL 653 daemons/controld/controld_control.c XML_CONFIG_ATTR_SHUTDOWN_LOCK, NULL, "boolean", NULL, NULL 654 daemons/controld/controld_control.c "false", pcmk__valid_boolean, NULL, NULL NULL 683 daemons/controld/controld_control.c const char *value = NULL; NULL 684 daemons/controld/controld_control.c GHashTable *config_hash = NULL; NULL 685 daemons/controld/controld_control.c crm_time_t *now = crm_time_new(NULL); NULL 686 daemons/controld/controld_control.c xmlNode *crmconfig = NULL; NULL 687 daemons/controld/controld_control.c xmlNode *alerts = NULL; NULL 690 daemons/controld/controld_control.c fsa_data_t *msg_data = NULL; NULL 693 daemons/controld/controld_control.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 709 daemons/controld/controld_control.c fsa_data_t *msg_data = NULL; NULL 712 daemons/controld/controld_control.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 718 daemons/controld/controld_control.c pe_unpack_nvpairs(crmconfig, crmconfig, XML_CIB_TAG_PROPSET, NULL, NULL 719 daemons/controld/controld_control.c config_hash, CIB_OPTIONS_FIRST, FALSE, now, NULL); NULL 731 daemons/controld/controld_control.c throttle_set_load_target(strtof(value, NULL) / 100.0); NULL 769 daemons/controld/controld_control.c fsa_cluster_name = NULL; NULL 794 daemons/controld/controld_control.c NULL, cib_xpath | cib_scope_local); NULL 796 daemons/controld/controld_control.c fsa_register_cib_callback(call_id, FALSE, NULL, config_query_callback); NULL 815 daemons/controld/controld_control.c if ((crmd_mainloop == NULL) || !g_main_loop_is_running(crmd_mainloop)) { NULL 822 daemons/controld/controld_control.c register_fsa_input_before(C_SHUTDOWN, I_ERROR, NULL); NULL 827 daemons/controld/controld_control.c register_fsa_input(C_SHUTDOWN, I_SHUTDOWN, NULL); NULL 830 daemons/controld/controld_control.c const char *value = crmd_pref(NULL, XML_CONFIG_ATTR_FORCE_QUIT); NULL 33 daemons/controld/controld_corosync.c const char *from = NULL; NULL 36 daemons/controld/controld_corosync.c if(data == NULL) { NULL 40 daemons/controld/controld_corosync.c crm_node_t *peer = NULL; NULL 43 daemons/controld/controld_corosync.c if (xml == NULL) { NULL 23 daemons/controld/controld_election.c static election_t *fsa_election = NULL; NULL 28 daemons/controld/controld_election.c register_fsa_input(C_FSA_INTERNAL, I_ELECTION_DC, NULL); NULL 55 daemons/controld/controld_election.c fsa_election = NULL; NULL 105 daemons/controld/controld_election.c register_fsa_input(C_FSA_INTERNAL, I_RELEASE_DC, NULL); NULL 108 daemons/controld/controld_election.c register_fsa_input(C_FSA_INTERNAL, I_PENDING, NULL); NULL 140 daemons/controld/controld_election.c if(crm_peer_cache == NULL) { NULL 151 daemons/controld/controld_election.c register_fsa_input(C_FSA_INTERNAL, I_ELECTION, NULL); NULL 155 daemons/controld/controld_election.c update_dc(NULL); NULL 158 daemons/controld/controld_election.c register_fsa_input(C_FSA_INTERNAL, I_RELEASE_DC, NULL); NULL 162 daemons/controld/controld_election.c register_fsa_input(C_FSA_INTERNAL, I_PENDING, NULL); NULL 175 daemons/controld/controld_election.c fsa_data_t *msg_data = NULL; NULL 179 daemons/controld/controld_election.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 191 daemons/controld/controld_election.c xmlNode *cib = NULL; NULL 204 daemons/controld/controld_election.c cib = create_xml_node(NULL, XML_TAG_CIB); NULL 206 daemons/controld/controld_election.c fsa_cib_update(XML_TAG_CIB, cib, cib_quorum_override, rc, NULL); NULL 207 daemons/controld/controld_election.c fsa_register_cib_callback(rc, FALSE, NULL, feature_update_callback); NULL 209 daemons/controld/controld_election.c update_attr_delegate(fsa_cib_conn, cib_none, XML_CIB_TAG_CRMCONFIG, NULL, NULL 210 daemons/controld/controld_election.c NULL, NULL, NULL, XML_ATTR_HAVE_WATCHDOG, NULL 211 daemons/controld/controld_election.c pcmk__btoa(watchdog), FALSE, NULL, NULL); NULL 213 daemons/controld/controld_election.c update_attr_delegate(fsa_cib_conn, cib_none, XML_CIB_TAG_CRMCONFIG, NULL, NULL, NULL, NULL, NULL 214 daemons/controld/controld_election.c "dc-version", PACEMAKER_VERSION "-" BUILD_VERSION, FALSE, NULL, NULL); NULL 216 daemons/controld/controld_election.c update_attr_delegate(fsa_cib_conn, cib_none, XML_CIB_TAG_CRMCONFIG, NULL, NULL, NULL, NULL, NULL 217 daemons/controld/controld_election.c "cluster-infrastructure", cluster_type, FALSE, NULL, NULL); NULL 220 daemons/controld/controld_election.c if (fsa_cluster_name == NULL && is_corosync_cluster()) { NULL 224 daemons/controld/controld_election.c update_attr_delegate(fsa_cib_conn, cib_none, XML_CIB_TAG_CRMCONFIG, NULL, NULL, NULL, NULL, NULL 225 daemons/controld/controld_election.c "cluster-name", cluster_name, FALSE, NULL, NULL); NULL 245 daemons/controld/controld_election.c controld_expect_sched_reply(NULL); NULL 257 daemons/controld/controld_election.c xmlNode *update = NULL; NULL 261 daemons/controld/controld_election.c update = create_node_state_update(node, node_update_expected, NULL, NULL 267 daemons/controld/controld_election.c register_fsa_input(C_FSA_INTERNAL, I_RELEASE_SUCCESS, NULL); NULL 55 daemons/controld/controld_execd.c register_fsa_input(C_FSA_INTERNAL, I_ERROR, NULL); NULL 73 daemons/controld/controld_execd.c if (strstr(key, CRM_META "_") == NULL) { NULL 81 daemons/controld/controld_execd.c if (strstr(key, CRM_META "_") != NULL) { NULL 100 daemons/controld/controld_execd.c for (iter = history->recurring_op_list; iter != NULL; iter = iter->next) { NULL 126 daemons/controld/controld_execd.c for (iter = history->recurring_op_list; iter != NULL; iter = iter->next) { NULL 130 daemons/controld/controld_execd.c history->recurring_op_list = NULL; NULL 164 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; NULL 169 daemons/controld/controld_execd.c NULL, crmd_cib_smart_opt()); NULL 180 daemons/controld/controld_execd.c if (entry == NULL && rsc) { NULL 191 daemons/controld/controld_execd.c entry->rsc.provider = NULL; NULL 194 daemons/controld/controld_execd.c } else if (entry == NULL) { NULL 229 daemons/controld/controld_execd.c "reload", CRMD_ACTION_STATUS, NULL)) { NULL 289 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return); NULL 292 daemons/controld/controld_execd.c if (op->remote_nodename == NULL) { NULL 304 daemons/controld/controld_execd.c CRM_ASSERT(lrm_state != NULL); NULL 305 daemons/controld/controld_execd.c process_lrm_event(lrm_state, op, NULL, NULL); NULL 326 daemons/controld/controld_execd.c lrm_state_t *lrm_state = NULL; NULL 328 daemons/controld/controld_execd.c if(fsa_our_uname == NULL) { NULL 332 daemons/controld/controld_execd.c if (lrm_state == NULL) { NULL 333 daemons/controld/controld_execd.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 375 daemons/controld/controld_execd.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 397 daemons/controld/controld_execd.c const char *key = NULL; NULL 398 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; NULL 399 daemons/controld/controld_execd.c active_op_t *pending = NULL; NULL 424 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&pending)) { NULL 449 daemons/controld/controld_execd.c if (lrm_state->resource_history == NULL) { NULL 460 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&gIter, NULL, (gpointer*)&entry)) { NULL 499 daemons/controld/controld_execd.c char *list = NULL; NULL 519 daemons/controld/controld_execd.c for (GList *iter = metadata->ra_params; iter != NULL; iter = iter->next) { NULL 538 daemons/controld/controld_execd.c if (list == NULL) { NULL 551 daemons/controld/controld_execd.c if (v != NULL) { NULL 558 daemons/controld/controld_execd.c if (list != NULL) { NULL 569 daemons/controld/controld_execd.c char *list = NULL; NULL 570 daemons/controld/controld_execd.c char *digest = NULL; NULL 571 daemons/controld/controld_execd.c xmlNode *restart = NULL; NULL 573 daemons/controld/controld_execd.c CRM_LOG_ASSERT(op->params != NULL); NULL 581 daemons/controld/controld_execd.c restart = create_xml_node(NULL, XML_TAG_PARAMS); NULL 614 daemons/controld/controld_execd.c char *list = NULL; NULL 615 daemons/controld/controld_execd.c char *digest = NULL; NULL 616 daemons/controld/controld_execd.c xmlNode *secure = NULL; NULL 618 daemons/controld/controld_execd.c CRM_LOG_ASSERT(op->params != NULL); NULL 625 daemons/controld/controld_execd.c secure = create_xml_node(NULL, XML_TAG_PARAMS); NULL 628 daemons/controld/controld_execd.c if (list != NULL) { NULL 649 daemons/controld/controld_execd.c xmlNode *xml_op = NULL; NULL 650 daemons/controld/controld_execd.c struct ra_metadata_s *metadata = NULL; NULL 651 daemons/controld/controld_execd.c const char *caller_version = NULL; NULL 652 daemons/controld/controld_execd.c lrm_state_t *lrm_state = NULL; NULL 654 daemons/controld/controld_execd.c if (op == NULL) { NULL 667 daemons/controld/controld_execd.c CRM_LOG_ASSERT(caller_version != NULL); NULL 669 daemons/controld/controld_execd.c if(caller_version == NULL) { NULL 676 daemons/controld/controld_execd.c if (xml_op == NULL) { NULL 680 daemons/controld/controld_execd.c if ((rsc == NULL) || (op->params == NULL) NULL 689 daemons/controld/controld_execd.c if (lrm_state == NULL) { NULL 697 daemons/controld/controld_execd.c if (metadata == NULL) { NULL 710 daemons/controld/controld_execd.c char *metadata_str = NULL; NULL 725 daemons/controld/controld_execd.c if (metadata == NULL) { NULL 746 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; NULL 749 daemons/controld/controld_execd.c if (entry == NULL || entry->last == NULL) { NULL 779 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; NULL 782 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&iter, NULL, (void **)&entry)) { NULL 784 daemons/controld/controld_execd.c GList *gIter = NULL; NULL 803 daemons/controld/controld_execd.c for (gIter = entry->recurring_op_list; gIter != NULL; gIter = gIter->next) { NULL 815 daemons/controld/controld_execd.c xmlNode *xml_state = NULL; NULL 816 daemons/controld/controld_execd.c xmlNode *xml_data = NULL; NULL 817 daemons/controld/controld_execd.c xmlNode *rsc_list = NULL; NULL 818 daemons/controld/controld_execd.c crm_node_t *peer = NULL; NULL 821 daemons/controld/controld_execd.c CRM_CHECK(peer != NULL, return NULL); NULL 823 daemons/controld/controld_execd.c xml_state = create_node_state_update(peer, update_flags, NULL, NULL 825 daemons/controld/controld_execd.c if (xml_state == NULL) { NULL 826 daemons/controld/controld_execd.c return NULL; NULL 848 daemons/controld/controld_execd.c return NULL; NULL 895 daemons/controld/controld_execd.c char *now_s = crm_strdup_printf("%lld", (long long) time(NULL)); NULL 899 daemons/controld/controld_execd.c NULL, NULL, NULL, NULL, "last-lrm-refresh", now_s, NULL 900 daemons/controld/controld_execd.c FALSE, NULL, NULL); NULL 908 daemons/controld/controld_execd.c lrmd_event_data_t *op = NULL; NULL 917 daemons/controld/controld_execd.c controld_ack_event_directly(from_host, from_sys, NULL, op, rsc_id); NULL 955 daemons/controld/controld_execd.c CRM_CHECK(rsc_id != NULL, return); NULL 991 daemons/controld/controld_execd.c xmlNode *xml_top = NULL; NULL 993 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return); NULL 995 daemons/controld/controld_execd.c xml_top = create_xml_node(NULL, XML_LRM_TAG_RSC_OP); NULL 1051 daemons/controld/controld_execd.c char *op_xpath = NULL; NULL 1053 daemons/controld/controld_execd.c CRM_CHECK((rsc_id != NULL) && (key != NULL), return); NULL 1071 daemons/controld/controld_execd.c fsa_cib_conn->cmds->remove(fsa_cib_conn, op_xpath, NULL, NULL 1079 daemons/controld/controld_execd.c if (entry == NULL) { NULL 1082 daemons/controld/controld_execd.c if (op == NULL) { NULL 1106 daemons/controld/controld_execd.c char *op_key = NULL; NULL 1107 daemons/controld/controld_execd.c char *orig_op_key = NULL; NULL 1108 daemons/controld/controld_execd.c lrm_state_t *lrm_state = NULL; NULL 1111 daemons/controld/controld_execd.c if (lrm_state == NULL) { NULL 1131 daemons/controld/controld_execd.c entry->failed = NULL; NULL 1141 daemons/controld/controld_execd.c char *local_key = NULL; NULL 1142 daemons/controld/controld_execd.c active_op_t *pending = NULL; NULL 1145 daemons/controld/controld_execd.c CRM_CHECK(rsc_id != NULL, return FALSE); NULL 1146 daemons/controld/controld_execd.c if (key == NULL) { NULL 1222 daemons/controld/controld_execd.c CRM_CHECK(rsc != NULL, return FALSE); NULL 1223 daemons/controld/controld_execd.c CRM_CHECK(key != NULL, return FALSE); NULL 1279 daemons/controld/controld_execd.c if ((*rsc_info == NULL) && do_create) { NULL 1289 daemons/controld/controld_execd.c fsa_data_t *msg_data = NULL; NULL 1300 daemons/controld/controld_execd.c register_fsa_error(C_FSA_INTERNAL, I_FAIL, NULL); NULL 1334 daemons/controld/controld_execd.c struct pending_deletion_op_s *op = NULL; NULL 1356 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; NULL 1380 daemons/controld/controld_execd.c op->t_run = time(NULL); NULL 1392 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; NULL 1396 daemons/controld/controld_execd.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&entry)) { NULL 1402 daemons/controld/controld_execd.c if (is_remote_lrmd_ra(NULL, NULL, entry->id)) { NULL 1413 daemons/controld/controld_execd.c user_name, NULL, unregister); NULL 1423 daemons/controld/controld_execd.c update_attrd(lrm_state->node_name, CRM_OP_PROBED, NULL, user_name, is_remote_node); NULL 1443 daemons/controld/controld_execd.c lrmd_event_data_t *op = NULL; NULL 1448 daemons/controld/controld_execd.c if ((xml_rsc == NULL) || (ID(xml_rsc) == NULL)) { NULL 1455 daemons/controld/controld_execd.c } else if(operation == NULL) { NULL 1474 daemons/controld/controld_execd.c process_lrm_event(lrm_state, op, NULL, action); NULL 1489 daemons/controld/controld_execd.c const char *target = NULL; NULL 1494 daemons/controld/controld_execd.c if (target == NULL) { NULL 1504 daemons/controld/controld_execd.c lrmd_event_data_t *op = NULL; NULL 1505 daemons/controld/controld_execd.c lrmd_rsc_info_t *rsc = NULL; NULL 1508 daemons/controld/controld_execd.c CRM_CHECK(xml_rsc != NULL, return); NULL 1522 daemons/controld/controld_execd.c op->user_data = NULL; NULL 1528 daemons/controld/controld_execd.c controld_ack_event_directly(from_host, from_sys, NULL, op, ID(xml_rsc)); NULL 1537 daemons/controld/controld_execd.c process_lrm_event(lrm_state, op, NULL, xml); NULL 1547 daemons/controld/controld_execd.c controld_ack_event_directly(from_host, from_sys, NULL, op, ID(xml_rsc)); NULL 1599 daemons/controld/controld_execd.c if (!pcmk__strcase_any_of(from_sys, CRM_SYSTEM_PENGINE, CRM_SYSTEM_TENGINE, NULL)) { NULL 1601 daemons/controld/controld_execd.c xmlNode *reply = create_request(CRM_OP_INVOKE_LRM, NULL, from_host, NULL 1617 daemons/controld/controld_execd.c char *op_key = NULL; NULL 1618 daemons/controld/controld_execd.c char *meta_key = NULL; NULL 1620 daemons/controld/controld_execd.c const char *call_id = NULL; NULL 1621 daemons/controld/controld_execd.c const char *op_task = NULL; NULL 1626 daemons/controld/controld_execd.c CRM_CHECK(params != NULL, return FALSE); NULL 1631 daemons/controld/controld_execd.c CRM_CHECK(op_task != NULL, return FALSE); NULL 1655 daemons/controld/controld_execd.c in_progress = cancel_op(lrm_state, rsc->id, NULL, call, TRUE); NULL 1659 daemons/controld/controld_execd.c if (!in_progress || is_remote_lrmd_ra(NULL, NULL, rsc->id)) { NULL 1662 daemons/controld/controld_execd.c if (is_remote_lrmd_ra(NULL, NULL, rsc->id) == FALSE) { NULL 1665 daemons/controld/controld_execd.c erase_lrm_history_by_id(lrm_state, rsc->id, op_key, NULL, call); NULL 1708 daemons/controld/controld_execd.c lrmd_event_data_t *op = NULL; NULL 1718 daemons/controld/controld_execd.c controld_ack_event_directly(from_host, from_sys, NULL, op, rsc->id); NULL 1724 daemons/controld/controld_execd.c if (crm_rsc_delete && is_remote_lrmd_ra(NULL, NULL, rsc->id)) { NULL 1728 daemons/controld/controld_execd.c delete_resource(lrm_state, rsc->id, rsc, NULL, from_sys, NULL 1739 daemons/controld/controld_execd.c lrm_state_t *lrm_state = NULL; NULL 1740 daemons/controld/controld_execd.c const char *crm_op = NULL; NULL 1741 daemons/controld/controld_execd.c const char *from_sys = NULL; NULL 1742 daemons/controld/controld_execd.c const char *from_host = NULL; NULL 1743 daemons/controld/controld_execd.c const char *operation = NULL; NULL 1745 daemons/controld/controld_execd.c const char *user_name = NULL; NULL 1746 daemons/controld/controld_execd.c const char *target_node = NULL; NULL 1755 daemons/controld/controld_execd.c if ((lrm_state == NULL) && is_remote_node) { NULL 1758 daemons/controld/controld_execd.c synthesize_lrmd_failure(NULL, input->xml, PCMK_LRM_OP_NOT_CONNECTED, NULL 1762 daemons/controld/controld_execd.c CRM_ASSERT(lrm_state != NULL); NULL 1765 daemons/controld/controld_execd.c user_name = pcmk__update_acl_user(input->msg, F_CRM_USER, NULL); NULL 1792 daemons/controld/controld_execd.c } else if (input->xml != NULL) { NULL 1811 daemons/controld/controld_execd.c } else if (operation != NULL) { NULL 1812 daemons/controld/controld_execd.c lrmd_rsc_info_t *rsc = NULL; NULL 1836 daemons/controld/controld_execd.c delete_rsc_entry(lrm_state, input, ID(xml_rsc), NULL, pcmk_ok, NULL 1876 daemons/controld/controld_execd.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 1892 daemons/controld/controld_execd.c xmlNode *versioned_attrs = NULL; NULL 1893 daemons/controld/controld_execd.c GHashTable *hash = NULL; NULL 1894 daemons/controld/controld_execd.c char *key = NULL; NULL 1895 daemons/controld/controld_execd.c char *value = NULL; NULL 1939 daemons/controld/controld_execd.c lrmd_event_data_t *op = NULL; NULL 1940 daemons/controld/controld_execd.c const char *op_delay = NULL; NULL 1941 daemons/controld/controld_execd.c const char *op_timeout = NULL; NULL 1942 daemons/controld/controld_execd.c GHashTable *params = NULL; NULL 1944 daemons/controld/controld_execd.c xmlNode *primitive = NULL; NULL 1945 daemons/controld/controld_execd.c const char *class = NULL; NULL 1947 daemons/controld/controld_execd.c const char *transition = NULL; NULL 1958 daemons/controld/controld_execd.c if (rsc_op == NULL) { NULL 1960 daemons/controld/controld_execd.c op->user_data = NULL; NULL 1998 daemons/controld/controld_execd.c if (op_timeout != NULL) { NULL 2004 daemons/controld/controld_execd.c if (lrm_state && !is_remote_lrmd_ra(NULL, NULL, rsc_id) NULL 2006 daemons/controld/controld_execd.c NULL)) { NULL 2015 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; NULL 2033 daemons/controld/controld_execd.c params = NULL; NULL 2046 daemons/controld/controld_execd.c CRM_CHECK(transition != NULL, return op); NULL 2051 daemons/controld/controld_execd.c if (pcmk__strcase_any_of(operation, CRMD_ACTION_START, CRMD_ACTION_STOP, NULL)) { NULL 2082 daemons/controld/controld_execd.c xmlNode *reply = NULL; NULL 2084 daemons/controld/controld_execd.c crm_node_t *peer = NULL; NULL 2086 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return); NULL 2087 daemons/controld/controld_execd.c if (op->rsc_id == NULL) { NULL 2088 daemons/controld/controld_execd.c CRM_ASSERT(rsc_id != NULL); NULL 2091 daemons/controld/controld_execd.c if (to_sys == NULL) { NULL 2096 daemons/controld/controld_execd.c update = create_node_state_update(peer, node_update_none, NULL, NULL 2107 daemons/controld/controld_execd.c reply = create_request(CRM_OP_INVOKE_LRM, update, to_host, to_sys, CRM_SYSTEM_LRMD, NULL); NULL 2130 daemons/controld/controld_execd.c for (state_entry = lrm_state_list; state_entry != NULL; state_entry = state_entry->next) { NULL 2140 daemons/controld/controld_execd.c g_list_free(lrm_state_list); lrm_state_list = NULL; NULL 2185 daemons/controld/controld_execd.c const char *record_pending = NULL; NULL 2187 daemons/controld/controld_execd.c CRM_CHECK(node_name != NULL, return); NULL 2188 daemons/controld/controld_execd.c CRM_CHECK(rsc != NULL, return); NULL 2189 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return); NULL 2192 daemons/controld/controld_execd.c if ((op->op_type == NULL) || (op->params == NULL) NULL 2207 daemons/controld/controld_execd.c op->t_run = time(NULL); NULL 2222 daemons/controld/controld_execd.c char *op_id = NULL; NULL 2223 daemons/controld/controld_execd.c lrmd_event_data_t *op = NULL; NULL 2224 daemons/controld/controld_execd.c lrmd_key_value_t *params = NULL; NULL 2225 daemons/controld/controld_execd.c fsa_data_t *msg_data = NULL; NULL 2226 daemons/controld/controld_execd.c const char *transition = NULL; NULL 2230 daemons/controld/controld_execd.c CRM_CHECK(rsc != NULL, return); NULL 2231 daemons/controld/controld_execd.c CRM_CHECK(operation != NULL, return); NULL 2233 daemons/controld/controld_execd.c if (msg != NULL) { NULL 2235 daemons/controld/controld_execd.c if (transition == NULL) { NULL 2241 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return); NULL 2243 daemons/controld/controld_execd.c if (is_remote_lrmd_ra(NULL, NULL, rsc->id) NULL 2286 daemons/controld/controld_execd.c register_fsa_input(C_SHUTDOWN, I_SHUTDOWN, NULL); NULL 2303 daemons/controld/controld_execd.c controld_ack_event_directly(NULL, NULL, rsc, op, rsc->id); NULL 2319 daemons/controld/controld_execd.c char *key = NULL; NULL 2320 daemons/controld/controld_execd.c char *value = NULL; NULL 2335 daemons/controld/controld_execd.c register_fsa_error(C_FSA_INTERNAL, I_FAIL, NULL); NULL 2341 daemons/controld/controld_execd.c process_lrm_event(lrm_state, op, NULL, NULL); NULL 2348 daemons/controld/controld_execd.c active_op_t *pending = NULL; NULL 2358 daemons/controld/controld_execd.c pending->start_time = time(NULL); NULL 2359 daemons/controld/controld_execd.c pending->user_data = op->user_data? strdup(op->user_data) : NULL; NULL 2371 daemons/controld/controld_execd.c decode_transition_key(op->user_data, NULL, NULL, NULL, &target_rc); NULL 2374 daemons/controld/controld_execd.c controld_ack_event_directly(NULL, NULL, rsc, op, rsc->id); NULL 2378 daemons/controld/controld_execd.c op->params = NULL; NULL 2439 daemons/controld/controld_execd.c xmlNode *update, *iter = NULL; NULL 2441 daemons/controld/controld_execd.c const char *uuid = NULL; NULL 2443 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return 0); NULL 2458 daemons/controld/controld_execd.c CRM_LOG_ASSERT(uuid != NULL); NULL 2459 daemons/controld/controld_execd.c if(uuid == NULL) { NULL 2478 daemons/controld/controld_execd.c const char *container = NULL; NULL 2504 daemons/controld/controld_execd.c controld_ack_event_directly(NULL, NULL, rsc, op, op->rsc_id); NULL 2527 daemons/controld/controld_execd.c fsa_cib_update(XML_CIB_TAG_STATUS, update, call_opt, rc, NULL); NULL 2536 daemons/controld/controld_execd.c fsa_register_cib_callback(rc, FALSE, NULL, cib_rsc_callback); NULL 2554 daemons/controld/controld_execd.c char *pch = NULL; NULL 2555 daemons/controld/controld_execd.c char *ret = NULL; NULL 2559 daemons/controld/controld_execd.c return NULL; NULL 2564 daemons/controld/controld_execd.c while (pch != NULL) { NULL 2580 daemons/controld/controld_execd.c rsc_history_t *entry = NULL; NULL 2582 daemons/controld/controld_execd.c CRM_CHECK(lrm_state != NULL, return FALSE); NULL 2583 daemons/controld/controld_execd.c CRM_CHECK(rsc_id != NULL, return FALSE); NULL 2584 daemons/controld/controld_execd.c CRM_CHECK(op_type != NULL, return FALSE); NULL 2587 daemons/controld/controld_execd.c if (entry == NULL || entry->failed == NULL) { NULL 2604 daemons/controld/controld_execd.c char *op_id = NULL; NULL 2605 daemons/controld/controld_execd.c char *op_key = NULL; NULL 2611 daemons/controld/controld_execd.c lrmd_rsc_info_t *rsc = NULL; NULL 2612 daemons/controld/controld_execd.c const char *node_name = NULL; NULL 2614 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return); NULL 2615 daemons/controld/controld_execd.c CRM_CHECK(op->rsc_id != NULL, return); NULL 2640 daemons/controld/controld_execd.c if ((rsc == NULL) && action_xml) { NULL 2665 daemons/controld/controld_execd.c if(pending == NULL) { NULL 2726 daemons/controld/controld_execd.c } else if (pending == NULL) { NULL 2731 daemons/controld/controld_execd.c } else if (op->user_data == NULL) { NULL 2777 daemons/controld/controld_execd.c controld_ack_event_directly(NULL, NULL, NULL, op, op->rsc_id); NULL 2799 daemons/controld/controld_execd.c if (node_name == NULL) { NULL 2868 daemons/controld/controld_execd.c delete_rsc_entry(lrm_state, NULL, op->rsc_id, NULL, pcmk_ok, NULL); NULL 21 daemons/controld/controld_execd_state.c GHashTable *lrm_state_table = NULL; NULL 85 daemons/controld/controld_execd_state.c process_lrm_event(lrm_state, &event, op, NULL); NULL 92 daemons/controld/controld_execd_state.c if (lrm_state == NULL || fsa_our_uname == NULL) { NULL 107 daemons/controld/controld_execd_state.c lrm_state_t *state = NULL; NULL 111 daemons/controld/controld_execd_state.c return NULL; NULL 116 daemons/controld/controld_execd_state.c return NULL; NULL 122 daemons/controld/controld_execd_state.c g_str_equal, NULL, free_rsc_info); NULL 131 daemons/controld/controld_execd_state.c g_str_equal, NULL, history_free); NULL 231 daemons/controld/controld_execd_state.c g_hash_table_new_full(crm_strcase_hash, crm_strcase_equal, NULL, internal_lrm_state_destroy); NULL 237 daemons/controld/controld_execd_state.c g_hash_table_new_full(crm_strcase_hash, crm_strcase_equal, NULL, remote_proxy_free); NULL 240 daemons/controld/controld_execd_state.c lrm_state_table = NULL; NULL 252 daemons/controld/controld_execd_state.c g_hash_table_destroy(lrm_state_table); lrm_state_table = NULL; NULL 256 daemons/controld/controld_execd_state.c g_hash_table_destroy(proxy_table); proxy_table = NULL; NULL 264 daemons/controld/controld_execd_state.c return NULL; NULL 292 daemons/controld/controld_execd_state.c remote_proxy_t *proxy = NULL; NULL 294 daemons/controld/controld_execd_state.c CRM_CHECK(proxy_table != NULL, return NULL); NULL 298 daemons/controld/controld_execd_state.c while (g_hash_table_iter_next(&gIter, NULL, (gpointer *) &proxy)) { NULL 305 daemons/controld/controld_execd_state.c return NULL; NULL 311 daemons/controld/controld_execd_state.c remote_proxy_t *proxy = NULL; NULL 313 daemons/controld/controld_execd_state.c CRM_CHECK(proxy_table != NULL, return); NULL 315 daemons/controld/controld_execd_state.c while ((proxy = find_connected_proxy_by_node(node_name)) != NULL) { NULL 357 daemons/controld/controld_execd_state.c lrm_state->conn = NULL; NULL 389 daemons/controld/controld_execd_state.c ret = ((lrmd_t *) lrm_state->conn)->cmds->connect(lrm_state->conn, CRM_SYSTEM_CRMD, NULL); NULL 422 daemons/controld/controld_execd_state.c lrm_state_t *lrm_state = NULL; NULL 441 daemons/controld/controld_execd_state.c if (controld_authorize_ipc_message(msg, NULL, session)) { NULL 459 daemons/controld/controld_execd_state.c crm_time_t *now = crm_time_new(NULL); NULL 464 daemons/controld/controld_execd_state.c pe_unpack_nvpairs(output, output, XML_CIB_TAG_PROPSET, NULL, NULL 465 daemons/controld/controld_execd_state.c config_hash, CIB_OPTIONS_FIRST, FALSE, now, NULL); NULL 488 daemons/controld/controld_execd_state.c if (proxy != NULL) { NULL 490 daemons/controld/controld_execd_state.c int rc = fsa_cib_conn->cmds->query(fsa_cib_conn, XML_CIB_TAG_CRMCONFIG, NULL, cib_scope_local); NULL 492 daemons/controld/controld_execd_state.c "remote_config_check", remote_config_check, NULL); NULL 499 daemons/controld/controld_execd_state.c char *now_s = NULL; NULL 500 daemons/controld/controld_execd_state.c time_t now = time(NULL); NULL 507 daemons/controld/controld_execd_state.c update_attrd(lrm_state->node_name, XML_CIB_ATTR_SHUTDOWN, now_s, NULL, TRUE); NULL 529 daemons/controld/controld_execd_state.c CRM_CHECK(request != NULL, return); NULL 546 daemons/controld/controld_execd_state.c && (crm_element_value(request, XML_ATTR_UNAME) == NULL)) { NULL 556 daemons/controld/controld_execd_state.c xmlNode *op_reply = create_xml_node(NULL, "ack"); NULL 608 daemons/controld/controld_execd_state.c lrmd_key_value_t *params = NULL; NULL 645 daemons/controld/controld_execd_state.c if (is_remote_lrmd_ra(NULL, NULL, rsc_id)) { NULL 655 daemons/controld/controld_execd_state.c lrmd_rsc_info_t *rsc = NULL; NULL 658 daemons/controld/controld_execd_state.c return NULL; NULL 660 daemons/controld/controld_execd_state.c if (is_remote_lrmd_ra(NULL, NULL, rsc_id)) { NULL 665 daemons/controld/controld_execd_state.c if (rsc == NULL) { NULL 668 daemons/controld/controld_execd_state.c if (rsc == NULL) { NULL 669 daemons/controld/controld_execd_state.c return NULL; NULL 692 daemons/controld/controld_execd_state.c if (is_remote_lrmd_ra(NULL, NULL, rsc_id)) { NULL 715 daemons/controld/controld_execd_state.c if (conn == NULL) { NULL 719 daemons/controld/controld_execd_state.c if (is_remote_lrmd_ra(agent, provider, NULL)) { NULL 738 daemons/controld/controld_execd_state.c if (is_remote_lrmd_ra(NULL, NULL, rsc_id)) { NULL 757 daemons/controld/controld_execd_state.c static GListPtr crmd_alert_list = NULL; NULL 771 daemons/controld/controld_execd_state.c if (crmd_alert_list == NULL) { NULL 776 daemons/controld/controld_execd_state.c if (lrm_state == NULL) { NULL 790 daemons/controld/controld_execd_state.c if (crmd_alert_list == NULL) { NULL 795 daemons/controld/controld_execd_state.c if (lrm_state == NULL) { NULL 815 daemons/controld/controld_execd_state.c if (crmd_alert_list == NULL) { NULL 820 daemons/controld/controld_execd_state.c if (lrm_state == NULL) { NULL 35 daemons/controld/controld_fencing.c static GHashTable *stonith_failures = NULL; NULL 44 daemons/controld/controld_fencing.c stonith_max_attempts = (unsigned long int) crm_parse_ll(value, NULL); NULL 67 daemons/controld/controld_fencing.c const char *key = NULL; NULL 68 daemons/controld/controld_fencing.c struct st_fail_rec *value = NULL; NULL 70 daemons/controld/controld_fencing.c if (stonith_failures == NULL) { NULL 74 daemons/controld/controld_fencing.c if (target == NULL) { NULL 86 daemons/controld/controld_fencing.c if ((value != NULL) && (value->count >= stonith_max_attempts)) { NULL 107 daemons/controld/controld_fencing.c if (stonith_failures == NULL) { NULL 112 daemons/controld/controld_fencing.c struct st_fail_rec *rec = NULL; NULL 120 daemons/controld/controld_fencing.c const char *key = NULL; NULL 121 daemons/controld/controld_fencing.c struct st_fail_rec *rec = NULL; NULL 134 daemons/controld/controld_fencing.c struct st_fail_rec *rec = NULL; NULL 136 daemons/controld/controld_fencing.c if (stonith_failures == NULL) { NULL 145 daemons/controld/controld_fencing.c if(rec == NULL) { NULL 165 daemons/controld/controld_fencing.c abort_transition(INFINITY, tg_shutdown, "CIB update failed", NULL); NULL 176 daemons/controld/controld_fencing.c crm_node_t *peer = NULL; NULL 185 daemons/controld/controld_fencing.c xmlNode *node_state = NULL; NULL 187 daemons/controld/controld_fencing.c CRM_CHECK(target != NULL, return); NULL 188 daemons/controld/controld_fencing.c CRM_CHECK(uuid != NULL, return); NULL 193 daemons/controld/controld_fencing.c CRM_CHECK(peer != NULL, return); NULL 195 daemons/controld/controld_fencing.c if (peer->state == NULL) { NULL 203 daemons/controld/controld_fencing.c if (peer->uuid == NULL) { NULL 211 daemons/controld/controld_fencing.c node_state = create_node_state_update(peer, flags, NULL, __func__); NULL 215 daemons/controld/controld_fencing.c time_t now = time(NULL); NULL 270 daemons/controld/controld_fencing.c static GListPtr stonith_cleanup_list = NULL; NULL 294 daemons/controld/controld_fencing.c while (iter != NULL) { NULL 315 daemons/controld/controld_fencing.c GListPtr iter = NULL; NULL 317 daemons/controld/controld_fencing.c for (iter = stonith_cleanup_list; iter != NULL; iter = iter->next) { NULL 324 daemons/controld/controld_fencing.c stonith_cleanup_list = NULL; NULL 337 daemons/controld/controld_fencing.c for (iter = stonith_cleanup_list; iter != NULL; iter = iter->next) { NULL 343 daemons/controld/controld_fencing.c send_stonith_update(NULL, target, uuid); NULL 347 daemons/controld/controld_fencing.c stonith_cleanup_list = NULL; NULL 358 daemons/controld/controld_fencing.c static stonith_t *stonith_api = NULL; NULL 359 daemons/controld/controld_fencing.c static crm_trigger_t *stonith_reconnect = NULL; NULL 360 daemons/controld/controld_fencing.c static char *te_client_id = NULL; NULL 365 daemons/controld/controld_fencing.c GListPtr lpc = NULL; NULL 366 daemons/controld/controld_fencing.c const char *task = NULL; NULL 367 daemons/controld/controld_fencing.c xmlNode *last_action = NULL; NULL 369 daemons/controld/controld_fencing.c if (graph == NULL) { NULL 373 daemons/controld/controld_fencing.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { NULL 374 daemons/controld/controld_fencing.c GListPtr lpc2 = NULL; NULL 381 daemons/controld/controld_fencing.c for (lpc2 = synapse->actions; lpc2 != NULL; lpc2 = lpc2->next) { NULL 399 daemons/controld/controld_fencing.c if (last_action != NULL) { NULL 401 daemons/controld/controld_fencing.c abort_for_stonith_failure(tg_restart, NULL, last_action); NULL 442 daemons/controld/controld_fencing.c if (te_client_id == NULL) { NULL 447 daemons/controld/controld_fencing.c if (st_event == NULL) { NULL 515 daemons/controld/controld_fencing.c const char *uuid = NULL; NULL 520 daemons/controld/controld_fencing.c if (peer == NULL) { NULL 529 daemons/controld/controld_fencing.c send_stonith_update(NULL, st_event->target, uuid); NULL 546 daemons/controld/controld_fencing.c abort_transition(INFINITY, tg_restart, "External Fencing Operation", NULL); NULL 561 daemons/controld/controld_fencing.c send_stonith_update(NULL, st_event->target, uuid); NULL 593 daemons/controld/controld_fencing.c if (stonith_api == NULL) { NULL 595 daemons/controld/controld_fencing.c if (stonith_api == NULL) { NULL 606 daemons/controld/controld_fencing.c if (user_data == NULL) { NULL 615 daemons/controld/controld_fencing.c rc = stonith_api->cmds->connect(stonith_api, crm_system_name, NULL); NULL 653 daemons/controld/controld_fencing.c if (stonith_reconnect == NULL) { NULL 679 daemons/controld/controld_fencing.c stonith_api = NULL; NULL 683 daemons/controld/controld_fencing.c stonith_reconnect = NULL; NULL 687 daemons/controld/controld_fencing.c te_client_id = NULL; NULL 696 daemons/controld/controld_fencing.c stonith_history_t *history = NULL; NULL 701 daemons/controld/controld_fencing.c NULL, &history, 5); NULL 713 daemons/controld/controld_fencing.c char *uuid = NULL; NULL 716 daemons/controld/controld_fencing.c crm_action_t *action = NULL; NULL 721 daemons/controld/controld_fencing.c CRM_CHECK(userdata != NULL, return); NULL 734 daemons/controld/controld_fencing.c CRM_CHECK(decode_transition_key(userdata, &uuid, &transition_id, &stonith_id, NULL), NULL 744 daemons/controld/controld_fencing.c if (action == NULL) { NULL 757 daemons/controld/controld_fencing.c te_action_confirmed(action, NULL); NULL 759 daemons/controld/controld_fencing.c const char *value = NULL; NULL 760 daemons/controld/controld_fencing.c char *now = crm_ttoa(time(NULL)); NULL 762 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_UNFENCED, now, NULL, FALSE); NULL 766 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_DIGESTS_ALL, value, NULL, FALSE); NULL 769 daemons/controld/controld_fencing.c update_attrd(target, CRM_ATTR_DIGESTS_SECURE, value, NULL, FALSE); NULL 799 daemons/controld/controld_fencing.c abort_for_stonith_failure(abort_action, target, NULL); NULL 829 daemons/controld/controld_fencing.c const char *id = NULL; NULL 830 daemons/controld/controld_fencing.c const char *uuid = NULL; NULL 831 daemons/controld/controld_fencing.c const char *target = NULL; NULL 832 daemons/controld/controld_fencing.c const char *type = NULL; NULL 833 daemons/controld/controld_fencing.c char *transition_key = NULL; NULL 834 daemons/controld/controld_fencing.c const char *priority_delay = NULL; NULL 842 daemons/controld/controld_fencing.c CRM_CHECK(id != NULL, invalid_action = TRUE); NULL 843 daemons/controld/controld_fencing.c CRM_CHECK(uuid != NULL, invalid_action = TRUE); NULL 844 daemons/controld/controld_fencing.c CRM_CHECK(type != NULL, invalid_action = TRUE); NULL 845 daemons/controld/controld_fencing.c CRM_CHECK(target != NULL, invalid_action = TRUE); NULL 861 daemons/controld/controld_fencing.c te_connect_stonith(NULL); NULL 884 daemons/controld/controld_fencing.c static crm_trigger_t *stonith_history_sync_trigger = NULL; NULL 885 daemons/controld/controld_fencing.c static mainloop_timer_t *stonith_history_sync_timer_short = NULL; NULL 886 daemons/controld/controld_fencing.c static mainloop_timer_t *stonith_history_sync_timer_long = NULL; NULL 893 daemons/controld/controld_fencing.c stonith_history_sync_timer_short = NULL; NULL 895 daemons/controld/controld_fencing.c stonith_history_sync_timer_long = NULL; NULL 940 daemons/controld/controld_fencing.c if (stonith_history_sync_trigger == NULL) { NULL 943 daemons/controld/controld_fencing.c do_stonith_history_sync, NULL); NULL 947 daemons/controld/controld_fencing.c if(stonith_history_sync_timer_long == NULL) { NULL 951 daemons/controld/controld_fencing.c NULL); NULL 956 daemons/controld/controld_fencing.c if(stonith_history_sync_timer_short == NULL) { NULL 960 daemons/controld/controld_fencing.c NULL); NULL 29 daemons/controld/controld_fsa.c char *fsa_our_dc = NULL; NULL 30 daemons/controld/controld_fsa.c cib_t *fsa_cib_conn = NULL; NULL 31 daemons/controld/controld_fsa.c char *fsa_our_dc_version = NULL; NULL 33 daemons/controld/controld_fsa.c char *fsa_our_uuid = NULL; NULL 34 daemons/controld/controld_fsa.c char *fsa_our_uname = NULL; NULL 36 daemons/controld/controld_fsa.c char *fsa_cluster_name = NULL; NULL 161 daemons/controld/controld_fsa.c fsa_data_t *fsa_data = NULL; NULL 172 daemons/controld/controld_fsa.c if ((fsa_message_queue == NULL) && (fsa_actions != A_NOTHING)) { NULL 180 daemons/controld/controld_fsa.c fsa_data = NULL; NULL 182 daemons/controld/controld_fsa.c while ((fsa_message_queue != NULL) && !do_fsa_stall) { NULL 186 daemons/controld/controld_fsa.c if(fsa_data == NULL) { NULL 247 daemons/controld/controld_fsa.c fsa_data = NULL; NULL 250 daemons/controld/controld_fsa.c if ((fsa_message_queue != NULL) || (fsa_actions != A_NOTHING) NULL 280 daemons/controld/controld_fsa.c CRM_CHECK(fsa_data != NULL, return); NULL 442 daemons/controld/controld_fsa.c register_fsa_error_adv(C_FSA_INTERNAL, I_ERROR, fsa_data, NULL, NULL 456 daemons/controld/controld_fsa.c } else if (stored_msg->data == NULL) { NULL 494 daemons/controld/controld_fsa.c register_fsa_input(C_FSA_INTERNAL, I_ELECTION, NULL); NULL 499 daemons/controld/controld_fsa.c register_fsa_input_before(C_FSA_INTERNAL, I_NODE_JOIN, NULL); NULL 588 daemons/controld/controld_fsa.c update_dc(NULL); NULL 598 daemons/controld/controld_fsa.c CRM_LOG_ASSERT(fsa_our_dc != NULL); NULL 599 daemons/controld/controld_fsa.c if (fsa_our_dc == NULL) { NULL 533 daemons/controld/controld_fsa.h if (fsa_source != NULL) { \ NULL 52 daemons/controld/controld_join_client.c xmlNode *req = create_request(CRM_OP_JOIN_ANNOUNCE, NULL, NULL, NULL 53 daemons/controld/controld_join_client.c CRM_SYSTEM_DC, CRM_SYSTEM_CRMD, NULL); NULL 56 daemons/controld/controld_join_client.c update_dc(NULL); /* Unset any existing value so that the result is not discarded */ NULL 58 daemons/controld/controld_join_client.c send_cluster_message(NULL, crm_msg_crmd, req, FALSE); NULL 82 daemons/controld/controld_join_client.c xmlNode *req = create_request(CRM_OP_JOIN_ANNOUNCE, NULL, NULL, NULL 83 daemons/controld/controld_join_client.c CRM_SYSTEM_DC, CRM_SYSTEM_CRMD, NULL); NULL 86 daemons/controld/controld_join_client.c update_dc(NULL); NULL 87 daemons/controld/controld_join_client.c send_cluster_message(NULL, crm_msg_crmd, req, FALSE); NULL 111 daemons/controld/controld_join_client.c CRM_CHECK(input != NULL, return); NULL 143 daemons/controld/controld_join_client.c fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local | cib_no_children); NULL 155 daemons/controld/controld_join_client.c xmlNode *generation = create_xml_node(NULL, XML_CIB_TAG_GENERATION_TUPPLE); NULL 157 daemons/controld/controld_join_client.c CRM_LOG_ASSERT(join_id != NULL); NULL 165 daemons/controld/controld_join_client.c if(rc != pcmk_ok || output == NULL) { NULL 168 daemons/controld/controld_join_client.c register_fsa_error_adv(C_FSA_INTERNAL, I_ERROR, NULL, NULL, __func__); NULL 170 daemons/controld/controld_join_client.c } else if (fsa_our_dc == NULL) { NULL 174 daemons/controld/controld_join_client.c xmlNode *reply = NULL; NULL 180 daemons/controld/controld_join_client.c CRM_SYSTEM_DC, CRM_SYSTEM_CRMD, NULL); NULL 199 daemons/controld/controld_join_client.c NULL, NULL, NULL, "standby", "on", TRUE, NULL, NULL); NULL 205 daemons/controld/controld_join_client.c NULL, NULL, NULL, "standby", "off", TRUE, NULL, NULL); NULL 224 daemons/controld/controld_join_client.c xmlNode *tmp1 = NULL; NULL 250 daemons/controld/controld_join_client.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 269 daemons/controld/controld_join_client.c if (tmp1 != NULL) { NULL 271 daemons/controld/controld_join_client.c CRM_SYSTEM_DC, CRM_SYSTEM_CRMD, NULL); NULL 301 daemons/controld/controld_join_client.c register_fsa_input_adv(cause, I_NOT_DC, NULL, A_NOTHING, TRUE, NULL 310 daemons/controld/controld_join_client.c register_fsa_error(C_FSA_INTERNAL, I_FAIL, NULL); NULL 20 daemons/controld/controld_join_dc.c char *max_epoch = NULL; NULL 21 daemons/controld/controld_join_dc.c char *max_generation_from = NULL; NULL 22 daemons/controld/controld_join_dc.c xmlNode *max_generation_xml = NULL; NULL 40 daemons/controld/controld_join_dc.c CRM_CHECK(node != NULL, return); NULL 74 daemons/controld/controld_join_dc.c crm_node_t *peer = NULL; NULL 79 daemons/controld/controld_join_dc.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &peer)) { NULL 82 daemons/controld/controld_join_dc.c if (max_generation_from != NULL) { NULL 84 daemons/controld/controld_join_dc.c max_generation_from = NULL; NULL 86 daemons/controld/controld_join_dc.c if (max_generation_xml != NULL) { NULL 88 daemons/controld/controld_join_dc.c max_generation_xml = NULL; NULL 103 daemons/controld/controld_join_dc.c xmlNode *msg = create_request(join_op, NULL, host_to, CRM_SYSTEM_CRMD, NULL 104 daemons/controld/controld_join_dc.c CRM_SYSTEM_DC, NULL); NULL 120 daemons/controld/controld_join_dc.c xmlNode *offer = NULL; NULL 123 daemons/controld/controld_join_dc.c CRM_ASSERT(member != NULL); NULL 128 daemons/controld/controld_join_dc.c if(member->expected == NULL && pcmk__str_eq(member->state, CRM_NODE_LOST, pcmk__str_casei)) { NULL 143 daemons/controld/controld_join_dc.c if (member->uname == NULL) { NULL 193 daemons/controld/controld_join_dc.c update_dc(NULL); NULL 197 daemons/controld/controld_join_dc.c g_hash_table_foreach(crm_peer_cache, join_make_offer, NULL); NULL 214 daemons/controld/controld_join_dc.c ha_msg_input_t *welcome = NULL; NULL 216 daemons/controld/controld_join_dc.c const char *join_to = NULL; NULL 218 daemons/controld/controld_join_dc.c if (msg_data->data == NULL) { NULL 227 daemons/controld/controld_join_dc.c if (welcome == NULL) { NULL 233 daemons/controld/controld_join_dc.c if (join_to == NULL) { NULL 245 daemons/controld/controld_join_dc.c join_make_offer(NULL, member, NULL); NULL 252 daemons/controld/controld_join_dc.c join_make_offer(NULL, member, NULL); NULL 258 daemons/controld/controld_join_dc.c abort_transition(INFINITY, tg_restart, "Node join", NULL); NULL 273 daemons/controld/controld_join_dc.c long long int_elem_l = elem_l? crm_parse_ll(elem_l, NULL) : -1; NULL 274 daemons/controld/controld_join_dc.c long long int_elem_r = elem_r? crm_parse_ll(elem_r, NULL) : -1; NULL 293 daemons/controld/controld_join_dc.c xmlNode *generation = NULL; NULL 305 daemons/controld/controld_join_dc.c crm_node_t *join_node = NULL; NULL 307 daemons/controld/controld_join_dc.c if (join_from == NULL) { NULL 322 daemons/controld/controld_join_dc.c if (max_generation_xml != NULL && generation != NULL) { NULL 336 daemons/controld/controld_join_dc.c if (ref == NULL) { NULL 345 daemons/controld/controld_join_dc.c } else if (generation == NULL) { NULL 351 daemons/controld/controld_join_dc.c } else if ((join_version == NULL) NULL 359 daemons/controld/controld_join_dc.c } else if (max_generation_xml == NULL) { NULL 411 daemons/controld/controld_join_dc.c char *sync_from = NULL; NULL 467 daemons/controld/controld_join_dc.c rc = fsa_cib_conn->cmds->sync_from(fsa_cib_conn, sync_from, NULL, cib_quorum_override); NULL 482 daemons/controld/controld_join_dc.c register_fsa_error_adv(C_FSA_INTERNAL, I_ELECTION_DC, NULL, NULL, NULL 503 daemons/controld/controld_join_dc.c g_hash_table_foreach(crm_peer_cache, finalize_join_for, NULL); NULL 511 daemons/controld/controld_join_dc.c fsa_data_t *msg_data = NULL; NULL 523 daemons/controld/controld_join_dc.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 541 daemons/controld/controld_join_dc.c crm_node_t *peer = NULL; NULL 544 daemons/controld/controld_join_dc.c if (join_from == NULL) { NULL 548 daemons/controld/controld_join_dc.c if (op == NULL) { NULL 594 daemons/controld/controld_join_dc.c if (now_dc_lrmd_state != NULL) { NULL 596 daemons/controld/controld_join_dc.c cib_scope_local | cib_quorum_override | cib_can_create, call_id, NULL); NULL 602 daemons/controld/controld_join_dc.c cib_scope_local | cib_quorum_override | cib_can_create, call_id, NULL); NULL 608 daemons/controld/controld_join_dc.c cib_scope_local | cib_quorum_override | cib_can_create, call_id, NULL); NULL 612 daemons/controld/controld_join_dc.c fsa_register_cib_callback(call_id, FALSE, NULL, join_update_complete_callback); NULL 618 daemons/controld/controld_join_dc.c xmlNode *acknak = NULL; NULL 619 daemons/controld/controld_join_dc.c xmlNode *tmp1 = NULL; NULL 631 daemons/controld/controld_join_dc.c tmp1 = create_xml_node(NULL, XML_CIB_TAG_NODE); NULL 678 daemons/controld/controld_join_dc.c register_fsa_input_before(C_FSA_INTERNAL, I_NODE_JOIN, NULL); NULL 689 daemons/controld/controld_join_dc.c register_fsa_input_before(C_FSA_INTERNAL, I_INTEGRATED, NULL); NULL 730 daemons/controld/controld_join_dc.c register_fsa_input_later(C_FSA_INTERNAL, I_FINALIZED, NULL); NULL 755 daemons/controld/controld_join_dc.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &peer)) { NULL 769 daemons/controld/controld_join_dc.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &peer)) { NULL 42 daemons/controld/controld_membership.c register_fsa_input(C_FSA_INTERNAL, I_ERROR, NULL); NULL 46 daemons/controld/controld_membership.c register_fsa_input(C_FSA_INTERNAL, I_ELECTION, NULL); NULL 64 daemons/controld/controld_membership.c xmlNode *no_op = NULL; NULL 69 daemons/controld/controld_membership.c g_hash_table_foreach(crm_peer_cache, reap_dead_nodes, NULL); NULL 87 daemons/controld/controld_membership.c no_op = create_request(CRM_OP_NOOP, NULL, NULL, CRM_SYSTEM_CRMD, NULL 88 daemons/controld/controld_membership.c AM_I_DC ? CRM_SYSTEM_DC : CRM_SYSTEM_CRMD, NULL); NULL 89 daemons/controld/controld_membership.c send_cluster_message(NULL, crm_msg_crmd, no_op, FALSE); NULL 96 daemons/controld/controld_membership.c fsa_data_t *msg_data = NULL; NULL 106 daemons/controld/controld_membership.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 111 daemons/controld/controld_membership.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 130 daemons/controld/controld_membership.c const char *value = NULL; NULL 135 daemons/controld/controld_membership.c return NULL; NULL 146 daemons/controld/controld_membership.c if (crm_element_value(node_state, XML_ATTR_UUID) == NULL) { NULL 149 daemons/controld/controld_membership.c return NULL; NULL 203 daemons/controld/controld_membership.c xmlNode *node_xml = NULL; NULL 212 daemons/controld/controld_membership.c } else if (output == NULL) { NULL 223 daemons/controld/controld_membership.c for (; node_xml != NULL; node_xml = pcmk__xml_next(node_xml)) { NULL 224 daemons/controld/controld_membership.c const char *node_uuid = NULL; NULL 225 daemons/controld/controld_membership.c const char *node_uname = NULL; NULL 227 daemons/controld/controld_membership.c crm_node_t *node = NULL; NULL 237 daemons/controld/controld_membership.c if (node_uuid == NULL || node_uname == NULL) { NULL 242 daemons/controld/controld_membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 255 daemons/controld/controld_membership.c xmlNode *node_state_xml = NULL; NULL 265 daemons/controld/controld_membership.c node_state_xml = create_xml_node(NULL, XML_CIB_TAG_STATE); NULL 281 daemons/controld/controld_membership.c fsa_data_t *msg_data = NULL; NULL 286 daemons/controld/controld_membership.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 291 daemons/controld/controld_membership.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 303 daemons/controld/controld_membership.c xmlNode *node_list = create_xml_node(NULL, XML_CIB_TAG_NODES); NULL 307 daemons/controld/controld_membership.c from_hashtable = corosync_initialize_nodelist(NULL, FALSE, node_list); NULL 313 daemons/controld/controld_membership.c crm_node_t *node = NULL; NULL 316 daemons/controld/controld_membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 317 daemons/controld/controld_membership.c xmlNode *new_node = NULL; NULL 334 daemons/controld/controld_membership.c call_id = fsa_cib_conn->cmds->query(fsa_cib_conn, xpath, NULL, NULL 344 daemons/controld/controld_membership.c fsa_cib_update(XML_CIB_TAG_NODES, node_list, call_options, call_id, NULL); NULL 345 daemons/controld/controld_membership.c fsa_register_cib_callback(call_id, FALSE, NULL, node_list_update_callback); NULL 349 daemons/controld/controld_membership.c if (call_id >= pcmk_ok && crm_peer_cache != NULL && AM_I_DC) { NULL 355 daemons/controld/controld_membership.c crm_node_t *node = NULL; NULL 357 daemons/controld/controld_membership.c node_list = create_xml_node(NULL, XML_CIB_TAG_STATUS); NULL 360 daemons/controld/controld_membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 366 daemons/controld/controld_membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 371 daemons/controld/controld_membership.c fsa_cib_update(XML_CIB_TAG_STATUS, node_list, call_options, call_id, NULL); NULL 372 daemons/controld/controld_membership.c fsa_register_cib_callback(call_id, FALSE, NULL, crmd_node_update_complete); NULL 382 daemons/controld/controld_membership.c fsa_data_t *msg_data = NULL; NULL 390 daemons/controld/controld_membership.c register_fsa_error(C_FSA_INTERNAL, I_ERROR, NULL); NULL 405 daemons/controld/controld_membership.c xmlNode *update = NULL; NULL 408 daemons/controld/controld_membership.c update = create_xml_node(NULL, XML_TAG_CIB); NULL 412 daemons/controld/controld_membership.c fsa_cib_update(XML_TAG_CIB, update, call_options, call_id, NULL); NULL 415 daemons/controld/controld_membership.c fsa_register_cib_callback(call_id, FALSE, NULL, cib_quorum_update_complete); NULL 435 daemons/controld/controld_membership.c abort_transition(INFINITY, tg_restart, "Quorum lost", NULL); NULL 25 daemons/controld/controld_messages.c GListPtr fsa_message_queue = NULL; NULL 46 daemons/controld/controld_messages.c I_NULL, cur_data ? cur_data->data : NULL, NULL 65 daemons/controld/controld_messages.c fsa_data_t *fsa_data = NULL; NULL 67 daemons/controld/controld_messages.c if (raised_from == NULL) { NULL 87 daemons/controld/controld_messages.c if (data == NULL) { NULL 109 daemons/controld/controld_messages.c fsa_data->data = NULL; NULL 118 daemons/controld/controld_messages.c if (data != NULL) { NULL 124 daemons/controld/controld_messages.c CRM_CHECK(((ha_msg_input_t *) data)->msg != NULL, NULL 177 daemons/controld/controld_messages.c GListPtr lpc = NULL; NULL 179 daemons/controld/controld_messages.c for (lpc = fsa_message_queue; lpc != NULL; lpc = lpc->next) { NULL 195 daemons/controld/controld_messages.c CRM_ASSERT(copy != NULL); NULL 196 daemons/controld/controld_messages.c copy->msg = (orig && orig->msg)? copy_xml(orig->msg) : NULL; NULL 204 daemons/controld/controld_messages.c lrmd_event_data_t *op = NULL; NULL 205 daemons/controld/controld_messages.c xmlNode *foo = NULL; NULL 207 daemons/controld/controld_messages.c if (fsa_data == NULL) { NULL 212 daemons/controld/controld_messages.c if (fsa_data->data != NULL) { NULL 229 daemons/controld/controld_messages.c if (fsa_data->data != NULL) { NULL 256 daemons/controld/controld_messages.c void *ret_val = NULL; NULL 258 daemons/controld/controld_messages.c if (fsa_data == NULL) { NULL 261 daemons/controld/controld_messages.c } else if (fsa_data->data == NULL) { NULL 342 daemons/controld/controld_messages.c if (ref == NULL) { NULL 346 daemons/controld/controld_messages.c if (msg == NULL) { NULL 361 daemons/controld/controld_messages.c } else if (sys_to == NULL) { NULL 380 daemons/controld/controld_messages.c PCMK__CONTROLD_CMD_NODES, NULL)) { NULL 417 daemons/controld/controld_messages.c CRM_SYSTEM_TENGINE, NULL)) { NULL 425 daemons/controld/controld_messages.c send_cluster_message(host_to ? crm_get_peer(0, host_to) : NULL, dest, msg, TRUE); NULL 446 daemons/controld/controld_messages.c crm_node_t *node_to = NULL; NULL 460 daemons/controld/controld_messages.c if (node_to == NULL) { NULL 470 daemons/controld/controld_messages.c send_cluster_message(host_to ? node_to : NULL, dest, msg, TRUE); NULL 489 daemons/controld/controld_messages.c int version_num = crm_parse_int(version, NULL); NULL 520 daemons/controld/controld_messages.c xmlNode *message_data = NULL; NULL 521 daemons/controld/controld_messages.c const char *client_name = NULL; NULL 526 daemons/controld/controld_messages.c if (uuid == NULL) { NULL 571 daemons/controld/controld_messages.c const char *type = NULL; NULL 573 daemons/controld/controld_messages.c CRM_CHECK(msg != NULL, return I_NULL); NULL 591 daemons/controld/controld_messages.c const char *rsc = NULL; NULL 592 daemons/controld/controld_messages.c const char *uname = NULL; NULL 593 daemons/controld/controld_messages.c const char *op = NULL; NULL 594 daemons/controld/controld_messages.c char *interval_spec = NULL; NULL 616 daemons/controld/controld_messages.c if ((rsc == NULL) || (uname == NULL)) { NULL 639 daemons/controld/controld_messages.c const char *mode = NULL; NULL 642 daemons/controld/controld_messages.c CRM_CHECK(msg_data != NULL, return I_NULL); NULL 655 daemons/controld/controld_messages.c if ((mode == NULL) || strcmp(mode, XML_TAG_CIB)) { NULL 662 daemons/controld/controld_messages.c const char *from_sys = NULL; NULL 663 daemons/controld/controld_messages.c const char *user_name = NULL; NULL 664 daemons/controld/controld_messages.c const char *rsc_id = NULL; NULL 665 daemons/controld/controld_messages.c const char *node = NULL; NULL 666 daemons/controld/controld_messages.c xmlNode *rsc_xml = NULL; NULL 670 daemons/controld/controld_messages.c CRM_CHECK(rsc_xml != NULL, return I_NULL); NULL 676 daemons/controld/controld_messages.c user_name = pcmk__update_acl_user(stored_msg, F_CRM_USER, NULL); NULL 692 daemons/controld/controld_messages.c lrmd_event_data_t *op = NULL; NULL 715 daemons/controld/controld_messages.c controld_ack_event_directly(from_host, from_sys, NULL, op, rsc_id); NULL 758 daemons/controld/controld_messages.c const char *value = NULL; NULL 759 daemons/controld/controld_messages.c xmlNode *ping = NULL; NULL 763 daemons/controld/controld_messages.c ping = create_xml_node(NULL, XML_CRM_TAG_PING); NULL 797 daemons/controld/controld_messages.c crm_node_t *node = NULL; NULL 798 daemons/controld/controld_messages.c xmlNode *reply = NULL; NULL 799 daemons/controld/controld_messages.c xmlNode *reply_data = NULL; NULL 802 daemons/controld/controld_messages.c reply_data = create_xml_node(NULL, XML_CIB_TAG_NODES); NULL 804 daemons/controld/controld_messages.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & node)) { NULL 834 daemons/controld/controld_messages.c const char *value = NULL; NULL 835 daemons/controld/controld_messages.c crm_node_t *node = NULL; NULL 837 daemons/controld/controld_messages.c xmlNode *reply = NULL; NULL 841 daemons/controld/controld_messages.c reply = create_xml_node(NULL, XML_CIB_TAG_NODE); NULL 855 daemons/controld/controld_messages.c if ((node_id == 0) && (value == NULL)) { NULL 886 daemons/controld/controld_messages.c if (dc_version == NULL) { NULL 945 daemons/controld/controld_messages.c if (host_from == NULL) { NULL 950 daemons/controld/controld_messages.c if ((fsa_our_dc == NULL) || (strcmp(host_from, fsa_our_dc) == 0)) { NULL 971 daemons/controld/controld_messages.c xmlNode *msg = NULL; NULL 976 daemons/controld/controld_messages.c if (op == NULL) { NULL 1027 daemons/controld/controld_messages.c if (AM_I_DC && transition_graph != NULL) { NULL 1094 daemons/controld/controld_messages.c const char *name = NULL; NULL 1100 daemons/controld/controld_messages.c msg = create_request(CRM_OP_RM_NODE_CACHE, NULL, NULL, CRM_SYSTEM_CRMD, CRM_SYSTEM_CRMD, NULL); NULL 1101 daemons/controld/controld_messages.c if (send_cluster_message(NULL, crm_msg_crmd, msg, TRUE) == FALSE) { NULL 1146 daemons/controld/controld_messages.c if (op == NULL) { NULL 1153 daemons/controld/controld_messages.c if (msg_ref == NULL) { NULL 1188 daemons/controld/controld_messages.c char *now_s = NULL; NULL 1189 daemons/controld/controld_messages.c time_t now = time(NULL); NULL 1192 daemons/controld/controld_messages.c if (host_from == NULL) { NULL 1201 daemons/controld/controld_messages.c update_attrd(host_from, XML_CIB_ATTR_SHUTDOWN, now_s, NULL, FALSE); NULL 1216 daemons/controld/controld_messages.c if (crm_element_value(msg, F_CRM_HOST_FROM) == NULL) { NULL 1220 daemons/controld/controld_messages.c if (client_channel != NULL) { NULL 1224 daemons/controld/controld_messages.c } else if (sys != NULL && strcmp(sys, CRM_SYSTEM_TENGINE) == 0) { NULL 1229 daemons/controld/controld_messages.c } else if (sys != NULL && strcmp(sys, CRM_SYSTEM_LRMD) == 0) { NULL 1246 daemons/controld/controld_messages.c } else if (sys != NULL && crmd_is_proxy_session(sys)) { NULL 1257 daemons/controld/controld_messages.c if (orig == NULL) { NULL 1279 daemons/controld/controld_messages.c xmlNode *msg = create_request(CRM_OP_REMOTE_STATE, NULL, fsa_our_dc, NULL 1280 daemons/controld/controld_messages.c CRM_SYSTEM_DC, CRM_SYSTEM_CRMD, NULL); NULL 47 daemons/controld/controld_messages.h if(suppress == FALSE && msg_data != NULL) { \ NULL 54 daemons/controld/controld_messages.h NULL, action, TRUE, __func__); \ NULL 22 daemons/controld/controld_metadata.c static regex_t *version_format_regex = NULL; NULL 82 daemons/controld/controld_metadata.c if (version == NULL) { NULL 86 daemons/controld/controld_metadata.c if (version_format_regex == NULL) { NULL 102 daemons/controld/controld_metadata.c CRM_CHECK(version_format_regex != NULL, return TRUE); NULL 105 daemons/controld/controld_metadata.c return regexec(version_format_regex, version, 0, NULL, 0) == 0; NULL 116 daemons/controld/controld_metadata.c version_format_regex = NULL; NULL 127 daemons/controld/controld_metadata.c if (version == NULL) { NULL 153 daemons/controld/controld_metadata.c if (p == NULL) { NULL 155 daemons/controld/controld_metadata.c return NULL; NULL 159 daemons/controld/controld_metadata.c if (p->rap_name == NULL) { NULL 162 daemons/controld/controld_metadata.c return NULL; NULL 181 daemons/controld/controld_metadata.c char *key = NULL; NULL 182 daemons/controld/controld_metadata.c xmlNode *metadata = NULL; NULL 183 daemons/controld/controld_metadata.c xmlNode *match = NULL; NULL 184 daemons/controld/controld_metadata.c struct ra_metadata_s *md = NULL; NULL 186 daemons/controld/controld_metadata.c CRM_CHECK(mdc && rsc && metadata_str, return NULL); NULL 202 daemons/controld/controld_metadata.c if (md == NULL) { NULL 213 daemons/controld/controld_metadata.c for (match = first_named_child(match, "action"); match != NULL; NULL 226 daemons/controld/controld_metadata.c for (match = first_named_child(match, "parameter"); match != NULL; NULL 231 daemons/controld/controld_metadata.c if (param_name == NULL) { NULL 237 daemons/controld/controld_metadata.c if (p == NULL) { NULL 255 daemons/controld/controld_metadata.c return NULL; NULL 261 daemons/controld/controld_metadata.c char *key = NULL; NULL 262 daemons/controld/controld_metadata.c struct ra_metadata_s *metadata = NULL; NULL 264 daemons/controld/controld_metadata.c CRM_CHECK(mdc && rsc, return NULL); NULL 138 daemons/controld/controld_remote_ra.c lrm_state_t *connection_rsc = NULL; NULL 157 daemons/controld/controld_remote_ra.c lrm_state_t *connection_rsc = NULL; NULL 183 daemons/controld/controld_remote_ra.c CRM_CHECK(node_name != NULL, return); NULL 198 daemons/controld/controld_remote_ra.c update_attrd(node_name, CRM_OP_PROBED, NULL, NULL, TRUE); NULL 202 daemons/controld/controld_remote_ra.c CRM_CHECK(node != NULL, return); NULL 213 daemons/controld/controld_remote_ra.c update = create_xml_node(NULL, XML_CIB_TAG_STATUS); NULL 230 daemons/controld/controld_remote_ra.c fsa_cib_update(XML_CIB_TAG_STATUS, update, call_opt, call_id, NULL); NULL 258 daemons/controld/controld_remote_ra.c update_attrd_remote_node_removed(node_name, NULL); NULL 273 daemons/controld/controld_remote_ra.c CRM_CHECK(node != NULL, return); NULL 280 daemons/controld/controld_remote_ra.c update = create_xml_node(NULL, XML_CIB_TAG_STATUS); NULL 282 daemons/controld/controld_remote_ra.c fsa_cib_update(XML_CIB_TAG_STATUS, update, call_opt, call_id, NULL); NULL 316 daemons/controld/controld_remote_ra.c CRM_CHECK(node != NULL, return); NULL 321 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state? lrm_state->remote_ra_data : NULL; NULL 367 daemons/controld/controld_remote_ra.c op.t_rcchange = (unsigned int) time(NULL); NULL 404 daemons/controld/controld_remote_ra.c cmd->remaining_timeout = ((cmd->timeout / 1000) - (time(NULL) - cmd->start_time)) * 1000; NULL 412 daemons/controld/controld_remote_ra.c remote_ra_cmd_t *cmd = NULL; NULL 419 daemons/controld/controld_remote_ra.c if (!pcmk__strcase_any_of(cmd->action, "start", "migrate_from", NULL)) { NULL 436 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = NULL; NULL 449 daemons/controld/controld_remote_ra.c lrm_state_t *lrm_state = NULL; NULL 466 daemons/controld/controld_remote_ra.c lrm_state_t *lrm_state = NULL; NULL 481 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = NULL; NULL 502 daemons/controld/controld_remote_ra.c if (lrm_state == NULL) { NULL 506 daemons/controld/controld_remote_ra.c CRM_ASSERT(lrm_state != NULL); NULL 513 daemons/controld/controld_remote_ra.c op.t_run = (unsigned int) time(NULL); NULL 516 daemons/controld/controld_remote_ra.c process_lrm_event(lrm_state, &op, NULL, NULL); NULL 523 daemons/controld/controld_remote_ra.c lrm_state_t *lrm_state = NULL; NULL 524 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; NULL 525 daemons/controld/controld_remote_ra.c remote_ra_cmd_t *cmd = NULL; NULL 568 daemons/controld/controld_remote_ra.c if ((op->type == lrmd_event_disconnect) && (ra_data->cur_cmd == NULL)) { NULL 584 daemons/controld/controld_remote_ra.c handle_remote_ra_stop(lrm_state, NULL); NULL 587 daemons/controld/controld_remote_ra.c synthesize_lrmd_success(NULL, lrm_state->node_name, "stop"); NULL 602 daemons/controld/controld_remote_ra.c "migrate_from", NULL)) { NULL 659 daemons/controld/controld_remote_ra.c cmd = NULL; /* prevent free */ NULL 683 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = NULL; NULL 694 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; NULL 717 daemons/controld/controld_remote_ra.c ra_data->cmds = NULL; NULL 718 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = NULL; NULL 719 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = NULL; NULL 732 daemons/controld/controld_remote_ra.c const char *server = NULL; NULL 733 daemons/controld/controld_remote_ra.c lrmd_key_value_t *tmp = NULL; NULL 740 daemons/controld/controld_remote_ra.c XML_RSC_ATTR_REMOTE_RA_SERVER, NULL)) { NULL 759 daemons/controld/controld_remote_ra.c GList *first = NULL; NULL 854 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; NULL 883 daemons/controld/controld_remote_ra.c lrm_state->remote_ra_data = NULL; NULL 902 daemons/controld/controld_remote_ra.c lrmd_rsc_info_t *info = NULL; NULL 935 daemons/controld/controld_remote_ra.c GList *rm_list = NULL; NULL 936 daemons/controld/controld_remote_ra.c remote_ra_cmd_t *cmd = NULL; NULL 937 daemons/controld/controld_remote_ra.c GListPtr gIter = NULL; NULL 939 daemons/controld/controld_remote_ra.c for (gIter = list; gIter != NULL; gIter = gIter->next) { NULL 946 daemons/controld/controld_remote_ra.c for (gIter = rm_list; gIter != NULL; gIter = gIter->next) { NULL 967 daemons/controld/controld_remote_ra.c remote_ra_cmd_t *cmd = NULL; NULL 968 daemons/controld/controld_remote_ra.c GListPtr gIter = NULL; NULL 970 daemons/controld/controld_remote_ra.c for (gIter = list; gIter != NULL; gIter = gIter->next) { NULL 976 daemons/controld/controld_remote_ra.c cmd = NULL; NULL 989 daemons/controld/controld_remote_ra.c lrm_state_t *connection_rsc = NULL; NULL 990 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; NULL 1015 daemons/controld/controld_remote_ra.c GList *gIter = NULL; NULL 1016 daemons/controld/controld_remote_ra.c remote_ra_cmd_t *cmd = NULL; NULL 1025 daemons/controld/controld_remote_ra.c return NULL; NULL 1037 daemons/controld/controld_remote_ra.c for (gIter = ra_data->recurring_cmds; gIter != NULL; gIter = gIter->next) { NULL 1045 daemons/controld/controld_remote_ra.c for (gIter = ra_data->cmds; gIter != NULL; gIter = gIter->next) { NULL 1053 daemons/controld/controld_remote_ra.c return NULL; NULL 1068 daemons/controld/controld_remote_ra.c cmd->start_time = time(NULL); NULL 1093 daemons/controld/controld_remote_ra.c lrm_state_t *connection_rsc = NULL; NULL 1094 daemons/controld/controld_remote_ra.c remote_ra_cmd_t *cmd = NULL; NULL 1095 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; NULL 1126 daemons/controld/controld_remote_ra.c cmd->start_time = time(NULL); NULL 1229 daemons/controld/controld_remote_ra.c CRM_CHECK(node != NULL, return); NULL 1230 daemons/controld/controld_remote_ra.c update = create_xml_node(NULL, XML_CIB_TAG_STATUS); NULL 1234 daemons/controld/controld_remote_ra.c fsa_cib_update(XML_CIB_TAG_STATUS, update, call_opt, call_id, NULL); NULL 1266 daemons/controld/controld_remote_ra.c node != NULL; node = pcmk__xml_next(node)) { NULL 23 daemons/controld/controld_schedulerd.c static mainloop_io_t *pe_subsystem = NULL; NULL 34 daemons/controld/controld_schedulerd.c controld_expect_sched_reply(NULL); NULL 36 daemons/controld/controld_schedulerd.c pe_subsystem = NULL; NULL 59 daemons/controld/controld_schedulerd.c register_fsa_error_adv(C_FSA_INTERNAL, I_ERROR, NULL, NULL, __func__); NULL 60 daemons/controld/controld_schedulerd.c CRM_CHECK(id != NULL, return); NULL 86 daemons/controld/controld_schedulerd.c controld_expect_sched_reply(NULL); NULL 105 daemons/controld/controld_schedulerd.c rc = fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local); NULL 113 daemons/controld/controld_schedulerd.c pe_subsystem = NULL; NULL 158 daemons/controld/controld_schedulerd.c NULL, &pe_callbacks); NULL 159 daemons/controld/controld_schedulerd.c if (pe_subsystem == NULL) { NULL 179 daemons/controld/controld_schedulerd.c 0, 0, NULL); NULL 212 daemons/controld/controld_schedulerd.c register_fsa_error(C_FSA_INTERNAL, I_FAIL, NULL); NULL 218 daemons/controld/controld_schedulerd.c char *fsa_pe_ref = NULL; NULL 219 daemons/controld/controld_schedulerd.c static mainloop_timer_t *controld_sched_timer = NULL; NULL 268 daemons/controld/controld_schedulerd.c char *ref = NULL; NULL 272 daemons/controld/controld_schedulerd.c CRM_ASSERT(ref != NULL); NULL 274 daemons/controld/controld_schedulerd.c if (controld_sched_timer == NULL) { NULL 278 daemons/controld/controld_schedulerd.c NULL); NULL 295 daemons/controld/controld_schedulerd.c if (controld_sched_timer != NULL) { NULL 297 daemons/controld/controld_schedulerd.c controld_sched_timer = NULL; NULL 317 daemons/controld/controld_schedulerd.c register_fsa_input_before(C_FSA_INTERNAL, I_TERMINATE, NULL); NULL 337 daemons/controld/controld_schedulerd.c register_fsa_input_before(C_FSA_INTERNAL, I_ELECTION, NULL); NULL 341 daemons/controld/controld_schedulerd.c fsa_pe_query = fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local); NULL 346 daemons/controld/controld_schedulerd.c controld_expect_sched_reply(NULL); NULL 347 daemons/controld/controld_schedulerd.c fsa_register_cib_callback(fsa_pe_query, FALSE, NULL, do_pe_invoke_callback); NULL 355 daemons/controld/controld_schedulerd.c char *xpath_string = NULL; NULL 356 daemons/controld/controld_schedulerd.c xmlXPathObjectPtr xpathObj = NULL; NULL 372 daemons/controld/controld_schedulerd.c xmlNode *configuration = NULL; NULL 373 daemons/controld/controld_schedulerd.c xmlNode *crm_config = NULL; NULL 374 daemons/controld/controld_schedulerd.c xmlNode *cluster_property_set = NULL; NULL 379 daemons/controld/controld_schedulerd.c configuration = pcmk__xe_match(xml, XML_CIB_TAG_CONFIGURATION, NULL, NULL 380 daemons/controld/controld_schedulerd.c NULL); NULL 381 daemons/controld/controld_schedulerd.c if (configuration == NULL) { NULL 385 daemons/controld/controld_schedulerd.c crm_config = pcmk__xe_match(configuration, XML_CIB_TAG_CRMCONFIG, NULL, NULL 386 daemons/controld/controld_schedulerd.c NULL); NULL 387 daemons/controld/controld_schedulerd.c if (crm_config == NULL) { NULL 392 daemons/controld/controld_schedulerd.c NULL, NULL); NULL 393 daemons/controld/controld_schedulerd.c if (cluster_property_set == NULL) { NULL 410 daemons/controld/controld_schedulerd.c xmlNode *cmd = NULL; NULL 416 daemons/controld/controld_schedulerd.c register_fsa_error_adv(C_FSA_INTERNAL, I_ERROR, NULL, NULL, __func__); NULL 442 daemons/controld/controld_schedulerd.c CRM_LOG_ASSERT(output != NULL); NULL 457 daemons/controld/controld_schedulerd.c cmd = create_request(CRM_OP_PECALC, output, NULL, CRM_SYSTEM_PENGINE, CRM_SYSTEM_DC, NULL); NULL 463 daemons/controld/controld_schedulerd.c register_fsa_error_adv(C_FSA_INTERNAL, I_ERROR, NULL, NULL, __func__); NULL 23 daemons/controld/controld_te_actions.c char *te_uuid = NULL; NULL 24 daemons/controld/controld_te_actions.c GHashTable *te_targets = NULL; NULL 48 daemons/controld/controld_te_actions.c crm_node_t *node = NULL; NULL 51 daemons/controld/controld_te_actions.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 52 daemons/controld/controld_te_actions.c xmlNode *cmd = NULL; NULL 59 daemons/controld/controld_te_actions.c CRM_SYSTEM_CRMD, CRM_SYSTEM_TENGINE, NULL); NULL 81 daemons/controld/controld_te_actions.c if (target_rc_s != NULL) { NULL 90 daemons/controld/controld_te_actions.c char *counter = NULL; NULL 91 daemons/controld/controld_te_actions.c xmlNode *cmd = NULL; NULL 94 daemons/controld/controld_te_actions.c const char *id = NULL; NULL 95 daemons/controld/controld_te_actions.c const char *task = NULL; NULL 96 daemons/controld/controld_te_actions.c const char *value = NULL; NULL 97 daemons/controld/controld_te_actions.c const char *on_node = NULL; NULL 98 daemons/controld/controld_te_actions.c const char *router_node = NULL; NULL 119 daemons/controld/controld_te_actions.c CRM_CHECK(on_node != NULL && strlen(on_node) != 0, NULL 149 daemons/controld/controld_te_actions.c cmd = create_request(task, action->xml, router_node, CRM_SYSTEM_CRMD, CRM_SYSTEM_TENGINE, NULL); NULL 181 daemons/controld/controld_te_actions.c lrmd_event_data_t *op = NULL; NULL 182 daemons/controld/controld_te_actions.c xmlNode *state = NULL; NULL 183 daemons/controld/controld_te_actions.c xmlNode *rsc = NULL; NULL 184 daemons/controld/controld_te_actions.c xmlNode *xml_op = NULL; NULL 185 daemons/controld/controld_te_actions.c xmlNode *action_rsc = NULL; NULL 189 daemons/controld/controld_te_actions.c const char *rsc_id = NULL; NULL 201 daemons/controld/controld_te_actions.c if (action_rsc == NULL) { NULL 206 daemons/controld/controld_te_actions.c CRM_CHECK(rsc_id != NULL, NULL 218 daemons/controld/controld_te_actions.c state = create_xml_node(NULL, XML_CIB_TAG_STATE); NULL 244 daemons/controld/controld_te_actions.c op = convert_graph_action(NULL, action, PCMK_LRM_OP_TIMEOUT, NULL 257 daemons/controld/controld_te_actions.c fsa_register_cib_callback(rc, FALSE, NULL, cib_action_updated); NULL 274 daemons/controld/controld_te_actions.c xmlNode *cmd = NULL; NULL 275 daemons/controld/controld_te_actions.c xmlNode *rsc_op = NULL; NULL 281 daemons/controld/controld_te_actions.c char *counter = NULL; NULL 282 daemons/controld/controld_te_actions.c const char *task = NULL; NULL 283 daemons/controld/controld_te_actions.c const char *value = NULL; NULL 284 daemons/controld/controld_te_actions.c const char *on_node = NULL; NULL 285 daemons/controld/controld_te_actions.c const char *router_node = NULL; NULL 286 daemons/controld/controld_te_actions.c const char *task_uuid = NULL; NULL 288 daemons/controld/controld_te_actions.c CRM_ASSERT(action != NULL); NULL 289 daemons/controld/controld_te_actions.c CRM_ASSERT(action->xml != NULL); NULL 294 daemons/controld/controld_te_actions.c CRM_CHECK(on_node != NULL && strlen(on_node) != 0, NULL 325 daemons/controld/controld_te_actions.c CRM_SYSTEM_LRMD, CRM_SYSTEM_TENGINE, NULL); NULL 401 daemons/controld/controld_te_actions.c struct te_peer_s *peer = NULL; NULL 403 daemons/controld/controld_te_actions.c if(te_targets == NULL) { NULL 404 daemons/controld/controld_te_actions.c te_targets = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, te_peer_free); NULL 408 daemons/controld/controld_te_actions.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & peer)) { NULL 417 daemons/controld/controld_te_actions.c struct te_peer_s *r = NULL; NULL 419 daemons/controld/controld_te_actions.c if(target == NULL || te_targets == NULL) { NULL 424 daemons/controld/controld_te_actions.c if(r == NULL) { NULL 443 daemons/controld/controld_te_actions.c if (action->type != action_type_rsc || target == NULL) { NULL 454 daemons/controld/controld_te_actions.c if ((target == NULL) && pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, NULL 455 daemons/controld/controld_te_actions.c CRMD_ACTION_MIGRATED, NULL)) { NULL 463 daemons/controld/controld_te_actions.c } else if (target == NULL) { NULL 474 daemons/controld/controld_te_actions.c struct te_peer_s *r = NULL; NULL 478 daemons/controld/controld_te_actions.c if(target == NULL) { NULL 482 daemons/controld/controld_te_actions.c } else if(te_targets == NULL) { NULL 489 daemons/controld/controld_te_actions.c if(r == NULL) { NULL 501 daemons/controld/controld_te_actions.c if (pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, CRMD_ACTION_MIGRATED, NULL)) { NULL 516 daemons/controld/controld_te_actions.c const char *target = NULL; NULL 530 daemons/controld/controld_te_actions.c if ((target == NULL) && pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, NULL 531 daemons/controld/controld_te_actions.c CRMD_ACTION_MIGRATED, NULL)) { NULL 539 daemons/controld/controld_te_actions.c } else if (target == NULL) { NULL 557 daemons/controld/controld_te_actions.c && (crm_element_value(action->xml, XML_LRM_ATTR_TARGET) != NULL)) { NULL 633 daemons/controld/controld_te_actions.c graph->abort_reason = NULL; NULL 638 daemons/controld/controld_te_actions.c register_fsa_input(C_FSA_INTERNAL, event, NULL); NULL 27 daemons/controld/controld_te_callbacks.c crm_trigger_t *transition_trigger = NULL; NULL 47 daemons/controld/controld_te_callbacks.c xmlXPathObject *xpathObj = NULL; NULL 49 daemons/controld/controld_te_callbacks.c CRM_CHECK(diff != NULL, return); NULL 52 daemons/controld/controld_te_callbacks.c if (cib_config_changed(NULL, NULL, &diff)) { NULL 92 daemons/controld/controld_te_callbacks.c const char *value = NULL; NULL 142 daemons/controld/controld_te_callbacks.c abort_transition(INFINITY, tg_restart, "History refresh", NULL); NULL 180 daemons/controld/controld_te_callbacks.c const char *op_id = NULL; NULL 181 daemons/controld/controld_te_callbacks.c char *rsc_op_xpath = NULL; NULL 182 daemons/controld/controld_te_callbacks.c xmlXPathObject *op_match = NULL; NULL 185 daemons/controld/controld_te_callbacks.c CRM_LOG_ASSERT(match != NULL); NULL 186 daemons/controld/controld_te_callbacks.c if(match == NULL) { continue; }; NULL 200 daemons/controld/controld_te_callbacks.c if (cancelled == NULL) { NULL 225 daemons/controld/controld_te_callbacks.c for (xmlNode *rsc_op = pcmk__xml_first_child(lrm_resource); rsc_op != NULL; NULL 240 daemons/controld/controld_te_callbacks.c xmlNode *rsc = NULL; NULL 242 daemons/controld/controld_te_callbacks.c if (xml == NULL) { NULL 268 daemons/controld/controld_te_callbacks.c abort_transition(INFINITY, tg_restart, "History refresh", NULL); NULL 272 daemons/controld/controld_te_callbacks.c for (rsc = pcmk__xml_first_child(xml); rsc != NULL; NULL 282 daemons/controld/controld_te_callbacks.c char *nodeid = NULL; NULL 300 daemons/controld/controld_te_callbacks.c char *node_uuid = NULL; NULL 301 daemons/controld/controld_te_callbacks.c char *search = NULL; NULL 302 daemons/controld/controld_te_callbacks.c char *match = NULL; NULL 305 daemons/controld/controld_te_callbacks.c if (match == NULL) { NULL 307 daemons/controld/controld_te_callbacks.c return NULL; NULL 312 daemons/controld/controld_te_callbacks.c if (search == NULL) { NULL 314 daemons/controld/controld_te_callbacks.c return NULL; NULL 327 daemons/controld/controld_te_callbacks.c char *node_uuid = NULL; NULL 328 daemons/controld/controld_te_callbacks.c crm_action_t *down = NULL; NULL 336 daemons/controld/controld_te_callbacks.c if(node_uuid == NULL) { NULL 343 daemons/controld/controld_te_callbacks.c if (down == NULL) { NULL 361 daemons/controld/controld_te_callbacks.c if (key != NULL) { NULL 365 daemons/controld/controld_te_callbacks.c if (key == NULL) { NULL 412 daemons/controld/controld_te_callbacks.c for (xmlNode *state = pcmk__xml_first_child(status); state != NULL; NULL 439 daemons/controld/controld_te_callbacks.c for (xmlNode *change = pcmk__xml_first_child(diff); change != NULL; NULL 442 daemons/controld/controld_te_callbacks.c xmlNode *match = NULL; NULL 443 daemons/controld/controld_te_callbacks.c const char *name = NULL; NULL 450 daemons/controld/controld_te_callbacks.c if (op == NULL) { NULL 453 daemons/controld/controld_te_callbacks.c } else if (xpath == NULL) { NULL 508 daemons/controld/controld_te_callbacks.c } else if (name == NULL) { NULL 552 daemons/controld/controld_te_callbacks.c xmlNode *diff = NULL; NULL 553 daemons/controld/controld_te_callbacks.c const char *op = NULL; NULL 559 daemons/controld/controld_te_callbacks.c CRM_CHECK(msg != NULL, return); NULL 562 daemons/controld/controld_te_callbacks.c if (transition_graph == NULL) { NULL 614 daemons/controld/controld_te_callbacks.c if (op == NULL) { NULL 617 daemons/controld/controld_te_callbacks.c } else if (sys_to == NULL || strcasecmp(sys_to, CRM_SYSTEM_TENGINE) != 0) { NULL 625 daemons/controld/controld_te_callbacks.c xmlXPathObject *xpathObj = NULL; NULL 675 daemons/controld/controld_te_callbacks.c crm_action_timer_t *timer = NULL; NULL 676 daemons/controld/controld_te_callbacks.c const char *task = NULL; NULL 677 daemons/controld/controld_te_callbacks.c const char *on_node = NULL; NULL 678 daemons/controld/controld_te_callbacks.c const char *via_node = NULL; NULL 680 daemons/controld/controld_te_callbacks.c CRM_CHECK(data != NULL, return FALSE); NULL 685 daemons/controld/controld_te_callbacks.c CRM_CHECK(timer->action != NULL, return FALSE); NULL 708 daemons/controld/controld_te_callbacks.c abort_transition(INFINITY, tg_restart, "Action lost", NULL); NULL 20 daemons/controld/controld_te_events.c char *failed_stop_offset = NULL; NULL 21 daemons/controld/controld_te_events.c char *failed_start_offset = NULL; NULL 26 daemons/controld/controld_te_events.c const char *target_uuid = NULL; NULL 27 daemons/controld/controld_te_events.c const char *router = NULL; NULL 28 daemons/controld/controld_te_events.c const char *router_uuid = NULL; NULL 29 daemons/controld/controld_te_events.c xmlNode *last_action = NULL; NULL 31 daemons/controld/controld_te_events.c GListPtr gIter = NULL; NULL 32 daemons/controld/controld_te_events.c GListPtr gIter2 = NULL; NULL 34 daemons/controld/controld_te_events.c if (graph == NULL || graph->complete) { NULL 39 daemons/controld/controld_te_events.c for (; gIter != NULL; gIter = gIter->next) { NULL 48 daemons/controld/controld_te_events.c for (; gIter2 != NULL; gIter2 = gIter2->next) { NULL 88 daemons/controld/controld_te_events.c if (last_action != NULL) { NULL 116 daemons/controld/controld_te_events.c char *task = NULL; NULL 117 daemons/controld/controld_te_events.c char *rsc_id = NULL; NULL 119 daemons/controld/controld_te_events.c const char *value = NULL; NULL 134 daemons/controld/controld_te_events.c CRM_CHECK(on_uname != NULL, return TRUE); NULL 145 daemons/controld/controld_te_events.c if (failed_start_offset == NULL) { NULL 152 daemons/controld/controld_te_events.c if (failed_stop_offset == NULL) { NULL 164 daemons/controld/controld_te_events.c char *now = crm_ttoa(time(NULL)); NULL 165 daemons/controld/controld_te_events.c char *attr_name = NULL; NULL 179 daemons/controld/controld_te_events.c update_attrd(on_uname, attr_name, value, NULL, is_remote_node); NULL 187 daemons/controld/controld_te_events.c update_attrd(on_uname, attr_name, now, NULL, is_remote_node); NULL 213 daemons/controld/controld_te_events.c return NULL; NULL 219 daemons/controld/controld_te_events.c GListPtr gIter = NULL; NULL 220 daemons/controld/controld_te_events.c GListPtr gIter2 = NULL; NULL 223 daemons/controld/controld_te_events.c for (; gIter != NULL; gIter = gIter->next) { NULL 227 daemons/controld/controld_te_events.c for (; gIter2 != NULL; gIter2 = gIter2->next) { NULL 228 daemons/controld/controld_te_events.c const char *task = NULL; NULL 229 daemons/controld/controld_te_events.c const char *target = NULL; NULL 254 daemons/controld/controld_te_events.c return NULL; NULL 260 daemons/controld/controld_te_events.c const char *op_key = NULL; NULL 261 daemons/controld/controld_te_events.c const char *node_name = NULL; NULL 264 daemons/controld/controld_te_events.c if (cancel == NULL) { NULL 292 daemons/controld/controld_te_events.c crm_action_t *match = NULL; NULL 293 daemons/controld/controld_te_events.c xmlXPathObjectPtr xpath_ret = NULL; NULL 299 daemons/controld/controld_te_events.c gIter != NULL && match == NULL; NULL 303 daemons/controld/controld_te_events.c gIter2 != NULL && match == NULL; NULL 310 daemons/controld/controld_te_events.c match = NULL; NULL 315 daemons/controld/controld_te_events.c match = NULL; NULL 322 daemons/controld/controld_te_events.c if (match != NULL) { NULL 340 daemons/controld/controld_te_events.c char *update_te_uuid = NULL; NULL 342 daemons/controld/controld_te_events.c const char *id = NULL; NULL 343 daemons/controld/controld_te_events.c const char *desc = NULL; NULL 344 daemons/controld/controld_te_events.c const char *magic = NULL; NULL 345 daemons/controld/controld_te_events.c const char *uname = NULL; NULL 347 daemons/controld/controld_te_events.c CRM_ASSERT(event != NULL); NULL 354 daemons/controld/controld_te_events.c if (magic == NULL) { NULL 395 daemons/controld/controld_te_events.c if (parse_op_key(id, NULL, NULL, &interval_ms) NULL 422 daemons/controld/controld_te_events.c if (action == NULL) { NULL 459 daemons/controld/controld_te_events.c if (id == NULL) { NULL 463 daemons/controld/controld_te_events.c if (uname == NULL) { NULL 20 daemons/controld/controld_te_utils.c if (timer == NULL) { NULL 39 daemons/controld/controld_te_utils.c if (transition_graph == NULL) { NULL 111 daemons/controld/controld_te_utils.c abort_timer.text, NULL); NULL 135 daemons/controld/controld_te_utils.c abort_timer.id = g_timeout_add(delay_ms, abort_timer_popped, NULL); NULL 145 daemons/controld/controld_te_utils.c xmlNode *diff = NULL; NULL 146 daemons/controld/controld_te_utils.c xmlNode *change = NULL; NULL 148 daemons/controld/controld_te_utils.c CRM_CHECK(transition_graph != NULL, return); NULL 166 daemons/controld/controld_te_utils.c controld_expect_sched_reply(NULL); NULL 175 daemons/controld/controld_te_utils.c xmlNode *search = NULL; NULL 195 daemons/controld/controld_te_utils.c if(reason == NULL) { NULL 200 daemons/controld/controld_te_utils.c } else if(change == NULL) { NULL 211 daemons/controld/controld_te_utils.c const char *kind = NULL; NULL 259 daemons/controld/controld_te_utils.c } else if (pcmk__strcase_any_of(kind, XML_CIB_TAG_STATE, XML_CIB_TAG_NODE, NULL)) { NULL 286 daemons/controld/controld_te_utils.c register_fsa_input(C_FSA_INTERNAL, I_PE_CALC, NULL); NULL 49 daemons/controld/controld_throttle.c static GHashTable *throttle_records = NULL; NULL 50 daemons/controld/controld_throttle.c static mainloop_timer_t *throttle_timer = NULL; NULL 81 daemons/controld/controld_throttle.c return pid? crm_strdup_printf("/proc/%lld/stat", (long long) pid) : NULL; NULL 125 daemons/controld/controld_throttle.c static char *loadfile = NULL; NULL 131 daemons/controld/controld_throttle.c FILE *stream = NULL; NULL 132 daemons/controld/controld_throttle.c time_t now = time(NULL); NULL 134 daemons/controld/controld_throttle.c if(load == NULL) { NULL 140 daemons/controld/controld_throttle.c if(loadfile == NULL) { NULL 145 daemons/controld/controld_throttle.c if (loadfile == NULL) { NULL 154 daemons/controld/controld_throttle.c if(stream == NULL) { NULL 158 daemons/controld/controld_throttle.c free(loadfile); loadfile = NULL; NULL 213 daemons/controld/controld_throttle.c FILE *stream = NULL; NULL 216 daemons/controld/controld_throttle.c if(load == NULL) { NULL 221 daemons/controld/controld_throttle.c if(stream == NULL) { NULL 231 daemons/controld/controld_throttle.c *load = strtof(buffer, NULL); NULL 361 daemons/controld/controld_throttle.c xmlNode *xml = NULL; NULL 369 daemons/controld/controld_throttle.c xml = create_request(CRM_OP_THROTTLE, NULL, NULL, CRM_SYSTEM_CRMD, CRM_SYSTEM_CRMD, NULL); NULL 373 daemons/controld/controld_throttle.c send_cluster_message(NULL, crm_msg_crmd, xml, TRUE); NULL 411 daemons/controld/controld_throttle.c if (env_limit != NULL) { NULL 415 daemons/controld/controld_throttle.c max = crm_parse_ll(preference, NULL); NULL 428 daemons/controld/controld_throttle.c if(throttle_records == NULL) { NULL 430 daemons/controld/controld_throttle.c crm_str_hash, g_str_equal, NULL, throttle_record_free); NULL 431 daemons/controld/controld_throttle.c throttle_timer = mainloop_timer_add("throttle", 30 * 1000, TRUE, throttle_timer_cb, NULL); NULL 434 daemons/controld/controld_throttle.c throttle_update_job_max(NULL); NULL 441 daemons/controld/controld_throttle.c if (throttle_timer != NULL) { NULL 443 daemons/controld/controld_throttle.c throttle_timer = NULL; NULL 445 daemons/controld/controld_throttle.c if (throttle_records != NULL) { NULL 447 daemons/controld/controld_throttle.c throttle_records = NULL; NULL 458 daemons/controld/controld_throttle.c struct throttle_record_s *r = NULL; NULL 462 daemons/controld/controld_throttle.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &r)) { NULL 496 daemons/controld/controld_throttle.c struct throttle_record_s *r = NULL; NULL 499 daemons/controld/controld_throttle.c if(r == NULL) { NULL 535 daemons/controld/controld_throttle.c struct throttle_record_s *r = NULL; NULL 543 daemons/controld/controld_throttle.c if(r == NULL) { NULL 20 daemons/controld/controld_timers.c fsa_timer_t *wait_timer = NULL; NULL 23 daemons/controld/controld_timers.c fsa_timer_t *recheck_timer = NULL; NULL 26 daemons/controld/controld_timers.c fsa_timer_t *election_trigger = NULL; NULL 29 daemons/controld/controld_timers.c fsa_timer_t *transition_timer = NULL; NULL 32 daemons/controld/controld_timers.c fsa_timer_t *integration_timer = NULL; NULL 35 daemons/controld/controld_timers.c fsa_timer_t *finalization_timer = NULL; NULL 38 daemons/controld/controld_timers.c fsa_timer_t *shutdown_escalation_timer = NULL; NULL 73 daemons/controld/controld_timers.c register_fsa_input(cause, I_ELECTION, NULL); NULL 130 daemons/controld/controld_timers.c crm_write_blackbox(0, NULL); NULL 142 daemons/controld/controld_timers.c register_fsa_error_adv(C_FSA_INTERNAL, I_ELECTION, NULL, NULL, NULL 146 daemons/controld/controld_timers.c register_fsa_input_before(C_TIMER_POPPED, timer->fsa_input, NULL); NULL 158 daemons/controld/controld_timers.c register_fsa_input(C_TIMER_POPPED, timer->fsa_input, NULL); NULL 171 daemons/controld/controld_timers.c if (transition_timer == NULL) { NULL 176 daemons/controld/controld_timers.c if (integration_timer == NULL) { NULL 181 daemons/controld/controld_timers.c if (finalization_timer == NULL) { NULL 186 daemons/controld/controld_timers.c if (election_trigger == NULL) { NULL 191 daemons/controld/controld_timers.c if (shutdown_escalation_timer == NULL) { NULL 196 daemons/controld/controld_timers.c if (wait_timer == NULL) { NULL 201 daemons/controld/controld_timers.c if (recheck_timer == NULL) { NULL 274 daemons/controld/controld_timers.c free(transition_timer); transition_timer = NULL; NULL 275 daemons/controld/controld_timers.c free(integration_timer); integration_timer = NULL; NULL 276 daemons/controld/controld_timers.c free(finalization_timer); finalization_timer = NULL; NULL 277 daemons/controld/controld_timers.c free(election_trigger); election_trigger = NULL; NULL 278 daemons/controld/controld_timers.c free(shutdown_escalation_timer); shutdown_escalation_timer = NULL; NULL 279 daemons/controld/controld_timers.c free(wait_timer); wait_timer = NULL; NULL 280 daemons/controld/controld_timers.c free(recheck_timer); recheck_timer = NULL; NULL 313 daemons/controld/controld_timers.c time_t diff_seconds = recheck_by - time(NULL); NULL 337 daemons/controld/controld_timers.c CRM_CHECK(timer != NULL, return FALSE); NULL 28 daemons/controld/controld_transition.c crm_graph_t *a_graph = unpack_graph(NULL, NULL); NULL 48 daemons/controld/controld_transition.c transition_graph = NULL; NULL 72 daemons/controld/controld_transition.c if (te_uuid == NULL) { NULL 77 daemons/controld/controld_transition.c if (fsa_cib_conn == NULL) { NULL 129 daemons/controld/controld_transition.c abort_transition(INFINITY, tg_restart, "Peer Cancelled", NULL); NULL 136 daemons/controld/controld_transition.c abort_transition(INFINITY, tg_stop, "Peer Halt", NULL); NULL 142 daemons/controld/controld_transition.c const char *value = NULL; NULL 143 daemons/controld/controld_transition.c xmlNode *graph_data = NULL; NULL 149 daemons/controld/controld_transition.c if (graph_file == NULL && input->xml == NULL) { NULL 151 daemons/controld/controld_transition.c register_fsa_error(C_FSA_INTERNAL, I_FAIL, NULL); NULL 157 daemons/controld/controld_transition.c abort_transition(INFINITY, tg_restart, "Transition Active", NULL); NULL 161 daemons/controld/controld_transition.c if (fsa_pe_ref == NULL || !pcmk__str_eq(fsa_pe_ref, ref, pcmk__str_casei)) { NULL 163 daemons/controld/controld_transition.c abort_transition(INFINITY, tg_restart, "Transition Redundant", NULL); NULL 168 daemons/controld/controld_transition.c if (graph_data == NULL && graph_file != NULL) { NULL 177 daemons/controld/controld_transition.c CRM_CHECK(graph_data != NULL, NULL 184 daemons/controld/controld_transition.c if (transition_graph == NULL) { NULL 185 daemons/controld/controld_transition.c CRM_CHECK(transition_graph != NULL,); NULL 25 daemons/controld/controld_utils.c const char *inputAsText = NULL; NULL 132 daemons/controld/controld_utils.c if (inputAsText == NULL) { NULL 143 daemons/controld/controld_utils.c const char *stateAsText = NULL; NULL 193 daemons/controld/controld_utils.c if (stateAsText == NULL) { NULL 204 daemons/controld/controld_utils.c const char *causeAsText = NULL; NULL 236 daemons/controld/controld_utils.c if (causeAsText == NULL) { NULL 247 daemons/controld/controld_utils.c const char *actionAsText = NULL; NULL 440 daemons/controld/controld_utils.c if (actionAsText == NULL) { NULL 454 daemons/controld/controld_utils.c if (text == NULL) { NULL 694 daemons/controld/controld_utils.c const char *dc_version = NULL; NULL 695 daemons/controld/controld_utils.c const char *welcome_from = NULL; NULL 697 daemons/controld/controld_utils.c if (msg != NULL) { NULL 703 daemons/controld/controld_utils.c CRM_CHECK(dc_version != NULL, return FALSE); NULL 704 daemons/controld/controld_utils.c CRM_CHECK(welcome_from != NULL, return FALSE); NULL 714 daemons/controld/controld_utils.c CRM_CHECK(fsa_our_dc != NULL, crm_err("We have no DC")); NULL 728 daemons/controld/controld_utils.c fsa_our_dc_version = NULL; NULL 730 daemons/controld/controld_utils.c fsa_our_dc = NULL; /* Free'd as last_dc */ NULL 732 daemons/controld/controld_utils.c if (welcome_from != NULL) { NULL 735 daemons/controld/controld_utils.c if (dc_version != NULL) { NULL 742 daemons/controld/controld_utils.c } else if (fsa_our_dc != NULL) { NULL 748 daemons/controld/controld_utils.c } else if (last_dc != NULL) { NULL 758 daemons/controld/controld_utils.c if(full && peer->state == NULL) { NULL 760 daemons/controld/controld_utils.c crm_update_peer_proc(__func__, peer, crm_proc_none, NULL); NULL 816 daemons/controld/controld_utils.c char *dc_minor = NULL; NULL 817 daemons/controld/controld_utils.c char *join_minor = NULL; NULL 845 daemons/controld/controld_utils.c dc_v = strtol(dc_minor, NULL, 10); NULL 855 daemons/controld/controld_utils.c join_v = strtol(join_minor, NULL, 10); NULL 869 daemons/controld/controld_utils.c while (node != NULL && !pcmk__str_eq(XML_CIB_TAG_STATE, TYPE(node), pcmk__str_casei)) { NULL 873 daemons/controld/controld_utils.c CRM_CHECK(node != NULL, return NULL); NULL 23 daemons/controld/controld_utils.h if(fsa_cib_conn != NULL) { \ NULL 25 daemons/controld/controld_utils.h fsa_cib_conn, CIB_OP_MODIFY, NULL, section, data, \ NULL 26 daemons/controld/controld_utils.h NULL, options, user_name); \ NULL 34 daemons/controld/controld_utils.h if (fsa_cib_conn == NULL) { NULL 45 daemons/controld/controld_utils.h if (fsa_cib_conn == NULL) { NULL 35 daemons/controld/pacemaker-controld.c GMainLoop *crmd_mainloop = NULL; NULL 40 daemons/controld/pacemaker-controld.c "help", no_argument, NULL, '?', NULL 44 daemons/controld/pacemaker-controld.c "verbose", no_argument, NULL, 'V', NULL 56 daemons/controld/pacemaker-controld.c crm_ipc_t *old_instance = NULL; NULL 58 daemons/controld/pacemaker-controld.c crmd_mainloop = g_main_loop_new(NULL, FALSE); NULL 59 daemons/controld/pacemaker-controld.c crm_log_preinit(NULL, argc, argv); NULL 60 daemons/controld/pacemaker-controld.c pcmk__set_cli_options(NULL, "[options]", long_options, NULL 65 daemons/controld/pacemaker-controld.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); NULL 90 daemons/controld/pacemaker-controld.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); NULL 112 daemons/controld/pacemaker-controld.c old_instance = NULL; NULL 115 daemons/controld/pacemaker-controld.c if (pcmk__daemon_can_write(PE_STATE_DIR, NULL) == FALSE) { NULL 122 daemons/controld/pacemaker-controld.c } else if (pcmk__daemon_can_write(CRM_CONFIG_DIR, NULL) == FALSE) { NULL 152 daemons/controld/pacemaker-controld.c register_fsa_input(C_STARTUP, I_STARTUP, NULL); NULL 27 daemons/execd/cts-exec-helper.c "help", no_argument, NULL, '?', NULL 28 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 31 daemons/execd/cts-exec-helper.c "verbose", no_argument, NULL, 'V', NULL 35 daemons/execd/cts-exec-helper.c "quiet", no_argument, NULL, 'Q', NULL 39 daemons/execd/cts-exec-helper.c "tls", no_argument, NULL, 'S', NULL 43 daemons/execd/cts-exec-helper.c "listen", required_argument, NULL, 'l', NULL 47 daemons/execd/cts-exec-helper.c "api-call", required_argument, NULL, 'c', NULL 51 daemons/execd/cts-exec-helper.c "no-wait", no_argument, NULL, 'w', NULL 55 daemons/execd/cts-exec-helper.c "is-running", no_argument, NULL, 'R', NULL 60 daemons/execd/cts-exec-helper.c "notify-orig", no_argument, NULL, 'n', NULL 65 daemons/execd/cts-exec-helper.c "notify-changes", no_argument, NULL, 'o', NULL 70 daemons/execd/cts-exec-helper.c "-spacer-", no_argument, NULL, '-', NULL 74 daemons/execd/cts-exec-helper.c "action", required_argument, NULL, 'a', NULL 75 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 78 daemons/execd/cts-exec-helper.c "rsc-id", required_argument, NULL, 'r', NULL 79 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 82 daemons/execd/cts-exec-helper.c "cancel-call-id", required_argument, NULL, 'x', NULL 83 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 86 daemons/execd/cts-exec-helper.c "provider", required_argument, NULL, 'P', NULL 87 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 90 daemons/execd/cts-exec-helper.c "class", required_argument, NULL, 'C', NULL 91 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 94 daemons/execd/cts-exec-helper.c "type", required_argument, NULL, 'T', NULL 95 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 98 daemons/execd/cts-exec-helper.c "interval", required_argument, NULL, 'i', NULL 99 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 102 daemons/execd/cts-exec-helper.c "timeout", required_argument, NULL, 't', NULL 103 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 106 daemons/execd/cts-exec-helper.c "start-delay", required_argument, NULL, 's', NULL 107 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 110 daemons/execd/cts-exec-helper.c "param-key", required_argument, NULL, 'k', NULL 111 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 114 daemons/execd/cts-exec-helper.c "param-val", required_argument, NULL, 'v', NULL 115 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 118 daemons/execd/cts-exec-helper.c "-spacer-", no_argument, NULL, '-', NULL 119 daemons/execd/cts-exec-helper.c NULL, pcmk__option_default NULL 124 daemons/execd/cts-exec-helper.c static cib_t *cib_conn = NULL; NULL 150 daemons/execd/cts-exec-helper.c static GMainLoop *mainloop = NULL; NULL 151 daemons/execd/cts-exec-helper.c static lrmd_t *lrmd_conn = NULL; NULL 180 daemons/execd/cts-exec-helper.c lrmd_conn = NULL; NULL 229 daemons/execd/cts-exec-helper.c start_test(NULL); NULL 274 daemons/execd/cts-exec-helper.c g_timeout_add(options.timeout, timeout_err, NULL); NULL 285 daemons/execd/cts-exec-helper.c NULL, NULL 320 daemons/execd/cts-exec-helper.c char *output = NULL; NULL 330 daemons/execd/cts-exec-helper.c lrmd_list_t *list = NULL; NULL 331 daemons/execd/cts-exec-helper.c lrmd_list_t *iter = NULL; NULL 337 daemons/execd/cts-exec-helper.c for (iter = list; iter != NULL; iter = iter->next) { NULL 347 daemons/execd/cts-exec-helper.c lrmd_list_t *list = NULL; NULL 348 daemons/execd/cts-exec-helper.c lrmd_list_t *iter = NULL; NULL 354 daemons/execd/cts-exec-helper.c for (iter = list; iter != NULL; iter = iter->next) { NULL 365 daemons/execd/cts-exec-helper.c lrmd_list_t *list = NULL; NULL 366 daemons/execd/cts-exec-helper.c lrmd_list_t *iter = NULL; NULL 372 daemons/execd/cts-exec-helper.c for (iter = list; iter != NULL; iter = iter->next) { NULL 383 daemons/execd/cts-exec-helper.c GList *op_list = NULL; NULL 384 daemons/execd/cts-exec-helper.c GList *op_item = NULL; NULL 388 daemons/execd/cts-exec-helper.c for (op_item = op_list; op_item != NULL; op_item = op_item->next) { NULL 427 daemons/execd/cts-exec-helper.c pe_working_set_t *data_set = NULL; NULL 428 daemons/execd/cts-exec-helper.c xmlNode *cib_xml_copy = NULL; NULL 429 daemons/execd/cts-exec-helper.c pe_resource_t *rsc = NULL; NULL 430 daemons/execd/cts-exec-helper.c GHashTable *params = NULL; NULL 431 daemons/execd/cts-exec-helper.c GHashTable *meta = NULL; NULL 439 daemons/execd/cts-exec-helper.c if (data_set == NULL) { NULL 453 daemons/execd/cts-exec-helper.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); NULL 458 daemons/execd/cts-exec-helper.c } else if (cib_xml_copy == NULL) { NULL 464 daemons/execd/cts-exec-helper.c if (cli_config_update(&cib_xml_copy, NULL, FALSE) == FALSE) { NULL 471 daemons/execd/cts-exec-helper.c data_set->now = crm_time_new(NULL); NULL 488 daemons/execd/cts-exec-helper.c get_rsc_attributes(params, rsc, NULL, data_set); NULL 489 daemons/execd/cts-exec-helper.c get_meta_attributes(meta, rsc, NULL, data_set); NULL 492 daemons/execd/cts-exec-helper.c char *key = NULL; NULL 493 daemons/execd/cts-exec-helper.c char *value = NULL; NULL 503 daemons/execd/cts-exec-helper.c char *key = NULL; NULL 504 daemons/execd/cts-exec-helper.c char *value = NULL; NULL 527 daemons/execd/cts-exec-helper.c char *key = NULL; NULL 528 daemons/execd/cts-exec-helper.c char *val = NULL; NULL 533 daemons/execd/cts-exec-helper.c pcmk__set_cli_options(NULL, "<mode> [options]", long_options, NULL 538 daemons/execd/cts-exec-helper.c flag = pcmk__next_cli_option(argc, argv, &option_index, NULL); NULL 611 daemons/execd/cts-exec-helper.c key = val = NULL; NULL 618 daemons/execd/cts-exec-helper.c key = val = NULL; NULL 638 daemons/execd/cts-exec-helper.c "list_standards", "list_ocf_providers", NULL)) { NULL 642 daemons/execd/cts-exec-helper.c crm_log_init(NULL, LOG_INFO, TRUE, (options.verbose? TRUE : FALSE), NULL 673 daemons/execd/cts-exec-helper.c lrmd_conn = lrmd_remote_api_new(NULL, "localhost", 0); NULL 677 daemons/execd/cts-exec-helper.c trig = mainloop_add_trigger(G_PRIORITY_HIGH, start_test, NULL); NULL 682 daemons/execd/cts-exec-helper.c mainloop = g_main_loop_new(NULL, FALSE); NULL 685 daemons/execd/cts-exec-helper.c if (cib_conn != NULL) { NULL 30 daemons/execd/execd_alerts.c if (inflight_alerts == NULL) { NULL 40 daemons/execd/execd_alerts.c if (inflight_alerts != NULL) { NULL 54 daemons/execd/execd_alerts.c while (g_hash_table_iter_next(&iter, NULL, &timeout)) { NULL 79 daemons/execd/execd_alerts.c action->cb_data = NULL; NULL 90 daemons/execd/execd_alerts.c svc_action_t *action = NULL; NULL 93 daemons/execd/execd_alerts.c GHashTable *params = NULL; NULL 94 daemons/execd/execd_alerts.c struct alert_cb_s *cb_data = NULL; NULL 96 daemons/execd/execd_alerts.c if ((alert_id == NULL) || (alert_path == NULL) || NULL 97 daemons/execd/execd_alerts.c (client == NULL) || (client->id == NULL)) { /* hint static analyzer */ NULL 113 daemons/execd/execd_alerts.c CRM_CHECK(cb_data != NULL, NULL 118 daemons/execd/execd_alerts.c CRM_CHECK(cb_data->client_id != NULL, NULL 152 daemons/execd/execd_alerts.c if (inflight_alerts != NULL) { NULL 167 daemons/execd/execd_alerts.c if (inflight_alerts != NULL) { NULL 175 daemons/execd/execd_alerts.c inflight_alerts = NULL; NULL 34 daemons/execd/execd_commands.c GHashTable *rsc_list = NULL; NULL 118 daemons/execd/execd_commands.c return (timespec != NULL) && NULL 133 daemons/execd/execd_commands.c if ((t_orig != NULL) && !time_is_set(t_orig)) { NULL 158 daemons/execd/execd_commands.c if (now == NULL) { NULL 249 daemons/execd/execd_commands.c lrmd_rsc_t *rsc = NULL; NULL 269 daemons/execd/execd_commands.c lrmd_cmd_t *cmd = NULL; NULL 349 daemons/execd/execd_commands.c CRM_ASSERT(rsc != NULL); NULL 376 daemons/execd/execd_commands.c lrmd_rsc_t *rsc = NULL; NULL 379 daemons/execd/execd_commands.c rsc = cmd->rsc_id ? g_hash_table_lookup(rsc_list, cmd->rsc_id) : NULL; NULL 391 daemons/execd/execd_commands.c GListPtr gIter = NULL; NULL 392 daemons/execd/execd_commands.c lrmd_cmd_t * dup = NULL; NULL 399 daemons/execd/execd_commands.c for (gIter = rsc->pending_ops; gIter != NULL; gIter = gIter->next) { NULL 410 daemons/execd/execd_commands.c for (gIter = rsc->recurring_ops; gIter != NULL; gIter = gIter->next) { NULL 434 daemons/execd/execd_commands.c cmd->userdata_str = NULL; NULL 459 daemons/execd/execd_commands.c CRM_CHECK(cmd != NULL, return); NULL 460 daemons/execd/execd_commands.c CRM_CHECK(rsc != NULL, return); NULL 474 daemons/execd/execd_commands.c cancel_all_recurring(rsc, NULL); NULL 491 daemons/execd/execd_commands.c xmlNode *reply = create_xml_node(NULL, T_LRMD_REPLY); NULL 506 daemons/execd/execd_commands.c const char *msg = NULL; NULL 508 daemons/execd/execd_commands.c CRM_CHECK(client != NULL, return); NULL 509 daemons/execd/execd_commands.c if (client->name == NULL) { NULL 547 daemons/execd/execd_commands.c xmlNode *notify = NULL; NULL 550 daemons/execd/execd_commands.c int exec_time = time_diff_ms(NULL, &(cmd->t_run)); NULL 575 daemons/execd/execd_commands.c notify = create_xml_node(NULL, T_LRMD_NOTIFY); NULL 607 daemons/execd/execd_commands.c char *key = NULL; NULL 608 daemons/execd/execd_commands.c char *value = NULL; NULL 636 daemons/execd/execd_commands.c xmlNode *notify = NULL; NULL 643 daemons/execd/execd_commands.c notify = create_xml_node(NULL, T_LRMD_NOTIFY); NULL 667 daemons/execd/execd_commands.c cmd->exit_reason = NULL; NULL 669 daemons/execd/execd_commands.c cmd->output = NULL; NULL 676 daemons/execd/execd_commands.c rsc ? rsc->active : NULL, cmd); NULL 679 daemons/execd/execd_commands.c rsc->active = NULL; NULL 837 daemons/execd/execd_commands.c data.notify = create_xml_node(NULL, T_LRMD_NOTIFY); NULL 847 daemons/execd/execd_commands.c const char *cur = NULL; NULL 848 daemons/execd/execd_commands.c const char *last = NULL; NULL 850 daemons/execd/execd_commands.c char *eol = NULL; NULL 853 daemons/execd/execd_commands.c if (output == NULL) { NULL 854 daemons/execd/execd_commands.c return NULL; NULL 862 daemons/execd/execd_commands.c for (; cur != NULL; cur = strstr(cur, PCMK_OCF_REASON_PREFIX)) { NULL 867 daemons/execd/execd_commands.c if (last == NULL) { NULL 868 daemons/execd/execd_commands.c return NULL; NULL 883 daemons/execd/execd_commands.c lrmd_rsc_t *rsc = NULL; NULL 884 daemons/execd/execd_commands.c char *key = NULL; NULL 901 daemons/execd/execd_commands.c const char *rclass = NULL; NULL 915 daemons/execd/execd_commands.c cmd->epoch_rcchange = time(NULL); NULL 922 daemons/execd/execd_commands.c rsc = cmd->rsc_id ? g_hash_table_lookup(rsc_list, cmd->rsc_id) : NULL; NULL 933 daemons/execd/execd_commands.c && pcmk__strcase_any_of(cmd->action, "start", "stop", NULL)) { NULL 943 daemons/execd/execd_commands.c } else if (cmd->real_action != NULL) { NULL 954 daemons/execd/execd_commands.c int time_sum = time_diff_ms(NULL, &(cmd->t_first_run)); NULL 996 daemons/execd/execd_commands.c int time_sum = time_diff_ms(NULL, &(cmd->t_first_run)); NULL 1024 daemons/execd/execd_commands.c rsc->active = NULL; NULL 1155 daemons/execd/execd_commands.c GList *cmd_list = NULL; NULL 1156 daemons/execd/execd_commands.c GList *cmd_iter = NULL; NULL 1157 daemons/execd/execd_commands.c lrmd_rsc_t *rsc = NULL; NULL 1158 daemons/execd/execd_commands.c char *key = NULL; NULL 1184 daemons/execd/execd_commands.c rsc->pending_ops = rsc->recurring_ops = NULL; NULL 1216 daemons/execd/execd_commands.c char *key = NULL; NULL 1217 daemons/execd/execd_commands.c char *value = NULL; NULL 1218 daemons/execd/execd_commands.c stonith_key_value_t *device_params = NULL; NULL 1337 daemons/execd/execd_commands.c svc_action_t *action = NULL; NULL 1338 daemons/execd/execd_commands.c GHashTable *params_copy = NULL; NULL 1389 daemons/execd/execd_commands.c action = NULL; NULL 1399 daemons/execd/execd_commands.c lrmd_cmd_t *cmd = NULL; NULL 1401 daemons/execd/execd_commands.c CRM_CHECK(rsc != NULL, return FALSE); NULL 1424 daemons/execd/execd_commands.c cmd->epoch_last_run = time(NULL); NULL 1457 daemons/execd/execd_commands.c GListPtr gIter = NULL; NULL 1463 daemons/execd/execd_commands.c while (gIter != NULL) { NULL 1469 daemons/execd/execd_commands.c cmd_finalize(cmd, NULL); NULL 1477 daemons/execd/execd_commands.c while (gIter != NULL) { NULL 1488 daemons/execd/execd_commands.c cmd_finalize(cmd, NULL); NULL 1530 daemons/execd/execd_commands.c if ((client->remote != NULL) && client->remote->tls_handshake_complete) { NULL 1576 daemons/execd/execd_commands.c xmlNode *reply = NULL; NULL 1577 daemons/execd/execd_commands.c lrmd_rsc_t *rsc = NULL; NULL 1579 daemons/execd/execd_commands.c if (rsc_id == NULL) { NULL 1583 daemons/execd/execd_commands.c if (rsc == NULL) { NULL 1604 daemons/execd/execd_commands.c lrmd_rsc_t *rsc = NULL; NULL 1613 daemons/execd/execd_commands.c if (rsc == NULL) { NULL 1634 daemons/execd/execd_commands.c lrmd_rsc_t *rsc = NULL; NULL 1635 daemons/execd/execd_commands.c lrmd_cmd_t *cmd = NULL; NULL 1662 daemons/execd/execd_commands.c GListPtr gIter = NULL; NULL 1680 daemons/execd/execd_commands.c for (gIter = rsc->pending_ops; gIter != NULL; gIter = gIter->next) { NULL 1695 daemons/execd/execd_commands.c for (gIter = rsc->recurring_ops; gIter != NULL; gIter = gIter->next) { NULL 1724 daemons/execd/execd_commands.c GList *cmd_list = NULL; NULL 1725 daemons/execd/execd_commands.c GList *cmd_iter = NULL; NULL 1783 daemons/execd/execd_commands.c for (GList *item = rsc->recurring_ops; item != NULL; item = item->next) { NULL 1798 daemons/execd/execd_commands.c const char *rsc_id = NULL; NULL 1799 daemons/execd/execd_commands.c lrmd_rsc_t *rsc = NULL; NULL 1800 daemons/execd/execd_commands.c xmlNode *reply = NULL; NULL 1801 daemons/execd/execd_commands.c xmlNode *rsc_xml = NULL; NULL 1813 daemons/execd/execd_commands.c if (rsc_id != NULL) { NULL 1815 daemons/execd/execd_commands.c if (rsc == NULL) { NULL 1825 daemons/execd/execd_commands.c if (rsc_id == NULL) { NULL 1827 daemons/execd/execd_commands.c char *key = NULL; NULL 1848 daemons/execd/execd_commands.c xmlNode *reply = NULL; NULL 1924 daemons/execd/execd_commands.c CRM_LOG_ASSERT(data != NULL); NULL 1960 daemons/execd/execd_commands.c if (reply == NULL) { NULL 31 daemons/execd/pacemaker-execd.c static GMainLoop *mainloop = NULL; NULL 32 daemons/execd/pacemaker-execd.c static qb_ipcs_service_t *ipcs = NULL; NULL 33 daemons/execd/pacemaker-execd.c static stonith_t *stonith_api = NULL; NULL 59 daemons/execd/pacemaker-execd.c stonith_api = NULL; NULL 62 daemons/execd/pacemaker-execd.c if (stonith_api == NULL) { NULL 66 daemons/execd/pacemaker-execd.c if (stonith_api == NULL) { NULL 68 daemons/execd/pacemaker-execd.c return NULL; NULL 75 daemons/execd/pacemaker-execd.c stonith_api = NULL; NULL 89 daemons/execd/pacemaker-execd.c if (pcmk__new_client(c, uid, gid) == NULL) { NULL 101 daemons/execd/pacemaker-execd.c CRM_ASSERT(new_client != NULL); NULL 116 daemons/execd/pacemaker-execd.c CRM_CHECK(client != NULL, crm_err("Invalid client"); NULL 118 daemons/execd/pacemaker-execd.c CRM_CHECK(client->id != NULL, crm_err("Invalid client: %p", client); NULL 131 daemons/execd/pacemaker-execd.c if (value == NULL) { NULL 168 daemons/execd/pacemaker-execd.c if (shutting_down && (ipc_proxy_get_provider() == NULL)) { NULL 169 daemons/execd/pacemaker-execd.c lrmd_exit(NULL); NULL 179 daemons/execd/pacemaker-execd.c if (client == NULL) { NULL 234 daemons/execd/pacemaker-execd.c if (client->ipcs == NULL) { NULL 241 daemons/execd/pacemaker-execd.c if (client->remote == NULL) { NULL 334 daemons/execd/pacemaker-execd.c shutdown_ack_timer = g_timeout_add_seconds(20, lrmd_exit, NULL); NULL 345 daemons/execd/pacemaker-execd.c lrmd_exit(NULL); NULL 378 daemons/execd/pacemaker-execd.c shutdown_ack_timer = g_timeout_add(0, lrmd_exit, NULL); NULL 389 daemons/execd/pacemaker-execd.c "help", no_argument, NULL, '?', NULL 393 daemons/execd/pacemaker-execd.c "version", no_argument, NULL, '$', NULL 397 daemons/execd/pacemaker-execd.c "verbose", no_argument, NULL, 'V', NULL 401 daemons/execd/pacemaker-execd.c "logfile", required_argument, NULL, 'l', NULL 406 daemons/execd/pacemaker-execd.c "port", required_argument, NULL, 'p', NULL 429 daemons/execd/pacemaker-execd.c const char *option = NULL; NULL 437 daemons/execd/pacemaker-execd.c pcmk__set_cli_options(NULL, "[options]", long_options, EXECD_DESC); NULL 440 daemons/execd/pacemaker-execd.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); NULL 465 daemons/execd/pacemaker-execd.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); NULL 473 daemons/execd/pacemaker-execd.c if (option && !pcmk__strcase_any_of(option, "none", "/dev/null", NULL)) { NULL 497 daemons/execd/pacemaker-execd.c rsc_list = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, free_rsc); NULL 499 daemons/execd/pacemaker-execd.c if (ipcs == NULL) { NULL 513 daemons/execd/pacemaker-execd.c mainloop = g_main_loop_new(NULL, FALSE); NULL 518 daemons/execd/pacemaker-execd.c lrmd_exit(NULL); NULL 92 daemons/execd/remoted_pidone.c *first = *last = NULL; NULL 104 daemons/execd/remoted_pidone.c if (fp != NULL) { NULL 107 daemons/execd/remoted_pidone.c while (fgets(line, LINE_MAX, fp) != NULL) { NULL 108 daemons/execd/remoted_pidone.c char *name = NULL; NULL 109 daemons/execd/remoted_pidone.c char *end = NULL; NULL 110 daemons/execd/remoted_pidone.c char *value = NULL; NULL 111 daemons/execd/remoted_pidone.c char *quote = NULL; NULL 138 daemons/execd/remoted_pidone.c value = NULL; NULL 152 daemons/execd/remoted_pidone.c value = NULL; NULL 169 daemons/execd/remoted_pidone.c if (quote == NULL) { NULL 178 daemons/execd/remoted_pidone.c value = NULL; NULL 183 daemons/execd/remoted_pidone.c if ((value == NULL) && (strchr(line, '\n') == NULL)) { NULL 186 daemons/execd/remoted_pidone.c value = NULL; // Don't care, make compiler happy NULL 208 daemons/execd/remoted_pidone.c if (pid1 == NULL) { NULL 228 daemons/execd/remoted_pidone.c if (pcmk__env_option("logfile") == NULL) { NULL 238 daemons/execd/remoted_pidone.c sigprocmask(SIG_UNBLOCK, &set, NULL); NULL 256 daemons/execd/remoted_pidone.c char *LastArgv = NULL; NULL 264 daemons/execd/remoted_pidone.c for (i = 0; envp[i] != NULL; i++) { NULL 282 daemons/execd/remoted_pidone.c argv[1] = NULL; NULL 25 daemons/execd/remoted_proxy.c static qb_ipcs_service_t *cib_ro = NULL; NULL 26 daemons/execd/remoted_proxy.c static qb_ipcs_service_t *cib_rw = NULL; NULL 27 daemons/execd/remoted_proxy.c static qb_ipcs_service_t *cib_shm = NULL; NULL 29 daemons/execd/remoted_proxy.c static qb_ipcs_service_t *attrd_ipcs = NULL; NULL 30 daemons/execd/remoted_proxy.c static qb_ipcs_service_t *crmd_ipcs = NULL; NULL 31 daemons/execd/remoted_proxy.c static qb_ipcs_service_t *stonith_ipcs = NULL; NULL 34 daemons/execd/remoted_proxy.c static GList *ipc_providers = NULL; NULL 36 daemons/execd/remoted_proxy.c static GHashTable *ipc_clients = NULL; NULL 51 daemons/execd/remoted_proxy.c return ipc_providers? (pcmk__client_t *) (ipc_providers->data) : NULL; NULL 72 daemons/execd/remoted_proxy.c if (ipc_proxy == NULL) { NULL 82 daemons/execd/remoted_proxy.c if (client == NULL) { NULL 98 daemons/execd/remoted_proxy.c msg = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 164 daemons/execd/remoted_proxy.c if (ipc_client == NULL) { NULL 165 daemons/execd/remoted_proxy.c xmlNode *msg = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 221 daemons/execd/remoted_proxy.c xmlNode *request = NULL; NULL 222 daemons/execd/remoted_proxy.c xmlNode *msg = NULL; NULL 248 daemons/execd/remoted_proxy.c CRM_CHECK(client != NULL, crm_err("Invalid client"); NULL 250 daemons/execd/remoted_proxy.c CRM_CHECK(client->id != NULL, crm_err("Invalid client: %p", client); NULL 259 daemons/execd/remoted_proxy.c msg = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 283 daemons/execd/remoted_proxy.c xmlNode *msg = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 304 daemons/execd/remoted_proxy.c if (client == NULL) { NULL 313 daemons/execd/remoted_proxy.c xmlNode *msg = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 323 daemons/execd/remoted_proxy.c client->userdata = NULL; NULL 337 daemons/execd/remoted_proxy.c .connection_created = NULL, NULL 345 daemons/execd/remoted_proxy.c .connection_created = NULL, NULL 353 daemons/execd/remoted_proxy.c .connection_created = NULL, NULL 361 daemons/execd/remoted_proxy.c .connection_created = NULL, NULL 369 daemons/execd/remoted_proxy.c .connection_created = NULL, NULL 386 daemons/execd/remoted_proxy.c pcmk__client_t *ipc_client = NULL; NULL 387 daemons/execd/remoted_proxy.c char *key = NULL; NULL 388 daemons/execd/remoted_proxy.c GList *remove_these = NULL; NULL 389 daemons/execd/remoted_proxy.c GListPtr gIter = NULL; NULL 405 daemons/execd/remoted_proxy.c for (gIter = remove_these; gIter != NULL; gIter = gIter->next) { NULL 419 daemons/execd/remoted_proxy.c ipc_clients = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, NULL); NULL 426 daemons/execd/remoted_proxy.c if (crmd_ipcs == NULL) { NULL 438 daemons/execd/remoted_proxy.c ipc_providers = NULL; NULL 442 daemons/execd/remoted_proxy.c ipc_clients = NULL; NULL 448 daemons/execd/remoted_proxy.c cib_ro = NULL; NULL 449 daemons/execd/remoted_proxy.c cib_rw = NULL; NULL 450 daemons/execd/remoted_proxy.c cib_shm = NULL; NULL 90 daemons/execd/remoted_tls.c xmlNode *request = NULL; NULL 150 daemons/execd/remoted_tls.c if (client == NULL) { NULL 163 daemons/execd/remoted_tls.c client_disconnect_cleanup(NULL); NULL 195 daemons/execd/remoted_tls.c client->remote->source = NULL; NULL 206 daemons/execd/remoted_tls.c gnutls_session_t *session = NULL; NULL 207 daemons/execd/remoted_tls.c pcmk__client_t *new_client = NULL; NULL 223 daemons/execd/remoted_tls.c if (session == NULL) { NULL 228 daemons/execd/remoted_tls.c new_client = pcmk__new_unauth_client(NULL); NULL 337 daemons/execd/remoted_tls.c struct addrinfo *res = NULL, *iter; NULL 338 daemons/execd/remoted_tls.c gnutls_datum_t psk_key = { NULL, 0 }; NULL 395 daemons/execd/remoted_tls.c if (iter == NULL && filter == AF_INET6) { NULL 403 daemons/execd/remoted_tls.c NULL, &remote_listen_fd_callbacks); NULL 33 daemons/fenced/cts-fence-helper.c static GMainLoop *mainloop = NULL; NULL 34 daemons/fenced/cts-fence-helper.c static crm_trigger_t *trig = NULL; NULL 63 daemons/fenced/cts-fence-helper.c "verbose", no_argument, NULL, 'V', NULL 64 daemons/fenced/cts-fence-helper.c NULL, pcmk__option_default NULL 67 daemons/fenced/cts-fence-helper.c "version", no_argument, NULL, '$', NULL 68 daemons/fenced/cts-fence-helper.c NULL, pcmk__option_default NULL 71 daemons/fenced/cts-fence-helper.c "help", no_argument, NULL, '?', NULL 72 daemons/fenced/cts-fence-helper.c NULL, pcmk__option_default NULL 75 daemons/fenced/cts-fence-helper.c "passive", no_argument, NULL, 'p', NULL 76 daemons/fenced/cts-fence-helper.c NULL, pcmk__option_default NULL 79 daemons/fenced/cts-fence-helper.c "api_test", no_argument, NULL, 't', NULL 80 daemons/fenced/cts-fence-helper.c NULL, pcmk__option_default NULL 83 daemons/fenced/cts-fence-helper.c "mainloop_api_test", no_argument, NULL, 'm', NULL 84 daemons/fenced/cts-fence-helper.c NULL, pcmk__option_default NULL 89 daemons/fenced/cts-fence-helper.c static stonith_t *st = NULL; NULL 151 daemons/fenced/cts-fence-helper.c st->cmds->register_callback(st, 0, 120, st_opt_timeout_updates, NULL, "st_global_callback", NULL 185 daemons/fenced/cts-fence-helper.c stonith_key_value_t *params = NULL; NULL 209 daemons/fenced/cts-fence-helper.c stonith_key_value_t *params = NULL; NULL 218 daemons/fenced/cts-fence-helper.c params = NULL; NULL 245 daemons/fenced/cts-fence-helper.c stonith_key_value_t *params = NULL; NULL 255 daemons/fenced/cts-fence-helper.c params = NULL; NULL 257 daemons/fenced/cts-fence-helper.c single_test(st->cmds->list(st, st_opts, "test-id", NULL, 1), "list", 1, 0); NULL 300 daemons/fenced/cts-fence-helper.c st->cmds->register_callback(st, 0, 120, st_opt_timeout_updates, NULL, "st_global_callback", NULL 314 daemons/fenced/cts-fence-helper.c char *tmp = NULL; NULL 315 daemons/fenced/cts-fence-helper.c stonith_key_value_t *params = NULL; NULL 389 daemons/fenced/cts-fence-helper.c st_opt_timeout_updates, NULL, "callback", mainloop_callback); NULL 423 daemons/fenced/cts-fence-helper.c uint32_t diff = (time(NULL) - begin); NULL 437 daemons/fenced/cts-fence-helper.c begin = time(NULL); NULL 499 daemons/fenced/cts-fence-helper.c stonith_key_value_t *params = NULL; NULL 506 daemons/fenced/cts-fence-helper.c params = NULL; NULL 512 daemons/fenced/cts-fence-helper.c params = NULL; NULL 587 daemons/fenced/cts-fence-helper.c trig = mainloop_add_trigger(G_PRIORITY_HIGH, trigger_iterate_mainloop_tests, NULL); NULL 592 daemons/fenced/cts-fence-helper.c mainloop = g_main_loop_new(NULL, FALSE); NULL 606 daemons/fenced/cts-fence-helper.c pcmk__set_cli_options(NULL, "<mode> [options]", long_options, NULL 611 daemons/fenced/cts-fence-helper.c flag = pcmk__next_cli_option(argc, argv, &option_index, NULL); NULL 639 daemons/fenced/cts-fence-helper.c crm_log_init(NULL, LOG_INFO, TRUE, (verbose? TRUE : FALSE), argc, argv, NULL 651 daemons/fenced/cts-fence-helper.c if (st == NULL) { NULL 38 daemons/fenced/fenced_commands.c GHashTable *device_list = NULL; NULL 39 daemons/fenced/fenced_commands.c GHashTable *topology = NULL; NULL 40 daemons/fenced/fenced_commands.c GList *cmd_list = NULL; NULL 124 daemons/fenced/fenced_commands.c const char *value = NULL; NULL 127 daemons/fenced/fenced_commands.c if (!pcmk__strcase_any_of(action, "off", "reboot", NULL)) { NULL 142 daemons/fenced/fenced_commands.c const char *value = NULL; NULL 145 daemons/fenced/fenced_commands.c if (!pcmk__strcase_any_of(action, "off", "reboot", NULL)) { NULL 182 daemons/fenced/fenced_commands.c const char *value = NULL; NULL 233 daemons/fenced/fenced_commands.c async_command_t *cmd = NULL; NULL 237 daemons/fenced/fenced_commands.c CRM_CHECK(action != NULL, crm_log_xml_warn(msg, "NoAction"); return NULL); NULL 258 daemons/fenced/fenced_commands.c CRM_CHECK(cmd->op != NULL, crm_log_xml_warn(msg, "NoOp"); free_async_command(cmd); return NULL); NULL 259 daemons/fenced/fenced_commands.c CRM_CHECK(cmd->client != NULL, crm_log_xml_warn(msg, "NoClient")); NULL 269 daemons/fenced/fenced_commands.c const char *value = NULL; NULL 288 daemons/fenced/fenced_commands.c GListPtr gIter = NULL; NULL 289 daemons/fenced/fenced_commands.c GListPtr gIterNext = NULL; NULL 291 daemons/fenced/fenced_commands.c CRM_CHECK(device != NULL, return 0); NULL 293 daemons/fenced/fenced_commands.c for (gIter = cmd_list; gIter != NULL; gIter = gIterNext) { NULL 321 daemons/fenced/fenced_commands.c cmd->activating_on = NULL; NULL 328 daemons/fenced/fenced_commands.c const char *action_str = NULL; NULL 329 daemons/fenced/fenced_commands.c const char *host_arg = NULL; NULL 330 daemons/fenced/fenced_commands.c async_command_t *cmd = NULL; NULL 331 daemons/fenced/fenced_commands.c stonith_action_t *action = NULL; NULL 334 daemons/fenced/fenced_commands.c GListPtr gIter = NULL; NULL 335 daemons/fenced/fenced_commands.c GListPtr gIterNext = NULL; NULL 337 daemons/fenced/fenced_commands.c CRM_CHECK(device != NULL, return FALSE); NULL 347 daemons/fenced/fenced_commands.c for (gIter = device->pending_ops; gIter != NULL; gIter = gIterNext) { NULL 368 daemons/fenced/fenced_commands.c if (cmd == NULL) { NULL 384 daemons/fenced/fenced_commands.c cmd->done_cb(0, 0, NULL, cmd); NULL 400 daemons/fenced/fenced_commands.c cmd->done_cb(0, exec_rc, NULL, cmd); NULL 438 daemons/fenced/fenced_commands.c cmd->activating_on = NULL; NULL 439 daemons/fenced/fenced_commands.c cmd->done_cb(0, exec_rc, NULL, cmd); NULL 462 daemons/fenced/fenced_commands.c stonith_device_t *device = NULL; NULL 465 daemons/fenced/fenced_commands.c device = cmd->device ? g_hash_table_lookup(device_list, cmd->device) : NULL; NULL 481 daemons/fenced/fenced_commands.c CRM_CHECK(cmd != NULL, return); NULL 482 daemons/fenced/fenced_commands.c CRM_CHECK(device != NULL, return); NULL 550 daemons/fenced/fenced_commands.c GListPtr gIter = NULL; NULL 556 daemons/fenced/fenced_commands.c for (gIter = device->pending_ops; gIter != NULL; gIter = gIter->next) { NULL 560 daemons/fenced/fenced_commands.c cmd->done_cb(0, -ENODEV, NULL, cmd); NULL 578 daemons/fenced/fenced_commands.c if (device_list != NULL) { NULL 580 daemons/fenced/fenced_commands.c device_list = NULL; NULL 587 daemons/fenced/fenced_commands.c if (device_list == NULL) { NULL 588 daemons/fenced/fenced_commands.c device_list = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, NULL 596 daemons/fenced/fenced_commands.c char *name = NULL; NULL 600 daemons/fenced/fenced_commands.c if (hostmap == NULL) { NULL 625 daemons/fenced/fenced_commands.c char *value = NULL; NULL 635 daemons/fenced/fenced_commands.c value = NULL; NULL 636 daemons/fenced/fenced_commands.c name = NULL; NULL 660 daemons/fenced/fenced_commands.c GHashTable *metadata_cache = NULL; NULL 664 daemons/fenced/fenced_commands.c if (metadata_cache != NULL) { NULL 666 daemons/fenced/fenced_commands.c metadata_cache = NULL; NULL 672 daemons/fenced/fenced_commands.c if (metadata_cache == NULL) { NULL 680 daemons/fenced/fenced_commands.c xmlNode *xml = NULL; NULL 681 daemons/fenced/fenced_commands.c char *buffer = NULL; NULL 686 daemons/fenced/fenced_commands.c return NULL; NULL 688 daemons/fenced/fenced_commands.c } else if(buffer == NULL) { NULL 692 daemons/fenced/fenced_commands.c if (st == NULL) { NULL 695 daemons/fenced/fenced_commands.c return NULL; NULL 697 daemons/fenced/fenced_commands.c rc = st->cmds->metadata(st, st_opt_sync_call, agent, NULL, &buffer, 10); NULL 701 daemons/fenced/fenced_commands.c return NULL; NULL 714 daemons/fenced/fenced_commands.c xmlXPathObjectPtr xpath = NULL; NULL 741 daemons/fenced/fenced_commands.c if (actions == NULL) { NULL 758 daemons/fenced/fenced_commands.c xmlXPathObjectPtr xpath = NULL; NULL 762 daemons/fenced/fenced_commands.c if (device->agent_metadata == NULL) { NULL 775 daemons/fenced/fenced_commands.c const char *on_target = NULL; NULL 776 daemons/fenced/fenced_commands.c const char *action = NULL; NULL 779 daemons/fenced/fenced_commands.c CRM_LOG_ASSERT(match != NULL); NULL 780 daemons/fenced/fenced_commands.c if(match == NULL) { continue; }; NULL 856 daemons/fenced/fenced_commands.c if (value != NULL) { NULL 886 daemons/fenced/fenced_commands.c stonith_device_t *device = NULL; NULL 889 daemons/fenced/fenced_commands.c CRM_CHECK(agent != NULL, return device); NULL 893 daemons/fenced/fenced_commands.c CRM_CHECK(device != NULL, {free(agent); return device;}); NULL 943 daemons/fenced/fenced_commands.c const char *check_type = NULL; NULL 947 daemons/fenced/fenced_commands.c if (check_type == NULL) { NULL 975 daemons/fenced/fenced_commands.c async_command_t *cmd = NULL; NULL 983 daemons/fenced/fenced_commands.c cmd->victim = victim ? strdup(victim) : NULL; NULL 1018 daemons/fenced/fenced_commands.c stonith_device_t *dev = cmd->device ? g_hash_table_lookup(device_list, cmd->device) : NULL; NULL 1024 daemons/fenced/fenced_commands.c search_devices_record_result(search, NULL, FALSE); NULL 1049 daemons/fenced/fenced_commands.c stonith_device_t *dev = cmd->device ? g_hash_table_lookup(device_list, cmd->device) : NULL; NULL 1060 daemons/fenced/fenced_commands.c search_devices_record_result(search, NULL, FALSE); NULL 1073 daemons/fenced/fenced_commands.c dev->targets = NULL; NULL 1078 daemons/fenced/fenced_commands.c dev->targets_age = time(NULL); NULL 1100 daemons/fenced/fenced_commands.c char *key = NULL; NULL 1101 daemons/fenced/fenced_commands.c char *value = NULL; NULL 1135 daemons/fenced/fenced_commands.c return NULL; NULL 1139 daemons/fenced/fenced_commands.c return NULL; NULL 1145 daemons/fenced/fenced_commands.c return NULL; NULL 1155 daemons/fenced/fenced_commands.c stonith_device_t *dup = NULL; NULL 1158 daemons/fenced/fenced_commands.c CRM_CHECK(device != NULL, return -ENOMEM); NULL 1178 daemons/fenced/fenced_commands.c old->pending_ops = NULL; NULL 1246 daemons/fenced/fenced_commands.c if (tp->levels[lpc] != NULL) { NULL 1261 daemons/fenced/fenced_commands.c if (tp->levels[lpc] != NULL) { NULL 1275 daemons/fenced/fenced_commands.c if (topology != NULL) { NULL 1277 daemons/fenced/fenced_commands.c topology = NULL; NULL 1284 daemons/fenced/fenced_commands.c if (topology == NULL) { NULL 1285 daemons/fenced/fenced_commands.c topology = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, NULL 1320 daemons/fenced/fenced_commands.c if(target == NULL) { NULL 1325 daemons/fenced/fenced_commands.c if(stand_alone == FALSE && target == NULL) { NULL 1329 daemons/fenced/fenced_commands.c if(crm_element_value(level, XML_ATTR_STONITH_TARGET_ATTRIBUTE) == NULL) { NULL 1332 daemons/fenced/fenced_commands.c } else if(crm_element_value(level, XML_ATTR_STONITH_TARGET_VALUE) == NULL) { NULL 1346 daemons/fenced/fenced_commands.c stonith_key_value_t *output = NULL; NULL 1348 daemons/fenced/fenced_commands.c if (devices == NULL) { NULL 1357 daemons/fenced/fenced_commands.c output = stonith_key_value_add(output, NULL, line); NULL 1390 daemons/fenced/fenced_commands.c stonith_key_value_t *dIter = NULL; NULL 1391 daemons/fenced/fenced_commands.c stonith_key_value_t *devices = NULL; NULL 1402 daemons/fenced/fenced_commands.c CRM_CHECK(level != NULL, return -EINVAL); NULL 1422 daemons/fenced/fenced_commands.c if (tp == NULL) { NULL 1437 daemons/fenced/fenced_commands.c if (tp->levels[id] != NULL) { NULL 1466 daemons/fenced/fenced_commands.c CRM_CHECK(level != NULL, return -EINVAL); NULL 1481 daemons/fenced/fenced_commands.c if (tp == NULL) { NULL 1489 daemons/fenced/fenced_commands.c } else if (id > 0 && tp->levels[id] != NULL) { NULL 1491 daemons/fenced/fenced_commands.c tp->levels[id] = NULL; NULL 1524 daemons/fenced/fenced_commands.c async_command_t *cmd = NULL; NULL 1525 daemons/fenced/fenced_commands.c stonith_device_t *device = NULL; NULL 1527 daemons/fenced/fenced_commands.c if ((id == NULL) || (action == NULL)) { NULL 1535 daemons/fenced/fenced_commands.c if ((device == NULL) NULL 1545 daemons/fenced/fenced_commands.c if (cmd == NULL) { NULL 1613 daemons/fenced/fenced_commands.c const char *check_type = NULL; NULL 1615 daemons/fenced/fenced_commands.c const char *alias = NULL; NULL 1617 daemons/fenced/fenced_commands.c CRM_LOG_ASSERT(dev != NULL); NULL 1619 daemons/fenced/fenced_commands.c if (dev == NULL) { NULL 1621 daemons/fenced/fenced_commands.c } else if (host == NULL) { NULL 1644 daemons/fenced/fenced_commands.c if (alias == NULL) { NULL 1667 daemons/fenced/fenced_commands.c time_t now = time(NULL); NULL 1669 daemons/fenced/fenced_commands.c if (dev->targets == NULL || dev->targets_age + 60 < now) { NULL 1673 daemons/fenced/fenced_commands.c schedule_internal_command(__func__, dev, "list", NULL, NULL 1707 daemons/fenced/fenced_commands.c search_devices_record_result(search, dev ? dev->id : NULL, can); NULL 1727 daemons/fenced/fenced_commands.c char *key = NULL; NULL 1728 daemons/fenced/fenced_commands.c const char *check_type = NULL; NULL 1730 daemons/fenced/fenced_commands.c stonith_device_t *device = NULL; NULL 1733 daemons/fenced/fenced_commands.c callback(NULL, user_data); NULL 1739 daemons/fenced/fenced_commands.c callback(NULL, user_data); NULL 1746 daemons/fenced/fenced_commands.c if (pcmk__strcase_any_of(check_type, "status", "dynamic-list", NULL)) { NULL 1768 daemons/fenced/fenced_commands.c search->host = host ? strdup(host) : NULL; NULL 1769 daemons/fenced/fenced_commands.c search->action = action ? strdup(action) : NULL; NULL 1898 daemons/fenced/fenced_commands.c xmlNode *dev = NULL; NULL 1899 daemons/fenced/fenced_commands.c xmlNode *list = NULL; NULL 1900 daemons/fenced/fenced_commands.c GListPtr lpc = NULL; NULL 1903 daemons/fenced/fenced_commands.c list = create_xml_node(NULL, __func__); NULL 1905 daemons/fenced/fenced_commands.c for (lpc = devices; lpc != NULL; lpc = lpc->next) { NULL 1955 daemons/fenced/fenced_commands.c if (query->target == NULL) { NULL 1969 daemons/fenced/fenced_commands.c if (list != NULL) { NULL 1988 daemons/fenced/fenced_commands.c struct st_query_data *query = NULL; NULL 1989 daemons/fenced/fenced_commands.c const char *action = NULL; NULL 1990 daemons/fenced/fenced_commands.c const char *target = NULL; NULL 2009 daemons/fenced/fenced_commands.c query->reply = stonith_construct_reply(msg, NULL, NULL, pcmk_ok); NULL 2010 daemons/fenced/fenced_commands.c query->remote_peer = remote_peer ? strdup(remote_peer) : NULL; NULL 2011 daemons/fenced/fenced_commands.c query->client_id = client_id ? strdup(client_id) : NULL; NULL 2012 daemons/fenced/fenced_commands.c query->target = target ? strdup(target) : NULL; NULL 2013 daemons/fenced/fenced_commands.c query->action = action ? strdup(action) : NULL; NULL 2026 daemons/fenced/fenced_commands.c next = NULL; NULL 2029 daemons/fenced/fenced_commands.c if (cmd->victim != NULL) { NULL 2057 daemons/fenced/fenced_commands.c xmlNode *reply = NULL; NULL 2060 daemons/fenced/fenced_commands.c reply = stonith_construct_async_reply(cmd, output, NULL, rc); NULL 2065 daemons/fenced/fenced_commands.c output = NULL; NULL 2067 daemons/fenced/fenced_commands.c } else if (pcmk__str_any_of(cmd->action, "monitor", "list", "status", NULL)) { NULL 2076 daemons/fenced/fenced_commands.c log_operation(cmd, rc, pid, NULL, output, (options & st_reply_opt_merged ? TRUE : FALSE)); NULL 2085 daemons/fenced/fenced_commands.c send_cluster_message(NULL, crm_msg_stonith_ng, reply, FALSE); NULL 2099 daemons/fenced/fenced_commands.c xmlNode *notify_data = create_xml_node(NULL, T_STONITH_NOTIFY_FENCE); NULL 2110 daemons/fenced/fenced_commands.c do_stonith_notify(0, T_STONITH_NOTIFY_HISTORY, 0, NULL); NULL 2121 daemons/fenced/fenced_commands.c CRM_CHECK(cmd != NULL, return); NULL 2138 daemons/fenced/fenced_commands.c stonith_device_t *device = NULL; NULL 2139 daemons/fenced/fenced_commands.c stonith_device_t *next_device = NULL; NULL 2142 daemons/fenced/fenced_commands.c GListPtr gIter = NULL; NULL 2143 daemons/fenced/fenced_commands.c GListPtr gIterNext = NULL; NULL 2145 daemons/fenced/fenced_commands.c CRM_CHECK(cmd != NULL, return); NULL 2147 daemons/fenced/fenced_commands.c cmd->active_on = NULL; NULL 2153 daemons/fenced/fenced_commands.c (pcmk__strcase_any_of(cmd->action, "list", "monitor", "status", NULL))) { NULL 2167 daemons/fenced/fenced_commands.c for (iter = cmd->device_next; iter != NULL; iter = iter->next) { NULL 2170 daemons/fenced/fenced_commands.c if (next_device != NULL && is_action_required(cmd->action, next_device)) { NULL 2174 daemons/fenced/fenced_commands.c next_device = NULL; NULL 2190 daemons/fenced/fenced_commands.c cmd = NULL; NULL 2204 daemons/fenced/fenced_commands.c for (gIter = cmd_list; gIter != NULL; gIter = gIterNext) { NULL 2270 daemons/fenced/fenced_commands.c stonith_device_t *device = NULL; NULL 2274 daemons/fenced/fenced_commands.c if (devices != NULL) { NULL 2282 daemons/fenced/fenced_commands.c devices = NULL; /* list owned by cmd now */ NULL 2294 daemons/fenced/fenced_commands.c stonith_send_async_reply(cmd, NULL, -ENODEV, 0, st_reply_opt_none); NULL 2303 daemons/fenced/fenced_commands.c const char *device_id = NULL; NULL 2304 daemons/fenced/fenced_commands.c stonith_device_t *device = NULL; NULL 2308 daemons/fenced/fenced_commands.c if (cmd == NULL) { NULL 2315 daemons/fenced/fenced_commands.c if (device == NULL) { NULL 2325 daemons/fenced/fenced_commands.c int nodeid = crm_atoi(host, NULL); NULL 2326 daemons/fenced/fenced_commands.c crm_node_t *node = crm_find_known_peer_full(nodeid, NULL, CRM_GET_PEER_ANY); NULL 2344 daemons/fenced/fenced_commands.c xmlNode *reply = NULL; NULL 2346 daemons/fenced/fenced_commands.c reply = create_xml_node(NULL, T_STONITH_REPLY); NULL 2353 daemons/fenced/fenced_commands.c if (request == NULL) { NULL 2364 daemons/fenced/fenced_commands.c const char *name = NULL; NULL 2365 daemons/fenced/fenced_commands.c const char *value = NULL; NULL 2383 daemons/fenced/fenced_commands.c if (data != NULL) { NULL 2393 daemons/fenced/fenced_commands.c xmlNode *reply = NULL; NULL 2396 daemons/fenced/fenced_commands.c reply = create_xml_node(NULL, T_STONITH_REPLY); NULL 2416 daemons/fenced/fenced_commands.c if (data != NULL) { NULL 2425 daemons/fenced/fenced_commands.c if (peer == NULL) { NULL 2427 daemons/fenced/fenced_commands.c } else if (peer->uname == NULL) { NULL 2446 daemons/fenced/fenced_commands.c const char *alternate_host = NULL; NULL 2451 daemons/fenced/fenced_commands.c crm_node_t *entry = NULL; NULL 2454 daemons/fenced/fenced_commands.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&entry)) { NULL 2462 daemons/fenced/fenced_commands.c if (alternate_host == NULL) { NULL 2465 daemons/fenced/fenced_commands.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&entry)) { NULL 2483 daemons/fenced/fenced_commands.c (remote_peer != NULL)); NULL 2491 daemons/fenced/fenced_commands.c const char *relay_op_id = NULL; NULL 2492 daemons/fenced/fenced_commands.c const char *op_id = NULL; NULL 2493 daemons/fenced/fenced_commands.c const char *client_name = NULL; NULL 2494 daemons/fenced/fenced_commands.c const char *target = NULL; NULL 2495 daemons/fenced/fenced_commands.c remote_fencing_op_t *relay_op = NULL; NULL 2511 daemons/fenced/fenced_commands.c remote_fencing_op_t *list_op = NULL; NULL 2515 daemons/fenced/fenced_commands.c while (g_hash_table_iter_next(&iter, NULL, (void **)&list_op)) { NULL 2516 daemons/fenced/fenced_commands.c GListPtr dup_iter = NULL; NULL 2518 daemons/fenced/fenced_commands.c for (dup_iter = list_op->duplicates; dup_iter != NULL; dup_iter = dup_iter->next) { NULL 2543 daemons/fenced/fenced_commands.c xmlNode *data = NULL; NULL 2544 daemons/fenced/fenced_commands.c xmlNode *reply = NULL; NULL 2546 daemons/fenced/fenced_commands.c char *output = NULL; NULL 2557 daemons/fenced/fenced_commands.c bool allowed = (client == NULL) NULL 2566 daemons/fenced/fenced_commands.c CRM_ASSERT(client == NULL || client->request_id == id); NULL 2570 daemons/fenced/fenced_commands.c xmlNode *reply = create_xml_node(NULL, "reply"); NULL 2604 daemons/fenced/fenced_commands.c const char *flag_name = NULL; NULL 2633 daemons/fenced/fenced_commands.c if (initiate_remote_stonith_op(NULL, request, FALSE) != NULL) { NULL 2643 daemons/fenced/fenced_commands.c remote_fencing_op_t *rop = NULL; NULL 2652 daemons/fenced/fenced_commands.c const char *alternate_host = NULL; NULL 2679 daemons/fenced/fenced_commands.c const char *client_id = NULL; NULL 2680 daemons/fenced/fenced_commands.c remote_fencing_op_t *op = NULL; NULL 2701 daemons/fenced/fenced_commands.c } else if (initiate_remote_stonith_op(client, request, FALSE) != NULL) { NULL 2717 daemons/fenced/fenced_commands.c const char *device_id = NULL; NULL 2738 daemons/fenced/fenced_commands.c char *device_id = NULL; NULL 2749 daemons/fenced/fenced_commands.c char *device_id = NULL; NULL 2760 daemons/fenced/fenced_commands.c const char *name = NULL; NULL 2789 daemons/fenced/fenced_commands.c CRM_ASSERT(client == NULL || client->request_id == id); NULL 2848 daemons/fenced/fenced_commands.c CRM_ASSERT(client == NULL || client->request_id == id); NULL 45 daemons/fenced/fenced_history.c xmlNode *bcast = create_xml_node(NULL, "stonith_command"); NULL 46 daemons/fenced/fenced_history.c xmlNode *data = create_xml_node(NULL, __func__); NULL 59 daemons/fenced/fenced_history.c send_cluster_message(NULL, crm_msg_stonith_ng, bcast, FALSE); NULL 95 daemons/fenced/fenced_history.c stonith_send_broadcast_history(NULL, NULL 103 daemons/fenced/fenced_history.c do_stonith_notify(0, T_STONITH_NOTIFY_HISTORY, 0, NULL); NULL 177 daemons/fenced/fenced_history.c remote_fencing_op_t *op = NULL; NULL 187 daemons/fenced/fenced_history.c while (g_hash_table_iter_next(&iter, NULL, (void **)&op)) { NULL 220 daemons/fenced/fenced_history.c xmlNode *xml_op = NULL; NULL 221 daemons/fenced/fenced_history.c GHashTable *rv = NULL; NULL 225 daemons/fenced/fenced_history.c CRM_LOG_ASSERT(rv != NULL); NULL 227 daemons/fenced/fenced_history.c for (xml_op = pcmk__xml_first_child(history); xml_op != NULL; NULL 229 daemons/fenced/fenced_history.c remote_fencing_op_t *op = NULL; NULL 255 daemons/fenced/fenced_history.c CRM_LOG_ASSERT(g_hash_table_lookup(rv, id) != NULL); NULL 278 daemons/fenced/fenced_history.c xmlNode *history = NULL; NULL 283 daemons/fenced/fenced_history.c remote_fencing_op_t *op = NULL; NULL 285 daemons/fenced/fenced_history.c history = create_xml_node(NULL, F_STONITH_HISTORY_LIST); NULL 288 daemons/fenced/fenced_history.c while (g_hash_table_iter_next(&iter, NULL, (void **)&op)) { NULL 289 daemons/fenced/fenced_history.c xmlNode *entry = NULL; NULL 318 daemons/fenced/fenced_history.c return NULL; NULL 334 daemons/fenced/fenced_history.c remote_fencing_op_t *op = NULL; NULL 344 daemons/fenced/fenced_history.c while (g_hash_table_iter_next(&iter, NULL, (void **)&op)) { NULL 361 daemons/fenced/fenced_history.c op->completed = time(NULL); NULL 381 daemons/fenced/fenced_history.c do_stonith_notify(0, T_STONITH_NOTIFY_HISTORY, 0, NULL); NULL 404 daemons/fenced/fenced_history.c const char *target = NULL; NULL 406 daemons/fenced/fenced_history.c xmlNode *out_history = NULL; NULL 411 daemons/fenced/fenced_history.c int nodeid = crm_atoi(target, NULL); NULL 412 daemons/fenced/fenced_history.c crm_node_t *node = crm_find_known_peer_full(nodeid, NULL, CRM_GET_PEER_ANY); NULL 425 daemons/fenced/fenced_history.c crm_element_value(msg, F_STONITH_CALLID) != NULL); NULL 431 daemons/fenced/fenced_history.c do_stonith_notify(0, T_STONITH_NOTIFY_HISTORY_SYNCED, 0, NULL); NULL 439 daemons/fenced/fenced_history.c out_history = stonith_local_history_diff(NULL, TRUE, NULL); NULL 443 daemons/fenced/fenced_history.c NULL); NULL 449 daemons/fenced/fenced_history.c history?stonith_xml_history_to_list(history):NULL; NULL 464 daemons/fenced/fenced_history.c stonith_local_history_diff(received_history, TRUE, NULL); NULL 471 daemons/fenced/fenced_history.c NULL); NULL 487 daemons/fenced/fenced_history.c *output = stonith_local_history_diff(NULL, FALSE, target); NULL 77 daemons/fenced/fenced_remote.c GHashTable *stonith_remote_op_list = NULL; NULL 110 daemons/fenced/fenced_remote.c if (stonith_remote_op_list != NULL) { NULL 112 daemons/fenced/fenced_remote.c stonith_remote_op_list = NULL; NULL 184 daemons/fenced/fenced_remote.c && !props->disallowed[op->phase])? props : NULL; NULL 204 daemons/fenced/fenced_remote.c if ((props == NULL) || (verified_devices_only && !props->verified)) { NULL 254 daemons/fenced/fenced_remote.c op->request = NULL; NULL 258 daemons/fenced/fenced_remote.c op->devices_list = NULL; NULL 268 daemons/fenced/fenced_remote.c if (*table == NULL) { NULL 269 daemons/fenced/fenced_remote.c *table = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, free_remote_op); NULL 315 daemons/fenced/fenced_remote.c GListPtr iter = NULL; NULL 326 daemons/fenced/fenced_remote.c for (iter = op->automatic_list; iter != NULL; iter = iter->next) { NULL 335 daemons/fenced/fenced_remote.c op->automatic_list = NULL; NULL 361 daemons/fenced/fenced_remote.c xmlNode *notify_data = create_xml_node(NULL, T_STONITH_NOTIFY_FENCE); NULL 380 daemons/fenced/fenced_remote.c xmlNode *bcast = create_xml_node(NULL, T_STONITH_REPLY); NULL 395 daemons/fenced/fenced_remote.c send_cluster_message(NULL, crm_msg_stonith_ng, bcast, FALSE); NULL 405 daemons/fenced/fenced_remote.c xmlNode *notify_data = NULL; NULL 406 daemons/fenced/fenced_remote.c xmlNode *reply = NULL; NULL 419 daemons/fenced/fenced_remote.c reply = stonith_construct_reply(op->request, NULL, data, rc); NULL 427 daemons/fenced/fenced_remote.c do_stonith_notify(0, T_STONITH_NOTIFY_HISTORY, 0, NULL); NULL 438 daemons/fenced/fenced_remote.c GListPtr iter = NULL; NULL 440 daemons/fenced/fenced_remote.c for (iter = op->duplicates; iter != NULL; iter = iter->next) { NULL 487 daemons/fenced/fenced_remote.c const char *subt = NULL; NULL 488 daemons/fenced/fenced_remote.c xmlNode *local_data = NULL; NULL 491 daemons/fenced/fenced_remote.c op->completed = time(NULL); NULL 515 daemons/fenced/fenced_remote.c if (data == NULL) { NULL 516 daemons/fenced/fenced_remote.c data = create_xml_node(NULL, "remote-op"); NULL 560 daemons/fenced/fenced_remote.c op->query_results = NULL; NULL 565 daemons/fenced/fenced_remote.c op->request = NULL; NULL 582 daemons/fenced/fenced_remote.c remote_op_done(op, NULL, pcmk_ok, FALSE); NULL 595 daemons/fenced/fenced_remote.c call_remote_stonith(op, NULL, pcmk_ok); NULL 622 daemons/fenced/fenced_remote.c remote_op_done(op, NULL, pcmk_ok, FALSE); NULL 628 daemons/fenced/fenced_remote.c remote_op_done(op, NULL, -ETIME, FALSE); NULL 648 daemons/fenced/fenced_remote.c call_remote_stonith(op, NULL, pcmk_ok); NULL 667 daemons/fenced/fenced_remote.c if (tp == NULL) { NULL 672 daemons/fenced/fenced_remote.c if (tp->levels[i] != NULL) { NULL 719 daemons/fenced/fenced_remote.c GListPtr lpc = NULL; NULL 723 daemons/fenced/fenced_remote.c op->devices_list = NULL; NULL 725 daemons/fenced/fenced_remote.c for (lpc = devices; lpc != NULL; lpc = lpc->next) { NULL 767 daemons/fenced/fenced_remote.c int status = regexec(&r_patt, node, 0, NULL, 0); NULL 790 daemons/fenced/fenced_remote.c if(tp != NULL) { NULL 796 daemons/fenced/fenced_remote.c while (g_hash_table_iter_next(&tIter, NULL, (gpointer *) & tp)) { NULL 804 daemons/fenced/fenced_remote.c return NULL; NULL 821 daemons/fenced/fenced_remote.c stonith_topology_t *tp = NULL; NULL 830 daemons/fenced/fenced_remote.c CRM_ASSERT(tp->levels != NULL); NULL 840 daemons/fenced/fenced_remote.c } while (op->level < ST_LEVEL_MAX && tp->levels[op->level] == NULL); NULL 879 daemons/fenced/fenced_remote.c remote_fencing_op_t *other = NULL; NULL 881 daemons/fenced/fenced_remote.c time_t now = time(NULL); NULL 884 daemons/fenced/fenced_remote.c while (g_hash_table_iter_next(&iter, NULL, (void **)&other)) { NULL 885 daemons/fenced/fenced_remote.c crm_node_t *peer = NULL; NULL 929 daemons/fenced/fenced_remote.c TIMEOUT_MULTIPLY_FACTOR * get_op_total_timeout(op, NULL); NULL 948 daemons/fenced/fenced_remote.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&entry)) { NULL 962 daemons/fenced/fenced_remote.c op->completed = time(NULL); NULL 988 daemons/fenced/fenced_remote.c remote_fencing_op_t *op = NULL; NULL 991 daemons/fenced/fenced_remote.c const char *operation = NULL; NULL 1000 daemons/fenced/fenced_remote.c CRM_CHECK(op_id != NULL, return NULL); NULL 1022 daemons/fenced/fenced_remote.c CRM_LOG_ASSERT(g_hash_table_lookup(stonith_remote_op_list, op->id) != NULL); NULL 1030 daemons/fenced/fenced_remote.c op->created = time(NULL); NULL 1032 daemons/fenced/fenced_remote.c if (op->originator == NULL) { NULL 1037 daemons/fenced/fenced_remote.c CRM_LOG_ASSERT(client != NULL); NULL 1065 daemons/fenced/fenced_remote.c int nodeid = crm_atoi(op->target, NULL); NULL 1066 daemons/fenced/fenced_remote.c crm_node_t *node = crm_find_known_peer_full(nodeid, NULL, CRM_GET_PEER_ANY); NULL 1085 daemons/fenced/fenced_remote.c do_stonith_notify(0, T_STONITH_NOTIFY_HISTORY, 0, NULL); NULL 1099 daemons/fenced/fenced_remote.c xmlNode *query = NULL; NULL 1100 daemons/fenced/fenced_remote.c const char *client_id = NULL; NULL 1101 daemons/fenced/fenced_remote.c remote_fencing_op_t *op = NULL; NULL 1102 daemons/fenced/fenced_remote.c const char *relay_op_id = NULL; NULL 1103 daemons/fenced/fenced_remote.c const char *operation = NULL; NULL 1111 daemons/fenced/fenced_remote.c CRM_LOG_ASSERT(client_id != NULL); NULL 1120 daemons/fenced/fenced_remote.c CRM_CHECK(op->action, return NULL); NULL 1130 daemons/fenced/fenced_remote.c remote_op_done(op, NULL, -EINVAL, FALSE); NULL 1145 daemons/fenced/fenced_remote.c NULL, op->call_options); NULL 1164 daemons/fenced/fenced_remote.c send_cluster_message(NULL, crm_msg_stonith_ng, query, FALSE); NULL 1185 daemons/fenced/fenced_remote.c GListPtr iter = NULL; NULL 1189 daemons/fenced/fenced_remote.c return NULL; NULL 1192 daemons/fenced/fenced_remote.c for (iter = op->query_results; iter != NULL; iter = iter->next) { NULL 1219 daemons/fenced/fenced_remote.c return NULL; NULL 1225 daemons/fenced/fenced_remote.c const char *device = NULL; NULL 1226 daemons/fenced/fenced_remote.c st_query_result_t *peer = NULL; NULL 1248 daemons/fenced/fenced_remote.c return NULL; NULL 1278 daemons/fenced/fenced_remote.c return NULL; NULL 1352 daemons/fenced/fenced_remote.c GListPtr device_list = NULL; NULL 1353 daemons/fenced/fenced_remote.c GListPtr iter = NULL; NULL 1367 daemons/fenced/fenced_remote.c for (iter = op->query_results; iter != NULL; iter = iter->next) { NULL 1391 daemons/fenced/fenced_remote.c GListPtr iter = NULL; NULL 1392 daemons/fenced/fenced_remote.c xmlNode *update = NULL; NULL 1393 daemons/fenced/fenced_remote.c const char *client_node = NULL; NULL 1394 daemons/fenced/fenced_remote.c const char *client_id = NULL; NULL 1395 daemons/fenced/fenced_remote.c const char *call_id = NULL; NULL 1422 daemons/fenced/fenced_remote.c update = stonith_create_op(op->client_callid, op->id, STONITH_OP_TIMEOUT_UPDATE, NULL, 0); NULL 1432 daemons/fenced/fenced_remote.c for (iter = op->duplicates; iter != NULL; iter = iter->next) { NULL 1466 daemons/fenced/fenced_remote.c if (op->devices == NULL) { NULL 1471 daemons/fenced/fenced_remote.c if ((op->devices == NULL) && (op->phase == st_phase_off)) { NULL 1489 daemons/fenced/fenced_remote.c call_remote_stonith(op, NULL, pcmk_ok); NULL 1502 daemons/fenced/fenced_remote.c const char *device = NULL; NULL 1506 daemons/fenced/fenced_remote.c if ((peer == NULL) && !pcmk_is_set(op->call_options, st_opt_topology)) { NULL 1533 daemons/fenced/fenced_remote.c xmlNode *remote_op = stonith_create_op(op->client_callid, op->id, STONITH_OP_FENCE, NULL, 0); NULL 1600 daemons/fenced/fenced_remote.c advance_topology_device_in_level(op, device, NULL, pcmk_ok); NULL 1650 daemons/fenced/fenced_remote.c remote_op_done(op, NULL, rc, FALSE); NULL 1687 daemons/fenced/fenced_remote.c GListPtr device = NULL; NULL 1688 daemons/fenced/fenced_remote.c GListPtr iter = NULL; NULL 1689 daemons/fenced/fenced_remote.c device_properties_t *match = NULL; NULL 1690 daemons/fenced/fenced_remote.c stonith_topology_t *tp = NULL; NULL 1698 daemons/fenced/fenced_remote.c if (pcmk__strcase_any_of(op->action, "off", "reboot", NULL)) { NULL 1706 daemons/fenced/fenced_remote.c match = NULL; NULL 1802 daemons/fenced/fenced_remote.c CRM_ASSERT(props != NULL); NULL 1816 daemons/fenced/fenced_remote.c for (child = pcmk__xml_first_child(xml); child != NULL; NULL 1851 daemons/fenced/fenced_remote.c CRM_CHECK(result != NULL, return NULL); NULL 1856 daemons/fenced/fenced_remote.c for (child = pcmk__xml_first_child(xml); child != NULL; NULL 1894 daemons/fenced/fenced_remote.c const char *id = NULL; NULL 1895 daemons/fenced/fenced_remote.c const char *host = NULL; NULL 1896 daemons/fenced/fenced_remote.c remote_fencing_op_t *op = NULL; NULL 1897 daemons/fenced/fenced_remote.c st_query_result_t *result = NULL; NULL 1901 daemons/fenced/fenced_remote.c CRM_CHECK(dev != NULL, return -EPROTO); NULL 1904 daemons/fenced/fenced_remote.c CRM_CHECK(id != NULL, return -EPROTO); NULL 1907 daemons/fenced/fenced_remote.c CRM_CHECK(dev != NULL, return -EPROTO); NULL 1911 daemons/fenced/fenced_remote.c if (op == NULL) { NULL 1946 daemons/fenced/fenced_remote.c call_remote_stonith(op, NULL, pcmk_ok); NULL 1962 daemons/fenced/fenced_remote.c call_remote_stonith(op, NULL, pcmk_ok); NULL 1991 daemons/fenced/fenced_remote.c const char *id = NULL; NULL 1992 daemons/fenced/fenced_remote.c const char *device = NULL; NULL 1993 daemons/fenced/fenced_remote.c remote_fencing_op_t *op = NULL; NULL 1996 daemons/fenced/fenced_remote.c CRM_CHECK(dev != NULL, return -EPROTO); NULL 1999 daemons/fenced/fenced_remote.c CRM_CHECK(id != NULL, return -EPROTO); NULL 2002 daemons/fenced/fenced_remote.c CRM_CHECK(dev != NULL, return -EPROTO); NULL 2012 daemons/fenced/fenced_remote.c if (op == NULL && rc == pcmk_ok) { NULL 2019 daemons/fenced/fenced_remote.c if (op == NULL) { NULL 2091 daemons/fenced/fenced_remote.c } else if (rc == pcmk_ok && op->devices == NULL) { NULL 2097 daemons/fenced/fenced_remote.c } else if (rc == -ETIME && op->devices == NULL) { NULL 2109 daemons/fenced/fenced_remote.c call_remote_stonith(op, NULL, rc); NULL 2117 daemons/fenced/fenced_remote.c time_t now = time(NULL); NULL 2118 daemons/fenced/fenced_remote.c remote_fencing_op_t *rop = NULL; NULL 2123 daemons/fenced/fenced_remote.c if (tolerance <= 0 || !stonith_remote_op_list || target == NULL || NULL 2124 daemons/fenced/fenced_remote.c action == NULL) { NULL 2129 daemons/fenced/fenced_remote.c while (g_hash_table_iter_next(&iter, NULL, (void **)&rop)) { NULL 43 daemons/fenced/pacemaker-fenced.c char *stonith_our_uname = NULL; NULL 44 daemons/fenced/pacemaker-fenced.c char *stonith_our_uuid = NULL; NULL 47 daemons/fenced/pacemaker-fenced.c static GMainLoop *mainloop = NULL; NULL 53 daemons/fenced/pacemaker-fenced.c static qb_ipcs_service_t *ipcs = NULL; NULL 54 daemons/fenced/pacemaker-fenced.c static xmlNode *local_cib = NULL; NULL 55 daemons/fenced/pacemaker-fenced.c static pe_working_set_t *fenced_data_set = NULL; NULL 57 daemons/fenced/pacemaker-fenced.c static cib_t *cib_api = NULL; NULL 71 daemons/fenced/pacemaker-fenced.c if (pcmk__new_client(c, uid, gid) == NULL) { NULL 84 daemons/fenced/pacemaker-fenced.c xmlNode *request = NULL; NULL 86 daemons/fenced/pacemaker-fenced.c const char *op = NULL; NULL 88 daemons/fenced/pacemaker-fenced.c if (c == NULL) { NULL 94 daemons/fenced/pacemaker-fenced.c if (request == NULL) { NULL 108 daemons/fenced/pacemaker-fenced.c send_cluster_message(NULL, crm_msg_stonith_ng, request, FALSE); NULL 113 daemons/fenced/pacemaker-fenced.c if (c->name == NULL) { NULL 116 daemons/fenced/pacemaker-fenced.c if (value == NULL) { NULL 136 daemons/fenced/pacemaker-fenced.c stonith_command(c, id, flags, request, NULL); NULL 148 daemons/fenced/pacemaker-fenced.c if (client == NULL) { NULL 177 daemons/fenced/pacemaker-fenced.c stonith_command(NULL, 0, 0, msg, remote_peer); NULL 187 daemons/fenced/pacemaker-fenced.c xmlNode *xml = NULL; NULL 188 daemons/fenced/pacemaker-fenced.c const char *from = NULL; NULL 191 daemons/fenced/pacemaker-fenced.c if(data == NULL) { NULL 196 daemons/fenced/pacemaker-fenced.c if (xml == NULL) { NULL 203 daemons/fenced/pacemaker-fenced.c stonith_peer_callback(xml, NULL); NULL 223 daemons/fenced/pacemaker-fenced.c pcmk__client_t *client_obj = NULL; NULL 230 daemons/fenced/pacemaker-fenced.c if (client_obj == NULL) { NULL 256 daemons/fenced/pacemaker-fenced.c if ((local_rc != pcmk_rc_ok) && (client_obj != NULL)) { NULL 292 daemons/fenced/pacemaker-fenced.c const char *type = NULL; NULL 294 daemons/fenced/pacemaker-fenced.c CRM_CHECK(client != NULL, return); NULL 295 daemons/fenced/pacemaker-fenced.c CRM_CHECK(update_msg != NULL, return); NULL 298 daemons/fenced/pacemaker-fenced.c CRM_CHECK(type != NULL, crm_log_xml_err(update_msg, "notify"); return); NULL 300 daemons/fenced/pacemaker-fenced.c if (client->ipcs == NULL) { NULL 323 daemons/fenced/pacemaker-fenced.c pcmk__client_t *client = NULL; NULL 324 daemons/fenced/pacemaker-fenced.c xmlNode *notify_data = NULL; NULL 335 daemons/fenced/pacemaker-fenced.c notify_data = create_xml_node(NULL, T_STONITH_TIMEOUT_VALUE); NULL 353 daemons/fenced/pacemaker-fenced.c xmlNode *update_msg = create_xml_node(NULL, "notify"); NULL 355 daemons/fenced/pacemaker-fenced.c CRM_CHECK(type != NULL,;); NULL 362 daemons/fenced/pacemaker-fenced.c if (data != NULL) { NULL 376 daemons/fenced/pacemaker-fenced.c xmlNode *notify_data = create_xml_node(NULL, op); NULL 378 daemons/fenced/pacemaker-fenced.c CRM_CHECK(notify_data != NULL, return); NULL 403 daemons/fenced/pacemaker-fenced.c char *desc = NULL; NULL 404 daemons/fenced/pacemaker-fenced.c xmlNode *data = create_xml_node(NULL, XML_TAG_FENCING_LEVEL); NULL 423 daemons/fenced/pacemaker-fenced.c const char *rsc_id = NULL; NULL 424 daemons/fenced/pacemaker-fenced.c const char *standard = NULL; NULL 427 daemons/fenced/pacemaker-fenced.c CRM_LOG_ASSERT(match != NULL); NULL 428 daemons/fenced/pacemaker-fenced.c if(match != NULL) { NULL 446 daemons/fenced/pacemaker-fenced.c char *desc = NULL; NULL 448 daemons/fenced/pacemaker-fenced.c CRM_CHECK(match != NULL, return); NULL 474 daemons/fenced/pacemaker-fenced.c CRM_LOG_ASSERT(match != NULL); NULL 481 daemons/fenced/pacemaker-fenced.c if (target == NULL) { NULL 529 daemons/fenced/pacemaker-fenced.c xmlXPathObjectPtr xpathObj = NULL; NULL 557 daemons/fenced/pacemaker-fenced.c pe_node_t *node = NULL; NULL 561 daemons/fenced/pacemaker-fenced.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 565 daemons/fenced/pacemaker-fenced.c node = NULL; NULL 581 daemons/fenced/pacemaker-fenced.c pe_node_t *node = NULL; NULL 582 daemons/fenced/pacemaker-fenced.c const char *value = NULL; NULL 583 daemons/fenced/pacemaker-fenced.c const char *rclass = NULL; NULL 584 daemons/fenced/pacemaker-fenced.c pe_node_t *parent = NULL; NULL 591 daemons/fenced/pacemaker-fenced.c GListPtr gIter = NULL; NULL 592 daemons/fenced/pacemaker-fenced.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 620 daemons/fenced/pacemaker-fenced.c if(node == NULL) { NULL 626 daemons/fenced/pacemaker-fenced.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 646 daemons/fenced/pacemaker-fenced.c stonith_key_value_t *params = NULL; NULL 648 daemons/fenced/pacemaker-fenced.c const char *name = NULL; NULL 650 daemons/fenced/pacemaker-fenced.c const char *rsc_provides = NULL; NULL 671 daemons/fenced/pacemaker-fenced.c rc = stonith_device_register(data, NULL, TRUE); NULL 690 daemons/fenced/pacemaker-fenced.c GListPtr gIter = NULL; NULL 697 daemons/fenced/pacemaker-fenced.c CRM_ASSERT(fenced_data_set != NULL); NULL 699 daemons/fenced/pacemaker-fenced.c fenced_data_set->now = crm_time_new(NULL); NULL 704 daemons/fenced/pacemaker-fenced.c pcmk__schedule_actions(fenced_data_set, NULL, NULL); NULL 706 daemons/fenced/pacemaker-fenced.c for (gIter = fenced_data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 709 daemons/fenced/pacemaker-fenced.c fenced_data_set->input = NULL; // Wasn't a copy, so don't let API free it NULL 716 daemons/fenced/pacemaker-fenced.c xmlNode *change = NULL; NULL 717 daemons/fenced/pacemaker-fenced.c char *reason = NULL; NULL 721 daemons/fenced/pacemaker-fenced.c for (change = pcmk__xml_first_child(patchset); change != NULL; NULL 725 daemons/fenced/pacemaker-fenced.c const char *shortpath = NULL; NULL 727 daemons/fenced/pacemaker-fenced.c if ((op == NULL) || NULL 732 daemons/fenced/pacemaker-fenced.c const char *rsc_id = NULL; NULL 733 daemons/fenced/pacemaker-fenced.c char *search = NULL; NULL 734 daemons/fenced/pacemaker-fenced.c char *mutable = NULL; NULL 744 daemons/fenced/pacemaker-fenced.c if (rsc_id != NULL) { NULL 748 daemons/fenced/pacemaker-fenced.c if (search != NULL) { NULL 781 daemons/fenced/pacemaker-fenced.c xmlXPathObjectPtr xpath_obj = NULL; NULL 813 daemons/fenced/pacemaker-fenced.c const char *rsc_id = NULL; NULL 814 daemons/fenced/pacemaker-fenced.c const char *standard = NULL; NULL 877 daemons/fenced/pacemaker-fenced.c CRM_CHECK(local_cib != NULL, return FALSE); NULL 891 daemons/fenced/pacemaker-fenced.c return (match != NULL); NULL 899 daemons/fenced/pacemaker-fenced.c xmlXPathObjectPtr xpathObj = NULL; NULL 921 daemons/fenced/pacemaker-fenced.c xmlNode *change = NULL; NULL 927 daemons/fenced/pacemaker-fenced.c for (change = pcmk__xml_first_child(patchset); change != NULL; NULL 932 daemons/fenced/pacemaker-fenced.c if(op == NULL) { NULL 935 daemons/fenced/pacemaker-fenced.c } else if(strstr(xpath, "/" XML_TAG_FENCING_LEVEL) != NULL) { NULL 960 daemons/fenced/pacemaker-fenced.c } else if (strstr(xpath, "/" XML_TAG_FENCING_TOPOLOGY) != NULL) { NULL 969 daemons/fenced/pacemaker-fenced.c if(first_named_child(change, XML_TAG_FENCING_TOPOLOGY) == NULL) { NULL 996 daemons/fenced/pacemaker-fenced.c xmlNode *stonith_enabled_xml = NULL; NULL 997 daemons/fenced/pacemaker-fenced.c xmlNode *stonith_watchdog_xml = NULL; NULL 998 daemons/fenced/pacemaker-fenced.c const char *stonith_enabled_s = NULL; NULL 1005 daemons/fenced/pacemaker-fenced.c } else if(msg == NULL) { NULL 1013 daemons/fenced/pacemaker-fenced.c if (local_cib != NULL) { NULL 1015 daemons/fenced/pacemaker-fenced.c xmlNode *patchset = NULL; NULL 1033 daemons/fenced/pacemaker-fenced.c local_cib = NULL; NULL 1038 daemons/fenced/pacemaker-fenced.c local_cib = NULL; NULL 1042 daemons/fenced/pacemaker-fenced.c if (local_cib == NULL) { NULL 1044 daemons/fenced/pacemaker-fenced.c rc = cib_api->cmds->query(cib_api, NULL, &local_cib, cib_scope_local | cib_sync_call); NULL 1049 daemons/fenced/pacemaker-fenced.c CRM_ASSERT(local_cib != NULL); NULL 1061 daemons/fenced/pacemaker-fenced.c if (stonith_enabled_s == NULL || crm_is_true(stonith_enabled_s)) { NULL 1063 daemons/fenced/pacemaker-fenced.c const char *value = NULL; NULL 1122 daemons/fenced/pacemaker-fenced.c if (mainloop != NULL && g_main_loop_is_running(mainloop)) { NULL 1165 daemons/fenced/pacemaker-fenced.c stonith_our_uname = NULL; NULL 1168 daemons/fenced/pacemaker-fenced.c local_cib = NULL; NULL 1175 daemons/fenced/pacemaker-fenced.c NULL, pcmk__option_default NULL 1179 daemons/fenced/pacemaker-fenced.c NULL, pcmk__option_default NULL 1183 daemons/fenced/pacemaker-fenced.c NULL, pcmk__option_default NULL 1187 daemons/fenced/pacemaker-fenced.c NULL, pcmk__option_default NULL 1191 daemons/fenced/pacemaker-fenced.c NULL, pcmk__option_default NULL 1195 daemons/fenced/pacemaker-fenced.c NULL, pcmk__option_default NULL 1206 daemons/fenced/pacemaker-fenced.c if (cib_api == NULL) { NULL 1224 daemons/fenced/pacemaker-fenced.c rc = cib_api->cmds->query(cib_api, NULL, NULL, cib_scope_local); NULL 1225 daemons/fenced/pacemaker-fenced.c cib_api->cmds->register_callback(cib_api, rc, 120, FALSE, NULL, "init_cib_cache_cb", NULL 1234 daemons/fenced/pacemaker-fenced.c .connection_created = NULL, NULL 1257 daemons/fenced/pacemaker-fenced.c xmlNode *query = create_xml_node(NULL, "stonith_command"); NULL 1264 daemons/fenced/pacemaker-fenced.c send_cluster_message(NULL, crm_msg_stonith_ng, query, FALSE); NULL 1279 daemons/fenced/pacemaker-fenced.c crm_ipc_t *old_instance = NULL; NULL 1281 daemons/fenced/pacemaker-fenced.c crm_log_preinit(NULL, argc, argv); NULL 1282 daemons/fenced/pacemaker-fenced.c pcmk__set_cli_options(NULL, "[options]", long_options, NULL 1287 daemons/fenced/pacemaker-fenced.c flag = pcmk__next_cli_option(argc, argv, &option_index, NULL); NULL 1449 daemons/fenced/pacemaker-fenced.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); NULL 1463 daemons/fenced/pacemaker-fenced.c old_instance = NULL; NULL 1471 daemons/fenced/pacemaker-fenced.c CRM_ASSERT(fenced_data_set != NULL); NULL 1508 daemons/fenced/pacemaker-fenced.c stonith_key_value_t *params = NULL; NULL 1514 daemons/fenced/pacemaker-fenced.c NULL); NULL 1516 daemons/fenced/pacemaker-fenced.c rc = stonith_device_register(xml, NULL, FALSE); NULL 1527 daemons/fenced/pacemaker-fenced.c mainloop = g_main_loop_new(NULL, FALSE); NULL 37 daemons/pacemakerd/pacemakerd.c static GMainLoop *mainloop = NULL; NULL 42 daemons/pacemakerd/pacemakerd.c static crm_trigger_t *shutdown_trigger = NULL; NULL 43 daemons/pacemakerd/pacemakerd.c static crm_trigger_t *startup_trigger = NULL; NULL 82 daemons/pacemakerd/pacemakerd.c NULL, NULL NULL 86 daemons/pacemakerd/pacemakerd.c NULL, CRM_DAEMON_DIR "/pacemaker-execd", NULL 111 daemons/pacemakerd/pacemakerd.c NULL, CRM_DAEMON_DIR "/pacemaker-fenced", NULL 152 daemons/pacemakerd/pacemakerd.c check_active_before_startup_processes, NULL); NULL 216 daemons/pacemakerd/pacemakerd.c if (child->command == NULL || child->pid == PCMK__SPECIAL_PID) { NULL 240 daemons/pacemakerd/pacemakerd.c static char *opts_default[] = { NULL, NULL }; NULL 241 daemons/pacemakerd/pacemakerd.c static char *opts_vgrind[] = { NULL, NULL, NULL, NULL, NULL }; NULL 260 daemons/pacemakerd/pacemakerd.c if (child->command == NULL) { NULL 265 daemons/pacemakerd/pacemakerd.c if (env_callgrind != NULL && crm_is_true(env_callgrind)) { NULL 269 daemons/pacemakerd/pacemakerd.c } else if (env_callgrind != NULL && strstr(env_callgrind, child->name)) { NULL 273 daemons/pacemakerd/pacemakerd.c } else if (env_valgrind != NULL && crm_is_true(env_valgrind)) { NULL 276 daemons/pacemakerd/pacemakerd.c } else if (env_valgrind != NULL && strstr(env_valgrind, child->name)) { NULL 316 daemons/pacemakerd/pacemakerd.c opts_vgrind[4] = NULL; NULL 319 daemons/pacemakerd/pacemakerd.c opts_vgrind[2] = NULL; NULL 320 daemons/pacemakerd/pacemakerd.c opts_vgrind[3] = NULL; NULL 321 daemons/pacemakerd/pacemakerd.c opts_vgrind[4] = NULL; NULL 415 daemons/pacemakerd/pacemakerd.c time_t now = time(NULL); NULL 499 daemons/pacemakerd/pacemakerd.c if (shutdown_trigger == NULL) { NULL 500 daemons/pacemakerd/pacemakerd.c shutdown_trigger = mainloop_add_trigger(G_PRIORITY_HIGH, pcmk_shutdown_worker, NULL); NULL 509 daemons/pacemakerd/pacemakerd.c if (pcmk__new_client(c, uid, gid) == NULL) { NULL 518 daemons/pacemakerd/pacemakerd.c const char *value = NULL; NULL 519 daemons/pacemakerd/pacemakerd.c xmlNode *ping = NULL; NULL 520 daemons/pacemakerd/pacemakerd.c xmlNode *reply = NULL; NULL 521 daemons/pacemakerd/pacemakerd.c time_t pinged = time(NULL); NULL 528 daemons/pacemakerd/pacemakerd.c ping = create_xml_node(NULL, XML_CRM_TAG_PING); NULL 566 daemons/pacemakerd/pacemakerd.c const char *task = NULL; NULL 567 daemons/pacemakerd/pacemakerd.c xmlNode *msg = NULL; NULL 570 daemons/pacemakerd/pacemakerd.c CRM_CHECK(c != NULL, return 0); NULL 573 daemons/pacemakerd/pacemakerd.c if (msg == NULL) { NULL 628 daemons/pacemakerd/pacemakerd.c if (client == NULL) { NULL 651 daemons/pacemakerd/pacemakerd.c .connection_created = NULL, NULL 660 daemons/pacemakerd/pacemakerd.c "help", no_argument, NULL, '?', NULL 664 daemons/pacemakerd/pacemakerd.c "version", no_argument, NULL, '$', NULL 668 daemons/pacemakerd/pacemakerd.c "verbose", no_argument, NULL, 'V', NULL 672 daemons/pacemakerd/pacemakerd.c "shutdown", no_argument, NULL, 'S', NULL 676 daemons/pacemakerd/pacemakerd.c "features", no_argument, NULL, 'F', NULL 681 daemons/pacemakerd/pacemakerd.c "-spacer-", no_argument, NULL, '-', NULL 685 daemons/pacemakerd/pacemakerd.c "foreground", no_argument, NULL, 'f', NULL 690 daemons/pacemakerd/pacemakerd.c "pid-file", required_argument, NULL, 'p', NULL 694 daemons/pacemakerd/pacemakerd.c "standby", no_argument, NULL, 's', NULL 741 daemons/pacemakerd/pacemakerd.c if (child->endpoint == NULL NULL 747 daemons/pacemakerd/pacemakerd.c } else if (child->endpoint != NULL) { NULL 750 daemons/pacemakerd/pacemakerd.c if (child->uid == NULL) { NULL 928 daemons/pacemakerd/pacemakerd.c if ((pcmk_children[i].endpoint == NULL) NULL 1016 daemons/pacemakerd/pacemakerd.c (void) poll(NULL, 0, 250); /* a bit for changes to possibly happen */ NULL 1024 daemons/pacemakerd/pacemakerd.c check_active_before_startup_processes, NULL); NULL 1090 daemons/pacemakerd/pacemakerd.c xmlNode *request = NULL; NULL 1091 daemons/pacemakerd/pacemakerd.c xmlNode *reply = NULL; NULL 1095 daemons/pacemakerd/pacemakerd.c request = create_request(CRM_OP_QUIT, NULL, NULL, CRM_SYSTEM_MCP, NULL 1096 daemons/pacemakerd/pacemakerd.c CRM_SYSTEM_MCP, NULL); NULL 1097 daemons/pacemakerd/pacemakerd.c if (request == NULL) { NULL 1111 daemons/pacemakerd/pacemakerd.c if ((rc == 0) || (reply == NULL)) { NULL 1152 daemons/pacemakerd/pacemakerd.c crm_ipc_t *old_instance = NULL; NULL 1153 daemons/pacemakerd/pacemakerd.c qb_ipcs_service_t *ipcs = NULL; NULL 1155 daemons/pacemakerd/pacemakerd.c crm_log_preinit(NULL, argc, argv); NULL 1156 daemons/pacemakerd/pacemakerd.c pcmk__set_cli_options(NULL, "[options]", long_options, NULL 1163 daemons/pacemakerd/pacemakerd.c flag = pcmk__next_cli_option(argc, argv, &option_index, NULL); NULL 1213 daemons/pacemakerd/pacemakerd.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); NULL 1249 daemons/pacemakerd/pacemakerd.c mainloop = g_main_loop_new(NULL, FALSE); NULL 1288 daemons/pacemakerd/pacemakerd.c if (ipcs == NULL) { NULL 1322 daemons/pacemakerd/pacemakerd.c startup_trigger = mainloop_add_trigger(G_PRIORITY_HIGH, init_children_processes, NULL); NULL 1330 daemons/pacemakerd/pacemakerd.c init_children_processes(NULL); NULL 1339 daemons/pacemakerd/pacemakerd.c ipcs = NULL; NULL 190 daemons/pacemakerd/pcmkd_corosync.c *value = NULL; NULL 269 daemons/pacemakerd/pcmkd_corosync.c if (pcmk__env_option("debug") == NULL) { NULL 270 daemons/pacemakerd/pcmkd_corosync.c char *debug_enabled = NULL; NULL 289 daemons/pacemakerd/pcmkd_corosync.c if (pcmk_daemon_user(NULL, &gid) < 0) { NULL 33 daemons/schedulerd/pacemaker-schedulerd.c static GMainLoop *mainloop = NULL; NULL 34 daemons/schedulerd/pacemaker-schedulerd.c static qb_ipcs_service_t *ipcs = NULL; NULL 35 daemons/schedulerd/pacemaker-schedulerd.c static pe_working_set_t *sched_data_set = NULL; NULL 57 daemons/schedulerd/pacemaker-schedulerd.c static char *last_digest = NULL; NULL 58 daemons/schedulerd/pacemaker-schedulerd.c static char *filename = NULL; NULL 66 daemons/schedulerd/pacemaker-schedulerd.c if (op == NULL) { NULL 75 daemons/schedulerd/pacemaker-schedulerd.c } else if (sys_to == NULL || strcasecmp(sys_to, CRM_SYSTEM_PENGINE) != 0) { NULL 83 daemons/schedulerd/pacemaker-schedulerd.c char *digest = NULL; NULL 84 daemons/schedulerd/pacemaker-schedulerd.c const char *value = NULL; NULL 85 daemons/schedulerd/pacemaker-schedulerd.c time_t execution_date = time(NULL); NULL 86 daemons/schedulerd/pacemaker-schedulerd.c xmlNode *converted = NULL; NULL 87 daemons/schedulerd/pacemaker-schedulerd.c xmlNode *reply = NULL; NULL 97 daemons/schedulerd/pacemaker-schedulerd.c if (sched_data_set == NULL) { NULL 99 daemons/schedulerd/pacemaker-schedulerd.c CRM_ASSERT(sched_data_set != NULL); NULL 106 daemons/schedulerd/pacemaker-schedulerd.c if (cli_config_update(&converted, NULL, TRUE) == FALSE) { NULL 107 daemons/schedulerd/pacemaker-schedulerd.c sched_data_set->graph = create_xml_node(NULL, XML_TAG_GRAPH); NULL 124 daemons/schedulerd/pacemaker-schedulerd.c pcmk__schedule_actions(sched_data_set, converted, NULL); NULL 131 daemons/schedulerd/pacemaker-schedulerd.c if (value != NULL) { NULL 132 daemons/schedulerd/pacemaker-schedulerd.c series_wrap = (int) crm_parse_ll(value, NULL); NULL 150 daemons/schedulerd/pacemaker-schedulerd.c sched_data_set->input = NULL; NULL 152 daemons/schedulerd/pacemaker-schedulerd.c CRM_ASSERT(reply != NULL); NULL 169 daemons/schedulerd/pacemaker-schedulerd.c char *graph_file = NULL; NULL 212 daemons/schedulerd/pacemaker-schedulerd.c if (pcmk__new_client(c, uid, gid) == NULL) { NULL 230 daemons/schedulerd/pacemaker-schedulerd.c if (msg != NULL) { NULL 245 daemons/schedulerd/pacemaker-schedulerd.c if (client == NULL) { NULL 262 daemons/schedulerd/pacemaker-schedulerd.c .connection_created = NULL, NULL 271 daemons/schedulerd/pacemaker-schedulerd.c "help", no_argument, NULL, '?', NULL 275 daemons/schedulerd/pacemaker-schedulerd.c "verbose", no_argument, NULL, 'V', NULL 288 daemons/schedulerd/pacemaker-schedulerd.c crm_log_preinit(NULL, argc, argv); NULL 289 daemons/schedulerd/pacemaker-schedulerd.c pcmk__set_cli_options(NULL, "[options]", long_options, NULL 296 daemons/schedulerd/pacemaker-schedulerd.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); NULL 326 daemons/schedulerd/pacemaker-schedulerd.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); NULL 329 daemons/schedulerd/pacemaker-schedulerd.c if (pcmk__daemon_can_write(PE_STATE_DIR, NULL) == FALSE) { NULL 338 daemons/schedulerd/pacemaker-schedulerd.c if (ipcs == NULL) { NULL 344 daemons/schedulerd/pacemaker-schedulerd.c mainloop = g_main_loop_new(NULL, FALSE); NULL 139 include/crm/common/internal.h static struct qb_log_callsite *trace_cs = NULL; \ NULL 141 include/crm/common/internal.h if (trace_cs == NULL) { \ NULL 241 include/crm/common/internal.h ((flag_type == NULL)? "Group of" : flag_type), NULL 243 include/crm/common/internal.h ((flags_str == NULL)? "flags" : flags_str), NULL 244 include/crm/common/internal.h ((target == NULL)? "target" : target), NULL 275 include/crm/common/internal.h ((flag_type == NULL)? "Group of" : flag_type), NULL 277 include/crm/common/internal.h ((flags_str == NULL)? "flags" : flags_str), NULL 278 include/crm/common/internal.h ((target == NULL)? "target" : target), NULL 315 include/crm/common/internal.h if (new_ptr == NULL) { NULL 341 include/crm/common/internal.h return list && (list->next == NULL); NULL 348 include/crm/common/internal.h return list && (list->next != NULL); NULL 377 include/crm/common/internal.h CRM_CHECK(prefix && rsc_id && op, return NULL); NULL 185 include/crm/common/logging.h static struct qb_log_callsite *trace_cs = NULL; \ NULL 186 include/crm/common/logging.h if (trace_cs == NULL) { \ NULL 201 include/crm/common/logging.h static struct qb_log_callsite *core_cs = NULL; \ NULL 202 include/crm/common/logging.h if(core_cs == NULL) { \ NULL 217 include/crm/common/logging.h static struct qb_log_callsite *core_cs = NULL; \ NULL 218 include/crm/common/logging.h if (core_cs == NULL) { \ NULL 244 include/crm/common/logging.h static struct qb_log_callsite *xml_cs = NULL; \ NULL 245 include/crm/common/logging.h if (xml_cs == NULL) { \ NULL 330 include/crm/common/logging.h static struct qb_log_callsite *trace_tag_cs = NULL; \ NULL 332 include/crm/common/logging.h if (trace_tag_cs == NULL) { \ NULL 364 include/crm/common/logging.h static struct qb_log_callsite *digest_cs = NULL; \ NULL 755 include/crm/common/output_internal.h out_obj->begin_list(out_obj, NULL, NULL, title); \ NULL 91 include/crm/common/strings_internal.h return (s == NULL) || (s[0] == '\0'); NULL 201 include/crm/common/util.h if (hashtable == NULL) { NULL 169 include/crm/common/xml.h return xml? (const char *)(xml->name) : NULL; NULL 261 include/crm/common/xml.h if(xpathObj == NULL || xpathObj->nodesetval == NULL) { NULL 69 include/crm/common/xml_internal.h if (!(dechunk) && (prefix) == NULL) { /* quick pass */ \ NULL 75 include/crm/common/xml_internal.h char *CXLB_buf = NULL; \ NULL 77 include/crm/common/xml_internal.h static char *CXLB_buffer = NULL; \ NULL 93 include/crm/common/xml_internal.h (prefix) != NULL ? (prefix) : "", \ NULL 99 include/crm/common/xml_internal.h (prefix) != NULL ? (prefix) : "", \ NULL 103 include/crm/common/xml_internal.h CXLB_buf = NULL; /* restore temporary override */ \ NULL 105 include/crm/common/xml_internal.h CXLB_buffer = NULL; \ NULL 109 include/crm/common/xml_internal.h } else if (CXLB_buffer == NULL) { \ NULL 112 include/crm/common/xml_internal.h CXLB_buf = NULL; \ NULL 173 include/crm/common/xml_internal.h xmlNode *child = (parent? parent->children : NULL); NULL 192 include/crm/common/xml_internal.h xmlNode *next = (child? child->next : NULL); NULL 211 include/crm/common/xml_internal.h xmlNode *child = (parent? parent->children : NULL); NULL 230 include/crm/common/xml_internal.h xmlNode *next = child? child->next : NULL; NULL 221 include/crm/crm.h if ((task != NULL) && (interval_ms == 0) NULL 360 include/crm/pengine/internal.h return pe__find_active_on(rsc, NULL, NULL); NULL 375 include/crm/pengine/internal.h return NULL; NULL 539 include/crm/pengine/internal.h pe_action_set_flag_reason(__func__, __LINE__, action, reason, NULL, \ NULL 99 include/crm/pengine/status.h return uber_parent(rsc)->parent != NULL; NULL 503 include/crm/stonith-ng.h static void *st_library = NULL; NULL 506 include/crm/stonith-ng.h if (st_library == NULL) { NULL 509 include/crm/stonith-ng.h if (st_library && st_kick_fn == NULL) { NULL 512 include/crm/stonith-ng.h if (st_kick_fn == NULL) { NULL 520 include/crm/stonith-ng.h return (*st_kick_fn) (nodeid, NULL, timeout, off); NULL 526 include/crm/stonith-ng.h static void *st_library = NULL; NULL 529 include/crm/stonith-ng.h if (st_library == NULL) { NULL 532 include/crm/stonith-ng.h if (st_library && st_time_fn == NULL) { NULL 535 include/crm/stonith-ng.h if (st_time_fn == NULL) { NULL 539 include/crm/stonith-ng.h return (*st_time_fn) (nodeid, NULL, in_progress); NULL 83 include/portability.h g_list_foreach(list, (GFunc) free_func, NULL); NULL 56 lib/cib/cib_attrs.c char *xpath_string = NULL; NULL 57 lib/cib/cib_attrs.c xmlNode *xml_search = NULL; NULL 58 lib/cib/cib_attrs.c const char *set_type = NULL; NULL 59 lib/cib/cib_attrs.c const char *node_type = NULL; NULL 67 lib/cib/cib_attrs.c CRM_ASSERT(value != NULL); NULL 68 lib/cib/cib_attrs.c *value = NULL; NULL 71 lib/cib/cib_attrs.c node_uuid = NULL; NULL 75 lib/cib/cib_attrs.c NULL)) { NULL 76 lib/cib/cib_attrs.c node_uuid = NULL; NULL 80 lib/cib/cib_attrs.c node_uuid = NULL; NULL 84 lib/cib/cib_attrs.c } else if (node_uuid == NULL) { NULL 89 lib/cib/cib_attrs.c if (xpath_string == NULL) { NULL 131 lib/cib/cib_attrs.c rc = cib_internal_op(the_cib, CIB_OP_QUERY, NULL, xpath_string, NULL, &xml_search, NULL 143 lib/cib/cib_attrs.c xmlNode *child = NULL; NULL 148 lib/cib/cib_attrs.c for (child = pcmk__xml_first_child(xml_search); child != NULL; NULL 175 lib/cib/cib_attrs.c const char *tag = NULL; NULL 177 lib/cib/cib_attrs.c xmlNode *xml_top = NULL; NULL 178 lib/cib/cib_attrs.c xmlNode *xml_obj = NULL; NULL 180 lib/cib/cib_attrs.c char *local_attr_id = NULL; NULL 181 lib/cib/cib_attrs.c char *local_set_name = NULL; NULL 183 lib/cib/cib_attrs.c CRM_CHECK(section != NULL, return -EINVAL); NULL 184 lib/cib/cib_attrs.c CRM_CHECK(attr_value != NULL, return -EINVAL); NULL 185 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return -EINVAL); NULL 202 lib/cib/cib_attrs.c node_uuid = NULL; NULL 211 lib/cib/cib_attrs.c if (node_uuid == NULL) { NULL 227 lib/cib/cib_attrs.c if (node_uuid == NULL) { NULL 237 lib/cib/cib_attrs.c node_uuid = NULL; NULL 240 lib/cib/cib_attrs.c if (set_name == NULL) { NULL 264 lib/cib/cib_attrs.c if (attr_id == NULL) { NULL 269 lib/cib/cib_attrs.c } else if (attr_name == NULL) { NULL 274 lib/cib/cib_attrs.c if (tag != NULL) { NULL 277 lib/cib/cib_attrs.c if (xml_top == NULL) { NULL 282 lib/cib/cib_attrs.c if (node_uuid == NULL && !pcmk__str_eq(node_type, XML_CIB_TAG_TICKETS, pcmk__str_casei)) { NULL 297 lib/cib/cib_attrs.c if (xml_top == NULL) { NULL 304 lib/cib/cib_attrs.c if (xml_top == NULL) { NULL 309 lib/cib/cib_attrs.c rc = cib_internal_op(the_cib, CIB_OP_MODIFY, NULL, section, xml_top, NULL, NULL 333 lib/cib/cib_attrs.c CRM_ASSERT(attr_value != NULL); NULL 334 lib/cib/cib_attrs.c CRM_CHECK(section != NULL, return -EINVAL); NULL 335 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return -EINVAL); NULL 337 lib/cib/cib_attrs.c *attr_value = NULL; NULL 355 lib/cib/cib_attrs.c xmlNode *xml_obj = NULL; NULL 356 lib/cib/cib_attrs.c char *local_attr_id = NULL; NULL 358 lib/cib/cib_attrs.c CRM_CHECK(section != NULL, return -EINVAL); NULL 359 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return -EINVAL); NULL 361 lib/cib/cib_attrs.c if (attr_id == NULL) { NULL 371 lib/cib/cib_attrs.c xml_obj = crm_create_nvpair_xml(NULL, attr_id, attr_name, attr_value); NULL 373 lib/cib/cib_attrs.c rc = cib_internal_op(the_cib, CIB_OP_DELETE, NULL, section, xml_obj, NULL, NULL 403 lib/cib/cib_attrs.c const char *parsed_uuid = NULL; NULL 406 lib/cib/cib_attrs.c if (result == NULL) { NULL 414 lib/cib/cib_attrs.c CRM_CHECK(result != NULL, return rc); NULL 488 lib/cib/cib_attrs.c xmlNode *xml_search = NULL; NULL 491 lib/cib/cib_attrs.c CRM_ASSERT(uname != NULL); NULL 494 lib/cib/cib_attrs.c *uuid = NULL; NULL 501 lib/cib/cib_attrs.c if (cib_internal_op(the_cib, CIB_OP_QUERY, NULL, xpath_string, NULL, NULL 503 lib/cib/cib_attrs.c NULL) == pcmk_ok) { NULL 525 lib/cib/cib_attrs.c xmlNode *a_child = NULL; NULL 526 lib/cib/cib_attrs.c xmlNode *xml_obj = NULL; NULL 527 lib/cib/cib_attrs.c xmlNode *fragment = NULL; NULL 528 lib/cib/cib_attrs.c const char *child_name = NULL; NULL 530 lib/cib/cib_attrs.c CRM_ASSERT(uname != NULL); NULL 531 lib/cib/cib_attrs.c CRM_ASSERT(uuid != NULL); NULL 542 lib/cib/cib_attrs.c CRM_ASSERT(xml_obj != NULL); NULL 546 lib/cib/cib_attrs.c *uname = NULL; NULL 548 lib/cib/cib_attrs.c for (a_child = pcmk__xml_first_child(xml_obj); a_child != NULL; NULL 556 lib/cib/cib_attrs.c if (child_name != NULL) { NULL 573 lib/cib/cib_attrs.c char *attr_id = NULL; NULL 575 lib/cib/cib_attrs.c CRM_CHECK(uuid != NULL, return -EINVAL); NULL 576 lib/cib/cib_attrs.c CRM_CHECK(standby_value != NULL, return -EINVAL); NULL 578 lib/cib/cib_attrs.c if (pcmk__strcase_any_of(scope, "reboot", XML_CIB_TAG_STATUS, NULL)) { NULL 587 lib/cib/cib_attrs.c rc = update_attr_delegate(the_cib, cib_sync_call, scope, uuid, NULL, NULL, NULL 588 lib/cib/cib_attrs.c attr_id, "standby", standby_value, TRUE, NULL, NULL); NULL 28 lib/cib/cib_client.c GHashTable *cib_op_callback_table = NULL; NULL 42 lib/cib/cib_client.c if(cib == NULL) { \ NULL 44 lib/cib/cib_client.c } else if(cib->delegate_fn == NULL) { \ NULL 53 lib/cib/cib_client.c return cib_internal_op(cib, CRM_OP_NOOP, NULL, NULL, NULL, NULL, call_options, NULL); NULL 60 lib/cib/cib_client.c return cib_internal_op(cib, CRM_OP_PING, NULL, NULL, NULL, output_data, call_options, NULL); NULL 66 lib/cib/cib_client.c return cib->cmds->query_from(cib, NULL, section, output_data, call_options); NULL 74 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_QUERY, host, section, NULL, output_data, call_options, NULL); NULL 81 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_ISMASTER, NULL, NULL, NULL, NULL, NULL 82 lib/cib/cib_client.c cib_scope_local | cib_sync_call, NULL); NULL 89 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_SLAVE, NULL, NULL, NULL, NULL, call_options, NULL); NULL 103 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_MASTER, NULL, NULL, NULL, NULL, NULL 104 lib/cib/cib_client.c call_options | cib_scope_local, NULL); NULL 111 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_BUMP, NULL, NULL, NULL, NULL, call_options, NULL); NULL 118 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_UPGRADE, NULL, NULL, NULL, NULL, call_options, NULL); NULL 124 lib/cib/cib_client.c return cib->cmds->sync_from(cib, NULL, section, call_options); NULL 131 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_SYNC, host, section, NULL, NULL, call_options, NULL); NULL 138 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_CREATE, NULL, section, data, NULL, call_options, NULL); NULL 145 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_MODIFY, NULL, section, data, NULL, call_options, NULL); NULL 152 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_MODIFY, NULL, section, data, NULL, call_options, NULL); NULL 159 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_REPLACE, NULL, section, data, NULL, call_options, NULL); NULL 166 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_DELETE, NULL, section, data, NULL, call_options, NULL); NULL 173 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_DELETE_ALT, NULL, section, data, NULL, call_options, NULL); NULL 180 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_ERASE, NULL, NULL, NULL, output_data, call_options, NULL); NULL 203 lib/cib/cib_client.c if (cib_op_callback_table != NULL) { NULL 205 lib/cib/cib_client.c cib_op_callback_table = NULL; NULL 212 lib/cib/cib_client.c char *cib_home = NULL; NULL 213 lib/cib/cib_client.c char *fullname = NULL; NULL 217 lib/cib/cib_client.c if (dir == NULL) { NULL 220 lib/cib/cib_client.c const char *user = NULL; NULL 231 lib/cib/cib_client.c if (pcmk__strcase_any_of(user, "root", CRM_DAEMON_USER, NULL)) { NULL 235 lib/cib/cib_client.c const char *home = NULL; NULL 237 lib/cib/cib_client.c if ((home = getenv("HOME")) == NULL) { NULL 272 lib/cib/cib_client.c cib_t *new_cib = NULL; NULL 273 lib/cib/cib_client.c char *shadow_file = NULL; NULL 275 lib/cib/cib_client.c CRM_CHECK(shadow != NULL, return NULL); NULL 308 lib/cib/cib_client.c int port = crm_parse_int(value, NULL); NULL 319 lib/cib/cib_client.c if (user == NULL) { NULL 324 lib/cib/cib_client.c if (server == NULL) { NULL 347 lib/cib/cib_client.c cib_t *new_cib = NULL; NULL 359 lib/cib/cib_client.c new_cib->op_callback = NULL; NULL 360 lib/cib/cib_client.c new_cib->variant_opaque = NULL; NULL 361 lib/cib/cib_client.c new_cib->notify_list = NULL; NULL 411 lib/cib/cib_client.c while (list != NULL) { NULL 417 lib/cib/cib_client.c cib->notify_list = NULL; NULL 440 lib/cib/cib_client.c if (callback == NULL) { NULL 454 lib/cib/cib_client.c GList *list_item = NULL; NULL 455 lib/cib/cib_client.c cib_notify_client_t *new_client = NULL; NULL 469 lib/cib/cib_client.c if (list_item != NULL) { NULL 487 lib/cib/cib_client.c GList *l = NULL; NULL 505 lib/cib/cib_client.c GList *list_item = NULL; NULL 506 lib/cib/cib_client.c cib_notify_client_t *new_client = NULL; NULL 525 lib/cib/cib_client.c if (list_item != NULL) { NULL 553 lib/cib/cib_client.c CRM_CHECK(a_client->event != NULL && b_client->event != NULL, return 0); NULL 576 lib/cib/cib_client.c cib_native_callback(timer->cib, NULL, timer->call_id, -ETIME); NULL 591 lib/cib/cib_client.c callback_name, callback, NULL); NULL 602 lib/cib/cib_client.c cib_callback_client_t *blob = NULL; NULL 606 lib/cib/cib_client.c callback(NULL, call_id, call_id, NULL, user_data); NULL 624 lib/cib/cib_client.c struct timer_rec_s *async_timer = NULL; NULL 648 lib/cib/cib_client.c NULL, cib_destroy_op_callback); NULL 657 lib/cib/cib_client.c if (cib_op_callback_table == NULL) { NULL 675 lib/cib/cib_client.c if (cib_op_callback_table == NULL) { NULL 678 lib/cib/cib_client.c return g_hash_table_foreach(cib_op_callback_table, cib_dump_pending_op, NULL); NULL 105 lib/cib/cib_file.c if (expected == NULL) { NULL 143 lib/cib/cib_file.c char *local_sigfile = NULL; NULL 144 lib/cib/cib_file.c xmlNode *local_root = NULL; NULL 146 lib/cib/cib_file.c CRM_ASSERT(filename != NULL); NULL 148 lib/cib/cib_file.c *root = NULL; NULL 163 lib/cib/cib_file.c if (local_root == NULL) { NULL 169 lib/cib/cib_file.c if (sigfile == NULL) { NULL 210 lib/cib/cib_file.c if (filename != NULL) { NULL 212 lib/cib/cib_file.c char *real_filename = NULL; NULL 215 lib/cib/cib_file.c char *real_livename = NULL; NULL 331 lib/cib/cib_file.c xmlNode *cib_status_root = NULL; NULL 340 lib/cib/cib_file.c CRM_LOG_ASSERT(cib_status_root != NULL); NULL 341 lib/cib/cib_file.c if (cib_status_root != NULL) { NULL 365 lib/cib/cib_file.c char *digest = NULL; NULL 380 lib/cib/cib_file.c CRM_ASSERT((cib_path != NULL) && (digest_path != NULL) NULL 381 lib/cib/cib_file.c && (tmp_cib != NULL) && (tmp_digest != NULL)); NULL 385 lib/cib/cib_file.c rc = cib_file_read_and_verify(cib_path, NULL, NULL); NULL 435 lib/cib/cib_file.c CRM_ASSERT(digest != NULL); NULL 467 lib/cib/cib_file.c rc = cib_file_read_and_verify(tmp_cib, tmp_digest, NULL); NULL 495 lib/cib/cib_file.c cib_file_opaque_t *private = NULL; NULL 499 lib/cib/cib_file.c CRM_ASSERT((cib != NULL) && (private != NULL)); NULL 504 lib/cib/cib_file.c if (cib_location == NULL) { NULL 527 lib/cib/cib_file.c static xmlNode *in_mem_cib = NULL; NULL 547 lib/cib/cib_file.c xmlNode *root = NULL; NULL 556 lib/cib/cib_file.c if (root == NULL) { NULL 561 lib/cib/cib_file.c if (find_xml_node(root, XML_CIB_TAG_STATUS, FALSE) == NULL) { NULL 566 lib/cib/cib_file.c if (validate_xml(root, NULL, TRUE) == FALSE) { NULL 585 lib/cib/cib_file.c if (private->filename == NULL) { NULL 624 lib/cib/cib_file.c if (daemon_pwent == NULL) { NULL 643 lib/cib/cib_file.c if (sep == NULL) { /* no directory component specified */ NULL 674 lib/cib/cib_file.c if ((sep != NULL) && (*sep == '\0')) { NULL 732 lib/cib/cib_file.c in_mem_cib = NULL; NULL 785 lib/cib/cib_file.c NULL); NULL 794 lib/cib/cib_file.c char *effective_user = NULL; NULL 797 lib/cib/cib_file.c xmlNode *request = NULL; NULL 798 lib/cib/cib_file.c xmlNode *output = NULL; NULL 799 lib/cib/cib_file.c xmlNode *cib_diff = NULL; NULL 800 lib/cib/cib_file.c xmlNode *result_cib = NULL; NULL 801 lib/cib/cib_file.c cib_op_t *fn = NULL; NULL 822 lib/cib/cib_file.c if (output_data != NULL) { NULL 823 lib/cib/cib_file.c *output_data = NULL; NULL 826 lib/cib/cib_file.c if (op == NULL) { NULL 838 lib/cib/cib_file.c if (fn == NULL) { NULL 851 lib/cib/cib_file.c if (section != NULL && data != NULL && pcmk__str_eq(crm_element_name(data), XML_TAG_CIB, pcmk__str_none)) { NULL 876 lib/cib/cib_file.c if (cib->op_callback != NULL) { NULL 877 lib/cib/cib_file.c cib->op_callback(NULL, cib->call_id, rc, output); NULL 58 lib/cib/cib_native.c cib_native_opaque_t *native = NULL; NULL 66 lib/cib/cib_native.c native->ipc = NULL; NULL 67 lib/cib/cib_native.c native->source = NULL; NULL 68 lib/cib/cib_native.c native->dnotify_fn = NULL; NULL 86 lib/cib/cib_native.c return cib_native_signon_raw(cib, name, type, NULL); NULL 92 lib/cib/cib_native.c const char *type = NULL; NULL 93 lib/cib/cib_native.c xmlNode *msg = NULL; NULL 99 lib/cib/cib_native.c if (cib == NULL) { NULL 106 lib/cib/cib_native.c if (msg == NULL) { NULL 138 lib/cib/cib_native.c native->source = NULL; NULL 139 lib/cib/cib_native.c native->ipc = NULL; NULL 150 lib/cib/cib_native.c const char *channel = NULL; NULL 178 lib/cib/cib_native.c if (async_fd != NULL) { NULL 195 lib/cib/cib_native.c if (rc != pcmk_ok || native->ipc == NULL || crm_ipc_connected(native->ipc) == FALSE) { NULL 201 lib/cib/cib_native.c xmlNode *reply = NULL; NULL 202 lib/cib/cib_native.c xmlNode *hello = create_xml_node(NULL, "cib_command"); NULL 222 lib/cib/cib_native.c if (native->token == NULL) { NULL 253 lib/cib/cib_native.c if (native->source != NULL) { NULL 256 lib/cib/cib_native.c native->source = NULL; NULL 257 lib/cib/cib_native.c native->ipc = NULL; NULL 263 lib/cib/cib_native.c native->ipc = NULL; NULL 300 lib/cib/cib_native.c data, output_data, call_options, NULL); NULL 312 lib/cib/cib_native.c xmlNode *op_msg = NULL; NULL 313 lib/cib/cib_native.c xmlNode *op_reply = NULL; NULL 321 lib/cib/cib_native.c if (output_data != NULL) { NULL 322 lib/cib/cib_native.c *output_data = NULL; NULL 325 lib/cib/cib_native.c if (op == NULL) { NULL 339 lib/cib/cib_native.c CRM_CHECK(native->token != NULL,; NULL 344 lib/cib/cib_native.c if (op_msg == NULL) { NULL 378 lib/cib/cib_native.c if (output_data == NULL || (call_options & cib_discard_reply)) { NULL 381 lib/cib/cib_native.c } else if (tmp != NULL) { NULL 398 lib/cib/cib_native.c if (op_reply == NULL && cib->state == cib_disconnected) { NULL 401 lib/cib/cib_native.c } else if (rc == pcmk_ok && op_reply == NULL) { NULL 443 lib/cib/cib_native.c cib_native_opaque_t *native = NULL; NULL 445 lib/cib/cib_native.c if (cib == NULL) { NULL 460 lib/cib/cib_native.c xmlNode *notify_msg = create_xml_node(NULL, "cib-callback"); NULL 468 lib/cib/cib_native.c 1000 * cib->call_timeout, NULL); NULL 33 lib/cib/cib_ops.c xmlNode *obj_root = NULL; NULL 43 lib/cib/cib_ops.c CRM_CHECK(*answer == NULL, free_xml(*answer)); NULL 44 lib/cib/cib_ops.c *answer = NULL; NULL 47 lib/cib/cib_ops.c section = NULL; NULL 52 lib/cib/cib_ops.c if (obj_root == NULL) { NULL 66 lib/cib/cib_ops.c if (result == pcmk_ok && *answer == NULL) { NULL 81 lib/cib/cib_ops.c *answer = NULL; NULL 103 lib/cib/cib_ops.c *answer = NULL; NULL 106 lib/cib/cib_ops.c if (value != NULL) { NULL 135 lib/cib/cib_ops.c *answer = NULL; NULL 144 lib/cib/cib_ops.c char *new_value = NULL; NULL 145 lib/cib/cib_ops.c char *old_value = NULL; NULL 148 lib/cib/cib_ops.c if (reset == FALSE && crm_element_value(xml_obj, field) != NULL) { NULL 151 lib/cib/cib_ops.c if (old_value != NULL) { NULL 172 lib/cib/cib_ops.c const char *tag = NULL; NULL 182 lib/cib/cib_ops.c *answer = NULL; NULL 184 lib/cib/cib_ops.c if (input == NULL) { NULL 191 lib/cib/cib_ops.c section = NULL; NULL 194 lib/cib/cib_ops.c section = NULL; NULL 206 lib/cib/cib_ops.c const char *reason = NULL; NULL 249 lib/cib/cib_ops.c if (reason != NULL) { NULL 265 lib/cib/cib_ops.c xmlNode *obj_root = NULL; NULL 269 lib/cib/cib_ops.c ok = replace_xml_child(NULL, obj_root, input, FALSE); NULL 283 lib/cib/cib_ops.c xmlNode *obj_root = NULL; NULL 292 lib/cib/cib_ops.c if (input == NULL) { NULL 299 lib/cib/cib_ops.c xmlNode *child = NULL; NULL 302 lib/cib/cib_ops.c if (replace_xml_child(NULL, obj_root, child, TRUE) == FALSE) { NULL 307 lib/cib/cib_ops.c } else if (replace_xml_child(NULL, obj_root, input, TRUE) == FALSE) { NULL 318 lib/cib/cib_ops.c xmlNode *obj_root = NULL; NULL 327 lib/cib/cib_ops.c if (input == NULL) { NULL 333 lib/cib/cib_ops.c if (obj_root == NULL) { NULL 334 lib/cib/cib_ops.c xmlNode *tmp_section = NULL; NULL 337 lib/cib/cib_ops.c if (path == NULL) { NULL 341 lib/cib/cib_ops.c tmp_section = create_xml_node(NULL, section); NULL 342 lib/cib/cib_ops.c cib_process_xpath(CIB_OP_CREATE, 0, path, NULL, tmp_section, NULL, result_cib, answer); NULL 348 lib/cib/cib_ops.c CRM_CHECK(obj_root != NULL, return -EINVAL); NULL 385 lib/cib/cib_ops.c xmlNode *target = NULL; NULL 386 lib/cib/cib_ops.c xmlNode *a_child = NULL; NULL 387 lib/cib/cib_ops.c const char *replace = NULL; NULL 388 lib/cib/cib_ops.c const char *object_id = NULL; NULL 389 lib/cib/cib_ops.c const char *object_name = NULL; NULL 391 lib/cib/cib_ops.c CRM_CHECK(update != NULL, return -EINVAL); NULL 392 lib/cib/cib_ops.c CRM_CHECK(parent != NULL, return -EINVAL); NULL 395 lib/cib/cib_ops.c CRM_CHECK(object_name != NULL, return -EINVAL); NULL 400 lib/cib/cib_ops.c if (object_id == NULL) { NULL 408 lib/cib/cib_ops.c if (target == NULL) { NULL 415 lib/cib/cib_ops.c if (replace != NULL) { NULL 416 lib/cib/cib_ops.c xmlNode *remove = NULL; NULL 422 lib/cib/cib_ops.c char *replace_item = NULL; NULL 432 lib/cib/cib_ops.c if (remove != NULL) { NULL 436 lib/cib/cib_ops.c remove = NULL; NULL 452 lib/cib/cib_ops.c for (a_child = pcmk__xml_first_child(update); a_child != NULL; NULL 479 lib/cib/cib_ops.c const char *object_name = NULL; NULL 480 lib/cib/cib_ops.c const char *object_id = NULL; NULL 481 lib/cib/cib_ops.c xmlNode *equiv_node = NULL; NULL 483 lib/cib/cib_ops.c if (new_obj != NULL) { NULL 490 lib/cib/cib_ops.c if (new_obj == NULL || object_name == NULL) { NULL 493 lib/cib/cib_ops.c } else if (parent == NULL) { NULL 496 lib/cib/cib_ops.c } else if (object_id == NULL) { NULL 508 lib/cib/cib_ops.c } else if (equiv_node != NULL) { NULL 522 lib/cib/cib_ops.c xmlNode *failed = NULL; NULL 524 lib/cib/cib_ops.c xmlNode *update_section = NULL; NULL 528 lib/cib/cib_ops.c section = NULL; NULL 531 lib/cib/cib_ops.c section = NULL; NULL 534 lib/cib/cib_ops.c section = NULL; NULL 539 lib/cib/cib_ops.c if (input == NULL) { NULL 544 lib/cib/cib_ops.c if (section == NULL) { NULL 549 lib/cib/cib_ops.c failed = create_xml_node(NULL, XML_TAG_FAILED); NULL 553 lib/cib/cib_ops.c xmlNode *a_child = NULL; NULL 555 lib/cib/cib_ops.c for (a_child = pcmk__xml_first_child(input); a_child != NULL; NULL 587 lib/cib/cib_ops.c const char *originator = NULL; NULL 589 lib/cib/cib_ops.c if (req != NULL) { NULL 607 lib/cib/cib_ops.c xmlXPathObject *xpathObj = NULL; NULL 610 lib/cib/cib_ops.c CRM_ASSERT(diff != NULL); NULL 612 lib/cib/cib_ops.c if (*diff == NULL && last != NULL && next != NULL) { NULL 616 lib/cib/cib_ops.c if (*diff == NULL) { NULL 642 lib/cib/cib_ops.c if (crm_element_value(top, XML_ATTR_GENERATION) != NULL) { NULL 646 lib/cib/cib_ops.c if (crm_element_value(top, XML_ATTR_GENERATION_ADMIN) != NULL) { NULL 651 lib/cib/cib_ops.c if (crm_element_value(top, XML_ATTR_VALIDATION) != NULL) { NULL 655 lib/cib/cib_ops.c if (crm_element_value(top, XML_ATTR_CRM_VERSION) != NULL) { NULL 659 lib/cib/cib_ops.c if (crm_element_value(top, "remote-clear-port") != NULL) { NULL 663 lib/cib/cib_ops.c if (crm_element_value(top, "remote-tls-port") != NULL) { NULL 683 lib/cib/cib_ops.c xmlXPathObjectPtr xpathObj = NULL; NULL 704 lib/cib/cib_ops.c *answer = create_xml_node(NULL, "xpath-query"); NULL 713 lib/cib/cib_ops.c xmlChar *path = NULL; NULL 716 lib/cib/cib_ops.c if (match == NULL) { NULL 756 lib/cib/cib_ops.c if (*answer == NULL) { NULL 761 lib/cib/cib_ops.c char *path = NULL; NULL 766 lib/cib/cib_ops.c char *new_path = NULL; NULL 782 lib/cib/cib_ops.c if (*answer == NULL) { NULL 783 lib/cib/cib_ops.c *answer = create_xml_node(NULL, "xpath-query"); NULL 800 lib/cib/cib_ops.c if (input != NULL) { NULL 818 lib/cib/cib_ops.c xmlNode *xml_node = NULL; NULL 820 lib/cib/cib_ops.c const char *error_msg = NULL; NULL 95 lib/cib/cib_remote.c xmlNode *notify_msg = create_xml_node(NULL, "cib_command"); NULL 110 lib/cib/cib_remote.c cib_remote_opaque_t *private = NULL; NULL 164 lib/cib/cib_remote.c private->command.tls_session = NULL; NULL 165 lib/cib/cib_remote.c private->callback.tls_session = NULL; NULL 187 lib/cib/cib_remote.c private->command.buffer = NULL; NULL 188 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 222 lib/cib/cib_remote.c rc = pcmk__connect_remote(private->server, private->port, 0, NULL, NULL 223 lib/cib/cib_remote.c &(connection->tcp_socket), NULL, NULL); NULL 244 lib/cib/cib_remote.c if (connection->tls_session == NULL) { NULL 254 lib/cib/cib_remote.c connection->tls_session = NULL; NULL 264 lib/cib/cib_remote.c login = create_xml_node(NULL, "cib_command"); NULL 281 lib/cib/cib_remote.c if (answer == NULL) { NULL 293 lib/cib/cib_remote.c } else if (tmp_ticket == NULL) { NULL 301 lib/cib/cib_remote.c answer = NULL; NULL 335 lib/cib/cib_remote.c private->command.buffer = NULL; NULL 351 lib/cib/cib_remote.c xmlNode *msg = NULL; NULL 390 lib/cib/cib_remote.c if (private->passwd == NULL) { NULL 407 lib/cib/cib_remote.c private->passwd = NULL; NULL 414 lib/cib/cib_remote.c if (private->server == NULL || private->user == NULL) { NULL 428 lib/cib/cib_remote.c cib_create_op(0, private->callback.token, CRM_OP_REGISTER, NULL, NULL, NULL, 0, NULL); NULL 497 lib/cib/cib_remote.c xmlNode *op_msg = NULL; NULL 498 lib/cib/cib_remote.c xmlNode *op_reply = NULL; NULL 506 lib/cib/cib_remote.c if (output_data != NULL) { NULL 507 lib/cib/cib_remote.c *output_data = NULL; NULL 510 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 579 lib/cib/cib_remote.c op_reply = NULL; NULL 582 lib/cib/cib_remote.c remaining_time = time(NULL) - start_time; NULL 594 lib/cib/cib_remote.c } else if (op_reply == NULL) { NULL 620 lib/cib/cib_remote.c if (output_data == NULL) { NULL 626 lib/cib/cib_remote.c if (tmp == NULL) { NULL 41 lib/cib/cib_utils.c { NULL, NULL, "//cib" }, NULL 42 lib/cib/cib_utils.c { XML_TAG_CIB, NULL, "//cib" }, NULL 55 lib/cib/cib_utils.c { XML_CIB_TAG_SECTION_ALL, NULL, "//cib" }, NULL 62 lib/cib/cib_utils.c xmlNode *the_cib = NULL; NULL 63 lib/cib/cib_utils.c xmlNode *generation = create_xml_node(NULL, XML_CIB_TAG_GENERATION_TUPPLE); NULL 65 lib/cib/cib_utils.c cib->cmds->query(cib, NULL, &the_cib, cib_scope_local | cib_sync_call); NULL 66 lib/cib/cib_utils.c if (the_cib != NULL) { NULL 81 lib/cib/cib_utils.c if (cib == NULL) { NULL 123 lib/cib/cib_utils.c if ((object_type == NULL && known_paths[lpc].name == NULL) NULL 128 lib/cib/cib_utils.c return NULL; NULL 142 lib/cib/cib_utils.c return NULL; NULL 150 lib/cib/cib_utils.c if (xpath == NULL) { NULL 164 lib/cib/cib_utils.c xmlNode *cib_root = NULL, *config = NULL; NULL 166 lib/cib/cib_utils.c cib_root = create_xml_node(NULL, XML_TAG_CIB); NULL 192 lib/cib/cib_utils.c const char *value = NULL; NULL 214 lib/cib/cib_utils.c xmlNode *top = NULL; NULL 215 lib/cib/cib_utils.c xmlNode *scratch = NULL; NULL 216 lib/cib/cib_utils.c xmlNode *local_diff = NULL; NULL 218 lib/cib/cib_utils.c const char *new_version = NULL; NULL 219 lib/cib/cib_utils.c static struct qb_log_callsite *diff_cs = NULL; NULL 227 lib/cib/cib_utils.c CRM_CHECK(output != NULL, return -ENOMSG); NULL 228 lib/cib/cib_utils.c CRM_CHECK(result_cib != NULL, return -ENOMSG); NULL 229 lib/cib/cib_utils.c CRM_CHECK(config_changed != NULL, return -ENOMSG); NULL 232 lib/cib/cib_utils.c *output = NULL; NULL 235 lib/cib/cib_utils.c *result_cib = NULL; NULL 238 lib/cib/cib_utils.c if (fn == NULL) { NULL 244 lib/cib/cib_utils.c xmlNode *cib_filtered = NULL; NULL 248 lib/cib/cib_utils.c if (cib_filtered == NULL) { NULL 259 lib/cib/cib_utils.c if(output == NULL || *output == NULL) { NULL 263 lib/cib/cib_utils.c cib_filtered = NULL; /* Let them have this copy */ NULL 288 lib/cib/cib_utils.c current_cib = create_xml_node(NULL, (const char *)scratch->name); NULL 292 lib/cib/cib_utils.c xml_track_changes(scratch, user, NULL, cib_acl_enabled(scratch, user)); NULL 297 lib/cib/cib_utils.c xml_track_changes(scratch, user, NULL, cib_acl_enabled(scratch, user)); NULL 310 lib/cib/cib_utils.c if (rc == pcmk_ok && scratch == NULL) { NULL 375 lib/cib/cib_utils.c time_t tm_now = time(NULL); NULL 388 lib/cib/cib_utils.c if (diff_cs == NULL) { NULL 411 lib/cib/cib_utils.c save_xml_to_file(c, "PatchApply:calculated", NULL); NULL 412 lib/cib/cib_utils.c save_xml_to_file(current_cib, "PatchApply:input", NULL); NULL 413 lib/cib/cib_utils.c save_xml_to_file(scratch, "PatchApply:actual", NULL); NULL 414 lib/cib/cib_utils.c save_xml_to_file(local_diff, "PatchApply:diff", NULL); NULL 456 lib/cib/cib_utils.c CRM_LOG_ASSERT(origin != NULL); NULL 468 lib/cib/cib_utils.c if ((rc == pcmk_ok) && check_schema && !validate_xml(scratch, NULL, TRUE)) { NULL 483 lib/cib/cib_utils.c if (*result_cib == NULL) { NULL 506 lib/cib/cib_utils.c xmlNode *op_msg = create_xml_node(NULL, "cib_command"); NULL 508 lib/cib/cib_utils.c CRM_CHECK(op_msg != NULL, return NULL); NULL 509 lib/cib/cib_utils.c CRM_CHECK(token != NULL, return NULL); NULL 527 lib/cib/cib_utils.c if (data != NULL) { NULL 532 lib/cib/cib_utils.c CRM_CHECK((call_options & cib_scope_local), return NULL); NULL 540 lib/cib/cib_utils.c xmlNode *output = NULL; NULL 541 lib/cib/cib_utils.c cib_callback_client_t *blob = NULL; NULL 543 lib/cib/cib_utils.c if (msg != NULL) { NULL 550 lib/cib/cib_utils.c if (blob == NULL) { NULL 554 lib/cib/cib_utils.c if (cib == NULL) { NULL 567 lib/cib/cib_utils.c } else if (cib && cib->op_callback == NULL && rc != pcmk_ok) { NULL 577 lib/cib/cib_utils.c if (cib && cib->op_callback != NULL) { NULL 589 lib/cib/cib_utils.c const char *event = NULL; NULL 591 lib/cib/cib_utils.c if (msg == NULL) { NULL 598 lib/cib/cib_utils.c if (entry == NULL) { NULL 602 lib/cib/cib_utils.c } else if (entry->callback == NULL) { NULL 623 lib/cib/cib_utils.c "enable-acl", NULL, "boolean", NULL, NULL 626 lib/cib/cib_utils.c NULL NULL 629 lib/cib/cib_utils.c "cluster-ipc-limit", NULL, "integer", NULL, NULL 663 lib/cib/cib_utils.c xmlNode *config = NULL; NULL 664 lib/cib/cib_utils.c crm_time_t *now = NULL; NULL 666 lib/cib/cib_utils.c if (options == NULL || current_cib == NULL) { NULL 670 lib/cib/cib_utils.c now = crm_time_new(NULL); NULL 676 lib/cib/cib_utils.c pe_unpack_nvpairs(current_cib, config, XML_CIB_TAG_PROPSET, NULL, NULL 677 lib/cib/cib_utils.c options, CIB_OPTIONS_FIRST, TRUE, now, NULL); NULL 719 lib/cib/cib_utils.c if(user_name == NULL) { NULL 740 lib/cib/cib_utils.c xmlNode *diff = NULL; NULL 749 lib/cib/cib_utils.c if (rc < pcmk_ok || diff == NULL) { NULL 757 lib/cib/cib_utils.c if (input != NULL) { NULL 758 lib/cib/cib_utils.c rc = cib_process_diff(NULL, cib_none, NULL, event, diff, input, output, NULL 759 lib/cib/cib_utils.c NULL); NULL 770 lib/cib/cib_utils.c *output = NULL; NULL 32 lib/cluster/cluster.c char *uuid = NULL; NULL 36 lib/cluster/cluster.c if(peer == NULL) { NULL 37 lib/cluster/cluster.c return NULL; NULL 122 lib/cluster/cluster.c static char *name = NULL; NULL 134 lib/cluster/cluster.c char *name = NULL; NULL 149 lib/cluster/cluster.c if(name == NULL && nodeid == 0) { NULL 151 lib/cluster/cluster.c if (name == NULL) { NULL 160 lib/cluster/cluster.c if (name == NULL) { NULL 181 lib/cluster/cluster.c crm_node_t *node = NULL; NULL 183 lib/cluster/cluster.c CRM_CHECK(uuid != NULL, return NULL); NULL 192 lib/cluster/cluster.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 200 lib/cluster/cluster.c node = NULL; NULL 204 lib/cluster/cluster.c uint32_t id = (uint32_t) crm_parse_ll(uuid, NULL); NULL 207 lib/cluster/cluster.c node = crm_find_peer(id, NULL); NULL 219 lib/cluster/cluster.c return NULL; NULL 223 lib/cluster/cluster.c return NULL; NULL 278 lib/cluster/cluster.c const char *cluster = NULL; NULL 289 lib/cluster/cluster.c if(cluster == NULL) { NULL 301 lib/cluster/cluster.c if (cluster == NULL) { NULL 340 lib/cluster/cluster.c if (name == NULL) { NULL 348 lib/cluster/cluster.c } else if (strstr(name, ":") != NULL) { NULL 41 lib/cluster/corosync.c gboolean(*quorum_app_callback) (unsigned long long seq, gboolean quorate) = NULL; NULL 53 lib/cluster/corosync.c return NULL; NULL 66 lib/cluster/corosync.c char *name = NULL; NULL 124 lib/cluster/corosync.c while (name == NULL && cmap_handle != 0) { NULL 126 lib/cluster/corosync.c char *key = NULL; NULL 139 lib/cluster/corosync.c if (name == NULL) { NULL 145 lib/cluster/corosync.c if (name == NULL) { NULL 152 lib/cluster/corosync.c name = NULL; NULL 167 lib/cluster/corosync.c if (name == NULL) { NULL 206 lib/cluster/corosync.c crm_node_t *node = NULL; NULL 235 lib/cluster/corosync.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 246 lib/cluster/corosync.c node = crm_get_peer(id, NULL); NULL 247 lib/cluster/corosync.c if (node->uname == NULL) { NULL 346 lib/cluster/corosync.c corosync_initialize_nodelist(NULL, FALSE, NULL); NULL 385 lib/cluster/corosync.c crm_node_t *peer = NULL; NULL 408 lib/cluster/corosync.c if(cluster->uname == NULL) { NULL 514 lib/cluster/corosync.c if (node == NULL) { NULL 584 lib/cluster/corosync.c char *name = NULL; NULL 585 lib/cluster/corosync.c char *key = NULL; NULL 596 lib/cluster/corosync.c if (name != NULL) { NULL 598 lib/cluster/corosync.c crm_node_t *node = NULL; NULL 601 lib/cluster/corosync.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 612 lib/cluster/corosync.c if (nodeid > 0 || name != NULL) { NULL 617 lib/cluster/corosync.c if (nodeid > 0 && name != NULL) { NULL 642 lib/cluster/corosync.c char *cluster_name = NULL; NULL 654 lib/cluster/corosync.c return NULL; NULL 768 lib/cluster/corosync.c if (cmap_iter_next(cmap_handle, iter_handle, key_name, NULL, NULL) == CS_OK) { NULL 37 lib/cluster/cpg.c gboolean(*pcmk_cpg_dispatch_fn) (int kind, const char *from, const char *data) = NULL; NULL 133 lib/cluster/cpg.c GListPtr cs_message_queue = NULL; NULL 255 lib/cluster/cpg.c char *data = NULL; NULL 265 lib/cluster/cpg.c return NULL; NULL 270 lib/cluster/cpg.c return NULL; NULL 274 lib/cluster/cpg.c return NULL; NULL 279 lib/cluster/cpg.c crm_node_t *peer = crm_get_peer(nodeid, NULL); NULL 281 lib/cluster/cpg.c if (peer == NULL) { NULL 284 lib/cluster/cpg.c } else if (peer->uname == NULL) { NULL 300 lib/cluster/cpg.c if (kind != NULL) { NULL 303 lib/cluster/cpg.c if (from != NULL) { NULL 309 lib/cluster/cpg.c char *uncompressed = NULL; NULL 312 lib/cluster/cpg.c if (check_message_sanity(msg, NULL) == FALSE) { NULL 338 lib/cluster/cpg.c send_cluster_text(crm_class_cluster, pid_s, TRUE, NULL, crm_msg_ais); NULL 340 lib/cluster/cpg.c return NULL; NULL 361 lib/cluster/cpg.c return NULL; NULL 395 lib/cluster/cpg.c if (peer == NULL) { NULL 397 lib/cluster/cpg.c } else if (peer->uname == NULL) { NULL 418 lib/cluster/cpg.c CRM_ASSERT(sorted != NULL); NULL 428 lib/cluster/cpg.c crm_node_t *peer = crm_find_peer(left_list[i].nodeid, NULL); NULL 429 lib/cluster/cpg.c const struct cpg_address **rival = NULL; NULL 453 lib/cluster/cpg.c if (rival == NULL) { NULL 475 lib/cluster/cpg.c sorted = NULL; NULL 484 lib/cluster/cpg.c crm_node_t *peer = crm_get_peer(member_list[i].nodeid, NULL); NULL 511 lib/cluster/cpg.c time_t now = time(NULL); NULL 545 lib/cluster/cpg.c crm_node_t *peer = NULL; NULL 629 lib/cluster/cpg.c peer = crm_get_peer(id, NULL); NULL 638 lib/cluster/cpg.c char *data = NULL; NULL 653 lib/cluster/cpg.c static const char *local_name = NULL; NULL 655 lib/cluster/cpg.c char *target = NULL; NULL 657 lib/cluster/cpg.c AIS_Message *msg = NULL; NULL 670 lib/cluster/cpg.c if(local_name == NULL) { NULL 677 lib/cluster/cpg.c if (data == NULL) { NULL 730 lib/cluster/cpg.c char *compressed = NULL; NULL 780 lib/cluster/cpg.c CRM_CHECK(text != NULL, return type); NULL 786 lib/cluster/cpg.c } else if (pcmk__strcase_any_of(text, CRM_SYSTEM_CRMD, CRM_SYSTEM_DC, NULL)) { NULL 85 lib/cluster/election.c election_t *e = NULL; NULL 89 lib/cluster/election.c CRM_CHECK(uname != NULL, return NULL); NULL 92 lib/cluster/election.c if (e == NULL) { NULL 94 lib/cluster/election.c return NULL; NULL 98 lib/cluster/election.c if (e->uname == NULL) { NULL 101 lib/cluster/election.c return NULL; NULL 139 lib/cluster/election.c if (e != NULL) { NULL 145 lib/cluster/election.c e->voted = NULL; NULL 214 lib/cluster/election.c time_t tm_now = time(NULL); NULL 286 lib/cluster/election.c xmlNode *vote = NULL; NULL 289 lib/cluster/election.c if (e == NULL) { NULL 295 lib/cluster/election.c if ((our_node == NULL) || (crm_is_peer_active(our_node) == FALSE)) { NULL 303 lib/cluster/election.c vote = create_request(CRM_OP_VOTE, NULL, NULL, CRM_SYSTEM_CRMD, CRM_SYSTEM_CRMD, NULL); NULL 312 lib/cluster/election.c send_cluster_message(NULL, crm_msg_crmd, vote, TRUE); NULL 341 lib/cluster/election.c if(e == NULL) { NULL 345 lib/cluster/election.c if (e->voted == NULL) { NULL 363 lib/cluster/election.c char *key = NULL; NULL 367 lib/cluster/election.c while (g_hash_table_iter_next(&gIter, NULL, (gpointer *) & node)) { NULL 374 lib/cluster/election.c while (g_hash_table_iter_next(&gIter, (gpointer *) & key, NULL)) { NULL 430 lib/cluster/election.c if ((vote->op == NULL) || (vote->from == NULL) || (vote->version == NULL) NULL 431 lib/cluster/election.c || (vote->election_owner == NULL) || (vote->election_id < 0)) { NULL 460 lib/cluster/election.c if (e == NULL) { NULL 469 lib/cluster/election.c if (crm_peer_cache == NULL) { NULL 480 lib/cluster/election.c char *voter_copy = NULL; NULL 481 lib/cluster/election.c char *vote_copy = NULL; NULL 484 lib/cluster/election.c if (e->voted == NULL) { NULL 500 lib/cluster/election.c xmlNode *novote = create_request(CRM_OP_NOVOTE, NULL, vote->from, NULL 501 lib/cluster/election.c CRM_SYSTEM_CRMD, CRM_SYSTEM_CRMD, NULL); NULL 533 lib/cluster/election.c crm_node_t *our_node = NULL, *your_node = NULL; NULL 534 lib/cluster/election.c time_t tm_now = time(NULL); NULL 537 lib/cluster/election.c CRM_CHECK(message != NULL, return election_error); NULL 544 lib/cluster/election.c we_are_owner = (our_node != NULL) NULL 552 lib/cluster/election.c } else if (our_node == NULL || crm_is_peer_active(our_node) == FALSE) { NULL 562 lib/cluster/election.c } else if (your_node == NULL || crm_is_peer_active(your_node) == FALSE) { NULL 644 lib/cluster/election.c crm_write_blackbox(0, NULL); NULL 34 lib/cluster/membership.c GHashTable *crm_peer_cache = NULL; NULL 51 lib/cluster/membership.c GHashTable *crm_remote_peer_cache = NULL; NULL 53 lib/cluster/membership.c GHashTable *crm_known_peer_cache = NULL; NULL 62 lib/cluster/membership.c if (crm_remote_peer_cache == NULL) { NULL 84 lib/cluster/membership.c if (node_name == NULL) { NULL 86 lib/cluster/membership.c return NULL; NULL 97 lib/cluster/membership.c if (node == NULL) { NULL 98 lib/cluster/membership.c return NULL; NULL 104 lib/cluster/membership.c if (node->uuid == NULL) { NULL 107 lib/cluster/membership.c return NULL; NULL 170 lib/cluster/membership.c const char *state = NULL; NULL 173 lib/cluster/membership.c CRM_CHECK(remote != NULL, return); NULL 183 lib/cluster/membership.c if (node == NULL) { NULL 244 lib/cluster/membership.c g_hash_table_foreach(crm_remote_peer_cache, mark_dirty, NULL); NULL 268 lib/cluster/membership.c g_hash_table_foreach_remove(crm_remote_peer_cache, is_dirty, NULL); NULL 274 lib/cluster/membership.c if(node == NULL) { NULL 298 lib/cluster/membership.c if (search == NULL) { NULL 329 lib/cluster/membership.c if (crm_peer_cache == NULL) { NULL 335 lib/cluster/membership.c search.uname = name ? strdup(name) : NULL; NULL 392 lib/cluster/membership.c if (crm_peer_cache == NULL) { NULL 396 lib/cluster/membership.c if (crm_remote_peer_cache == NULL) { NULL 397 lib/cluster/membership.c crm_remote_peer_cache = g_hash_table_new_full(crm_strcase_hash, crm_strcase_equal, NULL, destroy_crm_node); NULL 400 lib/cluster/membership.c if (crm_known_peer_cache == NULL) { NULL 408 lib/cluster/membership.c if (crm_peer_cache != NULL) { NULL 411 lib/cluster/membership.c crm_peer_cache = NULL; NULL 414 lib/cluster/membership.c if (crm_remote_peer_cache != NULL) { NULL 417 lib/cluster/membership.c crm_remote_peer_cache = NULL; NULL 420 lib/cluster/membership.c if (crm_known_peer_cache != NULL) { NULL 423 lib/cluster/membership.c crm_known_peer_cache = NULL; NULL 428 lib/cluster/membership.c void (*crm_status_callback) (enum crm_status_type, crm_node_t *, const void *) = NULL; NULL 466 lib/cluster/membership.c const char *id = NULL; NULL 467 lib/cluster/membership.c crm_node_t *node = NULL; NULL 486 lib/cluster/membership.c crm_node_t *node = NULL; NULL 488 lib/cluster/membership.c CRM_ASSERT(id > 0 || uname != NULL); NULL 492 lib/cluster/membership.c if ((uname != NULL) && (flags & CRM_GET_PEER_REMOTE)) { NULL 496 lib/cluster/membership.c if (node == NULL && (flags & CRM_GET_PEER_CLUSTER)) { NULL 505 lib/cluster/membership.c crm_node_t *node = NULL; NULL 507 lib/cluster/membership.c CRM_ASSERT(id > 0 || uname != NULL); NULL 515 lib/cluster/membership.c if (node == NULL && (flags & CRM_GET_PEER_CLUSTER)) { NULL 525 lib/cluster/membership.c crm_node_t *node = NULL; NULL 526 lib/cluster/membership.c crm_node_t *by_id = NULL; NULL 527 lib/cluster/membership.c crm_node_t *by_name = NULL; NULL 529 lib/cluster/membership.c CRM_ASSERT(id > 0 || uname != NULL); NULL 533 lib/cluster/membership.c if (uname != NULL) { NULL 535 lib/cluster/membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 546 lib/cluster/membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 560 lib/cluster/membership.c } else if(by_id == NULL && by_name) { NULL 567 lib/cluster/membership.c node = NULL; /* Create a new one */ NULL 573 lib/cluster/membership.c } else if(by_name == NULL && by_id) { NULL 619 lib/cluster/membership.c crm_node_t *existing_node = NULL; NULL 621 lib/cluster/membership.c if (node->id == 0 || node->uname == NULL) { NULL 630 lib/cluster/membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &existing_node)) { NULL 633 lib/cluster/membership.c && existing_node->uname != NULL NULL 656 lib/cluster/membership.c crm_node_t *node = NULL; NULL 657 lib/cluster/membership.c char *uname_lookup = NULL; NULL 659 lib/cluster/membership.c CRM_ASSERT(id > 0 || uname != NULL); NULL 667 lib/cluster/membership.c if ((node == NULL || node->uname == NULL) && (uname == NULL)) { NULL 676 lib/cluster/membership.c if (node == NULL) { NULL 682 lib/cluster/membership.c if (node == NULL) { NULL 693 lib/cluster/membership.c if(id > 0 && uname && (node->id == 0 || node->uname == NULL)) { NULL 701 lib/cluster/membership.c if (uname && (node->uname == NULL)) { NULL 705 lib/cluster/membership.c if(node->uuid == NULL) { NULL 735 lib/cluster/membership.c CRM_CHECK(uname != NULL, NULL 737 lib/cluster/membership.c CRM_CHECK(node != NULL, NULL 756 lib/cluster/membership.c CRM_ASSERT(node->uname != NULL); NULL 759 lib/cluster/membership.c crm_status_callback(crm_status_uname, node, NULL); NULL 791 lib/cluster/membership.c CRM_CHECK(node != NULL, crm_err("%s: Could not set %s to %s for NULL", NULL 792 lib/cluster/membership.c source, peer2text(flag), status); return NULL); NULL 800 lib/cluster/membership.c if (status == NULL) { NULL 824 lib/cluster/membership.c if (status == NULL && flag <= crm_proc_none) { NULL 842 lib/cluster/membership.c if (crm_peer_cache == NULL) { NULL 843 lib/cluster/membership.c return NULL; NULL 847 lib/cluster/membership.c const char *peer_state = NULL; NULL 866 lib/cluster/membership.c char *last = NULL; NULL 869 lib/cluster/membership.c CRM_CHECK(node != NULL, crm_err("%s: Could not set 'expected' to %s", source, expected); NULL 878 lib/cluster/membership.c if (expected != NULL && !pcmk__str_eq(node->expected, expected, pcmk__str_casei)) { NULL 914 lib/cluster/membership.c CRM_CHECK(node != NULL, NULL 917 lib/cluster/membership.c return NULL); NULL 952 lib/cluster/membership.c node = NULL; NULL 980 lib/cluster/membership.c return crm_update_peer_state_iter(source, node, state, membership, NULL); NULL 993 lib/cluster/membership.c crm_node_t *node = NULL; NULL 997 lib/cluster/membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *)&node)) { NULL 1033 lib/cluster/membership.c crm_node_t *node = NULL; NULL 1034 lib/cluster/membership.c crm_node_t *by_id = NULL; NULL 1035 lib/cluster/membership.c crm_node_t *by_name = NULL; NULL 1039 lib/cluster/membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 1050 lib/cluster/membership.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 1064 lib/cluster/membership.c } else if (by_id == NULL && by_name) { NULL 1068 lib/cluster/membership.c node = NULL; NULL 1074 lib/cluster/membership.c } else if (by_name == NULL && by_id) { NULL 1078 lib/cluster/membership.c node = NULL; NULL 1093 lib/cluster/membership.c node = NULL; NULL 1096 lib/cluster/membership.c if (node == NULL) { NULL 1112 lib/cluster/membership.c crm_node_t * node = NULL; NULL 1114 lib/cluster/membership.c CRM_CHECK(id != NULL && uname !=NULL, return); NULL 1117 lib/cluster/membership.c if (node == NULL) { NULL 1121 lib/cluster/membership.c CRM_ASSERT(node != NULL); NULL 1124 lib/cluster/membership.c CRM_ASSERT(node->uname != NULL); NULL 1127 lib/cluster/membership.c CRM_ASSERT(node->uuid != NULL); NULL 1135 lib/cluster/membership.c CRM_ASSERT(node->uname != NULL); NULL 1153 lib/cluster/membership.c g_hash_table_foreach(crm_known_peer_cache, mark_dirty, NULL); NULL 1156 lib/cluster/membership.c known_peer_cache_refresh_helper, NULL); NULL 1159 lib/cluster/membership.c g_hash_table_foreach_remove(crm_known_peer_cache, is_dirty, NULL); NULL 1172 lib/cluster/membership.c crm_node_t *node = NULL; NULL 1173 lib/cluster/membership.c char *id_str = NULL; NULL 1175 lib/cluster/membership.c CRM_ASSERT(id > 0 || uname != NULL); NULL 54 lib/common/acl.c xml_acl_t *acl = NULL; NULL 61 lib/common/acl.c if (tag == NULL) { NULL 65 lib/common/acl.c if (ref == NULL) { NULL 70 lib/common/acl.c if ((tag == NULL) && (ref == NULL) && (xpath == NULL)) { NULL 74 lib/common/acl.c return NULL; NULL 78 lib/common/acl.c CRM_ASSERT(acl != NULL); NULL 83 lib/common/acl.c CRM_ASSERT(acl->xpath != NULL); NULL 127 lib/common/acl.c CRM_ASSERT(acl->xpath != NULL); NULL 149 lib/common/acl.c xmlNode *child = NULL; NULL 157 lib/common/acl.c CRM_ASSERT(kind != NULL); NULL 169 lib/common/acl.c xmlNode *role = NULL; NULL 245 lib/common/acl.c GListPtr aIter = NULL; NULL 247 lib/common/acl.c xmlXPathObjectPtr xpathObj = NULL; NULL 255 lib/common/acl.c for (aIter = p->acls; aIter != NULL; aIter = aIter->next) { NULL 305 lib/common/acl.c xml_private_t *p = NULL; NULL 307 lib/common/acl.c if ((target == NULL) || (target->doc == NULL) NULL 308 lib/common/acl.c || (target->doc->_private == NULL)) { NULL 317 lib/common/acl.c } else if (p->acls == NULL) { NULL 325 lib/common/acl.c xmlNode *child = NULL; NULL 369 lib/common/acl.c xmlNode *child = NULL; NULL 370 lib/common/acl.c xmlAttr *xIter = NULL; NULL 380 lib/common/acl.c while (xIter != NULL) { NULL 393 lib/common/acl.c while ( child != NULL ) { NULL 422 lib/common/acl.c GListPtr aIter = NULL; NULL 423 lib/common/acl.c xmlNode *target = NULL; NULL 424 lib/common/acl.c xml_private_t *doc = NULL; NULL 426 lib/common/acl.c *result = NULL; NULL 427 lib/common/acl.c if ((xml == NULL) || !pcmk_acl_required(user)) { NULL 435 lib/common/acl.c if (target == NULL) { NULL 444 lib/common/acl.c for(aIter = doc->acls; aIter != NULL && target; aIter = aIter->next) { NULL 480 lib/common/acl.c doc->acls = NULL; NULL 486 lib/common/acl.c target = NULL; NULL 511 lib/common/acl.c char *path = NULL; NULL 513 lib/common/acl.c for (xmlAttr *prop = xml->properties; prop != NULL; prop = prop->next) { NULL 520 lib/common/acl.c if (strstr(path, "/" XML_CIB_TAG_ACLS "/") != NULL) { NULL 555 lib/common/acl.c } else if (pcmk__check_acl(xml, NULL, xpf_acl_write)) { NULL 572 lib/common/acl.c for (xmlNode *cIter = pcmk__xml_first_child(xml); cIter != NULL; ) { NULL 628 lib/common/acl.c offset = pcmk__element_xpath(NULL, xml, buffer, offset, NULL 636 lib/common/acl.c if (docp->acls == NULL) { NULL 714 lib/common/acl.c if (pwent == NULL) { NULL 716 lib/common/acl.c return NULL; NULL 743 lib/common/acl.c static const char *effective_user = NULL; NULL 744 lib/common/acl.c const char *requested_user = NULL; NULL 745 lib/common/acl.c const char *user = NULL; NULL 747 lib/common/acl.c if (effective_user == NULL) { NULL 749 lib/common/acl.c if (effective_user == NULL) { NULL 751 lib/common/acl.c CRM_CHECK(effective_user != NULL, return NULL); NULL 757 lib/common/acl.c if (requested_user == NULL) { NULL 772 lib/common/acl.c } else if (peer_user == NULL && requested_user == NULL) { NULL 778 lib/common/acl.c } else if (peer_user == NULL) { NULL 788 lib/common/acl.c } else if (requested_user == NULL) { NULL 802 lib/common/acl.c if (field != NULL && user != crm_element_value(request, field)) { NULL 36 lib/common/agents.c if (standard == NULL) { NULL 96 lib/common/agents.c return NULL; NULL 126 lib/common/agents.c *standard = NULL; NULL 127 lib/common/agents.c *provider = NULL; NULL 128 lib/common/agents.c *type = NULL; NULL 131 lib/common/agents.c if ((colon == NULL) || (colon == spec)) { NULL 140 lib/common/agents.c if ((colon == NULL) || (colon == spec)) { NULL 25 lib/common/alerts.c "CRM_notify_recipient", "CRM_alert_recipient", NULL NULL 28 lib/common/alerts.c "CRM_notify_node", "CRM_alert_node", NULL NULL 31 lib/common/alerts.c "CRM_notify_nodeid", "CRM_alert_nodeid", NULL NULL 34 lib/common/alerts.c "CRM_notify_rsc", "CRM_alert_rsc", NULL NULL 37 lib/common/alerts.c "CRM_notify_task", "CRM_alert_task", NULL NULL 40 lib/common/alerts.c "CRM_notify_interval", "CRM_alert_interval", NULL NULL 43 lib/common/alerts.c "CRM_notify_desc", "CRM_alert_desc", NULL NULL 46 lib/common/alerts.c "CRM_notify_status", "CRM_alert_status", NULL NULL 49 lib/common/alerts.c "CRM_notify_target_rc", "CRM_alert_target_rc", NULL NULL 52 lib/common/alerts.c "CRM_notify_rc", "CRM_alert_rc", NULL NULL 55 lib/common/alerts.c "CRM_notify_kind", "CRM_alert_kind", NULL NULL 58 lib/common/alerts.c "CRM_notify_version", "CRM_alert_version", NULL NULL 61 lib/common/alerts.c "CRM_notify_node_sequence", PCMK__ALERT_NODE_SEQUENCE, NULL NULL 64 lib/common/alerts.c "CRM_notify_timestamp", "CRM_alert_timestamp", NULL NULL 67 lib/common/alerts.c "CRM_notify_attribute_name", "CRM_alert_attribute_name", NULL NULL 70 lib/common/alerts.c "CRM_notify_attribute_value", "CRM_alert_attribute_value", NULL NULL 73 lib/common/alerts.c "CRM_notify_timestamp_epoch", "CRM_alert_timestamp_epoch", NULL NULL 76 lib/common/alerts.c "CRM_notify_timestamp_usec", "CRM_alert_timestamp_usec", NULL NULL 79 lib/common/alerts.c "CRM_notify_exec_time", "CRM_alert_exec_time", NULL NULL 204 lib/common/alerts.c xmlNode *change = NULL; NULL 205 lib/common/alerts.c xmlXPathObject *xpathObj = NULL; NULL 207 lib/common/alerts.c CRM_CHECK(msg != NULL, return FALSE); NULL 219 lib/common/alerts.c if ((xpathObj = xpath_search(msg, diff)) != NULL) { NULL 224 lib/common/alerts.c for (change = pcmk__xml_first_child(patchset); change != NULL; NULL 228 lib/common/alerts.c if (xpath == NULL) { NULL 237 lib/common/alerts.c xmlNode *section = NULL; NULL 238 lib/common/alerts.c const char *name = NULL; NULL 241 lib/common/alerts.c ((section = pcmk__xml_first_child(change)) == NULL) || NULL 242 lib/common/alerts.c ((name = crm_element_name(section)) == NULL) || NULL 33 lib/common/attrd_client.c xmlNode *attrd_op = create_xml_node(NULL, __func__); NULL 60 lib/common/attrd_client.c static crm_ipc_t *local_ipc = NULL; NULL 63 lib/common/attrd_client.c if (ipc == NULL && local_ipc == NULL) { NULL 69 lib/common/attrd_client.c if (ipc == NULL) { NULL 80 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 248 lib/common/attrd_client.c const char *interval_desc = NULL; NULL 249 lib/common/attrd_client.c const char *op_desc = NULL; NULL 283 lib/common/attrd_client.c if (pcmk__strcase_any_of(name, "auto", "localhost", NULL)) { NULL 284 lib/common/attrd_client.c name = NULL; NULL 287 lib/common/attrd_client.c if(name != NULL) { NULL 44 lib/common/cib_secrets.c char *hash2 = NULL; NULL 66 lib/common/cib_secrets.c return NULL; NULL 72 lib/common/cib_secrets.c return NULL; NULL 100 lib/common/cib_secrets.c GList *secret_params = NULL, *l; NULL 104 lib/common/cib_secrets.c if (params == NULL) { NULL 113 lib/common/cib_secrets.c if (secret_params == NULL) { // No secret parameters found NULL 161 lib/common/cib_secrets.c if (hash == NULL) { NULL 36 lib/common/cmdline.c pcmk__common_args_t *args = NULL; NULL 39 lib/common/cmdline.c if (args == NULL) { NULL 44 lib/common/cmdline.c if (args->summary == NULL) { NULL 59 lib/common/cmdline.c if (common_args->output_as_descr != NULL) { NULL 76 lib/common/cmdline.c NULL }, NULL 79 lib/common/cmdline.c NULL }, NULL 81 lib/common/cmdline.c { NULL } NULL 84 lib/common/cmdline.c main_group = g_option_group_new(NULL, "Application Options:", NULL, common_args, free_common_args); NULL 92 lib/common/cmdline.c if (fmts != NULL) { NULL 95 lib/common/cmdline.c NULL, NULL 100 lib/common/cmdline.c { NULL } NULL 103 lib/common/cmdline.c if (*output_group == NULL) { NULL 104 lib/common/cmdline.c *output_group = g_option_group_new("output", "Output Options:", "Show output help", NULL, NULL); NULL 122 lib/common/cmdline.c if (context == NULL) { NULL 142 lib/common/cmdline.c GOptionGroup *group = NULL; NULL 144 lib/common/cmdline.c group = g_option_group_new(name, header, desc, NULL, NULL); NULL 153 lib/common/cmdline.c gchar **retval = NULL; NULL 154 lib/common/cmdline.c GPtrArray *arr = NULL; NULL 157 lib/common/cmdline.c if (argv == NULL) { NULL 161 lib/common/cmdline.c if (g_get_prgname() == NULL && argv && *argv) { NULL 170 lib/common/cmdline.c for (int i = 0; argv[i] != NULL; i++) { NULL 206 lib/common/cmdline.c if (strchr(special, *ch) != NULL) { NULL 258 lib/common/cmdline.c char *buf = NULL; NULL 259 lib/common/cmdline.c gchar **extra_args = NULL; NULL 268 lib/common/cmdline.c if (!g_shell_parse_argv(buf, NULL, &extra_args, error)) { NULL 147 lib/common/crmcommon_private.h return xml? xml->properties : NULL; NULL 153 lib/common/crmcommon_private.h return ((attr == NULL) || (attr->children == NULL))? NULL NULL 35 lib/common/digest.c char *buffer = NULL; NULL 59 lib/common/digest.c char *digest = NULL; NULL 60 lib/common/digest.c char *buffer = NULL; NULL 61 lib/common/digest.c xmlNode *copy = NULL; NULL 65 lib/common/digest.c copy = sorted_xml(input, NULL, TRUE); NULL 71 lib/common/digest.c CRM_CHECK(buffer != NULL && strlen(buffer) > 0, free_xml(copy); NULL 73 lib/common/digest.c return NULL); NULL 94 lib/common/digest.c char *digest = NULL; NULL 95 lib/common/digest.c char *buffer = NULL; NULL 98 lib/common/digest.c static struct qb_log_callsite *digest_cs = NULL; NULL 119 lib/common/digest.c CRM_ASSERT(buffer != NULL); NULL 122 lib/common/digest.c if (digest_cs == NULL) { NULL 202 lib/common/digest.c if (version == NULL || compare_version("3.0.5", version) > 0) { NULL 222 lib/common/digest.c char *calculated = NULL; NULL 225 lib/common/digest.c if (input != NULL) { NULL 227 lib/common/digest.c if (calculated == NULL) { NULL 274 lib/common/digest.c char *digest = NULL; NULL 277 lib/common/digest.c if (buffer == NULL) { NULL 53 lib/common/io.c CRM_CHECK(path != NULL, return -ENOMEM); NULL 106 lib/common/io.c CRM_CHECK((path != NULL) && (resolved_path != NULL), return EINVAL); NULL 110 lib/common/io.c *resolved_path = realpath(path, NULL); NULL 111 lib/common/io.c return (*resolved_path == NULL)? errno : pcmk_rc_ok; NULL 117 lib/common/io.c if ((*resolved_path == NULL) || (realpath(path, *resolved_path) == NULL)) { NULL 122 lib/common/io.c *resolved_path = NULL; NULL 143 lib/common/io.c CRM_ASSERT((directory != NULL) && (series != NULL)); NULL 163 lib/common/io.c FILE *fp = NULL; NULL 164 lib/common/io.c char *series_file = NULL; NULL 166 lib/common/io.c if ((directory == NULL) || (series == NULL) || (seq == NULL)) { NULL 172 lib/common/io.c if (fp == NULL) { NULL 210 lib/common/io.c FILE *file_strm = NULL; NULL 211 lib/common/io.c char *series_file = NULL; NULL 213 lib/common/io.c CRM_CHECK(directory != NULL, return); NULL 214 lib/common/io.c CRM_CHECK(series != NULL, return); NULL 225 lib/common/io.c if (file_strm != NULL) { NULL 235 lib/common/io.c if (file_strm != NULL) { NULL 259 lib/common/io.c char *series_file = NULL; NULL 262 lib/common/io.c if ((directory == NULL) || (series == NULL)) { NULL 276 lib/common/io.c struct passwd *sys_user = NULL; NULL 280 lib/common/io.c if (sys_user == NULL) { NULL 304 lib/common/io.c struct group *sys_grp = NULL; NULL 308 lib/common/io.c if (sys_grp == NULL) { NULL 350 lib/common/io.c char *full_file = NULL; NULL 351 lib/common/io.c const char *target = NULL; NULL 354 lib/common/io.c CRM_ASSERT(dir != NULL); NULL 357 lib/common/io.c if (file != NULL) { NULL 365 lib/common/io.c full_file = NULL; NULL 366 lib/common/io.c target = NULL; NULL 377 lib/common/io.c if (target == NULL) { NULL 420 lib/common/io.c if (directory == NULL) { NULL 456 lib/common/io.c if ((filename == NULL) || (contents == NULL)) { NULL 461 lib/common/io.c if ((fp == NULL) || (fseek(fp, 0L, SEEK_END) < 0)) { NULL 473 lib/common/io.c *contents = NULL; NULL 476 lib/common/io.c if (*contents == NULL) { NULL 484 lib/common/io.c *contents = NULL; NULL 490 lib/common/io.c if (fp != NULL) { NULL 511 lib/common/io.c if (fp == NULL) { NULL 514 lib/common/io.c if ((contents != NULL) && (fprintf(fp, "%s", contents) < 0)) { NULL 602 lib/common/io.c if (dir == NULL) { NULL 608 lib/common/io.c if (dir != NULL) { NULL 612 lib/common/io.c while ((entry = readdir(dir)) != NULL) { NULL 49 lib/common/ipc_client.c if (api == NULL) { NULL 54 lib/common/ipc_client.c if (*api == NULL) { NULL 59 lib/common/ipc_client.c if (pcmk_ipc_name(*api, false) == NULL) { NULL 61 lib/common/ipc_client.c *api = NULL; NULL 95 lib/common/ipc_client.c if ((*api)->cmds == NULL) { NULL 97 lib/common/ipc_client.c *api = NULL; NULL 103 lib/common/ipc_client.c if ((*api)->ipc == NULL) { NULL 105 lib/common/ipc_client.c *api = NULL; NULL 110 lib/common/ipc_client.c if ((*api)->cmds->new_data != NULL) { NULL 113 lib/common/ipc_client.c *api = NULL; NULL 124 lib/common/ipc_client.c if ((api != NULL) && (api->cmds != NULL)) { NULL 125 lib/common/ipc_client.c if ((api->cmds->free_data != NULL) && (api->api_data != NULL)) { NULL 127 lib/common/ipc_client.c api->api_data = NULL; NULL 130 lib/common/ipc_client.c api->cmds = NULL; NULL 147 lib/common/ipc_client.c if ((api != NULL) && (api->cb != NULL)) { NULL 168 lib/common/ipc_client.c if ((api->cmds != NULL) && (api->cmds->post_disconnect != NULL)) { NULL 174 lib/common/ipc_client.c NULL); NULL 181 lib/common/ipc_client.c api->ipc = NULL; NULL 182 lib/common/ipc_client.c api->mainloop_io = NULL; NULL 204 lib/common/ipc_client.c if (api == NULL) { NULL 209 lib/common/ipc_client.c if (api->ipc != NULL) { NULL 210 lib/common/ipc_client.c if (api->mainloop_io != NULL) { NULL 243 lib/common/ipc_client.c if (api == NULL) { NULL 244 lib/common/ipc_client.c return for_log? "Pacemaker" : NULL; NULL 248 lib/common/ipc_client.c return for_log? "attribute manager" : NULL /* T_ATTRD */; NULL 251 lib/common/ipc_client.c return for_log? "CIB manager" : NULL /* PCMK__SERVER_BASED_RW */; NULL 257 lib/common/ipc_client.c return for_log? "executor" : NULL /* CRM_SYSTEM_LRMD */; NULL 260 lib/common/ipc_client.c return for_log? "fencer" : NULL /* "stonith-ng" */; NULL 266 lib/common/ipc_client.c return for_log? "scheduler" : NULL /* CRM_SYSTEM_PENGINE */; NULL 269 lib/common/ipc_client.c return for_log? "Pacemaker" : NULL; NULL 283 lib/common/ipc_client.c return (api != NULL) && crm_ipc_connected(api->ipc); NULL 300 lib/common/ipc_client.c if ((api->cmds != NULL) && (api->cmds->dispatch != NULL)) { NULL 323 lib/common/ipc_client.c CRM_CHECK(api != NULL, return 0); NULL 325 lib/common/ipc_client.c if (buffer == NULL) { NULL 332 lib/common/ipc_client.c if (msg == NULL) { NULL 366 lib/common/ipc_client.c if ((api == NULL) || (api->dispatch_type != pcmk_ipc_dispatch_poll)) { NULL 393 lib/common/ipc_client.c if (api == NULL) { NULL 456 lib/common/ipc_client.c if (api == NULL) { NULL 461 lib/common/ipc_client.c if (api->ipc == NULL) { NULL 464 lib/common/ipc_client.c if (api->ipc == NULL) { NULL 490 lib/common/ipc_client.c if ((api->cmds != NULL) && (api->cmds->post_connect != NULL)) { NULL 513 lib/common/ipc_client.c if ((api == NULL) || (api->ipc == NULL)) { NULL 522 lib/common/ipc_client.c api->mainloop_io = NULL; NULL 523 lib/common/ipc_client.c api->ipc = NULL; NULL 536 lib/common/ipc_client.c api->ipc = NULL; NULL 564 lib/common/ipc_client.c if (api == NULL) { NULL 587 lib/common/ipc_client.c xmlNode *reply = NULL; NULL 590 lib/common/ipc_client.c if ((api == NULL) || (api->ipc == NULL) || (request == NULL)) { NULL 597 lib/common/ipc_client.c && (api->cmds != NULL) NULL 598 lib/common/ipc_client.c && (api->cmds->reply_expected != NULL) NULL 613 lib/common/ipc_client.c if (reply != NULL) { NULL 646 lib/common/ipc_client.c xmlNode *request = NULL; NULL 651 lib/common/ipc_client.c request = create_xml_node(NULL, __func__); NULL 664 lib/common/ipc_client.c request = create_request(CRM_OP_RM_NODE_CACHE, NULL, NULL, NULL 665 lib/common/ipc_client.c pcmk_ipc_name(api, false), client, NULL); NULL 695 lib/common/ipc_client.c xmlNode *request = NULL; NULL 697 lib/common/ipc_client.c if (api == NULL) { NULL 700 lib/common/ipc_client.c if ((node_name == NULL) && (nodeid == 0)) { NULL 705 lib/common/ipc_client.c if (request == NULL) { NULL 747 lib/common/ipc_client.c crm_ipc_t *client = NULL; NULL 750 lib/common/ipc_client.c if (client == NULL) { NULL 752 lib/common/ipc_client.c return NULL; NULL 756 lib/common/ipc_client.c if (client->name == NULL) { NULL 759 lib/common/ipc_client.c return NULL; NULL 763 lib/common/ipc_client.c if (client->buffer == NULL) { NULL 767 lib/common/ipc_client.c return NULL; NULL 800 lib/common/ipc_client.c if (client->ipc == NULL) { NULL 863 lib/common/ipc_client.c client->ipc = NULL; NULL 911 lib/common/ipc_client.c if (client == NULL) { NULL 915 lib/common/ipc_client.c } else if (client->ipc == NULL) { NULL 943 lib/common/ipc_client.c CRM_ASSERT(client != NULL); NULL 1005 lib/common/ipc_client.c pcmk__ipc_header_t *header = NULL; NULL 1007 lib/common/ipc_client.c CRM_ASSERT(client != NULL); NULL 1008 lib/common/ipc_client.c CRM_ASSERT(client->ipc != NULL); NULL 1009 lib/common/ipc_client.c CRM_ASSERT(client->buffer != NULL); NULL 1048 lib/common/ipc_client.c CRM_ASSERT(client != NULL); NULL 1055 lib/common/ipc_client.c pcmk__ipc_header_t *header = NULL; NULL 1057 lib/common/ipc_client.c CRM_ASSERT(client != NULL); NULL 1058 lib/common/ipc_client.c if (client->buffer == NULL) { NULL 1069 lib/common/ipc_client.c CRM_ASSERT(client != NULL); NULL 1078 lib/common/ipc_client.c time_t timeout = time(NULL) + 1 + (ms_timeout / 1000); NULL 1087 lib/common/ipc_client.c pcmk__ipc_header_t *hdr = NULL; NULL 1117 lib/common/ipc_client.c } while (time(NULL) < timeout); NULL 1150 lib/common/ipc_client.c if (client == NULL) { NULL 1212 lib/common/ipc_client.c time_t timeout = time(NULL) + 1 + (ms_timeout / 1000); NULL 1223 lib/common/ipc_client.c } while ((qb_rc == -EAGAIN) && (time(NULL) < timeout)); NULL 1281 lib/common/ipc_client.c crm_write_blackbox(0, NULL); NULL 1338 lib/common/ipc_client.c if (gotpid != NULL) { NULL 1341 lib/common/ipc_client.c if (gotuid != NULL) { NULL 1344 lib/common/ipc_client.c if (gotgid != NULL) { NULL 1368 lib/common/ipc_client.c if (c == NULL) { NULL 1391 lib/common/ipc_client.c if (gotpid != NULL) { NULL 1423 lib/common/ipc_client.c if (c != NULL) { NULL 77 lib/common/ipc_common.c if (header == NULL) { NULL 34 lib/common/ipc_controld.c struct controld_api_private_s *private = NULL; NULL 38 lib/common/ipc_controld.c if (api->api_data == NULL) { NULL 98 lib/common/ipc_controld.c if (msg_data == NULL) { NULL 113 lib/common/ipc_controld.c if (msg_data == NULL) { NULL 130 lib/common/ipc_controld.c node != NULL; node = crm_next_same_xml(node)) { NULL 150 lib/common/ipc_controld.c if (command == NULL) { NULL 167 lib/common/ipc_controld.c xmlNode *msg_data = NULL; NULL 168 lib/common/ipc_controld.c const char *value = NULL; NULL 170 lib/common/ipc_controld.c pcmk_controld_reply_unknown, NULL, NULL, NULL 185 lib/common/ipc_controld.c if ((value == NULL) || (strcmp(value, XML_ATTR_REQUEST) NULL 193 lib/common/ipc_controld.c if (crm_element_value(reply, XML_ATTR_REFERENCE) == NULL) { NULL 200 lib/common/ipc_controld.c if (value == NULL) { NULL 248 lib/common/ipc_controld.c if (cmds != NULL) { NULL 273 lib/common/ipc_controld.c struct controld_api_private_s *private = NULL; NULL 274 lib/common/ipc_controld.c const char *sys_to = NULL; NULL 276 lib/common/ipc_controld.c if (api == NULL) { NULL 277 lib/common/ipc_controld.c return NULL; NULL 280 lib/common/ipc_controld.c if ((node == NULL) && !strcmp(op, CRM_OP_PING)) { NULL 297 lib/common/ipc_controld.c if (crm_element_value(request, XML_ATTR_REFERENCE) == NULL) { NULL 314 lib/common/ipc_controld.c msg_data = create_xml_node(NULL, "data_for_" CRM_OP_REPROBE); NULL 316 lib/common/ipc_controld.c if ((router_node != NULL) && !pcmk__str_eq(router_node, target_node, pcmk__str_casei)) { NULL 340 lib/common/ipc_controld.c if (api == NULL) { NULL 343 lib/common/ipc_controld.c if (router_node == NULL) { NULL 373 lib/common/ipc_controld.c request = create_controller_request(api, CRM_OP_NODE_INFO, NULL, NULL); NULL 374 lib/common/ipc_controld.c if (request == NULL) { NULL 401 lib/common/ipc_controld.c request = create_controller_request(api, CRM_OP_PING, node_name, NULL); NULL 402 lib/common/ipc_controld.c if (request == NULL) { NULL 424 lib/common/ipc_controld.c request = create_controller_request(api, PCMK__CONTROLD_CMD_NODES, NULL, NULL 425 lib/common/ipc_controld.c NULL); NULL 426 lib/common/ipc_controld.c if (request != NULL) { NULL 452 lib/common/ipc_controld.c request = create_controller_request(api, CRM_OP_SHUTDOWN, NULL, NULL); NULL 453 lib/common/ipc_controld.c if (request == NULL) { NULL 479 lib/common/ipc_controld.c request = create_controller_request(api, CRM_OP_VOTE, NULL, NULL); NULL 480 lib/common/ipc_controld.c if (request == NULL) { NULL 500 lib/common/ipc_controld.c if (api == NULL) { NULL 503 lib/common/ipc_controld.c if (router_node == NULL) { NULL 507 lib/common/ipc_controld.c msg_data = create_xml_node(NULL, XML_GRAPH_TAG_RSC_OP); NULL 636 lib/common/ipc_controld.c xmlNode *hello_node = NULL; NULL 637 lib/common/ipc_controld.c xmlNode *hello = NULL; NULL 645 lib/common/ipc_controld.c return NULL; NULL 648 lib/common/ipc_controld.c hello_node = create_xml_node(NULL, XML_TAG_OPTIONS); NULL 649 lib/common/ipc_controld.c if (hello_node == NULL) { NULL 652 lib/common/ipc_controld.c return NULL; NULL 660 lib/common/ipc_controld.c hello = create_request(CRM_OP_HELLO, hello_node, NULL, NULL, client_name, uuid); NULL 661 lib/common/ipc_controld.c if (hello == NULL) { NULL 664 lib/common/ipc_controld.c return NULL; NULL 42 lib/common/ipc_pacemakerd.c if (state == NULL) { NULL 69 lib/common/ipc_pacemakerd.c struct pacemakerd_api_private_s *private = NULL; NULL 73 lib/common/ipc_pacemakerd.c if (api->api_data == NULL) { NULL 98 lib/common/ipc_pacemakerd.c struct pacemakerd_api_private_s *private = NULL; NULL 100 lib/common/ipc_pacemakerd.c if (api->api_data == NULL) { NULL 112 lib/common/ipc_pacemakerd.c struct pacemakerd_api_private_s *private = NULL; NULL 114 lib/common/ipc_pacemakerd.c if (api->api_data == NULL) { NULL 128 lib/common/ipc_pacemakerd.c if (command == NULL) { NULL 140 lib/common/ipc_pacemakerd.c xmlNode *msg_data = NULL; NULL 144 lib/common/ipc_pacemakerd.c const char *value = NULL; NULL 148 lib/common/ipc_pacemakerd.c if ((value == NULL) || (strcmp(value, XML_ATTR_RESPONSE))) { NULL 155 lib/common/ipc_pacemakerd.c if (crm_element_value(reply, XML_ATTR_REFERENCE) == NULL) { NULL 162 lib/common/ipc_pacemakerd.c if ((value == NULL) || strcmp(value, CRM_OP_PING)) { NULL 193 lib/common/ipc_pacemakerd.c if (cmds != NULL) { NULL 211 lib/common/ipc_pacemakerd.c CRM_CHECK(api != NULL, return -EINVAL); NULL 213 lib/common/ipc_pacemakerd.c CRM_ASSERT(private != NULL); NULL 215 lib/common/ipc_pacemakerd.c cmd = create_request(CRM_OP_PING, NULL, NULL, CRM_SYSTEM_MCP, NULL 27 lib/common/ipc_server.c static GHashTable *client_connections = NULL; NULL 53 lib/common/ipc_server.c if ((func != NULL) && (client_connections != NULL)) { NULL 66 lib/common/ipc_server.c return NULL; NULL 86 lib/common/ipc_server.c return NULL; NULL 92 lib/common/ipc_server.c if (c == NULL) { NULL 94 lib/common/ipc_server.c } else if (c->name == NULL && c->id == NULL) { NULL 96 lib/common/ipc_server.c } else if (c->name == NULL) { NULL 106 lib/common/ipc_server.c if (client_connections != NULL) { NULL 113 lib/common/ipc_server.c g_hash_table_destroy(client_connections); client_connections = NULL; NULL 120 lib/common/ipc_server.c qb_ipcs_connection_t *c = NULL; NULL 122 lib/common/ipc_server.c if (service == NULL) { NULL 128 lib/common/ipc_server.c while (c != NULL) { NULL 156 lib/common/ipc_server.c if (client == NULL) { NULL 158 lib/common/ipc_server.c return NULL; NULL 164 lib/common/ipc_server.c if (client->user == NULL) { NULL 166 lib/common/ipc_server.c CRM_CHECK(client->user != NULL, free(client); return NULL); NULL 174 lib/common/ipc_server.c if (key == NULL) { NULL 180 lib/common/ipc_server.c if (client->id == NULL) { NULL 184 lib/common/ipc_server.c return NULL; NULL 186 lib/common/ipc_server.c if (key == NULL) { NULL 189 lib/common/ipc_server.c if (client_connections == NULL) { NULL 207 lib/common/ipc_server.c pcmk__client_t *client = client_from_connection(NULL, key, 0); NULL 209 lib/common/ipc_server.c CRM_ASSERT(client != NULL); NULL 219 lib/common/ipc_server.c pcmk__client_t *client = NULL; NULL 221 lib/common/ipc_server.c CRM_CHECK(c != NULL, return NULL); NULL 240 lib/common/ipc_server.c client = client_from_connection(c, NULL, uid_client); NULL 241 lib/common/ipc_server.c if (client == NULL) { NULL 242 lib/common/ipc_server.c return NULL; NULL 260 lib/common/ipc_server.c CRM_ASSERT(iov != NULL); NULL 272 lib/common/ipc_server.c if (event != NULL) { NULL 288 lib/common/ipc_server.c if (c->event_queue == NULL) { NULL 297 lib/common/ipc_server.c if (c == NULL) { NULL 352 lib/common/ipc_server.c qmax_int = crm_parse_ll(qmax, NULL); NULL 386 lib/common/ipc_server.c xmlNode *xml = NULL; NULL 387 lib/common/ipc_server.c char *uncompressed = NULL; NULL 392 lib/common/ipc_server.c return NULL; NULL 425 lib/common/ipc_server.c return NULL; NULL 482 lib/common/ipc_server.c if (c == NULL) { NULL 495 lib/common/ipc_server.c pcmk__ipc_header_t *header = NULL; NULL 496 lib/common/ipc_server.c struct iovec *event = NULL; NULL 502 lib/common/ipc_server.c if (event == NULL) { // Queue is empty NULL 584 lib/common/ipc_server.c char *compressed = NULL; NULL 585 lib/common/ipc_server.c char *buffer = NULL; NULL 586 lib/common/ipc_server.c pcmk__ipc_header_t *header = NULL; NULL 588 lib/common/ipc_server.c if ((message == NULL) || (result == NULL)) { NULL 593 lib/common/ipc_server.c if (header == NULL) { NULL 604 lib/common/ipc_server.c *result = NULL; NULL 655 lib/common/ipc_server.c if (bytes != NULL) { NULL 744 lib/common/ipc_server.c struct iovec *iov = NULL; NULL 747 lib/common/ipc_server.c if (c == NULL) { NULL 751 lib/common/ipc_server.c &iov, NULL); NULL 786 lib/common/ipc_server.c xmlNode *ack = create_xml_node(NULL, tag); NULL 827 lib/common/ipc_server.c if (*ipcs_ro == NULL || *ipcs_rw == NULL || *ipcs_shm == NULL) { NULL 883 lib/common/ipc_server.c if (*ipcs == NULL) { NULL 905 lib/common/ipc_server.c if (*ipcs == NULL) { NULL 65 lib/common/iso8601.c crm_time_t *utc = NULL; NULL 67 lib/common/iso8601.c if (dt == NULL) { NULL 69 lib/common/iso8601.c return NULL; NULL 96 lib/common/iso8601.c crm_time_t *dt = NULL; NULL 99 lib/common/iso8601.c if (date_time == NULL) { NULL 100 lib/common/iso8601.c tm_now = time(NULL); NULL 121 lib/common/iso8601.c CRM_ASSERT(result != NULL); NULL 136 lib/common/iso8601.c return (t != NULL) && (t->years || t->months || t->days || t->seconds NULL 143 lib/common/iso8601.c if (dt == NULL) { NULL 311 lib/common/iso8601.c crm_time_t *utc = NULL; NULL 314 lib/common/iso8601.c if (dt == NULL) { NULL 319 lib/common/iso8601.c if (utc == NULL) { NULL 353 lib/common/iso8601.c return (dt == NULL)? 0 : (crm_time_get_seconds(dt) - EPOCH_SECONDS); NULL 499 lib/common/iso8601.c crm_time_t *dt = NULL; NULL 500 lib/common/iso8601.c crm_time_t *utc = NULL; NULL 502 lib/common/iso8601.c char *result_copy = NULL; NULL 593 lib/common/iso8601.c CRM_ASSERT(result_copy != NULL); NULL 661 lib/common/iso8601.c if (offset_str == NULL) { NULL 664 lib/common/iso8601.c time_t now = time(NULL); NULL 718 lib/common/iso8601.c char *offset_s = NULL; NULL 727 lib/common/iso8601.c if (offset_s == NULL) { NULL 762 lib/common/iso8601.c const char *time_s = NULL; NULL 763 lib/common/iso8601.c crm_time_t *dt = NULL; NULL 778 lib/common/iso8601.c dt = crm_time_new(NULL); NULL 886 lib/common/iso8601.c if (time_s == NULL) { NULL 891 lib/common/iso8601.c time_s = NULL; NULL 894 lib/common/iso8601.c if ((time_s != NULL) && (crm_time_parse(time_s, dt) == FALSE)) { NULL 909 lib/common/iso8601.c return NULL; NULL 986 lib/common/iso8601.c crm_time_t *diff = NULL; NULL 1077 lib/common/iso8601.c return NULL; NULL 1094 lib/common/iso8601.c crm_time_period_t *period = NULL; NULL 1103 lib/common/iso8601.c CRM_ASSERT(period != NULL); NULL 1107 lib/common/iso8601.c if (period->diff == NULL) { NULL 1112 lib/common/iso8601.c if (period->start == NULL) { NULL 1121 lib/common/iso8601.c if (period->diff != NULL) { NULL 1128 lib/common/iso8601.c if (period->diff == NULL) { NULL 1133 lib/common/iso8601.c if (period->end == NULL) { NULL 1138 lib/common/iso8601.c } else if (period->diff != NULL) { NULL 1140 lib/common/iso8601.c period->start = crm_time_new(NULL); NULL 1150 lib/common/iso8601.c if (period->start == NULL) { NULL 1153 lib/common/iso8601.c } else if (period->end == NULL) { NULL 1173 lib/common/iso8601.c return NULL; NULL 1197 lib/common/iso8601.c CRM_CHECK(target != NULL && source != NULL, return); NULL 1272 lib/common/iso8601.c crm_time_t *utc = NULL; NULL 1273 lib/common/iso8601.c crm_time_t *answer = NULL; NULL 1275 lib/common/iso8601.c if ((dt == NULL) || (value == NULL)) { NULL 1277 lib/common/iso8601.c return NULL; NULL 1283 lib/common/iso8601.c if (utc == NULL) { NULL 1285 lib/common/iso8601.c return NULL; NULL 1300 lib/common/iso8601.c crm_time_t *utc = NULL; NULL 1301 lib/common/iso8601.c crm_time_t *answer = NULL; NULL 1303 lib/common/iso8601.c if ((dt == NULL) || (value == NULL)) { NULL 1305 lib/common/iso8601.c return NULL; NULL 1309 lib/common/iso8601.c if (utc == NULL) { NULL 1310 lib/common/iso8601.c return NULL; NULL 1314 lib/common/iso8601.c if (answer == NULL) { NULL 1316 lib/common/iso8601.c return NULL; NULL 1334 lib/common/iso8601.c crm_time_t *utc = NULL; NULL 1335 lib/common/iso8601.c crm_time_t *answer = NULL; NULL 1337 lib/common/iso8601.c if ((dt == NULL) || (value == NULL)) { NULL 1339 lib/common/iso8601.c return NULL; NULL 1343 lib/common/iso8601.c if (utc == NULL) { NULL 1344 lib/common/iso8601.c return NULL; NULL 1368 lib/common/iso8601.c return (dt != NULL) NULL 1393 lib/common/iso8601.c if ((t1 == NULL) && (t2 == NULL)) { NULL 1395 lib/common/iso8601.c } else if (t1 == NULL) { NULL 1397 lib/common/iso8601.c } else if (t2 == NULL) { NULL 1558 lib/common/iso8601.c pcmk__time_hr_t *hr_dt = NULL; NULL 1562 lib/common/iso8601.c CRM_ASSERT(hr_dt != NULL); NULL 1607 lib/common/iso8601.c pcmk__time_hr_t *hr_dt = NULL; NULL 1611 lib/common/iso8601.c if (gettimeofday(&tv_now, NULL) == 0) { NULL 1612 lib/common/iso8601.c hr_dt = pcmk__time_timeval_hr_convert(NULL, &tv_now); NULL 1618 lib/common/iso8601.c hr_dt = pcmk__time_hr_convert(NULL, dt); NULL 1641 lib/common/iso8601.c return NULL; NULL 1699 lib/common/iso8601.c return (date_len == 0)?NULL:strdup(date_s); NULL 1717 lib/common/iso8601.c char *since_epoch = NULL; NULL 1719 lib/common/iso8601.c if (when == NULL) { NULL 1720 lib/common/iso8601.c time_t a_time = time(NULL); NULL 1723 lib/common/iso8601.c return NULL; NULL 1731 lib/common/iso8601.c if (since_epoch == NULL) { NULL 1732 lib/common/iso8601.c return NULL; NULL 16 lib/common/lists.c GList *item = NULL; NULL 19 lib/common/lists.c for (item = items; item != NULL; item = item->next) { NULL 20 lib/common/lists.c GList *candidate = NULL; NULL 22 lib/common/lists.c for (candidate = from; candidate != NULL; candidate = candidate->next) { NULL 41 lib/common/logging.c static GLogFunc glib_log_default = NULL; NULL 51 lib/common/logging.c static struct qb_log_callsite *glib_cs = NULL; NULL 53 lib/common/logging.c if (glib_cs == NULL) { NULL 112 lib/common/logging.c crm_write_blackbox(nsig, NULL); NULL 118 lib/common/logging.c if (glib_log_default != NULL) { NULL 119 lib/common/logging.c g_log_set_default_handler(glib_log_default, NULL); NULL 180 lib/common/logging.c FILE *logfile = NULL; NULL 181 lib/common/logging.c char *parent_dir = NULL; NULL 184 lib/common/logging.c if (filename == NULL && have_logfile == FALSE) { NULL 188 lib/common/logging.c if ((filename == NULL) NULL 215 lib/common/logging.c if(logfile == NULL) { NULL 250 lib/common/logging.c long filemode_l = strtol(modestr, NULL, 8); NULL 291 lib/common/logging.c if (pcmk__env_option("logfile") == NULL) { NULL 317 lib/common/logging.c static volatile char *blackbox_file_prefix = NULL; NULL 341 lib/common/logging.c if (blackbox_file_prefix == NULL) { NULL 370 lib/common/logging.c blackbox_trigger = qb_log_custom_open(blackbox_logger, NULL, NULL, NULL); NULL 416 lib/common/logging.c time_t now = time(NULL); NULL 418 lib/common/logging.c if (blackbox_file_prefix == NULL) { NULL 469 lib/common/logging.c return crm_log_init(entity, LOG_ERR, FALSE, FALSE, 0, NULL, TRUE); NULL 502 lib/common/logging.c if (strstr(trace_blackbox, key) != NULL) { NULL 515 lib/common/logging.c } else if (trace_files && strstr(trace_files, cs->filename) != NULL) { NULL 517 lib/common/logging.c } else if (trace_fns && strstr(trace_fns, cs->function) != NULL) { NULL 519 lib/common/logging.c } else if (trace_fmts && strstr(trace_fmts, cs->format) != NULL) { NULL 523 lib/common/logging.c && cs->tags != crm_trace_nonlog && g_quark_to_string(cs->tags) != NULL) { NULL 533 lib/common/logging.c static const char *trace_fns = NULL; NULL 534 lib/common/logging.c static const char *trace_tags = NULL; NULL 535 lib/common/logging.c static const char *trace_fmts = NULL; NULL 536 lib/common/logging.c static const char *trace_files = NULL; NULL 537 lib/common/logging.c static const char *trace_blackbox = NULL; NULL 547 lib/common/logging.c if (trace_tags != NULL) { NULL 550 lib/common/logging.c const char *offset = NULL; NULL 565 lib/common/logging.c } while (next != NULL && next[0] != 0); NULL 581 lib/common/logging.c if (cs == NULL) { NULL 648 lib/common/logging.c {NULL, -1} NULL 652 lib/common/logging.c for (lpc = 0; name != NULL && p_names[lpc].name != NULL; lpc++) { NULL 664 lib/common/logging.c if(crm_system_name != NULL) { NULL 671 lib/common/logging.c } else if (argc > 0 && argv != NULL) { NULL 683 lib/common/logging.c } else if (crm_system_name == NULL) { NULL 712 lib/common/logging.c glib_log_default = g_log_set_default_handler(crm_glib_handler, NULL); NULL 750 lib/common/logging.c const char *syslog_priority = NULL; NULL 765 lib/common/logging.c if (facility == NULL) { NULL 812 lib/common/logging.c && (pcmk__is_daemon || (logfile != NULL))) { NULL 836 lib/common/logging.c if (user != NULL && !pcmk__strcase_any_of(user, "root", CRM_DAEMON_USER, NULL)) { NULL 847 lib/common/logging.c if (pwent == NULL) { NULL 850 lib/common/logging.c } else if (!pcmk__strcase_any_of(pwent->pw_name, "root", CRM_DAEMON_USER, NULL)) { NULL 956 lib/common/logging.c gchar *arg_string = NULL; NULL 958 lib/common/logging.c if ((argc == 0) || (argv == NULL) || logged) { NULL 971 lib/common/logging.c const char *next = NULL; NULL 972 lib/common/logging.c const char *offset = NULL; NULL 978 lib/common/logging.c if (output == NULL) { NULL 995 lib/common/logging.c } while (next != NULL && next[0] != 0); NULL 127 lib/common/mainloop.c crm_trigger_t *trigger = NULL; NULL 136 lib/common/mainloop.c g_source_set_callback(source, dispatch, trigger, NULL); NULL 142 lib/common/mainloop.c trigger->id = g_source_attach(source, NULL); NULL 161 lib/common/mainloop.c GSource *source = NULL; NULL 165 lib/common/mainloop.c CRM_ASSERT(source != NULL); NULL 181 lib/common/mainloop.c GSource *gs = NULL; NULL 183 lib/common/mainloop.c if(source == NULL) { NULL 254 lib/common/mainloop.c if (sig > 0 && sig < NSIG && crm_signals[sig] != NULL) { NULL 310 lib/common/mainloop.c crm_signals[sig] = NULL; NULL 330 lib/common/mainloop.c GSource *source = NULL; NULL 345 lib/common/mainloop.c } else if (crm_signals[sig] != NULL && crm_signals[sig]->handler == dispatch) { NULL 349 lib/common/mainloop.c } else if (crm_signals[sig] != NULL) { NULL 357 lib/common/mainloop.c crm_signals[sig] = (crm_signal_t *) mainloop_setup_trigger(source, priority, NULL, NULL); NULL 358 lib/common/mainloop.c CRM_ASSERT(crm_signals[sig] != NULL); NULL 388 lib/common/mainloop.c } else if (crm_signal_handler(sig, NULL) == SIG_ERR) { NULL 392 lib/common/mainloop.c } else if (crm_signals[sig] == NULL) { NULL 399 lib/common/mainloop.c static qb_array_t *gio_map = NULL; NULL 611 lib/common/mainloop.c .job_add = NULL, NULL 655 lib/common/mainloop.c qb_ipcs_service_t *server = NULL; NULL 657 lib/common/mainloop.c if (gio_map == NULL) { NULL 663 lib/common/mainloop.c if (server == NULL) { NULL 665 lib/common/mainloop.c return NULL; NULL 682 lib/common/mainloop.c return NULL; NULL 818 lib/common/mainloop.c client->destroy_fn = NULL; NULL 825 lib/common/mainloop.c client->ipc = NULL; NULL 831 lib/common/mainloop.c free(client->name); client->name = NULL; NULL 860 lib/common/mainloop.c CRM_CHECK((ipc != NULL) && (callbacks != NULL), return EINVAL); NULL 866 lib/common/mainloop.c userdata, NULL); NULL 867 lib/common/mainloop.c if (*source == NULL) { NULL 884 lib/common/mainloop.c mainloop_io_t *source = NULL; NULL 894 lib/common/mainloop.c return NULL; NULL 911 lib/common/mainloop.c return NULL; NULL 918 lib/common/mainloop.c mainloop_io_t *client = NULL; NULL 922 lib/common/mainloop.c if (client == NULL) { NULL 923 lib/common/mainloop.c return NULL; NULL 961 lib/common/mainloop.c if (client != NULL) { NULL 972 lib/common/mainloop.c static GListPtr child_list = NULL; NULL 1001 lib/common/mainloop.c child->privatedata = NULL; NULL 1158 lib/common/mainloop.c mainloop_child_t *child = NULL; NULL 1159 lib/common/mainloop.c mainloop_child_t *match = NULL; NULL 1164 lib/common/mainloop.c for (iter = child_list; iter != NULL && match == NULL; iter = iter->next) { NULL 1171 lib/common/mainloop.c if (match == NULL) { NULL 1240 lib/common/mainloop.c g_timeout_add(1, child_signal_init, NULL); NULL 1267 lib/common/mainloop.c CRM_ASSERT(t != NULL); NULL 1390 lib/common/mainloop.c if ((mloop != NULL) && g_main_loop_is_running(mloop)) { NULL 1420 lib/common/mainloop.c GMainContext *ctx = NULL; NULL 1426 lib/common/mainloop.c time_t start_time = time(NULL); NULL 1430 lib/common/mainloop.c && check(timer_ms - (time(NULL) - start_time) * 1000)) { NULL 47 lib/common/messages.c char *true_from = NULL; NULL 48 lib/common/messages.c xmlNode *request = NULL; NULL 52 lib/common/messages.c (long long) time(NULL), ref_counter++); NULL 54 lib/common/messages.c if (uuid_from != NULL) { NULL 57 lib/common/messages.c } else if (sys_from != NULL) { NULL 64 lib/common/messages.c request = create_xml_node(NULL, __func__); NULL 75 lib/common/messages.c if (host_to != NULL && strlen(host_to) > 0) { NULL 79 lib/common/messages.c if (msg_data != NULL) { NULL 105 lib/common/messages.c xmlNode *reply = NULL; NULL 114 lib/common/messages.c if (type == NULL) { NULL 116 lib/common/messages.c CRM_ASSERT(type != NULL); NULL 117 lib/common/messages.c return NULL; NULL 121 lib/common/messages.c return NULL; NULL 124 lib/common/messages.c reply = create_xml_node(NULL, __func__); NULL 125 lib/common/messages.c if (reply == NULL) { NULL 127 lib/common/messages.c return NULL; NULL 142 lib/common/messages.c if (host_from != NULL && strlen(host_from) > 0) { NULL 146 lib/common/messages.c if (xml_response_data != NULL) { NULL 184 lib/common/messages.c if (name == NULL) { NULL 50 lib/common/nvpair.c pcmk_nvpair_t *nvpair = NULL; NULL 58 lib/common/nvpair.c nvpair->value = value? strdup(value) : NULL; NULL 124 lib/common/nvpair.c CRM_ASSERT(a != NULL); NULL 125 lib/common/nvpair.c CRM_ASSERT(pair_a->name != NULL); NULL 127 lib/common/nvpair.c CRM_ASSERT(b != NULL); NULL 128 lib/common/nvpair.c CRM_ASSERT(pair_b->name != NULL); NULL 164 lib/common/nvpair.c GSList *result = NULL; NULL 166 lib/common/nvpair.c for (xmlAttrPtr iter = pcmk__first_xml_attr(xml); iter != NULL; NULL 224 lib/common/nvpair.c *name = NULL; NULL 225 lib/common/nvpair.c *value = NULL; NULL 230 lib/common/nvpair.c char *sep = NULL; NULL 231 lib/common/nvpair.c *name = NULL; NULL 232 lib/common/nvpair.c *value = NULL; NULL 235 lib/common/nvpair.c if (sep == NULL) { NULL 241 lib/common/nvpair.c if (*name == NULL) { NULL 251 lib/common/nvpair.c if (*value == NULL) { NULL 257 lib/common/nvpair.c if (*name != NULL && *value != NULL) { NULL 259 lib/common/nvpair.c } else if (*name != NULL || *value != NULL) { NULL 320 lib/common/nvpair.c xmlAttr *attr = NULL; NULL 322 lib/common/nvpair.c CRM_CHECK(node != NULL, return NULL); NULL 323 lib/common/nvpair.c CRM_CHECK(name != NULL, return NULL); NULL 325 lib/common/nvpair.c if (value == NULL) { NULL 326 lib/common/nvpair.c return NULL; NULL 330 lib/common/nvpair.c const char *old_value = NULL; NULL 344 lib/common/nvpair.c if (old == NULL || value == NULL || strcmp(old, value) != 0) { NULL 351 lib/common/nvpair.c return NULL; NULL 359 lib/common/nvpair.c CRM_CHECK(attr && attr->children && attr->children->content, return NULL); NULL 377 lib/common/nvpair.c xmlAttr *attr = NULL; NULL 378 lib/common/nvpair.c const char *old_value = NULL; NULL 380 lib/common/nvpair.c CRM_CHECK(node != NULL, return NULL); NULL 381 lib/common/nvpair.c CRM_CHECK(name != NULL && name[0] != 0, return NULL); NULL 391 lib/common/nvpair.c return NULL; NULL 395 lib/common/nvpair.c return NULL; NULL 408 lib/common/nvpair.c CRM_CHECK(attr && attr->children && attr->children->content, return NULL); NULL 480 lib/common/nvpair.c return NULL; NULL 502 lib/common/nvpair.c const char *added = NULL; NULL 525 lib/common/nvpair.c xmlAttr *attr = NULL; NULL 527 lib/common/nvpair.c if (data == NULL) { NULL 529 lib/common/nvpair.c CRM_LOG_ASSERT(data != NULL); NULL 530 lib/common/nvpair.c return NULL; NULL 532 lib/common/nvpair.c } else if (name == NULL) { NULL 534 lib/common/nvpair.c return NULL; NULL 542 lib/common/nvpair.c return NULL; NULL 561 lib/common/nvpair.c const char *value = NULL; NULL 563 lib/common/nvpair.c CRM_CHECK(dest != NULL, return -1); NULL 567 lib/common/nvpair.c *dest = crm_parse_int(value, NULL); NULL 589 lib/common/nvpair.c const char *value = NULL; NULL 591 lib/common/nvpair.c CRM_CHECK(dest != NULL, return -1); NULL 595 lib/common/nvpair.c *dest = crm_parse_ll(value, NULL); NULL 617 lib/common/nvpair.c const char *value = NULL; NULL 620 lib/common/nvpair.c CRM_CHECK(dest != NULL, return -1); NULL 624 lib/common/nvpair.c if (value == NULL) { NULL 629 lib/common/nvpair.c value_ll = crm_parse_ll(value, NULL); NULL 684 lib/common/nvpair.c CRM_CHECK(dest != NULL, return -EINVAL); NULL 688 lib/common/nvpair.c if (xml == NULL) { NULL 728 lib/common/nvpair.c char *value_copy = NULL; NULL 731 lib/common/nvpair.c if (value != NULL) { NULL 764 lib/common/nvpair.c } else if (crm_element_value(xml_node, name) == NULL) { NULL 792 lib/common/nvpair.c if (crm_element_value(xml_node, name) == NULL) { NULL 815 lib/common/nvpair.c char *crm_name = NULL; NULL 817 lib/common/nvpair.c if (key == NULL || value == NULL) { NULL 856 lib/common/nvpair.c CRM_CHECK(id || name, return NULL); NULL 859 lib/common/nvpair.c CRM_CHECK(nvp, return NULL); NULL 913 lib/common/nvpair.c xmlNode *child = NULL; NULL 914 lib/common/nvpair.c xmlAttrPtr pIter = NULL; NULL 915 lib/common/nvpair.c xmlNode *nvpair_list = NULL; NULL 918 lib/common/nvpair.c CRM_CHECK(parent != NULL, return nvpair_hash); NULL 921 lib/common/nvpair.c if (nvpair_list == NULL) { NULL 928 lib/common/nvpair.c for (pIter = pcmk__first_xml_attr(nvpair_list); pIter != NULL; NULL 939 lib/common/nvpair.c for (child = pcmk__xml_first_child(nvpair_list); child != NULL; NULL 947 lib/common/nvpair.c if (key != NULL && value != NULL) { NULL 29 lib/common/operations.c static regex_t *notify_migrate_re = NULL; NULL 46 lib/common/operations.c CRM_ASSERT(rsc_id != NULL); NULL 47 lib/common/operations.c CRM_ASSERT(op_type != NULL); NULL 57 lib/common/operations.c l = strtoul(s, NULL, 10); NULL 91 lib/common/operations.c char *interval_sep = NULL; NULL 92 lib/common/operations.c char *type_sep = NULL; NULL 96 lib/common/operations.c if (interval_sep == NULL) { NULL 143 lib/common/operations.c if (notify_migrate_re == NULL) { NULL 168 lib/common/operations.c *rsc_id = NULL; NULL 173 lib/common/operations.c *op_type = NULL; NULL 186 lib/common/operations.c char *underbar1 = NULL; NULL 187 lib/common/operations.c char *underbar2 = NULL; NULL 188 lib/common/operations.c char *underbar3 = NULL; NULL 192 lib/common/operations.c *rsc_id = NULL; NULL 196 lib/common/operations.c *op_type = NULL; NULL 231 lib/common/operations.c CRM_CHECK(rsc_id != NULL, return NULL); NULL 232 lib/common/operations.c CRM_CHECK(op_type != NULL, return NULL); NULL 233 lib/common/operations.c CRM_CHECK(notify_type != NULL, return NULL); NULL 258 lib/common/operations.c char *key = NULL; NULL 263 lib/common/operations.c CRM_CHECK(magic != NULL, return FALSE); NULL 298 lib/common/operations.c CRM_CHECK(node != NULL, return NULL); NULL 327 lib/common/operations.c *uuid = NULL; NULL 339 lib/common/operations.c CRM_CHECK(key != NULL, return FALSE); NULL 373 lib/common/operations.c char *key = NULL; NULL 374 lib/common/operations.c char *timeout = NULL; NULL 388 lib/common/operations.c if (param_set == NULL) { NULL 407 lib/common/operations.c for (xmlAttrPtr xIter = param_set->properties; xIter != NULL; ) { NULL 418 lib/common/operations.c if ((interval_ms != 0) && (timeout != NULL)) { NULL 433 lib/common/operations.c decode_transition_key(op->user_data, NULL, NULL, NULL, &rc); NULL 479 lib/common/operations.c CRM_CHECK(prefix && task && interval_spec, return NULL); NULL 508 lib/common/operations.c CRM_CHECK((rsc_class != NULL) || (op != NULL), return false); NULL 510 lib/common/operations.c if ((rsc_class != NULL) NULL 515 lib/common/operations.c if (op == NULL) { NULL 523 lib/common/operations.c CRMD_ACTION_MIGRATED, CRMD_ACTION_NOTIFY, NULL); NULL 33 lib/common/options.c static char *crm_short_options = NULL; NULL 34 lib/common/options.c static pcmk__cli_option_t *crm_long_options = NULL; NULL 35 lib/common/options.c static const char *crm_app_description = NULL; NULL 36 lib/common/options.c static const char *crm_app_usage = NULL; NULL 42 lib/common/options.c crm_short_options = NULL; NULL 48 lib/common/options.c struct option *long_opts = NULL; NULL 69 lib/common/options.c for (lpc = 0; long_options[lpc].name != NULL; lpc++) { NULL 86 lib/common/options.c long_opts[index].name = NULL; NULL 114 lib/common/options.c char *local_short_options = NULL; NULL 116 lib/common/options.c for (lpc = 0; long_options[lpc].name != NULL; lpc++) { NULL 150 lib/common/options.c static struct option *long_opts = NULL; NULL 152 lib/common/options.c if (long_opts == NULL && crm_long_options) { NULL 216 lib/common/options.c for (i = 0; crm_long_options[i].name != NULL; i++) { NULL 288 lib/common/options.c const char *value = NULL; NULL 292 lib/common/options.c if (value != NULL) { NULL 299 lib/common/options.c if (value != NULL) { NULL 305 lib/common/options.c return NULL; NULL 359 lib/common/options.c return (value != NULL) && (crm_is_true(value) || strstr(value, daemon)); NULL 385 lib/common/options.c if (value == NULL) { NULL 394 lib/common/options.c crm_parse_ll(value, NULL); NULL 402 lib/common/options.c (crm_parse_ll(value, NULL) > 0); NULL 408 lib/common/options.c return pcmk__strcase_any_of(value, "stop", "freeze", "ignore", "demote", "suicide", NULL); NULL 441 lib/common/options.c char *end = NULL; NULL 467 lib/common/options.c const char *value = NULL; NULL 468 lib/common/options.c char *new_value = NULL; NULL 470 lib/common/options.c CRM_ASSERT(name != NULL); NULL 475 lib/common/options.c if ((value == NULL) && old_name) { NULL 477 lib/common/options.c if (value != NULL) { NULL 493 lib/common/options.c value = NULL; NULL 504 lib/common/options.c if (value == NULL) { NULL 507 lib/common/options.c return NULL; NULL 513 lib/common/options.c return NULL); NULL 540 lib/common/options.c const char *value = NULL; NULL 552 lib/common/options.c return NULL; NULL 571 lib/common/options.c if ((option_list[lpc].description_long == NULL) NULL 572 lib/common/options.c && (option_list[lpc].description_short == NULL)) { NULL 19 lib/common/output.c static GHashTable *formatters = NULL; NULL 25 lib/common/output.c if (out->messages != NULL) { NULL 36 lib/common/output.c pcmk__output_factory_t create = NULL;; NULL 38 lib/common/output.c if (formatters == NULL) { NULL 45 lib/common/output.c if (fmt_name == NULL) { NULL 51 lib/common/output.c if (create == NULL) { NULL 56 lib/common/output.c if (*out == NULL) { NULL 64 lib/common/output.c if ((*out)->dest == NULL) { NULL 71 lib/common/output.c (*out)->messages = g_hash_table_new_full(crm_str_hash, g_str_equal, free, NULL); NULL 84 lib/common/output.c if (create == NULL) { NULL 88 lib/common/output.c if (formatters == NULL) { NULL 89 lib/common/output.c formatters = g_hash_table_new_full(crm_str_hash, g_str_equal, free, NULL); NULL 92 lib/common/output.c if (options != NULL && group != NULL) { NULL 102 lib/common/output.c pcmk__supported_format_t *entry = NULL; NULL 104 lib/common/output.c if (formats == NULL) { NULL 108 lib/common/output.c for (entry = formats; entry->name != NULL; entry++) { NULL 115 lib/common/output.c if (formatters != NULL) { NULL 127 lib/common/output.c if (fn == NULL) { NULL 148 lib/common/output.c for (entry = table; entry->message_id != NULL; entry++) { NULL 149 lib/common/output.c if (pcmk__strcase_any_of(entry->fmt_name, "default", out->fmt_name, NULL)) { NULL 38 lib/common/output_html.c static char *stylesheet_link = NULL; NULL 39 lib/common/output_html.c static char *title = NULL; NULL 40 lib/common/output_html.c static GSList *extra_headers = NULL; NULL 45 lib/common/output_html.c NULL }, NULL 55 lib/common/output_html.c { NULL } NULL 68 lib/common/output_html.c if (priv == NULL) { NULL 76 lib/common/output_html.c out->priv = NULL; NULL 81 lib/common/output_html.c private_data_t *priv = NULL; NULL 84 lib/common/output_html.c if (out->priv != NULL) { NULL 88 lib/common/output_html.c if (out->priv == NULL) { NULL 97 lib/common/output_html.c priv->root = create_xml_node(NULL, "html"); NULL 98 lib/common/output_html.c xmlCreateIntSubset(priv->root->doc, (pcmkXmlStr) "html", NULL, NULL); NULL 102 lib/common/output_html.c priv->errors = NULL; NULL 113 lib/common/output_html.c out->list_item(out, NULL, "%s", str); NULL 119 lib/common/output_html.c htmlNodePtr head_node = NULL; NULL 120 lib/common/output_html.c htmlNodePtr charset_node = NULL; NULL 130 lib/common/output_html.c head_node = xmlNewNode(NULL, (pcmkXmlStr) "head"); NULL 132 lib/common/output_html.c if (title != NULL ) { NULL 134 lib/common/output_html.c } else if (out->request != NULL) { NULL 154 lib/common/output_html.c if (stylesheet_link != NULL) { NULL 163 lib/common/output_html.c out->begin_list(out, "Errors", NULL, NULL); NULL 180 lib/common/output_html.c if (priv == NULL || priv->root == NULL) { NULL 186 lib/common/output_html.c if (copy_dest != NULL) { NULL 195 lib/common/output_html.c CRM_ASSERT(out != NULL); NULL 197 lib/common/output_html.c out->dest = freopen(NULL, "w", out->dest); NULL 198 lib/common/output_html.c CRM_ASSERT(out->dest != NULL); NULL 200 lib/common/output_html.c if (out->priv != NULL) { NULL 211 lib/common/output_html.c char *rc_buf = NULL; NULL 213 lib/common/output_html.c CRM_ASSERT(priv != NULL); NULL 218 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, rc_buf); NULL 220 lib/common/output_html.c if (proc_stdout != NULL) { NULL 221 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, "Stdout"); NULL 222 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, "output", proc_stdout); NULL 224 lib/common/output_html.c if (proc_stderr != NULL) { NULL 225 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, "Stderr"); NULL 226 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, "output", proc_stderr); NULL 235 lib/common/output_html.c CRM_ASSERT(priv != NULL); NULL 238 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, "Program: Pacemaker"); NULL 239 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, crm_strdup_printf("Version: %s", PACEMAKER_VERSION)); NULL 240 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, "Author: Andrew Beekhof"); NULL 241 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, crm_strdup_printf("Build: %s", BUILD_VERSION)); NULL 242 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, crm_strdup_printf("Features: %s", CRM_FEATURES)); NULL 250 lib/common/output_html.c char *buf = NULL; NULL 253 lib/common/output_html.c CRM_ASSERT(priv != NULL); NULL 270 lib/common/output_html.c htmlNodePtr node = NULL; NULL 273 lib/common/output_html.c CRM_ASSERT(priv != NULL); NULL 275 lib/common/output_html.c node = pcmk__output_create_html_node(out, "pre", NULL, NULL, buf); NULL 285 lib/common/output_html.c xmlNodePtr node = NULL; NULL 287 lib/common/output_html.c CRM_ASSERT(priv != NULL); NULL 298 lib/common/output_html.c if (format != NULL) { NULL 300 lib/common/output_html.c char *buf = NULL; NULL 325 lib/common/output_html.c htmlNodePtr item_node = NULL; NULL 327 lib/common/output_html.c char *buf = NULL; NULL 330 lib/common/output_html.c CRM_ASSERT(priv != NULL); NULL 340 lib/common/output_html.c if (name != NULL) { NULL 354 lib/common/output_html.c CRM_ASSERT(priv != NULL); NULL 375 lib/common/output_html.c if (retval == NULL) { NULL 376 lib/common/output_html.c return NULL; NULL 380 lib/common/output_html.c retval->request = argv == NULL ? NULL : g_strjoinv(" ", argv); NULL 411 lib/common/output_html.c if (class_name != NULL) { NULL 415 lib/common/output_html.c if (id != NULL) { NULL 429 lib/common/output_html.c header_node = xmlNewNode(NULL, (pcmkXmlStr) name); NULL 434 lib/common/output_html.c if (key == NULL) { NULL 24 lib/common/output_log.c { NULL } NULL 42 lib/common/output_log.c if (priv == NULL) { NULL 48 lib/common/output_log.c out->priv = NULL; NULL 55 lib/common/output_log.c if (out->priv != NULL) { NULL 60 lib/common/output_log.c if (out->priv == NULL) { NULL 74 lib/common/output_log.c CRM_ASSERT(out != NULL); NULL 76 lib/common/output_log.c out->dest = freopen(NULL, "w", out->dest); NULL 77 lib/common/output_log.c CRM_ASSERT(out->dest != NULL); NULL 98 lib/common/output_log.c char* buffer = NULL; NULL 116 lib/common/output_log.c xmlNodePtr node = NULL; NULL 118 lib/common/output_log.c CRM_ASSERT(priv != NULL); NULL 120 lib/common/output_log.c node = create_xml_node(NULL, name); NULL 132 lib/common/output_log.c char* buffer = NULL; NULL 134 lib/common/output_log.c CRM_ASSERT(priv != NULL); NULL 159 lib/common/output_log.c char* buffer = NULL; NULL 161 lib/common/output_log.c CRM_ASSERT(priv != NULL); NULL 177 lib/common/output_log.c if ((name != NULL) && (strcmp(name, "") != 0)) { NULL 197 lib/common/output_log.c CRM_ASSERT(priv != NULL); NULL 198 lib/common/output_log.c if (priv->prefixes == NULL) { NULL 201 lib/common/output_log.c CRM_ASSERT(priv->prefixes->tail != NULL); NULL 212 lib/common/output_log.c char* buffer = NULL; NULL 233 lib/common/output_log.c if (retval == NULL) { NULL 234 lib/common/output_log.c return NULL; NULL 238 lib/common/output_log.c retval->request = argv == NULL ? NULL : g_strjoinv(" ", argv); NULL 17 lib/common/output_none.c { NULL } NULL 37 lib/common/output_none.c CRM_ASSERT(out != NULL); NULL 102 lib/common/output_none.c if (retval == NULL) { NULL 103 lib/common/output_none.c return NULL; NULL 107 lib/common/output_none.c retval->request = argv == NULL ? NULL : g_strjoinv(" ", argv); NULL 22 lib/common/output_text.c NULL }, NULL 24 lib/common/output_text.c { NULL } NULL 41 lib/common/output_text.c if (priv == NULL) { NULL 47 lib/common/output_text.c out->priv = NULL; NULL 52 lib/common/output_text.c private_data_t *priv = NULL; NULL 55 lib/common/output_text.c if (out->priv != NULL) { NULL 59 lib/common/output_text.c if (out->priv == NULL) { NULL 77 lib/common/output_text.c CRM_ASSERT(out != NULL); NULL 79 lib/common/output_text.c out->dest = freopen(NULL, "w", out->dest); NULL 80 lib/common/output_text.c CRM_ASSERT(out->dest != NULL); NULL 89 lib/common/output_text.c if (proc_stdout != NULL) { NULL 93 lib/common/output_text.c if (proc_stderr != NULL) { NULL 150 lib/common/output_text.c CRM_ASSERT(priv != NULL); NULL 159 lib/common/output_text.c text_list_data_t *new_list = NULL; NULL 162 lib/common/output_text.c CRM_ASSERT(priv != NULL); NULL 175 lib/common/output_text.c new_list->singular_noun = singular_noun == NULL ? NULL : strdup(singular_noun); NULL 176 lib/common/output_text.c new_list->plural_noun = plural_noun == NULL ? NULL : strdup(plural_noun); NULL 187 lib/common/output_text.c CRM_ASSERT(priv != NULL); NULL 192 lib/common/output_text.c if (id != NULL) { NULL 217 lib/common/output_text.c CRM_ASSERT(priv != NULL); NULL 219 lib/common/output_text.c CRM_ASSERT(tail != NULL); NULL 226 lib/common/output_text.c text_list_data_t *node = NULL; NULL 228 lib/common/output_text.c CRM_ASSERT(priv != NULL); NULL 231 lib/common/output_text.c if (node->singular_noun != NULL && node->plural_noun != NULL) { NULL 251 lib/common/output_text.c if (retval == NULL) { NULL 252 lib/common/output_text.c return NULL; NULL 256 lib/common/output_text.c retval->request = argv == NULL ? NULL : g_strjoinv(" ", argv); NULL 291 lib/common/output_text.c CRM_ASSERT(priv != NULL); NULL 35 lib/common/output_xml.c NULL, NULL 36 lib/common/output_xml.c NULL }, NULL 38 lib/common/output_xml.c NULL, NULL 39 lib/common/output_xml.c NULL }, NULL 41 lib/common/output_xml.c NULL, NULL 42 lib/common/output_xml.c NULL }, NULL 44 lib/common/output_xml.c { NULL } NULL 67 lib/common/output_xml.c { NULL, NULL } NULL 81 lib/common/output_xml.c if (priv == NULL) { NULL 89 lib/common/output_xml.c out->priv = NULL; NULL 94 lib/common/output_xml.c private_data_t *priv = NULL; NULL 97 lib/common/output_xml.c if (out->priv != NULL) { NULL 101 lib/common/output_xml.c if (out->priv == NULL) { NULL 109 lib/common/output_xml.c priv->root = create_xml_node(NULL, "crm_mon"); NULL 112 lib/common/output_xml.c priv->root = create_xml_node(NULL, "pacemaker-result"); NULL 115 lib/common/output_xml.c if (out->request != NULL) { NULL 121 lib/common/output_xml.c priv->errors = NULL; NULL 152 lib/common/output_xml.c while (node != NULL) { NULL 185 lib/common/output_xml.c if (priv == NULL || priv->root == NULL) { NULL 191 lib/common/output_xml.c if (copy_dest != NULL) { NULL 198 lib/common/output_xml.c CRM_ASSERT(out != NULL); NULL 200 lib/common/output_xml.c out->dest = freopen(NULL, "w", out->dest); NULL 201 lib/common/output_xml.c CRM_ASSERT(out->dest != NULL); NULL 203 lib/common/output_xml.c if (out->priv != NULL) { NULL 215 lib/common/output_xml.c char *rc_as_str = NULL; NULL 222 lib/common/output_xml.c if (proc_stdout != NULL) { NULL 227 lib/common/output_xml.c if (proc_stderr != NULL) { NULL 240 lib/common/output_xml.c CRM_ASSERT(priv != NULL); NULL 255 lib/common/output_xml.c char *buf = NULL; NULL 258 lib/common/output_xml.c CRM_ASSERT(priv != NULL); NULL 275 lib/common/output_xml.c xmlNodePtr parent = NULL; NULL 276 lib/common/output_xml.c xmlNodePtr cdata_node = NULL; NULL 279 lib/common/output_xml.c CRM_ASSERT(priv != NULL); NULL 291 lib/common/output_xml.c const char *name = NULL; NULL 292 lib/common/output_xml.c char *buf = NULL; NULL 301 lib/common/output_xml.c for (subst_t *s = substitutions; s->from != NULL; s++) { NULL 309 lib/common/output_xml.c if (name == NULL) { NULL 316 lib/common/output_xml.c xmlNodePtr list_node = NULL; NULL 329 lib/common/output_xml.c xmlNodePtr item_node = NULL; NULL 331 lib/common/output_xml.c char *buf = NULL; NULL 334 lib/common/output_xml.c CRM_ASSERT(priv != NULL); NULL 343 lib/common/output_xml.c if (name != NULL) { NULL 359 lib/common/output_xml.c CRM_ASSERT(priv != NULL); NULL 364 lib/common/output_xml.c char *buf = NULL; NULL 383 lib/common/output_xml.c if (retval == NULL) { NULL 384 lib/common/output_xml.c return NULL; NULL 388 lib/common/output_xml.c retval->request = argv == NULL ? NULL : g_strjoinv(" ", argv); NULL 425 lib/common/output_xml.c CRM_ASSERT(priv != NULL); NULL 426 lib/common/output_xml.c CRM_ASSERT(node != NULL); NULL 435 lib/common/output_xml.c CRM_ASSERT(priv != NULL); NULL 451 lib/common/output_xml.c CRM_ASSERT(priv != NULL); NULL 452 lib/common/output_xml.c CRM_ASSERT(parent != NULL); NULL 461 lib/common/output_xml.c CRM_ASSERT(priv != NULL); NULL 471 lib/common/output_xml.c CRM_ASSERT(priv != NULL); NULL 88 lib/common/patchset.c xmlNode *cIter = NULL; NULL 89 lib/common/patchset.c xmlAttr *pIter = NULL; NULL 90 lib/common/patchset.c xmlNode *change = NULL; NULL 92 lib/common/patchset.c const char *value = NULL; NULL 99 lib/common/patchset.c if (pcmk__element_xpath(NULL, xml->parent, buffer, offset, NULL 115 lib/common/patchset.c for (pIter = pcmk__first_xml_attr(xml); pIter != NULL; NULL 117 lib/common/patchset.c xmlNode *attr = NULL; NULL 124 lib/common/patchset.c if (change == NULL) { NULL 128 lib/common/patchset.c if (pcmk__element_xpath(NULL, xml, buffer, offset, NULL 154 lib/common/patchset.c xmlNode *result = NULL; NULL 159 lib/common/patchset.c for (pIter = pcmk__first_xml_attr(xml); pIter != NULL; NULL 170 lib/common/patchset.c for (cIter = pcmk__xml_first_child(xml); cIter != NULL; NULL 182 lib/common/patchset.c if (pcmk__element_xpath(NULL, xml, buffer, offset, NULL 197 lib/common/patchset.c GListPtr gIter = NULL; NULL 198 lib/common/patchset.c xml_private_t *p = NULL; NULL 204 lib/common/patchset.c if ((p != NULL) && pcmk_is_set(p->flags, xpf_dirty)) { NULL 208 lib/common/patchset.c if ((xml->doc != NULL) && (xml->doc->_private != NULL)) { NULL 214 lib/common/patchset.c "/" XML_TAG_CIB "/" XML_CIB_TAG_CONFIGURATION) != NULL) { NULL 227 lib/common/patchset.c xmlNode *cib = NULL; NULL 228 lib/common/patchset.c xmlNode *diff_child = NULL; NULL 230 lib/common/patchset.c const char *tag = NULL; NULL 238 lib/common/patchset.c if (local_diff == NULL) { NULL 245 lib/common/patchset.c if (diff_child == NULL) { NULL 251 lib/common/patchset.c if (cib == NULL) { NULL 255 lib/common/patchset.c for (lpc = 0; (last != NULL) && (lpc < DIMOF(vfields)); lpc++) { NULL 266 lib/common/patchset.c if (diff_child == NULL) { NULL 272 lib/common/patchset.c if (cib == NULL) { NULL 283 lib/common/patchset.c xmlAttrPtr xIter = NULL; NULL 314 lib/common/patchset.c GListPtr gIter = NULL; NULL 315 lib/common/patchset.c xml_private_t *doc = NULL; NULL 317 lib/common/patchset.c xmlNode *v = NULL; NULL 318 lib/common/patchset.c xmlNode *version = NULL; NULL 319 lib/common/patchset.c xmlNode *patchset = NULL; NULL 328 lib/common/patchset.c return NULL; NULL 334 lib/common/patchset.c patchset = create_xml_node(NULL, XML_TAG_DIFF); NULL 343 lib/common/patchset.c if (value == NULL) { NULL 353 lib/common/patchset.c if (value == NULL) { NULL 380 lib/common/patchset.c xmlNode *patch = NULL; NULL 386 lib/common/patchset.c return NULL; /* No change */ NULL 426 lib/common/patchset.c return NULL; NULL 436 lib/common/patchset.c const char *version = NULL; NULL 437 lib/common/patchset.c char *digest = NULL; NULL 439 lib/common/patchset.c if ((patch == NULL) || (source == NULL) || (target == NULL)) { NULL 466 lib/common/patchset.c xmlNode *child = NULL; NULL 467 lib/common/patchset.c xmlNode *added = NULL; NULL 468 lib/common/patchset.c xmlNode *removed = NULL; NULL 474 lib/common/patchset.c const char *fmt = NULL; NULL 475 lib/common/patchset.c const char *digest = NULL; NULL 478 lib/common/patchset.c static struct qb_log_callsite *patchset_cs = NULL; NULL 483 lib/common/patchset.c if (patchset_cs == NULL) { NULL 488 lib/common/patchset.c if (patchset == NULL) { NULL 508 lib/common/patchset.c } else if ((patchset != NULL) && (add[0] || add[1] || add[2])) { NULL 516 lib/common/patchset.c xmlNode *change = NULL; NULL 518 lib/common/patchset.c for (change = pcmk__xml_first_child(patchset); change != NULL; NULL 523 lib/common/patchset.c if (op == NULL) { NULL 557 lib/common/patchset.c for (child = pcmk__xml_first_child(clist); child != NULL; NULL 562 lib/common/patchset.c if (op == NULL) { NULL 611 lib/common/patchset.c if ((log_level < LOG_DEBUG) || (function == NULL)) { NULL 616 lib/common/patchset.c for (child = pcmk__xml_first_child(removed); child != NULL; NULL 629 lib/common/patchset.c for (child = pcmk__xml_first_child(added); child != NULL; NULL 645 lib/common/patchset.c xmlNode *patch_child = NULL; NULL 646 lib/common/patchset.c xmlNode *cIter = NULL; NULL 647 lib/common/patchset.c xmlAttrPtr xIter = NULL; NULL 649 lib/common/patchset.c char *id = NULL; NULL 650 lib/common/patchset.c const char *name = NULL; NULL 651 lib/common/patchset.c const char *value = NULL; NULL 653 lib/common/patchset.c if ((target == NULL) || (patch == NULL)) { NULL 664 lib/common/patchset.c CRM_CHECK(name != NULL, return); NULL 673 lib/common/patchset.c if ((value != NULL) && (strcmp(value, "removed:top") == 0)) { NULL 680 lib/common/patchset.c for (xIter = pcmk__first_xml_attr(patch); xIter != NULL; NULL 706 lib/common/patchset.c xmlNode *patch_child = NULL; NULL 707 lib/common/patchset.c xmlNode *target_child = NULL; NULL 708 lib/common/patchset.c xmlAttrPtr xIter = NULL; NULL 710 lib/common/patchset.c const char *id = NULL; NULL 711 lib/common/patchset.c const char *name = NULL; NULL 712 lib/common/patchset.c const char *value = NULL; NULL 714 lib/common/patchset.c if (patch == NULL) { NULL 716 lib/common/patchset.c } else if ((parent == NULL) && (target == NULL)) { NULL 722 lib/common/patchset.c if ((target == NULL) && (value != NULL) NULL 730 lib/common/patchset.c } else if (target == NULL) { NULL 742 lib/common/patchset.c CRM_CHECK(name != NULL, return); NULL 748 lib/common/patchset.c for (xIter = pcmk__first_xml_attr(patch); xIter != NULL; NULL 758 lib/common/patchset.c for (patch_child = pcmk__xml_first_child(patch); patch_child != NULL; NULL 789 lib/common/patchset.c if (cib_node != NULL) { NULL 800 lib/common/patchset.c *patch_node = NULL; NULL 812 lib/common/patchset.c xmlNode *tmp = NULL; NULL 827 lib/common/patchset.c if (tmp != NULL) { NULL 838 lib/common/patchset.c if (tmp != NULL) { NULL 939 lib/common/patchset.c xmlNode *child_diff = NULL; NULL 945 lib/common/patchset.c for (child_diff = pcmk__xml_first_child(removed); child_diff != NULL; NULL 963 lib/common/patchset.c xmlNode *child_diff = NULL; NULL 965 lib/common/patchset.c for (child_diff = pcmk__xml_first_child(added); child_diff != NULL; NULL 969 lib/common/patchset.c process_v1_additions(NULL, xml, child_diff); NULL 992 lib/common/patchset.c xmlNode *cIter = NULL; NULL 994 lib/common/patchset.c for (cIter = pcmk__xml_first_child(parent); cIter != NULL; NULL 1001 lib/common/patchset.c if ((cid == NULL) || (strcmp(cid, id) != 0)) { NULL 1015 lib/common/patchset.c return NULL; NULL 1040 lib/common/patchset.c char *path = NULL; NULL 1044 lib/common/patchset.c CRM_CHECK(key != NULL, return NULL); NULL 1052 lib/common/patchset.c CRM_ASSERT(remainder != NULL); NULL 1055 lib/common/patchset.c CRM_ASSERT(section != NULL); NULL 1058 lib/common/patchset.c CRM_ASSERT(id != NULL); NULL 1061 lib/common/patchset.c CRM_ASSERT(tag != NULL); NULL 1080 lib/common/patchset.c target = first_matching_xml_child(target, tag, NULL, NULL 1089 lib/common/patchset.c target = NULL; NULL 1152 lib/common/patchset.c xmlNode *change = NULL; NULL 1153 lib/common/patchset.c GListPtr change_objs = NULL; NULL 1154 lib/common/patchset.c GListPtr gIter = NULL; NULL 1156 lib/common/patchset.c for (change = pcmk__xml_first_child(patchset); change != NULL; NULL 1158 lib/common/patchset.c xmlNode *match = NULL; NULL 1163 lib/common/patchset.c if (op == NULL) { NULL 1176 lib/common/patchset.c if ((match == NULL) && (strcmp(op, "delete") == 0)) { NULL 1180 lib/common/patchset.c } else if (match == NULL) { NULL 1189 lib/common/patchset.c CRM_ASSERT(change_obj != NULL); NULL 1198 lib/common/patchset.c if ((match->parent != NULL) && (match->parent->last != NULL)) { NULL 1208 lib/common/patchset.c xmlNode *attrs = NULL; NULL 1212 lib/common/patchset.c if (attrs == NULL) { NULL 1216 lib/common/patchset.c while (pIter != NULL) { NULL 1223 lib/common/patchset.c for (pIter = pcmk__first_xml_attr(attrs); pIter != NULL; NULL 1243 lib/common/patchset.c const char *op = NULL; NULL 1244 lib/common/patchset.c const char *xpath = NULL; NULL 1255 lib/common/patchset.c xmlNode *child = NULL; NULL 1256 lib/common/patchset.c xmlNode *match_child = NULL; NULL 1261 lib/common/patchset.c while ((match_child != NULL) NULL 1289 lib/common/patchset.c xmlNode *match_child = NULL; NULL 1296 lib/common/patchset.c CRM_ASSERT(match->parent != NULL); NULL 1299 lib/common/patchset.c while ((match_child != NULL) NULL 1314 lib/common/patchset.c CRM_ASSERT(match->parent->last != NULL); NULL 1342 lib/common/patchset.c xmlNode *old = NULL; NULL 1345 lib/common/patchset.c if (patchset == NULL) { NULL 1378 lib/common/patchset.c if ((rc == pcmk_ok) && (digest != NULL)) { NULL 1379 lib/common/patchset.c static struct qb_log_callsite *digest_cs = NULL; NULL 1381 lib/common/patchset.c char *new_digest = NULL; NULL 1384 lib/common/patchset.c if (digest_cs == NULL) { NULL 1396 lib/common/patchset.c if ((digest_cs != NULL) && digest_cs->targets) { NULL 1397 lib/common/patchset.c save_xml_to_file(old, "PatchDigest:input", NULL); NULL 1398 lib/common/patchset.c save_xml_to_file(xml, "PatchDigest:result", NULL); NULL 1399 lib/common/patchset.c save_xml_to_file(patchset, "PatchDigest:diff", NULL); NULL 1403 lib/common/patchset.c ((digest_cs != NULL)? digest_cs->targets : 0)); NULL 1420 lib/common/patchset.c xmlNode *child = NULL; NULL 1422 lib/common/patchset.c CRM_CHECK(a_node != NULL, return); NULL 1425 lib/common/patchset.c for (child = pcmk__xml_first_child(a_node); child != NULL; NULL 1434 lib/common/patchset.c xmlNode *tmp1 = NULL; NULL 1435 lib/common/patchset.c xmlNode *diff = create_xml_node(NULL, "diff"); NULL 1441 lib/common/patchset.c tmp1 = subtract_xml_object(removed, old, new, FALSE, NULL, "removed:top"); NULL 1442 lib/common/patchset.c if (suppress && (tmp1 != NULL) && can_prune_leaf(tmp1)) { NULL 1446 lib/common/patchset.c tmp1 = subtract_xml_object(added, new, old, TRUE, NULL, "added:top"); NULL 1447 lib/common/patchset.c if (suppress && (tmp1 != NULL) && can_prune_leaf(tmp1)) { NULL 1451 lib/common/patchset.c if ((added->children == NULL) && (removed->children == NULL)) { NULL 1453 lib/common/patchset.c diff = NULL; NULL 1463 lib/common/patchset.c CRM_CHECK(left != NULL, return NULL); NULL 1464 lib/common/patchset.c CRM_CHECK(left->type == XML_COMMENT_NODE, return NULL); NULL 1466 lib/common/patchset.c if ((right == NULL) || !pcmk__str_eq((const char *)left->content, NULL 1469 lib/common/patchset.c xmlNode *deleted = NULL; NULL 1477 lib/common/patchset.c return NULL; NULL 1485 lib/common/patchset.c xmlNode *diff = NULL; NULL 1486 lib/common/patchset.c xmlNode *right_child = NULL; NULL 1487 lib/common/patchset.c xmlNode *left_child = NULL; NULL 1488 lib/common/patchset.c xmlAttrPtr xIter = NULL; NULL 1490 lib/common/patchset.c const char *id = NULL; NULL 1491 lib/common/patchset.c const char *name = NULL; NULL 1492 lib/common/patchset.c const char *value = NULL; NULL 1493 lib/common/patchset.c const char *right_val = NULL; NULL 1495 lib/common/patchset.c if (changed == NULL) { NULL 1499 lib/common/patchset.c if (left == NULL) { NULL 1500 lib/common/patchset.c return NULL; NULL 1508 lib/common/patchset.c if (right == NULL) { NULL 1509 lib/common/patchset.c xmlNode *deleted = NULL; NULL 1521 lib/common/patchset.c CRM_CHECK(name != NULL, return NULL); NULL 1524 lib/common/patchset.c return NULL); NULL 1528 lib/common/patchset.c if ((value != NULL) && (strcmp(value, "removed:top") == 0)) { NULL 1531 lib/common/patchset.c return NULL; NULL 1538 lib/common/patchset.c for (left_child = pcmk__xml_first_child(left); left_child != NULL; NULL 1554 lib/common/patchset.c xmlAttrPtr pIter = NULL; NULL 1556 lib/common/patchset.c for (pIter = pcmk__first_xml_attr(left); pIter != NULL; NULL 1569 lib/common/patchset.c for (xIter = pcmk__first_xml_attr(left); xIter != NULL; NULL 1572 lib/common/patchset.c xmlAttrPtr right_attr = NULL; NULL 1573 lib/common/patchset.c xml_private_t *p = NULL; NULL 1591 lib/common/patchset.c if ((right_val == NULL) || (p && pcmk_is_set(p->flags, xpf_deleted))) { NULL 1595 lib/common/patchset.c xmlAttrPtr pIter = NULL; NULL 1597 lib/common/patchset.c for (pIter = pcmk__first_xml_attr(left); pIter != NULL; NULL 1623 lib/common/patchset.c xmlAttrPtr pIter = NULL; NULL 1627 lib/common/patchset.c for (pIter = pcmk__first_xml_attr(left); pIter != NULL; NULL 1649 lib/common/patchset.c return NULL; NULL 1651 lib/common/patchset.c } else if (!full && (id != NULL)) { NULL 1671 lib/common/patchset.c static struct qb_log_callsite *digest_cs = NULL; NULL 1675 lib/common/patchset.c xmlNode *child_diff = NULL; NULL 1679 lib/common/patchset.c CRM_CHECK(new_xml != NULL, return FALSE); NULL 1680 lib/common/patchset.c if (digest_cs == NULL) { NULL 1686 lib/common/patchset.c for (child_diff = pcmk__xml_first_child(removed); child_diff != NULL; NULL 1690 lib/common/patchset.c *new_xml = subtract_xml_object(NULL, old_xml, child_diff, FALSE, NULL 1691 lib/common/patchset.c NULL, NULL); NULL 1708 lib/common/patchset.c xmlNode *child_diff = NULL; NULL 1710 lib/common/patchset.c for (child_diff = pcmk__xml_first_child(added); child_diff != NULL; NULL 1714 lib/common/patchset.c pcmk__xml_update(NULL, *new_xml, child_diff, true); NULL 1725 lib/common/patchset.c } else if (result && (digest != NULL)) { NULL 1726 lib/common/patchset.c char *new_digest = NULL; NULL 1737 lib/common/patchset.c if ((digest_cs != NULL) && digest_cs->targets) { NULL 1738 lib/common/patchset.c save_xml_to_file(old_xml, "diff:original", NULL); NULL 1739 lib/common/patchset.c save_xml_to_file(diff, "diff:input", NULL); NULL 1740 lib/common/patchset.c save_xml_to_file(*new_xml, "diff:new", NULL); NULL 32 lib/common/pid.c bool no_name_check = ((daemon == NULL) || (have_proc_pid == -1)); NULL 65 lib/common/pid.c } else if (daemon != NULL) { NULL 126 lib/common/pid.c CRM_CHECK((filename != NULL) && (pid != NULL), return EINVAL); NULL 221 lib/common/pid.c rc = pcmk__pidfile_matches(filename, 0, name, NULL); NULL 241 lib/common/pid.c rc = pcmk__pidfile_matches(filename, mypid, name, NULL); NULL 82 lib/common/procfs.c if (name != NULL) { NULL 119 lib/common/procfs.c if (dp == NULL) { NULL 124 lib/common/procfs.c while ((entry = readdir(dp)) != NULL) { NULL 127 lib/common/procfs.c && (pcmk__pid_active(pid, NULL) == pcmk_rc_ok)) { NULL 148 lib/common/procfs.c FILE *stream = NULL; NULL 152 lib/common/procfs.c if (stream == NULL) { NULL 102 lib/common/remote.c return NULL; NULL 112 lib/common/remote.c return NULL; NULL 136 lib/common/remote.c time_t time_limit = time(NULL) + timeout_ms / 1000; NULL 155 lib/common/remote.c } while (time(NULL) < time_limit); NULL 229 lib/common/remote.c const char *prio_base = NULL; NULL 230 lib/common/remote.c char *prio = NULL; NULL 231 lib/common/remote.c gnutls_session_t *session = NULL; NULL 241 lib/common/remote.c if (prio_base == NULL) { NULL 248 lib/common/remote.c if (session == NULL) { NULL 262 lib/common/remote.c rc = gnutls_priority_set_direct(*session, prio, NULL); NULL 287 lib/common/remote.c if (session != NULL) { NULL 290 lib/common/remote.c return NULL; NULL 389 lib/common/remote.c if (unsent == NULL) { NULL 431 lib/common/remote.c if (unsent == NULL) { NULL 505 lib/common/remote.c char *xml_text = NULL; NULL 510 lib/common/remote.c CRM_CHECK((remote != NULL) && (msg != NULL), return EINVAL); NULL 513 lib/common/remote.c CRM_CHECK(xml_text != NULL, return EINVAL); NULL 516 lib/common/remote.c CRM_ASSERT(header != NULL); NULL 555 lib/common/remote.c xmlNode *xml = NULL; NULL 558 lib/common/remote.c if (header == NULL) { NULL 559 lib/common/remote.c return NULL; NULL 579 lib/common/remote.c return NULL; NULL 585 lib/common/remote.c return NULL; NULL 604 lib/common/remote.c if (xml == NULL && header->version > REMOTE_MSG_VERSION) { NULL 608 lib/common/remote.c } else if (xml == NULL) { NULL 660 lib/common/remote.c start = time(NULL); NULL 670 lib/common/remote.c timeout = timeout_ms - ((time(NULL) - start) * 1000); NULL 807 lib/common/remote.c time_t start = time(NULL); NULL 849 lib/common/remote.c remaining_timeout = timeout_ms - ((time(NULL) - start) * 1000); NULL 882 lib/common/remote.c rc = select(cb_data->sock + 1, &rset, &wset, NULL, &ts); NULL 887 lib/common/remote.c if ((time(NULL) - cb_data->start) < (cb_data->timeout_ms / 1000)) { NULL 897 lib/common/remote.c if ((time(NULL) - cb_data->start) < (cb_data->timeout_ms / 1000)) { NULL 972 lib/common/remote.c struct tcp_async_cb_data *cb_data = NULL; NULL 1003 lib/common/remote.c cb_data->start = time(NULL); NULL 1081 lib/common/remote.c struct addrinfo *res = NULL; NULL 1082 lib/common/remote.c struct addrinfo *rp = NULL; NULL 1088 lib/common/remote.c CRM_CHECK((host != NULL) && (sock_fd != NULL), return EINVAL); NULL 1095 lib/common/remote.c rc = getaddrinfo(server, NULL, &hints, &res); NULL 1109 lib/common/remote.c for (rp = res; rp != NULL; rp = rp->ai_next) { NULL 1271 lib/common/remote.c port = strtol(env, NULL, 10); NULL 66 lib/common/schemas.c static struct schema_s *known_schemas = NULL; NULL 82 lib/common/schemas.c PCMK__XML_LOG_BASE(priority, FALSE, 0, NULL, fmt, ap); NULL 192 lib/common/schemas.c CRM_ASSERT(known_schemas != NULL); NULL 275 lib/common/schemas.c char *xslt = NULL, NULL 276 lib/common/schemas.c *transform_upgrade = NULL, NULL 277 lib/common/schemas.c *transform_enter = NULL; NULL 307 lib/common/schemas.c xslt = NULL; NULL 311 lib/common/schemas.c if (xslt != NULL) { NULL 318 lib/common/schemas.c transform_enter = NULL; NULL 325 lib/common/schemas.c transform_upgrade = NULL; NULL 330 lib/common/schemas.c add_schema(schema_validator_rng, version, NULL, NULL 347 lib/common/schemas.c CRM_ASSERT(secprefs == NULL); NULL 362 lib/common/schemas.c secprefs = NULL; NULL 383 lib/common/schemas.c struct dirent **namelist = NULL; NULL 430 lib/common/schemas.c NULL, NULL, FALSE, -1); NULL 432 lib/common/schemas.c add_schema(schema_validator_none, &zero, "none", NULL, NULL, FALSE, -1); NULL 467 lib/common/schemas.c relaxng_ctx_cache_t *ctx = NULL; NULL 469 lib/common/schemas.c CRM_CHECK(doc != NULL, return FALSE); NULL 470 lib/common/schemas.c CRM_CHECK(relaxng_file != NULL, return FALSE); NULL 481 lib/common/schemas.c CRM_CHECK(ctx->parser != NULL, goto cleanup); NULL 496 lib/common/schemas.c CRM_CHECK(ctx->rng != NULL, NULL 501 lib/common/schemas.c CRM_CHECK(ctx->valid != NULL, goto cleanup); NULL 534 lib/common/schemas.c if (ctx->parser != NULL) { NULL 537 lib/common/schemas.c if (ctx->valid != NULL) { NULL 540 lib/common/schemas.c if (ctx->rng != NULL) { NULL 557 lib/common/schemas.c relaxng_ctx_cache_t *ctx = NULL; NULL 566 lib/common/schemas.c if (ctx == NULL) { NULL 569 lib/common/schemas.c if (ctx->parser != NULL) { NULL 572 lib/common/schemas.c if (ctx->valid != NULL) { NULL 575 lib/common/schemas.c if (ctx->rng != NULL) { NULL 579 lib/common/schemas.c known_schemas[lpc].cache = NULL; NULL 587 lib/common/schemas.c known_schemas = NULL; NULL 595 lib/common/schemas.c xmlDocPtr doc = NULL; NULL 597 lib/common/schemas.c char *file = NULL; NULL 607 lib/common/schemas.c CRM_CHECK(xml != NULL, return FALSE); NULL 644 lib/common/schemas.c FILE *fp = NULL; NULL 647 lib/common/schemas.c CRM_CHECK(filename != NULL, return); NULL 650 lib/common/schemas.c if (fp == NULL) { NULL 675 lib/common/schemas.c xmlDoc *doc = NULL; NULL 676 lib/common/schemas.c xmlNode *xml = NULL; NULL 678 lib/common/schemas.c char *filename = NULL; NULL 690 lib/common/schemas.c rc = validate_xml(xml, NULL, FALSE); NULL 704 lib/common/schemas.c if (validation == NULL) { NULL 708 lib/common/schemas.c if (validation == NULL) { NULL 799 lib/common/schemas.c if (arg_cur != NULL) { NULL 806 lib/common/schemas.c if (ctx == NULL) { NULL 817 lib/common/schemas.c if (ctx == NULL) { NULL 828 lib/common/schemas.c if (ctx == NULL) { NULL 868 lib/common/schemas.c if (log_level != NULL) { NULL 904 lib/common/schemas.c char *xform = NULL; NULL 905 lib/common/schemas.c xmlNode *out = NULL; NULL 906 lib/common/schemas.c xmlDocPtr res = NULL; NULL 907 lib/common/schemas.c xmlDocPtr doc = NULL; NULL 908 lib/common/schemas.c xsltStylesheet *xslt = NULL; NULL 915 lib/common/schemas.c CRM_CHECK(xml != NULL, return FALSE); NULL 925 lib/common/schemas.c xsltSetGenericErrorFunc(NULL, cib_upgrade_err); NULL 931 lib/common/schemas.c CRM_CHECK(xslt != NULL, goto cleanup); NULL 933 lib/common/schemas.c res = xsltApplyStylesheet(xslt, doc, NULL); NULL 934 lib/common/schemas.c CRM_CHECK(res != NULL, goto cleanup); NULL 936 lib/common/schemas.c xsltSetGenericErrorFunc(NULL, NULL); /* restore default one */ NULL 971 lib/common/schemas.c xmlNode *upgrade = NULL, NULL 972 lib/common/schemas.c *final = NULL; NULL 978 lib/common/schemas.c if (upgrade == NULL) { NULL 984 lib/common/schemas.c if (upgrade == NULL) { NULL 993 lib/common/schemas.c upgrade = NULL; NULL 996 lib/common/schemas.c if (final != NULL && transform_onleave) { NULL 999 lib/common/schemas.c CRM_ASSERT(schema->transform_enter != NULL); NULL 1006 lib/common/schemas.c if (final == NULL) { NULL 1034 lib/common/schemas.c if (name == NULL) { NULL 1050 lib/common/schemas.c xmlNode *xml = NULL; NULL 1051 lib/common/schemas.c char *value = NULL; NULL 1056 lib/common/schemas.c CRM_CHECK(best != NULL, return -EINVAL); NULL 1059 lib/common/schemas.c CRM_CHECK(xml_blob != NULL, return -EINVAL); NULL 1060 lib/common/schemas.c CRM_CHECK(*xml_blob != NULL, return -EINVAL); NULL 1065 lib/common/schemas.c if (value != NULL) { NULL 1119 lib/common/schemas.c xmlNode *upgrade = NULL; NULL 1132 lib/common/schemas.c } else if (known_schemas[lpc].transform == NULL NULL 1152 lib/common/schemas.c if (upgrade == NULL) { NULL 1200 lib/common/schemas.c char *const orig_value = strdup(value == NULL ? "(none)" : value); NULL 1208 lib/common/schemas.c xmlNode *converted = NULL; NULL 1258 lib/common/schemas.c converted = NULL; NULL 30 lib/common/strings.c if (buffer != NULL) { NULL 54 lib/common/strings.c char *local_end_text = NULL; NULL 58 lib/common/strings.c if (text != NULL) { NULL 82 lib/common/strings.c if ((end_text == NULL) && !pcmk__str_empty(local_end_text)) { NULL 88 lib/common/strings.c if (end_text != NULL) { NULL 91 lib/common/strings.c if (result != NULL) { NULL 111 lib/common/strings.c if (text == NULL) { NULL 113 lib/common/strings.c if (text == NULL) { NULL 119 lib/common/strings.c scan_ll(text, &result, NULL); NULL 182 lib/common/strings.c char *local_end_text = NULL; NULL 184 lib/common/strings.c CRM_ASSERT(result != NULL); NULL 187 lib/common/strings.c text = (text != NULL) ? text : default_text; NULL 189 lib/common/strings.c if (text == NULL) { NULL 252 lib/common/strings.c if (strchr("0.eE", *p) == NULL) { NULL 265 lib/common/strings.c if ((end_text == NULL) && !pcmk__str_empty(local_end_text)) { NULL 271 lib/common/strings.c if (end_text != NULL) { NULL 296 lib/common/strings.c CRM_CHECK((table != NULL) && (key != NULL), return EINVAL); NULL 299 lib/common/strings.c if (value == NULL) { NULL 300 lib/common/strings.c if (result != NULL) { NULL 307 lib/common/strings.c value_ll = crm_parse_ll(value, NULL); NULL 316 lib/common/strings.c if (result != NULL) { NULL 342 lib/common/strings.c const char *num_start = NULL; NULL 348 lib/common/strings.c char *end_text = NULL; NULL 350 lib/common/strings.c if (input == NULL) { NULL 396 lib/common/strings.c if (s != NULL) { NULL 405 lib/common/strings.c if (s == NULL) { NULL 428 lib/common/strings.c if (str == NULL) { NULL 473 lib/common/strings.c } else if (s == NULL) { NULL 483 lib/common/strings.c return (s == NULL)? false : !strcmp(s, match); NULL 591 lib/common/strings.c GHashTable *new_table = NULL; NULL 622 lib/common/strings.c CRM_ASSERT(list != NULL); NULL 629 lib/common/strings.c orig_len = (len != NULL)? *len : ((*list == NULL)? 0 : strlen(*list)); NULL 636 lib/common/strings.c } else if (separator == NULL) { NULL 641 lib/common/strings.c if (len != NULL) { NULL 667 lib/common/strings.c char *compressed = NULL; NULL 717 lib/common/strings.c char *string = NULL; NULL 729 lib/common/strings.c char *remainder = NULL; NULL 731 lib/common/strings.c CRM_ASSERT(start != NULL && end != NULL); NULL 760 lib/common/strings.c char *more_remainder = NULL; NULL 796 lib/common/strings.c if (lst == NULL) { NULL 800 lib/common/strings.c if (strcmp(lst->data, "*") == 0 && lst->next == NULL) { NULL 804 lib/common/strings.c return g_list_find_custom(lst, s, (GCompareFunc) strcmp) != NULL; NULL 812 lib/common/strings.c if (s != NULL) { NULL 816 lib/common/strings.c if (ele == NULL) { NULL 903 lib/common/strings.c if (ele == NULL) { NULL 905 lib/common/strings.c } else if (strchr(ele, ch) != NULL) { NULL 937 lib/common/strings.c char *end1 = NULL; NULL 938 lib/common/strings.c char *end2 = NULL; NULL 1018 lib/common/strings.c if (s1 == NULL || s2 == NULL) { NULL 1031 lib/common/strings.c rc = regexec(r_patt, s1, 0, NULL, 0); NULL 1053 lib/common/strings.c if (s1 == NULL || s2 == NULL) { NULL 1061 lib/common/strings.c if (s1 == NULL) { NULL 1063 lib/common/strings.c } else if (s2 == NULL) { NULL 1087 lib/common/strings.c } else if (a == NULL || b == NULL) { NULL 1107 lib/common/strings.c } else if (a == NULL || b == NULL) { NULL 15 lib/common/tests/flags/pcmk__clear_flags_as_test.c "test", 0x0f0, 0x00f, NULL), ==, 0x0f0); NULL 17 lib/common/tests/flags/pcmk__clear_flags_as_test.c "test", 0x0f0, 0xf0f, NULL), ==, 0x0f0); NULL 23 lib/common/tests/flags/pcmk__clear_flags_as_test.c "test", 0x0f0, 0x020, NULL), ==, 0x0d0); NULL 25 lib/common/tests/flags/pcmk__clear_flags_as_test.c "test", 0x0f0, 0x030, NULL), ==, 0x0c0); NULL 31 lib/common/tests/flags/pcmk__clear_flags_as_test.c "test", 0x0f0, 0x0f0, NULL), ==, 0x000); NULL 33 lib/common/tests/flags/pcmk__clear_flags_as_test.c "test", 0x0f0, 0xfff, NULL), ==, 0x000); NULL 39 lib/common/tests/flags/pcmk__clear_flags_as_test.c g_test_init(&argc, &argv, NULL); NULL 15 lib/common/tests/flags/pcmk__set_flags_as_test.c "test", 0x0f0, 0x00f, NULL), ==, 0x0ff); NULL 17 lib/common/tests/flags/pcmk__set_flags_as_test.c "test", 0x0f0, 0xf0f, NULL), ==, 0xfff); NULL 19 lib/common/tests/flags/pcmk__set_flags_as_test.c "test", 0x0f0, 0xfff, NULL), ==, 0xfff); NULL 25 lib/common/tests/flags/pcmk__set_flags_as_test.c g_test_init(&argc, &argv, NULL); NULL 34 lib/common/tests/flags/pcmk_all_flags_set_test.c g_test_init(&argc, &argv, NULL); NULL 28 lib/common/tests/flags/pcmk_any_flags_set_test.c g_test_init(&argc, &argv, NULL); NULL 9 lib/common/tests/operations/parse_op_key_test.c char *rsc = NULL; NULL 10 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; NULL 24 lib/common/tests/operations/parse_op_key_test.c char *rsc = NULL; NULL 25 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; NULL 46 lib/common/tests/operations/parse_op_key_test.c char *rsc = NULL; NULL 47 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; NULL 68 lib/common/tests/operations/parse_op_key_test.c char *rsc = NULL; NULL 69 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; NULL 97 lib/common/tests/operations/parse_op_key_test.c char *rsc = NULL; NULL 98 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; NULL 126 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; NULL 129 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(parse_op_key("Fencing_monitor_60000", NULL, &ty, &ms), ==, TRUE); NULL 138 lib/common/tests/operations/parse_op_key_test.c char *rsc = NULL; NULL 141 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(parse_op_key("Fencing_monitor_60000", &rsc, NULL, &ms), ==, TRUE); NULL 150 lib/common/tests/operations/parse_op_key_test.c char *rsc = NULL; NULL 151 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; NULL 153 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(parse_op_key("Fencing_monitor_60000", &rsc, &ty, NULL), ==, TRUE); NULL 163 lib/common/tests/operations/parse_op_key_test.c char *rsc = NULL; NULL 164 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; NULL 168 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(rsc == NULL, ==, TRUE); NULL 169 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(ty == NULL, ==, TRUE); NULL 172 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(parse_op_key(NULL, &rsc, &ty, &ms), ==, FALSE); NULL 173 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(rsc == NULL, ==, TRUE); NULL 174 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(ty == NULL, ==, TRUE); NULL 181 lib/common/tests/operations/parse_op_key_test.c char *rsc = NULL; NULL 182 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; NULL 186 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(rsc == NULL, ==, TRUE); NULL 187 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(ty == NULL, ==, TRUE); NULL 191 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(rsc == NULL, ==, TRUE); NULL 192 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(ty == NULL, ==, TRUE); NULL 196 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(rsc == NULL, ==, TRUE); NULL 197 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(ty == NULL, ==, TRUE); NULL 203 lib/common/tests/operations/parse_op_key_test.c g_test_init(&argc, &argv, NULL); NULL 18 lib/common/tests/strings/pcmk__add_word_test.c char *list = NULL; NULL 29 lib/common/tests/strings/pcmk__add_word_test.c char *list = NULL; NULL 31 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_word(&list, NULL, "hello"); NULL 32 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_word(&list, NULL, "world"); NULL 39 lib/common/tests/strings/pcmk__add_word_test.c char *list = NULL; NULL 41 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_word(&list, NULL, "hello"); NULL 42 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_word(&list, NULL, NULL); NULL 43 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_word(&list, NULL, ""); NULL 50 lib/common/tests/strings/pcmk__add_word_test.c char *list = NULL; NULL 53 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_separated_word(&list, &list_len, "hello", NULL); NULL 54 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_separated_word(&list, &list_len, "world", NULL); NULL 55 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_separated_word(&list, &list_len, "I am a unit test", NULL); NULL 62 lib/common/tests/strings/pcmk__add_word_test.c char *list = NULL; NULL 74 lib/common/tests/strings/pcmk__add_word_test.c char *list = NULL; NULL 86 lib/common/tests/strings/pcmk__add_word_test.c g_test_init(&argc, &argv, NULL); NULL 22 lib/common/tests/strings/pcmk__btoa_test.c g_test_init(&argc, &argv, NULL); NULL 10 lib/common/tests/strings/pcmk__char_in_any_str_test.c g_assert_cmpint(pcmk__char_in_any_str('x', NULL), ==, false); NULL 11 lib/common/tests/strings/pcmk__char_in_any_str_test.c g_assert_cmpint(pcmk__char_in_any_str('\0', NULL), ==, false); NULL 17 lib/common/tests/strings/pcmk__char_in_any_str_test.c g_assert_cmpint(pcmk__char_in_any_str('\0', "xxx", "yyy", NULL), ==, true); NULL 18 lib/common/tests/strings/pcmk__char_in_any_str_test.c g_assert_cmpint(pcmk__char_in_any_str('\0', "", NULL), ==, true); NULL 24 lib/common/tests/strings/pcmk__char_in_any_str_test.c g_assert_cmpint(pcmk__char_in_any_str('x', "aaa", "bbb", "xxx", NULL), ==, true); NULL 30 lib/common/tests/strings/pcmk__char_in_any_str_test.c g_assert_cmpint(pcmk__char_in_any_str('x', "aaa", "bbb", NULL), ==, false); NULL 31 lib/common/tests/strings/pcmk__char_in_any_str_test.c g_assert_cmpint(pcmk__char_in_any_str('A', "aaa", "bbb", NULL), ==, false); NULL 32 lib/common/tests/strings/pcmk__char_in_any_str_test.c g_assert_cmpint(pcmk__char_in_any_str('x', "", NULL), ==, false); NULL 37 lib/common/tests/strings/pcmk__char_in_any_str_test.c g_test_init(&argc, &argv, NULL); NULL 10 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range(NULL, &start, &end), ==, NULL 88 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_test_init(&argc, &argv, NULL); NULL 24 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(NULL, &result, NULL, NULL), ==, EINVAL); NULL 27 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("", &result, NULL, NULL), ==, EINVAL); NULL 31 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(NULL, &result, "2.0", NULL), ==, NULL 35 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("", &result, "2.0", NULL), ==, EINVAL); NULL 45 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("asdf", &result, NULL, NULL), ==, EINVAL); NULL 48 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("as2.0", &result, NULL, NULL), ==, NULL 53 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("asdf", &result, "2.0", NULL), ==, NULL 57 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("as2.0", &result, "2.0", NULL), ==, NULL 67 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("2.0asdf", &result, NULL, NULL), ==, NULL 78 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("0.0", &result, NULL, NULL), ==, NULL 82 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("1.0", &result, NULL, NULL), ==, NULL 86 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("-1.0", &result, NULL, NULL), ==, NULL 91 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, NULL 96 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, NULL 112 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, EOVERFLOW); NULL 116 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, EOVERFLOW); NULL 133 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, NULL 139 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, NULL 147 lib/common/tests/strings/pcmk__scan_double_test.c g_test_init(&argc, &argv, NULL); NULL 9 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_cmpint(pcmk__strcase_any_of("xxx", NULL), ==, false); NULL 10 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_cmpint(pcmk__str_any_of("xxx", NULL), ==, false); NULL 11 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_cmpint(pcmk__strcase_any_of("", NULL), ==, false); NULL 12 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_cmpint(pcmk__str_any_of("", NULL), ==, false); NULL 17 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_cmpint(pcmk__strcase_any_of("", "xxx", "yyy", NULL), ==, false); NULL 18 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_cmpint(pcmk__str_any_of("", "xxx", "yyy", NULL), ==, false); NULL 19 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_cmpint(pcmk__strcase_any_of(NULL, "xxx", "yyy", NULL), ==, false); NULL 20 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_cmpint(pcmk__str_any_of(NULL, "xxx", "yyy", NULL), ==, false); NULL 25 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_cmpint(pcmk__strcase_any_of("xxx", "aaa", "bbb", "xxx", NULL), ==, true); NULL 26 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_cmpint(pcmk__str_any_of("xxx", "aaa", "bbb", "xxx", NULL), ==, true); NULL 27 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_cmpint(pcmk__strcase_any_of("XXX", "aaa", "bbb", "xxx", NULL), ==, true); NULL 32 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_cmpint(pcmk__strcase_any_of("xxx", "aaa", "bbb", NULL), ==, false); NULL 33 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_cmpint(pcmk__str_any_of("xxx", "aaa", "bbb", NULL), ==, false); NULL 34 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_cmpint(pcmk__str_any_of("AAA", "aaa", "bbb", NULL), ==, false); NULL 39 lib/common/tests/strings/pcmk__str_any_of_test.c g_test_init(&argc, &argv, NULL); NULL 16 lib/common/tests/strings/pcmk__strcmp_test.c g_assert_cmpint(pcmk__strcmp(NULL, NULL, pcmk__str_none), ==, 0); NULL 23 lib/common/tests/strings/pcmk__strcmp_test.c g_assert_cmpint(pcmk__strcmp(s1, NULL, pcmk__str_null_matches), ==, 0); NULL 24 lib/common/tests/strings/pcmk__strcmp_test.c g_assert_cmpint(pcmk__str_eq(s1, NULL, pcmk__str_null_matches), ==, true); NULL 25 lib/common/tests/strings/pcmk__strcmp_test.c g_assert_cmpint(pcmk__strcmp(NULL, s1, pcmk__str_null_matches), ==, 0); NULL 26 lib/common/tests/strings/pcmk__strcmp_test.c g_assert_cmpint(pcmk__strcmp(s1, NULL, pcmk__str_none), >, 0); NULL 27 lib/common/tests/strings/pcmk__strcmp_test.c g_assert_cmpint(pcmk__str_eq(s1, NULL, pcmk__str_none), ==, false); NULL 28 lib/common/tests/strings/pcmk__strcmp_test.c g_assert_cmpint(pcmk__strcmp(NULL, s1, pcmk__str_none), <, 0); NULL 55 lib/common/tests/strings/pcmk__strcmp_test.c g_assert_cmpint(pcmk__strcmp(NULL, "a..d", pcmk__str_regex), ==, 1); NULL 56 lib/common/tests/strings/pcmk__strcmp_test.c g_assert_cmpint(pcmk__strcmp(s1, NULL, pcmk__str_regex), ==, 1); NULL 69 lib/common/tests/strings/pcmk__strcmp_test.c g_test_init(&argc, &argv, NULL); NULL 35 lib/common/tests/utils/pcmk_str_is_infinity_test.c g_assert_cmpint(pcmk_str_is_infinity(NULL), ==, false); NULL 47 lib/common/tests/utils/pcmk_str_is_infinity_test.c g_test_init(&argc, &argv, NULL); NULL 32 lib/common/tests/utils/pcmk_str_is_minus_infinity_test.c g_assert_cmpint(pcmk_str_is_minus_infinity(NULL), ==, false); NULL 44 lib/common/tests/utils/pcmk_str_is_minus_infinity_test.c g_test_init(&argc, &argv, NULL); NULL 54 lib/common/utils.c char *crm_system_name = NULL; NULL 65 lib/common/utils.c if (score == NULL) { NULL 83 lib/common/utils.c score_f = crm_parse_int(score, NULL); NULL 125 lib/common/utils.c char *buffer = NULL; NULL 127 lib/common/utils.c struct passwd *pwentry = NULL; NULL 130 lib/common/utils.c if (buffer == NULL) { NULL 198 lib/common/utils.c CRM_ASSERT(end_text != NULL); NULL 202 lib/common/utils.c if (text != NULL && text[0] != 0) { NULL 231 lib/common/utils.c if (version1 == NULL && version2 == NULL) { NULL 233 lib/common/utils.c } else if (version1 == NULL) { NULL 235 lib/common/utils.c } else if (version2 == NULL) { NULL 252 lib/common/utils.c if (ver1_iter != NULL) { NULL 256 lib/common/utils.c if (ver2_iter != NULL) { NULL 269 lib/common/utils.c if (ver1_iter != NULL && *ver1_iter == '.') { NULL 272 lib/common/utils.c if (ver1_iter != NULL && *ver1_iter == '\0') { NULL 273 lib/common/utils.c ver1_iter = NULL; NULL 276 lib/common/utils.c if (ver2_iter != NULL && *ver2_iter == '.') { NULL 279 lib/common/utils.c if (ver2_iter != NULL && *ver2_iter == 0) { NULL 280 lib/common/utils.c ver2_iter = NULL; NULL 312 lib/common/utils.c if (input == NULL) { NULL 380 lib/common/utils.c crm_write_blackbox(SIGTRAP, NULL); NULL 461 lib/common/utils.c char *crm_name = NULL; NULL 463 lib/common/utils.c CRM_CHECK(field != NULL, return NULL); NULL 481 lib/common/utils.c char *key = NULL; NULL 482 lib/common/utils.c const char *value = NULL; NULL 527 lib/common/utils.c return (uname(&hostinfo) < 0)? NULL : strdup(hostinfo.nodename); NULL 532 lib/common/utils.c return pcmk__str_any_of(s, CRM_INFINITY_S, CRM_PLUS_INFINITY_S, NULL); NULL 158 lib/common/watchdog.c static struct qb_log_callsite *panic_cs = NULL; NULL 160 lib/common/watchdog.c if (panic_cs == NULL) { NULL 195 lib/common/watchdog.c char *pidfile = NULL; NULL 196 lib/common/watchdog.c char *sbd_path = NULL; NULL 54 lib/common/xml.c if(xml == NULL || xml->doc == NULL || xml->doc->_private == NULL) { NULL 76 lib/common/xml.c char *tmp = NULL; \ NULL 93 lib/common/xml.c if ((*buffer) == NULL || spaces >= ((*max) - (*offset))) { NULL 109 lib/common/xml.c if(p == NULL) { NULL 141 lib/common/xml.c xmlNode *cIter = NULL; NULL 148 lib/common/xml.c for (cIter = pcmk__xml_first_child(xml); cIter != NULL; NULL 158 lib/common/xml.c xmlNode *cIter = NULL; NULL 166 lib/common/xml.c for (cIter = pcmk__xml_first_child(xml); cIter != NULL; NULL 177 lib/common/xml.c xml_private_t *p = NULL; NULL 207 lib/common/xml.c p->user = NULL; NULL 211 lib/common/xml.c p->acls = NULL; NULL 216 lib/common/xml.c p->deleted_objs = NULL; NULL 232 lib/common/xml.c if (node->type != XML_DOCUMENT_NODE || node->name == NULL NULL 243 lib/common/xml.c xml_private_t *p = NULL; NULL 282 lib/common/xml.c if(acl_source == NULL) { NULL 293 lib/common/xml.c return (xml != NULL) && (xml->doc != NULL) && (xml->doc->_private != NULL) NULL 300 lib/common/xml.c return (xml != NULL) && (xml->doc != NULL) && (xml->doc->_private != NULL) NULL 318 lib/common/xml.c xmlNode *cIter = NULL; NULL 335 lib/common/xml.c xmlNode *cIter = NULL; NULL 336 lib/common/xml.c xmlAttr *pIter = NULL; NULL 342 lib/common/xml.c while (pIter != NULL) { NULL 356 lib/common/xml.c for (cIter = pcmk__xml_first_child(xml); cIter != NULL; NULL 373 lib/common/xml.c CRM_CHECK(needle != NULL, return NULL); NULL 380 lib/common/xml.c const char *attr = (id == NULL)? NULL : XML_ATTR_ID; NULL 389 lib/common/xml.c GListPtr gIter = NULL; NULL 390 lib/common/xml.c xml_private_t *doc = NULL; NULL 424 lib/common/xml.c xmlNode *top = NULL; NULL 425 lib/common/xml.c xml_private_t *doc = NULL; NULL 427 lib/common/xml.c if(xml == NULL) { NULL 449 lib/common/xml.c xmlNode *a_child = NULL; NULL 452 lib/common/xml.c if (root != NULL) { NULL 456 lib/common/xml.c if (search_path == NULL) { NULL 458 lib/common/xml.c return NULL; NULL 461 lib/common/xml.c for (a_child = pcmk__xml_first_child(root); a_child != NULL; NULL 471 lib/common/xml.c } else if (root != NULL) { NULL 477 lib/common/xml.c return NULL; NULL 501 lib/common/xml.c CRM_CHECK(attr_n == NULL || attr_v != NULL, return NULL); NULL 503 lib/common/xml.c for (xmlNode *child = pcmk__xml_first_child(parent); child != NULL; NULL 507 lib/common/xml.c && ((attr_n == NULL) || attr_matches(child, attr_n, attr_v))) { NULL 518 lib/common/xml.c return NULL; NULL 524 lib/common/xml.c if (src == NULL) { NULL 527 lib/common/xml.c } else if (target == NULL) { NULL 531 lib/common/xml.c xmlAttrPtr pIter = NULL; NULL 533 lib/common/xml.c for (pIter = pcmk__first_xml_attr(src); pIter != NULL; pIter = pIter->next) { NULL 548 lib/common/xml.c xmlNode *child = NULL; NULL 549 lib/common/xml.c xmlAttrPtr pIter = NULL; NULL 551 lib/common/xml.c for (pIter = pcmk__first_xml_attr(target); pIter != NULL; pIter = pIter->next) { NULL 557 lib/common/xml.c for (child = pcmk__xml_first_child(target); child != NULL; NULL 571 lib/common/xml.c const char *old_value = NULL; NULL 573 lib/common/xml.c if (value == NULL || name == NULL) { NULL 579 lib/common/xml.c if (old_value == NULL) { NULL 627 lib/common/xml.c xmlDoc *doc = NULL; NULL 629 lib/common/xml.c CRM_CHECK(node != NULL, return NULL); NULL 632 lib/common/xml.c if (doc == NULL) { NULL 643 lib/common/xml.c xmlNode *child = NULL; NULL 646 lib/common/xml.c CRM_CHECK(src_node != NULL, return NULL); NULL 665 lib/common/xml.c xmlDoc *doc = NULL; NULL 666 lib/common/xml.c xmlNode *node = NULL; NULL 669 lib/common/xml.c CRM_CHECK(name != NULL && name[0] == 0, return NULL); NULL 670 lib/common/xml.c return NULL; NULL 673 lib/common/xml.c if (parent == NULL) { NULL 675 lib/common/xml.c node = xmlNewDocRawNode(doc, NULL, (pcmkXmlStr) name, NULL); NULL 680 lib/common/xml.c node = xmlNewDocRawNode(doc, NULL, (pcmkXmlStr) name, NULL); NULL 692 lib/common/xml.c if (node != NULL) { NULL 705 lib/common/xml.c if (class_name != NULL) { NULL 709 lib/common/xml.c if (id != NULL) { NULL 731 lib/common/xml.c if (child != NULL) { NULL 732 lib/common/xml.c xmlNode *top = NULL; NULL 736 lib/common/xml.c if (doc != NULL) { NULL 740 lib/common/xml.c if (doc != NULL && top == child) { NULL 744 lib/common/xml.c } else if (pcmk__check_acl(child, NULL, xpf_acl_write) == FALSE) { NULL 748 lib/common/xml.c pcmk__element_xpath(NULL, child, buffer, offset, sizeof(buffer)); NULL 758 lib/common/xml.c if (pcmk__element_xpath(NULL, child, buffer, offset, NULL 760 lib/common/xml.c pcmk__deleted_xml_t *deleted_obj = NULL; NULL 815 lib/common/xml.c static struct qb_log_callsite *xml_error_cs = NULL; NULL 817 lib/common/xml.c if (xml_error_cs == NULL) { NULL 837 lib/common/xml.c xmlNode *xml = NULL; NULL 838 lib/common/xml.c xmlDocPtr output = NULL; NULL 839 lib/common/xml.c xmlParserCtxtPtr ctxt = NULL; NULL 840 lib/common/xml.c xmlErrorPtr last_error = NULL; NULL 842 lib/common/xml.c if (input == NULL) { NULL 844 lib/common/xml.c return NULL; NULL 849 lib/common/xml.c CRM_CHECK(ctxt != NULL, return NULL); NULL 853 lib/common/xml.c output = xmlCtxtReadDoc(ctxt, (pcmkXmlStr) input, NULL, NULL, NULL 874 lib/common/xml.c if (xml != NULL) { NULL 901 lib/common/xml.c char *xml_buffer = NULL; NULL 902 lib/common/xml.c xmlNode *xml_obj = NULL; NULL 914 lib/common/xml.c return NULL; NULL 928 lib/common/xml.c char *buffer = NULL; NULL 934 lib/common/xml.c BZFILE *bz_file = NULL; NULL 937 lib/common/xml.c if (input == NULL) { NULL 939 lib/common/xml.c return NULL; NULL 942 lib/common/xml.c bz_file = BZ2_bzReadOpen(&rc, input, 0, 0, NULL, 0); NULL 947 lib/common/xml.c return NULL; NULL 970 lib/common/xml.c buffer = NULL; NULL 1020 lib/common/xml.c xmlNode *xml = NULL; NULL 1021 lib/common/xml.c xmlDocPtr output = NULL; NULL 1023 lib/common/xml.c xmlParserCtxtPtr ctxt = NULL; NULL 1024 lib/common/xml.c xmlErrorPtr last_error = NULL; NULL 1028 lib/common/xml.c CRM_CHECK(ctxt != NULL, return NULL); NULL 1037 lib/common/xml.c if (filename == NULL) { NULL 1039 lib/common/xml.c output = xmlCtxtReadFd(ctxt, STDIN_FILENO, "unknown.xml", NULL, NULL 1043 lib/common/xml.c output = xmlCtxtReadFile(ctxt, filename, NULL, PCMK__XML_PARSE_OPTS); NULL 1048 lib/common/xml.c output = xmlCtxtReadDoc(ctxt, (pcmkXmlStr) input, NULL, NULL, NULL 1069 lib/common/xml.c if (xml != NULL) { NULL 1090 lib/common/xml.c const char *now_str = pcmk__epoch2str(NULL); NULL 1128 lib/common/xml.c char *id = NULL; NULL 1158 lib/common/xml.c char *buffer = NULL; NULL 1172 lib/common/xml.c BZFILE *bz_file = NULL; NULL 1251 lib/common/xml.c FILE *stream = NULL; NULL 1257 lib/common/xml.c if (stream == NULL) { NULL 1279 lib/common/xml.c FILE *stream = NULL; NULL 1285 lib/common/xml.c if (stream == NULL) { NULL 1401 lib/common/xml.c char *p_value = NULL; NULL 1402 lib/common/xml.c const char *p_name = NULL; NULL 1403 lib/common/xml.c xml_private_t *p = NULL; NULL 1405 lib/common/xml.c CRM_ASSERT(buffer != NULL); NULL 1406 lib/common/xml.c if (attr == NULL || attr->children == NULL) { NULL 1428 lib/common/xml.c const char *name = NULL; NULL 1429 lib/common/xml.c const char *hidden = NULL; NULL 1431 lib/common/xml.c xmlNode *child = NULL; NULL 1432 lib/common/xml.c xmlAttrPtr pIter = NULL; NULL 1434 lib/common/xml.c if ((data == NULL) || (log_level == LOG_NEVER)) { NULL 1441 lib/common/xml.c char *buffer = NULL; NULL 1452 lib/common/xml.c for (pIter = pcmk__first_xml_attr(data); pIter != NULL; pIter = pIter->next) { NULL 1456 lib/common/xml.c char *p_copy = NULL; NULL 1466 lib/common/xml.c } else if (hidden != NULL && p_name[0] != 0 && strstr(hidden, p_name) != NULL) { NULL 1502 lib/common/xml.c for (child = pcmk__xml_first_child(data); child != NULL; NULL 1511 lib/common/xml.c char *buffer = NULL; NULL 1527 lib/common/xml.c char *prefix_m = NULL; NULL 1528 lib/common/xml.c xmlNode *child = NULL; NULL 1529 lib/common/xml.c xmlAttrPtr pIter = NULL; NULL 1531 lib/common/xml.c if ((data == NULL) || (log_level == LOG_NEVER)) { NULL 1549 lib/common/xml.c char *prefix_del = NULL; NULL 1550 lib/common/xml.c char *prefix_moved = NULL; NULL 1569 lib/common/xml.c for (pIter = pcmk__first_xml_attr(data); pIter != NULL; pIter = pIter->next) { NULL 1602 lib/common/xml.c for (child = pcmk__xml_first_child(data); child != NULL; NULL 1612 lib/common/xml.c for (child = pcmk__xml_first_child(data); child != NULL; NULL 1627 lib/common/xml.c xmlNode *a_child = NULL; NULL 1629 lib/common/xml.c char *prefix_m = NULL; NULL 1635 lib/common/xml.c if (prefix == NULL) { NULL 1640 lib/common/xml.c if (data == NULL) { NULL 1654 lib/common/xml.c && (data->children == NULL || crm_element_value(data, XML_DIFF_MARKER))) { NULL 1661 lib/common/xml.c && (data->children == NULL || crm_element_value(data, XML_DIFF_MARKER))) { NULL 1672 lib/common/xml.c for (a_child = pcmk__xml_first_child(data); a_child != NULL; NULL 1687 lib/common/xml.c xmlAttrPtr xIter = NULL; NULL 1689 lib/common/xml.c for (xIter = pcmk__first_xml_attr(data); xIter != NULL; xIter = xIter->next) { NULL 1699 lib/common/xml.c const char *name = NULL; NULL 1701 lib/common/xml.c CRM_ASSERT(max != NULL); NULL 1702 lib/common/xml.c CRM_ASSERT(offset != NULL); NULL 1703 lib/common/xml.c CRM_ASSERT(buffer != NULL); NULL 1705 lib/common/xml.c if (data == NULL) { NULL 1710 lib/common/xml.c if (*buffer == NULL) { NULL 1716 lib/common/xml.c CRM_ASSERT(name != NULL); NULL 1725 lib/common/xml.c xmlAttrPtr xIter = NULL; NULL 1727 lib/common/xml.c for (xIter = pcmk__first_xml_attr(data); xIter != NULL; xIter = xIter->next) { NULL 1732 lib/common/xml.c if (data->children == NULL) { NULL 1744 lib/common/xml.c xmlNode *xChild = NULL; NULL 1745 lib/common/xml.c for(xChild = data->children; xChild != NULL; xChild = xChild->next) { NULL 1761 lib/common/xml.c CRM_ASSERT(max != NULL); NULL 1762 lib/common/xml.c CRM_ASSERT(offset != NULL); NULL 1763 lib/common/xml.c CRM_ASSERT(buffer != NULL); NULL 1765 lib/common/xml.c if (data == NULL) { NULL 1770 lib/common/xml.c if (*buffer == NULL) { NULL 1787 lib/common/xml.c CRM_ASSERT(max != NULL); NULL 1788 lib/common/xml.c CRM_ASSERT(offset != NULL); NULL 1789 lib/common/xml.c CRM_ASSERT(buffer != NULL); NULL 1791 lib/common/xml.c if (data == NULL) { NULL 1796 lib/common/xml.c if (*buffer == NULL) { NULL 1815 lib/common/xml.c CRM_ASSERT(max != NULL); NULL 1816 lib/common/xml.c CRM_ASSERT(offset != NULL); NULL 1817 lib/common/xml.c CRM_ASSERT(buffer != NULL); NULL 1819 lib/common/xml.c if (data == NULL) { NULL 1824 lib/common/xml.c if (*buffer == NULL) { NULL 1857 lib/common/xml.c if(data == NULL) { NULL 1873 lib/common/xml.c time_t next, new = time(NULL); NULL 1880 lib/common/xml.c CRM_CHECK(doc != NULL, return); NULL 1882 lib/common/xml.c xml_buffer = xmlAllocOutputBuffer(NULL); NULL 1883 lib/common/xml.c CRM_ASSERT(xml_buffer != NULL); NULL 1896 lib/common/xml.c (options & xml_log_option_formatted), NULL); NULL 1899 lib/common/xml.c if (xml_buffer->buffer != NULL) { NULL 1905 lib/common/xml.c next = time(NULL); NULL 1979 lib/common/xml.c char *buffer = NULL; NULL 1991 lib/common/xml.c char *buffer = NULL; NULL 2002 lib/common/xml.c char *buffer = NULL; NULL 2012 lib/common/xml.c if (xml_root != NULL && xml_root->children != NULL) { NULL 2021 lib/common/xml.c if (pcmk__check_acl(obj, NULL, xpf_acl_write) == FALSE) { NULL 2026 lib/common/xml.c xml_private_t *p = NULL; NULL 2040 lib/common/xml.c char *f = NULL; NULL 2042 lib/common/xml.c if (filename == NULL) { NULL 2084 lib/common/xml.c xmlAttr *attr = NULL; NULL 2157 lib/common/xml.c while (attr_iter != NULL) { NULL 2164 lib/common/xml.c if (new_attr == NULL) { NULL 2199 lib/common/xml.c while (attr_iter != NULL) { NULL 2261 lib/common/xml.c if (pcmk__xml_match(new_parent, old_child, true) == NULL) { NULL 2290 lib/common/xml.c xmlNode *cIter = NULL; NULL 2291 lib/common/xml.c xml_private_t *p = NULL; NULL 2293 lib/common/xml.c CRM_CHECK(new_xml != NULL, return); NULL 2294 lib/common/xml.c if (old_xml == NULL) { NULL 2301 lib/common/xml.c CRM_CHECK(p != NULL, return); NULL 2312 lib/common/xml.c for (cIter = pcmk__xml_first_child(old_xml); cIter != NULL; ) { NULL 2326 lib/common/xml.c for (cIter = pcmk__xml_first_child(new_xml); cIter != NULL; ) { NULL 2331 lib/common/xml.c if(old_child == NULL) { NULL 2364 lib/common/xml.c xml_track_changes(new_xml, NULL, NULL, FALSE); NULL 2373 lib/common/xml.c xmlNode *cIter = NULL; NULL 2374 lib/common/xml.c xmlAttrPtr pIter = NULL; NULL 2379 lib/common/xml.c XML_ACL_TAG_ROLE_REF, XML_ACL_TAG_ROLE_REFv1, NULL)) { NULL 2383 lib/common/xml.c for (pIter = pcmk__first_xml_attr(xml_node); pIter != NULL; pIter = pIter->next) { NULL 2417 lib/common/xml.c xmlNode *a_child = NULL; NULL 2420 lib/common/xml.c CRM_CHECK(search_comment->type == XML_COMMENT_NODE, return NULL); NULL 2422 lib/common/xml.c for (a_child = pcmk__xml_first_child(root); a_child != NULL; NULL 2432 lib/common/xml.c return NULL; NULL 2445 lib/common/xml.c return NULL; NULL 2449 lib/common/xml.c return NULL; NULL 2466 lib/common/xml.c CRM_CHECK(update != NULL, return); NULL 2469 lib/common/xml.c if (target == NULL) { NULL 2473 lib/common/xml.c if (target == NULL) { NULL 2498 lib/common/xml.c xmlNode *a_child = NULL; NULL 2499 lib/common/xml.c const char *object_name = NULL, NULL 2500 lib/common/xml.c *object_href = NULL, NULL 2501 lib/common/xml.c *object_href_val = NULL; NULL 2508 lib/common/xml.c CRM_CHECK(update != NULL, return); NULL 2517 lib/common/xml.c if (object_href_val != NULL) { NULL 2521 lib/common/xml.c object_href = (object_href_val == NULL) ? NULL : XML_ATTR_IDREF; NULL 2524 lib/common/xml.c CRM_CHECK(object_name != NULL, return); NULL 2525 lib/common/xml.c CRM_CHECK(target != NULL || parent != NULL, return); NULL 2527 lib/common/xml.c if (target == NULL) { NULL 2532 lib/common/xml.c if (target == NULL) { NULL 2534 lib/common/xml.c CRM_CHECK(target != NULL, return); NULL 2561 lib/common/xml.c xmlAttrPtr pIter = NULL; NULL 2563 lib/common/xml.c for (pIter = pcmk__first_xml_attr(update); pIter != NULL; pIter = pIter->next) { NULL 2573 lib/common/xml.c for (a_child = pcmk__xml_first_child(update); a_child != NULL; NULL 2582 lib/common/xml.c pcmk__xml_update(target, NULL, a_child, as_diff); NULL 2598 lib/common/xml.c xmlNode *child_of_child = NULL; NULL 2600 lib/common/xml.c CRM_CHECK(child != NULL, return FALSE); NULL 2601 lib/common/xml.c CRM_CHECK(to_update != NULL, return FALSE); NULL 2613 lib/common/xml.c pcmk__xml_update(NULL, child, to_update, false); NULL 2616 lib/common/xml.c for (child_of_child = pcmk__xml_first_child(child); child_of_child != NULL; NULL 2634 lib/common/xml.c CRM_CHECK(root != NULL, return FALSE); NULL 2635 lib/common/xml.c CRM_CHECK(children != NULL, return FALSE); NULL 2637 lib/common/xml.c if (tag != NULL && !pcmk__str_eq(tag, crm_element_name(root), pcmk__str_casei)) { NULL 2639 lib/common/xml.c } else if (value != NULL && !pcmk__str_eq(value, crm_element_value(root, field), pcmk__str_casei)) { NULL 2642 lib/common/xml.c if (*children == NULL) { NULL 2643 lib/common/xml.c *children = create_xml_node(NULL, __func__); NULL 2650 lib/common/xml.c xmlNode *child = NULL; NULL 2652 lib/common/xml.c for (child = pcmk__xml_first_child(root); child != NULL; NULL 2665 lib/common/xml.c xmlNode *child_of_child = NULL; NULL 2667 lib/common/xml.c const char *up_id = NULL; NULL 2668 lib/common/xml.c const char *child_id = NULL; NULL 2669 lib/common/xml.c const char *right_val = NULL; NULL 2671 lib/common/xml.c CRM_CHECK(child != NULL, return FALSE); NULL 2672 lib/common/xml.c CRM_CHECK(update != NULL, return FALSE); NULL 2677 lib/common/xml.c if (up_id == NULL || (child_id && strcmp(child_id, up_id) == 0)) { NULL 2684 lib/common/xml.c xmlAttrPtr pIter = NULL; NULL 2686 lib/common/xml.c for (pIter = pcmk__first_xml_attr(update); pIter != NULL; pIter = pIter->next) { NULL 2697 lib/common/xml.c if (can_delete && parent != NULL) { NULL 2699 lib/common/xml.c if (delete_only || update == NULL) { NULL 2705 lib/common/xml.c xmlNode *old = NULL; NULL 2719 lib/common/xml.c child = NULL; NULL 2735 lib/common/xml.c child_of_child = NULL; NULL 2747 lib/common/xml.c xmlNode *child = NULL; NULL 2748 lib/common/xml.c GSList *nvpairs = NULL; NULL 2749 lib/common/xml.c xmlNode *result = NULL; NULL 2750 lib/common/xml.c const char *name = NULL; NULL 2752 lib/common/xml.c CRM_CHECK(input != NULL, return NULL); NULL 2755 lib/common/xml.c CRM_CHECK(name != NULL, return NULL); NULL 2763 lib/common/xml.c for (child = pcmk__xml_first_child(input); child != NULL; NULL 2779 lib/common/xml.c xmlNode *match = NULL; NULL 2781 lib/common/xml.c for (match = pcmk__xe_first_child(parent); match != NULL; NULL 2792 lib/common/xml.c return NULL; NULL 2808 lib/common/xml.c while (match != NULL) { NULL 2814 lib/common/xml.c return NULL; NULL 2852 lib/common/xml.c const char *tag = NULL; NULL 2853 lib/common/xml.c const char *ref = NULL; NULL 2856 lib/common/xml.c if (result == NULL) { NULL 2857 lib/common/xml.c return NULL; NULL 2859 lib/common/xml.c } else if (top == NULL) { NULL 2866 lib/common/xml.c if (ref != NULL) { NULL 2870 lib/common/xml.c if (result == NULL) { NULL 2891 lib/common/xml.c static const char *base = NULL; NULL 2892 lib/common/xml.c char *ret = NULL; NULL 2894 lib/common/xml.c if (base == NULL) { NULL 2919 lib/common/xml.c char *base = pcmk__xml_artefact_root(ns), *ret = NULL; NULL 2946 lib/common/xml.c ((id == NULL)? id : XML_ATTR_ID), id); NULL 42 lib/common/xpath.c if (xpathObj == NULL) { NULL 48 lib/common/xpath.c xpathObj->nodesetval->nodeTab[lpc] = NULL; NULL 59 lib/common/xpath.c xmlNode *match = NULL; NULL 62 lib/common/xpath.c CRM_CHECK(index >= 0, return NULL); NULL 63 lib/common/xpath.c CRM_CHECK(xpathObj != NULL, return NULL); NULL 67 lib/common/xpath.c return NULL; NULL 69 lib/common/xpath.c } else if(xpathObj->nodesetval->nodeTab[index] == NULL) { NULL 71 lib/common/xpath.c return NULL; NULL 75 lib/common/xpath.c CRM_CHECK(match != NULL, return NULL); NULL 79 lib/common/xpath.c xpathObj->nodesetval->nodeTab[index] = NULL; NULL 94 lib/common/xpath.c match = NULL; NULL 104 lib/common/xpath.c if (xpathObj == NULL) { NULL 109 lib/common/xpath.c xmlNode *xml = NULL; NULL 112 lib/common/xpath.c if (xpathObj->nodesetval->nodeTab[lpc] == NULL) { NULL 123 lib/common/xpath.c xpathObj->nodesetval->nodeTab[lpc] = NULL; NULL 140 lib/common/xpath.c xmlDocPtr doc = NULL; NULL 141 lib/common/xpath.c xmlXPathObjectPtr xpathObj = NULL; NULL 142 lib/common/xpath.c xmlXPathContextPtr xpathCtx = NULL; NULL 145 lib/common/xpath.c CRM_CHECK(path != NULL, return NULL); NULL 146 lib/common/xpath.c CRM_CHECK(xml_top != NULL, return NULL); NULL 147 lib/common/xpath.c CRM_CHECK(strlen(path) > 0, return NULL); NULL 152 lib/common/xpath.c CRM_ASSERT(xpathCtx != NULL); NULL 182 lib/common/xpath.c CRM_LOG_ASSERT(result != NULL); NULL 193 lib/common/xpath.c xmlNode *result = NULL; NULL 194 lib/common/xpath.c char *xpath_full = NULL; NULL 195 lib/common/xpath.c char *xpath_prefix = NULL; NULL 197 lib/common/xpath.c if (xml_obj == NULL || xpath == NULL) { NULL 198 lib/common/xpath.c return NULL; NULL 216 lib/common/xpath.c xmlNode *result = NULL; NULL 217 lib/common/xpath.c xmlXPathObjectPtr xpathObj = NULL; NULL 218 lib/common/xpath.c char *nodePath = NULL; NULL 219 lib/common/xpath.c char *matchNodePath = NULL; NULL 221 lib/common/xpath.c if (xpath == NULL) { NULL 246 lib/common/xpath.c CRM_LOG_ASSERT(match != NULL); NULL 247 lib/common/xpath.c if (match != NULL) { NULL 273 lib/common/xpath.c if(offset == 0 && prefix == NULL && xml->parent) { NULL 274 lib/common/xpath.c offset = pcmk__element_xpath(NULL, xml->parent, buffer, offset, NULL 295 lib/common/xpath.c if (pcmk__element_xpath(NULL, xml, buffer, offset, sizeof(buffer)) > 0) { NULL 298 lib/common/xpath.c return NULL; NULL 234 lib/fencing/st_client.c while (list_item != NULL) NULL 253 lib/fencing/st_client.c stonith_private_t *native = NULL; NULL 258 lib/fencing/st_client.c blob.xml = create_xml_node(NULL, "notify"); NULL 261 lib/fencing/st_client.c native->ipc = NULL; NULL 262 lib/fencing/st_client.c native->source = NULL; NULL 264 lib/fencing/st_client.c free(native->token); native->token = NULL; NULL 278 lib/fencing/st_client.c xmlNode *data = create_xml_node(NULL, F_STONITH_DEVICE); NULL 283 lib/fencing/st_client.c namespace = stonith_get_namespace(agent, NULL); NULL 314 lib/fencing/st_client.c xmlNode *data = NULL; NULL 317 lib/fencing/st_client.c agent, params, NULL); NULL 319 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_DEVICE_ADD, data, NULL, call_options, 0); NULL 329 lib/fencing/st_client.c xmlNode *data = NULL; NULL 331 lib/fencing/st_client.c data = create_xml_node(NULL, F_STONITH_DEVICE); NULL 334 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_DEVICE_DEL, data, NULL, call_options, 0); NULL 346 lib/fencing/st_client.c xmlNode *data = NULL; NULL 350 lib/fencing/st_client.c data = create_xml_node(NULL, XML_TAG_FENCING_LEVEL); NULL 365 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_LEVEL_DEL, data, NULL, options, 0); NULL 375 lib/fencing/st_client.c NULL, NULL, NULL, level); NULL 399 lib/fencing/st_client.c char *list = NULL; NULL 402 lib/fencing/st_client.c CRM_CHECK(node || pattern || (attr && value), return NULL); NULL 404 lib/fencing/st_client.c data = create_xml_node(NULL, XML_TAG_FENCING_LEVEL); NULL 405 lib/fencing/st_client.c CRM_CHECK(data, return NULL); NULL 443 lib/fencing/st_client.c CRM_CHECK(data != NULL, return -EINVAL); NULL 445 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_LEVEL_ADD, data, NULL, options, 0); NULL 455 lib/fencing/st_client.c return stonith_api_register_level_full(st, options, node, NULL, NULL, NULL, NULL 462 lib/fencing/st_client.c CRM_CHECK(key != NULL, return); NULL 463 lib/fencing/st_client.c CRM_CHECK(value != NULL, return); NULL 464 lib/fencing/st_client.c CRM_CHECK(args != NULL, return); NULL 478 lib/fencing/st_client.c CRM_CHECK(*args != NULL, return); NULL 502 lib/fencing/st_client.c GHashTable *arg_list = NULL; NULL 503 lib/fencing/st_client.c const char *value = NULL; NULL 505 lib/fencing/st_client.c CRM_CHECK(action != NULL, return NULL); NULL 542 lib/fencing/st_client.c } else if (param == NULL) { NULL 544 lib/fencing/st_client.c if (host_arg == NULL) { NULL 620 lib/fencing/st_client.c *output = NULL; NULL 623 lib/fencing/st_client.c *error_output = NULL; NULL 625 lib/fencing/st_client.c if (action != NULL) { NULL 631 lib/fencing/st_client.c action->output = NULL; // hand off memory management to caller NULL 635 lib/fencing/st_client.c action->error = NULL; // hand off memory management to caller NULL 666 lib/fencing/st_client.c const char *value = NULL; NULL 682 lib/fencing/st_client.c int diff = time(NULL) - action->initial_start_time; NULL 709 lib/fencing/st_client.c } else if (svc_action->stderr_data == NULL) { NULL 733 lib/fencing/st_client.c svc_action->stdout_data = NULL; NULL 735 lib/fencing/st_client.c svc_action->stderr_data = NULL; NULL 737 lib/fencing/st_client.c svc_action->params = NULL; NULL 755 lib/fencing/st_client.c action->svc_action = NULL; // don't remove our caller NULL 780 lib/fencing/st_client.c svc_action_t *svc_action = NULL; NULL 782 lib/fencing/st_client.c char *buffer = NULL; NULL 785 lib/fencing/st_client.c action->initial_start_time = time(NULL); NULL 795 lib/fencing/st_client.c if (action->args == NULL || action->agent == NULL) NULL 800 lib/fencing/st_client.c svc_action = services_action_create_generic(buffer, NULL); NULL 819 lib/fencing/st_client.c action->output = NULL; NULL 821 lib/fencing/st_client.c action->error = NULL; NULL 831 lib/fencing/st_client.c svc_action = NULL; NULL 842 lib/fencing/st_client.c svc_action->stdout_data = NULL; NULL 844 lib/fencing/st_client.c svc_action->stderr_data = NULL; NULL 850 lib/fencing/st_client.c svc_action->params = NULL; NULL 901 lib/fencing/st_client.c CRM_CHECK(action != NULL, return -EINVAL); NULL 918 lib/fencing/st_client.c if (devices == NULL) { NULL 974 lib/fencing/st_client.c xmlNode *data = NULL; NULL 975 lib/fencing/st_client.c xmlNode *output = NULL; NULL 976 lib/fencing/st_client.c xmlXPathObjectPtr xpathObj = NULL; NULL 978 lib/fencing/st_client.c CRM_CHECK(devices != NULL, return -EINVAL); NULL 980 lib/fencing/st_client.c data = create_xml_node(NULL, F_STONITH_DEVICE); NULL 997 lib/fencing/st_client.c CRM_LOG_ASSERT(match != NULL); NULL 998 lib/fencing/st_client.c if(match != NULL) { NULL 1003 lib/fencing/st_client.c *devices = stonith_key_value_add(*devices, NULL, crm_element_value(match, XML_ATTR_ID)); NULL 1022 lib/fencing/st_client.c xmlNode *data = NULL; NULL 1024 lib/fencing/st_client.c data = create_xml_node(NULL, F_STONITH_DEVICE); NULL 1041 lib/fencing/st_client.c xmlNode *output = NULL; NULL 1043 lib/fencing/st_client.c rc = stonith_api_call(stonith, call_options, id, "list", NULL, timeout, &output); NULL 1065 lib/fencing/st_client.c return stonith_api_call(stonith, call_options, id, "monitor", NULL, timeout, NULL); NULL 1072 lib/fencing/st_client.c return stonith_api_call(stonith, call_options, id, "status", port, timeout, NULL); NULL 1080 lib/fencing/st_client.c xmlNode *data = NULL; NULL 1082 lib/fencing/st_client.c data = create_xml_node(NULL, __func__); NULL 1089 lib/fencing/st_client.c rc = stonith_send_command(stonith, STONITH_OP_FENCE, data, NULL, call_options, timeout); NULL 1115 lib/fencing/st_client.c xmlNode *data = NULL; NULL 1116 lib/fencing/st_client.c xmlNode *output = NULL; NULL 1117 lib/fencing/st_client.c stonith_history_t *last = NULL; NULL 1119 lib/fencing/st_client.c *history = NULL; NULL 1122 lib/fencing/st_client.c data = create_xml_node(NULL, __func__); NULL 1132 lib/fencing/st_client.c xmlNode *op = NULL; NULL 1136 lib/fencing/st_client.c for (op = pcmk__xml_first_child(reply); op != NULL; NULL 1189 lib/fencing/st_client.c CRM_CHECK(a_client->event != NULL && b_client->event != NULL, return 0); NULL 1192 lib/fencing/st_client.c if (a_client->notify == NULL || b_client->notify == NULL) { NULL 1213 lib/fencing/st_client.c xmlNode *op_msg = create_xml_node(NULL, "stonith_command"); NULL 1215 lib/fencing/st_client.c CRM_CHECK(op_msg != NULL, return NULL); NULL 1216 lib/fencing/st_client.c CRM_CHECK(token != NULL, return NULL); NULL 1227 lib/fencing/st_client.c if (data != NULL) { NULL 1253 lib/fencing/st_client.c if (native->source != NULL) { NULL 1256 lib/fencing/st_client.c native->source = NULL; NULL 1257 lib/fencing/st_client.c native->ipc = NULL; NULL 1263 lib/fencing/st_client.c native->ipc = NULL; NULL 1268 lib/fencing/st_client.c free(native->token); native->token = NULL; NULL 1279 lib/fencing/st_client.c private->op_callback = NULL; NULL 1282 lib/fencing/st_client.c NULL, NULL 1286 lib/fencing/st_client.c private->op_callback = NULL; NULL 1310 lib/fencing/st_client.c stonith_private_t *private = NULL; NULL 1311 lib/fencing/st_client.c stonith_callback_client_t *blob = NULL; NULL 1314 lib/fencing/st_client.c CRM_CHECK(stonith != NULL, return); NULL 1315 lib/fencing/st_client.c CRM_CHECK(stonith->st_private != NULL, return); NULL 1319 lib/fencing/st_client.c local_blob.id = NULL; NULL 1320 lib/fencing/st_client.c local_blob.callback = NULL; NULL 1321 lib/fencing/st_client.c local_blob.user_data = NULL; NULL 1324 lib/fencing/st_client.c if (msg != NULL) { NULL 1333 lib/fencing/st_client.c if (blob != NULL) { NULL 1335 lib/fencing/st_client.c blob = NULL; NULL 1341 lib/fencing/st_client.c local_blob.callback = NULL; NULL 1344 lib/fencing/st_client.c if (local_blob.callback != NULL && (rc == pcmk_ok || local_blob.only_success == FALSE)) { NULL 1348 lib/fencing/st_client.c } else if (private->op_callback == NULL && rc != pcmk_ok) { NULL 1353 lib/fencing/st_client.c if (private->op_callback != NULL) { NULL 1355 lib/fencing/st_client.c invoke_callback(stonith, call_id, rc, NULL, private->op_callback); NULL 1366 lib/fencing/st_client.c stonith_perform_callback(timer->stonith, NULL, timer->call_id, -ETIME); NULL 1405 lib/fencing/st_client.c stonith_callback_client_t *callback = NULL; NULL 1419 lib/fencing/st_client.c const char *type = NULL; NULL 1423 lib/fencing/st_client.c stonith_private_t *private = NULL; NULL 1425 lib/fencing/st_client.c CRM_ASSERT(st != NULL); NULL 1430 lib/fencing/st_client.c if (blob.xml == NULL) { NULL 1465 lib/fencing/st_client.c stonith_private_t *native = NULL; NULL 1473 lib/fencing/st_client.c CRM_CHECK(stonith != NULL, return -EINVAL); NULL 1476 lib/fencing/st_client.c CRM_ASSERT(native != NULL); NULL 1491 lib/fencing/st_client.c native->ipc = NULL; NULL 1501 lib/fencing/st_client.c if (native->ipc == NULL) { NULL 1504 lib/fencing/st_client.c xmlNode *reply = NULL; NULL 1505 lib/fencing/st_client.c xmlNode *hello = create_xml_node(NULL, "stonith_command"); NULL 1517 lib/fencing/st_client.c } else if (reply == NULL) { NULL 1531 lib/fencing/st_client.c } else if (native->token == NULL) { NULL 1562 lib/fencing/st_client.c xmlNode *notify_msg = create_xml_node(NULL, __func__); NULL 1574 lib/fencing/st_client.c rc = crm_ipc_send(native->ipc, notify_msg, crm_ipc_client_response, -1, NULL); NULL 1591 lib/fencing/st_client.c GList *list_item = NULL; NULL 1592 lib/fencing/st_client.c stonith_notify_client_t *new_client = NULL; NULL 1593 lib/fencing/st_client.c stonith_private_t *private = NULL; NULL 1604 lib/fencing/st_client.c if (list_item != NULL) { NULL 1622 lib/fencing/st_client.c GList *list_item = NULL; NULL 1623 lib/fencing/st_client.c stonith_notify_client_t *new_client = NULL; NULL 1624 lib/fencing/st_client.c stonith_private_t *private = NULL; NULL 1631 lib/fencing/st_client.c new_client->notify = NULL; NULL 1637 lib/fencing/st_client.c if (list_item != NULL) { NULL 1662 lib/fencing/st_client.c stonith_callback_client_t *blob = NULL; NULL 1663 lib/fencing/st_client.c stonith_private_t *private = NULL; NULL 1665 lib/fencing/st_client.c CRM_CHECK(stonith != NULL, return -EINVAL); NULL 1666 lib/fencing/st_client.c CRM_CHECK(stonith->st_private != NULL, return -EINVAL); NULL 1713 lib/fencing/st_client.c if (private->stonith_op_callback_table == NULL) { NULL 1716 lib/fencing/st_client.c return g_hash_table_foreach(private->stonith_op_callback_table, stonith_dump_pending_op, NULL); NULL 1793 lib/fencing/st_client.c stonith_event_t *st_event = NULL; NULL 1794 lib/fencing/st_client.c const char *event = NULL; NULL 1796 lib/fencing/st_client.c if (blob->xml == NULL) { NULL 1803 lib/fencing/st_client.c if (entry == NULL) { NULL 1811 lib/fencing/st_client.c } else if (entry->notify == NULL) { NULL 1850 lib/fencing/st_client.c xmlNode *op_msg = NULL; NULL 1851 lib/fencing/st_client.c xmlNode *op_reply = NULL; NULL 1852 lib/fencing/st_client.c stonith_private_t *native = NULL; NULL 1857 lib/fencing/st_client.c if (output_data != NULL) { NULL 1858 lib/fencing/st_client.c *output_data = NULL; NULL 1861 lib/fencing/st_client.c if ((stonith->state == stonith_disconnected) || (native->token == NULL)) { NULL 1875 lib/fencing/st_client.c if (op_msg == NULL) { NULL 1926 lib/fencing/st_client.c if ((call_options & st_opt_discard_reply) || output_data == NULL) { NULL 1931 lib/fencing/st_client.c op_reply = NULL; /* Prevent subsequent free */ NULL 1950 lib/fencing/st_client.c free(native->token); native->token = NULL; NULL 1963 lib/fencing/st_client.c stonith_private_t *private = NULL; NULL 1965 lib/fencing/st_client.c CRM_ASSERT(st != NULL); NULL 2044 lib/fencing/st_client.c const char *host_arg = NULL; NULL 2073 lib/fencing/st_client.c *output = NULL; NULL 2076 lib/fencing/st_client.c *error_output = NULL; NULL 2109 lib/fencing/st_client.c stonith_t *new_stonith = NULL; NULL 2110 lib/fencing/st_client.c stonith_private_t *private = NULL; NULL 2113 lib/fencing/st_client.c if (new_stonith == NULL) { NULL 2114 lib/fencing/st_client.c return NULL; NULL 2118 lib/fencing/st_client.c if (private == NULL) { NULL 2120 lib/fencing/st_client.c return NULL; NULL 2125 lib/fencing/st_client.c NULL, stonith_destroy_op_callback); NULL 2126 lib/fencing/st_client.c private->notify_list = NULL; NULL 2134 lib/fencing/st_client.c if (new_stonith->cmds == NULL) { NULL 2137 lib/fencing/st_client.c return NULL; NULL 2191 lib/fencing/st_client.c rc = st->cmds->connect(st, name, NULL); NULL 2262 lib/fencing/st_client.c if (st == NULL) { NULL 2268 lib/fencing/st_client.c rc = st->cmds->connect(st, "stonith-api", NULL); NULL 2273 lib/fencing/st_client.c char *name = (uname == NULL)? crm_itoa(nodeid) : strdup(uname); NULL 2278 lib/fencing/st_client.c if ((uname == NULL) && (nodeid > 0)) { NULL 2302 lib/fencing/st_client.c stonith_history_t *history = NULL, *hp = NULL; NULL 2304 lib/fencing/st_client.c if (st == NULL) { NULL 2310 lib/fencing/st_client.c rc = st->cmds->connect(st, "stonith-api", NULL); NULL 2318 lib/fencing/st_client.c char *name = (uname == NULL)? crm_itoa(nodeid) : strdup(uname); NULL 2321 lib/fencing/st_client.c if ((uname == NULL) && (nodeid > 0)) { NULL 2332 lib/fencing/st_client.c when = time(NULL); NULL 2363 lib/fencing/st_client.c stonith_t *st = NULL; NULL 2364 lib/fencing/st_client.c stonith_key_value_t *devices = NULL; NULL 2365 lib/fencing/st_client.c stonith_key_value_t *dIter = NULL; NULL 2368 lib/fencing/st_client.c if (agent == NULL) { NULL 2373 lib/fencing/st_client.c if (st == NULL) { NULL 2377 lib/fencing/st_client.c st->cmds->list_agents(st, st_opt_sync_call, NULL, &devices, timeout == 0 ? 120 : timeout); NULL 2379 lib/fencing/st_client.c for (dIter = devices; dIter != NULL; dIter = dIter->next) { NULL 2394 lib/fencing/st_client.c if (action == NULL) { NULL 2436 lib/fencing/st_client.c char *entry = NULL; NULL 2445 lib/fencing/st_client.c CRM_ASSERT(entry != NULL); NULL 2458 lib/fencing/st_client.c } else if (pcmk__strcase_any_of(entry, "on", "off", NULL)) { NULL 2502 lib/fencing/st_client.c GList *targets = NULL; NULL 2504 lib/fencing/st_client.c if (target_spec != NULL) { NULL 2573 lib/fencing/st_client.c stonith_history_t *new = NULL, *pending = NULL, *hp, *np, *tmp; NULL 2626 lib/fencing/st_client.c return NULL; NULL 2663 lib/fencing/st_client.c xmlXPathObjectPtr xpath = NULL; NULL 2667 lib/fencing/st_client.c CRM_CHECK((device_flags != NULL) && (metadata != NULL), return); NULL 2678 lib/fencing/st_client.c const char *parameter = NULL; NULL 2681 lib/fencing/st_client.c CRM_LOG_ASSERT(match != NULL); NULL 2682 lib/fencing/st_client.c if (match == NULL) { NULL 27 lib/fencing/st_lha.c static void *lha_agents_lib = NULL; NULL 54 lib/fencing/st_lha.c if (*handle == NULL) { NULL 56 lib/fencing/st_lha.c if ((*handle) == NULL) { NULL 58 lib/fencing/st_lha.c return NULL; NULL 63 lib/fencing/st_lha.c if (a_function == NULL) { NULL 81 lib/fencing/st_lha.c Stonith *stonith_obj = NULL; NULL 84 lib/fencing/st_lha.c static Stonith *(*st_new_fn) (const char *) = NULL; NULL 85 lib/fencing/st_lha.c static void (*st_del_fn) (Stonith *) = NULL; NULL 111 lib/fencing/st_lha.c char **entry = NULL; NULL 112 lib/fencing/st_lha.c char **type_list = NULL; NULL 113 lib/fencing/st_lha.c static char **(*type_list_fn) (void) = NULL; NULL 114 lib/fencing/st_lha.c static void (*type_free_fn) (char **) = NULL; NULL 130 lib/fencing/st_lha.c for (entry = type_list; entry != NULL && *entry; ++entry) { NULL 132 lib/fencing/st_lha.c *devices = stonith_key_value_add(*devices, NULL, *entry); NULL 147 lib/fencing/st_lha.c return NULL; NULL 160 lib/fencing/st_lha.c char *string = NULL; NULL 178 lib/fencing/st_lha.c char *buffer = NULL; NULL 181 lib/fencing/st_lha.c Stonith *stonith_obj = NULL; NULL 184 lib/fencing/st_lha.c static Stonith *(*st_new_fn) (const char *) = NULL; NULL 185 lib/fencing/st_lha.c static const char *(*st_info_fn) (Stonith *, int) = NULL; NULL 186 lib/fencing/st_lha.c static void (*st_del_fn) (Stonith *) = NULL; NULL 187 lib/fencing/st_lha.c static void (*st_log_fn) (Stonith *, PILLogFun) = NULL; NULL 202 lib/fencing/st_lha.c char *xml_meta_longdesc = NULL; NULL 203 lib/fencing/st_lha.c char *xml_meta_shortdesc = NULL; NULL 205 lib/fencing/st_lha.c char *meta_param = NULL; NULL 206 lib/fencing/st_lha.c char *meta_longdesc = NULL; NULL 207 lib/fencing/st_lha.c char *meta_shortdesc = NULL; NULL 213 lib/fencing/st_lha.c if (meta_longdesc == NULL) { NULL 219 lib/fencing/st_lha.c if (meta_shortdesc == NULL) { NULL 225 lib/fencing/st_lha.c if (meta_param == NULL) { NULL 237 lib/fencing/st_lha.c (char *)xmlEncodeEntitiesReentrant(NULL, (const unsigned char *)meta_longdesc); NULL 239 lib/fencing/st_lha.c (char *)xmlEncodeEntitiesReentrant(NULL, (const unsigned char *)meta_shortdesc); NULL 23 lib/fencing/st_output.c crm_time_t *crm_when = crm_time_new(NULL); NULL 24 lib/fencing/st_output.c char *buf = NULL; NULL 155 lib/fencing/st_output.c pcmk__output_create_html_node(out, "div", NULL, NULL, buf); NULL 321 lib/fencing/st_output.c char *buf = NULL; NULL 341 lib/fencing/st_output.c if (event->delegate != NULL) { NULL 371 lib/fencing/st_output.c pcmk__output_create_html_node(out, "div", NULL, NULL, buf); NULL 376 lib/fencing/st_output.c pcmk__output_create_html_node(out, "div", NULL, NULL, buf); NULL 424 lib/fencing/st_output.c if (device != NULL) { NULL 455 lib/fencing/st_output.c { NULL, NULL, NULL } NULL 72 lib/fencing/st_rhcs.c *devices = stonith_key_value_add(*devices, NULL, NULL 93 lib/fencing/st_rhcs.c char *xpath = NULL; NULL 94 lib/fencing/st_rhcs.c xmlXPathObject *xpathObj = NULL; NULL 96 lib/fencing/st_rhcs.c CRM_CHECK(metadata != NULL, return); NULL 97 lib/fencing/st_rhcs.c CRM_CHECK(parameter != NULL, return); NULL 124 lib/fencing/st_rhcs.c char *buffer = NULL; NULL 125 lib/fencing/st_rhcs.c xmlNode *xml = NULL; NULL 126 lib/fencing/st_rhcs.c xmlNode *actions = NULL; NULL 127 lib/fencing/st_rhcs.c xmlXPathObject *xpathObj = NULL; NULL 128 lib/fencing/st_rhcs.c stonith_action_t *action = stonith_action_create(agent, "metadata", NULL, 0, NULL 129 lib/fencing/st_rhcs.c 5, NULL, NULL, NULL); NULL 139 lib/fencing/st_rhcs.c stonith__action_result(action, &rc, &buffer, NULL); NULL 148 lib/fencing/st_rhcs.c if (buffer == NULL) { NULL 155 lib/fencing/st_rhcs.c buffer = NULL; NULL 156 lib/fencing/st_rhcs.c if (xml == NULL) { NULL 170 lib/fencing/st_rhcs.c xmlNode *tmp = NULL; NULL 209 lib/fencing/st_rhcs.c char *buffer = NULL; NULL 210 lib/fencing/st_rhcs.c xmlNode *xml = NULL; NULL 221 lib/fencing/st_rhcs.c if (buffer == NULL) { NULL 251 lib/fencing/st_rhcs.c xmlNode *metadata = NULL; NULL 252 lib/fencing/st_rhcs.c stonith_action_t *action = NULL; NULL 254 lib/fencing/st_rhcs.c if (host_arg == NULL) { NULL 255 lib/fencing/st_rhcs.c time_t start_time = time(NULL); NULL 274 lib/fencing/st_rhcs.c remaining_timeout -= time(NULL) - start_time; NULL 281 lib/fencing/st_rhcs.c host_arg = NULL; NULL 286 lib/fencing/st_rhcs.c NULL, host_arg); NULL 33 lib/lrmd/lrmd_alerts.c if (value == NULL) { NULL 96 lib/lrmd/lrmd_alerts.c CRM_CHECK(value != NULL, return FALSE); NULL 98 lib/lrmd/lrmd_alerts.c if (list == NULL) { NULL 133 lib/lrmd/lrmd_alerts.c pcmk__time_hr_t *now = NULL; NULL 143 lib/lrmd/lrmd_alerts.c lrmd_key_value_t *copy_params = NULL; NULL 144 lib/lrmd/lrmd_alerts.c lrmd_key_value_t *head = NULL; NULL 161 lib/lrmd/lrmd_alerts.c if (now == NULL) { NULL 162 lib/lrmd/lrmd_alerts.c if (gettimeofday(&tv_now, NULL) == 0) { NULL 163 lib/lrmd/lrmd_alerts.c now = pcmk__time_timeval_hr_convert(NULL, &tv_now); NULL 170 lib/lrmd/lrmd_alerts.c for (head = params; head != NULL; head = head->next) { NULL 242 lib/lrmd/lrmd_alerts.c lrmd_key_value_t *params = NULL; NULL 244 lib/lrmd/lrmd_alerts.c if (lrmd == NULL) { NULL 279 lib/lrmd/lrmd_alerts.c lrmd_key_value_t *params = NULL; NULL 281 lib/lrmd/lrmd_alerts.c if (lrmd == NULL) { NULL 289 lib/lrmd/lrmd_alerts.c rc = exec_alert_list(lrmd, alert_list, pcmk__alert_node, NULL, params); NULL 315 lib/lrmd/lrmd_alerts.c lrmd_key_value_t *params = NULL; NULL 317 lib/lrmd/lrmd_alerts.c if (lrmd == NULL) { NULL 326 lib/lrmd/lrmd_alerts.c rc = exec_alert_list(lrmd, alert_list, pcmk__alert_fencing, NULL, params); NULL 350 lib/lrmd/lrmd_alerts.c lrmd_key_value_t *params = NULL; NULL 352 lib/lrmd/lrmd_alerts.c if (lrmd == NULL) { NULL 396 lib/lrmd/lrmd_alerts.c rc = exec_alert_list(lrmd, alert_list, pcmk__alert_resource, NULL, params); NULL 198 lib/lrmd/lrmd_client.c CRM_ASSERT(event != NULL); NULL 199 lib/lrmd/lrmd_client.c if (rsc_id != NULL) { NULL 201 lib/lrmd/lrmd_client.c CRM_ASSERT(event->rsc_id != NULL); NULL 203 lib/lrmd/lrmd_client.c if (task != NULL) { NULL 205 lib/lrmd/lrmd_client.c CRM_ASSERT(event->op_type != NULL); NULL 214 lib/lrmd/lrmd_client.c lrmd_event_data_t *copy = NULL; NULL 223 lib/lrmd/lrmd_client.c copy->rsc_id = event->rsc_id ? strdup(event->rsc_id) : NULL; NULL 224 lib/lrmd/lrmd_client.c copy->op_type = event->op_type ? strdup(event->op_type) : NULL; NULL 225 lib/lrmd/lrmd_client.c copy->user_data = event->user_data ? strdup(event->user_data) : NULL; NULL 226 lib/lrmd/lrmd_client.c copy->output = event->output ? strdup(event->output) : NULL; NULL 227 lib/lrmd/lrmd_client.c copy->exit_reason = event->exit_reason ? strdup(event->exit_reason) : NULL; NULL 228 lib/lrmd/lrmd_client.c copy->remote_nodename = event->remote_nodename ? strdup(event->remote_nodename) : NULL; NULL 262 lib/lrmd/lrmd_client.c if (proxy_session != NULL) { NULL 367 lib/lrmd/lrmd_client.c xmlNode *xml = NULL; NULL 380 lib/lrmd/lrmd_client.c GList *iter = NULL; NULL 387 lib/lrmd/lrmd_client.c native->pending_notify = NULL; NULL 470 lib/lrmd/lrmd_client.c lrmd_private_t *private = NULL; NULL 472 lib/lrmd/lrmd_client.c CRM_ASSERT(lrmd != NULL); NULL 506 lib/lrmd/lrmd_client.c xmlNode *op_msg = create_xml_node(NULL, "lrmd_command"); NULL 508 lib/lrmd/lrmd_client.c CRM_CHECK(op_msg != NULL, return NULL); NULL 509 lib/lrmd/lrmd_client.c CRM_CHECK(token != NULL, return NULL); NULL 518 lib/lrmd/lrmd_client.c if (data != NULL) { NULL 536 lib/lrmd/lrmd_client.c native->ipc = NULL; NULL 537 lib/lrmd/lrmd_client.c native->source = NULL; NULL 569 lib/lrmd/lrmd_client.c native->process_notify = NULL; NULL 573 lib/lrmd/lrmd_client.c native->pending_notify = NULL; NULL 577 lib/lrmd/lrmd_client.c native->remote->buffer = NULL; NULL 580 lib/lrmd/lrmd_client.c native->psk_cred_c = NULL; NULL 581 lib/lrmd/lrmd_client.c native->remote->tls_session = NULL; NULL 607 lib/lrmd/lrmd_client.c xmlNode *xml = NULL; NULL 608 lib/lrmd/lrmd_client.c time_t start = time(NULL); NULL 609 lib/lrmd/lrmd_client.c const char *msg_type = NULL; NULL 625 lib/lrmd/lrmd_client.c remaining_timeout = total_timeout - ((time(NULL) - start) * 1000); NULL 632 lib/lrmd/lrmd_client.c return NULL; NULL 645 lib/lrmd/lrmd_client.c return NULL; NULL 647 lib/lrmd/lrmd_client.c return NULL; NULL 651 lib/lrmd/lrmd_client.c CRM_ASSERT(xml != NULL); NULL 659 lib/lrmd/lrmd_client.c xml = NULL; NULL 668 lib/lrmd/lrmd_client.c xml = NULL; NULL 673 lib/lrmd/lrmd_client.c xml = NULL; NULL 681 lib/lrmd/lrmd_client.c xml = NULL; NULL 718 lib/lrmd/lrmd_client.c xmlNode *xml = NULL; NULL 782 lib/lrmd/lrmd_client.c rc = crm_ipc_send(native->ipc, msg, crm_ipc_flags_none, 0, NULL); NULL 846 lib/lrmd/lrmd_client.c xmlNode *op_msg = NULL; NULL 847 lib/lrmd/lrmd_client.c xmlNode *op_reply = NULL; NULL 853 lib/lrmd/lrmd_client.c if (op == NULL) { NULL 858 lib/lrmd/lrmd_client.c CRM_CHECK(native->token != NULL,; NULL 864 lib/lrmd/lrmd_client.c if (op_msg == NULL) { NULL 880 lib/lrmd/lrmd_client.c } else if(op_reply == NULL) { NULL 896 lib/lrmd/lrmd_client.c op_reply = NULL; /* Prevent subsequent free */ NULL 914 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); NULL 917 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_POKE, data, NULL, 0, 0, NULL 930 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_OPERATION); NULL 937 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_CHECK, data, NULL, 0, 0, NULL 949 lib/lrmd/lrmd_client.c xmlNode *reply = NULL; NULL 950 lib/lrmd/lrmd_client.c xmlNode *hello = create_xml_node(NULL, "lrmd_command"); NULL 967 lib/lrmd/lrmd_client.c } else if (reply == NULL) { NULL 986 lib/lrmd/lrmd_client.c } else if (tmp_ticket == NULL) { NULL 1034 lib/lrmd/lrmd_client.c if (native->ipc == NULL) { NULL 1056 lib/lrmd/lrmd_client.c datum->data = NULL; NULL 1070 lib/lrmd/lrmd_client.c if (location == NULL) { NULL 1074 lib/lrmd/lrmd_client.c if (key_cache.data != NULL) { NULL 1075 lib/lrmd/lrmd_client.c if ((time(NULL) - key_cache_updated) < 60) { NULL 1116 lib/lrmd/lrmd_client.c if (key_cache.data == NULL) { NULL 1118 lib/lrmd/lrmd_client.c key_cache_updated = time(NULL); NULL 1190 lib/lrmd/lrmd_client.c gnutls_datum_t psk_key = { NULL, 0 }; NULL 1225 lib/lrmd/lrmd_client.c if (native->remote->tls_session == NULL) { NULL 1236 lib/lrmd/lrmd_client.c native->remote->tls_session = NULL; NULL 1290 lib/lrmd/lrmd_client.c gnutls_datum_t psk_key = { NULL, 0 }; NULL 1295 lib/lrmd/lrmd_client.c rc = pcmk__connect_remote(native->server, native->port, 0, NULL, NULL 1296 lib/lrmd/lrmd_client.c &(native->sock), NULL, NULL); NULL 1318 lib/lrmd/lrmd_client.c if (native->remote->tls_session == NULL) { NULL 1327 lib/lrmd/lrmd_client.c native->remote->tls_session = NULL; NULL 1388 lib/lrmd/lrmd_client.c rc = lrmd_api_connect(lrmd, name, NULL); NULL 1414 lib/lrmd/lrmd_client.c if (native->source != NULL) { NULL 1417 lib/lrmd/lrmd_client.c native->source = NULL; NULL 1418 lib/lrmd/lrmd_client.c native->ipc = NULL; NULL 1424 lib/lrmd/lrmd_client.c native->ipc = NULL; NULL 1448 lib/lrmd/lrmd_client.c if (native->source != NULL) { NULL 1451 lib/lrmd/lrmd_client.c native->source = NULL; NULL 1460 lib/lrmd/lrmd_client.c native->pending_notify = NULL; NULL 1487 lib/lrmd/lrmd_client.c native->token = NULL; NULL 1490 lib/lrmd/lrmd_client.c native->peer_version = NULL; NULL 1501 lib/lrmd/lrmd_client.c xmlNode *data = NULL; NULL 1507 lib/lrmd/lrmd_client.c && (provider == NULL)) { NULL 1511 lib/lrmd/lrmd_client.c data = create_xml_node(NULL, F_LRMD_RSC); NULL 1518 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_REG, data, NULL, 0, options, TRUE); NULL 1528 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); NULL 1532 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_UNREG, data, NULL, 0, options, TRUE); NULL 1587 lib/lrmd/lrmd_client.c lrmd_rsc_info_t *rsc_info = NULL; NULL 1588 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); NULL 1589 lib/lrmd/lrmd_client.c xmlNode *output = NULL; NULL 1590 lib/lrmd/lrmd_client.c const char *class = NULL; NULL 1591 lib/lrmd/lrmd_client.c const char *provider = NULL; NULL 1592 lib/lrmd/lrmd_client.c const char *type = NULL; NULL 1600 lib/lrmd/lrmd_client.c return NULL; NULL 1609 lib/lrmd/lrmd_client.c return NULL; NULL 1613 lib/lrmd/lrmd_client.c return NULL; NULL 1637 lib/lrmd/lrmd_client.c xmlNode *data = NULL; NULL 1638 lib/lrmd/lrmd_client.c xmlNode *output_xml = NULL; NULL 1641 lib/lrmd/lrmd_client.c if (output == NULL) { NULL 1644 lib/lrmd/lrmd_client.c *output = NULL; NULL 1648 lib/lrmd/lrmd_client.c data = create_xml_node(NULL, F_LRMD_RSC); NULL 1659 lib/lrmd/lrmd_client.c if ((rc != pcmk_ok) || (output_xml == NULL)) { NULL 1663 lib/lrmd/lrmd_client.c rsc_xml != NULL; rsc_xml = crm_next_same_xml(rsc_xml)) { NULL 1666 lib/lrmd/lrmd_client.c if (rsc_id == NULL) { NULL 1671 lib/lrmd/lrmd_client.c op_xml != NULL; op_xml = crm_next_same_xml(op_xml)) { NULL 1675 lib/lrmd/lrmd_client.c CRM_CHECK(op_info != NULL, break); NULL 1721 lib/lrmd/lrmd_client.c if (lrmd == NULL) { NULL 1736 lib/lrmd/lrmd_client.c if (stonith_api == NULL) { NULL 1743 lib/lrmd/lrmd_client.c if ((rc == pcmk_ok) && (*output == NULL)) { NULL 1756 lib/lrmd/lrmd_client.c output, options, NULL); NULL 1765 lib/lrmd/lrmd_client.c svc_action_t *action = NULL; NULL 1766 lib/lrmd/lrmd_client.c GHashTable *params_table = NULL; NULL 1788 lib/lrmd/lrmd_client.c if (action == NULL) { NULL 1822 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); NULL 1824 lib/lrmd/lrmd_client.c lrmd_key_value_t *tmp = NULL; NULL 1838 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_EXEC, data, NULL, timeout, options, TRUE); NULL 1851 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_ALERT); NULL 1853 lib/lrmd/lrmd_client.c lrmd_key_value_t *tmp = NULL; NULL 1864 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_ALERT_EXEC, data, NULL, timeout, NULL 1877 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); NULL 1883 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_CANCEL, data, NULL, 0, 0, TRUE); NULL 1893 lib/lrmd/lrmd_client.c stonith_key_value_t *stonith_resources = NULL; NULL 1894 lib/lrmd/lrmd_client.c stonith_key_value_t *dIter = NULL; NULL 1896 lib/lrmd/lrmd_client.c if (stonith_api == NULL) { NULL 1900 lib/lrmd/lrmd_client.c stonith_api->cmds->list_agents(stonith_api, st_opt_sync_call, NULL, NULL 1926 lib/lrmd/lrmd_client.c GListPtr gIter = NULL; NULL 1929 lib/lrmd/lrmd_client.c for (gIter = agents; gIter != NULL; gIter = gIter->next) { NULL 1958 lib/lrmd/lrmd_client.c GList *agents = NULL; NULL 1959 lib/lrmd/lrmd_client.c GListPtr gIter2 = NULL; NULL 1962 lib/lrmd/lrmd_client.c for (gIter2 = agents; gIter2 != NULL; gIter2 = gIter2->next) { NULL 1976 lib/lrmd/lrmd_client.c char *provider = NULL; NULL 1977 lib/lrmd/lrmd_client.c GList *ocf_providers = NULL; NULL 1978 lib/lrmd/lrmd_client.c GListPtr gIter = NULL; NULL 1982 lib/lrmd/lrmd_client.c for (gIter = ocf_providers; gIter != NULL; gIter = gIter->next) { NULL 1999 lib/lrmd/lrmd_client.c GList *standards = NULL; NULL 2000 lib/lrmd/lrmd_client.c GListPtr gIter = NULL; NULL 2004 lib/lrmd/lrmd_client.c for (gIter = standards; gIter != NULL; gIter = gIter->next) { NULL 2009 lib/lrmd/lrmd_client.c if (list_stonith_agents(NULL) > 0) { NULL 2021 lib/lrmd/lrmd_client.c lrmd_t *new_lrmd = NULL; NULL 2022 lib/lrmd/lrmd_client.c lrmd_private_t *pvt = NULL; NULL 2063 lib/lrmd/lrmd_client.c return NULL; NULL 2077 lib/lrmd/lrmd_client.c return NULL; NULL 26 lib/lrmd/proxy_common.c GHashTable *proxy_table = NULL; NULL 32 lib/lrmd/proxy_common.c xmlNode *msg = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 47 lib/lrmd/proxy_common.c xmlNode *msg = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 62 lib/lrmd/proxy_common.c xmlNode *msg = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 72 lib/lrmd/proxy_common.c xmlNode *event = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 85 lib/lrmd/proxy_common.c xmlNode *response = create_xml_node(NULL, T_LRMD_IPC_PROXY); NULL 97 lib/lrmd/proxy_common.c if (proxy == NULL) { NULL 122 lib/lrmd/proxy_common.c xmlNode *xml = NULL; NULL 127 lib/lrmd/proxy_common.c if (xml == NULL) { NULL 154 lib/lrmd/proxy_common.c proxy->source = NULL; NULL 155 lib/lrmd/proxy_common.c proxy->ipc = NULL; NULL 159 lib/lrmd/proxy_common.c proxy->lrm = NULL; NULL 169 lib/lrmd/proxy_common.c remote_proxy_t *proxy = NULL; NULL 171 lib/lrmd/proxy_common.c if(channel == NULL) { NULL 174 lib/lrmd/proxy_common.c return NULL; NULL 191 lib/lrmd/proxy_common.c if (proxy->source == NULL) { NULL 194 lib/lrmd/proxy_common.c return NULL; NULL 217 lib/lrmd/proxy_common.c CRM_CHECK(op != NULL, return); NULL 218 lib/lrmd/proxy_common.c CRM_CHECK(session != NULL, return); NULL 231 lib/lrmd/proxy_common.c CRM_CHECK(request != NULL, return); NULL 233 lib/lrmd/proxy_common.c if (proxy == NULL) { NULL 262 lib/lrmd/proxy_common.c PCMK__XA_ATTR_NODE_NAME) == NULL) { NULL 266 lib/lrmd/proxy_common.c rc = crm_ipc_send(proxy->ipc, request, flags, 5000, NULL); NULL 269 lib/lrmd/proxy_common.c xmlNode *op_reply = create_xml_node(NULL, "nack"); NULL 289 lib/lrmd/proxy_common.c xmlNode *op_reply = NULL; NULL 25 lib/pacemaker/pcmk_fence.c static GMainLoop *mainloop = NULL; NULL 41 lib/pacemaker/pcmk_fence.c char *node = NULL; NULL 42 lib/pacemaker/pcmk_fence.c char *pattern = NULL; NULL 43 lib/pacemaker/pcmk_fence.c char *name = NULL; NULL 44 lib/pacemaker/pcmk_fence.c char *value = NULL; NULL 47 lib/pacemaker/pcmk_fence.c if (target == NULL) { NULL 54 lib/pacemaker/pcmk_fence.c if (value != NULL) { NULL 130 lib/pacemaker/pcmk_fence.c st_opt_timeout_updates, NULL, "callback", fence_callback); NULL 151 lib/pacemaker/pcmk_fence.c trig = mainloop_add_trigger(G_PRIORITY_HIGH, async_fence_helper, NULL); NULL 154 lib/pacemaker/pcmk_fence.c mainloop = g_main_loop_new(NULL, FALSE); NULL 176 lib/pacemaker/pcmk_fence.c stonith_history_t *history = NULL, *hp, *latest = NULL; NULL 198 lib/pacemaker/pcmk_fence.c pcmk__str_eq(target, "*", pcmk__str_none)? NULL : target, NULL 242 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; NULL 260 lib/pacemaker/pcmk_fence.c stonith_key_value_t *devices = NULL; NULL 263 lib/pacemaker/pcmk_fence.c rc = st->cmds->list_agents(st, st_opt_sync_call, NULL, &devices, timeout/1000); NULL 282 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; NULL 300 lib/pacemaker/pcmk_fence.c if (target == NULL) { NULL 305 lib/pacemaker/pcmk_fence.c when = stonith_api_time(atol(target), NULL, FALSE); NULL 316 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; NULL 333 lib/pacemaker/pcmk_fence.c GList *targets = NULL; NULL 334 lib/pacemaker/pcmk_fence.c char *lists = NULL; NULL 345 lib/pacemaker/pcmk_fence.c while (targets != NULL) { NULL 346 lib/pacemaker/pcmk_fence.c out->list_item(out, NULL, "%s", (const char *) targets->data); NULL 359 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; NULL 376 lib/pacemaker/pcmk_fence.c char *buffer = NULL; NULL 377 lib/pacemaker/pcmk_fence.c int rc = st->cmds->metadata(st, st_opt_sync_call, agent, NULL, &buffer, NULL 393 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; NULL 410 lib/pacemaker/pcmk_fence.c stonith_key_value_t *devices = NULL; NULL 437 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; NULL 467 lib/pacemaker/pcmk_fence.c return handle_level(st, target, fence_level, NULL, false); NULL 481 lib/pacemaker/pcmk_fence.c char *output = NULL; NULL 482 lib/pacemaker/pcmk_fence.c char *error_output = NULL; NULL 485 lib/pacemaker/pcmk_fence.c rc = st->cmds->validate(st, st_opt_sync_call, id, NULL, agent, params, NULL 496 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; NULL 20 lib/pacemaker/pcmk_output.c { NULL, NULL, NULL } NULL 27 lib/pacemaker/pcmk_output.c if (*xml != NULL) { NULL 31 lib/pacemaker/pcmk_output.c pcmk__register_formats(NULL, pcmk__out_formats); NULL 32 lib/pacemaker/pcmk_output.c rc = pcmk__output_new(out, "xml", NULL, NULL); NULL 156 lib/pacemaker/pcmk_sched_allocate.c const char *value = NULL; NULL 157 lib/pacemaker/pcmk_sched_allocate.c const char *old_value = NULL; NULL 174 lib/pacemaker/pcmk_sched_allocate.c trigger_unfencing(rsc, node, "Device definition changed", NULL, data_set); NULL 199 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *cancel = NULL; NULL 201 lib/pacemaker/pcmk_sched_allocate.c const char *task = NULL; NULL 202 lib/pacemaker/pcmk_sched_allocate.c const char *call_id = NULL; NULL 204 lib/pacemaker/pcmk_sched_allocate.c CRM_CHECK(xml_op != NULL, return); NULL 205 lib/pacemaker/pcmk_sched_allocate.c CRM_CHECK(active_node != NULL, return); NULL 217 lib/pacemaker/pcmk_sched_allocate.c custom_action_order(rsc, stop_key(rsc), NULL, rsc, NULL, cancel, pe_order_optional, data_set); NULL 224 lib/pacemaker/pcmk_sched_allocate.c char *key = NULL; NULL 226 lib/pacemaker/pcmk_sched_allocate.c const op_digest_cache_t *digest_data = NULL; NULL 230 lib/pacemaker/pcmk_sched_allocate.c const char *digest_secure = NULL; NULL 232 lib/pacemaker/pcmk_sched_allocate.c CRM_CHECK(active_node != NULL, return FALSE); NULL 236 lib/pacemaker/pcmk_sched_allocate.c xmlNode *op_match = NULL; NULL 244 lib/pacemaker/pcmk_sched_allocate.c if ((op_match == NULL) NULL 250 lib/pacemaker/pcmk_sched_allocate.c } else if (op_match == NULL) { NULL 256 lib/pacemaker/pcmk_sched_allocate.c key = NULL; NULL 292 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *required = NULL; NULL 297 lib/pacemaker/pcmk_sched_allocate.c required = custom_action(rsc, key, task, NULL, TRUE, TRUE, data_set); NULL 298 lib/pacemaker/pcmk_sched_allocate.c pe_action_set_flag_reason(__func__, __LINE__, required, NULL, NULL 301 lib/pacemaker/pcmk_sched_allocate.c trigger_unfencing(rsc, active_node, "Device parameters changed", NULL, data_set); NULL 308 lib/pacemaker/pcmk_sched_allocate.c trigger_unfencing(rsc, active_node, "Device parameters changed (reload)", NULL, data_set); NULL 313 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *op = NULL; NULL 332 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *required = NULL; NULL 338 lib/pacemaker/pcmk_sched_allocate.c required = custom_action(rsc, key, task, NULL, TRUE, TRUE, data_set); NULL 339 lib/pacemaker/pcmk_sched_allocate.c pe_action_set_flag_reason(__func__, __LINE__, required, NULL, NULL 357 lib/pacemaker/pcmk_sched_allocate.c const char *reason = NULL; NULL 358 lib/pacemaker/pcmk_sched_allocate.c op_digest_cache_t *digest_data = NULL; NULL 363 lib/pacemaker/pcmk_sched_allocate.c && pe_get_failcount(node, rsc, NULL, pe_fc_effective, NULL, NULL 394 lib/pacemaker/pcmk_sched_allocate.c GListPtr gIter = NULL; NULL 399 lib/pacemaker/pcmk_sched_allocate.c const char *task = NULL; NULL 401 lib/pacemaker/pcmk_sched_allocate.c xmlNode *rsc_op = NULL; NULL 402 lib/pacemaker/pcmk_sched_allocate.c GListPtr op_list = NULL; NULL 403 lib/pacemaker/pcmk_sched_allocate.c GListPtr sorted_op_list = NULL; NULL 405 lib/pacemaker/pcmk_sched_allocate.c CRM_CHECK(node != NULL, return); NULL 409 lib/pacemaker/pcmk_sched_allocate.c if(parent == NULL NULL 419 lib/pacemaker/pcmk_sched_allocate.c } else if (pe_find_node_id(rsc->running_on, node->details->id) == NULL) { NULL 434 lib/pacemaker/pcmk_sched_allocate.c for (rsc_op = pcmk__xe_first_child(rsc_entry); rsc_op != NULL; NULL 445 lib/pacemaker/pcmk_sched_allocate.c for (gIter = sorted_op_list; gIter != NULL; gIter = gIter->next) { NULL 468 lib/pacemaker/pcmk_sched_allocate.c RSC_PROMOTE, RSC_MIGRATED, NULL)) { NULL 485 lib/pacemaker/pcmk_sched_allocate.c && pe_get_failcount(node, rsc, NULL, pe_fc_effective, NULL, NULL 499 lib/pacemaker/pcmk_sched_allocate.c GListPtr gIter = NULL; NULL 502 lib/pacemaker/pcmk_sched_allocate.c if (id == NULL) { NULL 503 lib/pacemaker/pcmk_sched_allocate.c return NULL; NULL 506 lib/pacemaker/pcmk_sched_allocate.c if (rsc == NULL) { NULL 507 lib/pacemaker/pcmk_sched_allocate.c if (data_set == NULL) { NULL 508 lib/pacemaker/pcmk_sched_allocate.c return NULL; NULL 510 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 514 lib/pacemaker/pcmk_sched_allocate.c NULL); NULL 542 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 545 lib/pacemaker/pcmk_sched_allocate.c result = find_rsc_list(result, child, id, renamed_clones, partial, NULL); NULL 555 lib/pacemaker/pcmk_sched_allocate.c const char *id = NULL; NULL 556 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *node = NULL; NULL 557 lib/pacemaker/pcmk_sched_allocate.c xmlNode *lrm_rscs = NULL; NULL 560 lib/pacemaker/pcmk_sched_allocate.c xmlNode *node_state = NULL; NULL 562 lib/pacemaker/pcmk_sched_allocate.c for (node_state = pcmk__xe_first_child(status); node_state != NULL; NULL 573 lib/pacemaker/pcmk_sched_allocate.c if (node == NULL) { NULL 586 lib/pacemaker/pcmk_sched_allocate.c xmlNode *rsc_entry = NULL; NULL 589 lib/pacemaker/pcmk_sched_allocate.c rsc_entry != NULL; NULL 595 lib/pacemaker/pcmk_sched_allocate.c GListPtr gIter = NULL; NULL 596 lib/pacemaker/pcmk_sched_allocate.c GListPtr result = NULL; NULL 599 lib/pacemaker/pcmk_sched_allocate.c CRM_CHECK(rsc_id != NULL, return); NULL 601 lib/pacemaker/pcmk_sched_allocate.c result = find_rsc_list(NULL, NULL, rsc_id, TRUE, FALSE, data_set); NULL 602 lib/pacemaker/pcmk_sched_allocate.c for (gIter = result; gIter != NULL; gIter = gIter->next) { NULL 623 lib/pacemaker/pcmk_sched_allocate.c gIter != NULL; gIter = gIter->next) { NULL 669 lib/pacemaker/pcmk_sched_allocate.c fail_count = pe_get_failcount(node, rsc, NULL, NULL 670 lib/pacemaker/pcmk_sched_allocate.c pe_fc_effective|pe_fc_fillers, NULL, NULL 702 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 715 lib/pacemaker/pcmk_sched_allocate.c if (current == NULL) { NULL 717 lib/pacemaker/pcmk_sched_allocate.c } else if ((match != NULL) NULL 727 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *nIter = NULL; NULL 732 lib/pacemaker/pcmk_sched_allocate.c while (g_hash_table_iter_next(&iter, NULL, (void **)&nIter)) { NULL 761 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 774 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 806 lib/pacemaker/pcmk_sched_allocate.c GListPtr gIter = NULL; NULL 857 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 874 lib/pacemaker/pcmk_sched_allocate.c for (; gIter2 != NULL; gIter2 = gIter2->next) { NULL 877 lib/pacemaker/pcmk_sched_allocate.c rsc2node_new(health_strategy, rsc, system_health, NULL, node, data_set); NULL 890 lib/pacemaker/pcmk_sched_allocate.c if (data_set->input == NULL) { NULL 912 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *probe_node_complete = NULL; NULL 914 lib/pacemaker/pcmk_sched_allocate.c for (GListPtr gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 935 lib/pacemaker/pcmk_sched_allocate.c if (probed != NULL && crm_is_true(probed) == FALSE) { NULL 936 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *probe_op = custom_action(NULL, crm_strdup_printf("%s-%s", CRM_OP_REPROBE, node->details->uname), NULL 943 lib/pacemaker/pcmk_sched_allocate.c for (GListPtr gIter2 = data_set->resources; gIter2 != NULL; gIter2 = gIter2->next) { NULL 963 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 982 lib/pacemaker/pcmk_sched_allocate.c result = (time_t) crm_parse_ll(shutdown, NULL); NULL 997 lib/pacemaker/pcmk_sched_allocate.c for (GList *item = rsc->children; item != NULL; NULL 1012 lib/pacemaker/pcmk_sched_allocate.c if (rsc->lock_node != NULL) { NULL 1015 lib/pacemaker/pcmk_sched_allocate.c if (rsc->running_on != NULL) { NULL 1024 lib/pacemaker/pcmk_sched_allocate.c rsc->lock_node = NULL; NULL 1043 lib/pacemaker/pcmk_sched_allocate.c if (rsc->lock_node == NULL) { NULL 1061 lib/pacemaker/pcmk_sched_allocate.c for (GList *item = data_set->nodes; item != NULL; item = item->next) { NULL 1081 lib/pacemaker/pcmk_sched_allocate.c GListPtr gIter = NULL; NULL 1084 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 1091 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 1104 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 1105 lib/pacemaker/pcmk_sched_allocate.c GListPtr gIter2 = NULL; NULL 1109 lib/pacemaker/pcmk_sched_allocate.c for (; gIter2 != NULL; gIter2 = gIter2->next) { NULL 1129 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 1168 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *r1_node = NULL; NULL 1169 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *r2_node = NULL; NULL 1170 lib/pacemaker/pcmk_sched_allocate.c GListPtr gIter = NULL; NULL 1171 lib/pacemaker/pcmk_sched_allocate.c GHashTable *r1_nodes = NULL; NULL 1172 lib/pacemaker/pcmk_sched_allocate.c GHashTable *r2_nodes = NULL; NULL 1189 lib/pacemaker/pcmk_sched_allocate.c if (nodes == NULL) { NULL 1194 lib/pacemaker/pcmk_sched_allocate.c resource1->id, NULL, NULL, 1, NULL 1196 lib/pacemaker/pcmk_sched_allocate.c pe__show_node_weights(true, NULL, resource1->id, r1_nodes); NULL 1199 lib/pacemaker/pcmk_sched_allocate.c resource2->id, NULL, NULL, 1, NULL 1201 lib/pacemaker/pcmk_sched_allocate.c pe__show_node_weights(true, NULL, resource2->id, r2_nodes); NULL 1211 lib/pacemaker/pcmk_sched_allocate.c if (r1_node != NULL) { NULL 1218 lib/pacemaker/pcmk_sched_allocate.c if (r2_node != NULL) { NULL 1234 lib/pacemaker/pcmk_sched_allocate.c for (gIter = nodes; gIter != NULL; gIter = gIter->next) { NULL 1237 lib/pacemaker/pcmk_sched_allocate.c r1_node = NULL; NULL 1238 lib/pacemaker/pcmk_sched_allocate.c r2_node = NULL; NULL 1286 lib/pacemaker/pcmk_sched_allocate.c GListPtr gIter = NULL; NULL 1293 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 1305 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 1312 lib/pacemaker/pcmk_sched_allocate.c rsc->cmds->allocate(rsc, NULL, data_set); NULL 1329 lib/pacemaker/pcmk_sched_allocate.c custom_action_order(lh_rsc, start_key(lh_rsc), NULL, NULL 1330 lib/pacemaker/pcmk_sched_allocate.c rh_action->rsc, NULL, rh_action, NULL 1341 lib/pacemaker/pcmk_sched_allocate.c custom_action_order(lh_action->rsc, NULL, lh_action, NULL 1342 lib/pacemaker/pcmk_sched_allocate.c rh_rsc, stop_key(rh_rsc), NULL, NULL 1351 lib/pacemaker/pcmk_sched_allocate.c GListPtr gIter = NULL; NULL 1353 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 1357 lib/pacemaker/pcmk_sched_allocate.c && pe_get_failcount(node, rsc, NULL, pe_fc_effective, NULL, NULL 1360 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *clear_op = NULL; NULL 1368 lib/pacemaker/pcmk_sched_allocate.c custom_action_order(clear_op->rsc, NULL, clear_op, NULL 1369 lib/pacemaker/pcmk_sched_allocate.c rsc, stop_key(rsc), NULL, NULL 1378 lib/pacemaker/pcmk_sched_allocate.c GListPtr gIter = NULL; NULL 1384 lib/pacemaker/pcmk_sched_allocate.c nodes = sort_nodes_by_weight(nodes, NULL, data_set); NULL 1392 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 1404 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 1455 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 1469 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 1488 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 1505 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 1526 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *stop = NULL; NULL 1527 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *stonith_op = NULL; NULL 1541 lib/pacemaker/pcmk_sched_allocate.c stop = find_first_action(container->actions, NULL, CRMD_ACTION_STOP, NULL); NULL 1543 lib/pacemaker/pcmk_sched_allocate.c if (find_first_action(container->actions, NULL, CRMD_ACTION_START, NULL)) { NULL 1559 lib/pacemaker/pcmk_sched_allocate.c if ((stop != NULL) && pcmk_is_set(stop->flags, pe_action_pseudo)) { NULL 1560 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *parent_stonith_op = pe_fence_op(stop->node, NULL, FALSE, NULL, FALSE, data_set); NULL 1581 lib/pacemaker/pcmk_sched_allocate.c stop = find_first_action(node->details->remote_rsc->actions, NULL, NULL 1582 lib/pacemaker/pcmk_sched_allocate.c RSC_STOP, NULL); NULL 1608 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *dc_down = NULL; NULL 1609 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *stonith_op = NULL; NULL 1613 lib/pacemaker/pcmk_sched_allocate.c GListPtr stonith_ops = NULL; NULL 1614 lib/pacemaker/pcmk_sched_allocate.c GList *shutdown_ops = NULL; NULL 1632 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 1646 lib/pacemaker/pcmk_sched_allocate.c stonith_op = NULL; NULL 1651 lib/pacemaker/pcmk_sched_allocate.c stonith_op = pe_fence_op(node, NULL, FALSE, "node is unclean", FALSE, data_set); NULL 1663 lib/pacemaker/pcmk_sched_allocate.c && (stonith_ops != NULL)) { NULL 1694 lib/pacemaker/pcmk_sched_allocate.c if (node->details->unclean && stonith_op == NULL) { NULL 1711 lib/pacemaker/pcmk_sched_allocate.c if (dc_down != NULL) { NULL 1720 lib/pacemaker/pcmk_sched_allocate.c for (gIter = shutdown_ops; gIter != NULL; gIter = gIter->next) { NULL 1737 lib/pacemaker/pcmk_sched_allocate.c for (gIter = stonith_ops; gIter != NULL; gIter = gIter->next) { NULL 1766 lib/pacemaker/pcmk_sched_allocate.c GListPtr list = NULL; NULL 1768 lib/pacemaker/pcmk_sched_allocate.c list = find_actions(actions, original_key, NULL); NULL 1769 lib/pacemaker/pcmk_sched_allocate.c if (list == NULL) { NULL 1771 lib/pacemaker/pcmk_sched_allocate.c char *key = NULL; NULL 1772 lib/pacemaker/pcmk_sched_allocate.c char *task = NULL; NULL 1775 lib/pacemaker/pcmk_sched_allocate.c if (parse_op_key(original_key, NULL, &task, &interval_ms)) { NULL 1777 lib/pacemaker/pcmk_sched_allocate.c list = find_actions(actions, key, NULL); NULL 1794 lib/pacemaker/pcmk_sched_allocate.c GListPtr gIter = NULL; NULL 1795 lib/pacemaker/pcmk_sched_allocate.c GListPtr rh_actions = NULL; NULL 1796 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *rh_action = NULL; NULL 1799 lib/pacemaker/pcmk_sched_allocate.c CRM_CHECK(rsc != NULL, return); NULL 1800 lib/pacemaker/pcmk_sched_allocate.c CRM_CHECK(order != NULL, return); NULL 1806 lib/pacemaker/pcmk_sched_allocate.c if (rh_action != NULL) { NULL 1807 lib/pacemaker/pcmk_sched_allocate.c rh_actions = g_list_prepend(NULL, rh_action); NULL 1809 lib/pacemaker/pcmk_sched_allocate.c } else if (rsc != NULL) { NULL 1813 lib/pacemaker/pcmk_sched_allocate.c if (rh_actions == NULL) { NULL 1822 lib/pacemaker/pcmk_sched_allocate.c if ((lh_action != NULL) && (lh_action->rsc == rsc) NULL 1831 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 1853 lib/pacemaker/pcmk_sched_allocate.c GListPtr gIter = NULL; NULL 1854 lib/pacemaker/pcmk_sched_allocate.c GListPtr lh_actions = NULL; NULL 1859 lib/pacemaker/pcmk_sched_allocate.c CRM_ASSERT(lh_rsc != NULL); NULL 1861 lib/pacemaker/pcmk_sched_allocate.c if (lh_action != NULL) { NULL 1862 lib/pacemaker/pcmk_sched_allocate.c lh_actions = g_list_prepend(NULL, lh_action); NULL 1868 lib/pacemaker/pcmk_sched_allocate.c if (lh_actions == NULL && lh_rsc != rh_rsc) { NULL 1869 lib/pacemaker/pcmk_sched_allocate.c char *key = NULL; NULL 1870 lib/pacemaker/pcmk_sched_allocate.c char *op_type = NULL; NULL 1873 lib/pacemaker/pcmk_sched_allocate.c parse_op_key(order->lh_action_task, NULL, &op_type, &interval_ms); NULL 1889 lib/pacemaker/pcmk_sched_allocate.c lh_action = custom_action(lh_rsc, key, op_type, NULL, TRUE, TRUE, data_set); NULL 1890 lib/pacemaker/pcmk_sched_allocate.c lh_actions = g_list_prepend(NULL, lh_action); NULL 1897 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 1900 lib/pacemaker/pcmk_sched_allocate.c if (rh_rsc == NULL && order->rh_action) { NULL 1940 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *remote_rsc = NULL; NULL 1941 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *container = NULL; NULL 1965 lib/pacemaker/pcmk_sched_allocate.c if (pcmk__strcase_any_of(action->task, CRMD_ACTION_MIGRATE, CRMD_ACTION_MIGRATED, NULL)) { NULL 2029 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *remote_rsc = NULL; NULL 2030 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *cluster_node = NULL; NULL 2043 lib/pacemaker/pcmk_sched_allocate.c if(remote_rsc->next_role == RSC_ROLE_STOPPED || remote_rsc->allocated_to == NULL) { NULL 2077 lib/pacemaker/pcmk_sched_allocate.c } else if (cluster_node == NULL) { NULL 2106 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *remote_rsc = NULL; NULL 2112 lib/pacemaker/pcmk_sched_allocate.c if (action->rsc == NULL) { NULL 2127 lib/pacemaker/pcmk_sched_allocate.c if (pcmk__strcase_any_of(action->task, CRMD_ACTION_MIGRATE, CRMD_ACTION_MIGRATED, NULL)) { NULL 2238 lib/pacemaker/pcmk_sched_allocate.c for (GListPtr gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { NULL 2240 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *remote = NULL; NULL 2243 lib/pacemaker/pcmk_sched_allocate.c if (action->rsc == NULL) { NULL 2255 lib/pacemaker/pcmk_sched_allocate.c NULL, NULL 2259 lib/pacemaker/pcmk_sched_allocate.c NULL, NULL 2267 lib/pacemaker/pcmk_sched_allocate.c if (action->node == NULL) { NULL 2286 lib/pacemaker/pcmk_sched_allocate.c if (remote == NULL) { NULL 2297 lib/pacemaker/pcmk_sched_allocate.c for (GList *item = action->rsc->actions; item != NULL; NULL 2303 lib/pacemaker/pcmk_sched_allocate.c custom_action_order(remote, start_key(remote), NULL, NULL 2304 lib/pacemaker/pcmk_sched_allocate.c action->rsc, NULL, rsc_action, NULL 2360 lib/pacemaker/pcmk_sched_allocate.c GListPtr gIter = NULL; NULL 2362 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->ordering_constraints; gIter != NULL; gIter = gIter->next) { NULL 2373 lib/pacemaker/pcmk_sched_allocate.c GListPtr probes = NULL; NULL 2374 lib/pacemaker/pcmk_sched_allocate.c GListPtr rh_actions = NULL; NULL 2376 lib/pacemaker/pcmk_sched_allocate.c GListPtr pIter = NULL; NULL 2378 lib/pacemaker/pcmk_sched_allocate.c if (lh_rsc == NULL) { NULL 2385 lib/pacemaker/pcmk_sched_allocate.c if (lh_action == NULL && lh_action_task == NULL) { NULL 2389 lib/pacemaker/pcmk_sched_allocate.c if (rh_action == NULL && rh_action_task == NULL) { NULL 2400 lib/pacemaker/pcmk_sched_allocate.c } else if (lh_action == NULL NULL 2414 lib/pacemaker/pcmk_sched_allocate.c } else if (rh_action == NULL && rh_action_task NULL 2440 lib/pacemaker/pcmk_sched_allocate.c probes = pe__resource_actions(lh_rsc, NULL, RSC_STATUS, FALSE); NULL 2441 lib/pacemaker/pcmk_sched_allocate.c if (probes == NULL) { NULL 2449 lib/pacemaker/pcmk_sched_allocate.c rh_actions = find_actions(rh_rsc->actions, rh_action_task, NULL); NULL 2452 lib/pacemaker/pcmk_sched_allocate.c if (rh_actions == NULL) { NULL 2463 lib/pacemaker/pcmk_sched_allocate.c for (pIter = probes; pIter != NULL; pIter = pIter->next) { NULL 2465 lib/pacemaker/pcmk_sched_allocate.c GListPtr rIter = NULL; NULL 2467 lib/pacemaker/pcmk_sched_allocate.c for (rIter = rh_actions; rIter != NULL; rIter = rIter->next) { NULL 2487 lib/pacemaker/pcmk_sched_allocate.c GListPtr gIter = NULL; NULL 2489 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *compatible_rsc = NULL; NULL 2491 lib/pacemaker/pcmk_sched_allocate.c if (probe == NULL NULL 2492 lib/pacemaker/pcmk_sched_allocate.c || probe->rsc == NULL NULL 2497 lib/pacemaker/pcmk_sched_allocate.c if (after == NULL NULL 2523 lib/pacemaker/pcmk_sched_allocate.c GListPtr then_actions = NULL; NULL 2527 lib/pacemaker/pcmk_sched_allocate.c then_actions = pe__resource_actions(after->rsc, NULL, RSC_STOP, FALSE); NULL 2530 lib/pacemaker/pcmk_sched_allocate.c then_actions = pe__resource_actions(after->rsc, NULL, RSC_DEMOTE, FALSE); NULL 2533 lib/pacemaker/pcmk_sched_allocate.c for (gIter = then_actions; gIter != NULL; gIter = gIter->next) { NULL 2564 lib/pacemaker/pcmk_sched_allocate.c for (gIter = after->actions_after; gIter != NULL; gIter = gIter->next) { NULL 2583 lib/pacemaker/pcmk_sched_allocate.c if (after->rsc == NULL NULL 2586 lib/pacemaker/pcmk_sched_allocate.c || after_wrapper->action->rsc == NULL NULL 2597 lib/pacemaker/pcmk_sched_allocate.c && (compatible_rsc == NULL NULL 2616 lib/pacemaker/pcmk_sched_allocate.c GListPtr gIter = NULL; NULL 2618 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { NULL 2630 lib/pacemaker/pcmk_sched_allocate.c GListPtr gIter = NULL; NULL 2631 lib/pacemaker/pcmk_sched_allocate.c GListPtr probes = NULL; NULL 2633 lib/pacemaker/pcmk_sched_allocate.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 2643 lib/pacemaker/pcmk_sched_allocate.c probes = pe__resource_actions(rsc, NULL, RSC_STATUS, FALSE); NULL 2645 lib/pacemaker/pcmk_sched_allocate.c for (gIter = probes; gIter != NULL; gIter= gIter->next) { NULL 2647 lib/pacemaker/pcmk_sched_allocate.c GListPtr aIter = NULL; NULL 2649 lib/pacemaker/pcmk_sched_allocate.c for (aIter = probe->actions_after; aIter != NULL; aIter = aIter->next) { NULL 2663 lib/pacemaker/pcmk_sched_allocate.c GListPtr gIter = NULL; NULL 2665 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 2678 lib/pacemaker/pcmk_sched_allocate.c GListPtr gIter = NULL; NULL 2680 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 2725 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *start = NULL; NULL 2726 lib/pacemaker/pcmk_sched_allocate.c GListPtr actions = NULL; NULL 2727 lib/pacemaker/pcmk_sched_allocate.c GListPtr probes = NULL; NULL 2729 lib/pacemaker/pcmk_sched_allocate.c actions = pe__resource_actions(rsc, NULL, RSC_START, FALSE); NULL 2736 lib/pacemaker/pcmk_sched_allocate.c if(start == NULL) { NULL 2741 lib/pacemaker/pcmk_sched_allocate.c probes = pe__resource_actions(rsc, NULL, RSC_STATUS, FALSE); NULL 2743 lib/pacemaker/pcmk_sched_allocate.c for (actions = start->actions_before; actions != NULL; actions = actions->next) { NULL 2746 lib/pacemaker/pcmk_sched_allocate.c GListPtr pIter = NULL; NULL 2751 lib/pacemaker/pcmk_sched_allocate.c GListPtr clone_actions = NULL; NULL 2752 lib/pacemaker/pcmk_sched_allocate.c for (clone_actions = first->actions_before; clone_actions != NULL; clone_actions = clone_actions->next) { NULL 2766 lib/pacemaker/pcmk_sched_allocate.c if(first_rsc == NULL) { NULL 2780 lib/pacemaker/pcmk_sched_allocate.c for (pIter = probes; pIter != NULL; pIter = pIter->next) { NULL 2801 lib/pacemaker/pcmk_sched_allocate.c GList *gIter = NULL; NULL 2813 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->ordering_constraints; gIter != NULL; gIter = gIter->next) { NULL 2819 lib/pacemaker/pcmk_sched_allocate.c if (rsc != NULL) { NULL 2826 lib/pacemaker/pcmk_sched_allocate.c if (rsc != NULL) { NULL 2836 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { NULL 2846 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { NULL 2853 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { NULL 2855 lib/pacemaker/pcmk_sched_allocate.c pe_action_wrapper_t *input = NULL; NULL 2858 lib/pacemaker/pcmk_sched_allocate.c input_iter != NULL; input_iter = input_iter->next) { NULL 2868 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 2911 lib/pacemaker/pcmk_sched_allocate.c GListPtr gIter = NULL; NULL 2912 lib/pacemaker/pcmk_sched_allocate.c const char *value = NULL; NULL 2917 lib/pacemaker/pcmk_sched_allocate.c data_set->graph = create_xml_node(NULL, XML_TAG_GRAPH); NULL 2939 lib/pacemaker/pcmk_sched_allocate.c if (crm_parse_ll(value, NULL) > 0) { NULL 2944 lib/pacemaker/pcmk_sched_allocate.c char *recheck_epoch = NULL; NULL 2966 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 2982 lib/pacemaker/pcmk_sched_allocate.c for (; gIter != NULL; gIter = gIter->next) { NULL 3020 lib/pacemaker/pcmk_sched_allocate.c GListPtr gIter = NULL; NULL 3022 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { NULL 3023 lib/pacemaker/pcmk_sched_allocate.c char *node_name = NULL; NULL 3024 lib/pacemaker/pcmk_sched_allocate.c char *task = NULL; NULL 3027 lib/pacemaker/pcmk_sched_allocate.c if (action->rsc != NULL) { NULL 3047 lib/pacemaker/pcmk_sched_allocate.c if(task == NULL) { NULL 21 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = data->replicas; gIter != NULL; gIter = gIter->next) { NULL 38 lib/pacemaker/pcmk_sched_bundle.c GList *containers = NULL; NULL 41 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *data = NULL; NULL 44 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = data->replicas; gIter != NULL; NULL 78 lib/pacemaker/pcmk_sched_bundle.c fail_count = pe_get_failcount(node, rsc, NULL, NULL 79 lib/pacemaker/pcmk_sched_bundle.c pe_fc_effective|pe_fc_fillers, NULL, NULL 104 lib/pacemaker/pcmk_sched_bundle.c GListPtr containers = NULL; NULL 105 lib/pacemaker/pcmk_sched_bundle.c GListPtr nodes = NULL; NULL 106 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 108 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc != NULL, return NULL); NULL 118 lib/pacemaker/pcmk_sched_bundle.c nodes = sort_nodes_by_weight(nodes, NULL, data_set); NULL 125 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 128 lib/pacemaker/pcmk_sched_bundle.c pe_node_t *container_host = NULL; NULL 143 lib/pacemaker/pcmk_sched_bundle.c rsc_colocation_new("child-remote-with-docker-remote", NULL, NULL 145 lib/pacemaker/pcmk_sched_bundle.c container_host->details->remote_rsc, NULL, NULL, NULL 158 lib/pacemaker/pcmk_sched_bundle.c pe_node_t *node = NULL; NULL 162 lib/pacemaker/pcmk_sched_bundle.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & node)) { NULL 182 lib/pacemaker/pcmk_sched_bundle.c pe_node_t *node = NULL; NULL 185 lib/pacemaker/pcmk_sched_bundle.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & node)) { NULL 198 lib/pacemaker/pcmk_sched_bundle.c return NULL; NULL 205 lib/pacemaker/pcmk_sched_bundle.c pe_action_t *action = NULL; NULL 206 lib/pacemaker/pcmk_sched_bundle.c GListPtr containers = NULL; NULL 207 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 209 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc != NULL, return); NULL 213 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 230 lib/pacemaker/pcmk_sched_bundle.c clone_create_pseudo_actions(rsc, containers, NULL, NULL, data_set); NULL 255 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 257 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc != NULL, return); NULL 280 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 313 lib/pacemaker/pcmk_sched_bundle.c rsc_colocation_new("ip-with-docker", NULL, INFINITY, replica->ip, NULL 314 lib/pacemaker/pcmk_sched_bundle.c replica->container, NULL, NULL, data_set); NULL 369 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 371 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(candidate != NULL, return NULL); NULL 377 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 390 lib/pacemaker/pcmk_sched_bundle.c return NULL; NULL 398 lib/pacemaker/pcmk_sched_bundle.c GListPtr scratch = NULL; NULL 399 lib/pacemaker/pcmk_sched_bundle.c pe_resource_t *pair = NULL; NULL 400 lib/pacemaker/pcmk_sched_bundle.c pe_node_t *active_node_lh = NULL; NULL 402 lib/pacemaker/pcmk_sched_bundle.c active_node_lh = rsc_lh->fns->location(rsc_lh, NULL, current); NULL 409 lib/pacemaker/pcmk_sched_bundle.c scratch = sort_nodes_by_weight(scratch, NULL, data_set); NULL 411 lib/pacemaker/pcmk_sched_bundle.c for (GListPtr gIter = scratch; gIter != NULL; gIter = gIter->next) { NULL 462 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *data = NULL; NULL 475 lib/pacemaker/pcmk_sched_bundle.c GListPtr allocated_rhs = NULL; NULL 476 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 478 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(constraint != NULL, return); NULL 479 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc_lh != NULL, pe_err("rsc_lh was NULL for %s", constraint->id); return); NULL 480 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc != NULL, pe_err("rsc was NULL for %s", constraint->id); return); NULL 502 lib/pacemaker/pcmk_sched_bundle.c assign_node(rsc_lh, NULL, TRUE); NULL 515 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 526 lib/pacemaker/pcmk_sched_bundle.c NULL, FALSE); NULL 528 lib/pacemaker/pcmk_sched_bundle.c if ((chosen == NULL) NULL 533 lib/pacemaker/pcmk_sched_bundle.c && (replica->child == NULL)) { NULL 555 lib/pacemaker/pcmk_sched_bundle.c GListPtr containers = NULL; NULL 557 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *data = NULL; NULL 586 lib/pacemaker/pcmk_sched_bundle.c GListPtr gIter = NULL; NULL 587 lib/pacemaker/pcmk_sched_bundle.c GListPtr children = NULL; NULL 589 lib/pacemaker/pcmk_sched_bundle.c if (local_node == NULL) { NULL 591 lib/pacemaker/pcmk_sched_bundle.c return NULL; NULL 598 lib/pacemaker/pcmk_sched_bundle.c for (gIter = children; gIter != NULL; gIter = gIter->next) { NULL 612 lib/pacemaker/pcmk_sched_bundle.c return NULL; NULL 620 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *data = NULL; NULL 623 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = data->replicas; gIter != NULL; NULL 634 lib/pacemaker/pcmk_sched_bundle.c return NULL; NULL 644 lib/pacemaker/pcmk_sched_bundle.c GListPtr gIter = NULL; NULL 645 lib/pacemaker/pcmk_sched_bundle.c GListPtr children = NULL; NULL 656 lib/pacemaker/pcmk_sched_bundle.c for (gIter = children; gIter != NULL; gIter = gIter->next) { NULL 662 lib/pacemaker/pcmk_sched_bundle.c if (first_child == NULL && current) { NULL 665 lib/pacemaker/pcmk_sched_bundle.c } else if (first_child == NULL) { NULL 676 lib/pacemaker/pcmk_sched_bundle.c if(assign_node(then_child, NULL, TRUE)) { NULL 682 lib/pacemaker/pcmk_sched_bundle.c pe_action_t *first_action = NULL; NULL 683 lib/pacemaker/pcmk_sched_bundle.c pe_action_t *then_action = NULL; NULL 688 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *first_replica = NULL; NULL 689 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *then_replica = NULL; NULL 700 lib/pacemaker/pcmk_sched_bundle.c NULL, task2text(task), node); NULL 702 lib/pacemaker/pcmk_sched_bundle.c first_action = find_first_action(first_child->actions, NULL, task2text(task), node); NULL 716 lib/pacemaker/pcmk_sched_bundle.c NULL, then->task, node); NULL 718 lib/pacemaker/pcmk_sched_bundle.c then_action = find_first_action(then_child->actions, NULL, then->task, node); NULL 721 lib/pacemaker/pcmk_sched_bundle.c if (first_action == NULL) { NULL 723 lib/pacemaker/pcmk_sched_bundle.c && !pcmk__str_any_of(first_task, RSC_STOP, RSC_DEMOTE, NULL)) { NULL 736 lib/pacemaker/pcmk_sched_bundle.c if (then_action == NULL) { NULL 738 lib/pacemaker/pcmk_sched_bundle.c && !pcmk__str_any_of(then->task, RSC_STOP, RSC_DEMOTE, NULL)) { NULL 783 lib/pacemaker/pcmk_sched_bundle.c pe_resource_t *rsc = NULL; NULL 784 lib/pacemaker/pcmk_sched_bundle.c const char *interleave_s = NULL; NULL 786 lib/pacemaker/pcmk_sched_bundle.c if(first->rsc == NULL || then->rsc == NULL) { NULL 827 lib/pacemaker/pcmk_sched_bundle.c GListPtr gIter = NULL; NULL 828 lib/pacemaker/pcmk_sched_bundle.c GListPtr children = NULL; NULL 836 lib/pacemaker/pcmk_sched_bundle.c for (gIter = children; gIter != NULL; gIter = gIter->next) { NULL 839 lib/pacemaker/pcmk_sched_bundle.c pe_action_t *then_child_action = find_first_action(then_child->actions, NULL, then->task, node); NULL 850 lib/pacemaker/pcmk_sched_bundle.c for (GListPtr lpc = then_child_action->actions_after; lpc != NULL; lpc = lpc->next) { NULL 868 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 873 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 898 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 900 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc != NULL, return); NULL 908 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 924 lib/pacemaker/pcmk_sched_bundle.c const char *calculated_addr = NULL; NULL 964 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 966 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc != NULL, return FALSE); NULL 969 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 1009 lib/pacemaker/pcmk_sched_bundle.c if ((other != replica) && (other != NULL) NULL 1010 lib/pacemaker/pcmk_sched_bundle.c && (other->container != NULL)) { NULL 1014 lib/pacemaker/pcmk_sched_bundle.c NULL, other->container, NULL 1016 lib/pacemaker/pcmk_sched_bundle.c NULL, NULL 1035 lib/pacemaker/pcmk_sched_bundle.c probe_uuid, NULL, node); NULL 1044 lib/pacemaker/pcmk_sched_bundle.c NULL, replica->remote, NULL, probe, NULL 1061 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 1063 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc != NULL, return); NULL 1066 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 28 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(resource1 != NULL); NULL 29 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(resource2 != NULL); NULL 35 lib/pacemaker/pcmk_sched_clone.c num1 = strtol(strrchr(resource1->id, ':') + 1, NULL, 10); NULL 36 lib/pacemaker/pcmk_sched_clone.c num2 = strtol(strrchr(resource2->id, ':') + 1, NULL, 10); NULL 48 lib/pacemaker/pcmk_sched_clone.c pe_node_t *ret = NULL; NULL 50 lib/pacemaker/pcmk_sched_clone.c if (node != NULL && rsc->parent) { NULL 52 lib/pacemaker/pcmk_sched_clone.c } else if(node != NULL) { NULL 67 lib/pacemaker/pcmk_sched_clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 81 lib/pacemaker/pcmk_sched_clone.c pe_node_t *node1 = NULL; NULL 82 lib/pacemaker/pcmk_sched_clone.c pe_node_t *node2 = NULL; NULL 83 lib/pacemaker/pcmk_sched_clone.c pe_node_t *current_node1 = NULL; NULL 84 lib/pacemaker/pcmk_sched_clone.c pe_node_t *current_node2 = NULL; NULL 94 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(resource1 != NULL); NULL 95 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(resource2 != NULL); NULL 105 lib/pacemaker/pcmk_sched_clone.c current_node1 = pe__find_active_on(resource1, &nnodes1, NULL); NULL 106 lib/pacemaker/pcmk_sched_clone.c current_node2 = pe__find_active_on(resource2, &nnodes2, NULL); NULL 124 lib/pacemaker/pcmk_sched_clone.c if (match == NULL || match->weight < 0) { NULL 126 lib/pacemaker/pcmk_sched_clone.c node1 = NULL; NULL 134 lib/pacemaker/pcmk_sched_clone.c if (match == NULL || match->weight < 0) { NULL 136 lib/pacemaker/pcmk_sched_clone.c node2 = NULL; NULL 159 lib/pacemaker/pcmk_sched_clone.c if (node1 == NULL && node2 == NULL) { NULL 165 lib/pacemaker/pcmk_sched_clone.c if (node1 == NULL) { NULL 168 lib/pacemaker/pcmk_sched_clone.c } else if (node2 == NULL) { NULL 187 lib/pacemaker/pcmk_sched_clone.c if (node1 != NULL && node2 == NULL) { NULL 190 lib/pacemaker/pcmk_sched_clone.c } else if (node1 == NULL && node2 != NULL) { NULL 195 lib/pacemaker/pcmk_sched_clone.c if (node1 == NULL || node2 == NULL) { NULL 223 lib/pacemaker/pcmk_sched_clone.c pe_node_t *n = NULL; NULL 224 lib/pacemaker/pcmk_sched_clone.c GListPtr gIter = NULL; NULL 225 lib/pacemaker/pcmk_sched_clone.c GListPtr list1 = NULL; NULL 226 lib/pacemaker/pcmk_sched_clone.c GListPtr list2 = NULL; NULL 228 lib/pacemaker/pcmk_sched_clone.c g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, free); NULL 230 lib/pacemaker/pcmk_sched_clone.c g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, free); NULL 332 lib/pacemaker/pcmk_sched_clone.c if (node1 == NULL) { NULL 337 lib/pacemaker/pcmk_sched_clone.c } else if (node2 == NULL) { NULL 375 lib/pacemaker/pcmk_sched_clone.c pe_node_t *local_node = NULL; NULL 377 lib/pacemaker/pcmk_sched_clone.c if (node == NULL && rsc->allowed_nodes) { NULL 380 lib/pacemaker/pcmk_sched_clone.c while (g_hash_table_iter_next(&iter, NULL, (void **)&local_node)) { NULL 383 lib/pacemaker/pcmk_sched_clone.c return NULL; NULL 399 lib/pacemaker/pcmk_sched_clone.c if (local_node == NULL) { NULL 422 lib/pacemaker/pcmk_sched_clone.c return NULL; NULL 429 lib/pacemaker/pcmk_sched_clone.c pe_node_t *chosen = NULL; NULL 430 lib/pacemaker/pcmk_sched_clone.c GHashTable *backup = NULL; NULL 438 lib/pacemaker/pcmk_sched_clone.c return rsc->fns->location(rsc, NULL, FALSE); NULL 442 lib/pacemaker/pcmk_sched_clone.c return NULL; NULL 453 lib/pacemaker/pcmk_sched_clone.c if (local_prefer == NULL || local_prefer->weight < 0) { NULL 456 lib/pacemaker/pcmk_sched_clone.c return NULL; NULL 460 lib/pacemaker/pcmk_sched_clone.c can_run_instance(rsc, NULL, limit); NULL 471 lib/pacemaker/pcmk_sched_clone.c chosen = NULL; NULL 472 lib/pacemaker/pcmk_sched_clone.c backup = NULL; NULL 498 lib/pacemaker/pcmk_sched_clone.c GListPtr gIter = NULL; NULL 501 lib/pacemaker/pcmk_sched_clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 513 lib/pacemaker/pcmk_sched_clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 539 lib/pacemaker/pcmk_sched_clone.c for(GListPtr nIter = nodes; nIter != NULL; nIter = nIter->next) { NULL 559 lib/pacemaker/pcmk_sched_clone.c for (GListPtr gIter = children; gIter != NULL && allocated < max; gIter = gIter->next) { NULL 591 lib/pacemaker/pcmk_sched_clone.c for (GListPtr gIter = children; gIter != NULL; gIter = gIter->next) { NULL 594 lib/pacemaker/pcmk_sched_clone.c if (child->running_on != NULL) { NULL 598 lib/pacemaker/pcmk_sched_clone.c if (local_node == NULL) { NULL 607 lib/pacemaker/pcmk_sched_clone.c resource_location(child, NULL, -INFINITY, "clone:limit_reached", data_set); NULL 609 lib/pacemaker/pcmk_sched_clone.c if (allocate_instance(child, NULL, max < available_nodes, NULL 625 lib/pacemaker/pcmk_sched_clone.c GListPtr nodes = NULL; NULL 626 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; NULL 631 lib/pacemaker/pcmk_sched_clone.c return NULL; NULL 635 lib/pacemaker/pcmk_sched_clone.c return NULL; NULL 647 lib/pacemaker/pcmk_sched_clone.c for (GListPtr gIter = rsc->rsc_cons; gIter != NULL; gIter = gIter->next) { NULL 658 lib/pacemaker/pcmk_sched_clone.c for (GListPtr gIter = rsc->rsc_cons_lhs; gIter != NULL; gIter = gIter->next) { NULL 674 lib/pacemaker/pcmk_sched_clone.c nodes = sort_nodes_by_weight(nodes, NULL, data_set); NULL 685 lib/pacemaker/pcmk_sched_clone.c return NULL; NULL 692 lib/pacemaker/pcmk_sched_clone.c GListPtr gIter = NULL; NULL 697 lib/pacemaker/pcmk_sched_clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 706 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(active != NULL); NULL 707 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(starting != NULL); NULL 708 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(stopping != NULL); NULL 715 lib/pacemaker/pcmk_sched_clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 756 lib/pacemaker/pcmk_sched_clone.c pe_action_t *match = NULL; NULL 757 lib/pacemaker/pcmk_sched_clone.c GListPtr possible = NULL; NULL 758 lib/pacemaker/pcmk_sched_clone.c GListPtr active = NULL; NULL 760 lib/pacemaker/pcmk_sched_clone.c possible = pe__resource_actions(rsc, NULL, task, FALSE); NULL 765 lib/pacemaker/pcmk_sched_clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 779 lib/pacemaker/pcmk_sched_clone.c active = NULL; NULL 788 lib/pacemaker/pcmk_sched_clone.c possible = NULL; NULL 804 lib/pacemaker/pcmk_sched_clone.c pe_action_t *stop = NULL; NULL 805 lib/pacemaker/pcmk_sched_clone.c pe_action_t *start = NULL; NULL 806 lib/pacemaker/pcmk_sched_clone.c pe_action_t *last_stop = NULL; NULL 807 lib/pacemaker/pcmk_sched_clone.c pe_action_t *last_start = NULL; NULL 808 lib/pacemaker/pcmk_sched_clone.c GListPtr gIter = NULL; NULL 810 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; NULL 820 lib/pacemaker/pcmk_sched_clone.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 823 lib/pacemaker/pcmk_sched_clone.c stop = find_rsc_action(child, RSC_STOP, active_only, NULL); NULL 832 lib/pacemaker/pcmk_sched_clone.c start = find_rsc_action(child, RSC_START, active_only, NULL); NULL 846 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; NULL 865 lib/pacemaker/pcmk_sched_clone.c pe_action_t *stop = NULL; NULL 866 lib/pacemaker/pcmk_sched_clone.c pe_action_t *stopped = NULL; NULL 868 lib/pacemaker/pcmk_sched_clone.c pe_action_t *start = NULL; NULL 869 lib/pacemaker/pcmk_sched_clone.c pe_action_t *started = NULL; NULL 873 lib/pacemaker/pcmk_sched_clone.c for (GListPtr gIter = children; gIter != NULL; gIter = gIter->next) { NULL 897 lib/pacemaker/pcmk_sched_clone.c if (start_notify != NULL && *start_notify == NULL) { NULL 910 lib/pacemaker/pcmk_sched_clone.c if (stop_notify != NULL && *stop_notify == NULL) { NULL 922 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *last_rsc = NULL; NULL 924 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; NULL 942 lib/pacemaker/pcmk_sched_clone.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 975 lib/pacemaker/pcmk_sched_clone.c for (GListPtr gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 984 lib/pacemaker/pcmk_sched_clone.c if (rsc->allocated_to != NULL) { NULL 988 lib/pacemaker/pcmk_sched_clone.c native_assign_node(rsc, NULL, node, force); NULL 995 lib/pacemaker/pcmk_sched_clone.c pe_node_t *node = NULL; NULL 1001 lib/pacemaker/pcmk_sched_clone.c node = child_rsc->fns->location(child_rsc, NULL, current); NULL 1027 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *pair = NULL; NULL 1028 lib/pacemaker/pcmk_sched_clone.c GListPtr gIter = NULL; NULL 1029 lib/pacemaker/pcmk_sched_clone.c GListPtr scratch = NULL; NULL 1030 lib/pacemaker/pcmk_sched_clone.c pe_node_t *local_node = NULL; NULL 1032 lib/pacemaker/pcmk_sched_clone.c local_node = local_child->fns->location(local_child, NULL, current); NULL 1038 lib/pacemaker/pcmk_sched_clone.c scratch = sort_nodes_by_weight(scratch, NULL, data_set); NULL 1041 lib/pacemaker/pcmk_sched_clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1073 lib/pacemaker/pcmk_sched_clone.c GListPtr gIter = NULL; NULL 1075 lib/pacemaker/pcmk_sched_clone.c const char *interleave_s = NULL; NULL 1077 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(constraint != NULL, return); NULL 1078 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(rsc_lh != NULL, pe_err("rsc_lh was NULL for %s", constraint->id); return); NULL 1079 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(rsc_rh != NULL, pe_err("rsc_rh was NULL for %s", constraint->id); return); NULL 1119 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *rh_child = NULL; NULL 1131 lib/pacemaker/pcmk_sched_clone.c assign_node(rsc_lh, NULL, TRUE); NULL 1140 lib/pacemaker/pcmk_sched_clone.c GListPtr rhs = NULL; NULL 1143 lib/pacemaker/pcmk_sched_clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1145 lib/pacemaker/pcmk_sched_clone.c pe_node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); NULL 1147 lib/pacemaker/pcmk_sched_clone.c if (chosen != NULL && is_set_recursive(child_rsc, pe_rsc_block, TRUE) == FALSE) { NULL 1159 lib/pacemaker/pcmk_sched_clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1173 lib/pacemaker/pcmk_sched_clone.c if (pcmk__strcase_any_of(action->task, "notify", "notified", NULL)) { NULL 1186 lib/pacemaker/pcmk_sched_clone.c char *task_mutable = NULL; NULL 1214 lib/pacemaker/pcmk_sched_clone.c GListPtr gIter = NULL; NULL 1221 lib/pacemaker/pcmk_sched_clone.c for (gIter = children; gIter != NULL; gIter = gIter->next) { NULL 1222 lib/pacemaker/pcmk_sched_clone.c pe_action_t *child_action = NULL; NULL 1225 lib/pacemaker/pcmk_sched_clone.c child_action = find_first_action(child->actions, NULL, task_s, child->children ? NULL : node); NULL 1247 lib/pacemaker/pcmk_sched_clone.c if (node == NULL) { NULL 1270 lib/pacemaker/pcmk_sched_clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1280 lib/pacemaker/pcmk_sched_clone.c GListPtr gIter = NULL; NULL 1281 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; NULL 1286 lib/pacemaker/pcmk_sched_clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1289 lib/pacemaker/pcmk_sched_clone.c rsc->cmds->action_flags(op, NULL); NULL 1319 lib/pacemaker/pcmk_sched_clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1329 lib/pacemaker/pcmk_sched_clone.c clone_data->demote_notify = NULL; NULL 1331 lib/pacemaker/pcmk_sched_clone.c clone_data->stop_notify = NULL; NULL 1333 lib/pacemaker/pcmk_sched_clone.c clone_data->start_notify = NULL; NULL 1335 lib/pacemaker/pcmk_sched_clone.c clone_data->promote_notify = NULL; NULL 1343 lib/pacemaker/pcmk_sched_clone.c for (GList *child_iter = rsc->children; child_iter != NULL; NULL 1355 lib/pacemaker/pcmk_sched_clone.c pe_node_t *known_node = NULL; NULL 1358 lib/pacemaker/pcmk_sched_clone.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &known_node)) { NULL 1371 lib/pacemaker/pcmk_sched_clone.c for (GList *gIter = clone->children; gIter != NULL; gIter = gIter->next) { NULL 1378 lib/pacemaker/pcmk_sched_clone.c return NULL; NULL 1388 lib/pacemaker/pcmk_sched_clone.c for (GList *child_iter = rsc->children; child_iter != NULL; NULL 1409 lib/pacemaker/pcmk_sched_clone.c if (child == NULL) { NULL 1413 lib/pacemaker/pcmk_sched_clone.c pe_node_t *local_node = NULL; NULL 1417 lib/pacemaker/pcmk_sched_clone.c local_node = child_rsc->fns->location(child_rsc, NULL, FALSE); NULL 1426 lib/pacemaker/pcmk_sched_clone.c if (child == NULL) { NULL 1442 lib/pacemaker/pcmk_sched_clone.c if (rsc->children == NULL) { NULL 1476 lib/pacemaker/pcmk_sched_clone.c char *name = NULL; NULL 1477 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; NULL 36 lib/pacemaker/pcmk_sched_constraints.c if(__rsc == NULL) { \ NULL 58 lib/pacemaker/pcmk_sched_constraints.c result = pe_evaluate_rules(lifetime, NULL, data_set->now, next_change); NULL 71 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_obj = NULL; NULL 72 lib/pacemaker/pcmk_sched_constraints.c xmlNode *lifetime = NULL; NULL 74 lib/pacemaker/pcmk_sched_constraints.c for (xml_obj = pcmk__xe_first_child(xml_constraints); xml_obj != NULL; NULL 79 lib/pacemaker/pcmk_sched_constraints.c if (id == NULL) { NULL 146 lib/pacemaker/pcmk_sched_constraints.c return NULL; NULL 155 lib/pacemaker/pcmk_sched_constraints.c if (kind == NULL) { NULL 192 lib/pacemaker/pcmk_sched_constraints.c GListPtr rIter = NULL; NULL 196 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *match = parent->fns->find_rsc(parent, id, NULL, NULL 199 lib/pacemaker/pcmk_sched_constraints.c if (match != NULL) { NULL 209 lib/pacemaker/pcmk_sched_constraints.c return NULL; NULL 217 lib/pacemaker/pcmk_sched_constraints.c *tag = NULL; NULL 219 lib/pacemaker/pcmk_sched_constraints.c NULL, (gpointer*) tag); NULL 223 lib/pacemaker/pcmk_sched_constraints.c NULL, (gpointer*) tag); NULL 229 lib/pacemaker/pcmk_sched_constraints.c } else if (*tag == NULL) { NULL 234 lib/pacemaker/pcmk_sched_constraints.c } else if (*tag == NULL) { NULL 249 lib/pacemaker/pcmk_sched_constraints.c *rsc = NULL; NULL 257 lib/pacemaker/pcmk_sched_constraints.c *tag = NULL; NULL 278 lib/pacemaker/pcmk_sched_constraints.c if (symmetrical_s == NULL) { NULL 308 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_then = NULL; NULL 309 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_first = NULL; NULL 315 lib/pacemaker/pcmk_sched_constraints.c const char *id_first = NULL; NULL 316 lib/pacemaker/pcmk_sched_constraints.c const char *id_then = NULL; NULL 317 lib/pacemaker/pcmk_sched_constraints.c const char *action_then = NULL; NULL 318 lib/pacemaker/pcmk_sched_constraints.c const char *action_first = NULL; NULL 319 lib/pacemaker/pcmk_sched_constraints.c const char *instance_then = NULL; NULL 320 lib/pacemaker/pcmk_sched_constraints.c const char *instance_first = NULL; NULL 322 lib/pacemaker/pcmk_sched_constraints.c const char *id = NULL; NULL 324 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); NULL 327 lib/pacemaker/pcmk_sched_constraints.c if (id == NULL) { NULL 333 lib/pacemaker/pcmk_sched_constraints.c invert_bool = order_is_symmetrical(xml_obj, kind, NULL); NULL 344 lib/pacemaker/pcmk_sched_constraints.c if (action_first == NULL) { NULL 347 lib/pacemaker/pcmk_sched_constraints.c if (action_then == NULL) { NULL 351 lib/pacemaker/pcmk_sched_constraints.c if (id_first == NULL) { NULL 356 lib/pacemaker/pcmk_sched_constraints.c if (id_then == NULL) { NULL 365 lib/pacemaker/pcmk_sched_constraints.c if (rsc_then == NULL) { NULL 370 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_first == NULL) { NULL 390 lib/pacemaker/pcmk_sched_constraints.c if (rsc_then == NULL) { NULL 400 lib/pacemaker/pcmk_sched_constraints.c if (rsc_first == NULL) { NULL 452 lib/pacemaker/pcmk_sched_constraints.c GListPtr rIter = NULL; NULL 468 lib/pacemaker/pcmk_sched_constraints.c NULL, NULL, NULL, unordered_action, NULL 475 lib/pacemaker/pcmk_sched_constraints.c order_id = custom_action_order(NULL, NULL, unordered_action, rsc_then, NULL 477 lib/pacemaker/pcmk_sched_constraints.c NULL, cons_weight|pe_order_runnable_left, NULL 492 lib/pacemaker/pcmk_sched_constraints.c if (action_then == NULL || action_first == NULL) { NULL 518 lib/pacemaker/pcmk_sched_constraints.c xmlNode *new_xml = NULL; NULL 519 lib/pacemaker/pcmk_sched_constraints.c xmlNode *set = NULL; NULL 521 lib/pacemaker/pcmk_sched_constraints.c const char *cons_id = NULL; NULL 523 lib/pacemaker/pcmk_sched_constraints.c *expanded_xml = NULL; NULL 525 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); NULL 530 lib/pacemaker/pcmk_sched_constraints.c for (set = pcmk__xe_first_child(new_xml); set != NULL; NULL 533 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; NULL 534 lib/pacemaker/pcmk_sched_constraints.c GListPtr tag_refs = NULL; NULL 535 lib/pacemaker/pcmk_sched_constraints.c GListPtr gIter = NULL; NULL 541 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; NULL 544 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc = NULL; NULL 545 lib/pacemaker/pcmk_sched_constraints.c pe_tag_t *tag = NULL; NULL 588 lib/pacemaker/pcmk_sched_constraints.c for (gIter = tag->refs; gIter != NULL; gIter = gIter->next) { NULL 590 lib/pacemaker/pcmk_sched_constraints.c xmlNode *new_rsc_ref = NULL; NULL 592 lib/pacemaker/pcmk_sched_constraints.c new_rsc_ref = xmlNewDocRawNode(getDocPtr(set), NULL, NULL 593 lib/pacemaker/pcmk_sched_constraints.c (pcmkXmlStr) XML_TAG_RESOURCE_REF, NULL); NULL 621 lib/pacemaker/pcmk_sched_constraints.c for (gIter = tag_refs; gIter != NULL; gIter = gIter->next) { NULL 642 lib/pacemaker/pcmk_sched_constraints.c const char *cons_id = NULL; NULL 643 lib/pacemaker/pcmk_sched_constraints.c const char *id = NULL; NULL 645 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc = NULL; NULL 646 lib/pacemaker/pcmk_sched_constraints.c pe_tag_t *tag = NULL; NULL 648 lib/pacemaker/pcmk_sched_constraints.c *rsc_set = NULL; NULL 650 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK((xml_obj != NULL) && (attr != NULL), return FALSE); NULL 653 lib/pacemaker/pcmk_sched_constraints.c if (cons_id == NULL) { NULL 660 lib/pacemaker/pcmk_sched_constraints.c if (id == NULL) { NULL 670 lib/pacemaker/pcmk_sched_constraints.c GListPtr gIter = NULL; NULL 678 lib/pacemaker/pcmk_sched_constraints.c for (gIter = tag->refs; gIter != NULL; gIter = gIter->next) { NULL 680 lib/pacemaker/pcmk_sched_constraints.c xmlNode *rsc_ref = NULL; NULL 692 lib/pacemaker/pcmk_sched_constraints.c xmlNode *rsc_ref = NULL; NULL 724 lib/pacemaker/pcmk_sched_constraints.c return unpack_rsc_location(xml_obj, rsc_lh, NULL, NULL, data_set, NULL); NULL 731 lib/pacemaker/pcmk_sched_constraints.c GListPtr rIter = NULL; NULL 750 lib/pacemaker/pcmk_sched_constraints.c regmatch_t *pmatch = NULL; NULL 774 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_location(xml_obj, r, NULL, NULL, data_set, &match_data); NULL 778 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_location(xml_obj, r, NULL, NULL, data_set, NULL); NULL 798 lib/pacemaker/pcmk_sched_constraints.c pe__location_t *location = NULL; NULL 804 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { NULL 810 lib/pacemaker/pcmk_sched_constraints.c if (score == NULL) { NULL 814 lib/pacemaker/pcmk_sched_constraints.c if (node != NULL && score != NULL) { NULL 832 lib/pacemaker/pcmk_sched_constraints.c rule_xml != NULL; rule_xml = crm_next_same_xml(rule_xml)) { NULL 856 lib/pacemaker/pcmk_sched_constraints.c if (role == NULL) { NULL 887 lib/pacemaker/pcmk_sched_constraints.c const char *id = NULL; NULL 888 lib/pacemaker/pcmk_sched_constraints.c const char *id_lh = NULL; NULL 889 lib/pacemaker/pcmk_sched_constraints.c const char *state_lh = NULL; NULL 891 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = NULL; NULL 893 lib/pacemaker/pcmk_sched_constraints.c pe_tag_t *tag_lh = NULL; NULL 895 lib/pacemaker/pcmk_sched_constraints.c xmlNode *new_xml = NULL; NULL 896 lib/pacemaker/pcmk_sched_constraints.c xmlNode *rsc_set_lh = NULL; NULL 898 lib/pacemaker/pcmk_sched_constraints.c *expanded_xml = NULL; NULL 900 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); NULL 903 lib/pacemaker/pcmk_sched_constraints.c if (id == NULL) { NULL 919 lib/pacemaker/pcmk_sched_constraints.c if (id_lh == NULL) { NULL 964 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; NULL 965 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *resource = NULL; NULL 970 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(set != NULL, return FALSE); NULL 973 lib/pacemaker/pcmk_sched_constraints.c if (set_id == NULL) { NULL 983 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; NULL 988 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_location(location, resource, role, local_score, data_set, NULL); NULL 998 lib/pacemaker/pcmk_sched_constraints.c xmlNode *set = NULL; NULL 1001 lib/pacemaker/pcmk_sched_constraints.c xmlNode *orig_xml = NULL; NULL 1002 lib/pacemaker/pcmk_sched_constraints.c xmlNode *expanded_xml = NULL; NULL 1013 lib/pacemaker/pcmk_sched_constraints.c for (set = pcmk__xe_first_child(xml_obj); set != NULL; NULL 1045 lib/pacemaker/pcmk_sched_constraints.c if (score == NULL) { NULL 1054 lib/pacemaker/pcmk_sched_constraints.c if (attr_score == NULL) { NULL 1073 lib/pacemaker/pcmk_sched_constraints.c const char *rule_id = NULL; NULL 1074 lib/pacemaker/pcmk_sched_constraints.c const char *score = NULL; NULL 1075 lib/pacemaker/pcmk_sched_constraints.c const char *boolean = NULL; NULL 1076 lib/pacemaker/pcmk_sched_constraints.c const char *role = NULL; NULL 1078 lib/pacemaker/pcmk_sched_constraints.c GListPtr gIter = NULL; NULL 1079 lib/pacemaker/pcmk_sched_constraints.c GListPtr match_L = NULL; NULL 1086 lib/pacemaker/pcmk_sched_constraints.c pe__location_t *location_rule = NULL; NULL 1095 lib/pacemaker/pcmk_sched_constraints.c if (role != NULL && text2role(role) == RSC_ROLE_UNKNOWN) { NULL 1097 lib/pacemaker/pcmk_sched_constraints.c return NULL; NULL 1101 lib/pacemaker/pcmk_sched_constraints.c if (score == NULL) { NULL 1103 lib/pacemaker/pcmk_sched_constraints.c if (score != NULL) { NULL 1111 lib/pacemaker/pcmk_sched_constraints.c location_rule = rsc2node_new(rule_id, rsc, 0, discovery, NULL, data_set); NULL 1113 lib/pacemaker/pcmk_sched_constraints.c if (location_rule == NULL) { NULL 1114 lib/pacemaker/pcmk_sched_constraints.c return NULL; NULL 1128 lib/pacemaker/pcmk_sched_constraints.c if (role != NULL) { NULL 1139 lib/pacemaker/pcmk_sched_constraints.c GListPtr gIter = NULL; NULL 1142 lib/pacemaker/pcmk_sched_constraints.c for (gIter = match_L; gIter != NULL; gIter = gIter->next) { NULL 1149 lib/pacemaker/pcmk_sched_constraints.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 1167 lib/pacemaker/pcmk_sched_constraints.c if (local == NULL && do_and) { NULL 1170 lib/pacemaker/pcmk_sched_constraints.c } else if (local == NULL) { NULL 1184 lib/pacemaker/pcmk_sched_constraints.c if (delete != NULL) { NULL 1197 lib/pacemaker/pcmk_sched_constraints.c if (location_rule->node_list_rh == NULL) { NULL 1199 lib/pacemaker/pcmk_sched_constraints.c return NULL; NULL 1212 lib/pacemaker/pcmk_sched_constraints.c if (a == NULL) { NULL 1215 lib/pacemaker/pcmk_sched_constraints.c if (b == NULL) { NULL 1219 lib/pacemaker/pcmk_sched_constraints.c CRM_ASSERT(rsc_constraint1->rsc_lh != NULL); NULL 1220 lib/pacemaker/pcmk_sched_constraints.c CRM_ASSERT(rsc_constraint1->rsc_rh != NULL); NULL 1260 lib/pacemaker/pcmk_sched_constraints.c if (a == NULL) { NULL 1263 lib/pacemaker/pcmk_sched_constraints.c if (b == NULL) { NULL 1267 lib/pacemaker/pcmk_sched_constraints.c CRM_ASSERT(rsc_constraint1->rsc_lh != NULL); NULL 1268 lib/pacemaker/pcmk_sched_constraints.c CRM_ASSERT(rsc_constraint1->rsc_rh != NULL); NULL 1307 lib/pacemaker/pcmk_sched_constraints.c const char *first_tasks[] = { NULL, NULL }; NULL 1308 lib/pacemaker/pcmk_sched_constraints.c const char *then_tasks[] = { NULL, NULL }; NULL 1336 lib/pacemaker/pcmk_sched_constraints.c for (first_lpc = 0; first_lpc <= 1 && first_tasks[first_lpc] != NULL; first_lpc++) { NULL 1337 lib/pacemaker/pcmk_sched_constraints.c for (then_lpc = 0; then_lpc <= 1 && then_tasks[then_lpc] != NULL; then_lpc++) { NULL 1349 lib/pacemaker/pcmk_sched_constraints.c rsc_colocation_t *new_con = NULL; NULL 1351 lib/pacemaker/pcmk_sched_constraints.c if ((rsc_lh == NULL) || (rsc_rh == NULL)) { NULL 1358 lib/pacemaker/pcmk_sched_constraints.c if (new_con == NULL) { NULL 1378 lib/pacemaker/pcmk_sched_constraints.c if (node_attr == NULL) { NULL 1405 lib/pacemaker/pcmk_sched_constraints.c char *lh_key = NULL; NULL 1406 lib/pacemaker/pcmk_sched_constraints.c char *rh_key = NULL; NULL 1408 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(lh_rsc != NULL, return -1); NULL 1409 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(lh_task != NULL, return -1); NULL 1410 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(rh_rsc != NULL, return -1); NULL 1411 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(rh_task != NULL, return -1); NULL 1425 lib/pacemaker/pcmk_sched_constraints.c return custom_action_order(lh_rsc, lh_key, NULL, rh_rsc, rh_key, NULL, type, data_set); NULL 1431 lib/pacemaker/pcmk_sched_constraints.c char *res = NULL; NULL 1436 lib/pacemaker/pcmk_sched_constraints.c parse_op_key(key, NULL, &res, NULL); NULL 1448 lib/pacemaker/pcmk_sched_constraints.c char *lh_task = NULL; NULL 1449 lib/pacemaker/pcmk_sched_constraints.c char *rh_task = NULL; NULL 1453 lib/pacemaker/pcmk_sched_constraints.c if (order->lh_rsc == NULL || order->rh_rsc == NULL) { NULL 1480 lib/pacemaker/pcmk_sched_constraints.c if (lh_task == NULL || rh_task == NULL) { NULL 1492 lib/pacemaker/pcmk_sched_constraints.c NULL, order->rh_rsc, NULL 1494 lib/pacemaker/pcmk_sched_constraints.c NULL, flags, data_set); NULL 1506 lib/pacemaker/pcmk_sched_constraints.c NULL, order->rh_rsc, NULL 1508 lib/pacemaker/pcmk_sched_constraints.c NULL, flags, data_set); NULL 1522 lib/pacemaker/pcmk_sched_constraints.c pcmk__op_key(order->lh_rsc->id, RSC_STOP, 0), NULL, NULL 1525 lib/pacemaker/pcmk_sched_constraints.c NULL, flags, data_set); NULL 1532 lib/pacemaker/pcmk_sched_constraints.c NULL, order->rh_rsc, NULL 1534 lib/pacemaker/pcmk_sched_constraints.c NULL, flags, data_set); NULL 1545 lib/pacemaker/pcmk_sched_constraints.c NULL, order->rh_rsc, NULL 1547 lib/pacemaker/pcmk_sched_constraints.c NULL, flags, data_set); NULL 1556 lib/pacemaker/pcmk_sched_constraints.c custom_action_order(order->lh_rsc, pcmk__op_key(order->lh_rsc->id, RSC_DEMOTE, 0), NULL, NULL 1557 lib/pacemaker/pcmk_sched_constraints.c order->rh_rsc, pcmk__op_key(order->rh_rsc->id, RSC_MIGRATE, 0), NULL, NULL 1565 lib/pacemaker/pcmk_sched_constraints.c NULL, order->rh_rsc, NULL 1567 lib/pacemaker/pcmk_sched_constraints.c NULL, flags, data_set); NULL 1583 lib/pacemaker/pcmk_sched_constraints.c pe__ordering_t *order = NULL; NULL 1585 lib/pacemaker/pcmk_sched_constraints.c if (lh_rsc == NULL && lh_action) { NULL 1588 lib/pacemaker/pcmk_sched_constraints.c if (rh_rsc == NULL && rh_action) { NULL 1592 lib/pacemaker/pcmk_sched_constraints.c if ((lh_action == NULL && lh_rsc == NULL) NULL 1593 lib/pacemaker/pcmk_sched_constraints.c || (rh_action == NULL && rh_rsc == NULL)) { NULL 1617 lib/pacemaker/pcmk_sched_constraints.c if (order->lh_action_task == NULL && lh_action) { NULL 1621 lib/pacemaker/pcmk_sched_constraints.c if (order->rh_action_task == NULL && rh_action) { NULL 1625 lib/pacemaker/pcmk_sched_constraints.c if (order->lh_rsc == NULL && lh_action) { NULL 1629 lib/pacemaker/pcmk_sched_constraints.c if (order->rh_rsc == NULL && rh_action) { NULL 1665 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__strcase_any_of(action_first, RSC_START, RSC_PROMOTE, NULL)) { NULL 1683 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; NULL 1684 lib/pacemaker/pcmk_sched_constraints.c GListPtr set_iter = NULL; NULL 1685 lib/pacemaker/pcmk_sched_constraints.c GListPtr resources = NULL; NULL 1687 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *last = NULL; NULL 1688 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *resource = NULL; NULL 1695 lib/pacemaker/pcmk_sched_constraints.c char *key = NULL; NULL 1707 lib/pacemaker/pcmk_sched_constraints.c if (action == NULL) { NULL 1714 lib/pacemaker/pcmk_sched_constraints.c if (sequential_s == NULL) { NULL 1727 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; NULL 1739 lib/pacemaker/pcmk_sched_constraints.c *end = NULL; NULL 1740 lib/pacemaker/pcmk_sched_constraints.c *begin = NULL; NULL 1741 lib/pacemaker/pcmk_sched_constraints.c *inv_end = NULL; NULL 1742 lib/pacemaker/pcmk_sched_constraints.c *inv_begin = NULL; NULL 1752 lib/pacemaker/pcmk_sched_constraints.c *rsc = NULL; NULL 1763 lib/pacemaker/pcmk_sched_constraints.c while (set_iter != NULL) { NULL 1780 lib/pacemaker/pcmk_sched_constraints.c GListPtr gIter = NULL; NULL 1782 lib/pacemaker/pcmk_sched_constraints.c for (gIter = set_iter; gIter != NULL; gIter = gIter->next) { NULL 1786 lib/pacemaker/pcmk_sched_constraints.c custom_action_order(resource, strdup(key), NULL, then_rsc, then_key, NULL, NULL 1791 lib/pacemaker/pcmk_sched_constraints.c if (last != NULL) { NULL 1803 lib/pacemaker/pcmk_sched_constraints.c last = NULL; NULL 1822 lib/pacemaker/pcmk_sched_constraints.c while (set_iter != NULL) { NULL 1837 lib/pacemaker/pcmk_sched_constraints.c if (last != NULL) { NULL 1854 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; NULL 1855 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc_2 = NULL; NULL 1857 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_1 = NULL; NULL 1858 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_2 = NULL; NULL 1871 lib/pacemaker/pcmk_sched_constraints.c if (action_1 == NULL) { NULL 1875 lib/pacemaker/pcmk_sched_constraints.c if (action_2 == NULL) { NULL 1907 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; NULL 1919 lib/pacemaker/pcmk_sched_constraints.c NULL, NULL, NULL, unordered_action, NULL 1923 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc_2 = pcmk__xe_first_child(set2); xml_rsc_2 != NULL; NULL 1934 lib/pacemaker/pcmk_sched_constraints.c custom_action_order(NULL, NULL, unordered_action, NULL 1936 lib/pacemaker/pcmk_sched_constraints.c NULL, flags|pe_order_runnable_left, data_set); NULL 1945 lib/pacemaker/pcmk_sched_constraints.c const char *rid = NULL; NULL 1947 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; NULL 1958 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; NULL 1972 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; NULL 1983 lib/pacemaker/pcmk_sched_constraints.c const char *rid = NULL; NULL 1985 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; NULL 1996 lib/pacemaker/pcmk_sched_constraints.c if (rsc_1 != NULL && rsc_2 != NULL) { NULL 1999 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_1 != NULL) { NULL 2000 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; NULL 2009 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_2 != NULL) { NULL 2010 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; NULL 2012 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; NULL 2022 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; NULL 2026 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc_2 = NULL; NULL 2031 lib/pacemaker/pcmk_sched_constraints.c xml_rsc_2 != NULL; NULL 2049 lib/pacemaker/pcmk_sched_constraints.c const char *id = NULL; NULL 2050 lib/pacemaker/pcmk_sched_constraints.c const char *id_first = NULL; NULL 2051 lib/pacemaker/pcmk_sched_constraints.c const char *id_then = NULL; NULL 2052 lib/pacemaker/pcmk_sched_constraints.c const char *action_first = NULL; NULL 2053 lib/pacemaker/pcmk_sched_constraints.c const char *action_then = NULL; NULL 2055 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_first = NULL; NULL 2056 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_then = NULL; NULL 2057 lib/pacemaker/pcmk_sched_constraints.c pe_tag_t *tag_first = NULL; NULL 2058 lib/pacemaker/pcmk_sched_constraints.c pe_tag_t *tag_then = NULL; NULL 2060 lib/pacemaker/pcmk_sched_constraints.c xmlNode *new_xml = NULL; NULL 2061 lib/pacemaker/pcmk_sched_constraints.c xmlNode *rsc_set_first = NULL; NULL 2062 lib/pacemaker/pcmk_sched_constraints.c xmlNode *rsc_set_then = NULL; NULL 2065 lib/pacemaker/pcmk_sched_constraints.c *expanded_xml = NULL; NULL 2067 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); NULL 2070 lib/pacemaker/pcmk_sched_constraints.c if (id == NULL) { NULL 2087 lib/pacemaker/pcmk_sched_constraints.c if (id_first == NULL || id_then == NULL) { NULL 2160 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc = NULL; NULL 2166 lib/pacemaker/pcmk_sched_constraints.c pe_action_t *set_end = NULL; NULL 2167 lib/pacemaker/pcmk_sched_constraints.c pe_action_t *set_begin = NULL; NULL 2169 lib/pacemaker/pcmk_sched_constraints.c pe_action_t *set_inv_end = NULL; NULL 2170 lib/pacemaker/pcmk_sched_constraints.c pe_action_t *set_inv_begin = NULL; NULL 2172 lib/pacemaker/pcmk_sched_constraints.c xmlNode *set = NULL; NULL 2173 lib/pacemaker/pcmk_sched_constraints.c xmlNode *last = NULL; NULL 2175 lib/pacemaker/pcmk_sched_constraints.c xmlNode *orig_xml = NULL; NULL 2176 lib/pacemaker/pcmk_sched_constraints.c xmlNode *expanded_xml = NULL; NULL 2189 lib/pacemaker/pcmk_sched_constraints.c gboolean invert_bool = order_is_symmetrical(xml_obj, kind, NULL); NULL 2201 lib/pacemaker/pcmk_sched_constraints.c for (set = pcmk__xe_first_child(xml_obj); set != NULL; NULL 2285 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; NULL 2286 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *with = NULL; NULL 2287 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *resource = NULL; NULL 2300 lib/pacemaker/pcmk_sched_constraints.c if(ordering == NULL) { NULL 2304 lib/pacemaker/pcmk_sched_constraints.c if (sequential != NULL && crm_is_true(sequential) == FALSE) { NULL 2309 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; NULL 2314 lib/pacemaker/pcmk_sched_constraints.c if (with != NULL) { NULL 2316 lib/pacemaker/pcmk_sched_constraints.c rsc_colocation_new(set_id, NULL, local_score, resource, with, role, role, NULL 2324 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *last = NULL; NULL 2325 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; NULL 2330 lib/pacemaker/pcmk_sched_constraints.c if (last != NULL) { NULL 2332 lib/pacemaker/pcmk_sched_constraints.c rsc_colocation_new(set_id, NULL, local_score, last, resource, role, role, NULL 2346 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set); xml_rsc != NULL; NULL 2350 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc_with = NULL; NULL 2355 lib/pacemaker/pcmk_sched_constraints.c xml_rsc_with != NULL; NULL 2365 lib/pacemaker/pcmk_sched_constraints.c rsc_colocation_new(set_id, NULL, local_score, resource, with, role, role, NULL 2380 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; NULL 2381 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_1 = NULL; NULL 2382 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_2 = NULL; NULL 2390 lib/pacemaker/pcmk_sched_constraints.c if (sequential_1 == NULL || crm_is_true(sequential_1)) { NULL 2392 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; NULL 2402 lib/pacemaker/pcmk_sched_constraints.c if (sequential_2 == NULL || crm_is_true(sequential_2)) { NULL 2404 lib/pacemaker/pcmk_sched_constraints.c const char *rid = NULL; NULL 2406 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; NULL 2416 lib/pacemaker/pcmk_sched_constraints.c if (rsc_1 != NULL && rsc_2 != NULL) { NULL 2417 lib/pacemaker/pcmk_sched_constraints.c rsc_colocation_new(id, NULL, score, rsc_1, rsc_2, role_1, role_2, data_set); NULL 2419 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_1 != NULL) { NULL 2420 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set2); xml_rsc != NULL; NULL 2425 lib/pacemaker/pcmk_sched_constraints.c rsc_colocation_new(id, NULL, score, rsc_1, rsc_2, role_1, role_2, data_set); NULL 2429 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_2 != NULL) { NULL 2430 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; NULL 2435 lib/pacemaker/pcmk_sched_constraints.c rsc_colocation_new(id, NULL, score, rsc_1, rsc_2, role_1, role_2, data_set); NULL 2440 lib/pacemaker/pcmk_sched_constraints.c for (xml_rsc = pcmk__xe_first_child(set1); xml_rsc != NULL; NULL 2444 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc_2 = NULL; NULL 2449 lib/pacemaker/pcmk_sched_constraints.c xml_rsc_2 != NULL; NULL 2454 lib/pacemaker/pcmk_sched_constraints.c rsc_colocation_new(id, NULL, score, rsc_1, rsc_2, role_1, role_2, data_set); NULL 2486 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { NULL 2491 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_rh == NULL) { NULL 2511 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { NULL 2521 lib/pacemaker/pcmk_sched_constraints.c if (rsc_rh == NULL) { NULL 2546 lib/pacemaker/pcmk_sched_constraints.c const char *id = NULL; NULL 2547 lib/pacemaker/pcmk_sched_constraints.c const char *id_lh = NULL; NULL 2548 lib/pacemaker/pcmk_sched_constraints.c const char *id_rh = NULL; NULL 2549 lib/pacemaker/pcmk_sched_constraints.c const char *state_lh = NULL; NULL 2550 lib/pacemaker/pcmk_sched_constraints.c const char *state_rh = NULL; NULL 2552 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = NULL; NULL 2553 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_rh = NULL; NULL 2555 lib/pacemaker/pcmk_sched_constraints.c pe_tag_t *tag_lh = NULL; NULL 2556 lib/pacemaker/pcmk_sched_constraints.c pe_tag_t *tag_rh = NULL; NULL 2558 lib/pacemaker/pcmk_sched_constraints.c xmlNode *new_xml = NULL; NULL 2559 lib/pacemaker/pcmk_sched_constraints.c xmlNode *rsc_set_lh = NULL; NULL 2560 lib/pacemaker/pcmk_sched_constraints.c xmlNode *rsc_set_rh = NULL; NULL 2563 lib/pacemaker/pcmk_sched_constraints.c *expanded_xml = NULL; NULL 2565 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); NULL 2568 lib/pacemaker/pcmk_sched_constraints.c if (id == NULL) { NULL 2585 lib/pacemaker/pcmk_sched_constraints.c if (id_lh == NULL || id_rh == NULL) { NULL 2664 lib/pacemaker/pcmk_sched_constraints.c xmlNode *set = NULL; NULL 2665 lib/pacemaker/pcmk_sched_constraints.c xmlNode *last = NULL; NULL 2668 lib/pacemaker/pcmk_sched_constraints.c xmlNode *orig_xml = NULL; NULL 2669 lib/pacemaker/pcmk_sched_constraints.c xmlNode *expanded_xml = NULL; NULL 2689 lib/pacemaker/pcmk_sched_constraints.c for (set = pcmk__xe_first_child(xml_obj); set != NULL; NULL 2721 lib/pacemaker/pcmk_sched_constraints.c rsc_ticket_t *new_rsc_ticket = NULL; NULL 2723 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { NULL 2730 lib/pacemaker/pcmk_sched_constraints.c if (new_rsc_ticket == NULL) { NULL 2810 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_rsc = NULL; NULL 2811 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *resource = NULL; NULL 2812 lib/pacemaker/pcmk_sched_constraints.c const char *set_id = NULL; NULL 2813 lib/pacemaker/pcmk_sched_constraints.c const char *role = NULL; NULL 2815 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(set != NULL, return FALSE); NULL 2816 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(ticket != NULL, return FALSE); NULL 2819 lib/pacemaker/pcmk_sched_constraints.c if (set_id == NULL) { NULL 2828 lib/pacemaker/pcmk_sched_constraints.c xml_rsc != NULL; xml_rsc = crm_next_same_xml(xml_rsc)) { NULL 2842 lib/pacemaker/pcmk_sched_constraints.c const char *id = NULL; NULL 2846 lib/pacemaker/pcmk_sched_constraints.c pe_ticket_t *ticket = NULL; NULL 2854 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = NULL; NULL 2856 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); NULL 2859 lib/pacemaker/pcmk_sched_constraints.c if (id == NULL) { NULL 2865 lib/pacemaker/pcmk_sched_constraints.c if (ticket_str == NULL) { NULL 2873 lib/pacemaker/pcmk_sched_constraints.c if (ticket == NULL) { NULL 2879 lib/pacemaker/pcmk_sched_constraints.c if (id_lh == NULL) { NULL 2886 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { NULL 2900 lib/pacemaker/pcmk_sched_constraints.c if (rsc_lh == NULL) { NULL 2915 lib/pacemaker/pcmk_sched_constraints.c const char *id = NULL; NULL 2916 lib/pacemaker/pcmk_sched_constraints.c const char *id_lh = NULL; NULL 2917 lib/pacemaker/pcmk_sched_constraints.c const char *state_lh = NULL; NULL 2919 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = NULL; NULL 2920 lib/pacemaker/pcmk_sched_constraints.c pe_tag_t *tag_lh = NULL; NULL 2922 lib/pacemaker/pcmk_sched_constraints.c xmlNode *new_xml = NULL; NULL 2923 lib/pacemaker/pcmk_sched_constraints.c xmlNode *rsc_set_lh = NULL; NULL 2926 lib/pacemaker/pcmk_sched_constraints.c *expanded_xml = NULL; NULL 2928 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); NULL 2931 lib/pacemaker/pcmk_sched_constraints.c if (id == NULL) { NULL 2947 lib/pacemaker/pcmk_sched_constraints.c if (id_lh == NULL) { NULL 2994 lib/pacemaker/pcmk_sched_constraints.c xmlNode *set = NULL; NULL 2997 lib/pacemaker/pcmk_sched_constraints.c const char *id = NULL; NULL 3001 lib/pacemaker/pcmk_sched_constraints.c pe_ticket_t *ticket = NULL; NULL 3003 lib/pacemaker/pcmk_sched_constraints.c xmlNode *orig_xml = NULL; NULL 3004 lib/pacemaker/pcmk_sched_constraints.c xmlNode *expanded_xml = NULL; NULL 3008 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); NULL 3011 lib/pacemaker/pcmk_sched_constraints.c if (id == NULL) { NULL 3017 lib/pacemaker/pcmk_sched_constraints.c if (data_set->tickets == NULL) { NULL 3022 lib/pacemaker/pcmk_sched_constraints.c if (ticket_str == NULL) { NULL 3029 lib/pacemaker/pcmk_sched_constraints.c if (ticket == NULL) { NULL 3031 lib/pacemaker/pcmk_sched_constraints.c if (ticket == NULL) { NULL 3045 lib/pacemaker/pcmk_sched_constraints.c for (set = pcmk__xe_first_child(xml_obj); set != NULL; NULL 31 lib/pacemaker/pcmk_sched_graph.c flags = action->rsc->cmds->action_flags(action, NULL); NULL 65 lib/pacemaker/pcmk_sched_graph.c char *uuid = NULL; NULL 66 lib/pacemaker/pcmk_sched_graph.c char *rid = NULL; NULL 67 lib/pacemaker/pcmk_sched_graph.c char *raw_task = NULL; NULL 72 lib/pacemaker/pcmk_sched_graph.c if (old_uuid == NULL) { NULL 73 lib/pacemaker/pcmk_sched_graph.c return NULL; NULL 75 lib/pacemaker/pcmk_sched_graph.c } else if (strstr(old_uuid, "notify") != NULL) { NULL 124 lib/pacemaker/pcmk_sched_graph.c if (uuid == NULL) { NULL 144 lib/pacemaker/pcmk_sched_graph.c if (rsc == NULL) { NULL 148 lib/pacemaker/pcmk_sched_graph.c if ((rsc->parent == NULL) NULL 158 lib/pacemaker/pcmk_sched_graph.c char *uuid = NULL; NULL 164 lib/pacemaker/pcmk_sched_graph.c result = find_first_action(rsc->actions, uuid, NULL, NULL); NULL 165 lib/pacemaker/pcmk_sched_graph.c if (result == NULL) { NULL 315 lib/pacemaker/pcmk_sched_graph.c && (first->rsc->running_on != NULL)) { NULL 462 lib/pacemaker/pcmk_sched_graph.c for (; gIter != NULL; gIter = gIter->next) { NULL 469 lib/pacemaker/pcmk_sched_graph.c pe_action_set_flag_reason(__func__, __LINE__, action, NULL, NULL 481 lib/pacemaker/pcmk_sched_graph.c GListPtr gIter = NULL; NULL 482 lib/pacemaker/pcmk_sched_graph.c pe_resource_t *rsc = NULL; NULL 498 lib/pacemaker/pcmk_sched_graph.c if (rsc == NULL || rsc->rsc_cons_lhs == NULL) { NULL 504 lib/pacemaker/pcmk_sched_graph.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 506 lib/pacemaker/pcmk_sched_graph.c pe_action_t *start = find_first_action(child->actions, NULL, RSC_START, NULL); NULL 507 lib/pacemaker/pcmk_sched_graph.c if ((start == NULL) || pcmk_is_set(start->flags, pe_action_runnable)) { NULL 512 lib/pacemaker/pcmk_sched_graph.c for (gIter = rsc->rsc_cons_lhs; gIter != NULL; gIter = gIter->next) { NULL 523 lib/pacemaker/pcmk_sched_graph.c GListPtr lpc = NULL; NULL 557 lib/pacemaker/pcmk_sched_graph.c for (lpc = then->actions_before; lpc != NULL; lpc = lpc->next) { NULL 568 lib/pacemaker/pcmk_sched_graph.c first_node = first->rsc->fns->location(first->rsc, NULL, FALSE); NULL 575 lib/pacemaker/pcmk_sched_graph.c then_node = then->rsc->fns->location(then->rsc, NULL, FALSE); NULL 582 lib/pacemaker/pcmk_sched_graph.c && (first_node != NULL) && (then_node != NULL) NULL 668 lib/pacemaker/pcmk_sched_graph.c GListPtr lpc2 = NULL; NULL 676 lib/pacemaker/pcmk_sched_graph.c for (lpc2 = first->actions_after; lpc2 != NULL; lpc2 = lpc2->next) { NULL 706 lib/pacemaker/pcmk_sched_graph.c for (lpc = then->actions_after; lpc != NULL; lpc = lpc->next) { NULL 722 lib/pacemaker/pcmk_sched_graph.c GListPtr lpc = NULL; NULL 724 lib/pacemaker/pcmk_sched_graph.c for (lpc = data_set->actions; lpc != NULL; lpc = lpc->next) { NULL 727 lib/pacemaker/pcmk_sched_graph.c if (action->rsc == NULL || action->node == NULL) { NULL 752 lib/pacemaker/pcmk_sched_graph.c custom_action_order(action->rsc, NULL, action, NULL 753 lib/pacemaker/pcmk_sched_graph.c NULL, strdup(CRM_OP_SHUTDOWN), shutdown_op, NULL 775 lib/pacemaker/pcmk_sched_graph.c for (GList *r = data_set->resources; r != NULL; r = r->next) { NULL 783 lib/pacemaker/pcmk_sched_graph.c pe_node_t *began_on = NULL; NULL 784 lib/pacemaker/pcmk_sched_graph.c pe_node_t *ended_on = NULL; NULL 785 lib/pacemaker/pcmk_sched_graph.c pe_node_t *router_node = NULL; NULL 791 lib/pacemaker/pcmk_sched_graph.c return NULL; NULL 794 lib/pacemaker/pcmk_sched_graph.c CRM_ASSERT(action->node->details->remote_rsc != NULL); NULL 799 lib/pacemaker/pcmk_sched_graph.c && (action->node->details->remote_rsc->container == NULL) NULL 842 lib/pacemaker/pcmk_sched_graph.c NULL) && !partial_migration) { NULL 893 lib/pacemaker/pcmk_sched_graph.c GListPtr gIter = NULL; NULL 895 lib/pacemaker/pcmk_sched_graph.c xml?create_xml_node(xml, XML_GRAPH_TAG_MAINTENANCE):NULL; NULL 898 lib/pacemaker/pcmk_sched_graph.c for (gIter = data_set->nodes; gIter != NULL; NULL 930 lib/pacemaker/pcmk_sched_graph.c pe_action_t *action = NULL; NULL 932 lib/pacemaker/pcmk_sched_graph.c if (add_maintenance_nodes(NULL, data_set)) { NULL 968 lib/pacemaker/pcmk_sched_graph.c if (pcmk__strcase_any_of(fence, "off", "reboot", NULL)) { NULL 984 lib/pacemaker/pcmk_sched_graph.c for (iter = action->actions_before; iter != NULL; iter = iter->next) { NULL 1003 lib/pacemaker/pcmk_sched_graph.c if ((action->rsc->lock_node == NULL) || (action->node == NULL) NULL 1024 lib/pacemaker/pcmk_sched_graph.c xmlNode *action_xml = NULL; NULL 1025 lib/pacemaker/pcmk_sched_graph.c xmlNode *args_xml = NULL; NULL 1027 lib/pacemaker/pcmk_sched_graph.c pe_rsc_action_details_t *rsc_details = NULL; NULL 1030 lib/pacemaker/pcmk_sched_graph.c if (action == NULL) { NULL 1031 lib/pacemaker/pcmk_sched_graph.c return NULL; NULL 1036 lib/pacemaker/pcmk_sched_graph.c action_xml = create_xml_node(NULL, NULL 1042 lib/pacemaker/pcmk_sched_graph.c action_xml = create_xml_node(NULL, XML_GRAPH_TAG_CRM_EVENT); NULL 1045 lib/pacemaker/pcmk_sched_graph.c action_xml = create_xml_node(NULL, XML_GRAPH_TAG_CRM_EVENT); NULL 1048 lib/pacemaker/pcmk_sched_graph.c action_xml = create_xml_node(NULL, XML_GRAPH_TAG_CRM_EVENT); NULL 1052 lib/pacemaker/pcmk_sched_graph.c action_xml = create_xml_node(NULL, XML_GRAPH_TAG_CRM_EVENT); NULL 1062 lib/pacemaker/pcmk_sched_graph.c action_xml = create_xml_node(NULL, XML_GRAPH_TAG_PSEUDO_EVENT); NULL 1066 lib/pacemaker/pcmk_sched_graph.c action_xml = create_xml_node(NULL, XML_GRAPH_TAG_RSC_OP); NULL 1075 lib/pacemaker/pcmk_sched_graph.c if (action->rsc != NULL && action->rsc->clone_name != NULL) { NULL 1076 lib/pacemaker/pcmk_sched_graph.c char *clone_key = NULL; NULL 1089 lib/pacemaker/pcmk_sched_graph.c CRM_CHECK(n_type != NULL, crm_err("No notify type value found for %s", action->uuid)); NULL 1090 lib/pacemaker/pcmk_sched_graph.c CRM_CHECK(n_task != NULL, NULL 1103 lib/pacemaker/pcmk_sched_graph.c CRM_CHECK(clone_key != NULL, crm_err("Could not generate a key for %s", action->uuid)); NULL 1112 lib/pacemaker/pcmk_sched_graph.c if (needs_node_info && action->node != NULL) { NULL 1132 lib/pacemaker/pcmk_sched_graph.c xmlNode *rsc_xml = NULL; NULL 1196 lib/pacemaker/pcmk_sched_graph.c CRM_ASSERT(action->rsc->clone_name == NULL); NULL 1207 lib/pacemaker/pcmk_sched_graph.c args_xml = create_xml_node(NULL, XML_TAG_ATTRS); NULL 1211 lib/pacemaker/pcmk_sched_graph.c if (action->rsc != NULL && action->node) { NULL 1220 lib/pacemaker/pcmk_sched_graph.c xmlNode *versioned_parameters = create_xml_node(NULL, XML_TAG_RSC_VER_ATTRS); NULL 1254 lib/pacemaker/pcmk_sched_graph.c if (action->rsc != NULL) { NULL 1258 lib/pacemaker/pcmk_sched_graph.c while (parent != NULL) { NULL 1269 lib/pacemaker/pcmk_sched_graph.c pe_node_t *host = NULL; NULL 1319 lib/pacemaker/pcmk_sched_graph.c if (needs_node_info && (action->node != NULL)) { NULL 1334 lib/pacemaker/pcmk_sched_graph.c CRM_CHECK(action != NULL, return false); NULL 1342 lib/pacemaker/pcmk_sched_graph.c GListPtr lpc = NULL; NULL 1359 lib/pacemaker/pcmk_sched_graph.c for (lpc = action->actions_after; lpc != NULL; lpc = lpc->next) { NULL 1404 lib/pacemaker/pcmk_sched_graph.c pcmk__strcase_any_of(action->task, CRM_OP_FENCE, CRM_OP_SHUTDOWN, NULL)) { NULL 1409 lib/pacemaker/pcmk_sched_graph.c if (action->node == NULL) { NULL 1455 lib/pacemaker/pcmk_sched_graph.c if (a == NULL) { NULL 1458 lib/pacemaker/pcmk_sched_graph.c if (b == NULL) { NULL 1564 lib/pacemaker/pcmk_sched_graph.c if ((input_node == NULL) || (allocated == NULL) NULL 1576 lib/pacemaker/pcmk_sched_graph.c } else if ((input_node == NULL) || (action->node == NULL) NULL 1694 lib/pacemaker/pcmk_sched_graph.c iter != NULL; iter = iter->next) { NULL 1754 lib/pacemaker/pcmk_sched_graph.c GList *item = NULL; NULL 1755 lib/pacemaker/pcmk_sched_graph.c GList *next = NULL; NULL 1756 lib/pacemaker/pcmk_sched_graph.c pe_action_wrapper_t *last_input = NULL; NULL 1760 lib/pacemaker/pcmk_sched_graph.c for (item = action->actions_before; item != NULL; item = next) { NULL 1806 lib/pacemaker/pcmk_sched_graph.c GList *lpc = NULL; NULL 1808 lib/pacemaker/pcmk_sched_graph.c xmlNode *syn = NULL; NULL 1809 lib/pacemaker/pcmk_sched_graph.c xmlNode *set = NULL; NULL 1810 lib/pacemaker/pcmk_sched_graph.c xmlNode *in = NULL; NULL 1811 lib/pacemaker/pcmk_sched_graph.c xmlNode *xml_action = NULL; NULL 1812 lib/pacemaker/pcmk_sched_graph.c pe_action_wrapper_t *input = NULL; NULL 1835 lib/pacemaker/pcmk_sched_graph.c if (action->rsc != NULL) { NULL 1848 lib/pacemaker/pcmk_sched_graph.c for (lpc = action->actions_before; lpc != NULL; lpc = lpc->next) { NULL 23 lib/pacemaker/pcmk_sched_group.c pe_node_t *node = NULL; NULL 24 lib/pacemaker/pcmk_sched_group.c pe_node_t *group_node = NULL; NULL 25 lib/pacemaker/pcmk_sched_group.c GListPtr gIter = NULL; NULL 26 lib/pacemaker/pcmk_sched_group.c group_variant_data_t *group_data = NULL; NULL 35 lib/pacemaker/pcmk_sched_group.c return NULL; NULL 38 lib/pacemaker/pcmk_sched_group.c if (group_data->first_child == NULL) { NULL 41 lib/pacemaker/pcmk_sched_group.c return NULL; NULL 49 lib/pacemaker/pcmk_sched_group.c rsc->rsc_cons = NULL; NULL 53 lib/pacemaker/pcmk_sched_group.c rsc->rsc_cons_lhs = NULL; NULL 58 lib/pacemaker/pcmk_sched_group.c for (; gIter != NULL; gIter = gIter->next) { NULL 64 lib/pacemaker/pcmk_sched_group.c if (group_node == NULL) { NULL 75 lib/pacemaker/pcmk_sched_group.c return NULL; NULL 83 lib/pacemaker/pcmk_sched_group.c pe_action_t *op = NULL; NULL 84 lib/pacemaker/pcmk_sched_group.c const char *value = NULL; NULL 89 lib/pacemaker/pcmk_sched_group.c for (; gIter != NULL; gIter = gIter->next) { NULL 96 lib/pacemaker/pcmk_sched_group.c op = start_action(rsc, NULL, TRUE /* !group_data->child_starting */ ); NULL 100 lib/pacemaker/pcmk_sched_group.c RSC_STARTED, NULL, TRUE /* !group_data->child_starting */ , TRUE, data_set); NULL 103 lib/pacemaker/pcmk_sched_group.c op = stop_action(rsc, NULL, TRUE /* !group_data->child_stopping */ ); NULL 107 lib/pacemaker/pcmk_sched_group.c RSC_STOPPED, NULL, TRUE /* !group_data->child_stopping */ , TRUE, data_set); NULL 112 lib/pacemaker/pcmk_sched_group.c op = custom_action(rsc, demote_key(rsc), RSC_DEMOTE, NULL, TRUE, TRUE, data_set); NULL 115 lib/pacemaker/pcmk_sched_group.c op = custom_action(rsc, demoted_key(rsc), RSC_DEMOTED, NULL, TRUE, TRUE, data_set); NULL 118 lib/pacemaker/pcmk_sched_group.c op = custom_action(rsc, promote_key(rsc), RSC_PROMOTE, NULL, TRUE, TRUE, data_set); NULL 121 lib/pacemaker/pcmk_sched_group.c op = custom_action(rsc, promoted_key(rsc), RSC_PROMOTED, NULL, TRUE, TRUE, data_set); NULL 130 lib/pacemaker/pcmk_sched_group.c group_variant_data_t *group_data = NULL; NULL 143 lib/pacemaker/pcmk_sched_group.c for (; gIter != NULL; gIter = gIter->next) { NULL 167 lib/pacemaker/pcmk_sched_group.c pe_resource_t *last_rsc = NULL; NULL 168 lib/pacemaker/pcmk_sched_group.c pe_resource_t *last_active = NULL; NULL 170 lib/pacemaker/pcmk_sched_group.c group_variant_data_t *group_data = NULL; NULL 178 lib/pacemaker/pcmk_sched_group.c for (; gIter != NULL; gIter = gIter->next) { NULL 188 lib/pacemaker/pcmk_sched_group.c if (last_rsc == NULL) { NULL 195 lib/pacemaker/pcmk_sched_group.c rsc_colocation_new("group:internal_colocation", NULL, INFINITY, NULL 196 lib/pacemaker/pcmk_sched_group.c child_rsc, last_rsc, NULL, NULL, data_set); NULL 226 lib/pacemaker/pcmk_sched_group.c } else if (last_rsc != NULL) { NULL 260 lib/pacemaker/pcmk_sched_group.c && last_rsc->running_on == NULL && last_active && last_active->running_on) { NULL 269 lib/pacemaker/pcmk_sched_group.c if (group_data->ordered && last_rsc != NULL) { NULL 288 lib/pacemaker/pcmk_sched_group.c GListPtr gIter = NULL; NULL 289 lib/pacemaker/pcmk_sched_group.c group_variant_data_t *group_data = NULL; NULL 291 lib/pacemaker/pcmk_sched_group.c if (rsc_lh == NULL) { NULL 295 lib/pacemaker/pcmk_sched_group.c } else if (rsc_rh == NULL) { NULL 321 lib/pacemaker/pcmk_sched_group.c for (; gIter != NULL; gIter = gIter->next) { NULL 335 lib/pacemaker/pcmk_sched_group.c group_variant_data_t *group_data = NULL; NULL 372 lib/pacemaker/pcmk_sched_group.c for (; gIter != NULL; gIter = gIter->next) { NULL 383 lib/pacemaker/pcmk_sched_group.c GListPtr gIter = NULL; NULL 386 lib/pacemaker/pcmk_sched_group.c for (gIter = action->rsc->children; gIter != NULL; gIter = gIter->next) { NULL 390 lib/pacemaker/pcmk_sched_group.c pe_action_t *child_action = find_first_action(child->actions, NULL, task_s, node); NULL 433 lib/pacemaker/pcmk_sched_group.c CRM_ASSERT(then->rsc != NULL); NULL 437 lib/pacemaker/pcmk_sched_group.c for (; gIter != NULL; gIter = gIter->next) { NULL 439 lib/pacemaker/pcmk_sched_group.c pe_action_t *child_action = find_first_action(child->actions, NULL, then->task, node); NULL 458 lib/pacemaker/pcmk_sched_group.c group_variant_data_t *group_data = NULL; NULL 466 lib/pacemaker/pcmk_sched_group.c for (; gIter != NULL; gIter = gIter->next) { NULL 483 lib/pacemaker/pcmk_sched_group.c CRM_CHECK(rsc != NULL, return); NULL 488 lib/pacemaker/pcmk_sched_group.c for (GListPtr gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 501 lib/pacemaker/pcmk_sched_group.c group_variant_data_t *group_data = NULL; NULL 516 lib/pacemaker/pcmk_sched_group.c for (; gIter != NULL; gIter = gIter->next) { NULL 32 lib/pacemaker/pcmk_sched_messages.c pcmk__output_t *out = NULL; NULL 33 lib/pacemaker/pcmk_sched_messages.c const char* argv[] = { "", NULL }; NULL 34 lib/pacemaker/pcmk_sched_messages.c GListPtr all = NULL; NULL 37 lib/pacemaker/pcmk_sched_messages.c { NULL, NULL, NULL } NULL 47 lib/pacemaker/pcmk_sched_messages.c pcmk__register_formats(NULL, formats); NULL 48 lib/pacemaker/pcmk_sched_messages.c rc = pcmk__output_new(&out, "log", NULL, (char**)argv); NULL 49 lib/pacemaker/pcmk_sched_messages.c if ((rc != pcmk_rc_ok) || (out == NULL)) { NULL 56 lib/pacemaker/pcmk_sched_messages.c for (GList *item = data_set->resources; item != NULL; item = item->next) { NULL 82 lib/pacemaker/pcmk_sched_messages.c GListPtr gIter = NULL; NULL 97 lib/pacemaker/pcmk_sched_messages.c if (data_set->now == NULL) { NULL 98 lib/pacemaker/pcmk_sched_messages.c data_set->now = crm_time_new(NULL); NULL 111 lib/pacemaker/pcmk_sched_messages.c return NULL; NULL 136 lib/pacemaker/pcmk_sched_messages.c for (; gIter != NULL; gIter = gIter->next) { NULL 85 lib/pacemaker/pcmk_sched_native.c GListPtr nodes = NULL; NULL 86 lib/pacemaker/pcmk_sched_native.c pe_node_t *chosen = NULL; NULL 87 lib/pacemaker/pcmk_sched_native.c pe_node_t *best = NULL; NULL 113 lib/pacemaker/pcmk_sched_native.c if (chosen == NULL) { NULL 126 lib/pacemaker/pcmk_sched_native.c chosen = NULL; NULL 131 lib/pacemaker/pcmk_sched_native.c chosen = NULL; NULL 140 lib/pacemaker/pcmk_sched_native.c if ((chosen == NULL) && nodes) { NULL 211 lib/pacemaker/pcmk_sched_native.c pe_node_t *node = NULL; NULL 213 lib/pacemaker/pcmk_sched_native.c const char *best_node = NULL; NULL 217 lib/pacemaker/pcmk_sched_native.c while (g_hash_table_iter_next(&iter, NULL, (void **) &node)) { NULL 228 lib/pacemaker/pcmk_sched_native.c if (best_node == NULL) { NULL 260 lib/pacemaker/pcmk_sched_native.c pe_node_t *node = NULL; NULL 262 lib/pacemaker/pcmk_sched_native.c if (attr == NULL) { NULL 268 lib/pacemaker/pcmk_sched_native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 338 lib/pacemaker/pcmk_sched_native.c return rsc && (rsc->variant == pe_group) && (rsc->children != NULL); NULL 361 lib/pacemaker/pcmk_sched_native.c GHashTable *work = NULL; NULL 378 lib/pacemaker/pcmk_sched_native.c work = pcmk__native_merge_weights(last_rsc, rhs, NULL, attr, factor, NULL 411 lib/pacemaker/pcmk_sched_native.c GListPtr gIter = NULL; NULL 435 lib/pacemaker/pcmk_sched_native.c for (; gIter != NULL; gIter = gIter->next) { NULL 436 lib/pacemaker/pcmk_sched_native.c pe_resource_t *other = NULL; NULL 456 lib/pacemaker/pcmk_sched_native.c pe__show_node_weights(true, NULL, rhs, work); NULL 469 lib/pacemaker/pcmk_sched_native.c pe_node_t *node = NULL; NULL 473 lib/pacemaker/pcmk_sched_native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 507 lib/pacemaker/pcmk_sched_native.c GListPtr gIter = NULL; NULL 522 lib/pacemaker/pcmk_sched_native.c return NULL; NULL 528 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->rsc_cons; gIter != NULL; gIter = gIter->next) { NULL 531 lib/pacemaker/pcmk_sched_native.c GHashTable *archive = NULL; NULL 547 lib/pacemaker/pcmk_sched_native.c rsc_rh->cmds->allocate(rsc_rh, NULL, data_set); NULL 553 lib/pacemaker/pcmk_sched_native.c archive = NULL; NULL 562 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->rsc_cons_lhs; gIter != NULL; gIter = gIter->next) { NULL 581 lib/pacemaker/pcmk_sched_native.c resource_location(rsc, NULL, -INFINITY, XML_RSC_ATTR_TARGET_ROLE, data_set); NULL 598 lib/pacemaker/pcmk_sched_native.c const char *reason = NULL; NULL 599 lib/pacemaker/pcmk_sched_native.c pe_node_t *assign_to = NULL; NULL 603 lib/pacemaker/pcmk_sched_native.c if (assign_to == NULL) { NULL 614 lib/pacemaker/pcmk_sched_native.c native_assign_node(rsc, NULL, assign_to, TRUE); NULL 618 lib/pacemaker/pcmk_sched_native.c native_assign_node(rsc, NULL, NULL, TRUE); NULL 625 lib/pacemaker/pcmk_sched_native.c } else if (rsc->allocated_to == NULL) { NULL 628 lib/pacemaker/pcmk_sched_native.c } else if (rsc->running_on != NULL) { NULL 642 lib/pacemaker/pcmk_sched_native.c CRM_ASSERT(remote_node != NULL); NULL 668 lib/pacemaker/pcmk_sched_native.c const char *id = NULL; NULL 669 lib/pacemaker/pcmk_sched_native.c const char *value = NULL; NULL 670 lib/pacemaker/pcmk_sched_native.c xmlNode *operation = NULL; NULL 674 lib/pacemaker/pcmk_sched_native.c for (operation = pcmk__xe_first_child(rsc->ops_xml); operation != NULL; NULL 689 lib/pacemaker/pcmk_sched_native.c if (id == NULL) { NULL 707 lib/pacemaker/pcmk_sched_native.c return pcmk__strcase_any_of(name, RSC_STOP, RSC_START, RSC_DEMOTE, RSC_PROMOTE, NULL); NULL 714 lib/pacemaker/pcmk_sched_native.c char *key = NULL; NULL 715 lib/pacemaker/pcmk_sched_native.c const char *name = NULL; NULL 716 lib/pacemaker/pcmk_sched_native.c const char *role = NULL; NULL 717 lib/pacemaker/pcmk_sched_native.c const char *interval_spec = NULL; NULL 721 lib/pacemaker/pcmk_sched_native.c pe_action_t *mon = NULL; NULL 723 lib/pacemaker/pcmk_sched_native.c GListPtr possible_matches = NULL; NULL 753 lib/pacemaker/pcmk_sched_native.c if (find_rsc_op_entry(rsc, key) == NULL) { NULL 763 lib/pacemaker/pcmk_sched_native.c if (start != NULL) { NULL 767 lib/pacemaker/pcmk_sched_native.c is_optional = (rsc->cmds->action_flags(start, NULL) & pe_action_optional); NULL 775 lib/pacemaker/pcmk_sched_native.c if (possible_matches == NULL) { NULL 780 lib/pacemaker/pcmk_sched_native.c GListPtr gIter = NULL; NULL 782 lib/pacemaker/pcmk_sched_native.c for (gIter = possible_matches; gIter != NULL; gIter = gIter->next) { NULL 793 lib/pacemaker/pcmk_sched_native.c if ((rsc->next_role == RSC_ROLE_MASTER && role == NULL) NULL 794 lib/pacemaker/pcmk_sched_native.c || (role != NULL && text2role(role) != rsc->next_role)) { NULL 799 lib/pacemaker/pcmk_sched_native.c char *after_key = NULL; NULL 800 lib/pacemaker/pcmk_sched_native.c pe_action_t *cancel_op = NULL; NULL 826 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, NULL, cancel_op, rsc, after_key, NULL, NULL 845 lib/pacemaker/pcmk_sched_native.c if ((start == NULL) || !pcmk_is_set(start->flags, pe_action_runnable)) { NULL 851 lib/pacemaker/pcmk_sched_native.c } else if (node == NULL || node->details->online == FALSE || node->details->unclean) { NULL 869 lib/pacemaker/pcmk_sched_native.c if ((node == NULL) || pcmk_is_set(rsc->flags, pe_rsc_managed)) { NULL 870 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, start_key(rsc), NULL, NULL 871 lib/pacemaker/pcmk_sched_native.c NULL, strdup(key), mon, NULL 874 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, reload_key(rsc), NULL, NULL 875 lib/pacemaker/pcmk_sched_native.c NULL, strdup(key), mon, NULL 879 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, promote_key(rsc), NULL, NULL 880 lib/pacemaker/pcmk_sched_native.c rsc, NULL, mon, NULL 884 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, demote_key(rsc), NULL, NULL 885 lib/pacemaker/pcmk_sched_native.c rsc, NULL, mon, NULL 895 lib/pacemaker/pcmk_sched_native.c (node == NULL || node->details->maintenance == FALSE)) { NULL 896 lib/pacemaker/pcmk_sched_native.c xmlNode *operation = NULL; NULL 899 lib/pacemaker/pcmk_sched_native.c operation != NULL; NULL 913 lib/pacemaker/pcmk_sched_native.c char *key = NULL; NULL 914 lib/pacemaker/pcmk_sched_native.c const char *name = NULL; NULL 915 lib/pacemaker/pcmk_sched_native.c const char *role = NULL; NULL 916 lib/pacemaker/pcmk_sched_native.c const char *interval_spec = NULL; NULL 920 lib/pacemaker/pcmk_sched_native.c GListPtr possible_matches = NULL; NULL 921 lib/pacemaker/pcmk_sched_native.c GListPtr gIter = NULL; NULL 925 lib/pacemaker/pcmk_sched_native.c if (role == NULL || text2role(role) != RSC_ROLE_STOPPED) { NULL 949 lib/pacemaker/pcmk_sched_native.c if (find_rsc_op_entry(rsc, key) == NULL) { NULL 969 lib/pacemaker/pcmk_sched_native.c if (node != NULL) { NULL 972 lib/pacemaker/pcmk_sched_native.c pe_action_t *cancel_op = NULL; NULL 981 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, NULL, cancel_op, rsc, start_key(rsc), NULL, NULL 990 lib/pacemaker/pcmk_sched_native.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 996 lib/pacemaker/pcmk_sched_native.c pe_action_t *stopped_mon = NULL; NULL 997 lib/pacemaker/pcmk_sched_native.c char *rc_inactive = NULL; NULL 998 lib/pacemaker/pcmk_sched_native.c GListPtr probe_complete_ops = NULL; NULL 999 lib/pacemaker/pcmk_sched_native.c GListPtr stop_ops = NULL; NULL 1000 lib/pacemaker/pcmk_sched_native.c GListPtr local_gIter = NULL; NULL 1011 lib/pacemaker/pcmk_sched_native.c if (possible_matches == NULL) { NULL 1031 lib/pacemaker/pcmk_sched_native.c GListPtr pIter = NULL; NULL 1033 lib/pacemaker/pcmk_sched_native.c for (pIter = probes; pIter != NULL; pIter = pIter->next) { NULL 1049 lib/pacemaker/pcmk_sched_native.c for (local_gIter = stop_ops; local_gIter != NULL; local_gIter = local_gIter->next) { NULL 1065 lib/pacemaker/pcmk_sched_native.c NULL, strdup(key), stopped_mon, NULL 1108 lib/pacemaker/pcmk_sched_native.c (node == NULL || node->details->maintenance == FALSE)) { NULL 1109 lib/pacemaker/pcmk_sched_native.c xmlNode *operation = NULL; NULL 1112 lib/pacemaker/pcmk_sched_native.c operation != NULL; NULL 1125 lib/pacemaker/pcmk_sched_native.c pe_action_t *migrate_to = NULL; NULL 1126 lib/pacemaker/pcmk_sched_native.c pe_action_t *migrate_from = NULL; NULL 1127 lib/pacemaker/pcmk_sched_native.c pe_action_t *start = NULL; NULL 1128 lib/pacemaker/pcmk_sched_native.c pe_action_t *stop = NULL; NULL 1157 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, pcmk__op_key(rsc->id, RSC_STATUS, 0), NULL, NULL 1159 lib/pacemaker/pcmk_sched_native.c NULL, pe_order_optional, data_set); NULL 1166 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, pcmk__op_key(rsc->id, RSC_STATUS, 0), NULL, NULL 1168 lib/pacemaker/pcmk_sched_native.c NULL, pe_order_optional, data_set); NULL 1170 lib/pacemaker/pcmk_sched_native.c NULL, rsc, NULL 1171 lib/pacemaker/pcmk_sched_native.c pcmk__op_key(rsc->id, RSC_MIGRATED, 0), NULL, NULL 1176 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, pcmk__op_key(rsc->id, RSC_MIGRATED, 0), NULL, NULL 1177 lib/pacemaker/pcmk_sched_native.c rsc, pcmk__op_key(rsc->id, RSC_STOP, 0), NULL, NULL 1180 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, pcmk__op_key(rsc->id, RSC_MIGRATED, 0), NULL, NULL 1181 lib/pacemaker/pcmk_sched_native.c rsc, pcmk__op_key(rsc->id, RSC_START, 0), NULL, NULL 1214 lib/pacemaker/pcmk_sched_native.c pe_action_t *start = NULL; NULL 1215 lib/pacemaker/pcmk_sched_native.c pe_node_t *chosen = NULL; NULL 1216 lib/pacemaker/pcmk_sched_native.c pe_node_t *current = NULL; NULL 1222 lib/pacemaker/pcmk_sched_native.c GListPtr gIter = NULL; NULL 1233 lib/pacemaker/pcmk_sched_native.c rsc->next_role = (chosen == NULL)? RSC_ROLE_STOPPED : RSC_ROLE_STARTED; NULL 1238 lib/pacemaker/pcmk_sched_native.c ((chosen == NULL)? "no node" : chosen->details->uname)); NULL 1242 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->dangling_migrations; gIter != NULL; gIter = gIter->next) { NULL 1245 lib/pacemaker/pcmk_sched_native.c pe_action_t *stop = NULL; NULL 1307 lib/pacemaker/pcmk_sched_native.c rsc->partial_migration_source = rsc->partial_migration_target = NULL; NULL 1340 lib/pacemaker/pcmk_sched_native.c } else if (rsc->role > RSC_ROLE_STARTED && current != NULL && chosen != NULL) { NULL 1414 lib/pacemaker/pcmk_sched_native.c Recurring_Stopped(rsc, NULL, NULL, data_set); NULL 1420 lib/pacemaker/pcmk_sched_native.c if (rsc->partial_migration_target && (chosen == NULL || rsc->partial_migration_target->details != chosen->details)) { NULL 1443 lib/pacemaker/pcmk_sched_native.c pe_node_t *node = NULL; NULL 1445 lib/pacemaker/pcmk_sched_native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 1469 lib/pacemaker/pcmk_sched_native.c GList *allowed_nodes = NULL; NULL 1486 lib/pacemaker/pcmk_sched_native.c pe_resource_t *top = NULL; NULL 1487 lib/pacemaker/pcmk_sched_native.c GList *allowed_nodes = NULL; NULL 1511 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, pcmk__op_key(rsc->id, RSC_STOP, 0), NULL, NULL 1512 lib/pacemaker/pcmk_sched_native.c rsc, pcmk__op_key(rsc->id, RSC_START, 0), NULL, NULL 1520 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, pcmk__op_key(rsc->id, RSC_DEMOTE, 0), NULL, NULL 1521 lib/pacemaker/pcmk_sched_native.c rsc, pcmk__op_key(rsc->id, RSC_STOP, 0), NULL, NULL 1524 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, pcmk__op_key(rsc->id, RSC_START, 0), NULL, NULL 1525 lib/pacemaker/pcmk_sched_native.c rsc, pcmk__op_key(rsc->id, RSC_PROMOTE, 0), NULL, NULL 1531 lib/pacemaker/pcmk_sched_native.c NULL, rsc, pcmk__op_key(rsc->id, RSC_STATUS, 0), NULL 1532 lib/pacemaker/pcmk_sched_native.c NULL, pe_order_same_node|pe_order_then_cancels_first, NULL 1545 lib/pacemaker/pcmk_sched_native.c pe_action_t *unfence = pe_fence_op(node, "on", TRUE, NULL, FALSE, data_set); NULL 1565 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, stop_key(rsc), NULL, NULL 1566 lib/pacemaker/pcmk_sched_native.c NULL, strdup(unfence->uuid), unfence, NULL 1569 lib/pacemaker/pcmk_sched_native.c custom_action_order(NULL, strdup(unfence->uuid), unfence, NULL 1570 lib/pacemaker/pcmk_sched_native.c rsc, start_key(rsc), NULL, NULL 1577 lib/pacemaker/pcmk_sched_native.c GListPtr gIter = NULL; NULL 1582 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->running_on; gIter != NULL; gIter = gIter->next) { NULL 1589 lib/pacemaker/pcmk_sched_native.c if (load_stopped->node == NULL) { NULL 1595 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, stop_key(rsc), NULL, NULL 1596 lib/pacemaker/pcmk_sched_native.c NULL, load_stopped_task, load_stopped, pe_order_load, data_set); NULL 1605 lib/pacemaker/pcmk_sched_native.c if (load_stopped->node == NULL) { NULL 1611 lib/pacemaker/pcmk_sched_native.c custom_action_order(NULL, strdup(load_stopped_task), load_stopped, NULL 1612 lib/pacemaker/pcmk_sched_native.c rsc, start_key(rsc), NULL, pe_order_load, data_set); NULL 1614 lib/pacemaker/pcmk_sched_native.c custom_action_order(NULL, strdup(load_stopped_task), load_stopped, NULL 1616 lib/pacemaker/pcmk_sched_native.c NULL, pe_order_load, data_set); NULL 1623 lib/pacemaker/pcmk_sched_native.c pe_resource_t *remote_rsc = NULL; NULL 1683 lib/pacemaker/pcmk_sched_native.c NULL, rsc, pcmk__op_key(rsc->id, RSC_START, 0), NULL 1684 lib/pacemaker/pcmk_sched_native.c NULL, NULL 1688 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, pcmk__op_key(rsc->id, RSC_STOP, 0), NULL, NULL 1691 lib/pacemaker/pcmk_sched_native.c NULL, pe_order_implies_first, data_set); NULL 1698 lib/pacemaker/pcmk_sched_native.c rsc_colocation_new("resource-with-container", NULL, score, rsc, NULL 1699 lib/pacemaker/pcmk_sched_native.c rsc->container, NULL, NULL, data_set); NULL 1716 lib/pacemaker/pcmk_sched_native.c if (rsc_lh == NULL) { NULL 1720 lib/pacemaker/pcmk_sched_native.c } else if (constraint->rsc_rh == NULL) { NULL 1760 lib/pacemaker/pcmk_sched_native.c if (rsc_lh->allocated_to == NULL) { NULL 1768 lib/pacemaker/pcmk_sched_native.c if ((rh_node == NULL) NULL 1779 lib/pacemaker/pcmk_sched_native.c if ((rh_node != NULL) NULL 1822 lib/pacemaker/pcmk_sched_native.c const char *rh_value = NULL; NULL 1823 lib/pacemaker/pcmk_sched_native.c const char *lh_value = NULL; NULL 1834 lib/pacemaker/pcmk_sched_native.c if (constraint->node_attribute != NULL) { NULL 1864 lib/pacemaker/pcmk_sched_native.c const char *value = NULL; NULL 1865 lib/pacemaker/pcmk_sched_native.c GHashTable *work = NULL; NULL 1867 lib/pacemaker/pcmk_sched_native.c pe_node_t *node = NULL; NULL 1872 lib/pacemaker/pcmk_sched_native.c if (constraint->node_attribute != NULL) { NULL 1887 lib/pacemaker/pcmk_sched_native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 1888 lib/pacemaker/pcmk_sched_native.c if (rsc_rh->allocated_to == NULL) { NULL 1914 lib/pacemaker/pcmk_sched_native.c work = NULL; NULL 1969 lib/pacemaker/pcmk_sched_native.c if (rsc_ticket == NULL) { NULL 1974 lib/pacemaker/pcmk_sched_native.c if (rsc_lh == NULL) { NULL 1988 lib/pacemaker/pcmk_sched_native.c for (; gIter != NULL; gIter = gIter->next) { NULL 2001 lib/pacemaker/pcmk_sched_native.c && (rsc_lh->running_on != NULL)) { NULL 2003 lib/pacemaker/pcmk_sched_native.c GListPtr gIter = NULL; NULL 2007 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__loss_of_ticket__", data_set); NULL 2013 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__loss_of_ticket__", data_set); NULL 2022 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__loss_of_ticket__", data_set); NULL 2024 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc_lh->running_on; gIter != NULL; gIter = gIter->next) { NULL 2035 lib/pacemaker/pcmk_sched_native.c if (rsc_lh->running_on != NULL) { NULL 2045 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__no_ticket__", data_set); NULL 2051 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__ticket_standby__", data_set); NULL 2083 lib/pacemaker/pcmk_sched_native.c const char *reason = NULL; NULL 2106 lib/pacemaker/pcmk_sched_native.c if (reason == NULL) { NULL 2294 lib/pacemaker/pcmk_sched_native.c GListPtr gIter = NULL; NULL 2297 lib/pacemaker/pcmk_sched_native.c CRM_CHECK((constraint != NULL) && (rsc != NULL), return); NULL 2309 lib/pacemaker/pcmk_sched_native.c if (constraint->node_list_rh == NULL) { NULL 2319 lib/pacemaker/pcmk_sched_native.c for (gIter = constraint->node_list_rh; gIter != NULL; gIter = gIter->next) { NULL 2321 lib/pacemaker/pcmk_sched_native.c pe_node_t *other_node = NULL; NULL 2325 lib/pacemaker/pcmk_sched_native.c if (other_node != NULL) { NULL 2351 lib/pacemaker/pcmk_sched_native.c GListPtr gIter = NULL; NULL 2356 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->actions; gIter != NULL; gIter = gIter->next) { NULL 2363 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 2385 lib/pacemaker/pcmk_sched_native.c } else if(stop == NULL) { \ NULL 2388 lib/pacemaker/pcmk_sched_native.c CRM_ASSERT(stop != NULL); \ NULL 2400 lib/pacemaker/pcmk_sched_native.c char *reason = NULL; NULL 2401 lib/pacemaker/pcmk_sched_native.c char *details = NULL; NULL 2410 lib/pacemaker/pcmk_sched_native.c CRM_ASSERT(destination != NULL || origin != NULL); NULL 2412 lib/pacemaker/pcmk_sched_native.c if(source == NULL) { NULL 2425 lib/pacemaker/pcmk_sched_native.c if(origin != NULL && destination != NULL && origin->details == destination->details) { NULL 2433 lib/pacemaker/pcmk_sched_native.c if (need_role && (origin == NULL)) { NULL 2437 lib/pacemaker/pcmk_sched_native.c } else if (origin == NULL) { NULL 2441 lib/pacemaker/pcmk_sched_native.c } else if (need_role && (destination == NULL)) { NULL 2445 lib/pacemaker/pcmk_sched_native.c } else if (destination == NULL) { NULL 2506 lib/pacemaker/pcmk_sched_native.c pe_node_t *next = NULL; NULL 2507 lib/pacemaker/pcmk_sched_native.c pe_node_t *current = NULL; NULL 2508 lib/pacemaker/pcmk_sched_native.c pe_node_t *start_node = NULL; NULL 2510 lib/pacemaker/pcmk_sched_native.c pe_action_t *stop = NULL; NULL 2511 lib/pacemaker/pcmk_sched_native.c pe_action_t *start = NULL; NULL 2512 lib/pacemaker/pcmk_sched_native.c pe_action_t *demote = NULL; NULL 2513 lib/pacemaker/pcmk_sched_native.c pe_action_t *promote = NULL; NULL 2515 lib/pacemaker/pcmk_sched_native.c char *key = NULL; NULL 2517 lib/pacemaker/pcmk_sched_native.c GListPtr possible_matches = NULL; NULL 2525 lib/pacemaker/pcmk_sched_native.c GListPtr gIter = NULL; NULL 2527 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 2547 lib/pacemaker/pcmk_sched_native.c if ((current == NULL) && pcmk_is_set(rsc->flags, pe_rsc_orphan)) { NULL 2553 lib/pacemaker/pcmk_sched_native.c || (current == NULL && next == NULL)) { NULL 2560 lib/pacemaker/pcmk_sched_native.c if (current != NULL && next != NULL && !pcmk__str_eq(current->details->id, next->details->id, pcmk__str_casei)) { NULL 2570 lib/pacemaker/pcmk_sched_native.c if ((start == NULL) || !pcmk_is_set(start->flags, pe_action_runnable)) { NULL 2571 lib/pacemaker/pcmk_sched_native.c start_node = NULL; NULL 2594 lib/pacemaker/pcmk_sched_native.c pe_action_t *migrate_op = NULL; NULL 2601 lib/pacemaker/pcmk_sched_native.c CRM_CHECK(next != NULL,); NULL 2602 lib/pacemaker/pcmk_sched_native.c if (next == NULL) { NULL 2603 lib/pacemaker/pcmk_sched_native.c } else if ((migrate_op != NULL) && (current != NULL) NULL 2605 lib/pacemaker/pcmk_sched_native.c LogAction("Migrate", rsc, current, next, start, NULL, terminal); NULL 2608 lib/pacemaker/pcmk_sched_native.c LogAction("Reload", rsc, current, next, start, NULL, terminal); NULL 2611 lib/pacemaker/pcmk_sched_native.c } else if (start == NULL || pcmk_is_set(start->flags, pe_action_optional)) { NULL 2612 lib/pacemaker/pcmk_sched_native.c if ((demote != NULL) && (promote != NULL) NULL 2623 lib/pacemaker/pcmk_sched_native.c LogAction("Stop", rsc, current, NULL, stop, NULL 2629 lib/pacemaker/pcmk_sched_native.c rsc, current, next, stop, NULL, terminal); NULL 2632 lib/pacemaker/pcmk_sched_native.c LogAction("Recover", rsc, current, NULL, stop, NULL, terminal); NULL 2636 lib/pacemaker/pcmk_sched_native.c LogAction("Restart", rsc, current, next, start, NULL, terminal); NULL 2648 lib/pacemaker/pcmk_sched_native.c GListPtr gIter = NULL; NULL 2651 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->running_on; gIter != NULL; gIter = gIter->next) { NULL 2653 lib/pacemaker/pcmk_sched_native.c pe_action_t *stop_op = NULL; NULL 2665 lib/pacemaker/pcmk_sched_native.c LogAction("Stop", rsc, node, NULL, stop_op, NULL 2671 lib/pacemaker/pcmk_sched_native.c } else if ((stop != NULL) NULL 2678 lib/pacemaker/pcmk_sched_native.c LogAction("Move", rsc, current, next, stop, NULL, terminal); NULL 2682 lib/pacemaker/pcmk_sched_native.c LogAction("Reload", rsc, current, next, start, NULL, terminal); NULL 2684 lib/pacemaker/pcmk_sched_native.c } else if (stop != NULL && !pcmk_is_set(stop->flags, pe_action_optional)) { NULL 2685 lib/pacemaker/pcmk_sched_native.c LogAction("Restart", rsc, current, next, start, NULL, terminal); NULL 2689 lib/pacemaker/pcmk_sched_native.c CRM_LOG_ASSERT(current != NULL); NULL 2690 lib/pacemaker/pcmk_sched_native.c LogAction("Demote", rsc, current, next, demote, NULL, terminal); NULL 2694 lib/pacemaker/pcmk_sched_native.c LogAction("Promote", rsc, current, next, promote, NULL, terminal); NULL 2697 lib/pacemaker/pcmk_sched_native.c LogAction("Start", rsc, current, next, start, NULL, terminal); NULL 2704 lib/pacemaker/pcmk_sched_native.c GListPtr gIter = NULL; NULL 2709 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->running_on; gIter != NULL; gIter = gIter->next) { NULL 2727 lib/pacemaker/pcmk_sched_native.c if(rsc->allocated_to == NULL) { NULL 2741 lib/pacemaker/pcmk_sched_native.c pe_action_t *unfence = pe_fence_op(current, "on", TRUE, NULL, FALSE, data_set); NULL 2771 lib/pacemaker/pcmk_sched_native.c pe_action_t *unfence = pe_fence_op(node, "on", TRUE, NULL, FALSE, data_set); NULL 2780 lib/pacemaker/pcmk_sched_native.c trigger_unfencing(NULL, node, reason, NULL, data_set); NULL 2789 lib/pacemaker/pcmk_sched_native.c pe_action_t *start = NULL; NULL 2809 lib/pacemaker/pcmk_sched_native.c GListPtr gIter = NULL; NULL 2811 lib/pacemaker/pcmk_sched_native.c GListPtr action_list = NULL; NULL 2814 lib/pacemaker/pcmk_sched_native.c CRM_CHECK(next != NULL, return FALSE); NULL 2819 lib/pacemaker/pcmk_sched_native.c for (gIter = action_list; gIter != NULL; gIter = gIter->next) { NULL 2837 lib/pacemaker/pcmk_sched_native.c for (gIter = action_list; gIter != NULL; gIter = gIter->next) { NULL 2851 lib/pacemaker/pcmk_sched_native.c GListPtr gIter = NULL; NULL 2857 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->running_on; gIter != NULL; gIter = gIter->next) { NULL 2890 lib/pacemaker/pcmk_sched_native.c } else if (node == NULL) { NULL 2918 lib/pacemaker/pcmk_sched_native.c char *key = NULL; NULL 2919 lib/pacemaker/pcmk_sched_native.c pe_action_t *probe = NULL; NULL 2920 lib/pacemaker/pcmk_sched_native.c pe_node_t *running = NULL; NULL 2921 lib/pacemaker/pcmk_sched_native.c pe_node_t *allowed = NULL; NULL 2924 lib/pacemaker/pcmk_sched_native.c static const char *rc_master = NULL; NULL 2925 lib/pacemaker/pcmk_sched_native.c static const char *rc_inactive = NULL; NULL 2927 lib/pacemaker/pcmk_sched_native.c if (rc_inactive == NULL) { NULL 2932 lib/pacemaker/pcmk_sched_native.c CRM_CHECK(node != NULL, return FALSE); NULL 2961 lib/pacemaker/pcmk_sched_native.c GListPtr gIter = NULL; NULL 2964 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 2992 lib/pacemaker/pcmk_sched_native.c if (allowed == NULL) { NULL 3004 lib/pacemaker/pcmk_sched_native.c if(allowed == NULL && node->rsc_discover_mode == pe_discover_never) { NULL 3040 lib/pacemaker/pcmk_sched_native.c && g_hash_table_lookup(remote->known_on, remote->allocated_to->details->id) == NULL) { NULL 3049 lib/pacemaker/pcmk_sched_native.c NULL, top, NULL 3050 lib/pacemaker/pcmk_sched_native.c pcmk__op_key(top->id, RSC_START, 0), NULL, NULL 3065 lib/pacemaker/pcmk_sched_native.c && pe_find_node(remote->running_on, remote->allocated_to->details->uname) == NULL) NULL 3072 lib/pacemaker/pcmk_sched_native.c NULL, top, pcmk__op_key(top->id, RSC_START, 0), NULL 3073 lib/pacemaker/pcmk_sched_native.c NULL, pe_order_optional, data_set); NULL 3095 lib/pacemaker/pcmk_sched_native.c if (running == NULL) { NULL 3112 lib/pacemaker/pcmk_sched_native.c && (rsc->running_on == NULL)) { NULL 3119 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, NULL, probe, NULL 3120 lib/pacemaker/pcmk_sched_native.c top, pcmk__op_key(top->id, RSC_START, 0), NULL, NULL 3124 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc, NULL, probe, NULL 3125 lib/pacemaker/pcmk_sched_native.c top, reload_key(rsc), NULL, NULL 3182 lib/pacemaker/pcmk_sched_native.c GListPtr gIter = NULL; NULL 3187 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->actions; gIter != NULL; gIter = gIter->next) { NULL 3226 lib/pacemaker/pcmk_sched_native.c GListPtr gIter = NULL; NULL 3227 lib/pacemaker/pcmk_sched_native.c GListPtr action_list = NULL; NULL 3231 lib/pacemaker/pcmk_sched_native.c pe_action_t *parent_stop = NULL; NULL 3253 lib/pacemaker/pcmk_sched_native.c parent_stop = find_first_action(top->actions, NULL, RSC_STOP, NULL); NULL 3256 lib/pacemaker/pcmk_sched_native.c for (gIter = action_list; gIter != NULL; gIter = gIter->next) { NULL 3356 lib/pacemaker/pcmk_sched_native.c for (gIter = action_list; gIter != NULL; gIter = gIter->next) { NULL 3393 lib/pacemaker/pcmk_sched_native.c GListPtr gIter = NULL; NULL 3395 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 3413 lib/pacemaker/pcmk_sched_native.c GListPtr gIter = NULL; NULL 3414 lib/pacemaker/pcmk_sched_native.c pe_action_t *reload = NULL; NULL 3417 lib/pacemaker/pcmk_sched_native.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 3447 lib/pacemaker/pcmk_sched_native.c } else if (node == NULL) { NULL 3459 lib/pacemaker/pcmk_sched_native.c custom_action_order(NULL, NULL, reload, rsc, stop_key(rsc), NULL, NULL 3462 lib/pacemaker/pcmk_sched_native.c custom_action_order(NULL, NULL, reload, rsc, demote_key(rsc), NULL, NULL 3474 lib/pacemaker/pcmk_sched_native.c char *name = NULL; NULL 3483 lib/pacemaker/pcmk_sched_native.c char *name = NULL; NULL 3490 lib/pacemaker/pcmk_sched_native.c for (parent = rsc; parent != NULL; parent = parent->parent) { NULL 26 lib/pacemaker/pcmk_sched_notif.c if (entry_a == NULL && entry_b == NULL) { NULL 29 lib/pacemaker/pcmk_sched_notif.c if (entry_a == NULL) { NULL 32 lib/pacemaker/pcmk_sched_notif.c if (entry_b == NULL) { NULL 36 lib/pacemaker/pcmk_sched_notif.c if (entry_a->rsc == NULL && entry_b->rsc == NULL) { NULL 39 lib/pacemaker/pcmk_sched_notif.c if (entry_a->rsc == NULL) { NULL 42 lib/pacemaker/pcmk_sched_notif.c if (entry_b->rsc == NULL) { NULL 51 lib/pacemaker/pcmk_sched_notif.c if (entry_a->node == NULL && entry_b->node == NULL) { NULL 54 lib/pacemaker/pcmk_sched_notif.c if (entry_a->node == NULL) { NULL 57 lib/pacemaker/pcmk_sched_notif.c if (entry_b->node == NULL) { NULL 68 lib/pacemaker/pcmk_sched_notif.c CRM_ASSERT(dup != NULL); NULL 77 lib/pacemaker/pcmk_sched_notif.c GListPtr gIter = NULL; NULL 78 lib/pacemaker/pcmk_sched_notif.c char *node_list = NULL; NULL 79 lib/pacemaker/pcmk_sched_notif.c char *metal_list = NULL; NULL 83 lib/pacemaker/pcmk_sched_notif.c CRM_ASSERT(uname != NULL); NULL 84 lib/pacemaker/pcmk_sched_notif.c if (list == NULL) { NULL 92 lib/pacemaker/pcmk_sched_notif.c for (gIter = list; gIter != NULL; gIter = gIter->next) { NULL 95 lib/pacemaker/pcmk_sched_notif.c if (node->details->uname == NULL) { NULL 106 lib/pacemaker/pcmk_sched_notif.c if (node->details->uname == NULL) { NULL 132 lib/pacemaker/pcmk_sched_notif.c const char *last_rsc_id = NULL; NULL 136 lib/pacemaker/pcmk_sched_notif.c CRM_CHECK(rsc_list != NULL, return list); NULL 139 lib/pacemaker/pcmk_sched_notif.c if (list == NULL) { NULL 148 lib/pacemaker/pcmk_sched_notif.c *rsc_list = NULL; NULL 150 lib/pacemaker/pcmk_sched_notif.c *node_list = NULL; NULL 156 lib/pacemaker/pcmk_sched_notif.c for (GList *gIter = list; gIter != NULL; gIter = gIter->next) { NULL 160 lib/pacemaker/pcmk_sched_notif.c CRM_LOG_ASSERT((entry != NULL) && (entry->rsc != NULL) NULL 161 lib/pacemaker/pcmk_sched_notif.c && (entry->rsc->id != NULL)); NULL 162 lib/pacemaker/pcmk_sched_notif.c if ((entry == NULL) || (entry->rsc == NULL) NULL 163 lib/pacemaker/pcmk_sched_notif.c || (entry->rsc->id == NULL)) { NULL 168 lib/pacemaker/pcmk_sched_notif.c CRM_LOG_ASSERT((node_list == NULL) || (entry->node != NULL)); NULL 169 lib/pacemaker/pcmk_sched_notif.c if ((node_list != NULL) && (entry->node == NULL)) { NULL 179 lib/pacemaker/pcmk_sched_notif.c if ((node_list != NULL) && (entry->node->details->uname != NULL)) { NULL 207 lib/pacemaker/pcmk_sched_notif.c char *key = NULL; NULL 208 lib/pacemaker/pcmk_sched_notif.c pe_action_t *trigger = NULL; NULL 209 lib/pacemaker/pcmk_sched_notif.c const char *value = NULL; NULL 210 lib/pacemaker/pcmk_sched_notif.c const char *task = NULL; NULL 212 lib/pacemaker/pcmk_sched_notif.c if (op == NULL || confirm == NULL) { NULL 214 lib/pacemaker/pcmk_sched_notif.c return NULL; NULL 217 lib/pacemaker/pcmk_sched_notif.c CRM_CHECK(rsc != NULL, return NULL); NULL 218 lib/pacemaker/pcmk_sched_notif.c CRM_CHECK(node != NULL, return NULL); NULL 222 lib/pacemaker/pcmk_sched_notif.c return NULL; NULL 225 lib/pacemaker/pcmk_sched_notif.c return NULL; NULL 252 lib/pacemaker/pcmk_sched_notif.c pe_action_t *notify = NULL; NULL 254 lib/pacemaker/pcmk_sched_notif.c CRM_CHECK(rsc != NULL, return); NULL 256 lib/pacemaker/pcmk_sched_notif.c if (n_data->post == NULL) { NULL 262 lib/pacemaker/pcmk_sched_notif.c if (notify != NULL) { NULL 269 lib/pacemaker/pcmk_sched_notif.c for (; gIter != NULL; gIter = gIter->next) { NULL 300 lib/pacemaker/pcmk_sched_notif.c char *key = NULL; NULL 301 lib/pacemaker/pcmk_sched_notif.c notify_data_t *n_data = NULL; NULL 304 lib/pacemaker/pcmk_sched_notif.c return NULL; NULL 314 lib/pacemaker/pcmk_sched_notif.c custom_action(rsc, key, RSC_NOTIFY, NULL, NULL 330 lib/pacemaker/pcmk_sched_notif.c n_data->pre_done = custom_action(rsc, key, RSC_NOTIFIED, NULL, NULL 352 lib/pacemaker/pcmk_sched_notif.c n_data->post = custom_action(rsc, key, RSC_NOTIFY, NULL, NULL 375 lib/pacemaker/pcmk_sched_notif.c n_data->post_done = custom_action(rsc, key, RSC_NOTIFIED, NULL, NULL 411 lib/pacemaker/pcmk_sched_notif.c if(n_data->allowed_nodes == NULL) { NULL 418 lib/pacemaker/pcmk_sched_notif.c for (; gIter != NULL; gIter = gIter->next) { NULL 427 lib/pacemaker/pcmk_sched_notif.c notify_entry_t *entry = NULL; NULL 463 lib/pacemaker/pcmk_sched_notif.c notify_entry_t *entry = NULL; NULL 468 lib/pacemaker/pcmk_sched_notif.c for (; gIter != NULL; gIter = gIter->next) { NULL 472 lib/pacemaker/pcmk_sched_notif.c && (op->node != NULL)) { NULL 514 lib/pacemaker/pcmk_sched_notif.c free(value); value = NULL; \ NULL 531 lib/pacemaker/pcmk_sched_notif.c char *rsc_list = NULL; NULL 532 lib/pacemaker/pcmk_sched_notif.c char *node_list = NULL; NULL 533 lib/pacemaker/pcmk_sched_notif.c char *metal_list = NULL; NULL 534 lib/pacemaker/pcmk_sched_notif.c const char *source = NULL; NULL 535 lib/pacemaker/pcmk_sched_notif.c GListPtr nodes = NULL; NULL 545 lib/pacemaker/pcmk_sched_notif.c if ((n_data->start != NULL) NULL 553 lib/pacemaker/pcmk_sched_notif.c if ((n_data->demote != NULL) NULL 561 lib/pacemaker/pcmk_sched_notif.c if ((n_data->promote != NULL) NULL 581 lib/pacemaker/pcmk_sched_notif.c n_data->inactive = expand_list(n_data->inactive, &rsc_list, NULL); NULL 592 lib/pacemaker/pcmk_sched_notif.c expand_node_list(nodes, &node_list, NULL); NULL 601 lib/pacemaker/pcmk_sched_notif.c expand_node_list(data_set->nodes, &node_list, NULL); NULL 635 lib/pacemaker/pcmk_sched_notif.c return find_first_action(remote_rsc->actions, NULL, RSC_START, NULL 636 lib/pacemaker/pcmk_sched_notif.c NULL); NULL 639 lib/pacemaker/pcmk_sched_notif.c return NULL; NULL 645 lib/pacemaker/pcmk_sched_notif.c GListPtr gIter = NULL; NULL 646 lib/pacemaker/pcmk_sched_notif.c pe_action_t *stop = NULL; NULL 647 lib/pacemaker/pcmk_sched_notif.c pe_action_t *start = NULL; NULL 652 lib/pacemaker/pcmk_sched_notif.c for (; gIter != NULL; gIter = gIter->next) { NULL 662 lib/pacemaker/pcmk_sched_notif.c for (gIter = rsc->actions; gIter != NULL; gIter = gIter->next) { NULL 666 lib/pacemaker/pcmk_sched_notif.c && (op->node != NULL)) { NULL 685 lib/pacemaker/pcmk_sched_notif.c if (n_data->start == NULL) { NULL 692 lib/pacemaker/pcmk_sched_notif.c if (n_data->promote == NULL) { NULL 699 lib/pacemaker/pcmk_sched_notif.c if (n_data->demote == NULL) { NULL 715 lib/pacemaker/pcmk_sched_notif.c stop = find_first_action(rsc->actions, NULL, RSC_STOP, NULL); NULL 716 lib/pacemaker/pcmk_sched_notif.c start = find_first_action(rsc->actions, NULL, RSC_START, NULL); NULL 722 lib/pacemaker/pcmk_sched_notif.c for (; gIter != NULL; gIter = gIter->next) { NULL 735 lib/pacemaker/pcmk_sched_notif.c if (task == action_demote || stop == NULL NULL 745 lib/pacemaker/pcmk_sched_notif.c if (rsc->allocated_to == NULL) { NULL 764 lib/pacemaker/pcmk_sched_notif.c if ((task != start_rsc) || (start == NULL) NULL 777 lib/pacemaker/pcmk_sched_notif.c if (n_data == NULL) { NULL 801 lib/pacemaker/pcmk_sched_notif.c n_data = create_notification_boundaries(rsc, RSC_STOP, NULL, stonith_op, NULL 25 lib/pacemaker/pcmk_sched_promotable.c if (child == NULL) { NULL 26 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered && last != NULL) { NULL 42 lib/pacemaker/pcmk_sched_promotable.c if (last == NULL) { NULL 61 lib/pacemaker/pcmk_sched_promotable.c if (child == NULL) { NULL 62 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered && last != NULL) { NULL 76 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered && last != NULL) { NULL 96 lib/pacemaker/pcmk_sched_promotable.c GListPtr gIter = NULL; NULL 100 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 108 lib/pacemaker/pcmk_sched_promotable.c CRM_ASSERT(demoting != NULL); NULL 109 lib/pacemaker/pcmk_sched_promotable.c CRM_ASSERT(promoting != NULL); NULL 112 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 134 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *cons_node = NULL; NULL 141 lib/pacemaker/pcmk_sched_promotable.c if (cons_node != NULL) { NULL 158 lib/pacemaker/pcmk_sched_promotable.c return guest->fns->location(guest, NULL, FALSE); NULL 164 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *node = NULL; NULL 165 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *local_node = NULL; NULL 167 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; NULL 179 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 182 lib/pacemaker/pcmk_sched_promotable.c if (can_be_master(child) == NULL) { NULL 184 lib/pacemaker/pcmk_sched_promotable.c return NULL; NULL 189 lib/pacemaker/pcmk_sched_promotable.c node = rsc->fns->location(rsc, NULL, FALSE); NULL 190 lib/pacemaker/pcmk_sched_promotable.c if (node == NULL) { NULL 192 lib/pacemaker/pcmk_sched_promotable.c return NULL; NULL 200 lib/pacemaker/pcmk_sched_promotable.c return NULL; NULL 205 lib/pacemaker/pcmk_sched_promotable.c return NULL; NULL 209 lib/pacemaker/pcmk_sched_promotable.c return NULL; NULL 215 lib/pacemaker/pcmk_sched_promotable.c } else if (pe__is_guest_node(node) && (guest_location(node) == NULL)) { NULL 218 lib/pacemaker/pcmk_sched_promotable.c return NULL; NULL 224 lib/pacemaker/pcmk_sched_promotable.c if (local_node == NULL) { NULL 226 lib/pacemaker/pcmk_sched_promotable.c return NULL; NULL 236 lib/pacemaker/pcmk_sched_promotable.c return NULL; NULL 249 lib/pacemaker/pcmk_sched_promotable.c CRM_ASSERT(resource1 != NULL); NULL 250 lib/pacemaker/pcmk_sched_promotable.c CRM_ASSERT(resource2 != NULL); NULL 276 lib/pacemaker/pcmk_sched_promotable.c GListPtr gIter = NULL; NULL 277 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *node = NULL; NULL 278 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *chosen = NULL; NULL 279 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; NULL 292 lib/pacemaker/pcmk_sched_promotable.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 300 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 303 lib/pacemaker/pcmk_sched_promotable.c chosen = child->fns->location(child, NULL, FALSE); NULL 304 lib/pacemaker/pcmk_sched_promotable.c if (chosen == NULL || child->sort_index < 0) { NULL 310 lib/pacemaker/pcmk_sched_promotable.c CRM_ASSERT(node != NULL); NULL 321 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 345 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 369 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 374 lib/pacemaker/pcmk_sched_promotable.c resource_location(rsc, NULL, -INFINITY, "__stateful_without_ticket__", data_set); NULL 383 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 386 lib/pacemaker/pcmk_sched_promotable.c chosen = child->fns->location(child, NULL, FALSE); NULL 391 lib/pacemaker/pcmk_sched_promotable.c } else if (chosen == NULL || child->sort_index < 0) { NULL 396 lib/pacemaker/pcmk_sched_promotable.c CRM_ASSERT(node != NULL); NULL 411 lib/pacemaker/pcmk_sched_promotable.c GListPtr rIter = NULL; NULL 446 lib/pacemaker/pcmk_sched_promotable.c rsc = parent->fns->find_rsc(child, key, NULL, pe_find_clone); NULL 463 lib/pacemaker/pcmk_sched_promotable.c const char *attr_value = NULL; NULL 478 lib/pacemaker/pcmk_sched_promotable.c const char *attr_value = NULL; NULL 480 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *match = NULL; NULL 482 lib/pacemaker/pcmk_sched_promotable.c CRM_CHECK(node != NULL, return not_set_value); NULL 487 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 515 lib/pacemaker/pcmk_sched_promotable.c if ((match == NULL) && (known == NULL)) { NULL 523 lib/pacemaker/pcmk_sched_promotable.c if (match == NULL) { NULL 543 lib/pacemaker/pcmk_sched_promotable.c if ((attr_value == NULL) && !pcmk_is_set(rsc->flags, pe_rsc_unique)) { NULL 557 lib/pacemaker/pcmk_sched_promotable.c if (attr_value != NULL) { NULL 569 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; NULL 580 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 582 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *node = NULL; NULL 586 lib/pacemaker/pcmk_sched_promotable.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 626 lib/pacemaker/pcmk_sched_promotable.c GListPtr allocated = NULL; NULL 639 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 655 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 666 lib/pacemaker/pcmk_sched_promotable.c GListPtr gIter = NULL; NULL 667 lib/pacemaker/pcmk_sched_promotable.c GListPtr gIter2 = NULL; NULL 669 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *node = NULL; NULL 670 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *chosen = NULL; NULL 674 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; NULL 680 lib/pacemaker/pcmk_sched_promotable.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 687 lib/pacemaker/pcmk_sched_promotable.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 688 lib/pacemaker/pcmk_sched_promotable.c GListPtr list = NULL; NULL 705 lib/pacemaker/pcmk_sched_promotable.c if (chosen == NULL) { NULL 740 lib/pacemaker/pcmk_sched_promotable.c for (gIter2 = child_rsc->rsc_cons; gIter2 != NULL; gIter2 = gIter2->next) { NULL 763 lib/pacemaker/pcmk_sched_promotable.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 767 lib/pacemaker/pcmk_sched_promotable.c chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); NULL 780 lib/pacemaker/pcmk_sched_promotable.c chosen = NULL; /* nuke 'chosen' so that we don't promote more than the NULL 794 lib/pacemaker/pcmk_sched_promotable.c if (chosen == NULL) { NULL 817 lib/pacemaker/pcmk_sched_promotable.c return NULL; NULL 823 lib/pacemaker/pcmk_sched_promotable.c pe_action_t *action = NULL; NULL 825 lib/pacemaker/pcmk_sched_promotable.c pe_action_t *action_complete = NULL; NULL 828 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *last_promote_rsc = NULL; NULL 829 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *last_demote_rsc = NULL; NULL 831 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; NULL 837 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 858 lib/pacemaker/pcmk_sched_promotable.c rsc, NULL, last_promote_rsc, data_set); NULL 860 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->promote_notify == NULL) { NULL 870 lib/pacemaker/pcmk_sched_promotable.c child_demoting_constraints(clone_data, pe_order_optional, rsc, NULL, last_demote_rsc, data_set); NULL 872 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->demote_notify == NULL) { NULL 896 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 933 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *last_rsc = NULL; NULL 934 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; NULL 940 lib/pacemaker/pcmk_sched_promotable.c for (; gIter != NULL; gIter = gIter->next) { NULL 960 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *node = NULL; NULL 961 lib/pacemaker/pcmk_sched_promotable.c const char *value = NULL; NULL 963 lib/pacemaker/pcmk_sched_promotable.c if (other == NULL) { NULL 966 lib/pacemaker/pcmk_sched_promotable.c } else if (attr == NULL) { NULL 972 lib/pacemaker/pcmk_sched_promotable.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 987 lib/pacemaker/pcmk_sched_promotable.c GListPtr gIter = NULL; NULL 993 lib/pacemaker/pcmk_sched_promotable.c GListPtr rhs = NULL; NULL 995 lib/pacemaker/pcmk_sched_promotable.c for (gIter = rsc_rh->children; gIter != NULL; gIter = gIter->next) { NULL 997 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); NULL 1001 lib/pacemaker/pcmk_sched_promotable.c if (chosen != NULL && next_role == constraint->role_rh) { NULL 1027 lib/pacemaker/pcmk_sched_promotable.c if (rh_child == NULL && constraint->score >= INFINITY) { NULL 1031 lib/pacemaker/pcmk_sched_promotable.c } else if (rh_child != NULL) { NULL 31 lib/pacemaker/pcmk_sched_transition.c static cib_t *fake_cib = NULL; NULL 32 lib/pacemaker/pcmk_sched_transition.c static GListPtr fake_resource_list = NULL; NULL 33 lib/pacemaker/pcmk_sched_transition.c static GListPtr fake_op_fail_list = NULL; NULL 54 lib/pacemaker/pcmk_sched_transition.c xmlNode *attrs = NULL; NULL 55 lib/pacemaker/pcmk_sched_transition.c xmlNode *instance_attrs = NULL; NULL 65 lib/pacemaker/pcmk_sched_transition.c if (attrs == NULL) { NULL 71 lib/pacemaker/pcmk_sched_transition.c if (instance_attrs == NULL) { NULL 76 lib/pacemaker/pcmk_sched_transition.c crm_create_nvpair_xml(instance_attrs, NULL, name, value); NULL 90 lib/pacemaker/pcmk_sched_transition.c char *name = NULL; NULL 91 lib/pacemaker/pcmk_sched_transition.c char *now = crm_ttoa(time(NULL)); NULL 110 lib/pacemaker/pcmk_sched_transition.c rc = cib_conn->cmds->query(cib_conn, xpath, NULL, cib_xpath | cib_sync_call | cib_scope_local); NULL 113 lib/pacemaker/pcmk_sched_transition.c xmlNode *cib_object = create_xml_node(NULL, XML_CIB_TAG_NODE); NULL 132 lib/pacemaker/pcmk_sched_transition.c lrmd_event_data_t *op = NULL; NULL 133 lib/pacemaker/pcmk_sched_transition.c xmlNode *xop = NULL; NULL 138 lib/pacemaker/pcmk_sched_transition.c op->params = NULL; /* TODO: Fill me in */ NULL 139 lib/pacemaker/pcmk_sched_transition.c op->t_run = (unsigned int) time(NULL); NULL 143 lib/pacemaker/pcmk_sched_transition.c for (xop = pcmk__xe_first_child(cib_resource); xop != NULL; NULL 162 lib/pacemaker/pcmk_sched_transition.c target_rc, NULL, crm_system_name, NULL 170 lib/pacemaker/pcmk_sched_transition.c xmlNode *cib_object = NULL; NULL 180 lib/pacemaker/pcmk_sched_transition.c if (cib_object && ID(cib_object) == NULL) { NULL 185 lib/pacemaker/pcmk_sched_transition.c return NULL; // not reached, but makes static analysis happy NULL 189 lib/pacemaker/pcmk_sched_transition.c char *found_uuid = NULL; NULL 191 lib/pacemaker/pcmk_sched_transition.c if (uuid == NULL) { NULL 192 lib/pacemaker/pcmk_sched_transition.c query_node_uuid(cib_conn, node, &found_uuid, NULL); NULL 197 lib/pacemaker/pcmk_sched_transition.c cib_object = create_xml_node(NULL, XML_CIB_TAG_STATE); NULL 218 lib/pacemaker/pcmk_sched_transition.c xmlNode *cib_node = inject_node_state(cib_conn, node, NULL); NULL 240 lib/pacemaker/pcmk_sched_transition.c xmlNode *match = NULL; NULL 254 lib/pacemaker/pcmk_sched_transition.c xmlNode *lrm = NULL; NULL 255 lib/pacemaker/pcmk_sched_transition.c xmlNode *container = NULL; NULL 256 lib/pacemaker/pcmk_sched_transition.c xmlNode *cib_resource = NULL; NULL 257 lib/pacemaker/pcmk_sched_transition.c char *xpath = NULL; NULL 260 lib/pacemaker/pcmk_sched_transition.c if (cib_resource != NULL) { NULL 270 lib/pacemaker/pcmk_sched_transition.c if (cib_resource != NULL) { NULL 277 lib/pacemaker/pcmk_sched_transition.c if (rclass == NULL || rtype == NULL) { NULL 280 lib/pacemaker/pcmk_sched_transition.c return NULL; NULL 284 lib/pacemaker/pcmk_sched_transition.c PCMK_RESOURCE_CLASS_SYSTEMD, PCMK_RESOURCE_CLASS_LSB, NULL)) { NULL 286 lib/pacemaker/pcmk_sched_transition.c return NULL; NULL 289 lib/pacemaker/pcmk_sched_transition.c && (rprovider == NULL)) { NULL 291 lib/pacemaker/pcmk_sched_transition.c return NULL; NULL 299 lib/pacemaker/pcmk_sched_transition.c if (lrm == NULL) { NULL 307 lib/pacemaker/pcmk_sched_transition.c if (container == NULL) { NULL 330 lib/pacemaker/pcmk_sched_transition.c xmlNode *xml_search = NULL; NULL 332 lib/pacemaker/pcmk_sched_transition.c char *xpath_string = NULL; NULL 334 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(ticket_state_xml != NULL); NULL 335 lib/pacemaker/pcmk_sched_transition.c *ticket_state_xml = NULL; NULL 372 lib/pacemaker/pcmk_sched_transition.c xmlNode *xml_top = NULL; NULL 373 lib/pacemaker/pcmk_sched_transition.c xmlNode *ticket_state_xml = NULL; NULL 384 lib/pacemaker/pcmk_sched_transition.c xmlNode *xml_obj = NULL; NULL 386 lib/pacemaker/pcmk_sched_transition.c xml_top = create_xml_node(NULL, XML_CIB_TAG_STATUS); NULL 410 lib/pacemaker/pcmk_sched_transition.c GListPtr gIter = NULL; NULL 412 lib/pacemaker/pcmk_sched_transition.c xmlNode *cib_op = NULL; NULL 413 lib/pacemaker/pcmk_sched_transition.c xmlNode *cib_node = NULL; NULL 414 lib/pacemaker/pcmk_sched_transition.c xmlNode *cib_resource = NULL; NULL 416 lib/pacemaker/pcmk_sched_transition.c lrmd_event_data_t *op = NULL; NULL 419 lib/pacemaker/pcmk_sched_transition.c xmlNode *top = create_xml_node(NULL, XML_TAG_CIB); NULL 425 lib/pacemaker/pcmk_sched_transition.c rc = cib->cmds->modify(cib, NULL, top, cib_sync_call | cib_scope_local); NULL 433 lib/pacemaker/pcmk_sched_transition.c XML_CIB_TAG_CRMCONFIG, NULL, NULL, NULL, NULL, NULL 434 lib/pacemaker/pcmk_sched_transition.c XML_ATTR_HAVE_WATCHDOG, watchdog, FALSE, NULL, NULL); NULL 439 lib/pacemaker/pcmk_sched_transition.c for (gIter = node_up; gIter != NULL; gIter = gIter->next) { NULL 444 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(cib_node != NULL); NULL 452 lib/pacemaker/pcmk_sched_transition.c for (gIter = node_down; gIter != NULL; gIter = gIter->next) { NULL 458 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(cib_node != NULL); NULL 466 lib/pacemaker/pcmk_sched_transition.c cib->cmds->remove(cib, xpath, NULL, NULL 471 lib/pacemaker/pcmk_sched_transition.c cib->cmds->remove(cib, xpath, NULL, NULL 476 lib/pacemaker/pcmk_sched_transition.c for (gIter = node_fail; gIter != NULL; gIter = gIter->next) { NULL 482 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(cib_node != NULL); NULL 490 lib/pacemaker/pcmk_sched_transition.c for (gIter = ticket_grant; gIter != NULL; gIter = gIter->next) { NULL 500 lib/pacemaker/pcmk_sched_transition.c for (gIter = ticket_revoke; gIter != NULL; gIter = gIter->next) { NULL 510 lib/pacemaker/pcmk_sched_transition.c for (gIter = ticket_standby; gIter != NULL; gIter = gIter->next) { NULL 520 lib/pacemaker/pcmk_sched_transition.c for (gIter = ticket_activate; gIter != NULL; gIter = gIter->next) { NULL 530 lib/pacemaker/pcmk_sched_transition.c for (gIter = op_inject; gIter != NULL; gIter = gIter->next) { NULL 537 lib/pacemaker/pcmk_sched_transition.c char *key = NULL; NULL 538 lib/pacemaker/pcmk_sched_transition.c char *node = NULL; NULL 539 lib/pacemaker/pcmk_sched_transition.c char *task = NULL; NULL 540 lib/pacemaker/pcmk_sched_transition.c char *resource = NULL; NULL 542 lib/pacemaker/pcmk_sched_transition.c const char *rtype = NULL; NULL 543 lib/pacemaker/pcmk_sched_transition.c const char *rclass = NULL; NULL 544 lib/pacemaker/pcmk_sched_transition.c const char *rprovider = NULL; NULL 546 lib/pacemaker/pcmk_sched_transition.c pe_resource_t *rsc = NULL; NULL 563 lib/pacemaker/pcmk_sched_transition.c if (rsc == NULL) { NULL 570 lib/pacemaker/pcmk_sched_transition.c cib_node = inject_node_state(cib, node, NULL); NULL 571 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(cib_node != NULL); NULL 577 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(cib_resource != NULL); NULL 580 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(op != NULL); NULL 583 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(cib_op != NULL); NULL 613 lib/pacemaker/pcmk_sched_transition.c GListPtr gIter = NULL; NULL 614 lib/pacemaker/pcmk_sched_transition.c lrmd_event_data_t *op = NULL; NULL 617 lib/pacemaker/pcmk_sched_transition.c const char *rtype = NULL; NULL 618 lib/pacemaker/pcmk_sched_transition.c const char *rclass = NULL; NULL 619 lib/pacemaker/pcmk_sched_transition.c const char *resource = NULL; NULL 620 lib/pacemaker/pcmk_sched_transition.c const char *rprovider = NULL; NULL 621 lib/pacemaker/pcmk_sched_transition.c const char *lrm_name = NULL; NULL 625 lib/pacemaker/pcmk_sched_transition.c xmlNode *cib_node = NULL; NULL 626 lib/pacemaker/pcmk_sched_transition.c xmlNode *cib_resource = NULL; NULL 633 lib/pacemaker/pcmk_sched_transition.c if (pcmk__strcase_any_of(operation, CRM_OP_PROBED, CRM_OP_REPROBE, NULL)) { NULL 638 lib/pacemaker/pcmk_sched_transition.c if (action_rsc == NULL) { NULL 649 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(resource != NULL); // makes static analysis happy NULL 651 lib/pacemaker/pcmk_sched_transition.c if (pe_find_resource(fake_resource_list, resource) == NULL) { NULL 659 lib/pacemaker/pcmk_sched_transition.c if (pcmk__strcase_any_of(operation, "delete", RSC_METADATA, NULL)) { NULL 668 lib/pacemaker/pcmk_sched_transition.c if (target_rc_s != NULL) { NULL 672 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(fake_cib->cmds->query(fake_cib, NULL, NULL, cib_sync_call | cib_scope_local) == NULL 676 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(cib_node != NULL); NULL 680 lib/pacemaker/pcmk_sched_transition.c if (cib_resource == NULL) { NULL 695 lib/pacemaker/pcmk_sched_transition.c for (gIter = fake_op_fail_list; gIter != NULL; gIter = gIter->next) { NULL 697 lib/pacemaker/pcmk_sched_transition.c char *key = NULL; NULL 698 lib/pacemaker/pcmk_sched_transition.c const char *match_name = NULL; NULL 708 lib/pacemaker/pcmk_sched_transition.c if ((match_name == NULL) && strcmp(resource, lrm_name)) { NULL 717 lib/pacemaker/pcmk_sched_transition.c if (match_name != NULL) { NULL 783 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(cib_node != NULL); NULL 790 lib/pacemaker/pcmk_sched_transition.c fake_cib->cmds->remove(fake_cib, xpath, NULL, NULL 795 lib/pacemaker/pcmk_sched_transition.c fake_cib->cmds->remove(fake_cib, xpath, NULL, NULL 810 lib/pacemaker/pcmk_sched_transition.c crm_graph_t *transition = NULL; NULL 835 lib/pacemaker/pcmk_sched_transition.c fake_resource_list = NULL; NULL 847 lib/pacemaker/pcmk_sched_transition.c xmlNode *cib_object = NULL; NULL 848 lib/pacemaker/pcmk_sched_transition.c int rc = fake_cib->cmds->query(fake_cib, NULL, &cib_object, cib_sync_call | cib_scope_local); NULL 54 lib/pacemaker/pcmk_sched_utilization.c if (g_hash_table_lookup_extended(data->node1->details->utilization, key, NULL, NULL)) { NULL 94 lib/pacemaker/pcmk_sched_utilization.c const char *current = NULL; NULL 95 lib/pacemaker/pcmk_sched_utilization.c char *result = NULL; NULL 195 lib/pacemaker/pcmk_sched_utilization.c GListPtr gIter1 = NULL; NULL 200 lib/pacemaker/pcmk_sched_utilization.c for (; gIter1 != NULL; gIter1 = gIter1->next) { NULL 202 lib/pacemaker/pcmk_sched_utilization.c GListPtr gIter2 = NULL; NULL 210 lib/pacemaker/pcmk_sched_utilization.c for (; gIter2 != NULL; gIter2 = gIter2->next) { NULL 225 lib/pacemaker/pcmk_sched_utilization.c if (!existing && (rsc->children != NULL)) { NULL 238 lib/pacemaker/pcmk_sched_utilization.c GListPtr gIter = NULL; NULL 239 lib/pacemaker/pcmk_sched_utilization.c GListPtr all_rscs = NULL; NULL 247 lib/pacemaker/pcmk_sched_utilization.c for (gIter = all_rscs; gIter != NULL; gIter = gIter->next) { NULL 266 lib/pacemaker/pcmk_sched_utilization.c GListPtr gIter = NULL; NULL 268 lib/pacemaker/pcmk_sched_utilization.c if (rsc == NULL) { NULL 278 lib/pacemaker/pcmk_sched_utilization.c for (gIter = rsc->rsc_cons; gIter != NULL; gIter = gIter->next) { NULL 300 lib/pacemaker/pcmk_sched_utilization.c for (gIter = rsc->rsc_cons_lhs; gIter != NULL; gIter = gIter->next) { NULL 336 lib/pacemaker/pcmk_sched_utilization.c GListPtr colocated_rscs = NULL; NULL 338 lib/pacemaker/pcmk_sched_utilization.c pe_node_t *node = NULL; NULL 342 lib/pacemaker/pcmk_sched_utilization.c GHashTable *unallocated_utilization = NULL; NULL 345 lib/pacemaker/pcmk_sched_utilization.c pe_node_t *most_capable_node = NULL; NULL 350 lib/pacemaker/pcmk_sched_utilization.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 359 lib/pacemaker/pcmk_sched_utilization.c if (most_capable_node == NULL || NULL 368 lib/pacemaker/pcmk_sched_utilization.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 382 lib/pacemaker/pcmk_sched_utilization.c } else if (*prefer == NULL) { NULL 396 lib/pacemaker/pcmk_sched_utilization.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 420 lib/pacemaker/pcmk_sched_utilization.c group_variant_data_t *group_data = NULL; NULL 426 lib/pacemaker/pcmk_sched_utilization.c for (; gIter != NULL; gIter = gIter->next) { NULL 447 lib/pacemaker/pcmk_sched_utilization.c group_variant_data_t *group_data = NULL; NULL 453 lib/pacemaker/pcmk_sched_utilization.c for (; gIter != NULL; gIter = gIter->next) { NULL 21 lib/pacemaker/pcmk_sched_utils.c pe__location_t *new_con = NULL; NULL 23 lib/pacemaker/pcmk_sched_utils.c if (rsc == NULL || id == NULL) { NULL 25 lib/pacemaker/pcmk_sched_utils.c return NULL; NULL 27 lib/pacemaker/pcmk_sched_utils.c } else if (foo_node == NULL) { NULL 28 lib/pacemaker/pcmk_sched_utils.c CRM_CHECK(node_weight == 0, return NULL); NULL 32 lib/pacemaker/pcmk_sched_utils.c if (new_con != NULL) { NULL 35 lib/pacemaker/pcmk_sched_utils.c new_con->node_list_rh = NULL; NULL 50 lib/pacemaker/pcmk_sched_utils.c if (foo_node != NULL) { NULL 54 lib/pacemaker/pcmk_sched_utils.c new_con->node_list_rh = g_list_prepend(NULL, copy); NULL 67 lib/pacemaker/pcmk_sched_utils.c if (node == NULL) { NULL 98 lib/pacemaker/pcmk_sched_utils.c GHashTable *new_table = NULL; NULL 100 lib/pacemaker/pcmk_sched_utils.c pe_node_t *node = NULL; NULL 102 lib/pacemaker/pcmk_sched_utils.c if (nodes == NULL) { NULL 103 lib/pacemaker/pcmk_sched_utils.c return NULL; NULL 105 lib/pacemaker/pcmk_sched_utils.c new_table = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, free); NULL 107 lib/pacemaker/pcmk_sched_utils.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &node)) { NULL 128 lib/pacemaker/pcmk_sched_utils.c GList *result = NULL; NULL 130 lib/pacemaker/pcmk_sched_utils.c for (const GList *gIter = list; gIter != NULL; gIter = gIter->next) { NULL 131 lib/pacemaker/pcmk_sched_utils.c pe_node_t *new_node = NULL; NULL 164 lib/pacemaker/pcmk_sched_utils.c if (a == NULL) { NULL 167 lib/pacemaker/pcmk_sched_utils.c if (b == NULL) { NULL 260 lib/pacemaker/pcmk_sched_utils.c rsc->allocated_to = NULL; NULL 275 lib/pacemaker/pcmk_sched_utils.c if (force == FALSE && chosen != NULL) { NULL 291 lib/pacemaker/pcmk_sched_utils.c chosen = NULL; NULL 302 lib/pacemaker/pcmk_sched_utils.c if (chosen == NULL) { NULL 303 lib/pacemaker/pcmk_sched_utils.c GListPtr gIter = NULL; NULL 309 lib/pacemaker/pcmk_sched_utils.c for (gIter = rsc->actions; gIter != NULL; gIter = gIter->next) { NULL 355 lib/pacemaker/pcmk_sched_utils.c const char *node_uname = NULL; NULL 356 lib/pacemaker/pcmk_sched_utils.c const char *node_uuid = NULL; NULL 357 lib/pacemaker/pcmk_sched_utils.c const char *desc = NULL; NULL 359 lib/pacemaker/pcmk_sched_utils.c if (action == NULL) { NULL 360 lib/pacemaker/pcmk_sched_utils.c crm_trace("%s%s: <NULL>", pre_text == NULL ? "" : pre_text, pre_text == NULL ? "" : ": "); NULL 365 lib/pacemaker/pcmk_sched_utils.c node_uname = NULL; NULL 366 lib/pacemaker/pcmk_sched_utils.c node_uuid = NULL; NULL 368 lib/pacemaker/pcmk_sched_utils.c } else if (action->node != NULL) { NULL 373 lib/pacemaker/pcmk_sched_utils.c node_uuid = NULL; NULL 391 lib/pacemaker/pcmk_sched_utils.c ((pre_text == NULL)? "" : pre_text), NULL 392 lib/pacemaker/pcmk_sched_utils.c ((pre_text == NULL)? "" : ": "), NULL 411 lib/pacemaker/pcmk_sched_utils.c ((pre_text == NULL)? "" : pre_text), NULL 412 lib/pacemaker/pcmk_sched_utils.c ((pre_text == NULL)? "" : ": "), NULL 422 lib/pacemaker/pcmk_sched_utils.c GListPtr gIter = NULL; NULL 427 lib/pacemaker/pcmk_sched_utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 436 lib/pacemaker/pcmk_sched_utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 454 lib/pacemaker/pcmk_sched_utils.c pe_node_t *node = NULL; NULL 456 lib/pacemaker/pcmk_sched_utils.c if (nodes == NULL) { NULL 461 lib/pacemaker/pcmk_sched_utils.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 474 lib/pacemaker/pcmk_sched_utils.c task, NULL, optional, TRUE, data_set); NULL 536 lib/pacemaker/pcmk_sched_utils.c pe_action_t *shutdown_op = custom_action(NULL, shutdown_id, CRM_OP_SHUTDOWN, NULL 548 lib/pacemaker/pcmk_sched_utils.c CRM_CHECK(transition_key != NULL, return NULL); NULL 560 lib/pacemaker/pcmk_sched_utils.c char *digest = NULL; NULL 561 lib/pacemaker/pcmk_sched_utils.c xmlNode *args_xml = NULL; NULL 563 lib/pacemaker/pcmk_sched_utils.c if (op->params == NULL) { NULL 567 lib/pacemaker/pcmk_sched_utils.c args_xml = create_xml_node(NULL, XML_TAG_PARAMS); NULL 609 lib/pacemaker/pcmk_sched_utils.c char *key = NULL; NULL 610 lib/pacemaker/pcmk_sched_utils.c char *magic = NULL; NULL 611 lib/pacemaker/pcmk_sched_utils.c char *op_id = NULL; NULL 612 lib/pacemaker/pcmk_sched_utils.c char *op_id_additional = NULL; NULL 613 lib/pacemaker/pcmk_sched_utils.c char *local_user_data = NULL; NULL 614 lib/pacemaker/pcmk_sched_utils.c const char *exit_reason = NULL; NULL 616 lib/pacemaker/pcmk_sched_utils.c xmlNode *xml_op = NULL; NULL 617 lib/pacemaker/pcmk_sched_utils.c const char *task = NULL; NULL 619 lib/pacemaker/pcmk_sched_utils.c CRM_CHECK(op != NULL, return NULL); NULL 644 lib/pacemaker/pcmk_sched_utils.c CRM_LOG_ASSERT(n_type != NULL); NULL 645 lib/pacemaker/pcmk_sched_utils.c CRM_LOG_ASSERT(n_task != NULL); NULL 675 lib/pacemaker/pcmk_sched_utils.c if (xml_op == NULL) { NULL 679 lib/pacemaker/pcmk_sched_utils.c if (op->user_data == NULL) { NULL 688 lib/pacemaker/pcmk_sched_utils.c if(magic == NULL) { NULL 699 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_LRM_ATTR_EXIT_REASON, exit_reason == NULL ? "" : exit_reason); NULL 738 lib/pacemaker/pcmk_sched_utils.c if (pcmk__str_any_of(op->op_type, CRMD_ACTION_MIGRATE, CRMD_ACTION_MIGRATED, NULL)) { NULL 755 lib/pacemaker/pcmk_sched_utils.c op_id_additional = NULL; NULL 761 lib/pacemaker/pcmk_sched_utils.c op->user_data = NULL; NULL 17 lib/pacemaker/pcmk_trans_graph.c crm_graph_functions_t *graph_fns = NULL; NULL 22 lib/pacemaker/pcmk_trans_graph.c GListPtr lpc = NULL; NULL 29 lib/pacemaker/pcmk_trans_graph.c for (lpc = synapse->inputs; lpc != NULL; lpc = lpc->next) { NULL 54 lib/pacemaker/pcmk_trans_graph.c GListPtr lpc = NULL; NULL 62 lib/pacemaker/pcmk_trans_graph.c for (lpc = synapse->actions; lpc != NULL; lpc = lpc->next) { NULL 95 lib/pacemaker/pcmk_trans_graph.c GListPtr lpc = NULL; NULL 97 lib/pacemaker/pcmk_trans_graph.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { NULL 122 lib/pacemaker/pcmk_trans_graph.c GListPtr lpc = NULL; NULL 130 lib/pacemaker/pcmk_trans_graph.c for (lpc = synapse->inputs; lpc != NULL; lpc = lpc->next) { NULL 145 lib/pacemaker/pcmk_trans_graph.c for (lpc = synapse->actions; synapse->ready && lpc != NULL; lpc = lpc->next) { NULL 168 lib/pacemaker/pcmk_trans_graph.c const char *id = NULL; NULL 173 lib/pacemaker/pcmk_trans_graph.c CRM_CHECK(id != NULL, return FALSE); NULL 185 lib/pacemaker/pcmk_trans_graph.c const char *task = NULL; NULL 188 lib/pacemaker/pcmk_trans_graph.c CRM_CHECK(task != NULL, return FALSE); NULL 206 lib/pacemaker/pcmk_trans_graph.c GListPtr lpc = NULL; NULL 208 lib/pacemaker/pcmk_trans_graph.c CRM_CHECK(synapse != NULL, return FALSE); NULL 214 lib/pacemaker/pcmk_trans_graph.c for (lpc = synapse->actions; lpc != NULL; lpc = lpc->next) { NULL 238 lib/pacemaker/pcmk_trans_graph.c GListPtr lpc = NULL; NULL 244 lib/pacemaker/pcmk_trans_graph.c if (graph_fns == NULL) { NULL 247 lib/pacemaker/pcmk_trans_graph.c if (graph == NULL) { NULL 259 lib/pacemaker/pcmk_trans_graph.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { NULL 273 lib/pacemaker/pcmk_trans_graph.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { NULL 24 lib/pacemaker/pcmk_trans_unpack.c crm_action_t *action = NULL; NULL 27 lib/pacemaker/pcmk_trans_unpack.c if (value == NULL) { NULL 30 lib/pacemaker/pcmk_trans_unpack.c return NULL; NULL 34 lib/pacemaker/pcmk_trans_unpack.c if (action == NULL) { NULL 37 lib/pacemaker/pcmk_trans_unpack.c return NULL; NULL 40 lib/pacemaker/pcmk_trans_unpack.c action->id = crm_parse_int(value, NULL); NULL 58 lib/pacemaker/pcmk_trans_unpack.c if (value != NULL) { NULL 59 lib/pacemaker/pcmk_trans_unpack.c action->timeout = crm_parse_int(value, NULL); NULL 64 lib/pacemaker/pcmk_trans_unpack.c if (value != NULL) { NULL 65 lib/pacemaker/pcmk_trans_unpack.c action->timeout += crm_parse_int(value, NULL); NULL 75 lib/pacemaker/pcmk_trans_unpack.c if (value != NULL) { NULL 87 lib/pacemaker/pcmk_trans_unpack.c const char *value = NULL; NULL 88 lib/pacemaker/pcmk_trans_unpack.c xmlNode *inputs = NULL; NULL 89 lib/pacemaker/pcmk_trans_unpack.c xmlNode *action_set = NULL; NULL 90 lib/pacemaker/pcmk_trans_unpack.c synapse_t *new_synapse = NULL; NULL 92 lib/pacemaker/pcmk_trans_unpack.c CRM_CHECK(xml_synapse != NULL, return NULL); NULL 96 lib/pacemaker/pcmk_trans_unpack.c new_synapse->id = crm_parse_int(ID(xml_synapse), NULL); NULL 99 lib/pacemaker/pcmk_trans_unpack.c if (value != NULL) { NULL 100 lib/pacemaker/pcmk_trans_unpack.c new_synapse->priority = crm_parse_int(value, NULL); NULL 104 lib/pacemaker/pcmk_trans_unpack.c return NULL); NULL 110 lib/pacemaker/pcmk_trans_unpack.c for (action_set = pcmk__xml_first_child(xml_synapse); action_set != NULL; NULL 115 lib/pacemaker/pcmk_trans_unpack.c xmlNode *action = NULL; NULL 117 lib/pacemaker/pcmk_trans_unpack.c for (action = pcmk__xml_first_child(action_set); action != NULL; NULL 121 lib/pacemaker/pcmk_trans_unpack.c if (new_action == NULL) { NULL 136 lib/pacemaker/pcmk_trans_unpack.c for (inputs = pcmk__xml_first_child(xml_synapse); inputs != NULL; NULL 140 lib/pacemaker/pcmk_trans_unpack.c xmlNode *trigger = NULL; NULL 142 lib/pacemaker/pcmk_trans_unpack.c for (trigger = pcmk__xml_first_child(inputs); trigger != NULL; NULL 144 lib/pacemaker/pcmk_trans_unpack.c xmlNode *input = NULL; NULL 146 lib/pacemaker/pcmk_trans_unpack.c for (input = pcmk__xml_first_child(trigger); input != NULL; NULL 150 lib/pacemaker/pcmk_trans_unpack.c if (new_input == NULL) { NULL 180 lib/pacemaker/pcmk_trans_unpack.c crm_graph_t *new_graph = NULL; NULL 181 lib/pacemaker/pcmk_trans_unpack.c const char *t_id = NULL; NULL 182 lib/pacemaker/pcmk_trans_unpack.c const char *time = NULL; NULL 183 lib/pacemaker/pcmk_trans_unpack.c xmlNode *synapse = NULL; NULL 199 lib/pacemaker/pcmk_trans_unpack.c if (xml_graph != NULL) { NULL 201 lib/pacemaker/pcmk_trans_unpack.c CRM_CHECK(t_id != NULL, free(new_graph); NULL 202 lib/pacemaker/pcmk_trans_unpack.c return NULL); NULL 206 lib/pacemaker/pcmk_trans_unpack.c CRM_CHECK(time != NULL, free(new_graph); NULL 207 lib/pacemaker/pcmk_trans_unpack.c return NULL); NULL 211 lib/pacemaker/pcmk_trans_unpack.c if (time == NULL) { NULL 224 lib/pacemaker/pcmk_trans_unpack.c for (synapse = pcmk__xml_first_child(xml_graph); synapse != NULL; NULL 230 lib/pacemaker/pcmk_trans_unpack.c if (new_synapse != NULL) { NULL 260 lib/pacemaker/pcmk_trans_unpack.c while (synapse->actions != NULL) { NULL 267 lib/pacemaker/pcmk_trans_unpack.c while (synapse->inputs != NULL) { NULL 279 lib/pacemaker/pcmk_trans_unpack.c if (graph == NULL) { NULL 282 lib/pacemaker/pcmk_trans_unpack.c while (graph->synapses != NULL) { NULL 296 lib/pacemaker/pcmk_trans_unpack.c xmlNode *xop = NULL; NULL 297 lib/pacemaker/pcmk_trans_unpack.c lrmd_event_data_t *op = NULL; NULL 299 lib/pacemaker/pcmk_trans_unpack.c const char *name = NULL; NULL 300 lib/pacemaker/pcmk_trans_unpack.c const char *value = NULL; NULL 301 lib/pacemaker/pcmk_trans_unpack.c xmlNode *action_resource = NULL; NULL 303 lib/pacemaker/pcmk_trans_unpack.c CRM_CHECK(action != NULL, return NULL); NULL 304 lib/pacemaker/pcmk_trans_unpack.c CRM_CHECK(action->type == action_type_rsc, return NULL); NULL 307 lib/pacemaker/pcmk_trans_unpack.c CRM_CHECK(action_resource != NULL, crm_log_xml_warn(action->xml, "Bad"); NULL 308 lib/pacemaker/pcmk_trans_unpack.c return NULL); NULL 315 lib/pacemaker/pcmk_trans_unpack.c op->t_run = time(NULL); NULL 325 lib/pacemaker/pcmk_trans_unpack.c for (xop = pcmk__xml_first_child(resource); xop != NULL; NULL 28 lib/pacemaker/pcmk_trans_utils.c fail = (int) crm_parse_ll(fail_s, NULL); NULL 64 lib/pacemaker/pcmk_trans_utils.c CRM_ASSERT(graph_fns != NULL); NULL 65 lib/pacemaker/pcmk_trans_utils.c CRM_ASSERT(graph_fns->rsc != NULL); NULL 66 lib/pacemaker/pcmk_trans_utils.c CRM_ASSERT(graph_fns->crmd != NULL); NULL 67 lib/pacemaker/pcmk_trans_utils.c CRM_ASSERT(graph_fns->pseudo != NULL); NULL 68 lib/pacemaker/pcmk_trans_utils.c CRM_ASSERT(graph_fns->stonith != NULL); NULL 110 lib/pacemaker/pcmk_trans_utils.c GListPtr sIter = NULL; NULL 112 lib/pacemaker/pcmk_trans_utils.c if (graph == NULL) { NULL 113 lib/pacemaker/pcmk_trans_utils.c return NULL; NULL 116 lib/pacemaker/pcmk_trans_utils.c for (sIter = graph->synapses; sIter != NULL; sIter = sIter->next) { NULL 117 lib/pacemaker/pcmk_trans_utils.c GListPtr aIter = NULL; NULL 120 lib/pacemaker/pcmk_trans_utils.c for (aIter = synapse->actions; aIter != NULL; aIter = aIter->next) { NULL 128 lib/pacemaker/pcmk_trans_utils.c return NULL; NULL 153 lib/pacemaker/pcmk_trans_utils.c char *pending = NULL; NULL 156 lib/pacemaker/pcmk_trans_utils.c for (GList *lpc = synapse->inputs; lpc != NULL; lpc = lpc->next) { NULL 165 lib/pacemaker/pcmk_trans_utils.c } else if (find_action(graph, input->id) != NULL) { NULL 170 lib/pacemaker/pcmk_trans_utils.c if (pending == NULL) { NULL 181 lib/pacemaker/pcmk_trans_utils.c for (GList *lpc = synapse->inputs; lpc != NULL; lpc = lpc->next) { NULL 186 lib/pacemaker/pcmk_trans_utils.c if (find_action(graph, input->id) == NULL) { NULL 215 lib/pacemaker/pcmk_trans_utils.c char *pending = NULL; NULL 220 lib/pacemaker/pcmk_trans_utils.c for (GList *lpc = synapse->actions; lpc != NULL; lpc = lpc->next) { NULL 233 lib/pacemaker/pcmk_trans_utils.c print_synapse(log_level, NULL, action->synapse); NULL 239 lib/pacemaker/pcmk_trans_utils.c GListPtr lpc = NULL; NULL 241 lib/pacemaker/pcmk_trans_utils.c if (graph == NULL || graph->num_actions == 0) { NULL 253 lib/pacemaker/pcmk_trans_utils.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { NULL 282 lib/pacemaker/pcmk_trans_utils.c if (graph == NULL) { NULL 289 lib/pacemaker/pcmk_trans_utils.c if (graph->abort_reason != NULL) { NULL 35 lib/pengine/bundle.c return NULL; NULL 38 lib/pengine/bundle.c return NULL; NULL 55 lib/pengine/bundle.c if(data->ip_range_start == NULL) { NULL 86 lib/pengine/bundle.c xmlNode *rsc = create_xml_node(NULL, XML_CIB_TAG_RESOURCE); NULL 130 lib/pengine/bundle.c char *id = NULL; NULL 131 lib/pengine/bundle.c xmlNode *xml_ip = NULL; NULL 132 lib/pengine/bundle.c xmlNode *xml_obj = NULL; NULL 143 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "ip", replica->ipaddr); NULL 145 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "nic", data->host_network); NULL 149 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, NULL 153 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "cidr_netmask", "32"); NULL 157 lib/pengine/bundle.c crm_create_op_xml(xml_obj, ID(xml_ip), "monitor", "60s", NULL); NULL 181 lib/pengine/bundle.c char *id = NULL; NULL 182 lib/pengine/bundle.c xmlNode *xml_container = NULL; NULL 183 lib/pengine/bundle.c xmlNode *xml_obj = NULL; NULL 195 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "image", data->image); NULL 196 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "allow_pull", XML_BOOLEAN_TRUE); NULL 197 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "force_kill", XML_BOOLEAN_FALSE); NULL 198 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "reuse", XML_BOOLEAN_FALSE); NULL 207 lib/pengine/bundle.c if (data->ip_range_start != NULL) { NULL 229 lib/pengine/bundle.c for(GListPtr pIter = data->mounts; pIter != NULL; pIter = pIter->next) { NULL 251 lib/pengine/bundle.c for(GListPtr pIter = data->ports; pIter != NULL; pIter = pIter->next) { NULL 274 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_opts", buffer); NULL 277 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "mount_points", dbuffer); NULL 282 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, NULL 285 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, NULL 294 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", "/bin/true"); NULL 312 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, NULL 321 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", "/bin/true"); NULL 326 lib/pengine/bundle.c crm_create_op_xml(xml_obj, ID(xml_container), "monitor", "60s", NULL); NULL 347 lib/pengine/bundle.c char *id = NULL; NULL 348 lib/pengine/bundle.c xmlNode *xml_container = NULL; NULL 349 lib/pengine/bundle.c xmlNode *xml_obj = NULL; NULL 361 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "image", data->image); NULL 362 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "allow_pull", XML_BOOLEAN_TRUE); NULL 363 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "force_kill", XML_BOOLEAN_FALSE); NULL 364 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "reuse", XML_BOOLEAN_FALSE); NULL 374 lib/pengine/bundle.c if (data->ip_range_start != NULL) { NULL 397 lib/pengine/bundle.c for(GListPtr pIter = data->mounts; pIter != NULL; pIter = pIter->next) { NULL 419 lib/pengine/bundle.c for(GListPtr pIter = data->ports; pIter != NULL; pIter = pIter->next) { NULL 442 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_opts", buffer); NULL 445 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "mount_points", dbuffer); NULL 450 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, NULL 453 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, NULL 462 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", "/bin/true"); NULL 480 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, NULL 489 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", "/bin/true"); NULL 494 lib/pengine/bundle.c crm_create_op_xml(xml_obj, ID(xml_container), "monitor", "60s", NULL); NULL 515 lib/pengine/bundle.c char *id = NULL; NULL 516 lib/pengine/bundle.c xmlNode *xml_container = NULL; NULL 517 lib/pengine/bundle.c xmlNode *xml_obj = NULL; NULL 531 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "image", data->image); NULL 532 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "allow_pull", "true"); NULL 533 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "force_kill", "false"); NULL 534 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "reuse", "false"); NULL 541 lib/pengine/bundle.c if (data->ip_range_start != NULL) { NULL 563 lib/pengine/bundle.c for(GListPtr pIter = data->mounts; pIter != NULL; pIter = pIter->next) { NULL 591 lib/pengine/bundle.c for(GListPtr pIter = data->ports; pIter != NULL; pIter = pIter->next) { NULL 613 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_opts", buffer); NULL 616 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "mount_points", dbuffer); NULL 621 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_cmd", NULL 624 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_cmd", NULL 633 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", "/bin/true"); NULL 651 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_cmd", NULL 660 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", "/bin/true"); NULL 665 lib/pengine/bundle.c crm_create_op_xml(xml_obj, ID(xml_container), "monitor", "60s", NULL); NULL 694 lib/pengine/bundle.c for (child = rsc->children; child != NULL; child = child->next) { NULL 707 lib/pengine/bundle.c GListPtr rsc_iter = NULL; NULL 708 lib/pengine/bundle.c pe_node_t *node = NULL; NULL 709 lib/pengine/bundle.c xmlNode *xml_remote = NULL; NULL 711 lib/pengine/bundle.c char *port_s = NULL; NULL 712 lib/pengine/bundle.c const char *uname = NULL; NULL 713 lib/pengine/bundle.c const char *connect_name = NULL; NULL 715 lib/pengine/bundle.c if (pe_find_resource(data_set->resources, id) != NULL) { NULL 721 lib/pengine/bundle.c CRM_ASSERT(pe_find_resource(data_set->resources, id) == NULL); NULL 730 lib/pengine/bundle.c if (data->control_port == NULL) { NULL 739 lib/pengine/bundle.c xml_remote = pe_create_remote_xml(NULL, id, replica->container->id, NULL 740 lib/pengine/bundle.c NULL, NULL, NULL, NULL 750 lib/pengine/bundle.c id = NULL; NULL 758 lib/pengine/bundle.c if (node == NULL) { NULL 792 lib/pengine/bundle.c if (replica->child->allowed_nodes != NULL) { NULL 797 lib/pengine/bundle.c NULL, free); NULL 813 lib/pengine/bundle.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&node)) { NULL 933 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 935 lib/pengine/bundle.c if (top == NULL) { NULL 936 lib/pengine/bundle.c return NULL; NULL 939 lib/pengine/bundle.c while (top->parent != NULL) { NULL 944 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 953 lib/pengine/bundle.c return NULL; NULL 961 lib/pengine/bundle.c if (rsc == NULL) { NULL 991 lib/pengine/bundle.c pe_node_t *node = NULL; NULL 992 lib/pengine/bundle.c pe__bundle_replica_t *replica = NULL; NULL 995 lib/pengine/bundle.c return NULL; NULL 999 lib/pengine/bundle.c if (replica == NULL) { NULL 1000 lib/pengine/bundle.c return NULL; NULL 1004 lib/pengine/bundle.c if (node == NULL) { NULL 1011 lib/pengine/bundle.c if(node == NULL) { NULL 1013 lib/pengine/bundle.c return NULL; NULL 1018 lib/pengine/bundle.c if(xml != NULL && field != NULL) { NULL 1034 lib/pengine/bundle.c const char *value = NULL; NULL 1035 lib/pengine/bundle.c xmlNode *xml_obj = NULL; NULL 1036 lib/pengine/bundle.c xmlNode *xml_resource = NULL; NULL 1037 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 1040 lib/pengine/bundle.c CRM_ASSERT(rsc != NULL); NULL 1048 lib/pengine/bundle.c if (xml_obj != NULL) { NULL 1052 lib/pengine/bundle.c if (xml_obj != NULL) { NULL 1056 lib/pengine/bundle.c if (xml_obj != NULL) { NULL 1065 lib/pengine/bundle.c if (value == NULL) { NULL 1077 lib/pengine/bundle.c if ((value == NULL) && bundle_data->promoted_max) { NULL 1120 lib/pengine/bundle.c for (xmlNode *xml_child = pcmk__xe_first_child(xml_obj); xml_child != NULL; NULL 1126 lib/pengine/bundle.c if(port->source == NULL) { NULL 1132 lib/pengine/bundle.c if(port->source != NULL && strlen(port->source) > 0) { NULL 1133 lib/pengine/bundle.c if(port->target == NULL) { NULL 1146 lib/pengine/bundle.c for (xmlNode *xml_child = pcmk__xe_first_child(xml_obj); xml_child != NULL; NULL 1154 lib/pengine/bundle.c if (source == NULL) { NULL 1172 lib/pengine/bundle.c char *value = NULL; NULL 1173 lib/pengine/bundle.c xmlNode *xml_set = NULL; NULL 1175 lib/pengine/bundle.c xml_resource = create_xml_node(NULL, XML_CIB_TAG_INCARNATION); NULL 1188 lib/pengine/bundle.c crm_create_nvpair_xml(xml_set, NULL, NULL 1192 lib/pengine/bundle.c crm_create_nvpair_xml(xml_set, NULL, NULL 1197 lib/pengine/bundle.c crm_create_nvpair_xml(xml_set, NULL, NULL 1201 lib/pengine/bundle.c crm_create_nvpair_xml(xml_set, NULL, XML_RSC_ATTR_UNIQUE, NULL 1205 lib/pengine/bundle.c crm_create_nvpair_xml(xml_set, NULL, NULL 1209 lib/pengine/bundle.c crm_create_nvpair_xml(xml_set, NULL, NULL 1225 lib/pengine/bundle.c GListPtr childIter = NULL; NULL 1226 lib/pengine/bundle.c pe_resource_t *new_rsc = NULL; NULL 1227 lib/pengine/bundle.c pe__bundle_port_t *port = NULL; NULL 1230 lib/pengine/bundle.c char *buffer = NULL; NULL 1234 lib/pengine/bundle.c if (new_rsc != NULL && new_rsc->fns != NULL) { NULL 1264 lib/pengine/bundle.c DEFAULT_REMOTE_KEY_LOCATION, NULL, pe__bundle_mount_none); NULL 1267 lib/pengine/bundle.c mount_add(bundle_data, CRM_BUNDLE_DIR, "/var/log", NULL, NULL 1289 lib/pengine/bundle.c for (childIter = bundle_data->child->children; childIter != NULL; NULL 1336 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 1371 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 1372 lib/pengine/bundle.c GListPtr iter = NULL; NULL 1375 lib/pengine/bundle.c for (iter = bundle_data->replicas; iter != NULL; iter = iter->next) { NULL 1419 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 1423 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 1432 lib/pengine/bundle.c return NULL; NULL 1439 lib/pengine/bundle.c if (rsc != NULL) { NULL 1467 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 1468 lib/pengine/bundle.c char *child_text = NULL; NULL 1469 lib/pengine/bundle.c CRM_CHECK(rsc != NULL, return); NULL 1471 lib/pengine/bundle.c if (pre_text == NULL) { NULL 1487 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 1512 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 1517 lib/pengine/bundle.c CRM_ASSERT(rsc != NULL); NULL 1527 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 1539 lib/pengine/bundle.c print_ip = replica->ip != NULL && NULL 1541 lib/pengine/bundle.c print_child = replica->child != NULL && NULL 1544 lib/pengine/bundle.c print_remote = replica->remote != NULL && NULL 1607 lib/pengine/bundle.c if(rsc == NULL) { NULL 1635 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 1640 lib/pengine/bundle.c CRM_ASSERT(rsc != NULL); NULL 1650 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 1661 lib/pengine/bundle.c print_ip = replica->ip != NULL && NULL 1663 lib/pengine/bundle.c print_child = replica->child != NULL && NULL 1666 lib/pengine/bundle.c print_remote = replica->remote != NULL && NULL 1697 lib/pengine/bundle.c out->begin_list(out, NULL, NULL, NULL); NULL 1749 lib/pengine/bundle.c if(rsc == NULL) { NULL 1777 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 1783 lib/pengine/bundle.c CRM_ASSERT(rsc != NULL); NULL 1791 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 1802 lib/pengine/bundle.c print_ip = replica->ip != NULL && NULL 1804 lib/pengine/bundle.c print_child = replica->child != NULL && NULL 1807 lib/pengine/bundle.c print_remote = replica->remote != NULL && NULL 1827 lib/pengine/bundle.c out->list_item(out, NULL, "Replica[%d]", replica->offset); NULL 1830 lib/pengine/bundle.c out->begin_list(out, NULL, NULL, NULL); NULL 1875 lib/pengine/bundle.c pe_node_t *node = NULL; NULL 1881 lib/pengine/bundle.c if(rsc == NULL) { NULL 1905 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 1906 lib/pengine/bundle.c char *child_text = NULL; NULL 1907 lib/pengine/bundle.c CRM_CHECK(rsc != NULL, return); NULL 1916 lib/pengine/bundle.c if (pre_text == NULL) { NULL 1930 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; NULL 1972 lib/pengine/bundle.c if (replica == NULL) { NULL 1978 lib/pengine/bundle.c replica->node = NULL; NULL 1983 lib/pengine/bundle.c replica->ip->xml = NULL; NULL 1985 lib/pengine/bundle.c replica->ip = NULL; NULL 1989 lib/pengine/bundle.c replica->container->xml = NULL; NULL 1991 lib/pengine/bundle.c replica->container = NULL; NULL 1995 lib/pengine/bundle.c replica->remote->xml = NULL; NULL 1997 lib/pengine/bundle.c replica->remote = NULL; NULL 2006 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 2007 lib/pengine/bundle.c CRM_CHECK(rsc != NULL, return); NULL 2031 lib/pengine/bundle.c bundle_data->child->xml = NULL; NULL 2054 lib/pengine/bundle.c if ((rsc == NULL) || (rsc->variant != pe_container)) { NULL 2057 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 2067 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 2070 lib/pengine/bundle.c for (GList *item = bundle_data->replicas; item != NULL; item = item->next) { NULL 2092 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; NULL 2099 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; gIter = gIter->next) { NULL 2102 lib/pengine/bundle.c if (replica->ip != NULL && !replica->ip->fns->is_filtered(replica->ip, only_rsc, FALSE)) { NULL 2105 lib/pengine/bundle.c } else if (replica->child != NULL && !replica->child->fns->is_filtered(replica->child, only_rsc, FALSE)) { NULL 2111 lib/pengine/bundle.c } else if (replica->remote != NULL && !replica->remote->fns->is_filtered(replica->remote, only_rsc, FALSE)) { NULL 27 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 44 lib/pengine/clone.c char *child_id = NULL; NULL 45 lib/pengine/clone.c pe_resource_t *child = NULL; NULL 46 lib/pengine/clone.c const char *child_base = NULL; NULL 47 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 63 lib/pengine/clone.c char *inc_num = NULL; NULL 64 lib/pengine/clone.c char *inc_max = NULL; NULL 65 lib/pengine/clone.c pe_resource_t *child_rsc = NULL; NULL 66 lib/pengine/clone.c xmlNode *child_copy = NULL; NULL 67 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 71 lib/pengine/clone.c CRM_CHECK(clone_data->xml_obj_child != NULL, return FALSE); NULL 88 lib/pengine/clone.c child_rsc = NULL; NULL 115 lib/pengine/clone.c xmlNode *a_child = NULL; NULL 117 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 129 lib/pengine/clone.c const char *promoted_max = NULL; NULL 130 lib/pengine/clone.c const char *promoted_node_max = NULL; NULL 134 lib/pengine/clone.c if (promoted_max == NULL) { NULL 142 lib/pengine/clone.c if (promoted_node_max == NULL) { NULL 185 lib/pengine/clone.c for (a_child = pcmk__xe_first_child(xml_obj); a_child != NULL; NULL 188 lib/pengine/clone.c if (pcmk__str_any_of((const char *)a_child->name, XML_CIB_TAG_RESOURCE, XML_CIB_TAG_GROUP, NULL)) { NULL 194 lib/pengine/clone.c if (clone_data->xml_obj_child == NULL) { NULL 205 lib/pengine/clone.c if (g_hash_table_lookup(rsc->meta, XML_RSC_ATTR_STICKINESS) == NULL) { NULL 219 lib/pengine/clone.c if (pe__create_clone_child(rsc, data_set) == NULL) { NULL 226 lib/pengine/clone.c if (pe__create_clone_child(rsc, data_set) == NULL) { NULL 241 lib/pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 262 lib/pengine/clone.c if(suffix == NULL) { NULL 290 lib/pengine/clone.c if ((target_role == NULL) && rsc->children && rsc->children->data) { NULL 329 lib/pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 352 lib/pengine/clone.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 372 lib/pengine/clone.c char *list_text = NULL; NULL 373 lib/pengine/clone.c char *child_text = NULL; NULL 374 lib/pengine/clone.c char *stopped_list = NULL; NULL 378 lib/pengine/clone.c GListPtr master_list = NULL; NULL 379 lib/pengine/clone.c GListPtr started_list = NULL; NULL 382 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 385 lib/pengine/clone.c if (pre_text == NULL) { NULL 411 lib/pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 429 lib/pengine/clone.c && (child_rsc->pending_task != NULL) NULL 451 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); NULL 498 lib/pengine/clone.c short_print(list_text, child_text, "Masters", NULL, options, print_data); NULL 501 lib/pengine/clone.c list_text = NULL; NULL 517 lib/pengine/clone.c short_print(list_text, child_text, "Slaves (target-role)", NULL, options, print_data); NULL 519 lib/pengine/clone.c short_print(list_text, child_text, "Slaves", NULL, options, print_data); NULL 523 lib/pengine/clone.c short_print(list_text, child_text, "Started", NULL, options, print_data); NULL 528 lib/pengine/clone.c list_text = NULL; NULL 547 lib/pengine/clone.c stopped_list = NULL; NULL 550 lib/pengine/clone.c if (list == NULL) { NULL 558 lib/pengine/clone.c for (nIter = list; nIter != NULL; nIter = nIter->next) { NULL 561 lib/pengine/clone.c if (pe_find_node(rsc->running_on, node->details->uname) == NULL) { NULL 569 lib/pengine/clone.c short_print(stopped_list, child_text, state, NULL, options, print_data); NULL 599 lib/pengine/clone.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(only_rsc, rsc->id)); NULL 601 lib/pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 647 lib/pengine/clone.c char *list_text = NULL; NULL 648 lib/pengine/clone.c char *stopped_list = NULL; NULL 652 lib/pengine/clone.c GListPtr master_list = NULL; NULL 653 lib/pengine/clone.c GListPtr started_list = NULL; NULL 656 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 668 lib/pengine/clone.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(only_rsc, rsc->id)); NULL 670 lib/pengine/clone.c out->begin_list(out, NULL, NULL, "Clone Set: %s [%s]%s%s%s%s", NULL 678 lib/pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 704 lib/pengine/clone.c && (child_rsc->pending_task != NULL) NULL 726 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); NULL 754 lib/pengine/clone.c GListPtr all = NULL; NULL 783 lib/pengine/clone.c if (list_text != NULL) { NULL 784 lib/pengine/clone.c out->list_item(out, NULL, " Masters: [ %s ]", list_text); NULL 787 lib/pengine/clone.c list_text = NULL; NULL 804 lib/pengine/clone.c if (list_text != NULL) { NULL 809 lib/pengine/clone.c out->list_item(out, NULL, " Slaves (target-role): [ %s ]", list_text); NULL 811 lib/pengine/clone.c out->list_item(out, NULL, " Slaves: [ %s ]", list_text); NULL 815 lib/pengine/clone.c out->list_item(out, NULL, " Started: [ %s ]", list_text); NULL 820 lib/pengine/clone.c list_text = NULL; NULL 840 lib/pengine/clone.c stopped_list = NULL; NULL 843 lib/pengine/clone.c if (list == NULL) { NULL 851 lib/pengine/clone.c for (nIter = list; nIter != NULL; nIter = nIter->next) { NULL 854 lib/pengine/clone.c if (pe_find_node(rsc->running_on, node->details->uname) == NULL && NULL 863 lib/pengine/clone.c if (stopped_list != NULL) { NULL 864 lib/pengine/clone.c out->list_item(out, NULL, " %s: [ %s ]", state, stopped_list); NULL 884 lib/pengine/clone.c char *list_text = NULL; NULL 885 lib/pengine/clone.c char *stopped_list = NULL; NULL 889 lib/pengine/clone.c GListPtr master_list = NULL; NULL 890 lib/pengine/clone.c GListPtr started_list = NULL; NULL 893 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 905 lib/pengine/clone.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(only_rsc, rsc->id)); NULL 907 lib/pengine/clone.c out->begin_list(out, NULL, NULL, "Clone Set: %s [%s]%s%s%s%s", NULL 915 lib/pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 941 lib/pengine/clone.c && (child_rsc->pending_task != NULL) NULL 963 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); NULL 991 lib/pengine/clone.c GListPtr all = NULL; NULL 1020 lib/pengine/clone.c if (list_text != NULL) { NULL 1024 lib/pengine/clone.c list_text = NULL; NULL 1041 lib/pengine/clone.c if (list_text != NULL) { NULL 1056 lib/pengine/clone.c list_text = NULL; NULL 1075 lib/pengine/clone.c stopped_list = NULL; NULL 1078 lib/pengine/clone.c if (list == NULL) { NULL 1086 lib/pengine/clone.c for (nIter = list; nIter != NULL; nIter = nIter->next) { NULL 1089 lib/pengine/clone.c if (pe_find_node(rsc->running_on, node->details->uname) == NULL && NULL 1098 lib/pengine/clone.c if (stopped_list != NULL) { NULL 1112 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 1118 lib/pengine/clone.c for (GListPtr gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 1124 lib/pengine/clone.c child_rsc->xml = NULL; NULL 1127 lib/pengine/clone.c child_rsc->orig_xml = NULL; NULL 1134 lib/pengine/clone.c CRM_ASSERT(clone_data->demote_notify == NULL); NULL 1135 lib/pengine/clone.c CRM_ASSERT(clone_data->stop_notify == NULL); NULL 1136 lib/pengine/clone.c CRM_ASSERT(clone_data->start_notify == NULL); NULL 1137 lib/pengine/clone.c CRM_ASSERT(clone_data->promote_notify == NULL); NULL 1149 lib/pengine/clone.c for (; gIter != NULL; gIter = gIter->next) { NULL 1174 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 1188 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; NULL 1197 lib/pengine/clone.c for (GListPtr gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 27 lib/pengine/common.c "migrate-on-red", NULL); NULL 33 lib/pengine/common.c return pcmk__strcase_any_of(value, "reboot", "poweroff", "off", NULL); NULL 40 lib/pengine/common.c "balanced", NULL); NULL 50 lib/pengine/common.c "no-quorum-policy", NULL, "enum", "stop, freeze, ignore, demote, suicide", NULL 53 lib/pengine/common.c NULL NULL 56 lib/pengine/common.c "symmetric-cluster", NULL, "boolean", NULL, NULL 59 lib/pengine/common.c NULL NULL 62 lib/pengine/common.c "maintenance-mode", NULL, "boolean", NULL, NULL 66 lib/pengine/common.c NULL NULL 69 lib/pengine/common.c "start-failure-is-fatal", NULL, "boolean", NULL, NULL 78 lib/pengine/common.c "enable-startup-probes", NULL, "boolean", NULL, NULL 81 lib/pengine/common.c NULL NULL 84 lib/pengine/common.c XML_CONFIG_ATTR_SHUTDOWN_LOCK, NULL, "boolean", NULL, NULL 96 lib/pengine/common.c XML_CONFIG_ATTR_SHUTDOWN_LOCK_LIMIT, NULL, "time", NULL, NULL 106 lib/pengine/common.c "stonith-enabled", NULL, "boolean", NULL, NULL 116 lib/pengine/common.c "stonith-action", NULL, "enum", "reboot, off, poweroff", NULL 120 lib/pengine/common.c NULL NULL 123 lib/pengine/common.c "stonith-timeout", NULL, "time", NULL, NULL 130 lib/pengine/common.c XML_ATTR_HAVE_WATCHDOG, NULL, "boolean", NULL, NULL 141 lib/pengine/common.c "concurrent-fencing", NULL, "boolean", NULL, NULL 149 lib/pengine/common.c NULL NULL 152 lib/pengine/common.c "startup-fencing", NULL, "boolean", NULL, NULL 159 lib/pengine/common.c XML_CONFIG_ATTR_PRIORITY_FENCING_DELAY, NULL, "time", NULL, NULL 177 lib/pengine/common.c "cluster-delay", NULL, "time", NULL, NULL 187 lib/pengine/common.c "batch-limit", NULL, "integer", NULL, NULL 197 lib/pengine/common.c "migration-limit", NULL, "integer", NULL, NULL 205 lib/pengine/common.c "stop-all-resources", NULL, "boolean", NULL, NULL 208 lib/pengine/common.c NULL NULL 211 lib/pengine/common.c "stop-orphan-resources", NULL, "boolean", NULL, NULL 214 lib/pengine/common.c NULL NULL 217 lib/pengine/common.c "stop-orphan-actions", NULL, "boolean", NULL, NULL 220 lib/pengine/common.c NULL NULL 223 lib/pengine/common.c "remove-after-stop", NULL, "boolean", NULL, NULL 232 lib/pengine/common.c "pe-error-series-max", NULL, "integer", NULL, NULL 238 lib/pengine/common.c "pe-warn-series-max", NULL, "integer", NULL, NULL 244 lib/pengine/common.c "pe-input-series-max", NULL, "integer", NULL, NULL 252 lib/pengine/common.c "node-health-strategy", NULL, "enum", NULL 261 lib/pengine/common.c "node-health-base", NULL, "integer", NULL, NULL 267 lib/pengine/common.c "node-health-green", NULL, "integer", NULL, NULL 273 lib/pengine/common.c "node-health-yellow", NULL, "integer", NULL, NULL 279 lib/pengine/common.c "node-health-red", NULL, "integer", NULL, NULL 287 lib/pengine/common.c "placement-strategy", NULL, "enum", NULL 291 lib/pengine/common.c NULL NULL 486 lib/pengine/common.c CRM_ASSERT(role != NULL); NULL 575 lib/pengine/common.c CRM_CHECK(hash != NULL, return); NULL 578 lib/pengine/common.c if (name == NULL || value == NULL) { NULL 584 lib/pengine/common.c } else if (g_hash_table_lookup(hash, name) == NULL) { NULL 595 lib/pengine/common.c if(node == NULL) { NULL 596 lib/pengine/common.c return NULL; NULL 598 lib/pengine/common.c } else if(rsc == NULL) { NULL 603 lib/pengine/common.c if(source == NULL || !pcmk__str_eq("host", source, pcmk__str_casei)) { NULL 625 lib/pengine/common.c return NULL; NULL 631 lib/pengine/common.c if(node == NULL) { NULL 632 lib/pengine/common.c return NULL; NULL 110 lib/pengine/complex.c .node_hash = NULL, NULL 113 lib/pengine/complex.c .match_data = NULL, NULL 115 lib/pengine/complex.c .op_data = NULL NULL 123 lib/pengine/complex.c xmlAttrPtr xIter = NULL; NULL 134 lib/pengine/complex.c meta_hash, NULL, FALSE, data_set); NULL 137 lib/pengine/complex.c if (rsc->parent != NULL) { NULL 143 lib/pengine/complex.c &rule_data, meta_hash, NULL, FALSE, data_set); NULL 151 lib/pengine/complex.c .node_hash = NULL, NULL 154 lib/pengine/complex.c .match_data = NULL, NULL 155 lib/pengine/complex.c .rsc_data = NULL, NULL 156 lib/pengine/complex.c .op_data = NULL NULL 164 lib/pengine/complex.c meta_hash, NULL, FALSE, data_set); NULL 167 lib/pengine/complex.c if (rsc->parent != NULL) { NULL 173 lib/pengine/complex.c &rule_data, meta_hash, NULL, FALSE, data_set); NULL 183 lib/pengine/complex.c .node_hash = (node == NULL)? NULL : node->details->attrs, NULL 186 lib/pengine/complex.c .match_data = NULL, NULL 187 lib/pengine/complex.c .rsc_data = NULL, NULL 188 lib/pengine/complex.c .op_data = NULL NULL 192 lib/pengine/complex.c &rule_data, meta_hash, NULL); NULL 195 lib/pengine/complex.c if (rsc->parent != NULL) { NULL 202 lib/pengine/complex.c NULL); NULL 212 lib/pengine/complex.c char *key = NULL; NULL 226 lib/pengine/complex.c xmlNode *cib_resources = NULL; NULL 227 lib/pengine/complex.c xmlNode *template = NULL; NULL 228 lib/pengine/complex.c xmlNode *new_xml = NULL; NULL 229 lib/pengine/complex.c xmlNode *child_xml = NULL; NULL 230 lib/pengine/complex.c xmlNode *rsc_ops = NULL; NULL 231 lib/pengine/complex.c xmlNode *template_ops = NULL; NULL 232 lib/pengine/complex.c const char *template_ref = NULL; NULL 233 lib/pengine/complex.c const char *clone = NULL; NULL 234 lib/pengine/complex.c const char *id = NULL; NULL 236 lib/pengine/complex.c if (xml_obj == NULL) { NULL 242 lib/pengine/complex.c if (template_ref == NULL) { NULL 247 lib/pengine/complex.c if (id == NULL) { NULL 258 lib/pengine/complex.c if (cib_resources == NULL) { NULL 265 lib/pengine/complex.c if (template == NULL) { NULL 281 lib/pengine/complex.c for (child_xml = pcmk__xe_first_child(xml_obj); child_xml != NULL; NULL 283 lib/pengine/complex.c xmlNode *new_child = NULL; NULL 293 lib/pengine/complex.c xmlNode *op = NULL; NULL 296 lib/pengine/complex.c NULL); NULL 298 lib/pengine/complex.c for (op = pcmk__xe_first_child(rsc_ops); op != NULL; NULL 306 lib/pengine/complex.c for (op = pcmk__xe_first_child(template_ops); op != NULL; NULL 311 lib/pengine/complex.c if (g_hash_table_lookup(rsc_ops_hash, key) == NULL) { NULL 342 lib/pengine/complex.c const char *template_ref = NULL; NULL 343 lib/pengine/complex.c const char *id = NULL; NULL 345 lib/pengine/complex.c if (xml_obj == NULL) { NULL 351 lib/pengine/complex.c if (template_ref == NULL) { NULL 356 lib/pengine/complex.c if (id == NULL) { NULL 400 lib/pengine/complex.c xmlNode *expanded_xml = NULL; NULL 401 lib/pengine/complex.c xmlNode *ops = NULL; NULL 402 lib/pengine/complex.c const char *value = NULL; NULL 403 lib/pengine/complex.c const char *rclass = NULL; /* Look for this after any templates have been expanded */ NULL 410 lib/pengine/complex.c .node_hash = NULL, NULL 413 lib/pengine/complex.c .match_data = NULL, NULL 414 lib/pengine/complex.c .rsc_data = NULL, NULL 415 lib/pengine/complex.c .op_data = NULL NULL 420 lib/pengine/complex.c if (id == NULL) { NULL 424 lib/pengine/complex.c } else if (rsc == NULL) { NULL 444 lib/pengine/complex.c (*rsc)->orig_xml = NULL; NULL 464 lib/pengine/complex.c (*rsc)->versioned_parameters = create_xml_node(NULL, XML_TAG_RSC_VER_ATTRS); NULL 470 lib/pengine/complex.c g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, free); NULL 472 lib/pengine/complex.c (*rsc)->known_on = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, NULL 487 lib/pengine/complex.c get_meta_attributes((*rsc)->meta, *rsc, NULL, data_set); NULL 488 lib/pengine/complex.c get_rsc_attributes((*rsc)->parameters, *rsc, NULL, data_set); NULL 490 lib/pengine/complex.c pe_get_versioned_attributes((*rsc)->versioned_parameters, *rsc, NULL, data_set); NULL 500 lib/pengine/complex.c (*rsc)->rsc_cons = NULL; NULL 501 lib/pengine/complex.c (*rsc)->rsc_tickets = NULL; NULL 502 lib/pengine/complex.c (*rsc)->actions = NULL; NULL 536 lib/pengine/complex.c } else if ((value == NULL) && remote_node && !has_versioned_params) { NULL 548 lib/pengine/complex.c if (value != NULL && !pcmk__str_eq("default", value, pcmk__str_casei)) { NULL 607 lib/pengine/complex.c if (value != NULL && !pcmk__str_eq("default", value, pcmk__str_casei)) { NULL 612 lib/pengine/complex.c if (value != NULL && !pcmk__str_eq("default", value, pcmk__str_casei)) { NULL 695 lib/pengine/complex.c if (orig_value != NULL) { NULL 706 lib/pengine/complex.c if (value != NULL) { NULL 733 lib/pengine/complex.c resource_location(*rsc, NULL, 0, "symmetric_default", data_set); NULL 738 lib/pengine/complex.c resource_location(*rsc, NULL, 0, "remote_connection_default", data_set); NULL 747 lib/pengine/complex.c (*rsc)->utilization, NULL, FALSE, data_set); NULL 762 lib/pengine/complex.c pe_node_t *node = NULL; NULL 765 lib/pengine/complex.c if (node != NULL) { NULL 773 lib/pengine/complex.c for (; gIter != NULL; gIter = gIter->next) { NULL 786 lib/pengine/complex.c if (parent == NULL || rsc == NULL) { NULL 789 lib/pengine/complex.c while (parent->parent != NULL) { NULL 803 lib/pengine/complex.c if (parent == NULL) { NULL 804 lib/pengine/complex.c return NULL; NULL 806 lib/pengine/complex.c while (parent->parent != NULL && parent->parent->variant != pe_container) { NULL 815 lib/pengine/complex.c if (rsc == NULL) { NULL 826 lib/pengine/complex.c if (rsc->parameters != NULL) { NULL 830 lib/pengine/complex.c if (rsc->versioned_parameters != NULL) { NULL 834 lib/pengine/complex.c if (rsc->meta != NULL) { NULL 837 lib/pengine/complex.c if (rsc->utilization != NULL) { NULL 841 lib/pengine/complex.c if ((rsc->parent == NULL) && pcmk_is_set(rsc->flags, pe_rsc_orphan)) { NULL 843 lib/pengine/complex.c rsc->xml = NULL; NULL 845 lib/pengine/complex.c rsc->orig_xml = NULL; NULL 850 lib/pengine/complex.c rsc->xml = NULL; NULL 854 lib/pengine/complex.c rsc->running_on = NULL; NULL 858 lib/pengine/complex.c rsc->known_on = NULL; NULL 862 lib/pengine/complex.c rsc->actions = NULL; NULL 866 lib/pengine/complex.c rsc->allowed_nodes = NULL; NULL 898 lib/pengine/complex.c pe_node_t *active = NULL; NULL 899 lib/pengine/complex.c pe_node_t *node = NULL; NULL 909 lib/pengine/complex.c if (rsc == NULL) { NULL 910 lib/pengine/complex.c return NULL; NULL 913 lib/pengine/complex.c for (GList *node_iter = rsc->running_on; node_iter != NULL; NULL 932 lib/pengine/complex.c if (rsc->partial_migration_source != NULL) { NULL 948 lib/pengine/complex.c if (active == NULL) { NULL 978 lib/pengine/complex.c return pe__find_active_on(rsc, NULL, count); NULL 980 lib/pengine/complex.c return pe__find_active_on(rsc, count, NULL); NULL 986 lib/pengine/complex.c if (rsc->children != NULL) { NULL 987 lib/pengine/complex.c for (GList *item = rsc->children; item != NULL; item = item->next) { NULL 25 lib/pengine/failcounts.c const char *conf_op_name = NULL; NULL 26 lib/pengine/failcounts.c const char *lrm_op_task = NULL; NULL 27 lib/pengine/failcounts.c const char *conf_op_interval_spec = NULL; NULL 30 lib/pengine/failcounts.c const char *lrm_op_id = NULL; NULL 31 lib/pengine/failcounts.c char *last_failure_key = NULL; NULL 33 lib/pengine/failcounts.c if (rsc_id == NULL || conf_op_xml == NULL || lrm_op_xml == NULL) { NULL 117 lib/pengine/failcounts.c const char *conf_op_name = NULL; NULL 118 lib/pengine/failcounts.c const char *conf_op_interval_spec = NULL; NULL 120 lib/pengine/failcounts.c char *lrm_op_xpath = NULL; NULL 121 lib/pengine/failcounts.c xmlXPathObject *lrm_op_xpathObj = NULL; NULL 254 lib/pengine/failcounts.c char *key = NULL; NULL 255 lib/pengine/failcounts.c const char *value = NULL; NULL 266 lib/pengine/failcounts.c if (regexec(&failcount_re, key, 0, NULL, 0) == 0) { NULL 268 lib/pengine/failcounts.c } else if (regexec(&lastfailure_re, key, 0, NULL, 0) == 0) { NULL 269 lib/pengine/failcounts.c last = QB_MAX(last, (time_t) crm_parse_ll(value, NULL)); NULL 276 lib/pengine/failcounts.c if ((failcount > 0) && (last > 0) && (last_failure != NULL)) { NULL 315 lib/pengine/failcounts.c GListPtr gIter = NULL; NULL 317 lib/pengine/failcounts.c for (gIter = rsc->fillers; gIter != NULL; gIter = gIter->next) { NULL 363 lib/pengine/failcounts.c char *key = NULL; NULL 364 lib/pengine/failcounts.c pe_action_t *clear = NULL; NULL 366 lib/pengine/failcounts.c CRM_CHECK(rsc && node && reason && data_set, return NULL); NULL 26 lib/pengine/group.c xmlNode *xml_native_rsc = NULL; NULL 27 lib/pengine/group.c group_variant_data_t *group_data = NULL; NULL 30 lib/pengine/group.c const char *clone_id = NULL; NULL 36 lib/pengine/group.c group_data->first_child = NULL; NULL 37 lib/pengine/group.c group_data->last_child = NULL; NULL 41 lib/pengine/group.c if ((group_ordered == NULL) NULL 45 lib/pengine/group.c if ((group_colocated == NULL) NULL 52 lib/pengine/group.c for (xml_native_rsc = pcmk__xe_first_child(xml_obj); xml_native_rsc != NULL; NULL 57 lib/pengine/group.c pe_resource_t *new_rsc = NULL; NULL 62 lib/pengine/group.c if (new_rsc != NULL && new_rsc->fns != NULL) { NULL 71 lib/pengine/group.c if (group_data->first_child == NULL) { NULL 96 lib/pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 124 lib/pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 137 lib/pengine/group.c char *child_text = NULL; NULL 140 lib/pengine/group.c if (pre_text == NULL) { NULL 164 lib/pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 204 lib/pengine/group.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(only_rsc, rsc->id)); NULL 206 lib/pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 251 lib/pengine/group.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(only_rsc, rsc->id)); NULL 256 lib/pengine/group.c if (rscs != NULL) { NULL 257 lib/pengine/group.c out->begin_list(out, NULL, NULL, "Resource Group: %s%s%s", rsc->id, NULL 306 lib/pengine/group.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(only_rsc, rsc->id)); NULL 311 lib/pengine/group.c if (rscs != NULL) { NULL 312 lib/pengine/group.c out->begin_list(out, NULL, NULL, "Resource Group: %s%s%s", rsc->id, NULL 347 lib/pengine/group.c CRM_CHECK(rsc != NULL, return); NULL 351 lib/pengine/group.c for (GListPtr gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 371 lib/pengine/group.c for (; gIter != NULL; gIter = gIter->next) { NULL 393 lib/pengine/group.c } else if (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(only_rsc, rsc->id)) { NULL 396 lib/pengine/group.c for (GListPtr gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 67 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 87 lib/pengine/native.c CRM_CHECK(node != NULL, return); NULL 88 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 91 lib/pengine/native.c CRM_CHECK(a_node != NULL, return); NULL 130 lib/pengine/native.c pe_node_t *local_node = NULL; NULL 133 lib/pengine/native.c if (rsc->allowed_nodes != NULL) { NULL 138 lib/pengine/native.c while (g_hash_table_iter_next(&gIter, NULL, (void **)&local_node)) { NULL 157 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 174 lib/pengine/native.c if (rsc->parent != NULL) { NULL 185 lib/pengine/native.c for (GList *child = rsc->children; child != NULL; child = child->next) { NULL 194 lib/pengine/native.c native_variant_data_t *native_data = NULL; NULL 250 lib/pengine/native.c && (rsc->running_on == NULL)) { NULL 265 lib/pengine/native.c pe_resource_t *result = NULL; NULL 267 lib/pengine/native.c CRM_CHECK(id && rsc && rsc->id, return NULL); NULL 304 lib/pengine/native.c for (GListPtr gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 312 lib/pengine/native.c return NULL; NULL 319 lib/pengine/native.c char *value_copy = NULL; NULL 320 lib/pengine/native.c const char *value = NULL; NULL 321 lib/pengine/native.c GHashTable *hash = NULL; NULL 322 lib/pengine/native.c GHashTable *local_hash = NULL; NULL 324 lib/pengine/native.c CRM_CHECK(rsc != NULL, return NULL); NULL 325 lib/pengine/native.c CRM_CHECK(name != NULL && strlen(name) != 0, return NULL); NULL 330 lib/pengine/native.c if (node != NULL) { NULL 346 lib/pengine/native.c if (value == NULL) { NULL 351 lib/pengine/native.c if (value != NULL) { NULL 354 lib/pengine/native.c if (local_hash != NULL) { NULL 363 lib/pengine/native.c for (GList *gIter = rsc->running_on; gIter != NULL; gIter = gIter->next) { NULL 399 lib/pengine/native.c const char *pending_state = NULL; NULL 427 lib/pengine/native.c const char *pending_task = NULL; NULL 462 lib/pengine/native.c const char *rsc_state = NULL; NULL 467 lib/pengine/native.c if (rsc_state == NULL) { NULL 479 lib/pengine/native.c const char *target_role = NULL; NULL 524 lib/pengine/native.c } else if (rsc->running_on != NULL) { NULL 528 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 578 lib/pengine/native.c const char *provider = NULL; NULL 580 lib/pengine/native.c char *retval = NULL; NULL 581 lib/pengine/native.c GString *outstr = NULL; NULL 584 lib/pengine/native.c CRM_CHECK(name != NULL, name = "unknown"); NULL 585 lib/pengine/native.c CRM_CHECK(kind != NULL, kind = "unknown"); NULL 586 lib/pengine/native.c CRM_CHECK(class != NULL, class = "unknown"); NULL 592 lib/pengine/native.c if ((node == NULL) && (rsc->lock_node != NULL)) { NULL 597 lib/pengine/native.c node = NULL; NULL 701 lib/pengine/native.c for (GList *iter = rsc->running_on; iter != NULL; iter = iter->next) { NULL 721 lib/pengine/native.c const char *target_role = NULL; NULL 723 lib/pengine/native.c xmlNodePtr list_node = NULL; NULL 724 lib/pengine/native.c const char *cl = NULL; NULL 727 lib/pengine/native.c CRM_ASSERT(kind != NULL); NULL 747 lib/pengine/native.c } else if (rsc->variant == pe_native && (rsc->running_on == NULL)) { NULL 764 lib/pengine/native.c list_node = pcmk__output_create_html_node(out, "li", NULL, NULL, NULL); NULL 765 lib/pengine/native.c pcmk_create_html_node(list_node, "span", NULL, cl, s); NULL 773 lib/pengine/native.c out->begin_list(out, NULL, NULL, "Options"); NULL 776 lib/pengine/native.c out->list_item(out, NULL, "Option: %s = %s", (char *) key, (char *) value); NULL 783 lib/pengine/native.c pe_node_t *n = NULL; NULL 785 lib/pengine/native.c out->begin_list(out, NULL, NULL, "Allowed Nodes"); NULL 787 lib/pengine/native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&n)) { NULL 788 lib/pengine/native.c out->list_item(out, NULL, "%s %d", n->details->uname, n->weight); NULL 795 lib/pengine/native.c pe_node_t *n = NULL; NULL 797 lib/pengine/native.c out->begin_list(out, NULL, NULL, "=== Allowed Nodes"); NULL 799 lib/pengine/native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&n)) { NULL 812 lib/pengine/native.c const char *target_role = NULL; NULL 832 lib/pengine/native.c out->list_item(out, NULL, "%s", s); NULL 840 lib/pengine/native.c out->begin_list(out, NULL, NULL, "Options"); NULL 843 lib/pengine/native.c out->list_item(out, NULL, "Option: %s = %s", (char *) key, (char *) value); NULL 850 lib/pengine/native.c pe_node_t *n = NULL; NULL 852 lib/pengine/native.c out->begin_list(out, NULL, NULL, "Allowed Nodes"); NULL 854 lib/pengine/native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&n)) { NULL 855 lib/pengine/native.c out->list_item(out, NULL, "%s %d", n->details->uname, n->weight); NULL 862 lib/pengine/native.c pe_node_t *n = NULL; NULL 864 lib/pengine/native.c out->begin_list(out, NULL, NULL, "=== Allowed Nodes"); NULL 866 lib/pengine/native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&n)) { NULL 878 lib/pengine/native.c const char *target_role = NULL; NULL 900 lib/pengine/native.c if ((pre_text == NULL) && (options & pe_print_printf)) { NULL 911 lib/pengine/native.c } else if (rsc->running_on == NULL) { NULL 958 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 1008 lib/pengine/native.c pe_node_t *n = NULL; NULL 1012 lib/pengine/native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&n)) { NULL 1019 lib/pengine/native.c pe_node_t *n = NULL; NULL 1023 lib/pengine/native.c while (g_hash_table_iter_next(&iter, NULL, (void **)&n)) { NULL 1032 lib/pengine/native.c pe_node_t *node = NULL; NULL 1042 lib/pengine/native.c if (node == NULL) { NULL 1067 lib/pengine/native.c char *nodes_running_on = NULL; NULL 1068 lib/pengine/native.c char *priority = NULL; NULL 1070 lib/pengine/native.c const char *target_role = NULL; NULL 1072 lib/pengine/native.c if (rsc->meta != NULL) { NULL 1101 lib/pengine/native.c "pending", (is_print_pending? native_pending_task(rsc) : NULL), NULL 1102 lib/pengine/native.c "provisional", (is_print_dev? pe__rsc_bool_str(rsc, pe_rsc_provisional) : NULL), NULL 1103 lib/pengine/native.c "runnable", (is_print_dev? pe__rsc_bool_str(rsc, pe_rsc_runnable) : NULL), NULL 1104 lib/pengine/native.c "priority", (is_print_dev? priority : NULL), NULL 1105 lib/pengine/native.c "variant", (is_print_dev? crm_element_name(rsc->xml) : NULL)); NULL 1111 lib/pengine/native.c if (rsc->running_on != NULL) { NULL 1114 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 1146 lib/pengine/native.c if (node == NULL) { NULL 1170 lib/pengine/native.c if (node == NULL) { NULL 1209 lib/pengine/native.c pe_node_t *one = NULL; NULL 1210 lib/pengine/native.c GListPtr result = NULL; NULL 1215 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 1232 lib/pengine/native.c result = g_list_append(NULL, rsc->allocated_to); NULL 1235 lib/pengine/native.c if (result && (result->next == NULL)) { NULL 1242 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 1245 lib/pengine/native.c if (*list == NULL || pe_find_node_id(*list, node->details->id) == NULL) { NULL 1260 lib/pengine/native.c for (; gIter != NULL; gIter = gIter->next) { NULL 1269 lib/pengine/native.c int *rsc_counter = NULL; NULL 1270 lib/pengine/native.c int *active_counter = NULL; NULL 1286 lib/pengine/native.c if (rsc_counter == NULL) { NULL 1297 lib/pengine/native.c for (; gIter2 != NULL; gIter2 = gIter2->next) { NULL 1299 lib/pengine/native.c GHashTable *node_table = NULL; NULL 1306 lib/pengine/native.c if (node_table == NULL) { NULL 1312 lib/pengine/native.c if (active_counter == NULL) { NULL 1341 lib/pengine/native.c char *type = NULL; NULL 1342 lib/pengine/native.c int *rsc_counter = NULL; NULL 1349 lib/pengine/native.c char *node_name = NULL; NULL 1350 lib/pengine/native.c GHashTable *node_table = NULL; NULL 1357 lib/pengine/native.c if (active_counter == NULL || *active_counter == 0) { NULL 1365 lib/pengine/native.c node_name = NULL; NULL 1405 lib/pengine/native.c rsc_table = NULL; NULL 1409 lib/pengine/native.c active_table = NULL; NULL 1435 lib/pengine/native.c char *node_name = NULL; NULL 1436 lib/pengine/native.c GHashTable *node_table = NULL; NULL 1443 lib/pengine/native.c if (active_counter == NULL || *active_counter == 0) { NULL 1451 lib/pengine/native.c node_name = NULL; NULL 1455 lib/pengine/native.c out->list_item(out, NULL, " %d/%d\t(%s):\tActive %s", NULL 1460 lib/pengine/native.c out->list_item(out, NULL, " %d\t(%s):\tActive %s", NULL 1469 lib/pengine/native.c out->list_item(out, NULL, " %d/%d\t(%s):\tActive", NULL 1478 lib/pengine/native.c rsc_table = NULL; NULL 1482 lib/pengine/native.c active_table = NULL; NULL 26 lib/pengine/pe_output.c crm_time_t *crm_when = crm_time_new(NULL); NULL 27 lib/pengine/pe_output.c char *time_s = NULL; NULL 28 lib/pengine/pe_output.c char *buf = NULL; NULL 71 lib/pengine/pe_output.c if (last_written != NULL || user != NULL || client != NULL || origin != NULL) { NULL 89 lib/pengine/pe_output.c char *interval_str = NULL; NULL 90 lib/pengine/pe_output.c char *buf = NULL; NULL 99 lib/pengine/pe_output.c char *last_change_str = NULL; NULL 100 lib/pengine/pe_output.c char *last_run_str = NULL; NULL 101 lib/pengine/pe_output.c char *exec_str = NULL; NULL 102 lib/pengine/pe_output.c char *queue_str = NULL; NULL 104 lib/pengine/pe_output.c const char *value = NULL; NULL 175 lib/pengine/pe_output.c char *buf = NULL; NULL 177 lib/pengine/pe_output.c if (rsc == NULL) { NULL 180 lib/pengine/pe_output.c char *failcount_s = NULL; NULL 181 lib/pengine/pe_output.c char *lastfail_s = NULL; NULL 228 lib/pengine/pe_output.c if (data_set->dc_node == NULL || show_dc) { NULL 233 lib/pengine/pe_output.c : NULL; NULL 235 lib/pengine/pe_output.c char *dc_name = data_set->dc_node ? pe__node_display_name(data_set->dc_node, print_clone_detail) : NULL; NULL 294 lib/pengine/pe_output.c if (data_set->dc_node == NULL || show_dc) { NULL 299 lib/pengine/pe_output.c : NULL; NULL 301 lib/pengine/pe_output.c char *dc_name = data_set->dc_node ? pe__node_display_name(data_set->dc_node, print_clone_detail) : NULL; NULL 332 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Config Options"); NULL 349 lib/pengine/pe_output.c const char *node_host = NULL; NULL 350 lib/pengine/pe_output.c const char *node_id = NULL; NULL 353 lib/pengine/pe_output.c CRM_ASSERT((node != NULL) && (node->details != NULL) && (node->details->uname != NULL)); NULL 362 lib/pengine/pe_output.c if (node_host == NULL) { NULL 383 lib/pengine/pe_output.c CRM_ASSERT(node_name != NULL); NULL 401 lib/pengine/pe_output.c xmlNodePtr xml_node = NULL; NULL 404 lib/pengine/pe_output.c CRM_ASSERT(tag_name != NULL); NULL 407 lib/pengine/pe_output.c CRM_ASSERT(xml_node != NULL); NULL 410 lib/pengine/pe_output.c : xmlNewChild(xml_node, NULL, (pcmkXmlStr) tag_name, NULL); NULL 441 lib/pengine/pe_output.c pcmk__output_create_html_node(out, "li", NULL, NULL, buf); NULL 456 lib/pengine/pe_output.c out->list_item(out, NULL, "%s\tprevents %s from running %son %s", NULL 500 lib/pengine/pe_output.c pcmk_create_html_node(nodes_node, "span", NULL, NULL, nnodes_str); NULL 507 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, NULL, s); NULL 510 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, "bold", "DISABLED"); NULL 513 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, NULL, s); NULL 516 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, "bold", "BLOCKED"); NULL 517 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, NULL, NULL 523 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, NULL, s); NULL 526 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, "bold", "DISABLED"); NULL 527 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, NULL, ")"); NULL 532 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, NULL, s); NULL 535 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, "bold", "BLOCKED"); NULL 536 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, NULL, NULL 541 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, NULL, s); NULL 556 lib/pengine/pe_output.c out->list_item(out, NULL, "%d node%s configured", NULL 560 lib/pengine/pe_output.c out->list_item(out, NULL, "%d resource instance%s configured " NULL 566 lib/pengine/pe_output.c out->list_item(out, NULL, "%d resource instance%s configured " NULL 570 lib/pengine/pe_output.c out->list_item(out, NULL, "%d resource instance%s configured " NULL 575 lib/pengine/pe_output.c out->list_item(out, NULL, "%d resource instance%s configured", NULL 622 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, "bold", "Current DC: "); NULL 628 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, NULL, buf); NULL 633 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, NULL, buf); NULL 636 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, "warning", "WITHOUT"); NULL 637 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, NULL, "quorum"); NULL 640 lib/pengine/pe_output.c pcmk_create_html_node(node ,"span", NULL, "warning", "NONE"); NULL 714 lib/pengine/pe_output.c out->list_item(out, NULL, "STONITH of failed nodes %s", NULL 717 lib/pengine/pe_output.c out->list_item(out, NULL, "Cluster is %s", NULL 722 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Freeze resources"); NULL 726 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Stop ALL resources"); NULL 730 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Demote promotable " NULL 735 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Ignore"); NULL 739 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Suicide"); NULL 746 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, NULL, "Resource management: "); NULL 747 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, "bold", "DISABLED"); NULL 748 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, NULL, NULL 753 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, NULL, "Resource management: "); NULL 754 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, "bold", "STOPPED"); NULL 755 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, NULL, NULL 758 lib/pengine/pe_output.c out->list_item(out, NULL, "Resource management: enabled"); NULL 785 lib/pengine/pe_output.c out->list_item(out, NULL, "STONITH of failed nodes %s", NULL 788 lib/pengine/pe_output.c out->list_item(out, NULL, "Cluster is %s", NULL 793 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Freeze resources"); NULL 797 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Stop ALL resources"); NULL 801 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Demote promotable " NULL 806 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Ignore"); NULL 810 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Suicide"); NULL 864 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, "bold", "Stack: "); NULL 865 lib/pengine/pe_output.c pcmk_create_html_node(node, "span", NULL, NULL, stack_s); NULL 902 lib/pengine/pe_output.c pcmk_create_html_node(updated_node, "span", NULL, "bold", "Last updated: "); NULL 903 lib/pengine/pe_output.c pcmk_create_html_node(updated_node, "span", NULL, NULL, NULL 904 lib/pengine/pe_output.c pcmk__epoch2str(NULL)); NULL 906 lib/pengine/pe_output.c pcmk_create_html_node(changed_node, "span", NULL, "bold", "Last change: "); NULL 907 lib/pengine/pe_output.c pcmk_create_html_node(changed_node, "span", NULL, NULL, buf); NULL 925 lib/pengine/pe_output.c (pcmkXmlStr) pcmk__epoch2str(NULL)); NULL 944 lib/pengine/pe_output.c out->list_item(out, "Last updated", "%s", pcmk__epoch2str(NULL)); NULL 957 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", s); NULL 992 lib/pengine/pe_output.c char *s = NULL; NULL 994 lib/pengine/pe_output.c crm_time_t *crm_when = crm_time_new(NULL); NULL 995 lib/pengine/pe_output.c char *rc_change = NULL; NULL 1042 lib/pengine/pe_output.c pcmk_create_html_node(item_node, "span", NULL, NULL, buf); NULL 1045 lib/pengine/pe_output.c pcmk_create_html_node(item_node, "span", NULL, "standby", " standby (on-fail)"); NULL 1048 lib/pengine/pe_output.c pcmk_create_html_node(item_node, "span", NULL, " standby", s); NULL 1051 lib/pengine/pe_output.c pcmk_create_html_node(item_node, "span", NULL, "offline", " OFFLINE (standby)"); NULL 1053 lib/pengine/pe_output.c pcmk_create_html_node(item_node, "span", NULL, "maint", " maintenance"); NULL 1055 lib/pengine/pe_output.c pcmk_create_html_node(item_node, "span", NULL, "offline", " OFFLINE (maintenance)"); NULL 1057 lib/pengine/pe_output.c pcmk_create_html_node(item_node, "span", NULL, "online", " online"); NULL 1059 lib/pengine/pe_output.c pcmk_create_html_node(item_node, "span", NULL, "offline", " OFFLINE"); NULL 1064 lib/pengine/pe_output.c if (rscs != NULL) { NULL 1065 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, NULL); NULL 1071 lib/pengine/pe_output.c GListPtr lpc2 = NULL; NULL 1073 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, NULL); NULL 1074 lib/pengine/pe_output.c for (lpc2 = node->details->running_rsc; lpc2 != NULL; lpc2 = lpc2->next) { NULL 1082 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "%s", buf); NULL 1106 lib/pengine/pe_output.c char *buf = NULL; NULL 1122 lib/pengine/pe_output.c if (rscs != NULL) { NULL 1123 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "%s", buf); NULL 1124 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Resources"); NULL 1133 lib/pengine/pe_output.c GListPtr gIter2 = NULL; NULL 1135 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "%s", buf); NULL 1136 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Resources"); NULL 1138 lib/pengine/pe_output.c for (gIter2 = node->details->running_rsc; gIter2 != NULL; gIter2 = gIter2->next) { NULL 1148 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", buf); NULL 1154 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Node: %s", pe__node_display_name(node, print_clone_detail)); NULL 1211 lib/pengine/pe_output.c GListPtr lpc = NULL; NULL 1213 lib/pengine/pe_output.c for (lpc = node->details->running_rsc; lpc != NULL; lpc = lpc->next) { NULL 1244 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s\t: Connectivity is lost", name, value); NULL 1246 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s\t: Connectivity is degraded (Expected=%d)", name, value, expected_score); NULL 1248 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s", name, value); NULL 1251 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s", name, value); NULL 1270 lib/pengine/pe_output.c pcmk_create_html_node(item_node, "span", NULL, NULL, s); NULL 1274 lib/pengine/pe_output.c pcmk_create_html_node(item_node, "span", NULL, "bold", "(connectivity is lost)"); NULL 1277 lib/pengine/pe_output.c pcmk_create_html_node(item_node, "span", NULL, "bold", buf); NULL 1281 lib/pengine/pe_output.c out->list_item(out, NULL, "%s: %s", name, value); NULL 1321 lib/pengine/pe_output.c for (GListPtr gIter = nodes; gIter != NULL; gIter = gIter->next) { NULL 1330 lib/pengine/pe_output.c out->message(out, "node", node, print_opts, TRUE, NULL, print_clone_detail, NULL 1350 lib/pengine/pe_output.c char *online_nodes = NULL; NULL 1351 lib/pengine/pe_output.c char *online_remote_nodes = NULL; NULL 1352 lib/pengine/pe_output.c char *online_guest_nodes = NULL; NULL 1353 lib/pengine/pe_output.c char *offline_nodes = NULL; NULL 1354 lib/pengine/pe_output.c char *offline_remote_nodes = NULL; NULL 1364 lib/pengine/pe_output.c for (GListPtr gIter = nodes; gIter != NULL; gIter = gIter->next) { NULL 1366 lib/pengine/pe_output.c const char *node_mode = NULL; NULL 1488 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "nodes"); NULL 1489 lib/pengine/pe_output.c for (GListPtr gIter = nodes; gIter != NULL; gIter = gIter->next) { NULL 1496 lib/pengine/pe_output.c out->message(out, "node", node, print_opts, TRUE, NULL, print_clone_detail, NULL 1515 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", buf); NULL 1530 lib/pengine/pe_output.c char *rc_s = NULL; NULL 1545 lib/pengine/pe_output.c const char *value = NULL; NULL 1549 lib/pengine/pe_output.c time_t int_value = (time_t) crm_parse_int(value, NULL); NULL 1558 lib/pengine/pe_output.c time_t int_value = (time_t) crm_parse_int(value, NULL); NULL 1599 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "%s", buf); NULL 1601 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", buf); NULL 1621 lib/pengine/pe_output.c if (rsc == NULL) { NULL 1681 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Inactive Resources"); NULL 1683 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Full List of Resources"); NULL 1685 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Active Resources"); NULL 1698 lib/pengine/pe_output.c for (rsc_iter = data_set->resources; rsc_iter != NULL; rsc_iter = rsc_iter->next) { NULL 1740 lib/pengine/pe_output.c out->list_item(out, NULL, "No inactive resources"); NULL 1742 lib/pengine/pe_output.c out->list_item(out, NULL, "No resources"); NULL 1744 lib/pengine/pe_output.c out->list_item(out, NULL, "No active resources"); NULL 1759 lib/pengine/pe_output.c out->list_item(out, NULL, "%s:\t%s%s %s", ticket->id, NULL 1765 lib/pengine/pe_output.c out->list_item(out, NULL, "%s:\t%s%s", ticket->id, NULL 1797 lib/pengine/pe_output.c xmlNodePtr node = NULL; NULL 1887 lib/pengine/pe_output.c { NULL, NULL, NULL } NULL 1898 lib/pengine/pe_output.c if (node == NULL) { NULL 1911 lib/pengine/pe_output.c GListPtr all = NULL; NULL 1921 lib/pengine/pe_output.c for (; gIter != NULL; gIter = gIter->next) { NULL 20 lib/pengine/remote.c return (rsc != NULL) && rsc->is_remote_node NULL 27 lib/pengine/remote.c return (node != NULL) && (node->details->type == node_remote) NULL 28 lib/pengine/remote.c && ((node->details->remote_rsc == NULL) NULL 29 lib/pengine/remote.c || (node->details->remote_rsc->container == NULL)); NULL 35 lib/pengine/remote.c return (node != NULL) && (node->details->type == node_remote) NULL 36 lib/pengine/remote.c && (node->details->remote_rsc != NULL) NULL 37 lib/pengine/remote.c && (node->details->remote_rsc->container != NULL); NULL 43 lib/pengine/remote.c return (node != NULL) && (node->details->type == node_remote); NULL 69 lib/pengine/remote.c if ((rsc != NULL) && (data_set != NULL) NULL 72 lib/pengine/remote.c for (GList *gIter = rsc->fillers; gIter != NULL; gIter = gIter->next) { NULL 80 lib/pengine/remote.c return NULL; NULL 86 lib/pengine/remote.c const char *value = NULL; NULL 88 lib/pengine/remote.c if (xml == NULL) { NULL 129 lib/pengine/remote.c for (iter = host->details->running_rsc; iter != NULL; iter = iter->next) { NULL 132 lib/pengine/remote.c if (rsc->is_remote_node && (rsc->container != NULL)) { NULL 175 lib/pengine/remote.c crm_create_nvpair_xml(xml_sub, NULL, NULL 178 lib/pengine/remote.c crm_create_nvpair_xml(xml_sub, NULL, NULL 182 lib/pengine/remote.c crm_create_nvpair_xml(xml_sub, NULL, NULL 186 lib/pengine/remote.c crm_create_nvpair_xml(xml_sub, NULL, XML_RSC_ATTR_MANAGED, is_managed); NULL 194 lib/pengine/remote.c crm_create_nvpair_xml(xml_sub, NULL, XML_RSC_ATTR_REMOTE_RA_ADDR, NULL 198 lib/pengine/remote.c crm_create_nvpair_xml(xml_sub, NULL, "port", port); NULL 223 lib/pengine/remote.c struct check_op *check_op = NULL; NULL 228 lib/pengine/remote.c CRM_ASSERT(check_op != NULL); NULL 252 lib/pengine/remote.c for (GList *item = data_set->param_check; item != NULL; item = item->next) { NULL 265 lib/pengine/remote.c data_set->param_check = NULL; NULL 46 lib/pengine/rules.c .match_data = NULL, NULL 47 lib/pengine/rules.c .rsc_data = NULL, NULL 48 lib/pengine/rules.c .op_data = NULL NULL 64 lib/pengine/rules.c .rsc_data = NULL, NULL 65 lib/pengine/rules.c .op_data = NULL NULL 97 lib/pengine/rules.c .rsc_data = NULL, NULL 98 lib/pengine/rules.c .op_data = NULL NULL 107 lib/pengine/rules.c const char *tag = NULL; NULL 108 lib/pengine/rules.c const char *attr = NULL; NULL 128 lib/pengine/rules.c } else if (pcmk__strcase_any_of(attr, CRM_ATTR_UNAME, CRM_ATTR_KIND, CRM_ATTR_ID, NULL)) { NULL 147 lib/pengine/rules.c .node_hash = NULL, NULL 150 lib/pengine/rules.c .match_data = NULL, NULL 151 lib/pengine/rules.c .rsc_data = NULL, NULL 152 lib/pengine/rules.c .op_data = NULL NULL 167 lib/pengine/rules.c .rsc_data = NULL, NULL 168 lib/pengine/rules.c .op_data = NULL NULL 213 lib/pengine/rules.c if (value == NULL) { NULL 278 lib/pengine/rules.c CRM_CHECK(now != NULL, return pcmk_rc_op_unsatisfied); NULL 309 lib/pengine/rules.c if(value != NULL) { \ NULL 317 lib/pengine/rules.c crm_time_t *end = NULL; NULL 318 lib/pengine/rules.c const char *value = NULL; NULL 320 lib/pengine/rules.c end = crm_time_new(NULL); NULL 348 lib/pengine/rules.c .node_hash = NULL, NULL 351 lib/pengine/rules.c .match_data = NULL, NULL 352 lib/pengine/rules.c .rsc_data = NULL, NULL 353 lib/pengine/rules.c .op_data = NULL NULL 370 lib/pengine/rules.c if ((next_change != NULL) && (t != NULL)) { NULL 392 lib/pengine/rules.c .node_hash = NULL, NULL 395 lib/pengine/rules.c .match_data = NULL, NULL 396 lib/pengine/rules.c .rsc_data = NULL, NULL 397 lib/pengine/rules.c .op_data = NULL NULL 417 lib/pengine/rules.c if (a == NULL && b == NULL) { NULL 419 lib/pengine/rules.c } else if (a == NULL) { NULL 421 lib/pengine/rules.c } else if (b == NULL) { NULL 443 lib/pengine/rules.c const char *name = NULL; NULL 444 lib/pengine/rules.c const char *value = NULL; NULL 445 lib/pengine/rules.c const char *old_value = NULL; NULL 447 lib/pengine/rules.c xmlNode *an_attr = NULL; NULL 454 lib/pengine/rules.c for (an_attr = pcmk__xe_first_child(list); an_attr != NULL; NULL 461 lib/pengine/rules.c if (name == NULL) { NULL 466 lib/pengine/rules.c if (value == NULL) { NULL 470 lib/pengine/rules.c if (name == NULL || value == NULL) { NULL 484 lib/pengine/rules.c } else if (old_value == NULL) { NULL 501 lib/pengine/rules.c xmlNode * rule = NULL; NULL 502 lib/pengine/rules.c xmlNode * expr = NULL; NULL 504 lib/pengine/rules.c for (rule = pcmk__xe_first_child(attr_set); rule != NULL; NULL 509 lib/pengine/rules.c for (expr = pcmk__xe_first_child(rule); expr != NULL; NULL 519 lib/pengine/rules.c return NULL; NULL 525 lib/pengine/rules.c xmlNode *attr_set_copy = NULL; NULL 526 lib/pengine/rules.c xmlNode *rule = NULL; NULL 527 lib/pengine/rules.c xmlNode *expr = NULL; NULL 542 lib/pengine/rules.c while (expr != NULL) { NULL 553 lib/pengine/rules.c add_node_nocopy(versioned_attrs, NULL, attr_set_copy); NULL 579 lib/pengine/rules.c CRM_ATTR_RA_VERSION, NULL, NULL))) { NULL 620 lib/pengine/rules.c GListPtr unsorted = NULL; NULL 621 lib/pengine/rules.c const char *score = NULL; NULL 622 lib/pengine/rules.c sorted_set_t *pair = NULL; NULL 623 lib/pengine/rules.c xmlNode *attr_set = NULL; NULL 625 lib/pengine/rules.c if (xml_obj == NULL) { NULL 626 lib/pengine/rules.c return NULL; NULL 628 lib/pengine/rules.c for (attr_set = pcmk__xe_first_child(xml_obj); attr_set != NULL; NULL 633 lib/pengine/rules.c pair = NULL; NULL 635 lib/pengine/rules.c if (attr_set == NULL) { NULL 722 lib/pengine/rules.c .match_data = NULL, NULL 723 lib/pengine/rules.c .rsc_data = NULL, NULL 724 lib/pengine/rules.c .op_data = NULL NULL 737 lib/pengine/rules.c unpack_nvpair_blocks(top, xml_obj, set_name, hash, NULL, FALSE, rule_data, NULL 748 lib/pengine/rules.c char *p_dst, *result = NULL; NULL 751 lib/pengine/rules.c return NULL; NULL 772 lib/pengine/rules.c return NULL; NULL 812 lib/pengine/rules.c pe_unpack_nvpairs(NULL, versioned_params, NULL 813 lib/pengine/rules.c crm_element_name(attr_set), node_hash, hash, NULL, NULL 814 lib/pengine/rules.c FALSE, NULL, NULL); NULL 831 lib/pengine/rules.c rule != NULL; rule = crm_next_same_xml(rule)) { NULL 851 lib/pengine/rules.c xmlNode *expr = NULL; NULL 856 lib/pengine/rules.c const char *value = NULL; NULL 858 lib/pengine/rules.c rule = expand_idref(rule, NULL); NULL 866 lib/pengine/rules.c for (expr = pcmk__xe_first_child(rule); expr != NULL; NULL 894 lib/pengine/rules.c const char *uname = NULL; NULL 905 lib/pengine/rules.c if (rule_data->node_hash != NULL) { NULL 930 lib/pengine/rules.c CRM_ATTR_RA_VERSION, NULL, NULL)) { NULL 973 lib/pengine/rules.c if (l_val != NULL && r_val != NULL) { NULL 974 lib/pengine/rules.c if (type == NULL) { NULL 975 lib/pengine/rules.c if (pcmk__strcase_any_of(op, "lt", "lte", "gt", "gte", NULL)) { NULL 976 lib/pengine/rules.c if (pcmk__char_in_any_str('.', l_val, r_val, NULL)) { NULL 992 lib/pengine/rules.c long long l_val_num = crm_parse_ll(l_val, NULL); NULL 995 lib/pengine/rules.c long long r_val_num = crm_parse_ll(r_val, NULL); NULL 1017 lib/pengine/rules.c int rc1 = pcmk__scan_double(l_val, &l_val_num, NULL, NULL); NULL 1018 lib/pengine/rules.c int rc2 = pcmk__scan_double(r_val, &r_val_num, NULL, NULL); NULL 1040 lib/pengine/rules.c } else if (l_val == NULL && r_val == NULL) { NULL 1042 lib/pengine/rules.c } else if (r_val == NULL) { NULL 1072 lib/pengine/rules.c return (l_val != NULL); NULL 1075 lib/pengine/rules.c return (l_val == NULL); NULL 1087 lib/pengine/rules.c } else if (l_val == NULL || r_val == NULL) { NULL 1111 lib/pengine/rules.c const char *h_val = NULL; NULL 1112 lib/pengine/rules.c GHashTable *table = NULL; NULL 1114 lib/pengine/rules.c const char *op = NULL; NULL 1115 lib/pengine/rules.c const char *type = NULL; NULL 1116 lib/pengine/rules.c const char *attr = NULL; NULL 1117 lib/pengine/rules.c const char *value = NULL; NULL 1118 lib/pengine/rules.c const char *value_source = NULL; NULL 1126 lib/pengine/rules.c if (attr == NULL || op == NULL) { NULL 1151 lib/pengine/rules.c const char *param_value = NULL; NULL 1160 lib/pengine/rules.c if (rule_data->node_hash != NULL) { NULL 1166 lib/pengine/rules.c attr = NULL; NULL 1177 lib/pengine/rules.c crm_time_t *start = NULL; NULL 1178 lib/pengine/rules.c crm_time_t *end = NULL; NULL 1179 lib/pengine/rules.c const char *value = NULL; NULL 1182 lib/pengine/rules.c xmlNode *duration_spec = NULL; NULL 1183 lib/pengine/rules.c xmlNode *date_spec = NULL; NULL 1194 lib/pengine/rules.c if (value != NULL) { NULL 1198 lib/pengine/rules.c if (value != NULL) { NULL 1202 lib/pengine/rules.c if (start != NULL && end == NULL && duration_spec != NULL) { NULL 1207 lib/pengine/rules.c if ((start == NULL) && (end == NULL)) { NULL 1209 lib/pengine/rules.c } else if ((start != NULL) && (crm_time_compare(rule_data->now, start) < 0)) { NULL 1212 lib/pengine/rules.c } else if ((end != NULL) && (crm_time_compare(rule_data->now, end) > 0)) { NULL 1228 lib/pengine/rules.c if (start == NULL) { NULL 1241 lib/pengine/rules.c if (end == NULL) { NULL 1264 lib/pengine/rules.c if (rule_data->op_data == NULL) { NULL 1275 lib/pengine/rules.c if (interval_s != NULL && interval != rule_data->op_data->interval) { NULL 1292 lib/pengine/rules.c const char *op = NULL; NULL 1293 lib/pengine/rules.c const char *value = NULL; NULL 1338 lib/pengine/rules.c if (rule_data->rsc_data == NULL) { NULL 1343 lib/pengine/rules.c if (class != NULL && NULL 1349 lib/pengine/rules.c if ((provider == NULL && rule_data->rsc_data->provider != NULL) || NULL 1350 lib/pengine/rules.c (provider != NULL && rule_data->rsc_data->provider == NULL) || NULL 1356 lib/pengine/rules.c if (type != NULL && NULL 1391 lib/pengine/rules.c return pe_evaluate_rules(ruleset, node_hash, now, NULL); NULL 1397 lib/pengine/rules.c return pe_test_rule(rule, node_hash, role, now, NULL, NULL); NULL 1405 lib/pengine/rules.c .params = NULL, NULL 1406 lib/pengine/rules.c .meta = NULL, NULL 1408 lib/pengine/rules.c return pe_test_rule(rule, node_hash, role, now, NULL, &match_data); NULL 1415 lib/pengine/rules.c return pe_test_rule(rule, node_hash, role, now, NULL, match_data); NULL 1421 lib/pengine/rules.c return pe_test_expression(expr, node_hash, role, now, NULL, NULL); NULL 1429 lib/pengine/rules.c .params = NULL, NULL 1430 lib/pengine/rules.c .meta = NULL, NULL 1432 lib/pengine/rules.c return pe_test_expression(expr, node_hash, role, now, NULL, &match_data); NULL 1440 lib/pengine/rules.c return pe_test_expression(expr, node_hash, role, now, NULL, match_data); NULL 1453 lib/pengine/rules.c .match_data = NULL, NULL 1454 lib/pengine/rules.c .rsc_data = NULL, NULL 1455 lib/pengine/rules.c .op_data = NULL NULL 1459 lib/pengine/rules.c overwrite, &rule_data, NULL, unpack_attr_set); NULL 23 lib/pengine/rules_alerts.c crm_time_t *now = crm_time_new(NULL); NULL 24 lib/pengine/rules_alerts.c const char *value = NULL; NULL 26 lib/pengine/rules_alerts.c pe_unpack_nvpairs(basenode, basenode, XML_TAG_META_SETS, NULL, config_hash, NULL 27 lib/pengine/rules_alerts.c NULL, FALSE, now, NULL); NULL 68 lib/pengine/rules_alerts.c if ((basenode == NULL) || (entry == NULL)) { NULL 73 lib/pengine/rules_alerts.c if (child == NULL) { NULL 77 lib/pengine/rules_alerts.c if (entry->envvars == NULL) { NULL 81 lib/pengine/rules_alerts.c for (child = first_named_child(child, XML_CIB_TAG_NVPAIR); child != NULL; NULL 87 lib/pengine/rules_alerts.c if (value == NULL) { NULL 100 lib/pengine/rules_alerts.c xmlNode *event_type = NULL; NULL 103 lib/pengine/rules_alerts.c for (event_type = pcmk__xe_first_child(select); event_type != NULL; NULL 108 lib/pengine/rules_alerts.c if (tagname == NULL) { NULL 127 lib/pengine/rules_alerts.c attr != NULL; NULL 134 lib/pengine/rules_alerts.c entry->select_attribute_name = NULL; NULL 140 lib/pengine/rules_alerts.c entry->select_attribute_name[nattrs] = NULL; NULL 183 lib/pengine/rules_alerts.c GListPtr alert_list = NULL; NULL 185 lib/pengine/rules_alerts.c if (alerts == NULL) { NULL 190 lib/pengine/rules_alerts.c alert != NULL; alert = crm_next_same_xml(alert)) { NULL 198 lib/pengine/rules_alerts.c if ((alert_id == NULL) || (alert_path == NULL)) { NULL 207 lib/pengine/rules_alerts.c if (entry->tstamp_format == NULL) { NULL 216 lib/pengine/rules_alerts.c recipient != NULL; recipient = crm_next_same_xml(recipient)) { NULL 38 lib/pengine/status.c if (data_set != NULL) { NULL 52 lib/pengine/status.c if (data_set != NULL) { NULL 83 lib/pengine/status.c data_set->failed = create_xml_node(NULL, "failed-ops"); NULL 85 lib/pengine/status.c if (data_set->input == NULL) { NULL 89 lib/pengine/status.c if (data_set->now == NULL) { NULL 90 lib/pengine/status.c data_set->now = crm_time_new(NULL); NULL 93 lib/pengine/status.c if (data_set->dc_uuid == NULL) { NULL 131 lib/pengine/status.c for (GList *item = data_set->resources; item != NULL; NULL 155 lib/pengine/status.c pe_resource_t *rsc = NULL; NULL 158 lib/pengine/status.c while (iterator != NULL) { NULL 163 lib/pengine/status.c if (resources != NULL) { NULL 173 lib/pengine/status.c while (iterator != NULL) { NULL 177 lib/pengine/status.c if (actions != NULL) { NULL 185 lib/pengine/status.c for (GList *iterator = nodes; iterator != NULL; iterator = iterator->next) { NULL 189 lib/pengine/status.c if (node == NULL) { NULL 192 lib/pengine/status.c if (node->details == NULL) { NULL 203 lib/pengine/status.c if (node->details->attrs != NULL) { NULL 206 lib/pengine/status.c if (node->details->utilization != NULL) { NULL 209 lib/pengine/status.c if (node->details->digest_cache != NULL) { NULL 217 lib/pengine/status.c if (nodes != NULL) { NULL 227 lib/pengine/status.c while (iterator != NULL) { NULL 236 lib/pengine/status.c if (constraints != NULL) { NULL 246 lib/pengine/status.c while (iterator != NULL) { NULL 255 lib/pengine/status.c if (constraints != NULL) { NULL 271 lib/pengine/status.c if (data_set == NULL) { NULL 276 lib/pengine/status.c if (data_set->config_hash != NULL) { NULL 280 lib/pengine/status.c if (data_set->singletons != NULL) { NULL 316 lib/pengine/status.c CRM_CHECK(data_set->ordering_constraints == NULL,; NULL 318 lib/pengine/status.c CRM_CHECK(data_set->placement_constraints == NULL,; NULL 330 lib/pengine/status.c if (data_set == NULL) { NULL 337 lib/pengine/status.c data_set->ordering_constraints = NULL; NULL 342 lib/pengine/status.c data_set->placement_constraints = NULL; NULL 347 lib/pengine/status.c data_set->colocation_constraints = NULL; NULL 352 lib/pengine/status.c data_set->ticket_constraints = NULL; NULL 391 lib/pengine/status.c GListPtr rIter = NULL; NULL 397 lib/pengine/status.c parent->fns->find_rsc(parent, id, NULL, flags); NULL 398 lib/pengine/status.c if (match != NULL) { NULL 403 lib/pengine/status.c return NULL; NULL 423 lib/pengine/status.c for (; gIter != NULL; gIter = gIter->next) { NULL 431 lib/pengine/status.c return NULL; NULL 439 lib/pengine/status.c for (; gIter != NULL; gIter = gIter->next) { NULL 447 lib/pengine/status.c return NULL; NULL 21 lib/pengine/tags.c GListPtr retval = NULL; NULL 23 lib/pengine/tags.c if (data_set->tags == NULL) { NULL 29 lib/pengine/tags.c if (value == NULL) { NULL 52 lib/pengine/tags.c GListPtr retval = NULL; NULL 54 lib/pengine/tags.c if (data_set->tags == NULL) { NULL 60 lib/pengine/tags.c if (value == NULL) { NULL 87 lib/pengine/tags.c if (rscs == NULL) { NULL 91 lib/pengine/tags.c retval = g_list_find_custom(rscs, rsc_name, (GCompareFunc) strcmp) != NULL; NULL 102 lib/pengine/tags.c if (unames == NULL) { NULL 106 lib/pengine/tags.c retval = g_list_find_custom(unames, node_name, (GCompareFunc) strcmp) != NULL; NULL 19 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c g_assert_cmpint(pe_cron_range_satisfied(NULL, NULL), ==, pcmk_rc_op_unsatisfied); NULL 24 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c crm_time_t *tm = crm_time_new(NULL); NULL 26 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c g_assert_cmpint(pe_cron_range_satisfied(tm, NULL), ==, pcmk_rc_ok); NULL 103 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c g_test_init(&argc, &argv, NULL); NULL 37 lib/pengine/unpack.c if (scf_value != NULL) { \ NULL 78 lib/pengine/unpack.c node->details->remote_rsc->container == NULL && NULL 137 lib/pengine/unpack.c if ((rsc != NULL) && !pcmk_is_set(rsc->flags, pe_rsc_managed)) { NULL 150 lib/pengine/unpack.c pe_fence_op(node, NULL, TRUE, reason, FALSE, data_set); NULL 164 lib/pengine/unpack.c pe_fence_op(node, NULL, TRUE, reason, priority_delay, data_set); NULL 186 lib/pengine/unpack.c xmlXPathObjectPtr result = NULL; NULL 200 lib/pengine/unpack.c const char *value = NULL; NULL 204 lib/pengine/unpack.c .node_hash = NULL, NULL 207 lib/pengine/unpack.c .match_data = NULL, NULL 208 lib/pengine/unpack.c .rsc_data = NULL, NULL 209 lib/pengine/unpack.c .op_data = NULL NULL 399 lib/pengine/unpack.c pe_node_t *new_node = NULL; NULL 401 lib/pengine/unpack.c if (pe_find_node(data_set->nodes, uname) != NULL) { NULL 406 lib/pengine/unpack.c if (new_node == NULL) { NULL 407 lib/pengine/unpack.c return NULL; NULL 414 lib/pengine/unpack.c if (new_node->details == NULL) { NULL 416 lib/pengine/unpack.c return NULL; NULL 425 lib/pengine/unpack.c new_node->details->running_rsc = NULL; NULL 458 lib/pengine/unpack.c xmlNode *attr_set = NULL; NULL 459 lib/pengine/unpack.c xmlNode *attr = NULL; NULL 462 lib/pengine/unpack.c const char *remote_name = NULL; NULL 463 lib/pengine/unpack.c const char *remote_server = NULL; NULL 464 lib/pengine/unpack.c const char *remote_port = NULL; NULL 466 lib/pengine/unpack.c const char *remote_allow_migrate=NULL; NULL 467 lib/pengine/unpack.c const char *is_managed = NULL; NULL 469 lib/pengine/unpack.c for (attr_set = pcmk__xe_first_child(xml_obj); attr_set != NULL; NULL 477 lib/pengine/unpack.c for (attr = pcmk__xe_first_child(attr_set); attr != NULL; NULL 498 lib/pengine/unpack.c if (remote_name == NULL) { NULL 499 lib/pengine/unpack.c return NULL; NULL 502 lib/pengine/unpack.c if (pe_find_resource(data->resources, remote_name) != NULL) { NULL 503 lib/pengine/unpack.c return NULL; NULL 515 lib/pengine/unpack.c if ((new_node->details->type == node_remote) && (new_node->details->remote_rsc == NULL)) { NULL 540 lib/pengine/unpack.c xmlNode *xml_obj = NULL; NULL 541 lib/pengine/unpack.c pe_node_t *new_node = NULL; NULL 542 lib/pengine/unpack.c const char *id = NULL; NULL 543 lib/pengine/unpack.c const char *uname = NULL; NULL 544 lib/pengine/unpack.c const char *type = NULL; NULL 545 lib/pengine/unpack.c const char *score = NULL; NULL 548 lib/pengine/unpack.c .node_hash = NULL, NULL 551 lib/pengine/unpack.c .match_data = NULL, NULL 552 lib/pengine/unpack.c .rsc_data = NULL, NULL 553 lib/pengine/unpack.c .op_data = NULL NULL 556 lib/pengine/unpack.c for (xml_obj = pcmk__xe_first_child(xml_nodes); xml_obj != NULL; NULL 560 lib/pengine/unpack.c new_node = NULL; NULL 568 lib/pengine/unpack.c if (id == NULL) { NULL 575 lib/pengine/unpack.c if (new_node == NULL) { NULL 589 lib/pengine/unpack.c new_node->details->utilization, NULL, NULL 596 lib/pengine/unpack.c if (data_set->localhost && pe_find_node(data_set->nodes, data_set->localhost) == NULL) { NULL 598 lib/pengine/unpack.c pe_create_node(data_set->localhost, data_set->localhost, NULL, 0, NULL 608 lib/pengine/unpack.c const char *container_id = NULL; NULL 613 lib/pengine/unpack.c for (; gIter != NULL; gIter = gIter->next) { NULL 639 lib/pengine/unpack.c xmlNode *xml_obj = NULL; NULL 644 lib/pengine/unpack.c for (xml_obj = pcmk__xe_first_child(xml_resources); xml_obj != NULL; NULL 647 lib/pengine/unpack.c const char *new_node_id = NULL; NULL 656 lib/pengine/unpack.c if (new_node_id && pe_find_node(data_set->nodes, new_node_id) == NULL) { NULL 659 lib/pengine/unpack.c pe_create_node(new_node_id, new_node_id, "remote", NULL, NULL 674 lib/pengine/unpack.c if (new_node_id && pe_find_node(data_set->nodes, new_node_id) == NULL) { NULL 677 lib/pengine/unpack.c pe_create_node(new_node_id, new_node_id, "remote", NULL, NULL 687 lib/pengine/unpack.c xmlNode *xml_obj2 = NULL; NULL 688 lib/pengine/unpack.c for (xml_obj2 = pcmk__xe_first_child(xml_obj); xml_obj2 != NULL; NULL 693 lib/pengine/unpack.c if (new_node_id && pe_find_node(data_set->nodes, new_node_id) == NULL) { NULL 696 lib/pengine/unpack.c pe_create_node(new_node_id, new_node_id, "remote", NULL, NULL 716 lib/pengine/unpack.c pe_node_t *remote_node = NULL; NULL 728 lib/pengine/unpack.c CRM_CHECK(remote_node != NULL, return;); NULL 734 lib/pengine/unpack.c if (new_rsc->container == NULL) { NULL 776 lib/pengine/unpack.c xmlNode *xml_obj = NULL; NULL 777 lib/pengine/unpack.c GListPtr gIter = NULL; NULL 783 lib/pengine/unpack.c for (xml_obj = pcmk__xe_first_child(xml_resources); xml_obj != NULL; NULL 786 lib/pengine/unpack.c pe_resource_t *new_rsc = NULL; NULL 792 lib/pengine/unpack.c template_id, NULL, NULL) == FALSE) { NULL 794 lib/pengine/unpack.c g_hash_table_insert(data_set->template_rsc_sets, strdup(template_id), NULL); NULL 800 lib/pengine/unpack.c if (common_unpack(xml_obj, &new_rsc, NULL, data_set) && (new_rsc != NULL)) { NULL 808 lib/pengine/unpack.c if (new_rsc != NULL && new_rsc->fns != NULL) { NULL 814 lib/pengine/unpack.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 839 lib/pengine/unpack.c xmlNode *xml_tag = NULL; NULL 844 lib/pengine/unpack.c for (xml_tag = pcmk__xe_first_child(xml_tags); xml_tag != NULL; NULL 847 lib/pengine/unpack.c xmlNode *xml_obj_ref = NULL; NULL 854 lib/pengine/unpack.c if (tag_id == NULL) { NULL 860 lib/pengine/unpack.c for (xml_obj_ref = pcmk__xe_first_child(xml_tag); xml_obj_ref != NULL; NULL 869 lib/pengine/unpack.c if (obj_ref == NULL) { NULL 889 lib/pengine/unpack.c const char *ticket_id = NULL; NULL 890 lib/pengine/unpack.c const char *granted = NULL; NULL 891 lib/pengine/unpack.c const char *last_granted = NULL; NULL 892 lib/pengine/unpack.c const char *standby = NULL; NULL 893 lib/pengine/unpack.c xmlAttrPtr xIter = NULL; NULL 895 lib/pengine/unpack.c pe_ticket_t *ticket = NULL; NULL 905 lib/pengine/unpack.c if (ticket == NULL) { NULL 907 lib/pengine/unpack.c if (ticket == NULL) { NULL 954 lib/pengine/unpack.c xmlNode *xml_obj = NULL; NULL 956 lib/pengine/unpack.c for (xml_obj = pcmk__xe_first_child(xml_tickets); xml_obj != NULL; NULL 971 lib/pengine/unpack.c const char *resource_discovery_enabled = NULL; NULL 972 lib/pengine/unpack.c xmlNode *attrs = NULL; NULL 973 lib/pengine/unpack.c pe_resource_t *rsc = NULL; NULL 979 lib/pengine/unpack.c if ((this_node == NULL) || !pe__is_guest_or_remote_node(this_node)) { NULL 1009 lib/pengine/unpack.c ((rsc != NULL) && !pcmk_is_set(rsc->flags, pe_rsc_managed))) { NULL 1036 lib/pengine/unpack.c xmlNode *lrm_rsc = NULL; NULL 1038 lib/pengine/unpack.c for (xmlNode *state = pcmk__xe_first_child(status); state != NULL; NULL 1041 lib/pengine/unpack.c const char *id = NULL; NULL 1042 lib/pengine/unpack.c const char *uname = NULL; NULL 1043 lib/pengine/unpack.c pe_node_t *this_node = NULL; NULL 1054 lib/pengine/unpack.c if (this_node == NULL) { NULL 1074 lib/pengine/unpack.c } else if(rsc == NULL) { NULL 1131 lib/pengine/unpack.c const char *id = NULL; NULL 1132 lib/pengine/unpack.c const char *uname = NULL; NULL 1134 lib/pengine/unpack.c xmlNode *state = NULL; NULL 1135 lib/pengine/unpack.c pe_node_t *this_node = NULL; NULL 1139 lib/pengine/unpack.c if (data_set->tickets == NULL) { NULL 1144 lib/pengine/unpack.c for (state = pcmk__xe_first_child(status); state != NULL; NULL 1151 lib/pengine/unpack.c xmlNode *attrs = NULL; NULL 1152 lib/pengine/unpack.c const char *resource_discovery_enabled = NULL; NULL 1158 lib/pengine/unpack.c if (uname == NULL) { NULL 1162 lib/pengine/unpack.c } else if (this_node == NULL) { NULL 1231 lib/pengine/unpack.c if (data_set->stop_needed != NULL) { NULL 1241 lib/pengine/unpack.c data_set->stop_needed = NULL; NULL 1244 lib/pengine/unpack.c for (GListPtr gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 1247 lib/pengine/unpack.c if (this_node == NULL) { NULL 1317 lib/pengine/unpack.c } else if (terminate != NULL && strlen(terminate) > 0) { NULL 1332 lib/pengine/unpack.c if (exp_state == NULL) { NULL 1342 lib/pengine/unpack.c } else if (in_cluster == NULL) { NULL 1378 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(join, CRMD_JOINSTATE_PENDING, CRMD_JOINSTATE_DOWN, NULL)) { NULL 1397 lib/pengine/unpack.c pe_resource_t *container = NULL; NULL 1398 lib/pengine/unpack.c pe_node_t *host = NULL; NULL 1404 lib/pengine/unpack.c if (rsc == NULL) { NULL 1468 lib/pengine/unpack.c CRM_CHECK(this_node != NULL, return); NULL 1562 lib/pengine/unpack.c return NULL; NULL 1579 lib/pengine/unpack.c char *basename = NULL; NULL 1602 lib/pengine/unpack.c char *zero = NULL; NULL 1616 lib/pengine/unpack.c pe_resource_t *rsc = NULL; NULL 1617 lib/pengine/unpack.c xmlNode *xml_rsc = create_xml_node(NULL, XML_CIB_TAG_RESOURCE); NULL 1623 lib/pengine/unpack.c if (!common_unpack(xml_rsc, &rsc, NULL, data_set)) { NULL 1624 lib/pengine/unpack.c return NULL; NULL 1632 lib/pengine/unpack.c if (node == NULL) { NULL 1633 lib/pengine/unpack.c node = pe_create_node(rsc_id, rsc_id, "remote", NULL, data_set); NULL 1664 lib/pengine/unpack.c pe_resource_t *orphan = top->fns->find_rsc(top, rsc_id, NULL, pe_find_clone); NULL 1689 lib/pengine/unpack.c GListPtr rIter = NULL; NULL 1690 lib/pengine/unpack.c pe_resource_t *rsc = NULL; NULL 1691 lib/pengine/unpack.c pe_resource_t *inactive_instance = NULL; NULL 1694 lib/pengine/unpack.c CRM_ASSERT(parent != NULL); NULL 1700 lib/pengine/unpack.c for (rIter = parent->children; rsc == NULL && rIter; rIter = rIter->next) { NULL 1701 lib/pengine/unpack.c GListPtr locations = NULL; NULL 1725 lib/pengine/unpack.c CRM_LOG_ASSERT(locations->next == NULL); NULL 1735 lib/pengine/unpack.c rsc = parent->fns->find_rsc(child, rsc_id, NULL, pe_find_clone); NULL 1749 lib/pengine/unpack.c rsc = NULL; NULL 1762 lib/pengine/unpack.c inactive_instance = parent->fns->find_rsc(child, rsc_id, NULL, NULL 1770 lib/pengine/unpack.c inactive_instance = NULL; NULL 1776 lib/pengine/unpack.c if ((rsc == NULL) && !skip_inactive && (inactive_instance != NULL)) { NULL 1793 lib/pengine/unpack.c if ((rsc != NULL) && !pcmk_is_set(rsc->flags, pe_rsc_needs_fencing) NULL 1798 lib/pengine/unpack.c rsc = NULL; NULL 1801 lib/pengine/unpack.c if (rsc == NULL) { NULL 1812 lib/pengine/unpack.c pe_resource_t *rsc = NULL; NULL 1813 lib/pengine/unpack.c pe_resource_t *parent = NULL; NULL 1818 lib/pengine/unpack.c if (rsc == NULL) { NULL 1839 lib/pengine/unpack.c return NULL; NULL 1854 lib/pengine/unpack.c CRM_ASSERT(rsc != NULL); NULL 1873 lib/pengine/unpack.c pe_resource_t *rsc = NULL; NULL 1883 lib/pengine/unpack.c CRM_CHECK(rsc != NULL, return NULL); NULL 1885 lib/pengine/unpack.c resource_location(rsc, NULL, -INFINITY, "__orphan_do_not_run__", data_set); NULL 1895 lib/pengine/unpack.c pe_node_t *tmpnode = NULL; NULL 1896 lib/pengine/unpack.c char *reason = NULL; NULL 1907 lib/pengine/unpack.c if (g_hash_table_lookup(iter->known_on, node->details->id) == NULL) { NULL 1960 lib/pengine/unpack.c if (reason == NULL) { NULL 2045 lib/pengine/unpack.c tmpnode = NULL; NULL 2111 lib/pengine/unpack.c } else if (rsc->clone_name && strchr(rsc->clone_name, ':') != NULL) { NULL 2117 lib/pengine/unpack.c rsc->clone_name = NULL; NULL 2124 lib/pengine/unpack.c for (; gIter != NULL; gIter = gIter->next) { NULL 2141 lib/pengine/unpack.c const char *task = NULL; NULL 2142 lib/pengine/unpack.c const char *status = NULL; NULL 2148 lib/pengine/unpack.c for (; gIter != NULL; gIter = gIter->next) { NULL 2152 lib/pengine/unpack.c char *key = NULL; NULL 2196 lib/pengine/unpack.c const char *task = NULL; NULL 2197 lib/pengine/unpack.c const char *status = NULL; NULL 2203 lib/pengine/unpack.c for (; gIter != NULL; gIter = gIter->next) { NULL 2215 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, CRMD_ACTION_START, CRMD_ACTION_MIGRATED, NULL)) { NULL 2221 lib/pengine/unpack.c if (pcmk__strcase_any_of(rc, "0", "8", NULL)) { NULL 2224 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, CRMD_ACTION_PROMOTE, CRMD_ACTION_DEMOTE, NULL)) { NULL 2264 lib/pengine/unpack.c GListPtr gIter = NULL; NULL 2269 lib/pengine/unpack.c const char *task = NULL; NULL 2272 lib/pengine/unpack.c pe_resource_t *rsc = NULL; NULL 2273 lib/pengine/unpack.c GListPtr op_list = NULL; NULL 2274 lib/pengine/unpack.c GListPtr sorted_op_list = NULL; NULL 2276 lib/pengine/unpack.c xmlNode *migrate_op = NULL; NULL 2277 lib/pengine/unpack.c xmlNode *rsc_op = NULL; NULL 2278 lib/pengine/unpack.c xmlNode *last_failure = NULL; NULL 2287 lib/pengine/unpack.c op_list = NULL; NULL 2288 lib/pengine/unpack.c sorted_op_list = NULL; NULL 2290 lib/pengine/unpack.c for (rsc_op = pcmk__xe_first_child(rsc_entry); rsc_op != NULL; NULL 2300 lib/pengine/unpack.c if (op_list == NULL) { NULL 2302 lib/pengine/unpack.c return NULL; NULL 2308 lib/pengine/unpack.c if (rsc == NULL) { NULL 2309 lib/pengine/unpack.c if (op_list == NULL) { NULL 2311 lib/pengine/unpack.c return NULL; NULL 2316 lib/pengine/unpack.c CRM_ASSERT(rsc != NULL); NULL 2328 lib/pengine/unpack.c for (gIter = sorted_op_list; gIter != NULL; gIter = gIter->next) { NULL 2372 lib/pengine/unpack.c xmlNode *rsc_entry = NULL; NULL 2373 lib/pengine/unpack.c for (rsc_entry = pcmk__xe_first_child(lrm_rsc_list); rsc_entry != NULL; NULL 2387 lib/pengine/unpack.c if (container_id == NULL || rsc_id == NULL) { NULL 2392 lib/pengine/unpack.c if (container == NULL) { NULL 2397 lib/pengine/unpack.c if (rsc == NULL || NULL 2399 lib/pengine/unpack.c rsc->container != NULL) { NULL 2414 lib/pengine/unpack.c xmlNode *rsc_entry = NULL; NULL 2417 lib/pengine/unpack.c for (rsc_entry = pcmk__xe_first_child(lrm_rsc_list); rsc_entry != NULL; NULL 2467 lib/pengine/unpack.c xmlNode *xml = NULL; NULL 2501 lib/pengine/unpack.c return NULL; NULL 2539 lib/pengine/unpack.c node->details->uname, NULL, TRUE, data_set); NULL 2567 lib/pengine/unpack.c pe_node_t *target_node = NULL; NULL 2568 lib/pengine/unpack.c pe_node_t *source_node = NULL; NULL 2569 lib/pengine/unpack.c xmlNode *migrate_from = NULL; NULL 2643 lib/pengine/unpack.c xmlNode *action = find_lrm_op(rsc->id, action_name, node_name, NULL, TRUE, NULL 2655 lib/pengine/unpack.c xmlNode *target_stop = NULL; NULL 2656 lib/pengine/unpack.c xmlNode *target_migrate_from = NULL; NULL 2669 lib/pengine/unpack.c target_stop = find_lrm_op(rsc->id, CRMD_ACTION_STOP, target, NULL, NULL 2678 lib/pengine/unpack.c if ((target_stop == NULL) || (target_stop_id < target_migrate_from_id)) { NULL 2691 lib/pengine/unpack.c } else if (target_migrate_from == NULL) { NULL 2722 lib/pengine/unpack.c xmlNode *source_stop = NULL; NULL 2723 lib/pengine/unpack.c xmlNode *source_migrate_to = NULL; NULL 2736 lib/pengine/unpack.c source_stop = find_lrm_op(rsc->id, CRMD_ACTION_STOP, source, NULL, NULL 2743 lib/pengine/unpack.c if ((source_stop == NULL) NULL 2761 lib/pengine/unpack.c xmlNode *xIter = NULL; NULL 2787 lib/pengine/unpack.c if(key == NULL) { NULL 2797 lib/pengine/unpack.c const char *when_s = NULL; NULL 2909 lib/pengine/unpack.c pe_action_t *action = NULL; NULL 2917 lib/pengine/unpack.c CRM_CHECK(task != NULL, return); NULL 2926 lib/pengine/unpack.c if (exit_reason == NULL) { NULL 2961 lib/pengine/unpack.c action = custom_action(rsc, strdup(key), task, NULL, TRUE, FALSE, data_set); NULL 3036 lib/pengine/unpack.c if (fail_rsc->allowed_nodes != NULL) { NULL 3078 lib/pengine/unpack.c CRM_CHECK(task != NULL, return PCMK_LRM_OP_ERROR); NULL 3080 lib/pengine/unpack.c if (exit_reason == NULL) { NULL 3210 lib/pengine/unpack.c op_digest_cache_t *digest_data = NULL; NULL 3237 lib/pengine/unpack.c pe_action_t *fence = pe_fence_op(remote_node, NULL, TRUE, NULL, NULL 3318 lib/pengine/unpack.c const char *clear_reason = NULL; NULL 3356 lib/pengine/unpack.c if (pe_get_failcount(node, rsc, NULL, pe_fc_default, xml_op, data_set)) { NULL 3387 lib/pengine/unpack.c if (clear_reason != NULL) { NULL 3429 lib/pengine/unpack.c if (key == NULL) { NULL 3432 lib/pengine/unpack.c decode_transition_key(key, NULL, NULL, NULL, &target_rc); NULL 3440 lib/pengine/unpack.c pe_action_t *action = custom_action(rsc, strdup(key), task, NULL, TRUE, FALSE, data_set); NULL 3589 lib/pengine/unpack.c const char *task = NULL; NULL 3590 lib/pengine/unpack.c const char *task_key = NULL; NULL 3591 lib/pengine/unpack.c const char *exit_reason = NULL; NULL 3602 lib/pengine/unpack.c if (exit_reason == NULL) { NULL 3611 lib/pengine/unpack.c CRM_CHECK(task != NULL, return); NULL 3720 lib/pengine/unpack.c if (rsc->pending_task == NULL) { NULL 3824 lib/pengine/unpack.c resource_location(parent, NULL, -INFINITY, "fatal-error", data_set); NULL 3840 lib/pengine/unpack.c const char *cluster_name = NULL; NULL 3843 lib/pengine/unpack.c .node_hash = NULL, NULL 3846 lib/pengine/unpack.c .match_data = NULL, NULL 3847 lib/pengine/unpack.c .rsc_data = NULL, NULL 3848 lib/pengine/unpack.c .op_data = NULL NULL 3873 lib/pengine/unpack.c node->details->attrs, NULL, overwrite, data_set); NULL 3875 lib/pengine/unpack.c if (pe_node_attribute_raw(node, CRM_ATTR_SITE_NAME) == NULL) { NULL 3899 lib/pengine/unpack.c xmlNode *rsc_op = NULL; NULL 3901 lib/pengine/unpack.c GListPtr gIter = NULL; NULL 3902 lib/pengine/unpack.c GListPtr op_list = NULL; NULL 3903 lib/pengine/unpack.c GListPtr sorted_op_list = NULL; NULL 3906 lib/pengine/unpack.c op_list = NULL; NULL 3907 lib/pengine/unpack.c sorted_op_list = NULL; NULL 3910 lib/pengine/unpack.c rsc_op != NULL; rsc_op = pcmk__xe_next(rsc_op)) { NULL 3920 lib/pengine/unpack.c if (op_list == NULL) { NULL 3922 lib/pengine/unpack.c return NULL; NULL 3932 lib/pengine/unpack.c op_list = NULL; NULL 3936 lib/pengine/unpack.c for (gIter = sorted_op_list; gIter != NULL; gIter = gIter->next) { NULL 3960 lib/pengine/unpack.c GListPtr output = NULL; NULL 3961 lib/pengine/unpack.c GListPtr intermediate = NULL; NULL 3963 lib/pengine/unpack.c xmlNode *tmp = NULL; NULL 3966 lib/pengine/unpack.c pe_node_t *this_node = NULL; NULL 3968 lib/pengine/unpack.c xmlNode *node_state = NULL; NULL 3970 lib/pengine/unpack.c for (node_state = pcmk__xe_first_child(status); node_state != NULL; NULL 3976 lib/pengine/unpack.c if (node != NULL && !pcmk__str_eq(uname, node, pcmk__str_casei)) { NULL 3981 lib/pengine/unpack.c if(this_node == NULL) { NULL 3982 lib/pengine/unpack.c CRM_LOG_ASSERT(this_node != NULL); NULL 3998 lib/pengine/unpack.c xmlNode *lrm_rsc = NULL; NULL 4003 lib/pengine/unpack.c for (lrm_rsc = pcmk__xe_first_child(tmp); lrm_rsc != NULL; NULL 4011 lib/pengine/unpack.c if (rsc != NULL && !pcmk__str_eq(rsc_id, rsc, pcmk__str_casei)) { NULL 37 lib/pengine/utils.c CRM_CHECK(action != NULL, return NULL); NULL 39 lib/pengine/utils.c if (action->action_details == NULL) { NULL 41 lib/pengine/utils.c CRM_CHECK(action->action_details != NULL, return NULL); NULL 45 lib/pengine/utils.c if (details->versioned_parameters == NULL) { NULL 46 lib/pengine/utils.c details->versioned_parameters = create_xml_node(NULL, NULL 49 lib/pengine/utils.c if (details->versioned_meta == NULL) { NULL 50 lib/pengine/utils.c details->versioned_meta = create_xml_node(NULL, XML_TAG_OP_VER_META); NULL 60 lib/pengine/utils.c if ((action == NULL) || (action->action_details == NULL)) { NULL 73 lib/pengine/utils.c action->action_details = NULL; NULL 95 lib/pengine/utils.c for (GList *n = rsc->running_on; n != NULL; n = n->next) { NULL 117 lib/pengine/utils.c } else if(node == NULL) { NULL 141 lib/pengine/utils.c pe_node_t *new_node = NULL; NULL 143 lib/pengine/utils.c CRM_ASSERT(this_node != NULL); NULL 146 lib/pengine/utils.c CRM_ASSERT(new_node != NULL); NULL 161 lib/pengine/utils.c pe_node_t *other_node = NULL; NULL 165 lib/pengine/utils.c pe_node_t *node = NULL; NULL 168 lib/pengine/utils.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 171 lib/pengine/utils.c if (other_node == NULL) { NULL 178 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 183 lib/pengine/utils.c if (other_node == NULL) { NULL 203 lib/pengine/utils.c GHashTable *result = NULL; NULL 205 lib/pengine/utils.c result = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, free); NULL 206 lib/pengine/utils.c for (GList *gIter = list; gIter != NULL; gIter = gIter->next) { NULL 238 lib/pengine/utils.c for (GList *gIter = list; gIter != NULL; gIter = gIter->next) { NULL 268 lib/pengine/utils.c pe_node_t *node = NULL; NULL 275 lib/pengine/utils.c while (g_hash_table_iter_next(&iter, NULL, (void **) &node)) { NULL 309 lib/pengine/utils.c if (rsc != NULL) { NULL 316 lib/pengine/utils.c if (nodes == NULL) { NULL 329 lib/pengine/utils.c for (GList *gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 391 lib/pengine/utils.c if (a == NULL && b == NULL) { NULL 394 lib/pengine/utils.c if (a == NULL) { NULL 397 lib/pengine/utils.c if (b == NULL) { NULL 418 lib/pengine/utils.c if (a == NULL && b == NULL) { NULL 421 lib/pengine/utils.c if (a == NULL) { NULL 424 lib/pengine/utils.c if (b == NULL) { NULL 469 lib/pengine/utils.c pe_action_t *action = NULL; NULL 470 lib/pengine/utils.c GListPtr possible_matches = NULL; NULL 472 lib/pengine/utils.c CRM_CHECK(key != NULL, return NULL); NULL 473 lib/pengine/utils.c CRM_CHECK(task != NULL, free(key); return NULL); NULL 475 lib/pengine/utils.c if (save_action && rsc != NULL) { NULL 486 lib/pengine/utils.c if(data_set->singletons == NULL) { NULL 487 lib/pengine/utils.c data_set->singletons = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, NULL); NULL 490 lib/pengine/utils.c if (possible_matches != NULL) { NULL 505 lib/pengine/utils.c if (action == NULL) { NULL 544 lib/pengine/utils.c if(rsc == NULL) { NULL 549 lib/pengine/utils.c if (rsc != NULL) { NULL 553 lib/pengine/utils.c parse_op_key(key, NULL, NULL, &interval_ms); NULL 568 lib/pengine/utils.c if (rsc != NULL) { NULL 578 lib/pengine/utils.c && action->node != NULL && action->op_entry != NULL) { NULL 583 lib/pengine/utils.c .match_data = NULL, NULL 584 lib/pengine/utils.c .rsc_data = NULL, NULL 585 lib/pengine/utils.c .op_data = NULL NULL 590 lib/pengine/utils.c &rule_data, action->extra, NULL, NULL 597 lib/pengine/utils.c } else if (action->node == NULL) { NULL 604 lib/pengine/utils.c XML_LRM_ATTR_INTERVAL_MS) == NULL) { NULL 632 lib/pengine/utils.c pe_action_set_reason(action, NULL, TRUE); NULL 661 lib/pengine/utils.c pe_action_set_flag_reason(__func__, __LINE__, action, NULL, NULL 668 lib/pengine/utils.c pe_action_set_flag_reason(__func__, __LINE__, action, NULL, NULL 702 lib/pengine/utils.c return !pcmk__strcase_any_of(value, "standby", "demote", "stop", NULL); NULL 709 lib/pengine/utils.c const char *name = NULL; NULL 710 lib/pengine/utils.c const char *role = NULL; NULL 711 lib/pengine/utils.c const char *on_fail = NULL; NULL 712 lib/pengine/utils.c const char *interval_spec = NULL; NULL 713 lib/pengine/utils.c const char *enabled = NULL; NULL 722 lib/pengine/utils.c return NULL; NULL 726 lib/pengine/utils.c xmlNode *operation = NULL; NULL 728 lib/pengine/utils.c CRM_CHECK(action->rsc != NULL, return NULL); NULL 731 lib/pengine/utils.c (operation != NULL) && (value == NULL); NULL 772 lib/pengine/utils.c return NULL; NULL 784 lib/pengine/utils.c const char *name = NULL; NULL 785 lib/pengine/utils.c const char *value = NULL; NULL 786 lib/pengine/utils.c const char *interval_spec = NULL; NULL 787 lib/pengine/utils.c xmlNode *op = NULL; NULL 788 lib/pengine/utils.c xmlNode *operation = NULL; NULL 791 lib/pengine/utils.c operation != NULL; NULL 823 lib/pengine/utils.c if (value != NULL) { NULL 845 lib/pengine/utils.c crm_time_t *origin = NULL; NULL 848 lib/pengine/utils.c if ((value == NULL) || (interval_ms == 0) || (now == NULL)) { NULL 854 lib/pengine/utils.c if (origin == NULL) { NULL 874 lib/pengine/utils.c if (start_delay != NULL) { NULL 894 lib/pengine/utils.c xmlNode *child = NULL; NULL 895 lib/pengine/utils.c GHashTable *action_meta = NULL; NULL 896 lib/pengine/utils.c const char *timeout_spec = NULL; NULL 900 lib/pengine/utils.c .node_hash = NULL, NULL 903 lib/pengine/utils.c .match_data = NULL, NULL 904 lib/pengine/utils.c .rsc_data = NULL, NULL 905 lib/pengine/utils.c .op_data = NULL NULL 909 lib/pengine/utils.c child != NULL; child = crm_next_same_xml(child)) { NULL 917 lib/pengine/utils.c if (timeout_spec == NULL && data_set->op_defaults) { NULL 920 lib/pengine/utils.c &rule_data, action_meta, NULL, FALSE, data_set); NULL 932 lib/pengine/utils.c if (action_meta != NULL) { NULL 943 lib/pengine/utils.c xmlNode *attrs = NULL; NULL 944 lib/pengine/utils.c xmlNode *attr = NULL; NULL 946 lib/pengine/utils.c for (attrs = pcmk__xe_first_child(versioned_meta); attrs != NULL; NULL 949 lib/pengine/utils.c for (attr = pcmk__xe_first_child(attrs); attr != NULL; NULL 956 lib/pengine/utils.c int start_delay = unpack_start_delay(value, NULL); NULL 996 lib/pengine/utils.c const char *value = NULL; NULL 998 lib/pengine/utils.c pe_rsc_action_details_t *rsc_details = NULL; NULL 1013 lib/pengine/utils.c .node_hash = NULL, NULL 1016 lib/pengine/utils.c .match_data = NULL, NULL 1025 lib/pengine/utils.c action->meta, NULL, FALSE, data_set); NULL 1044 lib/pengine/utils.c xmlAttrPtr xIter = NULL; NULL 1048 lib/pengine/utils.c action->meta, NULL, TRUE, data_set); NULL 1056 lib/pengine/utils.c NULL); NULL 1060 lib/pengine/utils.c NULL); NULL 1122 lib/pengine/utils.c if (!pcmk__strcase_any_of(action->task, RSC_START, RSC_PROMOTE, NULL)) { NULL 1142 lib/pengine/utils.c if (value == NULL) { NULL 1166 lib/pengine/utils.c } else if (pcmk__strcase_any_of(value, "ignore", "nothing", NULL)) { NULL 1189 lib/pengine/utils.c value = NULL; NULL 1198 lib/pengine/utils.c value = NULL; NULL 1202 lib/pengine/utils.c if (value == NULL && container) { NULL 1214 lib/pengine/utils.c } else if (((value == NULL) || !pcmk_is_set(action->rsc->flags, pe_rsc_managed)) NULL 1238 lib/pengine/utils.c } else if (value == NULL && pcmk__str_eq(action->task, CRMD_ACTION_STOP, pcmk__str_casei)) { NULL 1248 lib/pengine/utils.c } else if (value == NULL) { NULL 1256 lib/pengine/utils.c value = NULL; NULL 1257 lib/pengine/utils.c if (xml_obj != NULL) { NULL 1264 lib/pengine/utils.c if (value != NULL && action->fail_role == RSC_ROLE_UNKNOWN) { NULL 1303 lib/pengine/utils.c char *local_key = NULL; NULL 1304 lib/pengine/utils.c const char *name = NULL; NULL 1305 lib/pengine/utils.c const char *value = NULL; NULL 1306 lib/pengine/utils.c const char *interval_spec = NULL; NULL 1307 lib/pengine/utils.c char *match_key = NULL; NULL 1308 lib/pengine/utils.c xmlNode *op = NULL; NULL 1309 lib/pengine/utils.c xmlNode *operation = NULL; NULL 1312 lib/pengine/utils.c for (operation = pcmk__xe_first_child(rsc->ops_xml); operation != NULL; NULL 1338 lib/pengine/utils.c if (op != NULL) { NULL 1347 lib/pengine/utils.c return NULL; NULL 1362 lib/pengine/utils.c return NULL; NULL 1374 lib/pengine/utils.c if (node == NULL) { NULL 1375 lib/pengine/utils.c crm_trace("%s%s: <NULL>", pre_text == NULL ? "" : pre_text, pre_text == NULL ? "" : ": "); NULL 1381 lib/pengine/utils.c pre_text == NULL ? "" : pre_text, NULL 1382 lib/pengine/utils.c pre_text == NULL ? "" : ": ", NULL 1398 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 1414 lib/pengine/utils.c user_data == NULL ? "" : (char *)user_data, NULL 1415 lib/pengine/utils.c user_data == NULL ? "" : ": ", (char *)key, (char *)value); NULL 1421 lib/pengine/utils.c if (action == NULL) { NULL 1448 lib/pengine/utils.c const char *value = NULL; NULL 1449 lib/pengine/utils.c GListPtr result = NULL; NULL 1452 lib/pengine/utils.c CRM_CHECK(input != NULL, return NULL); NULL 1454 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 1458 lib/pengine/utils.c if (value == NULL) { NULL 1464 lib/pengine/utils.c } else if (not_on_node == NULL) { NULL 1468 lib/pengine/utils.c } else if (action->node == NULL) { NULL 1484 lib/pengine/utils.c if (rsc == NULL) { NULL 1505 lib/pengine/utils.c GListPtr gIter = NULL; NULL 1507 lib/pengine/utils.c CRM_CHECK(uuid || task, return NULL); NULL 1509 lib/pengine/utils.c for (gIter = input; gIter != NULL; gIter = gIter->next) { NULL 1512 lib/pengine/utils.c if (uuid != NULL && !pcmk__str_eq(uuid, action->uuid, pcmk__str_casei)) { NULL 1515 lib/pengine/utils.c } else if (task != NULL && !pcmk__str_eq(task, action->task, pcmk__str_casei)) { NULL 1518 lib/pengine/utils.c } else if (on_node == NULL) { NULL 1521 lib/pengine/utils.c } else if (action->node == NULL) { NULL 1529 lib/pengine/utils.c return NULL; NULL 1536 lib/pengine/utils.c GListPtr result = NULL; NULL 1538 lib/pengine/utils.c CRM_CHECK(key != NULL, return NULL); NULL 1540 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 1547 lib/pengine/utils.c } else if (on_node == NULL) { NULL 1551 lib/pengine/utils.c } else if (action->node == NULL) { NULL 1575 lib/pengine/utils.c GList *result = NULL; NULL 1577 lib/pengine/utils.c CRM_CHECK(key != NULL, return NULL); NULL 1579 lib/pengine/utils.c if (on_node == NULL) { NULL 1582 lib/pengine/utils.c return NULL; NULL 1585 lib/pengine/utils.c for (GList *gIter = input; gIter != NULL; gIter = gIter->next) { NULL 1588 lib/pengine/utils.c if (action->node == NULL) { NULL 1624 lib/pengine/utils.c GList *result = NULL; NULL 1639 lib/pengine/utils.c pe_node_t *match = NULL; NULL 1652 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 1661 lib/pengine/utils.c if (match == NULL) { NULL 1672 lib/pengine/utils.c if (node != NULL) { NULL 1675 lib/pengine/utils.c } else if (data_set != NULL) { NULL 1678 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 1686 lib/pengine/utils.c pe_node_t *node_iter = NULL; NULL 1689 lib/pengine/utils.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node_iter)) { NULL 1694 lib/pengine/utils.c if (node == NULL && score == -INFINITY) { NULL 1698 lib/pengine/utils.c rsc->allocated_to = NULL; NULL 1718 lib/pengine/utils.c char *a_uuid = NULL; NULL 1719 lib/pengine/utils.c char *b_uuid = NULL; NULL 1784 lib/pengine/utils.c CRM_CHECK(a_magic != NULL && b_magic != NULL, sort_return(0, "No magic")); NULL 1785 lib/pengine/utils.c if (!decode_transition_magic(a_magic, &a_uuid, &a_id, NULL, NULL, NULL, NULL 1786 lib/pengine/utils.c NULL)) { NULL 1789 lib/pengine/utils.c if (!decode_transition_magic(b_magic, &b_uuid, &b_id, NULL, NULL, NULL, NULL 1790 lib/pengine/utils.c NULL)) { NULL 1833 lib/pengine/utils.c if (data_set->now == NULL) { NULL 1835 lib/pengine/utils.c data_set->now = crm_time_new(NULL); NULL 1841 lib/pengine/utils.c return time(NULL); NULL 1850 lib/pengine/utils.c CRM_CHECK(role != NULL, return FALSE); NULL 1885 lib/pengine/utils.c GListPtr gIter = NULL; NULL 1886 lib/pengine/utils.c pe_action_wrapper_t *wrapper = NULL; NULL 1887 lib/pengine/utils.c GListPtr list = NULL; NULL 1893 lib/pengine/utils.c if (lh_action == NULL || rh_action == NULL) { NULL 1904 lib/pengine/utils.c for (; gIter != NULL; gIter = gIter->next) { NULL 1931 lib/pengine/utils.c pe_action_t *op = NULL; NULL 1936 lib/pengine/utils.c if (op == NULL) { NULL 1937 lib/pengine/utils.c op = custom_action(NULL, strdup(name), name, NULL, TRUE, TRUE, data_set); NULL 1959 lib/pengine/utils.c pe_ticket_t *ticket = NULL; NULL 1962 lib/pengine/utils.c return NULL; NULL 1965 lib/pengine/utils.c if (data_set->tickets == NULL) { NULL 1972 lib/pengine/utils.c if (ticket == NULL) { NULL 1975 lib/pengine/utils.c if (ticket == NULL) { NULL 1977 lib/pengine/utils.c return NULL; NULL 2010 lib/pengine/utils.c if (need_present && match == NULL) { NULL 2027 lib/pengine/utils.c char *key = NULL; NULL 2028 lib/pengine/utils.c char *value = NULL; NULL 2058 lib/pengine/utils.c op_digest_cache_t *data = NULL; NULL 2061 lib/pengine/utils.c if (data == NULL) { NULL 2065 lib/pengine/utils.c xmlNode *local_versioned_params = create_xml_node(NULL, XML_TAG_RSC_VER_ATTRS); NULL 2066 lib/pengine/utils.c const char *ra_version = NULL; NULL 2070 lib/pengine/utils.c const char *restart_list = NULL; NULL 2074 lib/pengine/utils.c CRM_ASSERT(data != NULL); NULL 2081 lib/pengine/utils.c data->params_all = create_xml_node(NULL, XML_TAG_PARAMS); NULL 2133 lib/pengine/utils.c if(xml_op && crm_element_value(xml_op, XML_LRM_ATTR_RESTART_DIGEST) != NULL) { NULL 2151 lib/pengine/utils.c op_digest_cache_t *data = NULL; NULL 2153 lib/pengine/utils.c char *key = NULL; NULL 2161 lib/pengine/utils.c CRM_ASSERT(node != NULL); NULL 2181 lib/pengine/utils.c } else if (digest_all == NULL) { NULL 2251 lib/pengine/utils.c matches = (strstr(node_summary, search_secure) != NULL); NULL 2280 lib/pengine/utils.c const char *node_summary = NULL; NULL 2285 lib/pengine/utils.c node, NULL, TRUE, data_set); NULL 2291 lib/pengine/utils.c if (node_summary == NULL) { NULL 2341 lib/pengine/utils.c for (GList *gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 2350 lib/pengine/utils.c for (GList *gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 2358 lib/pengine/utils.c for (GListPtr gIter = candidates; gIter != NULL; gIter = gIter->next) { NULL 2382 lib/pengine/utils.c GListPtr gIter = NULL; NULL 2400 lib/pengine/utils.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 2446 lib/pengine/utils.c char *op_key = NULL; NULL 2447 lib/pengine/utils.c pe_action_t *stonith_op = NULL; NULL 2449 lib/pengine/utils.c if(op == NULL) { NULL 2459 lib/pengine/utils.c if(stonith_op == NULL) { NULL 2460 lib/pengine/utils.c stonith_op = custom_action(NULL, op_key, CRM_OP_FENCE, node, TRUE, TRUE, data_set); NULL 2479 lib/pengine/utils.c GListPtr matches = find_unfencing_devices(data_set->resources, NULL); NULL 2481 lib/pengine/utils.c for (GListPtr gIter = matches; gIter != NULL; gIter = gIter->next) { NULL 2485 lib/pengine/utils.c op_digest_cache_t *data = NULL; NULL 2526 lib/pengine/utils.c XML_CONFIG_ATTR_PRIORITY_FENCING_DELAY) != NULL)) { NULL 2540 lib/pengine/utils.c pe_action_required(stonith_op, NULL, reason); NULL 2541 lib/pengine/utils.c } else if(reason && stonith_op->reason == NULL) { NULL 2556 lib/pengine/utils.c } else if ((rsc != NULL) NULL 2575 lib/pengine/utils.c while (g_hash_table_iter_next(&iter, NULL, (void **)&node)) { NULL 2586 lib/pengine/utils.c pe_tag_t *tag = NULL; NULL 2587 lib/pengine/utils.c GListPtr gIter = NULL; NULL 2593 lib/pengine/utils.c if (tag == NULL) { NULL 2595 lib/pengine/utils.c if (tag == NULL) { NULL 2599 lib/pengine/utils.c tag->refs = NULL; NULL 2603 lib/pengine/utils.c for (gIter = tag->refs; gIter != NULL; gIter = gIter->next) { NULL 2626 lib/pengine/utils.c const char *change = NULL; NULL 2661 lib/pengine/utils.c char *reason_text = NULL; NULL 2662 lib/pengine/utils.c if(reason == NULL) { NULL 2665 lib/pengine/utils.c } else if(reason->rsc == NULL) { NULL 2680 lib/pengine/utils.c if (action->reason != NULL && overwrite) { NULL 2684 lib/pengine/utils.c } else if (action->reason == NULL) { NULL 2692 lib/pengine/utils.c if (reason != NULL) { NULL 2695 lib/pengine/utils.c action->reason = NULL; NULL 2761 lib/pengine/utils.c const char *target_role = NULL; NULL 2763 lib/pengine/utils.c CRM_CHECK(rsc != NULL, return false); NULL 2790 lib/pengine/utils.c char *key = NULL; NULL 2820 lib/pengine/utils.c GListPtr retval = NULL; NULL 38 lib/pengine/variant.h CRM_ASSERT(rsc != NULL); \ NULL 113 lib/pengine/variant.h CRM_ASSERT(rsc != NULL); \ NULL 115 lib/pengine/variant.h CRM_ASSERT(rsc->variant_opaque != NULL); \ NULL 134 lib/pengine/variant.h CRM_ASSERT(rsc != NULL); \ NULL 136 lib/pengine/variant.h CRM_ASSERT(rsc->variant_opaque != NULL); \ NULL 146 lib/pengine/variant.h CRM_ASSERT(rsc != NULL); \ NULL 148 lib/pengine/variant.h CRM_ASSERT(rsc->variant_opaque != NULL); \ NULL 21 lib/services/dbus.c static GList *conn_dispatches = NULL; NULL 57 lib/services/dbus.c for (GList *gIter = conn_dispatches; gIter != NULL; gIter = gIter->next) { NULL 67 lib/services/dbus.c conn_dispatches = NULL; NULL 162 lib/services/dbus.c dbus_watch_set_data(watch, client, NULL); NULL 188 lib/services/dbus.c toggle_dbus_watch, NULL, NULL); NULL 214 lib/services/dbus.c dbus_timeout_set_data(timeout, GUINT_TO_POINTER(id), NULL); NULL 229 lib/services/dbus.c dbus_timeout_set_data(timeout, 0, NULL); NULL 252 lib/services/dbus.c toggle_dbus_timer, NULL, NULL); NULL 270 lib/services/dbus.c return NULL; NULL 272 lib/services/dbus.c if (connection == NULL) { NULL 273 lib/services/dbus.c return NULL; NULL 286 lib/services/dbus.c NULL, NULL); NULL 291 lib/services/dbus.c NULL); NULL 338 lib/services/dbus.c if (pending == NULL) { NULL 341 lib/services/dbus.c } else if (reply == NULL) { NULL 351 lib/services/dbus.c char *sig = NULL; NULL 356 lib/services/dbus.c if (sig != NULL) { NULL 416 lib/services/dbus.c const char *method = NULL; NULL 417 lib/services/dbus.c DBusMessage *reply = NULL; NULL 418 lib/services/dbus.c DBusPendingCall* pending = NULL; NULL 439 lib/services/dbus.c return NULL; NULL 481 lib/services/dbus.c const char *method = NULL; NULL 482 lib/services/dbus.c DBusPendingCall* pending = NULL; NULL 496 lib/services/dbus.c return NULL; NULL 498 lib/services/dbus.c } else if (pending == NULL) { NULL 501 lib/services/dbus.c return NULL; NULL 510 lib/services/dbus.c if (!dbus_pending_call_set_notify(pending, done, user_data, NULL)) { NULL 511 lib/services/dbus.c return NULL; NULL 523 lib/services/dbus.c if (field == NULL) { NULL 529 lib/services/dbus.c if (field == NULL) { NULL 593 lib/services/dbus.c char *output = NULL; NULL 658 lib/services/dbus.c DBusMessage *reply = NULL; NULL 659 lib/services/dbus.c char *value = NULL; NULL 700 lib/services/dbus.c char *output = NULL; NULL 701 lib/services/dbus.c struct property_query *query_data = NULL; NULL 703 lib/services/dbus.c CRM_CHECK((connection != NULL) && (target != NULL) && (obj != NULL) NULL 704 lib/services/dbus.c && (iface != NULL) && (name != NULL), return NULL); NULL 711 lib/services/dbus.c if (msg == NULL) { NULL 714 lib/services/dbus.c return NULL; NULL 725 lib/services/dbus.c return NULL; NULL 729 lib/services/dbus.c if (query_data == NULL) { NULL 733 lib/services/dbus.c return NULL; NULL 741 lib/services/dbus.c CRM_CHECK((query_data->target != NULL) NULL 742 lib/services/dbus.c && (query_data->object != NULL) NULL 743 lib/services/dbus.c && (query_data->name != NULL), NULL 746 lib/services/dbus.c return NULL); NULL 753 lib/services/dbus.c if (local_pending == NULL) { NULL 756 lib/services/dbus.c query_data = NULL; NULL 764 lib/services/dbus.c DBusMessage *reply = pcmk_dbus_send_recv(msg, connection, NULL, NULL 46 lib/services/services.c static GHashTable *recurring_actions = NULL; NULL 50 lib/services/services.c static GList *blocked_ops = NULL; NULL 53 lib/services/services.c static GList *inflight_ops = NULL; NULL 86 lib/services/services.c return NULL; NULL 92 lib/services/services.c if (recurring_actions == NULL) { NULL 93 lib/services/services.c recurring_actions = g_hash_table_new_full(g_str_hash, g_str_equal, NULL, NULL 94 lib/services/services.c NULL); NULL 110 lib/services/services.c PCMK_RESOURCE_CLASS_UPSTART, NULL) && NULL 111 lib/services/services.c g_list_find(inflight_ops, op) != NULL; NULL 129 lib/services/services.c char *expanded_class = NULL; NULL 170 lib/services/services.c svc_action_t *op = NULL; NULL 234 lib/services/services.c params = NULL; // so we don't free them in this function NULL 267 lib/services/services.c char *key = NULL; NULL 268 lib/services/services.c char *value = NULL; NULL 286 lib/services/services.c if (op->params != NULL) { NULL 288 lib/services/services.c op->params = NULL; NULL 307 lib/services/services.c return NULL; NULL 352 lib/services/services.c svc_action_t *action = services_action_create_generic(exec, NULL); NULL 381 lib/services/services.c CRM_CHECK((op != NULL) && (user != NULL), return -EINVAL); NULL 435 lib/services/services.c if ((op == NULL) || (op->opaque == NULL)) { NULL 456 lib/services/services.c services_set_op_pending(op, NULL); NULL 462 lib/services/services.c op->opaque->stderr_gsource = NULL; NULL 467 lib/services/services.c op->opaque->stdout_gsource = NULL; NULL 476 lib/services/services.c if (op == NULL) { NULL 484 lib/services/services.c CRM_CHECK(g_list_find(inflight_ops, op) == NULL, return); NULL 485 lib/services/services.c CRM_CHECK(g_list_find(blocked_ops, op) == NULL, return); NULL 486 lib/services/services.c CRM_CHECK((recurring_actions == NULL) NULL 487 lib/services/services.c || (g_hash_table_lookup(recurring_actions, op->id) == NULL), NULL 517 lib/services/services.c op->params = NULL; NULL 554 lib/services/services.c svc_action_t *op = NULL; NULL 559 lib/services/services.c if (op == NULL) { NULL 619 lib/services/services.c svc_action_t * op = NULL; NULL 626 lib/services/services.c if (op == NULL) { NULL 655 lib/services/services.c svc_action_t * dup = NULL; NULL 665 lib/services/services.c op->cb_data = NULL; NULL 710 lib/services/services.c if (op == NULL) { NULL 775 lib/services/services.c return services_action_async_fork_notify(op, action_callback, NULL); NULL 783 lib/services/services.c GList *gIter = NULL; NULL 784 lib/services/services.c svc_action_t *op = NULL; NULL 786 lib/services/services.c for (gIter = inflight_ops; gIter != NULL; gIter = gIter->next) { NULL 799 lib/services/services.c GList *executed_ops = NULL; NULL 800 lib/services/services.c GList *gIter = NULL; NULL 801 lib/services/services.c svc_action_t *op = NULL; NULL 813 lib/services/services.c for (gIter = blocked_ops; gIter != NULL; gIter = gIter->next) { NULL 828 lib/services/services.c for (gIter = executed_ops; gIter != NULL; gIter = gIter->next) { NULL 842 lib/services/services.c if (op->agent == NULL) { NULL 847 lib/services/services.c if (class == NULL) { NULL 857 lib/services/services.c if (class == NULL) { NULL 881 lib/services/services.c if (op == NULL) { NULL 920 lib/services/services.c GList *standards = NULL; NULL 921 lib/services/services.c GList *agents = NULL; NULL 964 lib/services/services.c return NULL; NULL 970 lib/services/services.c if ((standard == NULL) NULL 977 lib/services/services.c if (standard == NULL) { NULL 979 lib/services/services.c tmp2 = resources_os_list_ocf_agents(NULL); NULL 1020 lib/services/services.c return NULL; NULL 1026 lib/services/services.c GList *standards = NULL; NULL 1027 lib/services/services.c GList *providers = NULL; NULL 1028 lib/services/services.c GListPtr iter = NULL; NULL 1033 lib/services/services.c for (iter = standards; iter != NULL; iter = iter->next) { NULL 1047 lib/services/services.c if (has_providers == TRUE && provider != NULL) { NULL 1049 lib/services/services.c for (iter = providers; iter != NULL; iter = iter->next) { NULL 1055 lib/services/services.c } else if (has_providers == FALSE && provider == NULL) { NULL 79 lib/services/services_linux.c CRM_CHECK(data != NULL, return -1); NULL 125 lib/services/services_linux.c && (sigprocmask(SIG_UNBLOCK, &(data->mask), NULL) < 0)) { NULL 142 lib/services/services_linux.c volatile struct sigchld_data_s *last_sigchld_data = NULL; NULL 148 lib/services/services_linux.c if ((last_sigchld_data != NULL) NULL 197 lib/services/services_linux.c CRM_CHECK(data != NULL, return -1); NULL 226 lib/services/services_linux.c if (sigaction(SIGCHLD, &(data->old_sa), NULL) < 0) { NULL 258 lib/services/services_linux.c char *data = NULL; NULL 333 lib/services/services_linux.c op->opaque->stdout_gsource = NULL; NULL 345 lib/services/services_linux.c op->opaque->stderr_gsource = NULL; NULL 384 lib/services/services_linux.c if (value != NULL) { NULL 407 lib/services/services_linux.c void (*env_setter)(gpointer, gpointer, gpointer) = NULL; NULL 408 lib/services/services_linux.c if (op->agent == NULL) { NULL 415 lib/services/services_linux.c if (env_setter != NULL && op->params != NULL) { NULL 416 lib/services/services_linux.c g_hash_table_foreach(op->params, env_setter, NULL); NULL 419 lib/services/services_linux.c if (env_setter == NULL || env_setter == set_alert_env) { NULL 423 lib/services/services_linux.c set_ocf_env("OCF_RA_VERSION_MAJOR", "1", NULL); NULL 424 lib/services/services_linux.c set_ocf_env("OCF_RA_VERSION_MINOR", "0", NULL); NULL 425 lib/services/services_linux.c set_ocf_env("OCF_ROOT", OCF_ROOT_DIR, NULL); NULL 426 lib/services/services_linux.c set_ocf_env("OCF_EXIT_REASON_PREFIX", PCMK_OCF_REASON_PREFIX, NULL); NULL 429 lib/services/services_linux.c set_ocf_env("OCF_RESOURCE_INSTANCE", op->rsc, NULL); NULL 432 lib/services/services_linux.c if (op->agent != NULL) { NULL 433 lib/services/services_linux.c set_ocf_env("OCF_RESOURCE_TYPE", op->agent, NULL); NULL 437 lib/services/services_linux.c if (op->provider != NULL) { NULL 438 lib/services/services_linux.c set_ocf_env("OCF_RESOURCE_PROVIDER", op->provider, NULL); NULL 484 lib/services/services_linux.c op->stdout_data = NULL; NULL 486 lib/services/services_linux.c op->stderr_data = NULL; NULL 489 lib/services/services_linux.c services_action_async(op, NULL); NULL 561 lib/services/services_linux.c *source = NULL; NULL 742 lib/services/services_linux.c if (setgroups(0, NULL) < 0) { NULL 785 lib/services/services_linux.c start = time(NULL); NULL 825 lib/services/services_linux.c timeout = op->timeout - (time(NULL) - start) * 1000; NULL 1083 lib/services/services_linux.c GList *list = NULL; NULL 1088 lib/services/services_linux.c entries = scandir(root, &namelist, NULL, alphasort); NULL 1144 lib/services/services_linux.c GList *gIter = NULL; NULL 1145 lib/services/services_linux.c GList *result = NULL; NULL 1146 lib/services/services_linux.c GList *providers = NULL; NULL 1156 lib/services/services_linux.c for (gIter = providers; gIter != NULL; gIter = gIter->next) { NULL 1171 lib/services/services_linux.c char *buf = NULL; NULL 1175 lib/services/services_linux.c if (provider == NULL || agent == NULL) { NULL 73 lib/services/services_lsb.c if ((m) != NULL) { \ NULL 75 lib/services/services_lsb.c (m) = NULL; \ NULL 93 lib/services/services_lsb.c *value = (char *)xmlEncodeEntitiesReentrant(NULL, BAD_CAST line+strlen(prefix)); NULL 105 lib/services/services_lsb.c FILE *fp = NULL; NULL 107 lib/services/services_lsb.c char *provides = NULL; NULL 108 lib/services/services_lsb.c char *req_start = NULL; NULL 109 lib/services/services_lsb.c char *req_stop = NULL; NULL 110 lib/services/services_lsb.c char *shld_start = NULL; NULL 111 lib/services/services_lsb.c char *shld_stop = NULL; NULL 112 lib/services/services_lsb.c char *dflt_start = NULL; NULL 113 lib/services/services_lsb.c char *dflt_stop = NULL; NULL 114 lib/services/services_lsb.c char *s_dscrpt = NULL; NULL 115 lib/services/services_lsb.c char *xml_l_dscrpt = NULL; NULL 129 lib/services/services_lsb.c if (fp == NULL) { NULL 200 lib/services/services_lsb.c xml_l_dscrpt = (char *)xmlEncodeEntitiesReentrant(NULL, BAD_CAST(description)); NULL 279 lib/services/services_lsb.c return resources_action_create(name, PCMK_RESOURCE_CLASS_LSB, NULL, name, NULL 280 lib/services/services_lsb.c action, interval_ms, timeout, NULL, 0); NULL 286 lib/services/services_lsb.c return resources_list_agents(PCMK_RESOURCE_CLASS_LSB, NULL); NULL 43 lib/services/services_nagios.c GList *plugin_list = NULL; NULL 44 lib/services/services_nagios.c GList *result = NULL; NULL 49 lib/services/services_nagios.c for (GList *gIter = plugin_list; gIter != NULL; gIter = gIter->next) { NULL 66 lib/services/services_nagios.c char *buf = NULL; NULL 70 lib/services/services_nagios.c if (name == NULL) { NULL 87 lib/services/services_nagios.c FILE *file_strm = NULL; NULL 92 lib/services/services_nagios.c if (file_strm == NULL) { NULL 110 lib/services/services_nagios.c *output = NULL; NULL 121 lib/services/services_nagios.c *output = NULL; NULL 41 lib/services/systemd.c static DBusConnection* systemd_proxy = NULL; NULL 72 lib/services/systemd.c DBusMessage *reply = NULL; NULL 76 lib/services/systemd.c CRM_CHECK(systemd_proxy, return NULL); NULL 78 lib/services/systemd.c if (msg == NULL) { NULL 80 lib/services/systemd.c return NULL; NULL 91 lib/services/systemd.c return NULL; NULL 93 lib/services/systemd.c } else if (reply == NULL) { NULL 95 lib/services/systemd.c return NULL; NULL 111 lib/services/systemd.c systemd_proxy = NULL; NULL 119 lib/services/systemd.c if (systemd_proxy == NULL) { NULL 133 lib/services/systemd.c : NULL; NULL 141 lib/services/systemd.c systemd_proxy = NULL; NULL 171 lib/services/systemd.c return NULL; NULL 177 lib/services/systemd.c if (name == NULL) { NULL 178 lib/services/systemd.c return NULL; NULL 192 lib/services/systemd.c DBusMessage *reply = NULL; NULL 223 lib/services/systemd.c CRM_ASSERT(msg != NULL); NULL 258 lib/services/systemd.c const char *path = NULL; NULL 268 lib/services/systemd.c } else if (!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, NULL 274 lib/services/systemd.c dbus_message_get_args (reply, NULL, NULL 295 lib/services/systemd.c DBusMessage *reply = NULL; NULL 305 lib/services/systemd.c services_set_op_pending(op, NULL); NULL 318 lib/services/systemd.c DBusMessage *reply = NULL; NULL 319 lib/services/systemd.c DBusPendingCall* pending = NULL; NULL 320 lib/services/systemd.c char *name = NULL; NULL 335 lib/services/systemd.c CRM_ASSERT(msg != NULL); NULL 341 lib/services/systemd.c if(op == NULL || op->synchronous) { NULL 342 lib/services/systemd.c const char *unit = NULL; NULL 343 lib/services/systemd.c char *munit = NULL; NULL 345 lib/services/systemd.c reply = systemd_send_recv(msg, NULL, NULL 365 lib/services/systemd.c return NULL; NULL 397 lib/services/systemd.c GList *units = NULL; NULL 401 lib/services/systemd.c DBusMessage *reply = NULL; NULL 404 lib/services/systemd.c return NULL; NULL 414 lib/services/systemd.c if (reply == NULL) { NULL 415 lib/services/systemd.c return NULL; NULL 420 lib/services/systemd.c return NULL; NULL 426 lib/services/systemd.c return NULL; NULL 434 lib/services/systemd.c const char *match = NULL; NULL 435 lib/services/systemd.c char *unit_name = NULL; NULL 436 lib/services/systemd.c char *basename = NULL; NULL 450 lib/services/systemd.c if (value.str == NULL) { NULL 457 lib/services/systemd.c if (match == NULL) { NULL 493 lib/services/systemd.c char *unit = NULL; NULL 498 lib/services/systemd.c unit = systemd_unit_by_name(name, NULL); NULL 509 lib/services/systemd.c char *meta = NULL; NULL 510 lib/services/systemd.c char *desc = NULL; NULL 511 lib/services/systemd.c char *path = systemd_unit_by_name(name, NULL); NULL 515 lib/services/systemd.c desc = systemd_get_property(path, "Description", NULL, NULL, NULL, NULL 559 lib/services/systemd.c if(!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, __func__, __LINE__)) { NULL 564 lib/services/systemd.c const char *path = NULL; NULL 566 lib/services/systemd.c dbus_message_get_args (reply, NULL, NULL 580 lib/services/systemd.c DBusMessage *reply = NULL; NULL 590 lib/services/systemd.c services_set_op_pending(op, NULL); NULL 648 lib/services/systemd.c FILE *file_strm = NULL; NULL 657 lib/services/systemd.c if (file_strm == NULL) { NULL 701 lib/services/systemd.c if(state == NULL) { NULL 717 lib/services/systemd.c services_set_op_pending(op, NULL); NULL 726 lib/services/systemd.c DBusMessage *msg = NULL; NULL 727 lib/services/systemd.c DBusMessage *reply = NULL; NULL 732 lib/services/systemd.c DBusPendingCall *pending = NULL; NULL 736 lib/services/systemd.c (op->synchronous? NULL : systemd_unit_check), NULL 737 lib/services/systemd.c op, (op->synchronous? NULL : &pending), NULL 770 lib/services/systemd.c CRM_ASSERT(msg != NULL); NULL 797 lib/services/systemd.c reply = systemd_send_recv(msg, NULL, op->timeout); NULL 832 lib/services/systemd.c char *unit = NULL; NULL 35 lib/services/upstart.c static DBusConnection *upstart_proxy = NULL; NULL 46 lib/services/upstart.c if (upstart_proxy == NULL) { NULL 57 lib/services/upstart.c upstart_proxy = NULL; NULL 69 lib/services/upstart.c DBusMessage *reply = NULL; NULL 89 lib/services/upstart.c } else if(!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, __func__, __LINE__)) { NULL 94 lib/services/upstart.c char *path = NULL; NULL 96 lib/services/upstart.c dbus_message_get_args (reply, NULL, NULL 115 lib/services/upstart.c char *match = NULL; NULL 122 lib/services/upstart.c if (match == NULL) { NULL 151 lib/services/upstart.c GList *units = NULL; NULL 154 lib/services/upstart.c DBusMessage *msg = NULL; NULL 155 lib/services/upstart.c DBusMessage *reply = NULL; NULL 161 lib/services/upstart.c return NULL; NULL 173 lib/services/upstart.c CRM_ASSERT(msg != NULL); NULL 181 lib/services/upstart.c return NULL; NULL 186 lib/services/upstart.c return NULL; NULL 192 lib/services/upstart.c return NULL; NULL 198 lib/services/upstart.c const char *job = NULL; NULL 199 lib/services/upstart.c char *path = NULL; NULL 233 lib/services/upstart.c return upstart_job_by_name(name, NULL, DBUS_TIMEOUT_USE_DEFAULT); NULL 239 lib/services/upstart.c char *instance = NULL; NULL 252 lib/services/upstart.c CRM_ASSERT(msg != NULL); NULL 263 lib/services/upstart.c } else if(reply == NULL) { NULL 310 lib/services/upstart.c services_set_op_pending(op, NULL); NULL 370 lib/services/upstart.c DBusMessage *reply = NULL; NULL 391 lib/services/upstart.c if(!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, __func__, __LINE__)) { NULL 396 lib/services/upstart.c const char *path = NULL; NULL 398 lib/services/upstart.c dbus_message_get_args (reply, NULL, NULL 407 lib/services/upstart.c services_set_op_pending(op, NULL); NULL 420 lib/services/upstart.c char *job = NULL; NULL 426 lib/services/upstart.c DBusMessage *msg = NULL; NULL 427 lib/services/upstart.c DBusMessage *reply = NULL; NULL 451 lib/services/upstart.c if (pcmk__strcase_any_of(op->action, "monitor", "status", NULL)) { NULL 456 lib/services/upstart.c DBusPendingCall *pending = NULL; NULL 459 lib/services/upstart.c op->synchronous?NULL:upstart_job_check, op, NULL 460 lib/services/upstart.c op->synchronous?NULL:&pending, op->timeout); NULL 495 lib/services/upstart.c CRM_ASSERT(msg != NULL); NULL 535 lib/services/upstart.c } else if(!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, __func__, __LINE__)) { NULL 540 lib/services/upstart.c const char *path = NULL; NULL 542 lib/services/upstart.c dbus_message_get_args (reply, NULL, NULL 41 libltdl/libltdl/lt__alloc.h free (mem); mem = NULL; } LT_STMT_END NULL 102 libltdl/loaders/dld_link.c vtable = NULL; NULL 157 libltdl/loaders/dlopen.c vtable = NULL; NULL 205 libltdl/loaders/dlopen.c if (opening && opening < (filename+len-2) && strchr(opening+1, '/') == 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 42 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 56 libltdl/lt_dlloader.c return STREQ (vtable->name, name) ? (void *) item : NULL; NULL 123 libltdl/lt_dlloader.c slist_foreach (slist_tail (loaders), loader_dump_callback, NULL); NULL 143 libltdl/lt_dlloader.c return (const lt_dlvtable *) (loader ? ((SList *) loader)->userdata : NULL); NULL 170 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 1296 libltdl/ltdl.c if ((*phandle == NULL) || (archive_name == NULL)) NULL 1322 libltdl/ltdl.c newhandle = NULL; NULL 1483 libltdl/ltdl.c newhandle = NULL; NULL 1626 libltdl/ltdl.c return lt_dlopenadvise (filename, NULL); NULL 1671 libltdl/ltdl.c if (try_dlopen (&handle, filename, NULL, advise) != 0) NULL 185 libltdl/slist.c return slist ? slist->next : NULL; NULL 47 maint/mocked/based-notifyfenced.c const char *type = NULL; NULL 55 maint/mocked/based-notifyfenced.c CRM_CHECK(client != NULL, return true); NULL 59 maint/mocked/based-notifyfenced.c if (client->ipcs == NULL && client->remote == NULL) { NULL 65 maint/mocked/based-notifyfenced.c CRM_LOG_ASSERT(type != NULL); NULL 86 maint/mocked/based-notifyfenced.c xmlNode *update_msg = NULL; NULL 87 maint/mocked/based-notifyfenced.c const char *id = NULL; NULL 89 maint/mocked/based-notifyfenced.c update_msg = create_xml_node(NULL, "notify"); NULL 97 maint/mocked/based-notifyfenced.c if (result_data != NULL) { NULL 99 maint/mocked/based-notifyfenced.c if (id != NULL) NULL 103 maint/mocked/based-notifyfenced.c if (update != NULL) { NULL 107 maint/mocked/based-notifyfenced.c } else if (result_data != NULL) { NULL 119 maint/mocked/based-notifyfenced.c if (update != NULL) { NULL 122 maint/mocked/based-notifyfenced.c if (result_data != NULL) { NULL 143 maint/mocked/based-notifyfenced.c input = create_xml_node(NULL, "cib"); NULL 168 maint/mocked/based-notifyfenced.c "file:///tmp/update", NULL, 0)->children; NULL 215 maint/mocked/based-notifyfenced.c if (ctxt->modules[module_handle]->priv == NULL) { NULL 51 maint/mocked/based.c if (cib_client == NULL) { NULL 66 maint/mocked/based.c if (client != NULL) { NULL 102 maint/mocked/based.c cib = xmlReadMemory(cib_str, sizeof(cib_str), "file:///tmp/foo", NULL, 0)->children; NULL 104 maint/mocked/based.c reply = create_xml_node(NULL, "cib-reply"); NULL 115 maint/mocked/based.c if (cib != NULL) { NULL 139 maint/mocked/based.c xmlNode *ack = create_xml_node(NULL, __func__); NULL 161 maint/mocked/based.c if (ctxt->modules[c - 1]->hooks.cib_notify != NULL) { NULL 188 maint/mocked/based.c assert(op_request != NULL); NULL 190 maint/mocked/based.c if (cib_client == NULL || op_request == NULL) { NULL 191 maint/mocked/based.c if (op_request == NULL) { NULL 204 maint/mocked/based.c assert(cib_client->name == NULL); NULL 224 maint/mocked/based.c if (mock_based_context.modules == NULL NULL 225 maint/mocked/based.c || (module = malloc(sizeof(module_t))) == NULL) { NULL 261 maint/mocked/based.c = malloc((ctxt->modules_cnt + 2) * sizeof(*args2argv))) == NULL NULL 263 maint/mocked/based.c = malloc((ctxt->modules_cnt * 2 + 2) * sizeof(*s))) == NULL) { NULL 308 maint/mocked/based.c .connection_created = NULL, NULL 313 maint/mocked/based.c crm_log_preinit(NULL, argc, argv); NULL 314 maint/mocked/based.c crm_log_init(NULL, LOG_DEBUG, false, true, argc, argv, false); NULL 318 maint/mocked/based.c g_main_loop_run(g_main_loop_new(NULL, false)); NULL 323 maint/mocked/based.c if (ctxt->modules[c - 1]->hooks.destroy != NULL) { NULL 113 replace/scandir.c #ifndef NULL NULL 155 replace/scandir.c if ((directory = opendir(directory_name)) == NULL) { NULL 160 replace/scandir.c == NULL) { NULL 168 replace/scandir.c if (select_function == NULL || (*select_function) (entry)) { NULL 195 replace/scandir.c if ((copy = (struct dirent *)malloc(sizeof(struct dirent) + extra)) == NULL) { NULL 210 replace/scandir.c if (array == NULL) { NULL 222 replace/scandir.c array[counter] = NULL; NULL 32 replace/strndup.c if (NULL == new) { NULL 33 replace/strndup.c return NULL; NULL 30 replace/strnlen.c return (eospos == NULL ? maxlen : (size_t) (eospos - s)); NULL 42 scratch.c xmlNode *top = NULL; NULL 43 scratch.c const char *xml_file = NULL; NULL 45 scratch.c crm_log_init(NULL, LOG_TRACE, FALSE, TRUE, argc, argv, FALSE); NULL 30 tools/attrd_updater.c "help", no_argument, NULL, '?', NULL 34 tools/attrd_updater.c "version", no_argument, NULL, '$', NULL 38 tools/attrd_updater.c "verbose", no_argument, NULL, 'V', NULL 42 tools/attrd_updater.c "name", required_argument, NULL, 'n', NULL 46 tools/attrd_updater.c "-spacer-", no_argument, NULL, '-', NULL 50 tools/attrd_updater.c "update", required_argument, NULL, 'U', NULL 56 tools/attrd_updater.c "update-both", required_argument, NULL, 'B', NULL 65 tools/attrd_updater.c "update-delay", no_argument, NULL, 'Y', NULL 74 tools/attrd_updater.c "query", no_argument, NULL, 'Q', NULL 79 tools/attrd_updater.c "delete", no_argument, NULL, 'D', NULL 85 tools/attrd_updater.c "refresh", no_argument, NULL, 'R', NULL 92 tools/attrd_updater.c "-spacer-", no_argument, NULL, '-', NULL 96 tools/attrd_updater.c "delay", required_argument, NULL, 'd', NULL 102 tools/attrd_updater.c "set", required_argument, NULL, 's', NULL 107 tools/attrd_updater.c "node", required_argument, NULL, 'N', NULL 112 tools/attrd_updater.c "all", no_argument, NULL, 'A', NULL 119 tools/attrd_updater.c "lifetime", required_argument, NULL, 'l', NULL 125 tools/attrd_updater.c "private", no_argument, NULL, 'p', NULL 132 tools/attrd_updater.c "quiet", no_argument, NULL, 'q', NULL 133 tools/attrd_updater.c NULL, pcmk__option_hidden NULL 136 tools/attrd_updater.c "update", required_argument, NULL, 'v', NULL 137 tools/attrd_updater.c NULL, pcmk__option_hidden NULL 140 tools/attrd_updater.c "section", required_argument, NULL, 'S', NULL 141 tools/attrd_updater.c NULL, pcmk__option_hidden NULL 173 tools/attrd_updater.c char *attr_node = NULL; NULL 174 tools/attrd_updater.c char *attr_name = NULL; NULL 175 tools/attrd_updater.c char *attr_set = NULL; NULL 176 tools/attrd_updater.c char *attr_section = NULL; NULL 177 tools/attrd_updater.c char *attr_dampen = NULL; NULL 178 tools/attrd_updater.c const char *attr_value = NULL; NULL 184 tools/attrd_updater.c pcmk__set_cli_options(NULL, "-n <attribute> <command> [options]", NULL 193 tools/attrd_updater.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); NULL 254 tools/attrd_updater.c if (command != 'R' && attr_name == NULL) { NULL 301 tools/attrd_updater.c query = create_xml_node(NULL, __func__); NULL 302 tools/attrd_updater.c if (query == NULL) { NULL 344 tools/attrd_updater.c if (reply == NULL) { NULL 352 tools/attrd_updater.c if (reply_attr == NULL) { NULL 359 tools/attrd_updater.c || (crm_element_value(reply, PCMK__XA_ATTR_VERSION) == NULL) NULL 385 tools/attrd_updater.c for (child = pcmk__xml_first_child(reply); child != NULL; NULL 395 tools/attrd_updater.c if (reply_host == NULL) { NULL 420 tools/attrd_updater.c xmlNode *reply = NULL; NULL 425 tools/attrd_updater.c attr_node = NULL; NULL 440 tools/attrd_updater.c if (reply != NULL) { NULL 463 tools/attrd_updater.c int rc = pcmk__node_attr_request(NULL, command, attr_node, attr_name, NULL 465 tools/attrd_updater.c attr_dampen, NULL, attr_options); NULL 23 tools/cibadmin.c static const char *host = NULL; NULL 24 tools/cibadmin.c static const char *cib_user = NULL; NULL 25 tools/cibadmin.c static const char *cib_action = NULL; NULL 26 tools/cibadmin.c static const char *obj_type = NULL; NULL 28 tools/cibadmin.c static cib_t *the_cib = NULL; NULL 29 tools/cibadmin.c static GMainLoop *mainloop = NULL; NULL 41 tools/cibadmin.c "help", no_argument, NULL, '?', NULL 45 tools/cibadmin.c "version", no_argument, NULL, '$', NULL 49 tools/cibadmin.c "verbose", no_argument, NULL, 'V', NULL 54 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 58 tools/cibadmin.c "upgrade", no_argument, NULL, 'u', NULL 62 tools/cibadmin.c "query", no_argument, NULL, 'Q', NULL 66 tools/cibadmin.c "erase", no_argument, NULL, 'E', NULL 70 tools/cibadmin.c "bump", no_argument, NULL, 'B', NULL 74 tools/cibadmin.c "create", no_argument, NULL, 'C', NULL 79 tools/cibadmin.c "modify", no_argument, NULL, 'M', NULL 85 tools/cibadmin.c "patch", no_argument, NULL, 'P', NULL 90 tools/cibadmin.c "replace", no_argument, NULL, 'R', NULL 94 tools/cibadmin.c "delete", no_argument, NULL, 'D', NULL 100 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 106 tools/cibadmin.c "delete-all", no_argument, NULL, 'd', NULL 112 tools/cibadmin.c "empty", no_argument, NULL, 'a', NULL 116 tools/cibadmin.c "md5-sum", no_argument, NULL, '5', NULL 120 tools/cibadmin.c "md5-sum-versioned", no_argument, NULL, '6', NULL 124 tools/cibadmin.c "blank", no_argument, NULL, '-', NULL 125 tools/cibadmin.c NULL, pcmk__option_hidden NULL 129 tools/cibadmin.c "-spacer-", required_argument, NULL, '-', NULL 133 tools/cibadmin.c "force", no_argument, NULL, 'f', NULL 134 tools/cibadmin.c NULL, pcmk__option_default NULL 137 tools/cibadmin.c "timeout", required_argument, NULL, 't', NULL 142 tools/cibadmin.c "user", required_argument, NULL, 'U', NULL 148 tools/cibadmin.c "sync-call", no_argument, NULL, 's', NULL 152 tools/cibadmin.c "local", no_argument, NULL, 'l', NULL 157 tools/cibadmin.c "allow-create", no_argument, NULL, 'c', NULL 163 tools/cibadmin.c "no-children", no_argument, NULL, 'n', NULL 169 tools/cibadmin.c "no-bcast", no_argument, NULL, 'b', NULL 170 tools/cibadmin.c NULL, pcmk__option_hidden NULL 174 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 178 tools/cibadmin.c "xml-text", required_argument, NULL, 'X', NULL 182 tools/cibadmin.c "xml-file", required_argument, NULL, 'x', NULL 186 tools/cibadmin.c "xml-pipe", no_argument, NULL, 'p', NULL 191 tools/cibadmin.c "scope", required_argument, NULL, 'o', NULL 196 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 204 tools/cibadmin.c "xpath", required_argument, NULL, 'A', NULL 208 tools/cibadmin.c "node-path", no_argument, NULL, 'e', NULL 213 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 219 tools/cibadmin.c "node", required_argument, NULL, 'N', NULL 223 tools/cibadmin.c "-spacer-", no_argument, NULL, '!', NULL 224 tools/cibadmin.c NULL, pcmk__option_hidden NULL 227 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 231 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 235 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 240 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 244 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 249 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 253 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 259 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 263 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 269 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 273 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 278 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 282 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 287 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 292 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 297 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 303 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 309 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 315 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 320 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 325 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 329 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 333 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 337 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 341 tools/cibadmin.c "-spacer-", no_argument, NULL, '-', NULL 345 tools/cibadmin.c "host", required_argument, NULL, 'h', NULL 366 tools/cibadmin.c xmlNode *child = NULL; NULL 400 tools/cibadmin.c const char *source = NULL; NULL 401 tools/cibadmin.c const char *admin_input_xml = NULL; NULL 402 tools/cibadmin.c const char *admin_input_file = NULL; NULL 405 tools/cibadmin.c xmlNode *output = NULL; NULL 406 tools/cibadmin.c xmlNode *input = NULL; NULL 412 tools/cibadmin.c pcmk__set_cli_options(NULL, "<command> [options]", long_options, NULL 420 tools/cibadmin.c flag = pcmk__next_cli_option(argc, argv, &option_index, NULL); NULL 573 tools/cibadmin.c if (optind > argc || cib_action == NULL) { NULL 589 tools/cibadmin.c if (admin_input_file != NULL) { NULL 593 tools/cibadmin.c } else if (admin_input_xml != NULL) { NULL 602 tools/cibadmin.c if (input != NULL) { NULL 611 tools/cibadmin.c char *digest = NULL; NULL 613 tools/cibadmin.c if (input == NULL) { NULL 626 tools/cibadmin.c char *digest = NULL; NULL 627 tools/cibadmin.c const char *version = NULL; NULL 629 tools/cibadmin.c if (input == NULL) { NULL 658 tools/cibadmin.c the_cib->cmds->register_callback(the_cib, request_id, message_timeout_ms, FALSE, NULL, NULL 661 tools/cibadmin.c mainloop = g_main_loop_new(NULL, FALSE); NULL 678 tools/cibadmin.c xmlNode *obj = NULL; NULL 681 tools/cibadmin.c rc = the_cib->cmds->query(the_cib, NULL, &obj, command_options); NULL 693 tools/cibadmin.c if (output != NULL) { NULL 719 tools/cibadmin.c if (status == NULL) { NULL 724 tools/cibadmin.c if (cib_action != NULL) { NULL 763 tools/cibadmin.c } else if (pcmk__str_eq(cib_action, CIB_OP_QUERY, pcmk__str_casei) && output == NULL) { NULL 767 tools/cibadmin.c } else if (output == NULL) { NULL 38 tools/crm_attribute.c const char *dest_uname = NULL; NULL 39 tools/crm_attribute.c char *dest_node = NULL; NULL 40 tools/crm_attribute.c char *set_name = NULL; NULL 41 tools/crm_attribute.c char *attr_id = NULL; NULL 42 tools/crm_attribute.c char *attr_name = NULL; NULL 43 tools/crm_attribute.c char *attr_pattern = NULL; NULL 44 tools/crm_attribute.c const char *type = NULL; NULL 45 tools/crm_attribute.c const char *rsc_id = NULL; NULL 46 tools/crm_attribute.c const char *attr_value = NULL; NULL 47 tools/crm_attribute.c const char *attr_default = NULL; NULL 48 tools/crm_attribute.c const char *set_type = NULL; NULL 53 tools/crm_attribute.c "help", no_argument, NULL, '?', NULL 57 tools/crm_attribute.c "version", no_argument, NULL, '$', NULL 61 tools/crm_attribute.c "verbose", no_argument, NULL, 'V', NULL 65 tools/crm_attribute.c "quiet", no_argument, NULL, 'q', NULL 69 tools/crm_attribute.c "name", required_argument, NULL, 'n', NULL 73 tools/crm_attribute.c "pattern", required_argument, NULL, 'P', NULL 78 tools/crm_attribute.c "-spacer-", no_argument, NULL, '-', NULL 82 tools/crm_attribute.c "query", no_argument, NULL, 'G', NULL 87 tools/crm_attribute.c "update", required_argument, NULL, 'v', NULL 91 tools/crm_attribute.c "delete", no_argument, NULL, 'D', NULL 95 tools/crm_attribute.c "-spacer-", no_argument, NULL, '-', NULL 99 tools/crm_attribute.c "node", required_argument, NULL, 'N', NULL 105 tools/crm_attribute.c "type", required_argument, NULL, 't', NULL 110 tools/crm_attribute.c "-spacer-", no_argument, NULL, '-', NULL 115 tools/crm_attribute.c "lifetime", required_argument, NULL, 'l', NULL 119 tools/crm_attribute.c "-spacer-", no_argument, NULL, '-', NULL 123 tools/crm_attribute.c "utilization", no_argument, NULL, 'z', NULL 127 tools/crm_attribute.c "set-name", required_argument, NULL, 's', NULL 132 tools/crm_attribute.c "id", required_argument, NULL, 'i', NULL 137 tools/crm_attribute.c "default", required_argument, NULL, 'd', NULL 142 tools/crm_attribute.c "inhibit-policy-engine", no_argument, NULL, '!', NULL 143 tools/crm_attribute.c NULL, pcmk__option_hidden NULL 148 tools/crm_attribute.c "quiet", no_argument, NULL, 'Q', NULL 149 tools/crm_attribute.c NULL, pcmk__option_hidden NULL 152 tools/crm_attribute.c "node-uname", required_argument, NULL, 'U', NULL 153 tools/crm_attribute.c NULL, pcmk__option_hidden NULL 156 tools/crm_attribute.c "get-value", no_argument, NULL, 'G', NULL 157 tools/crm_attribute.c NULL, pcmk__option_hidden NULL 160 tools/crm_attribute.c "delete-attr", no_argument, NULL, 'D', NULL 161 tools/crm_attribute.c NULL, pcmk__option_hidden NULL 164 tools/crm_attribute.c "attr-value", required_argument, NULL, 'v', NULL 165 tools/crm_attribute.c NULL, pcmk__option_hidden NULL 168 tools/crm_attribute.c "attr-name", required_argument, NULL, 'n', NULL 169 tools/crm_attribute.c NULL, pcmk__option_hidden NULL 172 tools/crm_attribute.c "attr-id", required_argument, NULL, 'i', NULL 173 tools/crm_attribute.c NULL, pcmk__option_hidden NULL 177 tools/crm_attribute.c "-spacer-", no_argument, NULL, '-', NULL 181 tools/crm_attribute.c "-spacer-", no_argument, NULL, '-', NULL 187 tools/crm_attribute.c "-spacer-", no_argument, NULL, '-', NULL 192 tools/crm_attribute.c "-spacer-", no_argument, NULL, '-', NULL 197 tools/crm_attribute.c "-spacer-", no_argument, NULL, '-', NULL 202 tools/crm_attribute.c "-spacer-", no_argument, NULL, '-', NULL 207 tools/crm_attribute.c "-spacer-", no_argument, NULL, '-', NULL 212 tools/crm_attribute.c "-spacer-", no_argument, NULL, '-', NULL 217 tools/crm_attribute.c "-spacer-", no_argument, NULL, '-', NULL 222 tools/crm_attribute.c "-spacer-", no_argument, NULL, '-', NULL 227 tools/crm_attribute.c "-spacer-", no_argument, NULL, '-', NULL 232 tools/crm_attribute.c "-spacer-", no_argument, NULL, '-', NULL 238 tools/crm_attribute.c "-spacer-", no_argument, NULL, '-', NULL 248 tools/crm_attribute.c cib_t *the_cib = NULL; NULL 262 tools/crm_attribute.c pcmk__set_cli_options(NULL, "-n <attribute> <command> [options]", NULL 272 tools/crm_attribute.c flag = pcmk__next_cli_option(argc, argv, &option_index, NULL); NULL 364 tools/crm_attribute.c if (type == NULL && dest_uname != NULL) { NULL 375 tools/crm_attribute.c if (type == NULL && dest_uname == NULL) { NULL 386 tools/crm_attribute.c if (dest_uname == NULL) { NULL 399 tools/crm_attribute.c if ((command == 'D') && (attr_name == NULL) && (attr_pattern == NULL)) { NULL 428 tools/crm_attribute.c && (pcmk__node_attr_request(NULL, command, dest_uname, attr_name, NULL 429 tools/crm_attribute.c attr_value, type, set_name, NULL, NULL, NULL 436 tools/crm_attribute.c attr_id, attr_name, attr_value, TRUE, NULL); NULL 447 tools/crm_attribute.c CRM_LOG_ASSERT(type != NULL); NULL 448 tools/crm_attribute.c CRM_LOG_ASSERT(attr_name != NULL); NULL 449 tools/crm_attribute.c CRM_LOG_ASSERT(attr_value != NULL); NULL 452 tools/crm_attribute.c attr_id, attr_name, attr_value, TRUE, NULL, is_remote_node ? "remote" : NULL); NULL 456 tools/crm_attribute.c char *read_value = NULL; NULL 459 tools/crm_attribute.c attr_id, attr_name, &read_value, TRUE, NULL); NULL 480 tools/crm_attribute.c } else if (read_value != NULL) { NULL 53 tools/crm_diff.c { NULL } NULL 67 tools/crm_diff.c { NULL } NULL 73 tools/crm_diff.c NULL }, NULL 76 tools/crm_diff.c NULL }, NULL 79 tools/crm_diff.c NULL }, NULL 81 tools/crm_diff.c { NULL } NULL 88 tools/crm_diff.c if (options.xml_file_2 != NULL) { NULL 100 tools/crm_diff.c if (options.xml_file_1 != NULL) { NULL 112 tools/crm_diff.c if (options.xml_file_2 != NULL) { NULL 143 tools/crm_diff.c if (output != NULL) { NULL 164 tools/crm_diff.c const char *fmt = NULL; NULL 165 tools/crm_diff.c const char *digest = NULL; NULL 199 tools/crm_diff.c xmlNode *tmp = NULL; NULL 223 tools/crm_diff.c xmlNode *output = NULL; NULL 241 tools/crm_diff.c xml_track_changes(object_2, NULL, object_2, FALSE); NULL 249 tools/crm_diff.c output = xml_create_patchset(0, object_1, object_2, NULL, FALSE); NULL 254 tools/crm_diff.c if (output == NULL) { NULL 275 tools/crm_diff.c GOptionContext *context = NULL; NULL 288 tools/crm_diff.c context = pcmk__build_arg_context(args, NULL, NULL, NULL); NULL 304 tools/crm_diff.c xmlNode *object_1 = NULL; NULL 305 tools/crm_diff.c xmlNode *object_2 = NULL; NULL 309 tools/crm_diff.c GError *error = NULL; NULL 310 tools/crm_diff.c GOptionContext *context = NULL; NULL 311 tools/crm_diff.c gchar **processed_args = NULL; NULL 335 tools/crm_diff.c char *help = g_option_context_get_help(context, TRUE, NULL); NULL 358 tools/crm_diff.c } else if (options.xml_file_1 != NULL) { NULL 369 tools/crm_diff.c } else if (options.xml_file_2 != NULL) { NULL 373 tools/crm_diff.c if (object_1 == NULL) { NULL 378 tools/crm_diff.c if (object_2 == NULL) { NULL 29 tools/crm_error.c NULL }, NULL 32 tools/crm_error.c NULL }, NULL 35 tools/crm_error.c NULL }, NULL 38 tools/crm_error.c NULL }, NULL 40 tools/crm_error.c { NULL } NULL 61 tools/crm_error.c GOptionContext *context = NULL; NULL 63 tools/crm_error.c context = pcmk__build_arg_context(args, NULL, group, "-- <rc> [...]"); NULL 71 tools/crm_error.c GError *error = NULL; NULL 72 tools/crm_error.c GOptionGroup *output_group = NULL; NULL 73 tools/crm_error.c gchar **processed_args = NULL; NULL 79 tools/crm_error.c const char *name = NULL; NULL 80 tools/crm_error.c const char *desc = NULL; NULL 131 tools/crm_error.c char *help = g_option_context_get_help(context, TRUE, NULL); NULL 138 tools/crm_error.c for (lpc = 1; processed_args[lpc] != NULL; lpc++) { NULL 139 tools/crm_error.c rc = crm_atoi(processed_args[lpc], NULL); NULL 67 tools/crm_mon.c static GIOChannel *io_channel = NULL; NULL 68 tools/crm_mon.c static GMainLoop *mainloop = NULL; NULL 70 tools/crm_mon.c static mainloop_timer_t *refresh_timer = NULL; NULL 71 tools/crm_mon.c static pe_working_set_t *mon_data_set = NULL; NULL 73 tools/crm_mon.c static cib_t *cib = NULL; NULL 74 tools/crm_mon.c static stonith_t *st = NULL; NULL 75 tools/crm_mon.c static xmlNode *current_cib = NULL; NULL 77 tools/crm_mon.c static GError *error = NULL; NULL 78 tools/crm_mon.c static pcmk__common_args_t *args = NULL; NULL 79 tools/crm_mon.c static pcmk__output_t *out = NULL; NULL 80 tools/crm_mon.c static GOptionContext *context = NULL; NULL 81 tools/crm_mon.c static gchar **processed_args = NULL; NULL 84 tools/crm_mon.c crm_trigger_t *refresh_trigger = NULL; NULL 94 tools/crm_mon.c { NULL, NULL, NULL } NULL 188 tools/crm_mon.c { NULL } NULL 193 tools/crm_mon.c for (int i = 0; sections[i].name != NULL; i++) { NULL 204 tools/crm_mon.c char **parts = NULL; NULL 208 tools/crm_mon.c for (char **s = parts; *s != NULL; s++) { NULL 234 tools/crm_mon.c char **parts = NULL; NULL 238 tools/crm_mon.c for (char **s = parts; *s != NULL; s++) { NULL 245 tools/crm_mon.c if (options.neg_location_prefix != NULL) { NULL 247 tools/crm_mon.c options.neg_location_prefix = NULL; NULL 253 tools/crm_mon.c } else if (pcmk__str_any_of(*s, "default", "defaults", NULL)) { NULL 284 tools/crm_mon.c while (node != NULL) { NULL 325 tools/crm_mon.c if (args->output_ty != NULL) { NULL 337 tools/crm_mon.c if (args->output_ty != NULL) { NULL 341 tools/crm_mon.c if (args->output_dest != NULL) { NULL 343 tools/crm_mon.c args->output_dest = NULL; NULL 346 tools/crm_mon.c if (optarg != NULL) { NULL 358 tools/crm_mon.c if (args->output_ty != NULL) { NULL 370 tools/crm_mon.c if (args->output_ty != NULL) { NULL 481 tools/crm_mon.c if (optarg != NULL) { NULL 529 tools/crm_mon.c NULL }, NULL 534 tools/crm_mon.c NULL }, NULL 550 tools/crm_mon.c NULL }, NULL 553 tools/crm_mon.c NULL, NULL 554 tools/crm_mon.c NULL }, NULL 556 tools/crm_mon.c { NULL } NULL 582 tools/crm_mon.c NULL }, NULL 586 tools/crm_mon.c NULL }, NULL 590 tools/crm_mon.c NULL }, NULL 594 tools/crm_mon.c NULL }, NULL 598 tools/crm_mon.c NULL }, NULL 602 tools/crm_mon.c NULL }, NULL 613 tools/crm_mon.c NULL }, NULL 617 tools/crm_mon.c NULL }, NULL 621 tools/crm_mon.c NULL }, NULL 625 tools/crm_mon.c NULL }, NULL 629 tools/crm_mon.c NULL }, NULL 633 tools/crm_mon.c NULL }, NULL 637 tools/crm_mon.c NULL }, NULL 639 tools/crm_mon.c { NULL } NULL 651 tools/crm_mon.c NULL }, NULL 656 tools/crm_mon.c NULL }, NULL 661 tools/crm_mon.c NULL }, NULL 663 tools/crm_mon.c { NULL } NULL 688 tools/crm_mon.c timer_id = g_timeout_add(options.reconnect_msec, mon_timer_popped, NULL); NULL 702 tools/crm_mon.c if (refresh_timer != NULL) { NULL 724 tools/crm_mon.c timer_id = g_timeout_add(options.reconnect_msec, mon_timer_popped, NULL); NULL 779 tools/crm_mon.c CRM_CHECK(cib != NULL, return -EINVAL); NULL 781 tools/crm_mon.c if (getenv("CIB_passwd") != NULL) { NULL 785 tools/crm_mon.c if (pcmk_is_set(options.mon_ops, mon_op_fence_connect) && (st == NULL)) { NULL 790 tools/crm_mon.c && (st != NULL) && (st->state == stonith_disconnected)) { NULL 792 tools/crm_mon.c rc = st->cmds->connect(st, crm_system_name, NULL); NULL 828 tools/crm_mon.c rc = cib->cmds->query(cib, NULL, ¤t_cib, cib_scope_local | cib_sync_call); NULL 867 tools/crm_mon.c for (GOptionEntry *entry = display_entries; entry != NULL; entry++) { NULL 895 tools/crm_mon.c if (st == NULL) { NULL 896 tools/crm_mon.c mon_cib_connection_destroy_regular(NULL); NULL 993 tools/crm_mon.c mon_refresh_display(NULL); NULL 1011 tools/crm_mon.c if (sigaction(SIGCHLD, &sa, NULL) < 0) { NULL 1018 tools/crm_mon.c GOptionContext *context = NULL; NULL 1023 tools/crm_mon.c NULL }, NULL 1025 tools/crm_mon.c { NULL } NULL 1055 tools/crm_mon.c context = pcmk__build_arg_context(args, "console (default), html, text, xml", group, NULL); NULL 1075 tools/crm_mon.c GError *err = NULL; NULL 1112 tools/crm_mon.c GError *err = NULL; NULL 1119 tools/crm_mon.c char *dest = NULL; NULL 1121 tools/crm_mon.c if (args->output_dest != NULL) { NULL 1125 tools/crm_mon.c retval = as_html_cb("h", dest, NULL, &err); NULL 1128 tools/crm_mon.c retval = no_curses_cb("N", NULL, NULL, &err); NULL 1130 tools/crm_mon.c if (args->output_ty != NULL) { NULL 1138 tools/crm_mon.c if (args->output_ty != NULL) { NULL 1146 tools/crm_mon.c if (args->output_ty != NULL) { NULL 1164 tools/crm_mon.c GOptionGroup *output_group = NULL; NULL 1183 tools/crm_mon.c fence_history_cb("--fence-history", "1", NULL, NULL); NULL 1206 tools/crm_mon.c include_exclude_cb("--exclude", "times", NULL, NULL); NULL 1210 tools/crm_mon.c fence_history_cb("--fence-history", "0", NULL, NULL); NULL 1219 tools/crm_mon.c if (cib == NULL) { NULL 1235 tools/crm_mon.c fence_history_cb("--fence-history", "0", NULL, NULL); NULL 1241 tools/crm_mon.c fence_history_cb("--fence-history", "0", NULL, NULL); NULL 1274 tools/crm_mon.c cib = NULL; NULL 1277 tools/crm_mon.c if (cib == NULL) { NULL 1352 tools/crm_mon.c } else if (options.external_agent != NULL) { NULL 1368 tools/crm_mon.c crm_itoa(options.reconnect_msec/1000), NULL); NULL 1420 tools/crm_mon.c mainloop = g_main_loop_new(NULL, FALSE); NULL 1429 tools/crm_mon.c ncurses_winch_handler = NULL; NULL 1432 tools/crm_mon.c g_io_add_watch(io_channel, G_IO_IN, detect_user_input, NULL); NULL 1435 tools/crm_mon.c refresh_trigger = mainloop_add_trigger(G_PRIORITY_LOW, mon_refresh_display, NULL); NULL 1440 tools/crm_mon.c if (io_channel != NULL) { NULL 1441 tools/crm_mon.c g_io_channel_shutdown(io_channel, TRUE, NULL); NULL 1463 tools/crm_mon.c GListPtr gIter = NULL; NULL 1467 tools/crm_mon.c char *offline_nodes = NULL; NULL 1472 tools/crm_mon.c if (data_set->dc_node == NULL) { NULL 1477 tools/crm_mon.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 1503 tools/crm_mon.c char *nodes_standby_s = NULL; NULL 1504 tools/crm_mon.c char *nodes_maint_s = NULL; NULL 1520 tools/crm_mon.c nodes_standby_s != NULL ? nodes_standby_s : "", NULL 1521 tools/crm_mon.c nodes_maint_s != NULL ? nodes_maint_s : "", NULL 1547 tools/crm_mon.c new->next = NULL; NULL 1552 tools/crm_mon.c hp->next = NULL; NULL 1612 tools/crm_mon.c execl(options.external_agent, options.external_agent, NULL); NULL 1631 tools/crm_mon.c char *rsc = NULL; NULL 1632 tools/crm_mon.c char *task = NULL; NULL 1633 tools/crm_mon.c const char *desc = NULL; NULL 1634 tools/crm_mon.c const char *magic = NULL; NULL 1635 tools/crm_mon.c const char *id = NULL; NULL 1636 tools/crm_mon.c const char *node = NULL; NULL 1652 tools/crm_mon.c if (id == NULL) { NULL 1658 tools/crm_mon.c if (magic == NULL) { NULL 1663 tools/crm_mon.c if (!decode_transition_magic(magic, NULL, NULL, NULL, &status, &rc, NULL 1669 tools/crm_mon.c if (parse_op_key(id, &rsc, &task, NULL) == FALSE) { NULL 1676 tools/crm_mon.c while (n != NULL && !pcmk__str_eq(XML_CIB_TAG_STATE, TYPE(n), pcmk__str_casei)) { NULL 1680 tools/crm_mon.c if(node == NULL && n) { NULL 1684 tools/crm_mon.c if (node == NULL && n) { NULL 1688 tools/crm_mon.c if (node == NULL) { NULL 1692 tools/crm_mon.c if (node == NULL) { NULL 1733 tools/crm_mon.c char *nodeid = NULL; NULL 1751 tools/crm_mon.c xmlNode *change = NULL; NULL 1754 tools/crm_mon.c for (change = pcmk__xml_first_child(diff); change != NULL; NULL 1756 tools/crm_mon.c const char *name = NULL; NULL 1759 tools/crm_mon.c xmlNode *match = NULL; NULL 1760 tools/crm_mon.c const char *node = NULL; NULL 1762 tools/crm_mon.c if(op == NULL) { NULL 1786 tools/crm_mon.c if(xpath == NULL) { NULL 1789 tools/crm_mon.c } else if(name == NULL) { NULL 1794 tools/crm_mon.c xmlNode *state = NULL; NULL 1797 tools/crm_mon.c for (state = pcmk__xe_first_child(status); state != NULL; NULL 1801 tools/crm_mon.c if (node == NULL) { NULL 1808 tools/crm_mon.c xmlNode *state = NULL; NULL 1810 tools/crm_mon.c for (state = pcmk__xe_first_child(match); state != NULL; NULL 1814 tools/crm_mon.c if (node == NULL) { NULL 1822 tools/crm_mon.c if (node == NULL) { NULL 1867 tools/crm_mon.c handle_rsc_op(rsc_op, NULL); NULL 1882 tools/crm_mon.c if (current_cib != NULL) { NULL 1889 tools/crm_mon.c free_xml(current_cib); current_cib = NULL; NULL 1896 tools/crm_mon.c free_xml(current_cib); current_cib = NULL; NULL 1900 tools/crm_mon.c if (current_cib == NULL) { NULL 1902 tools/crm_mon.c cib->cmds->query(cib, NULL, ¤t_cib, cib_scope_local | cib_sync_call); NULL 1920 tools/crm_mon.c if (current_cib == NULL) { NULL 1936 tools/crm_mon.c stonith_history_t *stonith_history = NULL; NULL 1939 tools/crm_mon.c last_refresh = time(NULL); NULL 1941 tools/crm_mon.c if (cli_config_update(&cib_copy, NULL, FALSE) == FALSE) { NULL 1953 tools/crm_mon.c if (st != NULL) { NULL 1954 tools/crm_mon.c history_rc = st->cmds->history(st, st_opt_sync_call, NULL, &stonith_history, 120); NULL 1958 tools/crm_mon.c mon_cib_connection_destroy_error(NULL); NULL 1976 tools/crm_mon.c if (mon_data_set == NULL) { NULL 1978 tools/crm_mon.c CRM_ASSERT(mon_data_set != NULL); NULL 2049 tools/crm_mon.c stonith_history = NULL; NULL 2059 tools/crm_mon.c mon_cib_connection_destroy_regular(NULL); NULL 2064 tools/crm_mon.c send_custom_trap(e->target, NULL, e->operation, pcmk_ok, e->result, 0, desc); NULL 2073 tools/crm_mon.c time_t now = time(NULL); NULL 2079 tools/crm_mon.c if(refresh_timer == NULL) { NULL 2080 tools/crm_mon.c refresh_timer = mainloop_timer_add("refresh", 2000, FALSE, mon_trigger_refresh, NULL); NULL 2108 tools/crm_mon.c mon_cib_connection_destroy_regular(NULL); NULL 2118 tools/crm_mon.c if (cib != NULL) { NULL 2121 tools/crm_mon.c cib = NULL; NULL 2124 tools/crm_mon.c if (st != NULL) { NULL 2132 tools/crm_mon.c st = NULL; NULL 2156 tools/crm_mon.c mon_data_set = NULL; NULL 2165 tools/crm_mon.c if ((error != NULL || exit_code == CRM_EX_USAGE) && output_format == mon_output_console) { NULL 2166 tools/crm_mon.c out->finish(out, exit_code, false, NULL); NULL 2168 tools/crm_mon.c out = NULL; NULL 2175 tools/crm_mon.c char *help = g_option_context_get_help(context, TRUE, NULL); NULL 2187 tools/crm_mon.c if (error != NULL) { NULL 2188 tools/crm_mon.c if (out != NULL) { NULL 2190 tools/crm_mon.c out->finish(out, exit_code, true, NULL); NULL 2203 tools/crm_mon.c if (out != NULL) { NULL 2205 tools/crm_mon.c out->dest = freopen(NULL, "w", out->dest); NULL 2206 tools/crm_mon.c CRM_ASSERT(out->dest != NULL); NULL 2209 tools/crm_mon.c out->finish(out, exit_code, true, NULL); NULL 20 tools/crm_mon.h "#", NULL } NULL 26 tools/crm_mon_curses.c { NULL } NULL 43 tools/crm_mon_curses.c if (priv == NULL) { NULL 49 tools/crm_mon_curses.c out->priv = NULL; NULL 54 tools/crm_mon_curses.c private_data_t *priv = NULL; NULL 57 tools/crm_mon_curses.c if (out->priv != NULL) { NULL 61 tools/crm_mon_curses.c if (out->priv == NULL) { NULL 86 tools/crm_mon_curses.c CRM_ASSERT(out != NULL); NULL 95 tools/crm_mon_curses.c if (proc_stdout != NULL) { NULL 99 tools/crm_mon_curses.c if (proc_stderr != NULL) { NULL 163 tools/crm_mon_curses.c CRM_ASSERT(priv != NULL); NULL 172 tools/crm_mon_curses.c curses_list_data_t *new_list = NULL; NULL 175 tools/crm_mon_curses.c CRM_ASSERT(priv != NULL); NULL 186 tools/crm_mon_curses.c new_list->singular_noun = singular_noun == NULL ? NULL : strdup(singular_noun); NULL 187 tools/crm_mon_curses.c new_list->plural_noun = plural_noun == NULL ? NULL : strdup(plural_noun); NULL 198 tools/crm_mon_curses.c CRM_ASSERT(priv != NULL); NULL 202 tools/crm_mon_curses.c if (id != NULL) { NULL 220 tools/crm_mon_curses.c CRM_ASSERT(priv != NULL); NULL 222 tools/crm_mon_curses.c CRM_ASSERT(tail != NULL); NULL 229 tools/crm_mon_curses.c curses_list_data_t *node = NULL; NULL 231 tools/crm_mon_curses.c CRM_ASSERT(priv != NULL); NULL 234 tools/crm_mon_curses.c if (node->singular_noun != NULL && node->plural_noun != NULL) { NULL 254 tools/crm_mon_curses.c if (retval == NULL) { NULL 255 tools/crm_mon_curses.c return NULL; NULL 259 tools/crm_mon_curses.c retval->request = argv == NULL ? NULL : g_strjoinv(" ", argv); NULL 291 tools/crm_mon_curses.c CRM_ASSERT(priv != NULL); NULL 326 tools/crm_mon_curses.c crm_time_t *crm_when = crm_time_new(NULL); NULL 327 tools/crm_mon_curses.c char *buf = NULL; NULL 413 tools/crm_mon_curses.c { NULL, NULL, NULL } NULL 60 tools/crm_mon_print.c GListPtr unames = NULL; NULL 92 tools/crm_mon_print.c GListPtr resources = NULL; NULL 106 tools/crm_mon_print.c if (strstr(s, ":") != NULL) { NULL 126 tools/crm_mon_print.c NULL, data_set) NULL 132 tools/crm_mon_print.c GListPtr op_list = NULL; NULL 133 tools/crm_mon_print.c xmlNode *rsc_op = NULL; NULL 135 tools/crm_mon_print.c for (rsc_op = pcmk__xe_first_child(rsc_entry); rsc_op != NULL; NULL 178 tools/crm_mon_print.c GListPtr gIter = NULL; NULL 184 tools/crm_mon_print.c for (gIter = op_list; gIter != NULL; gIter = gIter->next) { NULL 234 tools/crm_mon_print.c xmlNode *lrm_rsc = NULL; NULL 235 tools/crm_mon_print.c xmlNode *rsc_entry = NULL; NULL 242 tools/crm_mon_print.c for (rsc_entry = pcmk__xe_first_child(lrm_rsc); rsc_entry != NULL; NULL 282 tools/crm_mon_print.c FALSE, NULL, NULL 294 tools/crm_mon_print.c if (op_list == NULL) { NULL 301 tools/crm_mon_print.c FALSE, NULL, NULL 335 tools/crm_mon_print.c GListPtr gIter = NULL; NULL 337 tools/crm_mon_print.c for (gIter = rsc_list; gIter != NULL; gIter = gIter->next) { NULL 340 tools/crm_mon_print.c const char *name = NULL; NULL 342 tools/crm_mon_print.c if (rsc->children != NULL) { NULL 348 tools/crm_mon_print.c if (!pcmk__strcase_any_of(type, "ping", "pingd", NULL)) { NULL 354 tools/crm_mon_print.c if (name == NULL) { NULL 389 tools/crm_mon_print.c const char *value = NULL; NULL 418 tools/crm_mon_print.c xmlNode *node_state = NULL; NULL 427 tools/crm_mon_print.c for (node_state = pcmk__xe_first_child(cib_status); node_state != NULL; NULL 476 tools/crm_mon_print.c out->begin_list(out, NULL, NULL, "Tickets"); NULL 508 tools/crm_mon_print.c for (gIter = data_set->placement_constraints; gIter != NULL; gIter = gIter->next) { NULL 511 tools/crm_mon_print.c if (prefix != NULL && !g_str_has_prefix(location->id, prefix)) NULL 519 tools/crm_mon_print.c for (gIter2 = location->node_list_rh; gIter2 != NULL; gIter2 = gIter2->next) { NULL 547 tools/crm_mon_print.c GListPtr gIter = NULL; NULL 553 tools/crm_mon_print.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 558 tools/crm_mon_print.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 565 tools/crm_mon_print.c GList *attr_list = NULL; NULL 574 tools/crm_mon_print.c if (attr_list == NULL) { NULL 585 tools/crm_mon_print.c FALSE, NULL, NULL 611 tools/crm_mon_print.c xmlNode *xml_op = NULL; NULL 614 tools/crm_mon_print.c const char *id = NULL; NULL 620 tools/crm_mon_print.c for (xml_op = pcmk__xml_first_child(data_set->failed); xml_op != NULL; NULL 622 tools/crm_mon_print.c char *rsc = NULL; NULL 629 tools/crm_mon_print.c if (parse_op_key(id ? id : ID(xml_op), &rsc, NULL, NULL) == FALSE) { NULL 669 tools/crm_mon_print.c GListPtr unames = NULL; NULL 670 tools/crm_mon_print.c GListPtr resources = NULL; NULL 767 tools/crm_mon_print.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_pending, NULL); NULL 797 tools/crm_mon_print.c GListPtr unames = NULL; NULL 798 tools/crm_mon_print.c GListPtr resources = NULL; NULL 892 tools/crm_mon_print.c GListPtr unames = NULL; NULL 893 tools/crm_mon_print.c GListPtr resources = NULL; NULL 974 tools/crm_mon_print.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_pending, NULL); NULL 57 tools/crm_mon_runtime.c CRM_CHECK(name != NULL, return attr_list); NULL 60 tools/crm_mon_runtime.c for (i = 0; filt_str[i] != NULL; i++) { NULL 72 tools/crm_mon_runtime.c get_rsc_attributes(rsc->parameters, rsc, NULL, data_set); NULL 74 tools/crm_mon_runtime.c GListPtr gIter = NULL; NULL 76 tools/crm_mon_runtime.c for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { NULL 43 tools/crm_node.c static GMainLoop *mainloop = NULL; NULL 51 tools/crm_node.c NULL }, NULL 54 tools/crm_node.c NULL }, NULL 57 tools/crm_node.c NULL }, NULL 60 tools/crm_node.c NULL }, NULL 63 tools/crm_node.c NULL }, NULL 73 tools/crm_node.c { NULL } NULL 78 tools/crm_node.c NULL, NULL 79 tools/crm_node.c NULL }, NULL 83 tools/crm_node.c NULL, NULL 84 tools/crm_node.c NULL }, NULL 89 tools/crm_node.c { NULL } NULL 115 tools/crm_node.c options.nodeid = crm_parse_int(optarg, NULL); NULL 121 tools/crm_node.c if (optarg == NULL) { NULL 197 tools/crm_node.c if (reply->data.node_info.uname == NULL) { NULL 229 tools/crm_node.c node_iter != NULL; node_iter = node_iter->next) { NULL 265 tools/crm_node.c pcmk_ipc_api_t *controld_api = NULL; NULL 278 tools/crm_node.c pcmk_register_ipc_callback(controld_api, controller_event_cb, NULL); NULL 303 tools/crm_node.c mainloop = g_main_loop_new(NULL, FALSE); NULL 306 tools/crm_node.c mainloop = NULL; NULL 316 tools/crm_node.c if (name != NULL) { NULL 331 tools/crm_node.c cib_t *cib = NULL; NULL 332 tools/crm_node.c xmlNode *node = NULL; NULL 333 tools/crm_node.c xmlNode *node_state = NULL; NULL 337 tools/crm_node.c if(name == NULL && id == 0) { NULL 341 tools/crm_node.c node = create_xml_node(NULL, XML_CIB_TAG_NODE); NULL 342 tools/crm_node.c node_state = create_xml_node(NULL, XML_CIB_TAG_STATE); NULL 373 tools/crm_node.c pcmk_ipc_api_t *controld_api = NULL; NULL 408 tools/crm_node.c crm_ipc_t *conn = NULL; NULL 409 tools/crm_node.c xmlNode *cmd = NULL; NULL 425 tools/crm_node.c cmd = create_xml_node(NULL, __func__); NULL 438 tools/crm_node.c cmd = create_request(CRM_OP_RM_NODE_CACHE, NULL, NULL, target, NULL 439 tools/crm_node.c crm_system_name, NULL); NULL 446 tools/crm_node.c rc = crm_ipc_send(conn, cmd, 0, 0, NULL); NULL 469 tools/crm_node.c const char *node_name = NULL; NULL 470 tools/crm_node.c char *endptr = NULL; NULL 506 tools/crm_node.c GOptionContext *context = NULL; NULL 511 tools/crm_node.c NULL }, NULL 513 tools/crm_node.c { NULL } NULL 516 tools/crm_node.c context = pcmk__build_arg_context(args, NULL, &group, NULL); NULL 535 tools/crm_node.c GError *error = NULL; NULL 536 tools/crm_node.c GOptionContext *context = NULL; NULL 537 tools/crm_node.c GOptionGroup *output_group = NULL; NULL 538 tools/crm_node.c gchar **processed_args = NULL; NULL 562 tools/crm_node.c char *help = g_option_context_get_help(context, TRUE, NULL); NULL 159 tools/crm_resource.c static GError *error = NULL; NULL 160 tools/crm_resource.c static GMainLoop *mainloop = NULL; NULL 161 tools/crm_resource.c static cib_t *cib_conn = NULL; NULL 162 tools/crm_resource.c static pcmk_ipc_api_t *controld_api = NULL; NULL 163 tools/crm_resource.c static pe_working_set_t *data_set = NULL; NULL 173 tools/crm_resource.c if (error != NULL) { NULL 178 tools/crm_resource.c if (cib_conn != NULL) { NULL 181 tools/crm_resource.c cib_conn = NULL; // Ensure we can't free this twice NULL 185 tools/crm_resource.c if (controld_api != NULL) { NULL 188 tools/crm_resource.c controld_api = NULL; // Ensure we can't free this twice NULL 191 tools/crm_resource.c if (mainloop != NULL) { NULL 193 tools/crm_resource.c mainloop = NULL; NULL 196 tools/crm_resource.c data_set = NULL; NULL 205 tools/crm_resource.c if (mainloop != NULL) { NULL 208 tools/crm_resource.c mainloop = NULL; // Don't re-enter this block NULL 218 tools/crm_resource.c if (error != NULL) { NULL 273 tools/crm_resource.c mainloop = g_main_loop_new(NULL, FALSE); NULL 274 tools/crm_resource.c g_timeout_add(MESSAGE_TIMEOUT_S * 1000, resource_ipc_timeout, NULL); NULL 288 tools/crm_resource.c GListPtr retval = NULL; NULL 289 tools/crm_resource.c xmlNode *cib_constraints = NULL; NULL 290 tools/crm_resource.c xmlXPathObjectPtr xpathObj = NULL; NULL 310 tools/crm_resource.c NULL }, NULL 314 tools/crm_resource.c NULL }, NULL 316 tools/crm_resource.c NULL, NULL 317 tools/crm_resource.c NULL }, NULL 321 tools/crm_resource.c NULL }, NULL 325 tools/crm_resource.c NULL }, NULL 329 tools/crm_resource.c NULL }, NULL 333 tools/crm_resource.c NULL }, NULL 348 tools/crm_resource.c NULL }, NULL 351 tools/crm_resource.c NULL }, NULL 362 tools/crm_resource.c NULL }, NULL 366 tools/crm_resource.c NULL }, NULL 369 tools/crm_resource.c NULL }, NULL 373 tools/crm_resource.c NULL }, NULL 375 tools/crm_resource.c { NULL } NULL 386 tools/crm_resource.c NULL }, NULL 396 tools/crm_resource.c NULL }, NULL 403 tools/crm_resource.c NULL }, NULL 417 tools/crm_resource.c { NULL } NULL 431 tools/crm_resource.c NULL }, NULL 442 tools/crm_resource.c NULL }, NULL 452 tools/crm_resource.c NULL }, NULL 456 tools/crm_resource.c NULL }, NULL 464 tools/crm_resource.c NULL }, NULL 466 tools/crm_resource.c { NULL } NULL 472 tools/crm_resource.c NULL }, NULL 475 tools/crm_resource.c NULL }, NULL 479 tools/crm_resource.c NULL }, NULL 482 tools/crm_resource.c NULL }, NULL 489 tools/crm_resource.c NULL }, NULL 493 tools/crm_resource.c NULL }, NULL 500 tools/crm_resource.c NULL }, NULL 507 tools/crm_resource.c NULL }, NULL 512 tools/crm_resource.c NULL }, NULL 514 tools/crm_resource.c { NULL } NULL 536 tools/crm_resource.c { NULL } NULL 545 tools/crm_resource.c NULL }, NULL 555 tools/crm_resource.c NULL }, NULL 559 tools/crm_resource.c NULL }, NULL 579 tools/crm_resource.c NULL }, NULL 581 tools/crm_resource.c NULL, NULL 584 tools/crm_resource.c NULL, NULL 587 tools/crm_resource.c { NULL } NULL 612 tools/crm_resource.c if (pcmk__str_any_of(option_name, "-m", "--meta", NULL)) { NULL 614 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-z", "--utilization", NULL)) { NULL 631 tools/crm_resource.c if (options.v_class != NULL) { NULL 645 tools/crm_resource.c if (pcmk__str_any_of(option_name, "-C", "--cleanup", NULL)) { NULL 652 tools/crm_resource.c if (getenv("CIB_file") == NULL) { NULL 680 tools/crm_resource.c if (options.agent_spec != NULL) { NULL 682 tools/crm_resource.c options.agent_spec = NULL; NULL 684 tools/crm_resource.c if (optarg != NULL) { NULL 742 tools/crm_resource.c char *name = NULL; NULL 743 tools/crm_resource.c char *value = NULL; NULL 748 tools/crm_resource.c if (options.validate_options == NULL) { NULL 764 tools/crm_resource.c if (pcmk__str_any_of(option_name, "-U", "--clear", NULL)) { NULL 767 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-B", "--ban", NULL)) { NULL 770 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-M", "--move", NULL)) { NULL 773 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-q", "--query-xml", NULL)) { NULL 776 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-w", "--query-xml-raw", NULL)) { NULL 779 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-W", "--locate", NULL)) { NULL 782 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-A", "--stack", NULL)) { NULL 795 tools/crm_resource.c if (pcmk__str_any_of(option_name, "-g", "--get-parameter", NULL)) { NULL 812 tools/crm_resource.c if (pcmk__str_any_of(option_name, "-c", "--list-cts", NULL)) { NULL 814 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-L", "--list", NULL)) { NULL 816 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-l", "--list-raw", NULL)) { NULL 818 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-O", "--list-operations", NULL)) { NULL 830 tools/crm_resource.c if (pcmk__str_any_of(option_name, "-p", "--set-parameter", NULL)) { NULL 908 tools/crm_resource.c pe_node_t *current = NULL; NULL 911 tools/crm_resource.c CRM_CHECK(rsc != NULL, return EINVAL); NULL 916 tools/crm_resource.c rc = cli_resource_ban(options.rsc_id, current->details->uname, move_lifetime, NULL, NULL 921 tools/crm_resource.c GListPtr iter = NULL; NULL 923 tools/crm_resource.c current = NULL; NULL 935 tools/crm_resource.c rc = cli_resource_ban(options.rsc_id, current->details->uname, move_lifetime, NULL, NULL 990 tools/crm_resource.c GListPtr before = NULL; NULL 991 tools/crm_resource.c GListPtr after = NULL; NULL 992 tools/crm_resource.c GListPtr remaining = NULL; NULL 993 tools/crm_resource.c GListPtr ele = NULL; NULL 994 tools/crm_resource.c pe_node_t *dest = NULL; NULL 1008 tools/crm_resource.c if (dest == NULL) { NULL 1015 tools/crm_resource.c rc = cli_resource_clear(options.rsc_id, dest->details->uname, NULL, NULL 1019 tools/crm_resource.c rc = cli_resource_clear(options.rsc_id, NULL, data_set->nodes, NULL 1024 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); NULL 1040 tools/crm_resource.c for (ele = remaining; ele != NULL; ele = ele->next) { NULL 1056 tools/crm_resource.c xmlNode *msg_data = NULL; NULL 1058 tools/crm_resource.c if (options.rsc_type == NULL) { NULL 1065 tools/crm_resource.c msg_data = create_xml_node(NULL, options.rsc_type); NULL 1079 tools/crm_resource.c lrmd_list_t *list = NULL; NULL 1080 tools/crm_resource.c lrmd_list_t *iter = NULL; NULL 1090 tools/crm_resource.c for (iter = list; iter != NULL; iter = iter->next) { NULL 1098 tools/crm_resource.c if (provider == NULL) { NULL 1116 tools/crm_resource.c const char *text = NULL; NULL 1117 tools/crm_resource.c lrmd_list_t *list = NULL; NULL 1118 tools/crm_resource.c lrmd_list_t *iter = NULL; NULL 1140 tools/crm_resource.c for (iter = list; iter != NULL; iter = iter->next) { NULL 1146 tools/crm_resource.c } else if (agent_spec != NULL) { NULL 1168 tools/crm_resource.c GListPtr lpc = NULL; NULL 1170 tools/crm_resource.c for (lpc = data_set->resources; lpc != NULL; lpc = lpc->next) { NULL 1188 tools/crm_resource.c GListPtr lpc = NULL; NULL 1197 tools/crm_resource.c for (lpc = data_set->resources; lpc != NULL; lpc = lpc->next) { NULL 1206 tools/crm_resource.c cli_resource_print_location(rsc, NULL); NULL 1208 tools/crm_resource.c for (lpc = data_set->resources; lpc != NULL; lpc = lpc->next) { NULL 1222 tools/crm_resource.c if (options.xml_file != NULL) { NULL 1225 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); NULL 1235 tools/crm_resource.c if (data_set == NULL) { NULL 1260 tools/crm_resource.c if (node == NULL) { NULL 1272 tools/crm_resource.c if (controld_api == NULL) { NULL 1281 tools/crm_resource.c rc = pcmk__node_attr_request_clear(NULL, options.host_uname, NULL 1282 tools/crm_resource.c NULL, NULL, NULL, NULL 1283 tools/crm_resource.c NULL, attr_options); NULL 1304 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, NULL, 0, FALSE, NULL 1321 tools/crm_resource.c xmlNode *msg_data = NULL; NULL 1336 tools/crm_resource.c CRM_LOG_ASSERT(options.prop_name != NULL); NULL 1338 tools/crm_resource.c msg_data = create_xml_node(NULL, options.rsc_type); NULL 1354 tools/crm_resource.c char *standard = NULL; NULL 1355 tools/crm_resource.c char *provider = NULL; NULL 1356 tools/crm_resource.c char *type = NULL; NULL 1357 tools/crm_resource.c char *metadata = NULL; NULL 1391 tools/crm_resource.c if (options.rsc_id != NULL) { NULL 1404 tools/crm_resource.c if (options.v_provider != NULL) { NULL 1421 tools/crm_resource.c if (error == NULL) { NULL 1422 tools/crm_resource.c if (options.validate_options == NULL) { NULL 1434 tools/crm_resource.c GOptionContext *context = NULL; NULL 1439 tools/crm_resource.c NULL }, NULL 1444 tools/crm_resource.c NULL, NULL 1445 tools/crm_resource.c NULL }, NULL 1447 tools/crm_resource.c { NULL } NULL 1476 tools/crm_resource.c context = pcmk__build_arg_context(args, NULL, NULL, NULL); NULL 1502 tools/crm_resource.c xmlNode *cib_xml_copy = NULL; NULL 1503 tools/crm_resource.c pe_resource_t *rsc = NULL; NULL 1508 tools/crm_resource.c GOptionContext *context = NULL; NULL 1509 tools/crm_resource.c gchar **processed_args = NULL; NULL 1546 tools/crm_resource.c if ((options.remainder != NULL) && (options.override_params != NULL)) { NULL 1566 tools/crm_resource.c } else if (options.remainder != NULL) { NULL 1567 tools/crm_resource.c gchar **strv = NULL; NULL 1568 tools/crm_resource.c gchar *msg = NULL; NULL 1615 tools/crm_resource.c } else if (options.validate_options != NULL) { NULL 1618 tools/crm_resource.c options.validate_options = NULL; NULL 1621 tools/crm_resource.c if (error != NULL) { NULL 1646 tools/crm_resource.c if ((cib_conn == NULL) || (cib_conn->cmds == NULL)) { NULL 1673 tools/crm_resource.c if (rsc == NULL) { NULL 1689 tools/crm_resource.c NULL); NULL 1758 tools/crm_resource.c for (GList *lpc = data_set->resources; lpc != NULL; NULL 1802 tools/crm_resource.c pe_node_t *dest = NULL; NULL 1806 tools/crm_resource.c if (dest == NULL) { NULL 1821 tools/crm_resource.c if (options.host_uname == NULL) { NULL 1833 tools/crm_resource.c if (options.host_uname == NULL) { NULL 1839 tools/crm_resource.c if (dest == NULL) { NULL 1844 tools/crm_resource.c options.move_lifetime, NULL, cib_conn, NULL 1895 tools/crm_resource.c if (rsc == NULL) { NULL 1908 tools/crm_resource.c if (rsc == NULL) { NULL 1931 tools/crm_resource.c if (error != NULL) { NULL 1964 tools/crm_resource.c if (options.override_params != NULL) { NULL 17 tools/crm_resource_ban.c char *later_s = NULL; NULL 18 tools/crm_resource_ban.c crm_time_t *now = NULL; NULL 19 tools/crm_resource_ban.c crm_time_t *later = NULL; NULL 20 tools/crm_resource_ban.c crm_time_t *duration = NULL; NULL 22 tools/crm_resource_ban.c if (move_lifetime == NULL) { NULL 23 tools/crm_resource_ban.c return NULL; NULL 27 tools/crm_resource_ban.c if (duration == NULL) { NULL 32 tools/crm_resource_ban.c return NULL; NULL 35 tools/crm_resource_ban.c now = crm_time_new(NULL); NULL 37 tools/crm_resource_ban.c if (later == NULL) { NULL 42 tools/crm_resource_ban.c return NULL; NULL 65 tools/crm_resource_ban.c char *later_s = NULL; NULL 67 tools/crm_resource_ban.c xmlNode *fragment = NULL; NULL 68 tools/crm_resource_ban.c xmlNode *location = NULL; NULL 70 tools/crm_resource_ban.c if(host == NULL) { NULL 76 tools/crm_resource_ban.c NULL, cib_conn, cib_options, promoted_role_only); NULL 82 tools/crm_resource_ban.c if(move_lifetime && later_s == NULL) { NULL 86 tools/crm_resource_ban.c fragment = create_xml_node(NULL, XML_CIB_TAG_CONSTRAINTS); NULL 110 tools/crm_resource_ban.c if (later_s == NULL) { NULL 151 tools/crm_resource_ban.c xmlNode *location = NULL; NULL 152 tools/crm_resource_ban.c xmlNode *fragment = NULL; NULL 154 tools/crm_resource_ban.c if(move_lifetime && later_s == NULL) { NULL 158 tools/crm_resource_ban.c if(cib_conn == NULL) { NULL 163 tools/crm_resource_ban.c fragment = create_xml_node(NULL, XML_CIB_TAG_CONSTRAINTS); NULL 175 tools/crm_resource_ban.c if (later_s == NULL) { NULL 234 tools/crm_resource_ban.c char *xpath_string = NULL; NULL 239 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, xpath_string, NULL, cib_xpath | cib_options); NULL 256 tools/crm_resource_ban.c xmlNode *fragment = NULL; NULL 257 tools/crm_resource_ban.c xmlNode *location = NULL; NULL 259 tools/crm_resource_ban.c fragment = create_xml_node(NULL, XML_CIB_TAG_CONSTRAINTS); NULL 291 tools/crm_resource_ban.c if(cib_conn == NULL) { NULL 317 tools/crm_resource_ban.c rc = cli_resource_clear(rsc_id, target->details->uname, NULL, NULL 333 tools/crm_resource_ban.c char *xpath_string = NULL; NULL 334 tools/crm_resource_ban.c char *first_half = NULL; NULL 335 tools/crm_resource_ban.c char *rsc_role_substr = NULL; NULL 336 tools/crm_resource_ban.c char *date_substr = NULL; NULL 346 tools/crm_resource_ban.c return NULL; NULL 352 tools/crm_resource_ban.c if (node != NULL || rsc != NULL || promoted_role_only == TRUE) { NULL 355 tools/crm_resource_ban.c if (node != NULL) { NULL 356 tools/crm_resource_ban.c if (rsc != NULL || promoted_role_only == TRUE) { NULL 363 tools/crm_resource_ban.c if (rsc != NULL && promoted_role_only == TRUE) { NULL 366 tools/crm_resource_ban.c } else if (rsc != NULL) { NULL 377 tools/crm_resource_ban.c if (node != NULL) { NULL 378 tools/crm_resource_ban.c if (rsc_role_substr != NULL) { NULL 401 tools/crm_resource_ban.c xmlXPathObject *xpathObj = NULL; NULL 402 tools/crm_resource_ban.c xmlNode *cib_constraints = NULL; NULL 403 tools/crm_resource_ban.c crm_time_t *now = crm_time_new(NULL); NULL 412 tools/crm_resource_ban.c xmlNode *date_expr_node = NULL; NULL 413 tools/crm_resource_ban.c crm_time_t *end = NULL; NULL 414 tools/crm_resource_ban.c char *xpath_string = NULL; NULL 417 tools/crm_resource_ban.c if (xpath_string == NULL) { NULL 422 tools/crm_resource_ban.c if (date_expr_node == NULL) { NULL 433 tools/crm_resource_ban.c xmlNode *fragment = NULL; NULL 434 tools/crm_resource_ban.c xmlNode *location = NULL; NULL 436 tools/crm_resource_ban.c fragment = create_xml_node(NULL, XML_CIB_TAG_CONSTRAINTS); NULL 17 tools/crm_resource_print.c xmlNode *xml_obj = NULL; NULL 18 tools/crm_resource_print.c xmlNode *lifetime = NULL; NULL 21 tools/crm_resource_print.c for (xml_obj = pcmk__xe_first_child(cib_constraints); xml_obj != NULL; NULL 25 tools/crm_resource_print.c if (id == NULL) { NULL 31 tools/crm_resource_print.c if (pe_evaluate_rules(lifetime, NULL, data_set->now, NULL) == FALSE) { NULL 54 tools/crm_resource_print.c GListPtr lpc = NULL; NULL 55 tools/crm_resource_print.c const char *host = NULL; NULL 68 tools/crm_resource_print.c if (node != NULL) { NULL 78 tools/crm_resource_print.c for (lpc = rsc->children; lpc != NULL; lpc = lpc->next) { NULL 89 tools/crm_resource_print.c GListPtr lpc = NULL; NULL 92 tools/crm_resource_print.c if (children == NULL) { NULL 96 tools/crm_resource_print.c for (lpc = children; lpc != NULL; lpc = lpc->next) { NULL 109 tools/crm_resource_print.c GListPtr lpc = NULL; NULL 112 tools/crm_resource_print.c for (lpc = data_set->resources; lpc != NULL; lpc = lpc->next) { NULL 119 tools/crm_resource_print.c rsc->fns->print(rsc, NULL, opts, stdout); NULL 136 tools/crm_resource_print.c pe_resource_t *rsc = NULL; NULL 139 tools/crm_resource_print.c GListPtr lpc = NULL; NULL 141 tools/crm_resource_print.c for (lpc = ops; lpc != NULL; lpc = lpc->next) { NULL 177 tools/crm_resource_print.c GListPtr lpc = NULL; NULL 185 tools/crm_resource_print.c for (lpc = list; lpc != NULL; lpc = lpc->next) { NULL 188 tools/crm_resource_print.c GListPtr lpc2 = NULL; NULL 190 tools/crm_resource_print.c for (lpc2 = cons->node_list_rh; lpc2 != NULL; lpc2 = lpc2->next) { NULL 204 tools/crm_resource_print.c char *prefix = NULL; NULL 205 tools/crm_resource_print.c GListPtr lpc = NULL; NULL 223 tools/crm_resource_print.c for (lpc = list; lpc != NULL; lpc = lpc->next) { NULL 226 tools/crm_resource_print.c char *score = NULL; NULL 268 tools/crm_resource_print.c char *rsc_xml = NULL; NULL 271 tools/crm_resource_print.c rsc->fns->print(rsc, NULL, opts, stdout); NULL 287 tools/crm_resource_print.c GHashTable *params = NULL; NULL 288 tools/crm_resource_print.c const char *value = NULL; NULL 289 tools/crm_resource_print.c pe_node_t *current = pe__find_active_on(rsc, &count, NULL); NULL 294 tools/crm_resource_print.c current = NULL; NULL 307 tools/crm_resource_print.c pe__unpack_dataset_nvpairs(rsc->xml, XML_TAG_UTILIZATION, NULL, params, NULL 308 tools/crm_resource_print.c NULL, FALSE, data_set); NULL 313 tools/crm_resource_print.c if (value != NULL) { NULL 331 tools/crm_resource_print.c if (value != NULL) { NULL 19 tools/crm_resource_runtime.c GListPtr lpc = NULL; NULL 21 tools/crm_resource_runtime.c for (lpc = the_rsc->running_on; lpc != NULL; lpc = lpc->next) { NULL 53 tools/crm_resource_runtime.c for (GListPtr iter = rsc->children; iter != NULL; iter = iter->next) { NULL 84 tools/crm_resource_runtime.c xmlNode *xml_search = NULL; NULL 85 tools/crm_resource_runtime.c char *xpath_string = NULL; NULL 88 tools/crm_resource_runtime.c *value = NULL; NULL 91 tools/crm_resource_runtime.c if(the_cib == NULL) { NULL 132 tools/crm_resource_runtime.c xmlNode *child = NULL; NULL 137 tools/crm_resource_runtime.c for (child = pcmk__xml_first_child(xml_search); child != NULL; NULL 165 tools/crm_resource_runtime.c char *local_attr_id = NULL; NULL 198 tools/crm_resource_runtime.c char *lookup_id = NULL; NULL 199 tools/crm_resource_runtime.c char *local_attr_id = NULL; NULL 200 tools/crm_resource_runtime.c GList * result = NULL; NULL 209 tools/crm_resource_runtime.c char *local_attr_id = NULL; NULL 220 tools/crm_resource_runtime.c } else if(rsc->parent == NULL && rsc->children && pe_clone == rsc->variant) { NULL 257 tools/crm_resource_runtime.c char *local_attr_id = NULL; NULL 258 tools/crm_resource_runtime.c char *local_attr_set = NULL; NULL 260 tools/crm_resource_runtime.c GList/*<pe_resource_t*>*/ *resources = NULL; NULL 263 tools/crm_resource_runtime.c if(attr_id == NULL NULL 266 tools/crm_resource_runtime.c cib, XML_ATTR_ID, uber_parent(rsc)->id, NULL, NULL, NULL, attr_name, NULL) == EINVAL) { NULL 298 tools/crm_resource_runtime.c char *lookup_id = NULL; NULL 300 tools/crm_resource_runtime.c xmlNode *xml_top = NULL; NULL 301 tools/crm_resource_runtime.c xmlNode *xml_obj = NULL; NULL 302 tools/crm_resource_runtime.c local_attr_id = NULL; NULL 303 tools/crm_resource_runtime.c local_attr_set = NULL; NULL 325 tools/crm_resource_runtime.c if (attr_set == NULL) { NULL 330 tools/crm_resource_runtime.c if (attr_id == NULL) { NULL 335 tools/crm_resource_runtime.c xml_top = create_xml_node(NULL, tag); NULL 343 tools/crm_resource_runtime.c if (xml_top == NULL) { NULL 365 tools/crm_resource_runtime.c GListPtr lpc = NULL; NULL 373 tools/crm_resource_runtime.c for (lpc = data_set->resources; lpc != NULL; lpc = lpc->next) { NULL 382 tools/crm_resource_runtime.c for (lpc = rsc->rsc_cons_lhs; lpc != NULL; lpc = lpc->next) { NULL 390 tools/crm_resource_runtime.c cli_resource_update_attribute(peer, peer->id, NULL, attr_set_type, NULL 391 tools/crm_resource_runtime.c NULL, attr_name, attr_value, recursive, NULL 409 tools/crm_resource_runtime.c GList/*<pe_resource_t*>*/ *resources = NULL; NULL 411 tools/crm_resource_runtime.c if(attr_id == NULL NULL 414 tools/crm_resource_runtime.c cib, XML_ATTR_ID, uber_parent(rsc)->id, NULL, NULL, NULL, attr_name, NULL) == EINVAL) { NULL 426 tools/crm_resource_runtime.c char *lookup_id = NULL; NULL 427 tools/crm_resource_runtime.c xmlNode *xml_obj = NULL; NULL 428 tools/crm_resource_runtime.c char *local_attr_id = NULL; NULL 447 tools/crm_resource_runtime.c if (attr_id == NULL) { NULL 451 tools/crm_resource_runtime.c xml_obj = crm_create_nvpair_xml(NULL, attr_id, attr_name, NULL); NULL 479 tools/crm_resource_runtime.c const char *rsc_api_id = NULL; NULL 480 tools/crm_resource_runtime.c const char *rsc_long_id = NULL; NULL 481 tools/crm_resource_runtime.c const char *rsc_class = NULL; NULL 482 tools/crm_resource_runtime.c const char *rsc_provider = NULL; NULL 483 tools/crm_resource_runtime.c const char *rsc_type = NULL; NULL 487 tools/crm_resource_runtime.c if (rsc == NULL) { NULL 499 tools/crm_resource_runtime.c if ((rsc_class == NULL) || (rsc_type == NULL)) { NULL 504 tools/crm_resource_runtime.c if (host_uname == NULL) { NULL 511 tools/crm_resource_runtime.c if (node == NULL) { NULL 526 tools/crm_resource_runtime.c if (node == NULL) { NULL 588 tools/crm_resource_runtime.c while (g_main_context_iteration(NULL, FALSE)) { NULL 602 tools/crm_resource_runtime.c const char *failed_value = NULL; NULL 603 tools/crm_resource_runtime.c const char *failed_id = NULL; NULL 604 tools/crm_resource_runtime.c const char *interval_ms_s = NULL; NULL 605 tools/crm_resource_runtime.c GHashTable *rscs = NULL; NULL 612 tools/crm_resource_runtime.c rscs = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, NULL); NULL 621 tools/crm_resource_runtime.c xml_op != NULL; NULL 625 tools/crm_resource_runtime.c if (failed_id == NULL) { NULL 668 tools/crm_resource_runtime.c while (g_hash_table_iter_next(&iter, (gpointer *) &failed_id, NULL)) { NULL 691 tools/crm_resource_runtime.c rc = pcmk__node_attr_request_clear(NULL, node->details->uname, rsc_name, NULL 692 tools/crm_resource_runtime.c operation, interval_spec, NULL, NULL 706 tools/crm_resource_runtime.c pe_node_t *node = NULL; NULL 708 tools/crm_resource_runtime.c if (rsc == NULL) { NULL 712 tools/crm_resource_runtime.c GListPtr lpc = NULL; NULL 714 tools/crm_resource_runtime.c for (lpc = rsc->children; lpc != NULL; lpc = lpc->next) { NULL 726 tools/crm_resource_runtime.c } else if (host_uname == NULL) { NULL 727 tools/crm_resource_runtime.c GListPtr lpc = NULL; NULL 730 tools/crm_resource_runtime.c if(nodes == NULL && force) { NULL 733 tools/crm_resource_runtime.c } else if(nodes == NULL && rsc->exclusive_discover) { NULL 735 tools/crm_resource_runtime.c pe_node_t *node = NULL; NULL 738 tools/crm_resource_runtime.c while (g_hash_table_iter_next(&iter, NULL, (void**)&node)) { NULL 744 tools/crm_resource_runtime.c } else if(nodes == NULL) { NULL 748 tools/crm_resource_runtime.c for (lpc = nodes; lpc != NULL; lpc = lpc->next) { NULL 768 tools/crm_resource_runtime.c if (node == NULL) { NULL 780 tools/crm_resource_runtime.c if (controld_api == NULL) { NULL 818 tools/crm_resource_runtime.c if (controld_api == NULL) { NULL 827 tools/crm_resource_runtime.c if (node == NULL) { NULL 836 tools/crm_resource_runtime.c rc = pcmk__node_attr_request_clear(NULL, node_name, NULL, operation, NULL 837 tools/crm_resource_runtime.c interval_spec, NULL, attr_options); NULL 845 tools/crm_resource_runtime.c rc = clear_rsc_failures(controld_api, node_name, NULL, NULL 856 tools/crm_resource_runtime.c rc = clear_rsc_failures(controld_api, node->details->uname, NULL, NULL 874 tools/crm_resource_runtime.c char *role_s = NULL; NULL 875 tools/crm_resource_runtime.c char *managed = NULL; NULL 879 tools/crm_resource_runtime.c NULL, NULL, NULL, XML_RSC_ATTR_MANAGED, &managed); NULL 882 tools/crm_resource_runtime.c NULL, NULL, NULL, XML_RSC_ATTR_TARGET_ROLE, &role_s); NULL 933 tools/crm_resource_runtime.c GHashTable *params = NULL; NULL 934 tools/crm_resource_runtime.c GHashTable *meta = NULL; NULL 935 tools/crm_resource_runtime.c GHashTable *combined = NULL; NULL 940 tools/crm_resource_runtime.c return NULL; NULL 947 tools/crm_resource_runtime.c get_rsc_attributes(params, rsc, NULL /* TODO: Pass in local node */ , data_set); NULL 948 tools/crm_resource_runtime.c get_meta_attributes(meta, rsc, NULL /* TODO: Pass in local node */ , data_set); NULL 951 tools/crm_resource_runtime.c char *key = NULL; NULL 952 tools/crm_resource_runtime.c char *value = NULL; NULL 962 tools/crm_resource_runtime.c char *key = NULL; NULL 963 tools/crm_resource_runtime.c char *value = NULL; NULL 980 tools/crm_resource_runtime.c GListPtr hIter = NULL; NULL 981 tools/crm_resource_runtime.c GListPtr hosts = NULL; NULL 983 tools/crm_resource_runtime.c if(rsc == NULL) { NULL 988 tools/crm_resource_runtime.c for (hIter = hosts; host != NULL && hIter != NULL; hIter = hIter->next) { NULL 1000 tools/crm_resource_runtime.c if(host != NULL) { NULL 1004 tools/crm_resource_runtime.c } else if(host == NULL && hosts == NULL) { NULL 1027 tools/crm_resource_runtime.c GList *rIter = NULL; NULL 1028 tools/crm_resource_runtime.c GList *active = NULL; NULL 1030 tools/crm_resource_runtime.c for (rIter = rsc_list; rIter != NULL; rIter = rIter->next) { NULL 1050 tools/crm_resource_runtime.c GList *item = NULL; NULL 1052 tools/crm_resource_runtime.c for (item = items; item != NULL; item = item->next) { NULL 1060 tools/crm_resource_runtime.c GList *item = NULL; NULL 1062 tools/crm_resource_runtime.c for (item = items; item != NULL; item = item->next) { NULL 1086 tools/crm_resource_runtime.c if (cli_config_update(xml, NULL, FALSE) == FALSE) { NULL 1090 tools/crm_resource_runtime.c data_set->now = crm_time_new(NULL); NULL 1108 tools/crm_resource_runtime.c xmlNode *cib_xml_copy = NULL; NULL 1111 tools/crm_resource_runtime.c rc = cib->cmds->query(cib, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); NULL 1132 tools/crm_resource_runtime.c char *pid = NULL; NULL 1133 tools/crm_resource_runtime.c char *shadow_file = NULL; NULL 1134 tools/crm_resource_runtime.c cib_t *shadow_cib = NULL; NULL 1148 tools/crm_resource_runtime.c if (shadow_cib == NULL) { NULL 1169 tools/crm_resource_runtime.c pcmk__schedule_actions(data_set, data_set->input, NULL); NULL 1170 tools/crm_resource_runtime.c run_simulation(data_set, shadow_cib, NULL, TRUE); NULL 1197 tools/crm_resource_runtime.c GList *iter = NULL; NULL 1212 tools/crm_resource_runtime.c pe_action_t *stop = custom_action(rsc, key, RSC_STOP, NULL, TRUE, FALSE, data_set); NULL 1215 tools/crm_resource_runtime.c max_delay = value? (int) crm_parse_ll(value, NULL) : -1; NULL 1227 tools/crm_resource_runtime.c GList *item = NULL; NULL 1229 tools/crm_resource_runtime.c for (item = resources; item != NULL; item = item->next) { NULL 1245 tools/crm_resource_runtime.c #define waiting_for_starts(d, r, h) ((d != NULL) || \ NULL 1275 tools/crm_resource_runtime.c char *rsc_id = NULL; NULL 1276 tools/crm_resource_runtime.c char *orig_target_role = NULL; NULL 1278 tools/crm_resource_runtime.c GList *list_delta = NULL; NULL 1279 tools/crm_resource_runtime.c GList *target_active = NULL; NULL 1280 tools/crm_resource_runtime.c GList *current_active = NULL; NULL 1281 tools/crm_resource_runtime.c GList *restart_target_active = NULL; NULL 1283 tools/crm_resource_runtime.c pe_working_set_t *data_set = NULL; NULL 1319 tools/crm_resource_runtime.c if (data_set == NULL) { NULL 1339 tools/crm_resource_runtime.c rc = cli_resource_ban(rsc_id, host, move_lifetime, NULL, cib, NULL 1349 tools/crm_resource_runtime.c find_resource_attr(cib, XML_NVPAIR_ATTR_VALUE, lookup_id, NULL, NULL, NULL 1350 tools/crm_resource_runtime.c NULL, XML_RSC_ATTR_TARGET_ROLE, &orig_target_role); NULL 1352 tools/crm_resource_runtime.c rc = cli_resource_update_attribute(rsc, rsc_id, NULL, XML_TAG_META_SETS, NULL, NULL 1382 tools/crm_resource_runtime.c while (list_delta != NULL) { NULL 1389 tools/crm_resource_runtime.c for(lpc = 0; (lpc < step_timeout_s) && (list_delta != NULL); lpc++) { NULL 1423 tools/crm_resource_runtime.c rc = cli_resource_clear(rsc_id, host, NULL, cib, cib_options, TRUE, force); NULL 1426 tools/crm_resource_runtime.c rc = cli_resource_update_attribute(rsc, rsc_id, NULL, XML_TAG_META_SETS, NULL 1427 tools/crm_resource_runtime.c NULL, XML_RSC_ATTR_TARGET_ROLE, NULL 1431 tools/crm_resource_runtime.c orig_target_role = NULL; NULL 1433 tools/crm_resource_runtime.c rc = cli_resource_delete_attribute(rsc, rsc_id, NULL, XML_TAG_META_SETS, NULL, NULL 1480 tools/crm_resource_runtime.c current_active = get_active_resources(NULL, data_set->resources); NULL 1502 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, host, NULL, cib, cib_options, TRUE, force); NULL 1504 tools/crm_resource_runtime.c cli_resource_update_attribute(rsc, rsc_id, NULL, XML_TAG_META_SETS, NULL, NULL 1509 tools/crm_resource_runtime.c cli_resource_delete_attribute(rsc, rsc_id, NULL, XML_TAG_META_SETS, NULL, NULL 1555 tools/crm_resource_runtime.c for (action = actions; action != NULL; action = action->next) { NULL 1579 tools/crm_resource_runtime.c for (action = actions; action != NULL; action = action->next) { NULL 1615 tools/crm_resource_runtime.c pe_working_set_t *data_set = NULL; NULL 1618 tools/crm_resource_runtime.c time_t expire_time = time(NULL) + timeout_s; NULL 1623 tools/crm_resource_runtime.c if (data_set == NULL) { NULL 1631 tools/crm_resource_runtime.c time_diff = expire_time - time(NULL); NULL 1650 tools/crm_resource_runtime.c pcmk__schedule_actions(data_set, data_set->input, NULL); NULL 1684 tools/crm_resource_runtime.c GHashTable *params_copy = NULL; NULL 1686 tools/crm_resource_runtime.c svc_action_t *op = NULL; NULL 1715 tools/crm_resource_runtime.c if (op == NULL) { NULL 1747 tools/crm_resource_runtime.c char *name = NULL; NULL 1748 tools/crm_resource_runtime.c char *value = NULL; NULL 1760 tools/crm_resource_runtime.c char *local_copy = NULL; NULL 1824 tools/crm_resource_runtime.c const char *rid = NULL; NULL 1825 tools/crm_resource_runtime.c const char *rtype = NULL; NULL 1826 tools/crm_resource_runtime.c const char *rprov = NULL; NULL 1827 tools/crm_resource_runtime.c const char *rclass = NULL; NULL 1828 tools/crm_resource_runtime.c const char *action = NULL; NULL 1829 tools/crm_resource_runtime.c GHashTable *params = NULL; NULL 1841 tools/crm_resource_runtime.c "force-promote", NULL)) { NULL 1897 tools/crm_resource_runtime.c pe_node_t *current = NULL; NULL 1901 tools/crm_resource_runtime.c if (dest == NULL) { NULL 1922 tools/crm_resource_runtime.c GListPtr iter = NULL; NULL 1924 tools/crm_resource_runtime.c pe_node_t *master_node = NULL; NULL 1945 tools/crm_resource_runtime.c current = NULL; NULL 1962 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, NULL, data_set->nodes, cib, cib_options, FALSE, force); NULL 1982 tools/crm_resource_runtime.c NULL, cib, cib_options, promoted_role_only); NULL 2004 tools/crm_resource_runtime.c GListPtr lpc = NULL; NULL 2005 tools/crm_resource_runtime.c GListPtr hosts = NULL; NULL 2007 tools/crm_resource_runtime.c for (lpc = resources; lpc != NULL; lpc = lpc->next) { NULL 2011 tools/crm_resource_runtime.c if (hosts == NULL) { NULL 2019 tools/crm_resource_runtime.c hosts = NULL; NULL 2043 tools/crm_resource_runtime.c GListPtr lpc = NULL; NULL 2045 tools/crm_resource_runtime.c for (lpc = activeResources; lpc != NULL; lpc = lpc->next) { NULL 2051 tools/crm_resource_runtime.c for(lpc = unactiveResources; lpc != NULL; lpc = lpc->next) { NULL 2067 tools/crm_resource_runtime.c GListPtr hosts = NULL; NULL 2078 tools/crm_resource_runtime.c const char *host_uname = (node == NULL)? NULL : node->details->uname; NULL 2080 tools/crm_resource_runtime.c if ((rsc == NULL) && (host_uname == NULL)) { NULL 2083 tools/crm_resource_runtime.c } else if ((rsc != NULL) && (host_uname != NULL)) { NULL 2087 tools/crm_resource_runtime.c } else if ((rsc == NULL) && (host_uname != NULL)) { NULL 2090 tools/crm_resource_runtime.c } else if ((rsc != NULL) && (host_uname == NULL)) { NULL 45 tools/crm_rule.c NULL }, NULL 47 tools/crm_rule.c { NULL } NULL 53 tools/crm_rule.c NULL }, NULL 55 tools/crm_rule.c { NULL } NULL 61 tools/crm_rule.c NULL }, NULL 64 tools/crm_rule.c NULL }, NULL 66 tools/crm_rule.c { NULL } NULL 81 tools/crm_rule.c xmlNode *cib_constraints = NULL; NULL 82 tools/crm_rule.c xmlNode *match = NULL; NULL 83 tools/crm_rule.c xmlXPathObjectPtr xpathObj = NULL; NULL 84 tools/crm_rule.c char *xpath = NULL; NULL 156 tools/crm_rule.c CRM_ASSERT(match != NULL); NULL 159 tools/crm_rule.c rc = pe_eval_date_expression(match, effective_date, NULL); NULL 184 tools/crm_rule.c GOptionContext *context = NULL; NULL 189 tools/crm_rule.c context = pcmk__build_arg_context(args, NULL, NULL, NULL); NULL 204 tools/crm_rule.c cib_t *cib_conn = NULL; NULL 205 tools/crm_rule.c pe_working_set_t *data_set = NULL; NULL 207 tools/crm_rule.c crm_time_t *rule_date = NULL; NULL 208 tools/crm_rule.c xmlNode *input = NULL; NULL 215 tools/crm_rule.c GError *error = NULL; NULL 216 tools/crm_rule.c GOptionContext *context = NULL; NULL 217 tools/crm_rule.c gchar **processed_args = NULL; NULL 241 tools/crm_rule.c char *help = g_option_context_get_help(context, TRUE, NULL); NULL 254 tools/crm_rule.c if (options.rule == NULL) { NULL 271 tools/crm_rule.c if (rule_date == NULL) { NULL 283 tools/crm_rule.c if (input == NULL) { NULL 288 tools/crm_rule.c } else if (options.input_xml != NULL) { NULL 291 tools/crm_rule.c if (input == NULL) { NULL 309 tools/crm_rule.c if (input == NULL) { NULL 310 tools/crm_rule.c rc = cib_conn->cmds->query(cib_conn, NULL, &input, cib_scope_local | cib_sync_call); NULL 319 tools/crm_rule.c if (data_set == NULL) { NULL 351 tools/crm_rule.c if (cib_conn != NULL) { NULL 32 tools/crm_shadow.c static cib_t *real_cib = NULL; NULL 55 tools/crm_shadow.c } else if (batch_flag == FALSE && shell != NULL) { NULL 61 tools/crm_shadow.c execl(shell, shell, "--norc", "--noprofile", NULL); NULL 63 tools/crm_shadow.c execl(shell, shell, NULL); NULL 85 tools/crm_shadow.c if (prompt != NULL && strstr(prompt, our_prompt)) { NULL 99 tools/crm_shadow.c "help", no_argument, NULL, '?', NULL 103 tools/crm_shadow.c "version", no_argument, NULL, '$', NULL 107 tools/crm_shadow.c "verbose", no_argument, NULL, 'V', NULL 111 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 115 tools/crm_shadow.c "which", no_argument, NULL, 'w', NULL 119 tools/crm_shadow.c "display", no_argument, NULL, 'p', NULL 124 tools/crm_shadow.c "edit", no_argument, NULL, 'E', NULL 130 tools/crm_shadow.c "diff", no_argument, NULL, 'd', NULL 135 tools/crm_shadow.c "file", no_argument, NULL, 'F', NULL 140 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 144 tools/crm_shadow.c "create", required_argument, NULL, 'c', NULL 149 tools/crm_shadow.c "create-empty", required_argument, NULL, 'e', NULL 155 tools/crm_shadow.c "commit", required_argument, NULL, 'C', NULL 160 tools/crm_shadow.c "delete", required_argument, NULL, 'D', NULL 164 tools/crm_shadow.c "reset", required_argument, NULL, 'r', NULL 169 tools/crm_shadow.c "switch", required_argument, NULL, 's', NULL 173 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 177 tools/crm_shadow.c "force", no_argument, NULL, 'f', NULL 181 tools/crm_shadow.c "batch", no_argument, NULL, 'b', NULL 185 tools/crm_shadow.c "all", no_argument, NULL, 'a', NULL 190 tools/crm_shadow.c "validate-with", required_argument, NULL, 'v', NULL 194 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 198 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 202 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 206 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 211 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 215 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 219 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 223 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 228 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 232 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 238 tools/crm_shadow.c "-spacer-", no_argument, NULL, '-', NULL 252 tools/crm_shadow.c const char *validation = NULL; NULL 253 tools/crm_shadow.c char *shadow = NULL; NULL 254 tools/crm_shadow.c char *shadow_file = NULL; NULL 261 tools/crm_shadow.c pcmk__set_cli_options(NULL, "<query>|<command> [options]", long_options, NULL 274 tools/crm_shadow.c flag = pcmk__next_cli_option(argc, argv, &option_index, NULL); NULL 289 tools/crm_shadow.c shadow = NULL; NULL 361 tools/crm_shadow.c if (local == NULL) { NULL 370 tools/crm_shadow.c if (shadow == NULL) { NULL 379 tools/crm_shadow.c if (local != NULL && !pcmk__str_eq(local, shadow, pcmk__str_casei) && force_flag == FALSE) { NULL 443 tools/crm_shadow.c xmlNode *output = NULL; NULL 447 tools/crm_shadow.c rc = real_cib->cmds->query(real_cib, NULL, &output, command_options); NULL 479 tools/crm_shadow.c if (editor == NULL) { NULL 485 tools/crm_shadow.c execlp(editor, "--", shadow_file, NULL); NULL 497 tools/crm_shadow.c char *output_s = NULL; NULL 508 tools/crm_shadow.c xmlNode *diff = NULL; NULL 509 tools/crm_shadow.c xmlNode *old_config = NULL; NULL 512 tools/crm_shadow.c rc = real_cib->cmds->query(real_cib, NULL, &old_config, command_options); NULL 520 tools/crm_shadow.c xml_track_changes(new_config, NULL, new_config, FALSE); NULL 523 tools/crm_shadow.c diff = xml_create_patchset(0, old_config, new_config, NULL, FALSE); NULL 528 tools/crm_shadow.c if (diff != NULL) { NULL 538 tools/crm_shadow.c const char *section = NULL; NULL 67 tools/crm_simulate.c cib_t *global_cib = NULL; NULL 70 tools/crm_simulate.c char *temp_shadow = NULL; NULL 95 tools/crm_simulate.c options.xml_file = NULL; NULL 252 tools/crm_simulate.c NULL }, NULL 255 tools/crm_simulate.c NULL }, NULL 258 tools/crm_simulate.c NULL }, NULL 261 tools/crm_simulate.c NULL }, NULL 264 tools/crm_simulate.c NULL }, NULL 267 tools/crm_simulate.c NULL }, NULL 273 tools/crm_simulate.c NULL }, NULL 275 tools/crm_simulate.c { NULL } NULL 320 tools/crm_simulate.c { NULL } NULL 338 tools/crm_simulate.c NULL }, NULL 340 tools/crm_simulate.c { NULL } NULL 346 tools/crm_simulate.c NULL }, NULL 352 tools/crm_simulate.c NULL }, NULL 354 tools/crm_simulate.c { NULL } NULL 373 tools/crm_simulate.c data_set->now = crm_time_new(NULL); NULL 389 tools/crm_simulate.c char *online_nodes = NULL; NULL 390 tools/crm_simulate.c char *online_remote_nodes = NULL; NULL 391 tools/crm_simulate.c char *online_guest_nodes = NULL; NULL 392 tools/crm_simulate.c char *offline_nodes = NULL; NULL 393 tools/crm_simulate.c char *offline_remote_nodes = NULL; NULL 401 tools/crm_simulate.c GListPtr gIter = NULL; NULL 403 tools/crm_simulate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { NULL 405 tools/crm_simulate.c const char *node_mode = NULL; NULL 406 tools/crm_simulate.c char *node_name = NULL; NULL 506 tools/crm_simulate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 513 tools/crm_simulate.c rsc->fns->print(rsc, NULL, pe_print_printf | options, stdout); NULL 521 tools/crm_simulate.c char *action_name = NULL; NULL 523 tools/crm_simulate.c const char *action_host = NULL; NULL 524 tools/crm_simulate.c const char *clone_name = NULL; NULL 543 tools/crm_simulate.c char *key = NULL; NULL 552 tools/crm_simulate.c if (pcmk__strcase_any_of(action->task, RSC_NOTIFY, RSC_NOTIFIED, NULL)) { NULL 556 tools/crm_simulate.c CRM_ASSERT(n_type != NULL); NULL 557 tools/crm_simulate.c CRM_ASSERT(n_task != NULL); NULL 599 tools/crm_simulate.c GListPtr gIter = NULL; NULL 602 tools/crm_simulate.c if (dot_strm == NULL) { NULL 610 tools/crm_simulate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { NULL 627 tools/crm_simulate.c } else if ((action->rsc != NULL) NULL 655 tools/crm_simulate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { NULL 658 tools/crm_simulate.c GListPtr gIter2 = NULL; NULL 660 tools/crm_simulate.c for (gIter2 = action->actions_before; gIter2 != NULL; gIter2 = gIter2->next) { NULL 663 tools/crm_simulate.c char *before_name = NULL; NULL 664 tools/crm_simulate.c char *after_name = NULL; NULL 705 tools/crm_simulate.c cib_t *cib_conn = NULL; NULL 706 tools/crm_simulate.c xmlNode *cib_object = NULL; NULL 707 tools/crm_simulate.c char *local_output = NULL; NULL 709 tools/crm_simulate.c if (input == NULL) { NULL 716 tools/crm_simulate.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_object, cib_scope_local | cib_sync_call); NULL 721 tools/crm_simulate.c cib_conn = NULL; NULL 729 tools/crm_simulate.c } else if (cib_object == NULL) { NULL 736 tools/crm_simulate.c cib_object = filename2xml(NULL); NULL 742 tools/crm_simulate.c if (get_object_root(XML_CIB_TAG_STATUS, cib_object) == NULL) { NULL 746 tools/crm_simulate.c if (cli_config_update(&cib_object, NULL, FALSE) == FALSE) { NULL 751 tools/crm_simulate.c if (validate_xml(cib_object, NULL, FALSE) != TRUE) { NULL 756 tools/crm_simulate.c if (output == NULL) { NULL 767 tools/crm_simulate.c cib_object = NULL; NULL 784 tools/crm_simulate.c xmlNode *cib_object = NULL; NULL 793 tools/crm_simulate.c if (get_object_root(XML_CIB_TAG_STATUS, cib_object) == NULL) { NULL 798 tools/crm_simulate.c if (cli_config_update(&cib_object, NULL, FALSE) == FALSE) { NULL 803 tools/crm_simulate.c if (validate_xml(cib_object, NULL, FALSE) != TRUE) { NULL 813 tools/crm_simulate.c pcmk__schedule_actions(data_set, input, NULL); NULL 856 tools/crm_simulate.c GOptionContext *context = NULL; NULL 861 tools/crm_simulate.c NULL }, NULL 863 tools/crm_simulate.c { NULL } NULL 880 tools/crm_simulate.c context = pcmk__build_arg_context(args, NULL, group, NULL); NULL 899 tools/crm_simulate.c GError *error = NULL; NULL 900 tools/crm_simulate.c GOptionGroup *output_group = NULL; NULL 901 tools/crm_simulate.c gchar **processed_args = NULL; NULL 906 tools/crm_simulate.c pe_working_set_t *data_set = NULL; NULL 908 tools/crm_simulate.c xmlNode *input = NULL; NULL 932 tools/crm_simulate.c gchar *help = g_option_context_get_help(context, TRUE, NULL); NULL 950 tools/crm_simulate.c if (data_set == NULL) { NULL 957 tools/crm_simulate.c if (options.test_dir != NULL) { NULL 977 tools/crm_simulate.c rc = global_cib->cmds->query(global_cib, NULL, &input, cib_sync_call | cib_scope_local); NULL 1020 tools/crm_simulate.c rc = global_cib->cmds->query(global_cib, NULL, &input, cib_sync_call); NULL 1039 tools/crm_simulate.c if (options.input_file != NULL) { NULL 1050 tools/crm_simulate.c crm_time_t *local_date = NULL; NULL 1061 tools/crm_simulate.c input = NULL; /* Don't try and free it twice */ NULL 1063 tools/crm_simulate.c if (options.graph_file != NULL) { NULL 1067 tools/crm_simulate.c if (options.dot_file != NULL) { NULL 1074 tools/crm_simulate.c GListPtr gIter = NULL; NULL 1081 tools/crm_simulate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { NULL 1106 tools/crm_simulate.c if (error != NULL) { NULL 37 tools/crm_ticket.c const char *ticket_id = NULL; NULL 38 tools/crm_ticket.c const char *get_attr_name = NULL; NULL 39 tools/crm_ticket.c const char *attr_name = NULL; NULL 40 tools/crm_ticket.c const char *attr_value = NULL; NULL 41 tools/crm_ticket.c const char *attr_id = NULL; NULL 42 tools/crm_ticket.c const char *set_name = NULL; NULL 43 tools/crm_ticket.c const char *attr_default = NULL; NULL 44 tools/crm_ticket.c const char *xml_file = NULL; NULL 51 tools/crm_ticket.c pe_ticket_t *ticket = NULL; NULL 87 tools/crm_ticket.c const char *name = NULL; NULL 88 tools/crm_ticket.c const char *value = NULL; NULL 99 tools/crm_ticket.c if (pcmk__str_any_of(name, "last-granted", "expires", NULL)) { NULL 124 tools/crm_ticket.c pe_ticket_t *ticket = NULL; NULL 128 tools/crm_ticket.c while (g_hash_table_iter_next(&iter, NULL, (void **)&ticket)) { NULL 142 tools/crm_ticket.c xmlNode *xml_search = NULL; NULL 144 tools/crm_ticket.c char *xpath_string = NULL; NULL 146 tools/crm_ticket.c CRM_ASSERT(ticket_state_xml != NULL); NULL 147 tools/crm_ticket.c *ticket_state_xml = NULL; NULL 185 tools/crm_ticket.c xmlNode *xml_search = NULL; NULL 187 tools/crm_ticket.c char *xpath_string = NULL; NULL 189 tools/crm_ticket.c CRM_ASSERT(ticket_cons_xml != NULL); NULL 190 tools/crm_ticket.c *ticket_cons_xml = NULL; NULL 222 tools/crm_ticket.c xmlNode *state_xml = NULL; NULL 226 tools/crm_ticket.c if (state_xml == NULL) { NULL 232 tools/crm_ticket.c char *state_xml_str = NULL; NULL 247 tools/crm_ticket.c xmlNode *cons_xml = NULL; NULL 248 tools/crm_ticket.c char *cons_xml_str = NULL; NULL 252 tools/crm_ticket.c if (cons_xml == NULL) { NULL 268 tools/crm_ticket.c pe_ticket_t *ticket = NULL; NULL 270 tools/crm_ticket.c CRM_ASSERT(attr_value != NULL); NULL 271 tools/crm_ticket.c *attr_value = NULL; NULL 274 tools/crm_ticket.c if (ticket == NULL) { NULL 279 tools/crm_ticket.c if (*attr_value == NULL) { NULL 293 tools/crm_ticket.c char *warning = NULL; NULL 294 tools/crm_ticket.c const char *word = NULL; NULL 336 tools/crm_ticket.c const char *value = NULL; NULL 337 tools/crm_ticket.c GListPtr list_iter = NULL; NULL 343 tools/crm_ticket.c if (g_hash_table_lookup_extended(attr_set, "granted", NULL, (gpointer *) & value)) { NULL 371 tools/crm_ticket.c xmlNode *xml_top = NULL; NULL 372 tools/crm_ticket.c xmlNode *ticket_state_xml = NULL; NULL 375 tools/crm_ticket.c GListPtr list_iter = NULL; NULL 378 tools/crm_ticket.c char *key = NULL; NULL 379 tools/crm_ticket.c char *value = NULL; NULL 381 tools/crm_ticket.c pe_ticket_t *ticket = NULL; NULL 396 tools/crm_ticket.c xmlNode *xml_obj = NULL; NULL 398 tools/crm_ticket.c xml_top = create_xml_node(NULL, XML_CIB_TAG_STATUS); NULL 416 tools/crm_ticket.c && (ticket == NULL || ticket->granted == FALSE) NULL 419 tools/crm_ticket.c char *now = crm_ttoa(time(NULL)); NULL 426 tools/crm_ticket.c if (found && (attr_delete != NULL)) { NULL 442 tools/crm_ticket.c xmlNode *ticket_state_xml = NULL; NULL 470 tools/crm_ticket.c "help", no_argument, NULL, '?', NULL 474 tools/crm_ticket.c "version", no_argument, NULL, '$', NULL 478 tools/crm_ticket.c "verbose", no_argument, NULL, 'V', NULL 482 tools/crm_ticket.c "quiet", no_argument, NULL, 'Q', NULL 486 tools/crm_ticket.c "ticket", required_argument, NULL, 't', NULL 490 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 494 tools/crm_ticket.c "info", no_argument, NULL, 'l', NULL 498 tools/crm_ticket.c "details", no_argument, NULL, 'L', NULL 502 tools/crm_ticket.c "raw", no_argument, NULL, 'w', NULL 506 tools/crm_ticket.c "query-xml", no_argument, NULL, 'q', NULL 510 tools/crm_ticket.c "constraints", no_argument, NULL, 'c', NULL 515 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 519 tools/crm_ticket.c "grant", no_argument, NULL, 'g', NULL 523 tools/crm_ticket.c "revoke", no_argument, NULL, 'r', NULL 527 tools/crm_ticket.c "standby", no_argument, NULL, 's', NULL 532 tools/crm_ticket.c "activate", no_argument, NULL, 'a', NULL 536 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 540 tools/crm_ticket.c "get-attr", required_argument, NULL, 'G', NULL 544 tools/crm_ticket.c "set-attr", required_argument, NULL, 'S', NULL 548 tools/crm_ticket.c "delete-attr", required_argument, NULL, 'D', NULL 552 tools/crm_ticket.c "cleanup", no_argument, NULL, 'C', NULL 557 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 561 tools/crm_ticket.c "attr-value", required_argument, NULL, 'v', NULL 565 tools/crm_ticket.c "default", required_argument, NULL, 'd', NULL 571 tools/crm_ticket.c "force", no_argument, NULL, 'f', NULL 575 tools/crm_ticket.c "xml-file", required_argument, NULL, 'x', NULL 576 tools/crm_ticket.c NULL, pcmk__option_hidden NULL 581 tools/crm_ticket.c "set-name", required_argument, NULL, 'n', NULL 586 tools/crm_ticket.c "nvpair", required_argument, NULL, 'i', NULL 591 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 595 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 599 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 603 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 607 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 611 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 615 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 619 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 624 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 628 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 632 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 636 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 640 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 644 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 651 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 655 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 659 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 663 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 668 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 672 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 677 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 682 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 686 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 691 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 696 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 701 tools/crm_ticket.c "-spacer-", no_argument, NULL, '-', NULL 710 tools/crm_ticket.c pe_working_set_t *data_set = NULL; NULL 711 tools/crm_ticket.c xmlNode *cib_xml_copy = NULL; NULL 712 tools/crm_ticket.c xmlNode *cib_constraints = NULL; NULL 714 tools/crm_ticket.c cib_t *cib_conn = NULL; NULL 723 tools/crm_ticket.c GListPtr attr_delete = NULL; NULL 726 tools/crm_ticket.c crm_log_init(NULL, LOG_CRIT, FALSE, FALSE, argc, argv, FALSE); NULL 727 tools/crm_ticket.c pcmk__set_cli_options(NULL, "<query>|<command> [options]", long_options, NULL 737 tools/crm_ticket.c flag = pcmk__next_cli_option(argc, argv, &option_index, NULL); NULL 786 tools/crm_ticket.c attr_name = NULL; NULL 787 tools/crm_ticket.c attr_value = NULL; NULL 802 tools/crm_ticket.c attr_name = NULL; NULL 803 tools/crm_ticket.c attr_value = NULL; NULL 830 tools/crm_ticket.c if (optind < argc && argv[optind] != NULL) { NULL 832 tools/crm_ticket.c while (optind < argc && argv[optind] != NULL) { NULL 847 tools/crm_ticket.c if (data_set == NULL) { NULL 855 tools/crm_ticket.c if (cib_conn == NULL) { NULL 868 tools/crm_ticket.c if (xml_file != NULL) { NULL 872 tools/crm_ticket.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); NULL 880 tools/crm_ticket.c if (cli_config_update(&cib_xml_copy, NULL, FALSE) == FALSE) { NULL 887 tools/crm_ticket.c data_set->now = crm_time_new(NULL); NULL 909 tools/crm_ticket.c if (ticket == NULL) { NULL 939 tools/crm_ticket.c const char *value = NULL; NULL 941 tools/crm_ticket.c if (ticket_id == NULL) { NULL 957 tools/crm_ticket.c if (ticket_id == NULL) { NULL 964 tools/crm_ticket.c pe_ticket_t *ticket = NULL; NULL 967 tools/crm_ticket.c if (ticket == NULL) { NULL 987 tools/crm_ticket.c if (ticket_id == NULL) { NULL 1031 tools/crm_ticket.c if (ticket_id == NULL) { NULL 1052 tools/crm_ticket.c attr_set = NULL; NULL 1057 tools/crm_ticket.c attr_delete = NULL; NULL 1060 tools/crm_ticket.c data_set = NULL; NULL 1062 tools/crm_ticket.c if (cib_conn != NULL) { NULL 31 tools/crm_verify.c char *cib_save = NULL; NULL 37 tools/crm_verify.c "help", no_argument, NULL, '?', NULL 41 tools/crm_verify.c "version", no_argument, NULL, '$', NULL 45 tools/crm_verify.c "verbose", no_argument, NULL, 'V', NULL 50 tools/crm_verify.c "-spacer-", no_argument, NULL, '-', NULL 54 tools/crm_verify.c "live-check", no_argument, NULL, 'L', NULL 59 tools/crm_verify.c "xml-file", required_argument, NULL, 'x', NULL 63 tools/crm_verify.c "xml-text", required_argument, NULL, 'X', NULL 67 tools/crm_verify.c "xml-pipe", no_argument, NULL, 'p', NULL 71 tools/crm_verify.c "-spacer-", no_argument, NULL, '-', NULL 80 tools/crm_verify.c "-spacer-", no_argument, NULL, '-', NULL 84 tools/crm_verify.c "-spacer-", no_argument, NULL, '-', NULL 89 tools/crm_verify.c "-spacer-", no_argument, NULL, '-', NULL 93 tools/crm_verify.c "-spacer-", no_argument, NULL, '-', NULL 99 tools/crm_verify.c "-spacer-", no_argument, NULL, '-', NULL 108 tools/crm_verify.c xmlNode *cib_object = NULL; NULL 109 tools/crm_verify.c xmlNode *status = NULL; NULL 114 tools/crm_verify.c pe_working_set_t *data_set = NULL; NULL 115 tools/crm_verify.c cib_t *cib_conn = NULL; NULL 120 tools/crm_verify.c const char *xml_tag = NULL; NULL 121 tools/crm_verify.c const char *xml_file = NULL; NULL 122 tools/crm_verify.c const char *xml_string = NULL; NULL 125 tools/crm_verify.c pcmk__set_cli_options(NULL, "[options]", long_options, NULL 136 tools/crm_verify.c flag = pcmk__next_cli_option(argc, argv, &option_index, NULL); NULL 202 tools/crm_verify.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_object, options); NULL 209 tools/crm_verify.c if (cib_object == NULL) { NULL 215 tools/crm_verify.c } else if (xml_file != NULL) { NULL 217 tools/crm_verify.c if (cib_object == NULL) { NULL 223 tools/crm_verify.c } else if (xml_string != NULL) { NULL 225 tools/crm_verify.c if (cib_object == NULL) { NULL 232 tools/crm_verify.c if (cib_object == NULL) { NULL 253 tools/crm_verify.c if (cib_save != NULL) { NULL 258 tools/crm_verify.c if (status == NULL) { NULL 262 tools/crm_verify.c if (validate_xml(cib_object, NULL, FALSE) == FALSE) { NULL 265 tools/crm_verify.c cib_object = NULL; NULL 267 tools/crm_verify.c } else if (cli_config_update(&cib_object, NULL, FALSE) == FALSE) { NULL 270 tools/crm_verify.c cib_object = NULL; NULL 277 tools/crm_verify.c if (data_set == NULL) { NULL 284 tools/crm_verify.c if (cib_object == NULL) { NULL 285 tools/crm_verify.c } else if (status != NULL || USE_LIVE_CIB) { NULL 287 tools/crm_verify.c pcmk__schedule_actions(data_set, cib_object, NULL); NULL 290 tools/crm_verify.c data_set->now = crm_time_new(NULL); NULL 35 tools/crmadmin.c static GMainLoop *mainloop = NULL; NULL 42 tools/crmadmin.c static char *ipc_name = NULL; NULL 59 tools/crmadmin.c static char *dest_node = NULL; NULL 76 tools/crmadmin.c NULL NULL 82 tools/crmadmin.c NULL NULL 89 tools/crmadmin.c NULL NULL 93 tools/crmadmin.c NULL NULL 97 tools/crmadmin.c NULL NULL 101 tools/crmadmin.c NULL NULL 104 tools/crmadmin.c NULL, NULL 105 tools/crmadmin.c NULL NULL 108 tools/crmadmin.c { NULL } NULL 115 tools/crmadmin.c NULL NULL 123 tools/crmadmin.c NULL NULL 126 tools/crmadmin.c { NULL } NULL 162 tools/crmadmin.c if (dest_node != NULL) { NULL 175 tools/crmadmin.c if (mainloop != NULL) { NULL 178 tools/crmadmin.c mainloop = NULL; // Don't re-enter this block NULL 232 tools/crmadmin.c if (BE_SILENT && (reply->data.ping.fsa_state != NULL)) { NULL 240 tools/crmadmin.c if (BE_SILENT && (reply->host_from != NULL)) { NULL 300 tools/crmadmin.c crm_time_t *crm_when = crm_time_new(NULL); NULL 301 tools/crmadmin.c char *pinged_buf = NULL; NULL 343 tools/crmadmin.c xmlNode *output = NULL; NULL 346 tools/crmadmin.c if (the_cib == NULL) { NULL 354 tools/crmadmin.c rc = the_cib->cmds->query(the_cib, NULL, &output, NULL 366 tools/crmadmin.c GOptionContext *context = NULL; NULL 373 tools/crmadmin.c NULL }, NULL 375 tools/crmadmin.c { NULL } NULL 378 tools/crmadmin.c context = pcmk__build_arg_context(args, NULL, NULL, NULL); NULL 398 tools/crmadmin.c pcmk_ipc_api_t *controld_api = NULL; NULL 399 tools/crmadmin.c pcmk_ipc_api_t *pacemakerd_api = NULL; NULL 403 tools/crmadmin.c GError *error = NULL; NULL 404 tools/crmadmin.c GOptionContext *context = NULL; NULL 405 tools/crmadmin.c gchar **processed_args = NULL; NULL 455 tools/crmadmin.c char *help = g_option_context_get_help(context, TRUE, NULL); NULL 466 tools/crmadmin.c if (controld_api == NULL) { NULL 472 tools/crmadmin.c pcmk_register_ipc_callback(controld_api, controller_event_cb, NULL); NULL 485 tools/crmadmin.c if (pacemakerd_api == NULL) { NULL 491 tools/crmadmin.c pcmk_register_ipc_callback(pacemakerd_api, pacemakerd_event_cb, NULL); NULL 504 tools/crmadmin.c mainloop = g_main_loop_new(NULL, FALSE); NULL 506 tools/crmadmin.c admin_message_timeout, NULL); NULL 512 tools/crmadmin.c if (controld_api != NULL) { NULL 514 tools/crmadmin.c controld_api = NULL; // Ensure we can't free this twice NULL 518 tools/crmadmin.c if (pacemakerd_api != NULL) { NULL 520 tools/crmadmin.c pacemakerd_api = NULL; // Ensure we can't free this twice NULL 524 tools/crmadmin.c if (mainloop != NULL) { NULL 526 tools/crmadmin.c mainloop = NULL; NULL 591 tools/crmadmin.c xmlNode *node = NULL; NULL 594 tools/crmadmin.c for (node = first_named_child(nodes, XML_CIB_TAG_NODE); node != NULL; NULL 604 tools/crmadmin.c if (node_type == NULL) { NULL 108 tools/ipmiservicelogd.c return NULL; NULL 144 tools/ipmiservicelogd.c return NULL; NULL 150 tools/ipmiservicelogd.c return NULL; NULL 171 tools/ipmiservicelogd.c return NULL; NULL 206 tools/ipmiservicelogd.c return NULL; NULL 213 tools/ipmiservicelogd.c return NULL; NULL 216 tools/ipmiservicelogd.c return NULL; NULL 226 tools/ipmiservicelogd.c NULL NULL 239 tools/ipmiservicelogd.c NULL NULL 257 tools/ipmiservicelogd.c ipmi_parse_args_iter_help(con_usage, NULL); NULL 263 tools/ipmiservicelogd.c servicelog *slog = NULL; NULL 267 tools/ipmiservicelogd.c char *serial_number = NULL; NULL 268 tools/ipmiservicelogd.c char *product_name = NULL; NULL 300 tools/ipmiservicelogd.c sl_event.next = NULL; /* only used if in a linked list */ NULL 302 tools/ipmiservicelogd.c sl_event.time_logged = time (NULL); NULL 303 tools/ipmiservicelogd.c sl_event.time_event = time (NULL); NULL 304 tools/ipmiservicelogd.c sl_event.time_last_update = time (NULL); NULL 320 tools/ipmiservicelogd.c sl_event.callouts = NULL; NULL 322 tools/ipmiservicelogd.c sl_event.raw_data = NULL; NULL 479 tools/ipmiservicelogd.c sensor_threshold_event_handler, NULL); NULL 482 tools/ipmiservicelogd.c sensor_discrete_event_handler, NULL); NULL 547 tools/ipmiservicelogd.c for (char **arg = &argv[1]; *arg != NULL; ++arg) { NULL 572 tools/ipmiservicelogd.c rv = ipmi_args_setup_con(args, os_hnd, NULL, &con); NULL 587 tools/ipmiservicelogd.c rv = ipmi_smi_setup_con(0, os_hnd, NULL, &con); NULL 595 tools/ipmiservicelogd.c rv = ipmi_open_domain("", &con, 1, setup_done, NULL, NULL, NULL, NULL, 0, NULL); NULL 21 tools/iso8601.c "help", no_argument, NULL, '?', NULL 25 tools/iso8601.c "version", no_argument, NULL, '$', NULL 29 tools/iso8601.c "verbose", no_argument, NULL, 'V', NULL 33 tools/iso8601.c "-spacer-", no_argument, NULL, '-', NULL 37 tools/iso8601.c "now", no_argument, NULL, 'n', NULL 41 tools/iso8601.c "date", required_argument, NULL, 'd', NULL 47 tools/iso8601.c "period", required_argument, NULL, 'p', NULL 53 tools/iso8601.c "duration", required_argument, NULL, 'D', NULL 57 tools/iso8601.c "expected", required_argument, NULL, 'E', NULL 63 tools/iso8601.c "-spacer-", no_argument, NULL, '-', NULL 67 tools/iso8601.c "seconds", no_argument, NULL, 's', NULL 72 tools/iso8601.c "epoch", no_argument, NULL, 'S', NULL 77 tools/iso8601.c "local", no_argument, NULL, 'L', NULL 81 tools/iso8601.c "ordinal", no_argument, NULL, 'O', NULL 85 tools/iso8601.c "week", no_argument, NULL, 'W', NULL 89 tools/iso8601.c "-spacer-", no_argument, NULL, '-', NULL 103 tools/iso8601.c CRM_ASSERT(start != NULL && end != NULL); NULL 117 tools/iso8601.c crm_time_t *duration = NULL; NULL 118 tools/iso8601.c crm_time_t *date_time = NULL; NULL 120 tools/iso8601.c const char *period_s = NULL; NULL 121 tools/iso8601.c const char *duration_s = NULL; NULL 122 tools/iso8601.c const char *date_time_s = NULL; NULL 123 tools/iso8601.c const char *expected_s = NULL; NULL 126 tools/iso8601.c pcmk__set_cli_options(NULL, "<command> [options] ", long_options, NULL 134 tools/iso8601.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); NULL 181 tools/iso8601.c date_time = crm_time_new(NULL); NULL 183 tools/iso8601.c if (date_time == NULL) { NULL 195 tools/iso8601.c if (date_time == NULL) { NULL 208 tools/iso8601.c if (duration == NULL) { NULL 220 tools/iso8601.c if (period == NULL) { NULL 234 tools/iso8601.c if (later == NULL) { NULL 75 tools/notifyServicelogEvent.c "help", no_argument, NULL, '?', NULL 79 tools/notifyServicelogEvent.c "version", no_argument, NULL, '$', NULL 83 tools/notifyServicelogEvent.c "-spacer-", no_argument, NULL, '-', NULL 87 tools/notifyServicelogEvent.c "-spacer-", no_argument, NULL, '-', NULL 102 tools/notifyServicelogEvent.c servicelog *slog = NULL; NULL 103 tools/notifyServicelogEvent.c struct sl_event *event = NULL; NULL 107 tools/notifyServicelogEvent.c pcmk__set_cli_options(NULL, "<event_id>", long_options, NULL 115 tools/notifyServicelogEvent.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); NULL 170 tools/notifyServicelogEvent.c const char *health_status = NULL; NULL 183 tools/notifyServicelogEvent.c attrd_rc = pcmk__node_attr_request(NULL, 'v', NULL, NULL 185 tools/notifyServicelogEvent.c NULL, NULL, NULL, NULL, NULL 104 tools/stonith_admin.c { NULL } NULL 114 tools/stonith_admin.c NULL }, NULL 117 tools/stonith_admin.c NULL }, NULL 125 tools/stonith_admin.c NULL }, NULL 144 tools/stonith_admin.c NULL }, NULL 146 tools/stonith_admin.c { NULL } NULL 163 tools/stonith_admin.c { NULL } NULL 169 tools/stonith_admin.c NULL }, NULL 172 tools/stonith_admin.c NULL }, NULL 219 tools/stonith_admin.c NULL }, NULL 226 tools/stonith_admin.c { NULL } NULL 234 tools/stonith_admin.c { NULL, NULL, NULL } NULL 239 tools/stonith_admin.c static char *name = NULL; NULL 247 tools/stonith_admin.c if (env == NULL) { NULL 261 tools/stonith_admin.c options.devices = stonith_key_value_add(options.devices, NULL, optarg); NULL 273 tools/stonith_admin.c char *name = NULL; NULL 274 tools/stonith_admin.c char *value = NULL; NULL 305 tools/stonith_admin.c GOptionContext *context = NULL; NULL 310 tools/stonith_admin.c NULL }, NULL 312 tools/stonith_admin.c { NULL } NULL 315 tools/stonith_admin.c context = pcmk__build_arg_context(args, "text (default), html, xml", group, NULL); NULL 340 tools/stonith_admin.c char *target = NULL; NULL 341 tools/stonith_admin.c const char *device = NULL; NULL 344 tools/stonith_admin.c stonith_t *st = NULL; NULL 346 tools/stonith_admin.c pcmk__output_t *out = NULL; NULL 349 tools/stonith_admin.c GError *error = NULL; NULL 350 tools/stonith_admin.c GOptionContext *context = NULL; NULL 351 tools/stonith_admin.c GOptionGroup *output_group = NULL; NULL 352 tools/stonith_admin.c gchar **processed_args = NULL; NULL 403 tools/stonith_admin.c if (options.register_dev != NULL) { NULL 409 tools/stonith_admin.c if (options.query != NULL) { NULL 414 tools/stonith_admin.c if (options.unregister_dev != NULL) { NULL 419 tools/stonith_admin.c if (options.targets != NULL) { NULL 424 tools/stonith_admin.c if (options.terminate != NULL) { NULL 435 tools/stonith_admin.c if (options.reboot_host != NULL) { NULL 442 tools/stonith_admin.c if (options.fence_host != NULL) { NULL 449 tools/stonith_admin.c if (options.unfence_host != NULL) { NULL 456 tools/stonith_admin.c if (options.confirm_host != NULL) { NULL 462 tools/stonith_admin.c if (options.last_fenced != NULL) { NULL 467 tools/stonith_admin.c if (options.history != NULL) { NULL 472 tools/stonith_admin.c if (options.register_level != NULL) { NULL 477 tools/stonith_admin.c if (options.unregister_level != NULL) { NULL 483 tools/stonith_admin.c char *help = g_option_context_get_help(context, TRUE, NULL); NULL 491 tools/stonith_admin.c if (required_agent && options.agent == NULL) { NULL 492 tools/stonith_admin.c char *help = g_option_context_get_help(context, TRUE, NULL); NULL 504 tools/stonith_admin.c if (st == NULL) { NULL 507 tools/stonith_admin.c rc = st->cmds->connect(st, name, NULL); NULL 535 tools/stonith_admin.c rc = st->cmds->list(st, st_opts, device, NULL, options.timeout); NULL 549 tools/stonith_admin.c rc = st->cmds->register_device(st, st_opts, device, NULL, options.agent, NULL 605 tools/stonith_admin.c device = options.devices ? options.devices->key : NULL; NULL 619 tools/stonith_admin.c if (out != NULL) { NULL 620 tools/stonith_admin.c out->finish(out, exit_code, true, NULL); NULL 626 tools/stonith_admin.c if (st != NULL) {