CRM_CHECK 27 daemons/attrd/attrd_alerts.c CRM_CHECK(op != NULL, return); CRM_CHECK 113 daemons/attrd/attrd_alerts.c CRM_CHECK(the_cib != NULL, return TRUE); CRM_CHECK 146 daemons/attrd/attrd_cib.c CRM_CHECK(the_cib != NULL, return); CRM_CHECK 519 daemons/attrd/attrd_cib.c CRM_CHECK(the_cib != NULL, goto done); CRM_CHECK 68 daemons/attrd/attrd_corosync.c CRM_CHECK(request.op != NULL, return); CRM_CHECK 542 daemons/attrd/attrd_corosync.c CRM_CHECK(host != NULL, return); CRM_CHECK 590 daemons/attrd/attrd_corosync.c CRM_CHECK((peer != NULL) && (xml != NULL), return); CRM_CHECK 404 daemons/attrd/attrd_ipc.c CRM_CHECK((request != NULL) && (request->xml != NULL), return NULL); CRM_CHECK 565 daemons/attrd/attrd_ipc.c CRM_CHECK((c != NULL) && (client != NULL), return 0); CRM_CHECK 593 daemons/attrd/attrd_ipc.c CRM_CHECK(request.op != NULL, return 0); CRM_CHECK 316 daemons/attrd/attrd_sync.c CRM_CHECK(xml != NULL, return NULL); CRM_CHECK 1364 daemons/based/based_callbacks.c CRM_CHECK(result_cib == NULL, free_xml(result_cib)); CRM_CHECK 422 daemons/based/based_messages.c CRM_CHECK(the_cib != NULL, return -EINVAL); CRM_CHECK 423 daemons/based/based_messages.c CRM_CHECK(all || (host != NULL), return -EINVAL); CRM_CHECK 181 daemons/based/based_remote.c CRM_CHECK(usr != NULL, return FALSE); CRM_CHECK 182 daemons/based/based_remote.c CRM_CHECK(grp != NULL, return FALSE); CRM_CHECK 559 daemons/based/based_remote.c CRM_CHECK(data, return PAM_CONV_ERR); CRM_CHECK 560 daemons/based/based_remote.c CRM_CHECK(num_msg == 1, return PAM_CONV_ERR); /* We only want to handle one message */ CRM_CHECK 130 daemons/based/based_transaction.c CRM_CHECK(pcmk__xe_is(transaction, T_CIB_TRANSACTION), CRM_CHECK 140 daemons/based/based_transaction.c CRM_CHECK((*result_cib != NULL) && (*result_cib != the_cib), CRM_CHECK 152 daemons/controld/controld_callbacks.c CRM_CHECK(!pcmk__str_eq(data, node->state, pcmk__str_casei), CRM_CHECK 173 daemons/controld/controld_callbacks.c CRM_CHECK(data != NULL, return); CRM_CHECK 421 daemons/controld/controld_cib.c CRM_CHECK((rsc_id != NULL) && (node != NULL), return EINVAL); CRM_CHECK 676 daemons/controld/controld_cib.c CRM_CHECK(caller_version != NULL, caller_version = CRM_FEATURE_SET); CRM_CHECK 736 daemons/controld/controld_cib.c CRM_CHECK((node_name != NULL) && (rsc != NULL) && (op != NULL), CRM_CHECK 884 daemons/controld/controld_cib.c CRM_CHECK((node_name != NULL) && (op != NULL), return); CRM_CHECK 964 daemons/controld/controld_cib.c CRM_CHECK(op != NULL, return); CRM_CHECK 1023 daemons/controld/controld_cib.c CRM_CHECK((rsc_id != NULL) && (node != NULL), return); CRM_CHECK 1059 daemons/controld/controld_cib.c CRM_CHECK((rsc_id != NULL) && (node != NULL) && (key != NULL), return); CRM_CHECK 285 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return); CRM_CHECK 585 daemons/controld/controld_execd.c CRM_CHECK(peer != NULL, return NULL); CRM_CHECK 711 daemons/controld/controld_execd.c CRM_CHECK(rsc_id != NULL, return); CRM_CHECK 795 daemons/controld/controld_execd.c CRM_CHECK(op != 0, return FALSE); CRM_CHECK 796 daemons/controld/controld_execd.c CRM_CHECK(rsc_id != NULL, return FALSE); CRM_CHECK 873 daemons/controld/controld_execd.c CRM_CHECK(rsc != NULL, return FALSE); CRM_CHECK 874 daemons/controld/controld_execd.c CRM_CHECK(key != NULL, return FALSE); CRM_CHECK 912 daemons/controld/controld_execd.c CRM_CHECK(lrm_state && rsc_xml && rsc_info, return -EINVAL); CRM_CHECK 913 daemons/controld/controld_execd.c CRM_CHECK(id, return -EINVAL); CRM_CHECK 1165 daemons/controld/controld_execd.c CRM_CHECK(xml_rsc != NULL, return); CRM_CHECK 1247 daemons/controld/controld_execd.c CRM_CHECK(params != NULL, return FALSE); CRM_CHECK 1252 daemons/controld/controld_execd.c CRM_CHECK(op_task != NULL, return FALSE); CRM_CHECK 1453 daemons/controld/controld_execd.c CRM_CHECK(!pcmk__str_empty(crm_op) || !pcmk__str_empty(operation), return); CRM_CHECK 1496 daemons/controld/controld_execd.c CRM_CHECK(xml_rsc && ID(xml_rsc), return); CRM_CHECK 1705 daemons/controld/controld_execd.c CRM_CHECK(transition != NULL, return op); CRM_CHECK 1746 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return); CRM_CHECK 1917 daemons/controld/controld_execd.c CRM_CHECK((rsc != NULL) && (msg != NULL), return); CRM_CHECK 1920 daemons/controld/controld_execd.c CRM_CHECK(!pcmk__str_empty(operation), return); CRM_CHECK 1954 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return); CRM_CHECK 2071 daemons/controld/controld_execd.c CRM_CHECK(FALSE, return); CRM_CHECK 2105 daemons/controld/controld_execd.c CRM_CHECK(lrm_state != NULL, return FALSE); CRM_CHECK 2106 daemons/controld/controld_execd.c CRM_CHECK(rsc_id != NULL, return FALSE); CRM_CHECK 2107 daemons/controld/controld_execd.c CRM_CHECK(op_type != NULL, return FALSE); CRM_CHECK 2225 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return); CRM_CHECK 2226 daemons/controld/controld_execd.c CRM_CHECK(op->rsc_id != NULL, return); CRM_CHECK 154 daemons/controld/controld_execd_state.c CRM_CHECK(proxy_table != NULL, return NULL); CRM_CHECK 173 daemons/controld/controld_execd_state.c CRM_CHECK(proxy_table != NULL, return); CRM_CHECK 315 daemons/controld/controld_execd_state.c CRM_CHECK(lrm_state_table != NULL, return NULL); CRM_CHECK 550 daemons/controld/controld_execd_state.c CRM_CHECK(request != NULL, return); CRM_CHECK 551 daemons/controld/controld_execd_state.c CRM_CHECK(lrm_state->node_name, return); CRM_CHECK 218 daemons/controld/controld_fencing.c CRM_CHECK(target != NULL, return); CRM_CHECK 219 daemons/controld/controld_fencing.c CRM_CHECK(uuid != NULL, return); CRM_CHECK 227 daemons/controld/controld_fencing.c CRM_CHECK(peer != NULL, return); CRM_CHECK 806 daemons/controld/controld_fencing.c CRM_CHECK(decode_transition_key(data->userdata, &uuid, &transition_id, CRM_CHECK 966 daemons/controld/controld_fencing.c CRM_CHECK(id != NULL, invalid_action = TRUE); CRM_CHECK 967 daemons/controld/controld_fencing.c CRM_CHECK(uuid != NULL, invalid_action = TRUE); CRM_CHECK 968 daemons/controld/controld_fencing.c CRM_CHECK(type != NULL, invalid_action = TRUE); CRM_CHECK 969 daemons/controld/controld_fencing.c CRM_CHECK(target != NULL, invalid_action = TRUE); CRM_CHECK 314 daemons/controld/controld_fsa.c CRM_CHECK(fsa_data != NULL, return); CRM_CHECK 113 daemons/controld/controld_join_client.c CRM_CHECK(input != NULL, return); CRM_CHECK 124 daemons/controld/controld_join_dc.c CRM_CHECK(node != NULL, return); CRM_CHECK 125 daemons/controld/controld_messages.c CRM_CHECK(((ha_msg_input_t *) data)->msg != NULL, CRM_CHECK 297 daemons/controld/controld_messages.c CRM_CHECK(cause == C_IPC_MESSAGE || cause == C_HA_MESSAGE, return); CRM_CHECK 347 daemons/controld/controld_messages.c CRM_CHECK(msg != NULL, return TRUE); CRM_CHECK 597 daemons/controld/controld_messages.c CRM_CHECK(msg != NULL, return I_NULL); CRM_CHECK 674 daemons/controld/controld_messages.c CRM_CHECK(msg_data != NULL, return I_NULL); CRM_CHECK 702 daemons/controld/controld_messages.c CRM_CHECK(rsc_xml != NULL, return I_NULL); CRM_CHECK 769 daemons/controld/controld_messages.c CRM_CHECK(remote_uname && rc == pcmk_rc_ok, return I_NULL); CRM_CHECK 772 daemons/controld/controld_messages.c CRM_CHECK(remote_peer, return I_NULL); CRM_CHECK 1257 daemons/controld/controld_messages.c CRM_CHECK(sys != NULL, return); CRM_CHECK 134 daemons/controld/controld_metadata.c CRM_CHECK(mdc && rsc && metadata_str, return NULL); CRM_CHECK 264 daemons/controld/controld_metadata.c CRM_CHECK((lrm_state != NULL) && (rsc != NULL), return NULL); CRM_CHECK 285 daemons/controld/controld_remote_ra.c CRM_CHECK(node_name != NULL, return); CRM_CHECK 300 daemons/controld/controld_remote_ra.c CRM_CHECK(node != NULL, return); CRM_CHECK 383 daemons/controld/controld_remote_ra.c CRM_CHECK(node != NULL, return); CRM_CHECK 424 daemons/controld/controld_remote_ra.c CRM_CHECK(node != NULL, return); CRM_CHECK 1258 daemons/controld/controld_remote_ra.c CRM_CHECK((lrm_state != NULL) && (rsc_id != NULL) && (action != NULL) CRM_CHECK 1402 daemons/controld/controld_remote_ra.c CRM_CHECK(node != NULL, return); CRM_CHECK 63 daemons/controld/controld_schedulerd.c CRM_CHECK(id != NULL, return); CRM_CHECK 117 daemons/controld/controld_te_actions.c CRM_CHECK(!pcmk__str_empty(id), return EPROTO); CRM_CHECK 120 daemons/controld/controld_te_actions.c CRM_CHECK(!pcmk__str_empty(task), return EPROTO); CRM_CHECK 123 daemons/controld/controld_te_actions.c CRM_CHECK(!pcmk__str_empty(on_node), return pcmk_rc_node_unknown); CRM_CHECK 269 daemons/controld/controld_te_actions.c CRM_CHECK(rsc_id != NULL, CRM_CHECK 367 daemons/controld/controld_te_actions.c CRM_CHECK(!pcmk__str_empty(on_node), CRM_CHECK 695 daemons/controld/controld_te_actions.c CRM_CHECK(graph->complete, graph->complete = true); CRM_CHECK 45 daemons/controld/controld_te_callbacks.c CRM_CHECK(diff != NULL, return); CRM_CHECK 230 daemons/controld/controld_te_callbacks.c CRM_CHECK(xml != NULL, return); CRM_CHECK 233 daemons/controld/controld_te_callbacks.c CRM_CHECK(pcmk__xe_is(xml, XML_LRM_TAG_RESOURCES), return); CRM_CHECK 533 daemons/controld/controld_te_callbacks.c CRM_CHECK(msg != NULL, return); CRM_CHECK 583 daemons/controld/controld_te_callbacks.c CRM_CHECK(msg != NULL, return); CRM_CHECK 652 daemons/controld/controld_te_callbacks.c CRM_CHECK(data != NULL, return FALSE); CRM_CHECK 193 daemons/controld/controld_te_events.c CRM_CHECK(on_uname != NULL, return TRUE); CRM_CHECK 194 daemons/controld/controld_te_events.c CRM_CHECK(parse_op_key(id, &rsc_id, &task, &interval_ms), CRM_CHECK 357 daemons/controld/controld_te_utils.c CRM_CHECK(controld_globals.transition_graph != NULL, return); CRM_CHECK 439 daemons/controld/controld_te_utils.c CRM_CHECK(reason != NULL, goto done); CRM_CHECK 92 daemons/controld/controld_timers.c CRM_CHECK(timer != NULL, return false); CRM_CHECK 163 daemons/controld/controld_transition.c CRM_CHECK(graph_data != NULL, CRM_CHECK 171 daemons/controld/controld_transition.c CRM_CHECK(controld_globals.transition_graph != NULL, CRM_CHECK 700 daemons/controld/controld_utils.c CRM_CHECK(dc_version != NULL, return FALSE); CRM_CHECK 701 daemons/controld/controld_utils.c CRM_CHECK(welcome_from != NULL, return FALSE); CRM_CHECK 835 daemons/controld/controld_utils.c CRM_CHECK(node != NULL, return NULL); CRM_CHECK 74 daemons/execd/execd_alerts.c CRM_CHECK(cb_data != NULL, return); CRM_CHECK 507 daemons/execd/execd_commands.c CRM_CHECK(cmd != NULL, return); CRM_CHECK 508 daemons/execd/execd_commands.c CRM_CHECK(rsc != NULL, return); CRM_CHECK 555 daemons/execd/execd_commands.c CRM_CHECK(client != NULL, return); CRM_CHECK 1369 daemons/execd/execd_commands.c CRM_CHECK(rsc != NULL, return FALSE); CRM_CHECK 131 daemons/execd/pacemaker-execd.c CRM_CHECK(client != NULL, crm_err("Invalid client"); CRM_CHECK 133 daemons/execd/pacemaker-execd.c CRM_CHECK(client->id != NULL, crm_err("Invalid client: %p", client); CRM_CHECK 136 daemons/execd/pacemaker-execd.c CRM_CHECK(flags & crm_ipc_client_response, crm_err("Invalid client request: %p", client); CRM_CHECK 255 daemons/execd/remoted_proxy.c CRM_CHECK(client != NULL, crm_err("Invalid client"); CRM_CHECK 257 daemons/execd/remoted_proxy.c CRM_CHECK(client->id != NULL, crm_err("Invalid client: %p", client); CRM_CHECK 218 daemons/execd/remoted_tls.c CRM_CHECK(ssock >= 0, return TRUE); CRM_CHECK 358 daemons/execd/remoted_tls.c CRM_CHECK(ssock == -1, return ssock); CRM_CHECK 48 daemons/fenced/fenced_cib.c CRM_CHECK((local_cib != NULL) && (node != NULL) && (name != NULL) CRM_CHECK 76 daemons/fenced/fenced_cib.c CRM_CHECK(match != NULL, return); CRM_CHECK 108 daemons/fenced/fenced_cib.c CRM_CHECK(match != NULL, return); CRM_CHECK 407 daemons/fenced/fenced_commands.c CRM_CHECK(device != NULL, return 0); CRM_CHECK 500 daemons/fenced/fenced_commands.c CRM_CHECK(device != NULL, return FALSE); CRM_CHECK 640 daemons/fenced/fenced_commands.c CRM_CHECK(cmd != NULL, return); CRM_CHECK 641 daemons/fenced/fenced_commands.c CRM_CHECK(device != NULL, return); CRM_CHECK 1075 daemons/fenced/fenced_commands.c CRM_CHECK(agent != NULL, return device); CRM_CHECK 1079 daemons/fenced/fenced_commands.c CRM_CHECK(device != NULL, {free(agent); return device;}); CRM_CHECK 1384 daemons/fenced/fenced_commands.c CRM_CHECK(device != NULL, return -ENOMEM); CRM_CHECK 1731 daemons/fenced/fenced_commands.c CRM_CHECK((msg != NULL) && (result != NULL), return); CRM_CHECK 1844 daemons/fenced/fenced_commands.c CRM_CHECK(result != NULL, return); CRM_CHECK 2131 daemons/fenced/fenced_commands.c CRM_CHECK((dev != NULL) && (action != NULL), goto search_report_results); CRM_CHECK 2304 daemons/fenced/fenced_commands.c CRM_CHECK(xml && action && device, return); CRM_CHECK 2399 daemons/fenced/fenced_commands.c CRM_CHECK((reply != NULL) && ((remote_peer != NULL) || (client != NULL)), CRM_CHECK 2622 daemons/fenced/fenced_commands.c CRM_CHECK((cmd != NULL) && (result != NULL), return); CRM_CHECK 2785 daemons/fenced/fenced_commands.c CRM_CHECK(cmd != NULL, return); CRM_CHECK 2891 daemons/fenced/fenced_commands.c CRM_CHECK((msg != NULL) && (result != NULL), return); CRM_CHECK 3636 daemons/fenced/fenced_commands.c CRM_CHECK(message != NULL, return); CRM_CHECK 3667 daemons/fenced/fenced_commands.c CRM_CHECK(request.op != NULL, return); CRM_CHECK 545 daemons/fenced/fenced_remote.c CRM_CHECK((op != NULL), return); CRM_CHECK 855 daemons/fenced/fenced_remote.c CRM_CHECK(node && tp && tp->target, return FALSE); CRM_CHECK 1102 daemons/fenced/fenced_remote.c CRM_CHECK(dev != NULL, return EPROTO); CRM_CHECK 1151 daemons/fenced/fenced_remote.c CRM_CHECK(op_id != NULL, return NULL); CRM_CHECK 1285 daemons/fenced/fenced_remote.c CRM_CHECK(op->action, return NULL); CRM_CHECK 1778 daemons/fenced/fenced_remote.c CRM_CHECK(op != NULL, return); CRM_CHECK 1942 daemons/fenced/fenced_remote.c CRM_CHECK(op->state < st_done, return); CRM_CHECK 2196 daemons/fenced/fenced_remote.c CRM_CHECK(peer != NULL, return NULL); CRM_CHECK 2211 daemons/fenced/fenced_remote.c CRM_CHECK(ndevices == peer->ndevices, CRM_CHECK 2246 daemons/fenced/fenced_remote.c CRM_CHECK(dev != NULL, return -EPROTO); CRM_CHECK 2249 daemons/fenced/fenced_remote.c CRM_CHECK(id != NULL, return -EPROTO); CRM_CHECK 2252 daemons/fenced/fenced_remote.c CRM_CHECK(dev != NULL, return -EPROTO); CRM_CHECK 2345 daemons/fenced/fenced_remote.c CRM_CHECK(dev != NULL, return); CRM_CHECK 2348 daemons/fenced/fenced_remote.c CRM_CHECK(id != NULL, return); CRM_CHECK 2351 daemons/fenced/fenced_remote.c CRM_CHECK(dev != NULL, return); CRM_CHECK 211 daemons/fenced/fenced_scheduler.c CRM_CHECK((cib != NULL) && (scheduler != NULL), return); CRM_CHECK 287 daemons/fenced/pacemaker-fenced.c CRM_CHECK(client != NULL, return); CRM_CHECK 288 daemons/fenced/pacemaker-fenced.c CRM_CHECK(update_msg != NULL, return); CRM_CHECK 291 daemons/fenced/pacemaker-fenced.c CRM_CHECK(type != NULL, crm_log_xml_err(update_msg, "notify"); return); CRM_CHECK 391 daemons/fenced/pacemaker-fenced.c CRM_CHECK(notify_data != NULL, return); CRM_CHECK 212 daemons/pacemakerd/pcmkd_messages.c CRM_CHECK(c != NULL, return 0); CRM_CHECK 239 daemons/pacemakerd/pcmkd_messages.c CRM_CHECK(request.op != NULL, return 0); CRM_CHECK 235 daemons/schedulerd/schedulerd_messages.c CRM_CHECK(c != NULL, return 0); CRM_CHECK 275 daemons/schedulerd/schedulerd_messages.c CRM_CHECK(request.op != NULL, return 0); CRM_CHECK 320 include/crm/common/internal.h CRM_CHECK(prefix && rsc_id && op, return NULL); CRM_CHECK 186 lib/cib/cib_attrs.c CRM_CHECK((out != NULL) && (cib != NULL) && (section != NULL) CRM_CHECK 351 lib/cib/cib_attrs.c CRM_CHECK(section != NULL, return EINVAL); CRM_CHECK 379 lib/cib/cib_attrs.c CRM_CHECK(section != NULL, return EINVAL); CRM_CHECK 380 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return EINVAL); CRM_CHECK 550 lib/cib/cib_attrs.c CRM_CHECK(result != NULL, return rc); CRM_CHECK 679 lib/cib/cib_attrs.c CRM_CHECK(pcmk__xe_is(xml_obj, XML_CIB_TAG_NODES), return -ENOMSG); CRM_CHECK 712 lib/cib/cib_attrs.c CRM_CHECK(uuid != NULL, return -EINVAL); CRM_CHECK 713 lib/cib/cib_attrs.c CRM_CHECK(standby_value != NULL, return -EINVAL); CRM_CHECK 60 lib/cib/cib_client.c CRM_CHECK(a_client->event != NULL && b_client->event != NULL, return 0); CRM_CHECK 552 lib/cib/cib_client.c CRM_CHECK(shadow != NULL, return NULL); CRM_CHECK 668 lib/cib/cib_file.c CRM_CHECK(cib_location != NULL, return NULL); // Shouldn't be possible CRM_CHECK 1114 lib/cib/cib_file.c CRM_CHECK(pcmk__xe_is(transaction, T_CIB_TRANSACTION), CRM_CHECK 1124 lib/cib/cib_file.c CRM_CHECK((*result_cib != NULL) && (*result_cib != private->cib_xml), CRM_CHECK 1164 lib/cib/cib_file.c CRM_CHECK(client_id != NULL, return -EINVAL); CRM_CHECK 1167 lib/cib/cib_file.c CRM_CHECK(cib != NULL, return -EINVAL); CRM_CHECK 97 lib/cib/cib_native.c CRM_CHECK(cib->call_id != 0, return -ENOMSG); CRM_CHECK 180 lib/cib/cib_ops.c CRM_CHECK(*answer == NULL, free_xml(*answer)); CRM_CHECK 490 lib/cib/cib_ops.c CRM_CHECK(obj_root != NULL, return -EINVAL); CRM_CHECK 534 lib/cib/cib_ops.c CRM_CHECK(update != NULL, return -EINVAL); CRM_CHECK 535 lib/cib/cib_ops.c CRM_CHECK(parent != NULL, return -EINVAL); CRM_CHECK 538 lib/cib/cib_ops.c CRM_CHECK(object_name != NULL, return -EINVAL); CRM_CHECK 720 lib/cib/cib_ops.c CRM_CHECK(strcmp(op, PCMK__CIB_REQUEST_CREATE) == 0, return -EINVAL); CRM_CHECK 166 lib/cib/cib_utils.c CRM_CHECK(element_xpath != NULL, return false); // Unsupported element CRM_CHECK 364 lib/cib/cib_utils.c CRM_CHECK(output != NULL, return -ENOMSG); CRM_CHECK 365 lib/cib/cib_utils.c CRM_CHECK(current_cib != NULL, return -ENOMSG); CRM_CHECK 366 lib/cib/cib_utils.c CRM_CHECK(result_cib != NULL, return -ENOMSG); CRM_CHECK 367 lib/cib/cib_utils.c CRM_CHECK(config_changed != NULL, return -ENOMSG); CRM_CHECK 454 lib/cib/cib_utils.c CRM_CHECK(*current_cib != scratch, return -EINVAL); CRM_CHECK 678 lib/cib/cib_utils.c CRM_CHECK((cib != NULL) && (op_msg != NULL), return -EPROTO); CRM_CHECK 707 lib/cib/cib_utils.c CRM_CHECK(pcmk_is_set(call_options, cib_scope_local), CRM_CHECK 255 lib/cluster/cluster.c CRM_CHECK(uuid != NULL, return NULL); CRM_CHECK 939 lib/cluster/cpg.c CRM_CHECK(dest != crm_msg_ais, return FALSE); CRM_CHECK 1059 lib/cluster/cpg.c CRM_CHECK(text != NULL, return type); CRM_CHECK 95 lib/cluster/election.c CRM_CHECK(uname != NULL, return NULL); CRM_CHECK 425 lib/cluster/election.c CRM_CHECK(message && vote, return FALSE); CRM_CHECK 545 lib/cluster/election.c CRM_CHECK(message != NULL, return election_error); CRM_CHECK 199 lib/cluster/membership.c CRM_CHECK(remote != NULL, return); CRM_CHECK 833 lib/cluster/membership.c CRM_CHECK(uname != NULL, CRM_CHECK 835 lib/cluster/membership.c CRM_CHECK(node != NULL, CRM_CHECK 929 lib/cluster/membership.c CRM_CHECK(node != NULL, crm_err("%s: Could not set %s to %s for NULL", CRM_CHECK 1024 lib/cluster/membership.c CRM_CHECK(node != NULL, crm_err("%s: Could not set 'expected' to %s", source, expected); CRM_CHECK 1070 lib/cluster/membership.c CRM_CHECK(node != NULL, CRM_CHECK 1265 lib/cluster/membership.c CRM_CHECK(id != NULL && uname !=NULL, return); CRM_CHECK 801 lib/common/acl.c CRM_CHECK(effective_user != NULL, return NULL); CRM_CHECK 186 lib/common/actions.c CRM_CHECK(rsc_id != NULL, return NULL); CRM_CHECK 187 lib/common/actions.c CRM_CHECK(op_type != NULL, return NULL); CRM_CHECK 188 lib/common/actions.c CRM_CHECK(notify_type != NULL, return NULL); CRM_CHECK 218 lib/common/actions.c CRM_CHECK(magic != NULL, return FALSE); CRM_CHECK 253 lib/common/actions.c CRM_CHECK(node != NULL, return NULL); CRM_CHECK 294 lib/common/actions.c CRM_CHECK(key != NULL, return FALSE); CRM_CHECK 433 lib/common/actions.c CRM_CHECK(prefix && task && interval_spec, return NULL); CRM_CHECK 461 lib/common/actions.c CRM_CHECK((rsc_class != NULL) || (op != NULL), return false); CRM_CHECK 129 lib/common/agents.c CRM_CHECK(spec && standard && provider && type, return -EINVAL); CRM_CHECK 71 lib/common/digest.c CRM_CHECK(buffer->len > 0, free_xml(copy); CRM_CHECK 53 lib/common/io.c CRM_CHECK(path != NULL, return -ENOMEM); CRM_CHECK 87 lib/common/io.c CRM_CHECK((path != NULL) && (resolved_path != NULL), return EINVAL); CRM_CHECK 194 lib/common/io.c CRM_CHECK(directory != NULL, return); CRM_CHECK 195 lib/common/io.c CRM_CHECK(series != NULL, return); CRM_CHECK 375 lib/common/ipc_client.c CRM_CHECK(api != NULL, return 0); CRM_CHECK 177 lib/common/ipc_server.c CRM_CHECK(client->user != NULL, free(client); return NULL); CRM_CHECK 225 lib/common/ipc_server.c CRM_CHECK(c != NULL, return NULL); CRM_CHECK 417 lib/common/iso8601.c CRM_CHECK(dt->days > 0, return FALSE); CRM_CHECK 1309 lib/common/iso8601.c CRM_CHECK(target != NULL && source != NULL, return); CRM_CHECK 1172 lib/common/logging.c CRM_CHECK(pcmk__log_output_new(&logger_out) == pcmk_rc_ok, return); CRM_CHECK 1209 lib/common/logging.c CRM_CHECK(pcmk__log_output_new(&logger_out) == pcmk_rc_ok, return); CRM_CHECK 1240 lib/common/logging.c CRM_CHECK(pcmk__log_output_new(&logger_out) == pcmk_rc_ok, return); CRM_CHECK 872 lib/common/mainloop.c CRM_CHECK((ipc != NULL) && (callbacks != NULL), return EINVAL); CRM_CHECK 1455 lib/common/mainloop.c CRM_CHECK(mloop && check, return); CRM_CHECK 255 lib/common/messages.c CRM_CHECK((request != NULL) && (request->op != NULL) && (handlers != NULL), CRM_CHECK 260 lib/common/messages.c CRM_CHECK(request->ipc_client->request_id == request->ipc_id, CRM_CHECK 307 lib/common/nvpair.c CRM_CHECK(node != NULL, return NULL); CRM_CHECK 308 lib/common/nvpair.c CRM_CHECK(name != NULL, return NULL); CRM_CHECK 332 lib/common/nvpair.c CRM_CHECK(attr && attr->children && attr->children->content, return NULL); CRM_CHECK 487 lib/common/nvpair.c CRM_CHECK(dest != NULL, return -1); CRM_CHECK 519 lib/common/nvpair.c CRM_CHECK(dest != NULL, return -1); CRM_CHECK 545 lib/common/nvpair.c CRM_CHECK(dest != NULL, return -1); CRM_CHECK 602 lib/common/nvpair.c CRM_CHECK(dest != NULL, return -EINVAL); CRM_CHECK 771 lib/common/nvpair.c CRM_CHECK(id || name, return NULL); CRM_CHECK 774 lib/common/nvpair.c CRM_CHECK(nvp, return NULL); CRM_CHECK 833 lib/common/nvpair.c CRM_CHECK(parent != NULL, return nvpair_hash); CRM_CHECK 949 lib/common/nvpair.c CRM_CHECK(node != NULL, return NULL); CRM_CHECK 950 lib/common/nvpair.c CRM_CHECK(name != NULL && name[0] != 0, return NULL); CRM_CHECK 955 lib/common/nvpair.c CRM_CHECK(old_value != value, return value); CRM_CHECK 977 lib/common/nvpair.c CRM_CHECK(attr && attr->children && attr->children->content, return NULL); CRM_CHECK 64 lib/common/options.c CRM_CHECK(!pcmk__str_empty(option), return NULL); CRM_CHECK 114 lib/common/options.c CRM_CHECK(!pcmk__str_empty(option) && (strchr(option, '=') == NULL), CRM_CHECK 323 lib/common/options.c CRM_CHECK(validate(value) != FALSE, CRM_CHECK 365 lib/common/options.c CRM_CHECK(FALSE, crm_err("Bug: looking for unknown option '%s'", name)); CRM_CHECK 439 lib/common/output_html.c CRM_CHECK(pcmk__str_eq(out->fmt_name, "html", pcmk__str_none), return NULL); CRM_CHECK 362 lib/common/output_log.c CRM_CHECK(pcmk__str_eq(out->fmt_name, "log", pcmk__str_none), return 0); CRM_CHECK 373 lib/common/output_log.c CRM_CHECK(pcmk__str_eq(out->fmt_name, "log", pcmk__str_none), return); CRM_CHECK 400 lib/common/output_log.c CRM_CHECK(pcmk__str_eq(out->fmt_name, "log", pcmk__str_none), return); CRM_CHECK 345 lib/common/output_text.c CRM_CHECK(pcmk__str_eq(out->fmt_name, "text", pcmk__str_none), return); CRM_CHECK 367 lib/common/output_text.c CRM_CHECK(pcmk__str_eq(out->fmt_name, "text", pcmk__str_none), return); CRM_CHECK 447 lib/common/output_xml.c CRM_CHECK(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL), return NULL); CRM_CHECK 466 lib/common/output_xml.c CRM_CHECK(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL), return); CRM_CHECK 472 lib/common/output_xml.c CRM_CHECK(parent != NULL, return); CRM_CHECK 484 lib/common/output_xml.c CRM_CHECK(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL), return NULL); CRM_CHECK 501 lib/common/output_xml.c CRM_CHECK(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL), return NULL); CRM_CHECK 514 lib/common/output_xml.c CRM_CHECK(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL), return); CRM_CHECK 526 lib/common/output_xml.c CRM_CHECK(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL), return); CRM_CHECK 539 lib/common/output_xml.c CRM_CHECK(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL), return NULL); CRM_CHECK 442 lib/common/patchset.c CRM_CHECK(pcmk__xe_is(target, (const char *) patch->name), return); CRM_CHECK 443 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(ID(target), ID(patch), pcmk__str_casei), return); CRM_CHECK 509 lib/common/patchset.c CRM_CHECK(pcmk__xe_is(target, name), return); CRM_CHECK 510 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(ID(target), ID(patch), pcmk__str_casei), return); CRM_CHECK 710 lib/common/patchset.c CRM_CHECK(root_nodes_seen == 0, rc = FALSE); CRM_CHECK 730 lib/common/patchset.c CRM_CHECK(root_nodes_seen == 0, rc = FALSE); CRM_CHECK 807 lib/common/patchset.c CRM_CHECK(key != NULL, return NULL); CRM_CHECK 1176 lib/common/patchset.c CRM_CHECK(a_node != NULL, return); CRM_CHECK 1217 lib/common/patchset.c CRM_CHECK(left != NULL, return NULL); CRM_CHECK 1218 lib/common/patchset.c CRM_CHECK(left->type == XML_COMMENT_NODE, return NULL); CRM_CHECK 1275 lib/common/patchset.c CRM_CHECK(name != NULL, return NULL); CRM_CHECK 1276 lib/common/patchset.c CRM_CHECK(pcmk__xe_is(left, (const char *) right->name), return NULL); CRM_CHECK 1427 lib/common/patchset.c CRM_CHECK(new_xml != NULL, return FALSE); CRM_CHECK 1432 lib/common/patchset.c CRM_CHECK(root_nodes_seen == 0, result = FALSE); CRM_CHECK 1456 lib/common/patchset.c CRM_CHECK(root_nodes_seen == 0, result = FALSE); CRM_CHECK 470 lib/common/patchset_display.c CRM_CHECK(pcmk__text_output_new(&out, NULL) == pcmk_rc_ok, return); CRM_CHECK 482 lib/common/patchset_display.c CRM_CHECK(pcmk__log_output_new(&out) == pcmk_rc_ok, return); CRM_CHECK 119 lib/common/pid.c CRM_CHECK((filename != NULL) && (pid != NULL), return EINVAL); CRM_CHECK 501 lib/common/remote.c CRM_CHECK((remote != NULL) && (msg != NULL), return EINVAL); CRM_CHECK 504 lib/common/remote.c CRM_CHECK(xml_text != NULL, return EINVAL); CRM_CHECK 1080 lib/common/remote.c CRM_CHECK((host != NULL) && (sock_fd != NULL), return EINVAL); CRM_CHECK 1091 lib/common/results.c CRM_CHECK((src != NULL) && (dst != NULL), return); CRM_CHECK 443 lib/common/schemas.c CRM_CHECK(doc != NULL, return FALSE); CRM_CHECK 444 lib/common/schemas.c CRM_CHECK(relaxng_file != NULL, return FALSE); CRM_CHECK 454 lib/common/schemas.c CRM_CHECK(ctx->parser != NULL, goto cleanup); CRM_CHECK 469 lib/common/schemas.c CRM_CHECK(ctx->rng != NULL, CRM_CHECK 474 lib/common/schemas.c CRM_CHECK(ctx->valid != NULL, goto cleanup); CRM_CHECK 620 lib/common/schemas.c CRM_CHECK(filename != NULL, return); CRM_CHECK 683 lib/common/schemas.c CRM_CHECK((xml_blob != NULL) && (xml_blob->doc != NULL), return FALSE); CRM_CHECK 880 lib/common/schemas.c CRM_CHECK(xslt != NULL, goto cleanup); CRM_CHECK 883 lib/common/schemas.c CRM_CHECK(res != NULL, goto cleanup); CRM_CHECK 995 lib/common/schemas.c CRM_CHECK(best != NULL, return -EINVAL); CRM_CHECK 998 lib/common/schemas.c CRM_CHECK((xml_blob != NULL) && (*xml_blob != NULL) CRM_CHECK 159 lib/common/scores.c CRM_CHECK((buf != NULL) && (len >= sizeof(CRM_MINUS_INFINITY_S)), CRM_CHECK 318 lib/common/strings.c CRM_CHECK((table != NULL) && (key != NULL), return EINVAL); CRM_CHECK 474 lib/common/utils.c CRM_CHECK(field != NULL, return NULL); CRM_CHECK 345 lib/common/xml.c CRM_CHECK(needle != NULL, return NULL); CRM_CHECK 432 lib/common/xml.c CRM_CHECK(parent != NULL, return NULL); CRM_CHECK 433 lib/common/xml.c CRM_CHECK(attr_v == NULL || attr_n != NULL, return NULL); CRM_CHECK 626 lib/common/xml.c CRM_CHECK((parent != NULL) && (src_node != NULL), return NULL); CRM_CHECK 644 lib/common/xml.c CRM_CHECK(name != NULL && name[0] == 0, return NULL); CRM_CHECK 814 lib/common/xml.c CRM_CHECK(ctxt != NULL, return NULL); CRM_CHECK 1000 lib/common/xml.c CRM_CHECK(ctxt != NULL, return NULL); CRM_CHECK 1168 lib/common/xml.c CRM_CHECK(buffer && strlen(buffer), CRM_CHECK 1262 lib/common/xml.c CRM_CHECK((xml != NULL) && (fd > 0), return -EINVAL); CRM_CHECK 1290 lib/common/xml.c CRM_CHECK((xml != NULL) && (filename != NULL), return -EINVAL); CRM_CHECK 1606 lib/common/xml.c CRM_CHECK(depth >= 0, depth = 0); CRM_CHECK 2003 lib/common/xml.c CRM_CHECK(new_xml != NULL, return); CRM_CHECK 2011 lib/common/xml.c CRM_CHECK(nodepriv != NULL, return); CRM_CHECK 2070 lib/common/xml.c CRM_CHECK((old_xml != NULL) && (new_xml != NULL) CRM_CHECK 2088 lib/common/xml.c CRM_CHECK(xml_node != NULL, return FALSE); CRM_CHECK 2134 lib/common/xml.c CRM_CHECK(search_comment->type == XML_COMMENT_NODE, return NULL); CRM_CHECK 2180 lib/common/xml.c CRM_CHECK(update != NULL, return); CRM_CHECK 2181 lib/common/xml.c CRM_CHECK(update->type == XML_COMMENT_NODE, return); CRM_CHECK 2222 lib/common/xml.c CRM_CHECK(update != NULL, return); CRM_CHECK 2238 lib/common/xml.c CRM_CHECK(object_name != NULL, return); CRM_CHECK 2239 lib/common/xml.c CRM_CHECK(target != NULL || parent != NULL, return); CRM_CHECK 2248 lib/common/xml.c CRM_CHECK(target != NULL, return); CRM_CHECK 2266 lib/common/xml.c CRM_CHECK(pcmk__xe_is(target, (const char *) update->name), return); CRM_CHECK 2312 lib/common/xml.c CRM_CHECK(child != NULL, return FALSE); CRM_CHECK 2313 lib/common/xml.c CRM_CHECK(to_update != NULL, return FALSE); CRM_CHECK 2346 lib/common/xml.c CRM_CHECK(root != NULL, return FALSE); CRM_CHECK 2347 lib/common/xml.c CRM_CHECK(children != NULL, return FALSE); CRM_CHECK 2383 lib/common/xml.c CRM_CHECK(child != NULL, return FALSE); CRM_CHECK 2384 lib/common/xml.c CRM_CHECK(update != NULL, return FALSE); CRM_CHECK 2462 lib/common/xml.c CRM_CHECK(input != NULL, return NULL); CRM_CHECK 2708 lib/common/xml.c CRM_CHECK(node != NULL, return NULL); CRM_CHECK 235 lib/common/xml_display.c CRM_CHECK(depth >= 0, depth = 0); CRM_CHECK 429 lib/common/xml_display.c CRM_CHECK(pcmk__text_output_new(&out, NULL) == pcmk_rc_ok, return); CRM_CHECK 432 lib/common/xml_display.c CRM_CHECK(pcmk__log_output_new(&out) == pcmk_rc_ok, return); CRM_CHECK 473 lib/common/xml_display.c CRM_CHECK(depth >= 0, depth = 0); CRM_CHECK 532 lib/common/xml_display.c CRM_CHECK(pcmk__text_output_new(&out, NULL) == pcmk_rc_ok, return); CRM_CHECK 535 lib/common/xml_display.c CRM_CHECK(pcmk__log_output_new(&out) == pcmk_rc_ok, return); CRM_CHECK 63 lib/common/xpath.c CRM_CHECK(index >= 0, return NULL); CRM_CHECK 64 lib/common/xpath.c CRM_CHECK(xpathObj != NULL, return NULL); CRM_CHECK 76 lib/common/xpath.c CRM_CHECK(match != NULL, return NULL); CRM_CHECK 145 lib/common/xpath.c CRM_CHECK(path != NULL, return NULL); CRM_CHECK 146 lib/common/xpath.c CRM_CHECK(xml_top != NULL, return NULL); CRM_CHECK 147 lib/common/xpath.c CRM_CHECK(strlen(path) > 0, return NULL); CRM_CHECK 130 lib/fencing/st_actions.c CRM_CHECK(action != NULL, return NULL); CRM_CHECK 442 lib/fencing/st_actions.c CRM_CHECK(xml != NULL, return); CRM_CHECK 501 lib/fencing/st_actions.c CRM_CHECK((xml != NULL) && (result != NULL), return); CRM_CHECK 587 lib/fencing/st_actions.c CRM_CHECK(action != NULL, return -EINVAL); CRM_CHECK 702 lib/fencing/st_actions.c CRM_CHECK(action != NULL, return -EINVAL); CRM_CHECK 369 lib/fencing/st_client.c CRM_CHECK(node || pattern || (attr && value), return -EINVAL); CRM_CHECK 422 lib/fencing/st_client.c CRM_CHECK(node || pattern || (attr && value), return NULL); CRM_CHECK 425 lib/fencing/st_client.c CRM_CHECK(data, return NULL); CRM_CHECK 462 lib/fencing/st_client.c CRM_CHECK(data != NULL, return -EINVAL); CRM_CHECK 551 lib/fencing/st_client.c CRM_CHECK(devices != NULL, return -EINVAL); CRM_CHECK 784 lib/fencing/st_client.c CRM_CHECK(a_client->event != NULL && b_client->event != NULL, return 0); CRM_CHECK 810 lib/fencing/st_client.c CRM_CHECK(op_msg != NULL, return NULL); CRM_CHECK 811 lib/fencing/st_client.c CRM_CHECK(token != NULL, return NULL); CRM_CHECK 933 lib/fencing/st_client.c CRM_CHECK(stonith != NULL, return); CRM_CHECK 934 lib/fencing/st_client.c CRM_CHECK(stonith->st_private != NULL, return); CRM_CHECK 1100 lib/fencing/st_client.c CRM_CHECK(stonith != NULL, return -EINVAL); CRM_CHECK 1314 lib/fencing/st_client.c CRM_CHECK(stonith != NULL, return -EINVAL); CRM_CHECK 1315 lib/fencing/st_client.c CRM_CHECK(stonith->st_private != NULL, return -EINVAL); CRM_CHECK 2407 lib/fencing/st_client.c CRM_CHECK((device_flags != NULL) && (metadata != NULL), return); CRM_CHECK 98 lib/fencing/st_rhcs.c CRM_CHECK(metadata != NULL, return); CRM_CHECK 99 lib/fencing/st_rhcs.c CRM_CHECK(parameter != NULL, return); CRM_CHECK 95 lib/lrmd/lrmd_alerts.c CRM_CHECK(value != NULL, return FALSE); CRM_CHECK 522 lib/lrmd/lrmd_client.c CRM_CHECK(op_msg != NULL, return NULL); CRM_CHECK 523 lib/lrmd/lrmd_client.c CRM_CHECK(token != NULL, return NULL); CRM_CHECK 880 lib/lrmd/lrmd_client.c CRM_CHECK(native->token != NULL,; CRM_CHECK 1593 lib/lrmd/lrmd_client.c CRM_CHECK(native && native->callback, return -EINVAL); CRM_CHECK 2435 lib/lrmd/lrmd_client.c CRM_CHECK(callback != NULL, return EINVAL); CRM_CHECK 218 lib/lrmd/proxy_common.c CRM_CHECK(op != NULL, return); CRM_CHECK 219 lib/lrmd/proxy_common.c CRM_CHECK(session != NULL, return); CRM_CHECK 232 lib/lrmd/proxy_common.c CRM_CHECK(request != NULL, return); CRM_CHECK 241 lib/lrmd/proxy_common.c CRM_CHECK(proxy->is_local == FALSE, CRM_CHECK 211 lib/pacemaker/pcmk_acl.c CRM_CHECK(cred != NULL, return EINVAL); CRM_CHECK 212 lib/pacemaker/pcmk_acl.c CRM_CHECK(cib_doc != NULL, return EINVAL); CRM_CHECK 213 lib/pacemaker/pcmk_acl.c CRM_CHECK(acl_evaled_doc != NULL, return EINVAL); CRM_CHECK 240 lib/pacemaker/pcmk_graph_consumer.c CRM_CHECK(id != NULL, return EINVAL); CRM_CHECK 241 lib/pacemaker/pcmk_graph_consumer.c CRM_CHECK(!pcmk_is_set(action->flags, pcmk__graph_action_executed), CRM_CHECK 592 lib/pacemaker/pcmk_graph_consumer.c CRM_CHECK(new_synapse->id >= 0, free(new_synapse); CRM_CHECK 702 lib/pacemaker/pcmk_graph_consumer.c CRM_CHECK(buf != NULL, free(new_graph); CRM_CHECK 707 lib/pacemaker/pcmk_graph_consumer.c CRM_CHECK(buf != NULL, free(new_graph); CRM_CHECK 849 lib/pacemaker/pcmk_graph_consumer.c CRM_CHECK(action != NULL, return NULL); CRM_CHECK 850 lib/pacemaker/pcmk_graph_consumer.c CRM_CHECK(action->type == pcmk__rsc_graph_action, return NULL); CRM_CHECK 853 lib/pacemaker/pcmk_graph_consumer.c CRM_CHECK(action_resource != NULL, crm_log_xml_warn(action->xml, "invalid"); CRM_CHECK 140 lib/pacemaker/pcmk_graph_producer.c CRM_CHECK((xml != NULL) && (action != NULL) && (action->node != NULL), CRM_CHECK 1157 lib/pacemaker/pcmk_output.c CRM_CHECK(next != NULL, return rc); CRM_CHECK 971 lib/pacemaker/pcmk_sched_actions.c CRM_CHECK(action != NULL, return); CRM_CHECK 1132 lib/pacemaker/pcmk_sched_actions.c CRM_CHECK(op != NULL, return NULL); CRM_CHECK 1610 lib/pacemaker/pcmk_sched_actions.c CRM_CHECK((rsc != NULL) && (node != NULL) && (xml_op != NULL), CRM_CHECK 1614 lib/pacemaker/pcmk_sched_actions.c CRM_CHECK(task != NULL, return false); CRM_CHECK 358 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK((rsc != NULL) && (orig_rsc != NULL) && (list != NULL), return); CRM_CHECK 372 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK((rsc != NULL) && (orig_rsc != NULL) && (list != NULL), return); CRM_CHECK 408 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK((location != NULL) && pe_rsc_is_clone(rsc), return); CRM_CHECK 355 lib/pacemaker/pcmk_sched_colocation.c CRM_CHECK(id != NULL, return); CRM_CHECK 832 lib/pacemaker/pcmk_sched_colocation.c CRM_CHECK(xml_obj != NULL, return EINVAL); CRM_CHECK 346 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK((xml_obj != NULL) && (attr != NULL), return false); CRM_CHECK 59 lib/pacemaker/pcmk_sched_fencing.c CRM_CHECK(stonith_op && stonith_op->node, return); CRM_CHECK 119 lib/pacemaker/pcmk_sched_fencing.c CRM_CHECK(stonith_op && stonith_op->node, return); CRM_CHECK 290 lib/pacemaker/pcmk_sched_fencing.c CRM_CHECK(stonith_op && scheduler, return); CRM_CHECK 1079 lib/pacemaker/pcmk_sched_instances.c CRM_CHECK((instance != NULL) && (node != NULL), return false); CRM_CHECK 1339 lib/pacemaker/pcmk_sched_instances.c CRM_CHECK(parse_op_key(action->uuid, NULL, &action_type, NULL), CRM_CHECK 1342 lib/pacemaker/pcmk_sched_instances.c CRM_CHECK(action_name != NULL, CRM_CHECK 379 lib/pacemaker/pcmk_sched_location.c CRM_CHECK(xml_obj != NULL, return EINVAL); CRM_CHECK 450 lib/pacemaker/pcmk_sched_location.c CRM_CHECK(set != NULL, return EINVAL); CRM_CHECK 552 lib/pacemaker/pcmk_sched_location.c CRM_CHECK(node_score == 0, return NULL); CRM_CHECK 185 lib/pacemaker/pcmk_sched_migration.c CRM_CHECK(rsc != NULL, return false); CRM_CHECK 436 lib/pacemaker/pcmk_sched_ordering.c CRM_CHECK(xml_obj != NULL, return); CRM_CHECK 533 lib/pacemaker/pcmk_sched_ordering.c CRM_CHECK(((first_action != NULL) || (first_rsc != NULL)) CRM_CHECK 1232 lib/pacemaker/pcmk_sched_ordering.c CRM_CHECK((rsc != NULL) && (order != NULL), return); CRM_CHECK 348 lib/pacemaker/pcmk_sched_primitive.c CRM_CHECK(remote_node != NULL, return); CRM_CHECK 1453 lib/pacemaker/pcmk_sched_primitive.c CRM_CHECK((rsc != NULL) && (node != NULL), return); CRM_CHECK 693 lib/pacemaker/pcmk_sched_promotable.c CRM_CHECK((rsc != NULL) && (node != NULL), return 0); CRM_CHECK 965 lib/pacemaker/pcmk_sched_promotable.c CRM_CHECK(FALSE, crm_err("Unknown resource role %d for %s", CRM_CHECK 672 lib/pacemaker/pcmk_sched_recurring.c CRM_CHECK((rsc != NULL) && (task != NULL) CRM_CHECK 187 lib/pacemaker/pcmk_sched_resource.c CRM_CHECK((id != NULL) && (scheduler != NULL), return NULL); CRM_CHECK 69 lib/pacemaker/pcmk_sched_tickets.c CRM_CHECK((rsc != NULL) && (rsc_ticket != NULL), return); CRM_CHECK 243 lib/pacemaker/pcmk_sched_tickets.c CRM_CHECK(set != NULL, return EINVAL); CRM_CHECK 244 lib/pacemaker/pcmk_sched_tickets.c CRM_CHECK(ticket != NULL, return EINVAL); CRM_CHECK 301 lib/pacemaker/pcmk_sched_tickets.c CRM_CHECK(xml_obj != NULL, return); CRM_CHECK 372 lib/pacemaker/pcmk_sched_tickets.c CRM_CHECK(xml_obj != NULL, return EINVAL); CRM_CHECK 444 lib/pacemaker/pcmk_sched_tickets.c CRM_CHECK(xml_obj != NULL, return); CRM_CHECK 306 lib/pacemaker/pcmk_sched_utilization.c CRM_CHECK(rsc != NULL, return NULL); CRM_CHECK 1414 lib/pengine/bundle.c CRM_CHECK(rsc != NULL, return); CRM_CHECK 1887 lib/pengine/bundle.c CRM_CHECK(rsc != NULL, return); CRM_CHECK 1987 lib/pengine/bundle.c CRM_CHECK(rsc != NULL, return); CRM_CHECK 256 lib/pengine/clone.c CRM_CHECK(clone_data->xml_obj_child != NULL, return FALSE); CRM_CHECK 510 lib/pengine/common.c CRM_CHECK(hash != NULL, return); CRM_CHECK 622 lib/pengine/complex.c CRM_CHECK(rsc != NULL, return EINVAL); CRM_CHECK 623 lib/pengine/complex.c CRM_CHECK((xml_obj != NULL) && (scheduler != NULL), CRM_CHECK 1065 lib/pengine/complex.c CRM_CHECK((rsc != NULL) && (node != NULL) && (active != NULL), CRM_CHECK 373 lib/pengine/failcounts.c CRM_CHECK(generate_fail_regexes(rsc, &fc_data.failcount_re, CRM_CHECK 459 lib/pengine/failcounts.c CRM_CHECK(rsc && node && reason && scheduler, return NULL); CRM_CHECK 40 lib/pengine/group.c CRM_CHECK((group->variant == pcmk_rsc_variant_group) CRM_CHECK 61 lib/pengine/group.c CRM_CHECK((group != NULL) && (group->variant == pcmk_rsc_variant_group) CRM_CHECK 458 lib/pengine/group.c CRM_CHECK(rsc != NULL, return); CRM_CHECK 95 lib/pengine/native.c CRM_CHECK(node != NULL, return); CRM_CHECK 99 lib/pengine/native.c CRM_CHECK(a_node != NULL, return); CRM_CHECK 281 lib/pengine/native.c CRM_CHECK(id && rsc && rsc->id, return NULL); CRM_CHECK 336 lib/pengine/native.c CRM_CHECK(rsc != NULL, return NULL); CRM_CHECK 337 lib/pengine/native.c CRM_CHECK(name != NULL && strlen(name) != 0, return NULL); CRM_CHECK 577 lib/pengine/native.c CRM_CHECK(name != NULL, name = "unknown"); CRM_CHECK 578 lib/pengine/native.c CRM_CHECK(kind != NULL, kind = "unknown"); CRM_CHECK 579 lib/pengine/native.c CRM_CHECK(class != NULL, class = "unknown"); CRM_CHECK 856 lib/pengine/pe_actions.c CRM_CHECK((rsc != NULL) && (action_name != NULL), return requires); CRM_CHECK 1489 lib/pengine/pe_actions.c CRM_CHECK(uuid || task, return NULL); CRM_CHECK 1520 lib/pengine/pe_actions.c CRM_CHECK(key != NULL, return NULL); CRM_CHECK 1553 lib/pengine/pe_actions.c CRM_CHECK(key != NULL, return NULL); CRM_CHECK 1630 lib/pengine/pe_actions.c CRM_CHECK(change != NULL, change = ""); CRM_CHECK 1770 lib/pengine/pe_actions.c CRM_CHECK(a_magic != NULL && b_magic != NULL, sort_return(0, "No magic")); CRM_CHECK 1811 lib/pengine/pe_actions.c CRM_CHECK(FALSE, sort_return(0, "default")); CRM_CHECK 322 lib/pengine/pe_notif.c CRM_CHECK((rsc != NULL) && (node != NULL), return NULL); CRM_CHECK 129 lib/pengine/pe_output.c CRM_CHECK(name != NULL, return attr_list); CRM_CHECK 127 lib/pengine/remote.c CRM_CHECK(scheduler && host && host->details && helper, return); CRM_CHECK 231 lib/pengine/remote.c CRM_CHECK(scheduler && rsc_op && rsc && node, return); CRM_CHECK 256 lib/pengine/remote.c CRM_CHECK(scheduler && cb, return); CRM_CHECK 241 lib/pengine/rules.c CRM_CHECK(now != NULL, return pcmk_rc_op_unsatisfied); CRM_CHECK 761 lib/pengine/rules.c CRM_CHECK(FALSE /* bad type */ , return FALSE); CRM_CHECK 326 lib/pengine/status.c CRM_CHECK(scheduler->ordering_constraints == NULL,; CRM_CHECK 328 lib/pengine/status.c CRM_CHECK(scheduler->placement_constraints == NULL,; CRM_CHECK 113 lib/pengine/unpack.c CRM_CHECK(node, return); CRM_CHECK 770 lib/pengine/unpack.c CRM_CHECK(remote_node != NULL, return); CRM_CHECK 1755 lib/pengine/unpack.c CRM_CHECK(this_node != NULL, return); CRM_CHECK 2187 lib/pengine/unpack.c CRM_CHECK(rsc != NULL, return NULL); CRM_CHECK 2840 lib/pengine/unpack.c CRM_CHECK((resource != NULL) && (op != NULL) && (node != NULL), CRM_CHECK 2889 lib/pengine/unpack.c CRM_CHECK((rsc_id != NULL) && (node_name != NULL), return NULL); CRM_CHECK 4701 lib/pengine/unpack.c CRM_CHECK(rsc && node && xml_op, return); CRM_CHECK 416 lib/pengine/utils.c CRM_CHECK(role != NULL, return FALSE); CRM_CHECK 623 lib/pengine/utils.c CRM_CHECK(tags && tag_name && obj_ref, return FALSE); CRM_CHECK 729 lib/pengine/utils.c CRM_CHECK(rsc != NULL, return false); CRM_CHECK 704 lib/services/dbus.c CRM_CHECK((connection != NULL) && (target != NULL) && (obj != NULL) CRM_CHECK 742 lib/services/dbus.c CRM_CHECK((query_data->target != NULL) CRM_CHECK 447 lib/services/services.c CRM_CHECK((op != NULL) && (user != NULL), return -EINVAL); CRM_CHECK 597 lib/services/services.c CRM_CHECK(g_list_find(inflight_ops, op) == NULL, return); CRM_CHECK 598 lib/services/services.c CRM_CHECK(g_list_find(blocked_ops, op) == NULL, return); CRM_CHECK 599 lib/services/services.c CRM_CHECK((recurring_actions == NULL) CRM_CHECK 871 lib/services/services.c CRM_CHECK(op != NULL, return TRUE); CRM_CHECK 80 lib/services/services_linux.c CRM_CHECK(data != NULL, return -1); CRM_CHECK 198 lib/services/services_linux.c CRM_CHECK(data != NULL, return -1); CRM_CHECK 514 lib/services/services_linux.c CRM_CHECK((op != NULL) && !(op->synchronous), return EINVAL); CRM_CHECK 658 lib/services/services_linux.c CRM_CHECK(op->pid == pid, CRM_CHECK 110 lib/services/systemd.c CRM_CHECK(systemd_proxy, return NULL); CRM_CHECK 942 tools/crm_mon.c CRM_CHECK(cib != NULL, return EINVAL); CRM_CHECK 1028 tools/crm_mon.c CRM_CHECK(cib != NULL, return EINVAL); CRM_CHECK 976 tools/crm_resource.c CRM_CHECK(rsc != NULL, return EINVAL);