CRM_CHECK 26 daemons/attrd/attrd_alerts.c CRM_CHECK(op != NULL, return); CRM_CHECK 115 daemons/attrd/attrd_alerts.c CRM_CHECK(the_cib != NULL, return TRUE); CRM_CHECK 675 daemons/attrd/attrd_commands.c CRM_CHECK(host != NULL, return); CRM_CHECK 1192 daemons/attrd/attrd_commands.c CRM_CHECK(the_cib != NULL, return); CRM_CHECK 183 daemons/attrd/attrd_utils.c CRM_CHECK(the_cib != NULL, return); CRM_CHECK 232 daemons/attrd/pacemaker-attrd.c CRM_CHECK((c != NULL) && (client != NULL), return 0); CRM_CHECK 1208 daemons/based/based_callbacks.c CRM_CHECK(result_cib == NULL, free_xml(result_cib)); CRM_CHECK 1220 daemons/based/based_callbacks.c CRM_CHECK(call_type == 3 || call_type == 4, crm_err("Call type: %d", call_type); CRM_CHECK 103 daemons/based/based_common.c CRM_CHECK(input_fragment != NULL, crm_log_xml_warn(request, "no input")); CRM_CHECK 463 daemons/based/based_messages.c CRM_CHECK(strcasecmp(CIB_OP_DELETE, op) == 0, return -EINVAL); CRM_CHECK 501 daemons/based/based_messages.c CRM_CHECK(the_cib != NULL,;); CRM_CHECK 502 daemons/based/based_messages.c CRM_CHECK(replace_request != NULL,;); CRM_CHECK 179 daemons/based/based_remote.c CRM_CHECK(usr != NULL, return FALSE); CRM_CHECK 180 daemons/based/based_remote.c CRM_CHECK(grp != NULL, return FALSE); CRM_CHECK 569 daemons/based/based_remote.c CRM_CHECK(data, return PAM_CONV_ERR); CRM_CHECK 570 daemons/based/based_remote.c CRM_CHECK(num_msg == 1, return PAM_CONV_ERR); /* We only want to handle one message */ CRM_CHECK 122 daemons/based/pacemaker-based.c CRM_CHECK(pwentry != NULL, CRM_CHECK 222 daemons/controld/controld_based.c CRM_CHECK(uname != NULL, return); CRM_CHECK 293 daemons/controld/controld_based.c CRM_CHECK((rsc_id != NULL) && (node != NULL), return EINVAL); CRM_CHECK 133 daemons/controld/controld_callbacks.c CRM_CHECK(!pcmk__str_eq(data, node->state, pcmk__str_casei), CRM_CHECK 153 daemons/controld/controld_callbacks.c CRM_CHECK(data != NULL, return); CRM_CHECK 317 daemons/controld/controld_callbacks.c CRM_CHECK(user_data == fsa_cib_conn,;); CRM_CHECK 289 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return); CRM_CHECK 821 daemons/controld/controld_execd.c CRM_CHECK(peer != NULL, return NULL); CRM_CHECK 955 daemons/controld/controld_execd.c CRM_CHECK(rsc_id != NULL, return); CRM_CHECK 993 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return); CRM_CHECK 1053 daemons/controld/controld_execd.c CRM_CHECK((rsc_id != NULL) && (key != NULL), return); CRM_CHECK 1144 daemons/controld/controld_execd.c CRM_CHECK(op != 0, return FALSE); CRM_CHECK 1145 daemons/controld/controld_execd.c CRM_CHECK(rsc_id != NULL, return FALSE); CRM_CHECK 1222 daemons/controld/controld_execd.c CRM_CHECK(rsc != NULL, return FALSE); CRM_CHECK 1223 daemons/controld/controld_execd.c CRM_CHECK(key != NULL, return FALSE); CRM_CHECK 1260 daemons/controld/controld_execd.c CRM_CHECK(lrm_state && rsc_xml && rsc_info, return -EINVAL); CRM_CHECK 1261 daemons/controld/controld_execd.c CRM_CHECK(id, return -EINVAL); CRM_CHECK 1508 daemons/controld/controld_execd.c CRM_CHECK(xml_rsc != NULL, return); CRM_CHECK 1626 daemons/controld/controld_execd.c CRM_CHECK(params != NULL, return FALSE); CRM_CHECK 1631 daemons/controld/controld_execd.c CRM_CHECK(op_task != NULL, return FALSE); CRM_CHECK 1819 daemons/controld/controld_execd.c CRM_CHECK(xml_rsc && ID(xml_rsc), return); CRM_CHECK 2046 daemons/controld/controld_execd.c CRM_CHECK(transition != NULL, return op); CRM_CHECK 2086 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return); CRM_CHECK 2187 daemons/controld/controld_execd.c CRM_CHECK(node_name != NULL, return); CRM_CHECK 2188 daemons/controld/controld_execd.c CRM_CHECK(rsc != NULL, return); CRM_CHECK 2189 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return); CRM_CHECK 2230 daemons/controld/controld_execd.c CRM_CHECK(rsc != NULL, return); CRM_CHECK 2231 daemons/controld/controld_execd.c CRM_CHECK(operation != NULL, return); CRM_CHECK 2241 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return); CRM_CHECK 2443 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return 0); CRM_CHECK 2548 daemons/controld/controld_execd.c CRM_CHECK(FALSE, return); CRM_CHECK 2582 daemons/controld/controld_execd.c CRM_CHECK(lrm_state != NULL, return FALSE); CRM_CHECK 2583 daemons/controld/controld_execd.c CRM_CHECK(rsc_id != NULL, return FALSE); CRM_CHECK 2584 daemons/controld/controld_execd.c CRM_CHECK(op_type != NULL, return FALSE); CRM_CHECK 2614 daemons/controld/controld_execd.c CRM_CHECK(op != NULL, return); CRM_CHECK 2615 daemons/controld/controld_execd.c CRM_CHECK(op->rsc_id != NULL, return); CRM_CHECK 294 daemons/controld/controld_execd_state.c CRM_CHECK(proxy_table != NULL, return NULL); CRM_CHECK 313 daemons/controld/controld_execd_state.c CRM_CHECK(proxy_table != NULL, return); CRM_CHECK 529 daemons/controld/controld_execd_state.c CRM_CHECK(request != NULL, return); CRM_CHECK 531 daemons/controld/controld_execd_state.c CRM_CHECK(lrm_state->node_name, return); CRM_CHECK 187 daemons/controld/controld_fencing.c CRM_CHECK(target != NULL, return); CRM_CHECK 188 daemons/controld/controld_fencing.c CRM_CHECK(uuid != NULL, return); CRM_CHECK 193 daemons/controld/controld_fencing.c CRM_CHECK(peer != NULL, return); CRM_CHECK 721 daemons/controld/controld_fencing.c CRM_CHECK(userdata != NULL, return); CRM_CHECK 734 daemons/controld/controld_fencing.c CRM_CHECK(decode_transition_key(userdata, &uuid, &transition_id, &stonith_id, NULL), CRM_CHECK 842 daemons/controld/controld_fencing.c CRM_CHECK(id != NULL, invalid_action = TRUE); CRM_CHECK 843 daemons/controld/controld_fencing.c CRM_CHECK(uuid != NULL, invalid_action = TRUE); CRM_CHECK 844 daemons/controld/controld_fencing.c CRM_CHECK(type != NULL, invalid_action = TRUE); CRM_CHECK 845 daemons/controld/controld_fencing.c CRM_CHECK(target != NULL, invalid_action = TRUE); CRM_CHECK 280 daemons/controld/controld_fsa.c CRM_CHECK(fsa_data != NULL, return); CRM_CHECK 111 daemons/controld/controld_join_client.c CRM_CHECK(input != NULL, return); CRM_CHECK 40 daemons/controld/controld_join_dc.c CRM_CHECK(node != NULL, return); CRM_CHECK 124 daemons/controld/controld_messages.c CRM_CHECK(((ha_msg_input_t *) data)->msg != NULL, CRM_CHECK 294 daemons/controld/controld_messages.c CRM_CHECK(cause == C_IPC_MESSAGE || cause == C_HA_MESSAGE, return); CRM_CHECK 573 daemons/controld/controld_messages.c CRM_CHECK(msg != NULL, return I_NULL); CRM_CHECK 642 daemons/controld/controld_messages.c CRM_CHECK(msg_data != NULL, return I_NULL); CRM_CHECK 670 daemons/controld/controld_messages.c CRM_CHECK(rsc_xml != NULL, return I_NULL); CRM_CHECK 737 daemons/controld/controld_messages.c CRM_CHECK(remote_uname && remote_is_up, return I_NULL); CRM_CHECK 740 daemons/controld/controld_messages.c CRM_CHECK(remote_peer, return I_NULL); CRM_CHECK 102 daemons/controld/controld_metadata.c CRM_CHECK(version_format_regex != NULL, return TRUE); CRM_CHECK 186 daemons/controld/controld_metadata.c CRM_CHECK(mdc && rsc && metadata_str, return NULL); CRM_CHECK 264 daemons/controld/controld_metadata.c CRM_CHECK(mdc && rsc, return NULL); CRM_CHECK 183 daemons/controld/controld_remote_ra.c CRM_CHECK(node_name != NULL, return); CRM_CHECK 202 daemons/controld/controld_remote_ra.c CRM_CHECK(node != NULL, return); CRM_CHECK 273 daemons/controld/controld_remote_ra.c CRM_CHECK(node != NULL, return); CRM_CHECK 316 daemons/controld/controld_remote_ra.c CRM_CHECK(node != NULL, return); CRM_CHECK 1229 daemons/controld/controld_remote_ra.c CRM_CHECK(node != NULL, return); CRM_CHECK 60 daemons/controld/controld_schedulerd.c CRM_CHECK(id != NULL, return); CRM_CHECK 119 daemons/controld/controld_te_actions.c CRM_CHECK(on_node != NULL && strlen(on_node) != 0, CRM_CHECK 206 daemons/controld/controld_te_actions.c CRM_CHECK(rsc_id != NULL, CRM_CHECK 294 daemons/controld/controld_te_actions.c CRM_CHECK(on_node != NULL && strlen(on_node) != 0, CRM_CHECK 586 daemons/controld/controld_te_actions.c CRM_CHECK(graph->complete,); CRM_CHECK 49 daemons/controld/controld_te_callbacks.c CRM_CHECK(diff != NULL, return); CRM_CHECK 559 daemons/controld/controld_te_callbacks.c CRM_CHECK(msg != NULL, return); CRM_CHECK 680 daemons/controld/controld_te_callbacks.c CRM_CHECK(data != NULL, return FALSE); CRM_CHECK 685 daemons/controld/controld_te_callbacks.c CRM_CHECK(timer->action != NULL, return FALSE); CRM_CHECK 134 daemons/controld/controld_te_events.c CRM_CHECK(on_uname != NULL, return TRUE); CRM_CHECK 135 daemons/controld/controld_te_events.c CRM_CHECK(parse_op_key(id, &rsc_id, &task, &interval_ms), CRM_CHECK 148 daemons/controld/controld_te_utils.c CRM_CHECK(transition_graph != NULL, return); CRM_CHECK 337 daemons/controld/controld_timers.c CRM_CHECK(timer != NULL, return FALSE); CRM_CHECK 177 daemons/controld/controld_transition.c CRM_CHECK(graph_data != NULL, CRM_CHECK 185 daemons/controld/controld_transition.c CRM_CHECK(transition_graph != NULL,); CRM_CHECK 703 daemons/controld/controld_utils.c CRM_CHECK(dc_version != NULL, return FALSE); CRM_CHECK 704 daemons/controld/controld_utils.c CRM_CHECK(welcome_from != NULL, return FALSE); CRM_CHECK 714 daemons/controld/controld_utils.c CRM_CHECK(fsa_our_dc != NULL, crm_err("We have no DC")); CRM_CHECK 873 daemons/controld/controld_utils.c CRM_CHECK(node != NULL, return NULL); CRM_CHECK 113 daemons/execd/execd_alerts.c CRM_CHECK(cb_data != NULL, CRM_CHECK 118 daemons/execd/execd_alerts.c CRM_CHECK(cb_data->client_id != NULL, CRM_CHECK 459 daemons/execd/execd_commands.c CRM_CHECK(cmd != NULL, return); CRM_CHECK 460 daemons/execd/execd_commands.c CRM_CHECK(rsc != NULL, return); CRM_CHECK 508 daemons/execd/execd_commands.c CRM_CHECK(client != NULL, return); CRM_CHECK 1401 daemons/execd/execd_commands.c CRM_CHECK(rsc != NULL, return FALSE); CRM_CHECK 116 daemons/execd/pacemaker-execd.c CRM_CHECK(client != NULL, crm_err("Invalid client"); CRM_CHECK 118 daemons/execd/pacemaker-execd.c CRM_CHECK(client->id != NULL, crm_err("Invalid client: %p", client); CRM_CHECK 121 daemons/execd/pacemaker-execd.c CRM_CHECK(flags & crm_ipc_client_response, crm_err("Invalid client request: %p", client); CRM_CHECK 248 daemons/execd/remoted_proxy.c CRM_CHECK(client != NULL, crm_err("Invalid client"); CRM_CHECK 250 daemons/execd/remoted_proxy.c CRM_CHECK(client->id != NULL, crm_err("Invalid client: %p", client); CRM_CHECK 215 daemons/execd/remoted_tls.c CRM_CHECK(ssock >= 0, return TRUE); CRM_CHECK 346 daemons/execd/remoted_tls.c CRM_CHECK(ssock == -1, return ssock); CRM_CHECK 237 daemons/fenced/fenced_commands.c CRM_CHECK(action != NULL, crm_log_xml_warn(msg, "NoAction"); return NULL); CRM_CHECK 258 daemons/fenced/fenced_commands.c CRM_CHECK(cmd->op != NULL, crm_log_xml_warn(msg, "NoOp"); free_async_command(cmd); return NULL); CRM_CHECK 259 daemons/fenced/fenced_commands.c CRM_CHECK(cmd->client != NULL, crm_log_xml_warn(msg, "NoClient")); CRM_CHECK 291 daemons/fenced/fenced_commands.c CRM_CHECK(device != NULL, return 0); CRM_CHECK 337 daemons/fenced/fenced_commands.c CRM_CHECK(device != NULL, return FALSE); CRM_CHECK 481 daemons/fenced/fenced_commands.c CRM_CHECK(cmd != NULL, return); CRM_CHECK 482 daemons/fenced/fenced_commands.c CRM_CHECK(device != NULL, return); CRM_CHECK 889 daemons/fenced/fenced_commands.c CRM_CHECK(agent != NULL, return device); CRM_CHECK 893 daemons/fenced/fenced_commands.c CRM_CHECK(device != NULL, {free(agent); return device;}); CRM_CHECK 1158 daemons/fenced/fenced_commands.c CRM_CHECK(device != NULL, return -ENOMEM); CRM_CHECK 1402 daemons/fenced/fenced_commands.c CRM_CHECK(level != NULL, return -EINVAL); CRM_CHECK 1466 daemons/fenced/fenced_commands.c CRM_CHECK(level != NULL, return -EINVAL); CRM_CHECK 1812 daemons/fenced/fenced_commands.c CRM_CHECK(xml && action && device, return); CRM_CHECK 2121 daemons/fenced/fenced_commands.c CRM_CHECK(cmd != NULL, return); CRM_CHECK 2145 daemons/fenced/fenced_commands.c CRM_CHECK(cmd != NULL, return); CRM_CHECK 745 daemons/fenced/fenced_remote.c CRM_CHECK(node && tp && tp->target, return FALSE); CRM_CHECK 1000 daemons/fenced/fenced_remote.c CRM_CHECK(op_id != NULL, return NULL); CRM_CHECK 1120 daemons/fenced/fenced_remote.c CRM_CHECK(op->action, return NULL); CRM_CHECK 1851 daemons/fenced/fenced_remote.c CRM_CHECK(result != NULL, return NULL); CRM_CHECK 1866 daemons/fenced/fenced_remote.c CRM_CHECK(ndevices == result->ndevices, CRM_CHECK 1901 daemons/fenced/fenced_remote.c CRM_CHECK(dev != NULL, return -EPROTO); CRM_CHECK 1904 daemons/fenced/fenced_remote.c CRM_CHECK(id != NULL, return -EPROTO); CRM_CHECK 1907 daemons/fenced/fenced_remote.c CRM_CHECK(dev != NULL, return -EPROTO); CRM_CHECK 1996 daemons/fenced/fenced_remote.c CRM_CHECK(dev != NULL, return -EPROTO); CRM_CHECK 1999 daemons/fenced/fenced_remote.c CRM_CHECK(id != NULL, return -EPROTO); CRM_CHECK 2002 daemons/fenced/fenced_remote.c CRM_CHECK(dev != NULL, return -EPROTO); CRM_CHECK 294 daemons/fenced/pacemaker-fenced.c CRM_CHECK(client != NULL, return); CRM_CHECK 295 daemons/fenced/pacemaker-fenced.c CRM_CHECK(update_msg != NULL, return); CRM_CHECK 298 daemons/fenced/pacemaker-fenced.c CRM_CHECK(type != NULL, crm_log_xml_err(update_msg, "notify"); return); CRM_CHECK 355 daemons/fenced/pacemaker-fenced.c CRM_CHECK(type != NULL,;); CRM_CHECK 378 daemons/fenced/pacemaker-fenced.c CRM_CHECK(notify_data != NULL, return); CRM_CHECK 448 daemons/fenced/pacemaker-fenced.c CRM_CHECK(match != NULL, return); CRM_CHECK 877 daemons/fenced/pacemaker-fenced.c CRM_CHECK(local_cib != NULL, return FALSE); CRM_CHECK 890 daemons/fenced/pacemaker-fenced.c CRM_CHECK(n < XPATH_MAX, return FALSE); CRM_CHECK 570 daemons/pacemakerd/pacemakerd.c CRM_CHECK(c != NULL, return 0); CRM_CHECK 377 include/crm/common/internal.h CRM_CHECK(prefix && rsc_id && op, return NULL); CRM_CHECK 183 lib/cib/cib_attrs.c CRM_CHECK(section != NULL, return -EINVAL); CRM_CHECK 184 lib/cib/cib_attrs.c CRM_CHECK(attr_value != NULL, return -EINVAL); CRM_CHECK 185 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return -EINVAL); CRM_CHECK 334 lib/cib/cib_attrs.c CRM_CHECK(section != NULL, return -EINVAL); CRM_CHECK 335 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return -EINVAL); CRM_CHECK 358 lib/cib/cib_attrs.c CRM_CHECK(section != NULL, return -EINVAL); CRM_CHECK 359 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return -EINVAL); CRM_CHECK 414 lib/cib/cib_attrs.c CRM_CHECK(result != NULL, return rc); CRM_CHECK 540 lib/cib/cib_attrs.c CRM_CHECK(pcmk__str_eq(crm_element_name(xml_obj), XML_CIB_TAG_NODES, pcmk__str_casei), CRM_CHECK 575 lib/cib/cib_attrs.c CRM_CHECK(uuid != NULL, return -EINVAL); CRM_CHECK 576 lib/cib/cib_attrs.c CRM_CHECK(standby_value != NULL, return -EINVAL); CRM_CHECK 275 lib/cib/cib_client.c CRM_CHECK(shadow != NULL, return NULL); CRM_CHECK 553 lib/cib/cib_client.c CRM_CHECK(a_client->event != NULL && b_client->event != NULL, return 0); CRM_CHECK 339 lib/cib/cib_native.c CRM_CHECK(native->token != NULL,; CRM_CHECK 363 lib/cib/cib_native.c CRM_CHECK(cib->call_id != 0, return -ENOMSG); CRM_CHECK 43 lib/cib/cib_ops.c CRM_CHECK(*answer == NULL, free_xml(*answer)); CRM_CHECK 348 lib/cib/cib_ops.c CRM_CHECK(obj_root != NULL, return -EINVAL); CRM_CHECK 391 lib/cib/cib_ops.c CRM_CHECK(update != NULL, return -EINVAL); CRM_CHECK 392 lib/cib/cib_ops.c CRM_CHECK(parent != NULL, return -EINVAL); CRM_CHECK 395 lib/cib/cib_ops.c CRM_CHECK(object_name != NULL, return -EINVAL); CRM_CHECK 537 lib/cib/cib_ops.c CRM_CHECK(strcasecmp(CIB_OP_CREATE, op) == 0, return -EINVAL); CRM_CHECK 227 lib/cib/cib_utils.c CRM_CHECK(output != NULL, return -ENOMSG); CRM_CHECK 228 lib/cib/cib_utils.c CRM_CHECK(result_cib != NULL, return -ENOMSG); CRM_CHECK 229 lib/cib/cib_utils.c CRM_CHECK(config_changed != NULL, return -ENOMSG); CRM_CHECK 305 lib/cib/cib_utils.c CRM_CHECK(current_cib != scratch, return -EINVAL); CRM_CHECK 508 lib/cib/cib_utils.c CRM_CHECK(op_msg != NULL, return NULL); CRM_CHECK 509 lib/cib/cib_utils.c CRM_CHECK(token != NULL, return NULL); CRM_CHECK 532 lib/cib/cib_utils.c CRM_CHECK((call_options & cib_scope_local), return NULL); CRM_CHECK 183 lib/cluster/cluster.c CRM_CHECK(uuid != NULL, return NULL); CRM_CHECK 668 lib/cluster/cpg.c CRM_CHECK(dest != crm_msg_ais, return FALSE); CRM_CHECK 780 lib/cluster/cpg.c CRM_CHECK(text != NULL, return type); CRM_CHECK 89 lib/cluster/election.c CRM_CHECK(uname != NULL, return NULL); CRM_CHECK 417 lib/cluster/election.c CRM_CHECK(message && vote, return FALSE); CRM_CHECK 537 lib/cluster/election.c CRM_CHECK(message != NULL, return election_error); CRM_CHECK 173 lib/cluster/membership.c CRM_CHECK(remote != NULL, return); CRM_CHECK 735 lib/cluster/membership.c CRM_CHECK(uname != NULL, CRM_CHECK 737 lib/cluster/membership.c CRM_CHECK(node != NULL, CRM_CHECK 791 lib/cluster/membership.c CRM_CHECK(node != NULL, crm_err("%s: Could not set %s to %s for NULL", CRM_CHECK 869 lib/cluster/membership.c CRM_CHECK(node != NULL, crm_err("%s: Could not set 'expected' to %s", source, expected); CRM_CHECK 914 lib/cluster/membership.c CRM_CHECK(node != NULL, CRM_CHECK 1114 lib/cluster/membership.c CRM_CHECK(id != NULL && uname !=NULL, return); CRM_CHECK 751 lib/common/acl.c CRM_CHECK(effective_user != NULL, return NULL); CRM_CHECK 125 lib/common/agents.c CRM_CHECK(spec && standard && provider && type, return -EINVAL); CRM_CHECK 207 lib/common/alerts.c CRM_CHECK(msg != NULL, return FALSE); CRM_CHECK 71 lib/common/digest.c CRM_CHECK(buffer != NULL && strlen(buffer) > 0, free_xml(copy); CRM_CHECK 53 lib/common/io.c CRM_CHECK(path != NULL, return -ENOMEM); CRM_CHECK 106 lib/common/io.c CRM_CHECK((path != NULL) && (resolved_path != NULL), return EINVAL); CRM_CHECK 213 lib/common/io.c CRM_CHECK(directory != NULL, return); CRM_CHECK 214 lib/common/io.c CRM_CHECK(series != NULL, return); CRM_CHECK 323 lib/common/ipc_client.c CRM_CHECK(api != NULL, return 0); CRM_CHECK 211 lib/common/ipc_pacemakerd.c CRM_CHECK(api != NULL, return -EINVAL); CRM_CHECK 166 lib/common/ipc_server.c CRM_CHECK(client->user != NULL, free(client); return NULL); CRM_CHECK 221 lib/common/ipc_server.c CRM_CHECK(c != NULL, return NULL); CRM_CHECK 407 lib/common/iso8601.c CRM_CHECK(dt->days > 0, return FALSE); CRM_CHECK 1197 lib/common/iso8601.c CRM_CHECK(target != NULL && source != NULL, return); CRM_CHECK 860 lib/common/mainloop.c CRM_CHECK((ipc != NULL) && (callbacks != NULL), return EINVAL); CRM_CHECK 1422 lib/common/mainloop.c CRM_CHECK(mloop && check, return); CRM_CHECK 322 lib/common/nvpair.c CRM_CHECK(node != NULL, return NULL); CRM_CHECK 323 lib/common/nvpair.c CRM_CHECK(name != NULL, return NULL); CRM_CHECK 335 lib/common/nvpair.c CRM_CHECK(old_value != value, CRM_CHECK 359 lib/common/nvpair.c CRM_CHECK(attr && attr->children && attr->children->content, return NULL); CRM_CHECK 380 lib/common/nvpair.c CRM_CHECK(node != NULL, return NULL); CRM_CHECK 381 lib/common/nvpair.c CRM_CHECK(name != NULL && name[0] != 0, return NULL); CRM_CHECK 386 lib/common/nvpair.c CRM_CHECK(old_value != value, return value); CRM_CHECK 408 lib/common/nvpair.c CRM_CHECK(attr && attr->children && attr->children->content, return NULL); CRM_CHECK 563 lib/common/nvpair.c CRM_CHECK(dest != NULL, return -1); CRM_CHECK 591 lib/common/nvpair.c CRM_CHECK(dest != NULL, return -1); CRM_CHECK 620 lib/common/nvpair.c CRM_CHECK(dest != NULL, return -1); CRM_CHECK 684 lib/common/nvpair.c CRM_CHECK(dest != NULL, return -EINVAL); CRM_CHECK 856 lib/common/nvpair.c CRM_CHECK(id || name, return NULL); CRM_CHECK 859 lib/common/nvpair.c CRM_CHECK(nvp, return NULL); CRM_CHECK 918 lib/common/nvpair.c CRM_CHECK(parent != NULL, return nvpair_hash); CRM_CHECK 203 lib/common/operations.c CRM_CHECK(key && *key, return FALSE); CRM_CHECK 231 lib/common/operations.c CRM_CHECK(rsc_id != NULL, return NULL); CRM_CHECK 232 lib/common/operations.c CRM_CHECK(op_type != NULL, return NULL); CRM_CHECK 233 lib/common/operations.c CRM_CHECK(notify_type != NULL, return NULL); CRM_CHECK 263 lib/common/operations.c CRM_CHECK(magic != NULL, return FALSE); CRM_CHECK 298 lib/common/operations.c CRM_CHECK(node != NULL, return NULL); CRM_CHECK 339 lib/common/operations.c CRM_CHECK(key != NULL, return FALSE); CRM_CHECK 479 lib/common/operations.c CRM_CHECK(prefix && task && interval_spec, return NULL); CRM_CHECK 508 lib/common/operations.c CRM_CHECK((rsc_class != NULL) || (op != NULL), return false); CRM_CHECK 511 lib/common/options.c CRM_CHECK(validate(value) != FALSE, CRM_CHECK 551 lib/common/options.c CRM_CHECK(FALSE, crm_err("Bug: looking for unknown option '%s'", name)); CRM_CHECK 664 lib/common/patchset.c CRM_CHECK(name != NULL, return); CRM_CHECK 665 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(crm_element_name(target), crm_element_name(patch), CRM_CHECK 668 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(ID(target), ID(patch), pcmk__str_casei), return); CRM_CHECK 742 lib/common/patchset.c CRM_CHECK(name != NULL, return); CRM_CHECK 743 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(crm_element_name(target), crm_element_name(patch), CRM_CHECK 746 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(ID(target), ID(patch), pcmk__str_casei), return); CRM_CHECK 947 lib/common/patchset.c CRM_CHECK(root_nodes_seen == 0, rc = FALSE); CRM_CHECK 967 lib/common/patchset.c CRM_CHECK(root_nodes_seen == 0, rc = FALSE); CRM_CHECK 1044 lib/common/patchset.c CRM_CHECK(key != NULL, return NULL); CRM_CHECK 1422 lib/common/patchset.c CRM_CHECK(a_node != NULL, return); CRM_CHECK 1463 lib/common/patchset.c CRM_CHECK(left != NULL, return NULL); CRM_CHECK 1464 lib/common/patchset.c CRM_CHECK(left->type == XML_COMMENT_NODE, return NULL); CRM_CHECK 1521 lib/common/patchset.c CRM_CHECK(name != NULL, return NULL); CRM_CHECK 1522 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(crm_element_name(left), crm_element_name(right), CRM_CHECK 1679 lib/common/patchset.c CRM_CHECK(new_xml != NULL, return FALSE); CRM_CHECK 1688 lib/common/patchset.c CRM_CHECK(root_nodes_seen == 0, result = FALSE); CRM_CHECK 1712 lib/common/patchset.c CRM_CHECK(root_nodes_seen == 0, result = FALSE); CRM_CHECK 126 lib/common/pid.c CRM_CHECK((filename != NULL) && (pid != NULL), return EINVAL); CRM_CHECK 510 lib/common/remote.c CRM_CHECK((remote != NULL) && (msg != NULL), return EINVAL); CRM_CHECK 513 lib/common/remote.c CRM_CHECK(xml_text != NULL, return EINVAL); CRM_CHECK 1088 lib/common/remote.c CRM_CHECK((host != NULL) && (sock_fd != NULL), return EINVAL); CRM_CHECK 469 lib/common/schemas.c CRM_CHECK(doc != NULL, return FALSE); CRM_CHECK 470 lib/common/schemas.c CRM_CHECK(relaxng_file != NULL, return FALSE); CRM_CHECK 481 lib/common/schemas.c CRM_CHECK(ctx->parser != NULL, goto cleanup); CRM_CHECK 496 lib/common/schemas.c CRM_CHECK(ctx->rng != NULL, CRM_CHECK 501 lib/common/schemas.c CRM_CHECK(ctx->valid != NULL, goto cleanup); CRM_CHECK 607 lib/common/schemas.c CRM_CHECK(xml != NULL, return FALSE); CRM_CHECK 647 lib/common/schemas.c CRM_CHECK(filename != NULL, return); CRM_CHECK 915 lib/common/schemas.c CRM_CHECK(xml != NULL, return FALSE); CRM_CHECK 931 lib/common/schemas.c CRM_CHECK(xslt != NULL, goto cleanup); CRM_CHECK 934 lib/common/schemas.c CRM_CHECK(res != NULL, goto cleanup); CRM_CHECK 943 lib/common/schemas.c CRM_CHECK(emergency_res == 0, goto cleanup); CRM_CHECK 1056 lib/common/schemas.c CRM_CHECK(best != NULL, return -EINVAL); CRM_CHECK 1059 lib/common/schemas.c CRM_CHECK(xml_blob != NULL, return -EINVAL); CRM_CHECK 1060 lib/common/schemas.c CRM_CHECK(*xml_blob != NULL, return -EINVAL); CRM_CHECK 296 lib/common/strings.c CRM_CHECK((table != NULL) && (key != NULL), return EINVAL); CRM_CHECK 463 lib/common/utils.c CRM_CHECK(field != NULL, return NULL); CRM_CHECK 373 lib/common/xml.c CRM_CHECK(needle != NULL, return NULL); CRM_CHECK 501 lib/common/xml.c CRM_CHECK(attr_n == NULL || attr_v != NULL, return NULL); CRM_CHECK 629 lib/common/xml.c CRM_CHECK(node != NULL, return NULL); CRM_CHECK 646 lib/common/xml.c CRM_CHECK(src_node != NULL, return NULL); CRM_CHECK 669 lib/common/xml.c CRM_CHECK(name != NULL && name[0] == 0, return NULL); CRM_CHECK 849 lib/common/xml.c CRM_CHECK(ctxt != NULL, return NULL); CRM_CHECK 1028 lib/common/xml.c CRM_CHECK(ctxt != NULL, return NULL); CRM_CHECK 1164 lib/common/xml.c CRM_CHECK(buffer && strlen(buffer), CRM_CHECK 1255 lib/common/xml.c CRM_CHECK(xml_node && (fd > 0), return -EINVAL); CRM_CHECK 1283 lib/common/xml.c CRM_CHECK(xml_node && filename, return -EINVAL); CRM_CHECK 1880 lib/common/xml.c CRM_CHECK(doc != NULL, return); CRM_CHECK 2293 lib/common/xml.c CRM_CHECK(new_xml != NULL, return); CRM_CHECK 2301 lib/common/xml.c CRM_CHECK(p != NULL, return); CRM_CHECK 2359 lib/common/xml.c CRM_CHECK(pcmk__str_eq(crm_element_name(old_xml), crm_element_name(new_xml), pcmk__str_casei), CRM_CHECK 2361 lib/common/xml.c CRM_CHECK(pcmk__str_eq(ID(old_xml), ID(new_xml), pcmk__str_casei), return); CRM_CHECK 2420 lib/common/xml.c CRM_CHECK(search_comment->type == XML_COMMENT_NODE, return NULL); CRM_CHECK 2466 lib/common/xml.c CRM_CHECK(update != NULL, return); CRM_CHECK 2467 lib/common/xml.c CRM_CHECK(update->type == XML_COMMENT_NODE, return); CRM_CHECK 2508 lib/common/xml.c CRM_CHECK(update != NULL, return); CRM_CHECK 2524 lib/common/xml.c CRM_CHECK(object_name != NULL, return); CRM_CHECK 2525 lib/common/xml.c CRM_CHECK(target != NULL || parent != NULL, return); CRM_CHECK 2534 lib/common/xml.c CRM_CHECK(target != NULL, return); CRM_CHECK 2551 lib/common/xml.c CRM_CHECK(pcmk__str_eq(crm_element_name(target), crm_element_name(update), CRM_CHECK 2600 lib/common/xml.c CRM_CHECK(child != NULL, return FALSE); CRM_CHECK 2601 lib/common/xml.c CRM_CHECK(to_update != NULL, return FALSE); CRM_CHECK 2634 lib/common/xml.c CRM_CHECK(root != NULL, return FALSE); CRM_CHECK 2635 lib/common/xml.c CRM_CHECK(children != NULL, return FALSE); CRM_CHECK 2671 lib/common/xml.c CRM_CHECK(child != NULL, return FALSE); CRM_CHECK 2672 lib/common/xml.c CRM_CHECK(update != NULL, return FALSE); CRM_CHECK 2752 lib/common/xml.c CRM_CHECK(input != NULL, return NULL); CRM_CHECK 2755 lib/common/xml.c CRM_CHECK(name != NULL, return NULL); CRM_CHECK 62 lib/common/xpath.c CRM_CHECK(index >= 0, return NULL); CRM_CHECK 63 lib/common/xpath.c CRM_CHECK(xpathObj != NULL, return NULL); CRM_CHECK 75 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 348 lib/fencing/st_client.c CRM_CHECK(node || pattern || (attr && value), return -EINVAL); CRM_CHECK 402 lib/fencing/st_client.c CRM_CHECK(node || pattern || (attr && value), return NULL); CRM_CHECK 405 lib/fencing/st_client.c CRM_CHECK(data, return NULL); CRM_CHECK 443 lib/fencing/st_client.c CRM_CHECK(data != NULL, return -EINVAL); CRM_CHECK 462 lib/fencing/st_client.c CRM_CHECK(key != NULL, return); CRM_CHECK 463 lib/fencing/st_client.c CRM_CHECK(value != NULL, return); CRM_CHECK 464 lib/fencing/st_client.c CRM_CHECK(args != NULL, return); CRM_CHECK 478 lib/fencing/st_client.c CRM_CHECK(*args != NULL, return); CRM_CHECK 505 lib/fencing/st_client.c CRM_CHECK(action != NULL, return NULL); CRM_CHECK 901 lib/fencing/st_client.c CRM_CHECK(action != NULL, return -EINVAL); CRM_CHECK 978 lib/fencing/st_client.c CRM_CHECK(devices != NULL, return -EINVAL); CRM_CHECK 1189 lib/fencing/st_client.c CRM_CHECK(a_client->event != NULL && b_client->event != NULL, return 0); CRM_CHECK 1215 lib/fencing/st_client.c CRM_CHECK(op_msg != NULL, return NULL); CRM_CHECK 1216 lib/fencing/st_client.c CRM_CHECK(token != NULL, return NULL); CRM_CHECK 1314 lib/fencing/st_client.c CRM_CHECK(stonith != NULL, return); CRM_CHECK 1315 lib/fencing/st_client.c CRM_CHECK(stonith->st_private != NULL, return); CRM_CHECK 1329 lib/fencing/st_client.c CRM_CHECK(call_id > 0, crm_log_xml_err(msg, "Bad result")); CRM_CHECK 1473 lib/fencing/st_client.c CRM_CHECK(stonith != NULL, return -EINVAL); CRM_CHECK 1665 lib/fencing/st_client.c CRM_CHECK(stonith != NULL, return -EINVAL); CRM_CHECK 1666 lib/fencing/st_client.c CRM_CHECK(stonith->st_private != NULL, return -EINVAL); CRM_CHECK 2667 lib/fencing/st_client.c CRM_CHECK((device_flags != NULL) && (metadata != NULL), return); CRM_CHECK 96 lib/fencing/st_rhcs.c CRM_CHECK(metadata != NULL, return); CRM_CHECK 97 lib/fencing/st_rhcs.c CRM_CHECK(parameter != NULL, return); CRM_CHECK 96 lib/lrmd/lrmd_alerts.c CRM_CHECK(value != NULL, return FALSE); CRM_CHECK 508 lib/lrmd/lrmd_client.c CRM_CHECK(op_msg != NULL, return NULL); CRM_CHECK 509 lib/lrmd/lrmd_client.c CRM_CHECK(token != NULL, return NULL); CRM_CHECK 858 lib/lrmd/lrmd_client.c CRM_CHECK(native->token != NULL,; CRM_CHECK 1382 lib/lrmd/lrmd_client.c CRM_CHECK(native && native->callback, return -1); CRM_CHECK 1675 lib/lrmd/lrmd_client.c CRM_CHECK(op_info != NULL, break); CRM_CHECK 217 lib/lrmd/proxy_common.c CRM_CHECK(op != NULL, return); CRM_CHECK 218 lib/lrmd/proxy_common.c CRM_CHECK(session != NULL, return); CRM_CHECK 231 lib/lrmd/proxy_common.c CRM_CHECK(request != NULL, return); CRM_CHECK 240 lib/lrmd/proxy_common.c CRM_CHECK(proxy->is_local == FALSE, CRM_CHECK 204 lib/pacemaker/pcmk_sched_allocate.c CRM_CHECK(xml_op != NULL, return); CRM_CHECK 205 lib/pacemaker/pcmk_sched_allocate.c CRM_CHECK(active_node != NULL, return); CRM_CHECK 232 lib/pacemaker/pcmk_sched_allocate.c CRM_CHECK(active_node != NULL, return FALSE); CRM_CHECK 405 lib/pacemaker/pcmk_sched_allocate.c CRM_CHECK(node != NULL, return); CRM_CHECK 599 lib/pacemaker/pcmk_sched_allocate.c CRM_CHECK(rsc_id != NULL, return); CRM_CHECK 1799 lib/pacemaker/pcmk_sched_allocate.c CRM_CHECK(rsc != NULL, return); CRM_CHECK 1800 lib/pacemaker/pcmk_sched_allocate.c CRM_CHECK(order != NULL, return); CRM_CHECK 108 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc != NULL, return NULL); CRM_CHECK 209 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc != NULL, return); CRM_CHECK 257 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc != NULL, return); CRM_CHECK 371 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(candidate != NULL, return NULL); CRM_CHECK 478 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(constraint != NULL, return); CRM_CHECK 479 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc_lh != NULL, pe_err("rsc_lh was NULL for %s", constraint->id); return); CRM_CHECK 480 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc != NULL, pe_err("rsc was NULL for %s", constraint->id); return); CRM_CHECK 900 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc != NULL, return); CRM_CHECK 966 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc != NULL, return FALSE); CRM_CHECK 1063 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc != NULL, return); CRM_CHECK 998 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(child_rsc && local_node, return FALSE); CRM_CHECK 1077 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(constraint != NULL, return); CRM_CHECK 1078 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(rsc_lh != NULL, pe_err("rsc_lh was NULL for %s", constraint->id); return); CRM_CHECK 1079 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(rsc_rh != NULL, pe_err("rsc_rh was NULL for %s", constraint->id); return); CRM_CHECK 1080 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(rsc_lh->variant == pe_native, return); CRM_CHECK 324 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); CRM_CHECK 525 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); CRM_CHECK 650 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK((xml_obj != NULL) && (attr != NULL), return FALSE); CRM_CHECK 900 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); CRM_CHECK 970 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(set != NULL, return FALSE); CRM_CHECK 1408 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(lh_rsc != NULL, return -1); CRM_CHECK 1409 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(lh_task != NULL, return -1); CRM_CHECK 1410 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(rh_rsc != NULL, return -1); CRM_CHECK 1411 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(rh_task != NULL, return -1); CRM_CHECK 2067 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); CRM_CHECK 2565 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); CRM_CHECK 2815 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(set != NULL, return FALSE); CRM_CHECK 2816 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(ticket != NULL, return FALSE); CRM_CHECK 2856 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); CRM_CHECK 2928 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); CRM_CHECK 3008 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); CRM_CHECK 774 lib/pacemaker/pcmk_sched_graph.c CRM_CHECK(stonith_op && data_set, return); CRM_CHECK 955 lib/pacemaker/pcmk_sched_graph.c CRM_CHECK(xml && action && action->node && data_set, return); CRM_CHECK 1089 lib/pacemaker/pcmk_sched_graph.c CRM_CHECK(n_type != NULL, crm_err("No notify type value found for %s", action->uuid)); CRM_CHECK 1090 lib/pacemaker/pcmk_sched_graph.c CRM_CHECK(n_task != NULL, CRM_CHECK 1103 lib/pacemaker/pcmk_sched_graph.c CRM_CHECK(clone_key != NULL, crm_err("Could not generate a key for %s", action->uuid)); CRM_CHECK 1334 lib/pacemaker/pcmk_sched_graph.c CRM_CHECK(action != NULL, return false); CRM_CHECK 338 lib/pacemaker/pcmk_sched_group.c CRM_CHECK(rsc_lh->variant == pe_native, return); CRM_CHECK 483 lib/pacemaker/pcmk_sched_group.c CRM_CHECK(rsc != NULL, return); CRM_CHECK 2297 lib/pacemaker/pcmk_sched_native.c CRM_CHECK((constraint != NULL) && (rsc != NULL), return); CRM_CHECK 2601 lib/pacemaker/pcmk_sched_native.c CRM_CHECK(next != NULL,); CRM_CHECK 2814 lib/pacemaker/pcmk_sched_native.c CRM_CHECK(next != NULL, return FALSE); CRM_CHECK 2871 lib/pacemaker/pcmk_sched_native.c CRM_CHECK(FALSE, return FALSE); CRM_CHECK 2932 lib/pacemaker/pcmk_sched_native.c CRM_CHECK(node != NULL, return FALSE); CRM_CHECK 3184 lib/pacemaker/pcmk_sched_native.c CRM_CHECK(stonith_op && stonith_op->node, return); CRM_CHECK 3234 lib/pacemaker/pcmk_sched_native.c CRM_CHECK(stonith_op && stonith_op->node, return); CRM_CHECK 136 lib/pacemaker/pcmk_sched_notif.c CRM_CHECK(rsc_list != NULL, return list); CRM_CHECK 217 lib/pacemaker/pcmk_sched_notif.c CRM_CHECK(rsc != NULL, return NULL); CRM_CHECK 218 lib/pacemaker/pcmk_sched_notif.c CRM_CHECK(node != NULL, return NULL); CRM_CHECK 254 lib/pacemaker/pcmk_sched_notif.c CRM_CHECK(rsc != NULL, return); CRM_CHECK 132 lib/pacemaker/pcmk_sched_promotable.c CRM_CHECK(child && chosen, return); CRM_CHECK 482 lib/pacemaker/pcmk_sched_promotable.c CRM_CHECK(node != NULL, return not_set_value); CRM_CHECK 733 lib/pacemaker/pcmk_sched_promotable.c CRM_CHECK(FALSE /* unhandled */ , CRM_CHECK 333 lib/pacemaker/pcmk_sched_utilization.c CRM_CHECK(rsc && prefer && data_set, return); CRM_CHECK 28 lib/pacemaker/pcmk_sched_utils.c CRM_CHECK(node_weight == 0, return NULL); CRM_CHECK 548 lib/pacemaker/pcmk_sched_utils.c CRM_CHECK(transition_key != NULL, return NULL); CRM_CHECK 619 lib/pacemaker/pcmk_sched_utils.c CRM_CHECK(op != NULL, return NULL); CRM_CHECK 25 lib/pacemaker/pcmk_trans_graph.c CRM_CHECK(synapse->executed == FALSE, return FALSE); CRM_CHECK 26 lib/pacemaker/pcmk_trans_graph.c CRM_CHECK(synapse->confirmed == FALSE, return FALSE); CRM_CHECK 58 lib/pacemaker/pcmk_trans_graph.c CRM_CHECK(synapse->executed, return FALSE); CRM_CHECK 59 lib/pacemaker/pcmk_trans_graph.c CRM_CHECK(synapse->confirmed == FALSE, return TRUE); CRM_CHECK 124 lib/pacemaker/pcmk_trans_graph.c CRM_CHECK(synapse->executed == FALSE, return FALSE); CRM_CHECK 125 lib/pacemaker/pcmk_trans_graph.c CRM_CHECK(synapse->confirmed == FALSE, return FALSE); CRM_CHECK 170 lib/pacemaker/pcmk_trans_graph.c CRM_CHECK(action->executed == FALSE, return FALSE); CRM_CHECK 173 lib/pacemaker/pcmk_trans_graph.c CRM_CHECK(id != NULL, return FALSE); CRM_CHECK 188 lib/pacemaker/pcmk_trans_graph.c CRM_CHECK(task != NULL, return FALSE); CRM_CHECK 208 lib/pacemaker/pcmk_trans_graph.c CRM_CHECK(synapse != NULL, return FALSE); CRM_CHECK 209 lib/pacemaker/pcmk_trans_graph.c CRM_CHECK(synapse->ready, return FALSE); CRM_CHECK 210 lib/pacemaker/pcmk_trans_graph.c CRM_CHECK(synapse->confirmed == FALSE, return TRUE); CRM_CHECK 92 lib/pacemaker/pcmk_trans_unpack.c CRM_CHECK(xml_synapse != NULL, return NULL); CRM_CHECK 103 lib/pacemaker/pcmk_trans_unpack.c CRM_CHECK(new_synapse->id >= 0, free(new_synapse); CRM_CHECK 201 lib/pacemaker/pcmk_trans_unpack.c CRM_CHECK(t_id != NULL, free(new_graph); CRM_CHECK 206 lib/pacemaker/pcmk_trans_unpack.c CRM_CHECK(time != NULL, free(new_graph); CRM_CHECK 303 lib/pacemaker/pcmk_trans_unpack.c CRM_CHECK(action != NULL, return NULL); CRM_CHECK 304 lib/pacemaker/pcmk_trans_unpack.c CRM_CHECK(action->type == action_type_rsc, return NULL); CRM_CHECK 307 lib/pacemaker/pcmk_trans_unpack.c CRM_CHECK(action_resource != NULL, crm_log_xml_warn(action->xml, "Bad"); CRM_CHECK 1469 lib/pengine/bundle.c CRM_CHECK(rsc != NULL, return); CRM_CHECK 1907 lib/pengine/bundle.c CRM_CHECK(rsc != NULL, return); CRM_CHECK 2007 lib/pengine/bundle.c CRM_CHECK(rsc != NULL, return); CRM_CHECK 71 lib/pengine/clone.c CRM_CHECK(clone_data->xml_obj_child != NULL, return FALSE); CRM_CHECK 477 lib/pengine/common.c CRM_CHECK(role >= RSC_ROLE_UNKNOWN, return RSC_ROLE_UNKNOWN_S); CRM_CHECK 478 lib/pengine/common.c CRM_CHECK(role < RSC_ROLE_MAX, return RSC_ROLE_UNKNOWN_S); CRM_CHECK 575 lib/pengine/common.c CRM_CHECK(hash != NULL, return); CRM_CHECK 366 lib/pengine/failcounts.c CRM_CHECK(rsc && node && reason && data_set, return NULL); CRM_CHECK 347 lib/pengine/group.c CRM_CHECK(rsc != NULL, return); CRM_CHECK 87 lib/pengine/native.c CRM_CHECK(node != NULL, return); CRM_CHECK 91 lib/pengine/native.c CRM_CHECK(a_node != NULL, return); CRM_CHECK 267 lib/pengine/native.c CRM_CHECK(id && rsc && rsc->id, return NULL); CRM_CHECK 324 lib/pengine/native.c CRM_CHECK(rsc != NULL, return NULL); CRM_CHECK 325 lib/pengine/native.c CRM_CHECK(name != NULL && strlen(name) != 0, return NULL); CRM_CHECK 584 lib/pengine/native.c CRM_CHECK(name != NULL, name = "unknown"); CRM_CHECK 585 lib/pengine/native.c CRM_CHECK(kind != NULL, kind = "unknown"); CRM_CHECK 586 lib/pengine/native.c CRM_CHECK(class != NULL, class = "unknown"); CRM_CHECK 125 lib/pengine/remote.c CRM_CHECK(data_set && host && host->details && helper, return); CRM_CHECK 225 lib/pengine/remote.c CRM_CHECK(data_set && rsc_op && rsc && node, return); CRM_CHECK 250 lib/pengine/remote.c CRM_CHECK(data_set && cb, return); CRM_CHECK 278 lib/pengine/rules.c CRM_CHECK(now != NULL, return pcmk_rc_op_unsatisfied); CRM_CHECK 940 lib/pengine/rules.c CRM_CHECK(FALSE /* bad type */ , return FALSE); CRM_CHECK 316 lib/pengine/status.c CRM_CHECK(data_set->ordering_constraints == NULL,; CRM_CHECK 318 lib/pengine/status.c CRM_CHECK(data_set->placement_constraints == NULL,; CRM_CHECK 100 lib/pengine/unpack.c CRM_CHECK(node, return); CRM_CHECK 728 lib/pengine/unpack.c CRM_CHECK(remote_node != NULL, return;); CRM_CHECK 1468 lib/pengine/unpack.c CRM_CHECK(this_node != NULL, return); CRM_CHECK 1883 lib/pengine/unpack.c CRM_CHECK(rsc != NULL, return NULL); CRM_CHECK 2574 lib/pengine/unpack.c CRM_CHECK(source && target && !strcmp(source, node->details->uname), return); CRM_CHECK 2661 lib/pengine/unpack.c CRM_CHECK(source && target && !strcmp(source, node->details->uname), return); CRM_CHECK 2728 lib/pengine/unpack.c CRM_CHECK(source && target && !strcmp(target, node->details->uname), return); CRM_CHECK 2917 lib/pengine/unpack.c CRM_CHECK(task != NULL, return); CRM_CHECK 3078 lib/pengine/unpack.c CRM_CHECK(task != NULL, return PCMK_LRM_OP_ERROR); CRM_CHECK 3596 lib/pengine/unpack.c CRM_CHECK(rsc && node && xml_op, return); CRM_CHECK 3611 lib/pengine/unpack.c CRM_CHECK(task != NULL, return); CRM_CHECK 3612 lib/pengine/unpack.c CRM_CHECK(status <= PCMK_LRM_OP_INVALID, return); CRM_CHECK 3613 lib/pengine/unpack.c CRM_CHECK(status >= PCMK_LRM_OP_PENDING, return); CRM_CHECK 37 lib/pengine/utils.c CRM_CHECK(action != NULL, return NULL); CRM_CHECK 41 lib/pengine/utils.c CRM_CHECK(action->action_details != NULL, return NULL); CRM_CHECK 472 lib/pengine/utils.c CRM_CHECK(key != NULL, return NULL); CRM_CHECK 473 lib/pengine/utils.c CRM_CHECK(task != NULL, free(key); return NULL); CRM_CHECK 728 lib/pengine/utils.c CRM_CHECK(action->rsc != NULL, return NULL); CRM_CHECK 1021 lib/pengine/utils.c CRM_CHECK(action && action->rsc, return); CRM_CHECK 1452 lib/pengine/utils.c CRM_CHECK(input != NULL, return NULL); CRM_CHECK 1507 lib/pengine/utils.c CRM_CHECK(uuid || task, return NULL); CRM_CHECK 1538 lib/pengine/utils.c CRM_CHECK(key != NULL, return NULL); CRM_CHECK 1577 lib/pengine/utils.c CRM_CHECK(key != NULL, return NULL); CRM_CHECK 1784 lib/pengine/utils.c CRM_CHECK(a_magic != NULL && b_magic != NULL, sort_return(0, "No magic")); CRM_CHECK 1825 lib/pengine/utils.c CRM_CHECK(FALSE, sort_return(0, "default")); CRM_CHECK 1850 lib/pengine/utils.c CRM_CHECK(role != NULL, return FALSE); CRM_CHECK 2590 lib/pengine/utils.c CRM_CHECK(tags && tag_name && obj_ref, return FALSE); CRM_CHECK 2763 lib/pengine/utils.c CRM_CHECK(rsc != NULL, return false); CRM_CHECK 703 lib/services/dbus.c CRM_CHECK((connection != NULL) && (target != NULL) && (obj != NULL) CRM_CHECK 741 lib/services/dbus.c CRM_CHECK((query_data->target != NULL) CRM_CHECK 381 lib/services/services.c CRM_CHECK((op != NULL) && (user != NULL), return -EINVAL); CRM_CHECK 484 lib/services/services.c CRM_CHECK(g_list_find(inflight_ops, op) == NULL, return); CRM_CHECK 485 lib/services/services.c CRM_CHECK(g_list_find(blocked_ops, op) == NULL, return); CRM_CHECK 486 lib/services/services.c CRM_CHECK((recurring_actions == NULL) CRM_CHECK 79 lib/services/services_linux.c CRM_CHECK(data != NULL, return -1); CRM_CHECK 197 lib/services/services_linux.c CRM_CHECK(data != NULL, return -1); CRM_CHECK 76 lib/services/systemd.c CRM_CHECK(systemd_proxy, return NULL); CRM_CHECK 55 maint/mocked/based-notifyfenced.c CRM_CHECK(client != NULL, return true); CRM_CHECK 779 tools/crm_mon.c CRM_CHECK(cib != NULL, return -EINVAL); CRM_CHECK 57 tools/crm_mon_runtime.c CRM_CHECK(name != NULL, return attr_list); CRM_CHECK 911 tools/crm_resource.c CRM_CHECK(rsc != NULL, return EINVAL); CRM_CHECK 643 tools/crm_simulate.c CRM_CHECK(!pcmk_is_set(action->flags, pe_action_runnable), ;);