cmds 42 daemons/attrd/attrd_alerts.c the_lrmd->cmds->set_callback(the_lrmd, attrd_lrmd_callback); cmds 45 daemons/attrd/attrd_alerts.c if (!the_lrmd->cmds->is_connected(the_lrmd)) { cmds 50 daemons/attrd/attrd_alerts.c ret = the_lrmd->cmds->connect(the_lrmd, T_ATTRD, NULL); cmds 117 daemons/attrd/attrd_alerts.c call_id = the_cib->cmds->query(the_cib, XPATH_ALERTS, NULL, cmds 120 daemons/attrd/attrd_alerts.c the_cib->cmds->register_callback_full(the_cib, call_id, 120, FALSE, NULL, cmds 1379 daemons/attrd/attrd_commands.c the_cib->cmds->register_callback_full(the_cib, a->update, cmds 217 daemons/attrd/attrd_utils.c the_cib->cmds->del_notify_callback(the_cib, T_CIB_REPLACE_NOTIFY, attrd_cib_replaced_cb); cmds 218 daemons/attrd/attrd_utils.c the_cib->cmds->del_notify_callback(the_cib, T_CIB_DIFF_NOTIFY, attrd_cib_updated_cb); cmds 88 daemons/attrd/pacemaker-attrd.c conn->cmds->signoff(conn); /* Ensure IPC is cleaned up */ cmds 138 daemons/attrd/pacemaker-attrd.c call_id = the_cib->cmds->remove(the_cib, xpath, NULL, cmds 140 daemons/attrd/pacemaker-attrd.c the_cib->cmds->register_callback_full(the_cib, call_id, 120, FALSE, xpath, cmds 164 daemons/attrd/pacemaker-attrd.c rc = the_cib->cmds->signon(the_cib, T_ATTRD, cib_command); cmds 176 daemons/attrd/pacemaker-attrd.c rc = the_cib->cmds->set_connection_dnotify(the_cib, attrd_cib_destroy_cb); cmds 182 daemons/attrd/pacemaker-attrd.c rc = the_cib->cmds->add_notify_callback(the_cib, T_CIB_REPLACE_NOTIFY, attrd_cib_replaced_cb); cmds 188 daemons/attrd/pacemaker-attrd.c rc = the_cib->cmds->add_notify_callback(the_cib, T_CIB_DIFF_NOTIFY, attrd_cib_updated_cb); cmds 64 daemons/controld/controld_based.c fsa_cib_conn->cmds->del_notify_callback(fsa_cib_conn, T_CIB_REPLACE_NOTIFY, do_cib_replaced); cmds 65 daemons/controld/controld_based.c fsa_cib_conn->cmds->del_notify_callback(fsa_cib_conn, T_CIB_DIFF_NOTIFY, do_cib_updated); cmds 69 daemons/controld/controld_based.c fsa_cib_conn->cmds->set_slave(fsa_cib_conn, cib_scope_local | cib_discard_reply); cmds 70 daemons/controld/controld_based.c fsa_cib_conn->cmds->signoff(fsa_cib_conn); cmds 105 daemons/controld/controld_based.c rc = fsa_cib_conn->cmds->signon(fsa_cib_conn, CRM_SYSTEM_CRMD, cib_command_nonblocking); cmds 110 daemons/controld/controld_based.c rc = fsa_cib_conn->cmds->signon(fsa_cib_conn, CRM_SYSTEM_CRMD, cib_command_nonblocking); cmds 117 daemons/controld/controld_based.c fsa_cib_conn->cmds->set_connection_dnotify(fsa_cib_conn, cmds 122 daemons/controld/controld_based.c fsa_cib_conn->cmds->add_notify_callback(fsa_cib_conn, T_CIB_REPLACE_NOTIFY, cmds 127 daemons/controld/controld_based.c fsa_cib_conn->cmds->add_notify_callback(fsa_cib_conn, T_CIB_DIFF_NOTIFY, cmds 274 daemons/controld/controld_based.c call_id = fsa_cib_conn->cmds->remove(fsa_cib_conn, xpath, NULL, options); cmds 800 daemons/controld/controld_control.c fsa_cib_conn->cmds->query(fsa_cib_conn, cmds 161 daemons/controld/controld_election.c fsa_cib_conn->cmds->set_slave(fsa_cib_conn, cib_scope_local); cmds 204 daemons/controld/controld_election.c fsa_cib_conn->cmds->set_master(fsa_cib_conn, cib_scope_local); cmds 1013 daemons/controld/controld_execd.c fsa_cib_conn->cmds->remove(fsa_cib_conn, XML_CIB_TAG_STATUS, xml_top, cmds 1074 daemons/controld/controld_execd.c fsa_cib_conn->cmds->remove(fsa_cib_conn, op_xpath, NULL, cmds 331 daemons/controld/controld_execd_state.c ((lrmd_t *) lrm_state->conn)->cmds->disconnect(lrm_state->conn); cmds 358 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->is_connected(lrm_state->conn); cmds 368 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->poke_connection(lrm_state->conn); cmds 384 daemons/controld/controld_execd_state.c api->cmds->set_callback(api, lrm_op_callback); cmds 388 daemons/controld/controld_execd_state.c rc = ((lrmd_t *) lrm_state->conn)->cmds->connect(lrm_state->conn, cmds 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); cmds 491 daemons/controld/controld_execd_state.c fsa_cib_conn->cmds->register_callback_full(fsa_cib_conn, rc, 10, FALSE, lrmd, cmds 588 daemons/controld/controld_execd_state.c api->cmds->set_callback(api, remote_lrm_op_callback); cmds 594 daemons/controld/controld_execd_state.c rc = ((lrmd_t *) lrm_state->conn)->cmds->connect_async(lrm_state->conn, cmds 634 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->get_metadata_params(lrm_state->conn, cmds 651 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->cancel(lrm_state->conn, rsc_id, cmds 670 daemons/controld/controld_execd_state.c rsc = ((lrmd_t *) lrm_state->conn)->cmds->get_rsc_info(lrm_state->conn, rsc_id, options); cmds 719 daemons/controld/controld_execd_state.c rc = ((lrmd_t *) lrm_state->conn)->cmds->exec(lrm_state->conn, rsc_id, cmds 754 daemons/controld/controld_execd_state.c return conn->cmds->register_rsc(lrm_state->conn, rsc_id, class, provider, cmds 778 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->unregister_rsc(lrm_state->conn, rsc_id, options); cmds 223 daemons/controld/controld_fencing.c rc = fsa_cib_conn->cmds->update(fsa_cib_conn, XML_CIB_TAG_STATUS, node_state, cmds 425 daemons/controld/controld_fencing.c stonith_api->cmds->disconnect(st); cmds 427 daemons/controld/controld_fencing.c stonith_api->cmds->remove_notification(stonith_api, NULL); cmds 645 daemons/controld/controld_fencing.c rc = stonith_api->cmds->connect(stonith_api, crm_system_name, NULL); cmds 660 daemons/controld/controld_fencing.c stonith_api->cmds->register_notification(stonith_api, cmds 663 daemons/controld/controld_fencing.c stonith_api->cmds->register_notification(stonith_api, cmds 666 daemons/controld/controld_fencing.c stonith_api->cmds->register_notification(stonith_api, cmds 700 daemons/controld/controld_fencing.c stonith_api->cmds->disconnect(stonith_api); cmds 702 daemons/controld/controld_fencing.c stonith_api->cmds->remove_notification(stonith_api, NULL); cmds 706 daemons/controld/controld_fencing.c stonith_api->cmds->free(stonith_api); cmds 727 daemons/controld/controld_fencing.c stonith_api->cmds->history(stonith_api, cmds 895 daemons/controld/controld_fencing.c return stonith_api->cmds->fence_with_delay(stonith_api, options, target, cmds 940 daemons/controld/controld_fencing.c stonith_api->cmds->register_callback(stonith_api, rc, cmds 989 daemons/controld/controld_fencing.c st->cmds->remove_notification(st, T_STONITH_NOTIFY_HISTORY_SYNCED); cmds 584 daemons/controld/controld_fsa.c fsa_cib_conn->cmds->set_slave(fsa_cib_conn, cib_scope_local); cmds 145 daemons/controld/controld_join_client.c fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local | cib_no_children); cmds 469 daemons/controld/controld_join_dc.c rc = fsa_cib_conn->cmds->sync_from(fsa_cib_conn, sync_from, NULL, cib_quorum_override); cmds 260 daemons/controld/controld_membership.c delete_call_id = fsa_cib_conn->cmds->remove(fsa_cib_conn, XML_CIB_TAG_NODES, node_xml, cmds 269 daemons/controld/controld_membership.c delete_call_id = fsa_cib_conn->cmds->remove(fsa_cib_conn, XML_CIB_TAG_STATUS, node_state_xml, cmds 334 daemons/controld/controld_membership.c call_id = fsa_cib_conn->cmds->query(fsa_cib_conn, xpath, NULL, cmds 65 daemons/controld/controld_remote_ra.c GList *cmds; cmds 145 daemons/controld/controld_remote_ra.c ra_data->cmds = g_list_append(ra_data->cmds, cmd); cmds 443 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { cmds 493 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { cmds 588 daemons/controld/controld_remote_ra.c ra_data->cmds = fail_all_monitor_cmds(ra_data->cmds); cmds 697 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { cmds 724 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { cmds 725 daemons/controld/controld_remote_ra.c g_list_free_full(ra_data->cmds, free_cmd); cmds 730 daemons/controld/controld_remote_ra.c ra_data->cmds = NULL; cmds 787 daemons/controld/controld_remote_ra.c while (ra_data->cmds) { cmds 788 daemons/controld/controld_remote_ra.c first = ra_data->cmds; cmds 795 daemons/controld/controld_remote_ra.c ra_data->cmds = g_list_remove_link(ra_data->cmds, first); cmds 897 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { cmds 898 daemons/controld/controld_remote_ra.c g_list_free_full(ra_data->cmds, free_cmd); cmds 1019 daemons/controld/controld_remote_ra.c ra_data->cmds = remove_cmd(ra_data->cmds, action, interval_ms); cmds 1066 daemons/controld/controld_remote_ra.c for (gIter = ra_data->cmds; gIter != NULL; gIter = gIter->next) { cmds 1191 daemons/controld/controld_remote_ra.c ra_data->cmds = g_list_append(ra_data->cmds, cmd); cmds 1214 daemons/controld/controld_remote_ra.c ra_data->cmds = fail_all_monitor_cmds(ra_data->cmds); cmds 106 daemons/controld/controld_schedulerd.c rc = fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local); cmds 356 daemons/controld/controld_schedulerd.c fsa_pe_query = fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local); cmds 286 daemons/controld/controld_te_actions.c rc = fsa_cib_conn->cmds->update(fsa_cib_conn, XML_CIB_TAG_STATUS, state, call_options); cmds 52 daemons/controld/controld_transition.c fsa_cib_conn->cmds->del_notify_callback(fsa_cib_conn, T_CIB_DIFF_NOTIFY, cmds 83 daemons/controld/controld_transition.c if (fsa_cib_conn->cmds->add_notify_callback(fsa_cib_conn, cmds 90 daemons/controld/controld_transition.c if (fsa_cib_conn->cmds->set_op_callback(fsa_cib_conn, cmds 39 daemons/controld/controld_utils.h fsa_cib_conn->cmds->modify(fsa_cib_conn, section, data, opts); cmds 50 daemons/controld/controld_utils.h fsa_cib_conn->cmds->modify(fsa_cib_conn, section, data, opts); cmds 122 daemons/controld/controld_utils.h fsa_cib_conn->cmds->register_callback_full( \ cmds 246 daemons/execd/cts-exec-helper.c lrmd_conn->cmds->set_callback(lrmd_conn, connection_events); cmds 248 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->connect_async(lrmd_conn, crm_system_name, 3000); cmds 266 daemons/execd/cts-exec-helper.c if (!lrmd_conn->cmds->is_connected(lrmd_conn)) { cmds 272 daemons/execd/cts-exec-helper.c lrmd_conn->cmds->set_callback(lrmd_conn, read_events); cmds 283 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->exec(lrmd_conn, cmds 297 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->register_rsc(lrmd_conn, cmds 303 daemons/execd/cts-exec-helper.c rsc_info = lrmd_conn->cmds->get_rsc_info(lrmd_conn, options.rsc_id, 0); cmds 316 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->unregister_rsc(lrmd_conn, options.rsc_id, 0); cmds 318 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->cancel(lrmd_conn, options.rsc_id, options.action, cmds 323 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->get_metadata(lrmd_conn, cmds 334 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->list_agents(lrmd_conn, &list, options.class, options.provider); cmds 351 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->list_ocf_providers(lrmd_conn, options.type, &list); cmds 369 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->list_standards(lrmd_conn, &list); cmds 386 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->get_recurring_ops(lrmd_conn, options.rsc_id, 0, 0, cmds 1164 daemons/execd/execd_commands.c rc = stonith_api->cmds->register_device(stonith_api, st_opt_sync_call, cmds 1190 daemons/execd/execd_commands.c return stonith_api->cmds->remove_device(stonith_api, st_opt_sync_call, cmds 1207 daemons/execd/execd_commands.c int rc = stonith_api->cmds->monitor(stonith_api, 0, cmd->rsc_id, cmds 1210 daemons/execd/execd_commands.c rc = stonith_api->cmds->register_callback(stonith_api, rc, 0, 0, cmd, cmds 73 daemons/execd/pacemaker-execd.c stonith_api->cmds->register_notification(stonith_api, cmds 266 daemons/execd/pacemaker-execd.c stonith_api->cmds->remove_notification(stonith_api, T_STONITH_NOTIFY_DISCONNECT); cmds 267 daemons/execd/pacemaker-execd.c stonith_api->cmds->disconnect(stonith_api); cmds 156 daemons/fenced/cts-fence-helper.c rc = st->cmds->connect(st, crm_system_name, &pollfd.fd); cmds 161 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, T_STONITH_NOTIFY_DISCONNECT, st_callback); cmds 162 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, T_STONITH_NOTIFY_FENCE, st_callback); cmds 163 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_ADD, st_callback); cmds 164 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_DEL, st_callback); cmds 165 daemons/fenced/cts-fence-helper.c st->cmds->register_callback(st, 0, 120, st_opt_timeout_updates, NULL, "st_global_callback", cmds 206 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id1", "stonith-ng", "fence_dummy", params), cmds 209 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", "off", 3, 0), cmds 212 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", "reboot", 3, 0), cmds 215 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id1"), cmds 231 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id1", "stonith-ng", "fence_dummy", params), cmds 240 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id2", "stonith-ng", "fence_dummy", params), cmds 243 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", "off", 3, 0), cmds 247 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", "on", 3, 0), cmds 250 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id1"), cmds 253 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id2"), cmds 270 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id", "stonith-ng", "fence_dummy", params), cmds 275 daemons/fenced/cts-fence-helper.c single_test(st->cmds->list(st, st_opts, "test-id", NULL, 1), "list", 1, 0); cmds 277 daemons/fenced/cts-fence-helper.c single_test(st->cmds->monitor(st, st_opts, "test-id", 1), "Monitor", 1, 0); cmds 279 daemons/fenced/cts-fence-helper.c single_test(st->cmds->status(st, st_opts, "test-id", "false_1_node2", 1), cmds 282 daemons/fenced/cts-fence-helper.c single_test(st->cmds->status(st, st_opts, "test-id", "false_1_node1", 1), cmds 285 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "unknown-host", "off", 1, 0), cmds 288 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node1", "off", 1, 0), cmds 292 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node1", "on", 1, 0), cmds 296 daemons/fenced/cts-fence-helper.c single_test(st->cmds->register_level(st, st_opts, "node1", 999, params), cmds 299 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id"), "Remove test-id", 1, 0); cmds 309 daemons/fenced/cts-fence-helper.c rc = st->cmds->connect(st, crm_system_name, &pollfd.fd); cmds 314 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, T_STONITH_NOTIFY_DISCONNECT, st_callback); cmds 315 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, T_STONITH_NOTIFY_FENCE, st_callback); cmds 316 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_ADD, st_callback); cmds 317 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_DEL, st_callback); cmds 318 daemons/fenced/cts-fence-helper.c st->cmds->register_callback(st, 0, 120, st_opt_timeout_updates, NULL, "st_global_callback", cmds 335 daemons/fenced/cts-fence-helper.c rc = st->cmds->connect(st, crm_system_name, &pollfd.fd); cmds 344 daemons/fenced/cts-fence-helper.c rc = st->cmds->register_device(st, st_opts, "test-id", "stonith-ng", "fence_xvm", params); cmds 347 daemons/fenced/cts-fence-helper.c rc = st->cmds->list(st, st_opts, "test-id", &tmp, 10); cmds 350 daemons/fenced/cts-fence-helper.c rc = st->cmds->monitor(st, st_opts, "test-id", 10); cmds 353 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node2", 10); cmds 356 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); cmds 359 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "unknown-host", "off", 60, 0); cmds 362 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); cmds 365 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "false_1_node1", "off", 60, 0); cmds 368 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); cmds 371 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "false_1_node1", "on", 10, 0); cmds 374 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); cmds 377 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "some-host", "off", 10, 0); cmds 380 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "some-host", 10); cmds 383 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "false_1_node1", "on", 10, 0); cmds 386 daemons/fenced/cts-fence-helper.c rc = st->cmds->remove_device(st, st_opts, "test-id"); cmds 407 daemons/fenced/cts-fence-helper.c return st->cmds->register_callback(st, cmds 423 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, 0, "true_1_node1", "off", MAINLOOP_DEFAULT_TIMEOUT, 0); cmds 456 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, 0, "custom_timeout_node1", "off", MAINLOOP_DEFAULT_TIMEOUT, 0); cmds 476 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, 0, "false_1_node2", "off", MAINLOOP_DEFAULT_TIMEOUT, 0); cmds 495 daemons/fenced/cts-fence-helper.c rc = st->cmds->monitor(st, 0, "false_1", MAINLOOP_DEFAULT_TIMEOUT); cmds 514 daemons/fenced/cts-fence-helper.c st->cmds->register_device(st, st_opts, "false_1", "stonith-ng", "fence_dummy", params); cmds 521 daemons/fenced/cts-fence-helper.c st->cmds->register_device(st, st_opts, "true_1", "stonith-ng", "fence_dummy", params); cmds 531 daemons/fenced/cts-fence-helper.c st->cmds->register_device(st, st_opts, "false_custom_timeout", "stonith-ng", "fence_dummy", cmds 585 daemons/fenced/cts-fence-helper.c rc = st->cmds->disconnect(st); cmds 799 daemons/fenced/fenced_commands.c rc = st->cmds->metadata(st, st_opt_sync_call, agent, cmds 1188 daemons/fenced/pacemaker-fenced.c rc = cib_api->cmds->query(cib_api, NULL, &local_cib, cib_scope_local | cib_sync_call); cmds 1267 daemons/fenced/pacemaker-fenced.c cib_api->cmds->signoff(cib_api); cmds 1276 daemons/fenced/pacemaker-fenced.c cib_api->cmds->del_notify_callback(cib_api, T_CIB_DIFF_NOTIFY, update_cib_cache_cb); cmds 1277 daemons/fenced/pacemaker-fenced.c cib_api->cmds->signoff(cib_api); cmds 1341 daemons/fenced/pacemaker-fenced.c rc = cib_api->cmds->signon(cib_api, CRM_SYSTEM_STONITHD, cib_command); cmds 1348 daemons/fenced/pacemaker-fenced.c cib_api->cmds->add_notify_callback(cib_api, T_CIB_DIFF_NOTIFY, update_cib_cache_cb)) { cmds 1352 daemons/fenced/pacemaker-fenced.c rc = cib_api->cmds->query(cib_api, NULL, NULL, cib_scope_local); cmds 1353 daemons/fenced/pacemaker-fenced.c cib_api->cmds->register_callback(cib_api, rc, 120, FALSE, NULL, "init_cib_cache_cb", cmds 1355 daemons/fenced/pacemaker-fenced.c cib_api->cmds->set_connection_dnotify(cib_api, cib_connection_destroy); cmds 147 include/crm/cib/cib_types.h cib_api_operations_t *cmds; cmds 173 include/crm/compatibility.h cib->cmds->register_callback(cib, id, 120, flag, data, #fn, fn); \ cmds 511 include/crm/lrmd.h lrmd_api_operations_t *cmds; cmds 348 include/crm/pengine/pe_types.h resource_alloc_functions_t *cmds; cmds 437 include/crm/stonith-ng.h stonith_api_operations_t *cmds; cmds 648 lib/cib/cib_attrs.c rc = the_cib->cmds->query(the_cib, XML_CIB_TAG_NODES, &fragment, cmds 66 lib/cib/cib_client.c return cib->cmds->query_from(cib, NULL, section, output_data, call_options); cmds 124 lib/cib/cib_client.c return cib->cmds->sync_from(cib, NULL, section, call_options); cmds 375 lib/cib/cib_client.c new_cib->cmds = calloc(1, sizeof(cib_api_operations_t)); cmds 377 lib/cib/cib_client.c if (new_cib->cmds == NULL) { cmds 382 lib/cib/cib_client.c new_cib->cmds->set_op_callback = cib_client_set_op_callback; cmds 383 lib/cib/cib_client.c new_cib->cmds->add_notify_callback = cib_client_add_notify_callback; cmds 384 lib/cib/cib_client.c new_cib->cmds->del_notify_callback = cib_client_del_notify_callback; cmds 385 lib/cib/cib_client.c new_cib->cmds->register_callback = cib_client_register_callback; cmds 386 lib/cib/cib_client.c new_cib->cmds->register_callback_full = cib_client_register_callback_full; cmds 388 lib/cib/cib_client.c new_cib->cmds->noop = cib_client_noop; cmds 389 lib/cib/cib_client.c new_cib->cmds->ping = cib_client_ping; cmds 390 lib/cib/cib_client.c new_cib->cmds->query = cib_client_query; cmds 391 lib/cib/cib_client.c new_cib->cmds->sync = cib_client_sync; cmds 393 lib/cib/cib_client.c new_cib->cmds->query_from = cib_client_query_from; cmds 394 lib/cib/cib_client.c new_cib->cmds->sync_from = cib_client_sync_from; cmds 396 lib/cib/cib_client.c new_cib->cmds->is_master = cib_client_is_master; cmds 397 lib/cib/cib_client.c new_cib->cmds->set_master = cib_client_set_master; cmds 398 lib/cib/cib_client.c new_cib->cmds->set_slave = cib_client_set_slave; cmds 399 lib/cib/cib_client.c new_cib->cmds->set_slave_all = cib_client_set_slave_all; cmds 401 lib/cib/cib_client.c new_cib->cmds->upgrade = cib_client_upgrade; cmds 402 lib/cib/cib_client.c new_cib->cmds->bump_epoch = cib_client_bump_epoch; cmds 404 lib/cib/cib_client.c new_cib->cmds->create = cib_client_create; cmds 405 lib/cib/cib_client.c new_cib->cmds->modify = cib_client_modify; cmds 406 lib/cib/cib_client.c new_cib->cmds->update = cib_client_update; cmds 407 lib/cib/cib_client.c new_cib->cmds->replace = cib_client_replace; cmds 408 lib/cib/cib_client.c new_cib->cmds->remove = cib_client_delete; cmds 409 lib/cib/cib_client.c new_cib->cmds->erase = cib_client_erase; cmds 411 lib/cib/cib_client.c new_cib->cmds->delete_absolute = cib_client_delete_absolute; cmds 455 lib/cib/cib_client.c cib->cmds->free(cib); cmds 500 lib/cib/cib_client.c cib->cmds->register_notification(cib, event, 1); cmds 562 lib/cib/cib_client.c cib->cmds->register_notification(cib, event, 0); cmds 526 lib/cib/cib_file.c cib->cmds->signon = cib_file_signon; cmds 527 lib/cib/cib_file.c cib->cmds->signoff = cib_file_signoff; cmds 528 lib/cib/cib_file.c cib->cmds->free = cib_file_free; cmds 529 lib/cib/cib_file.c cib->cmds->inputfd = cib_file_inputfd; cmds 531 lib/cib/cib_file.c cib->cmds->register_notification = cib_file_register_notification; cmds 532 lib/cib/cib_file.c cib->cmds->set_connection_dnotify = cib_file_set_connection_dnotify; cmds 759 lib/cib/cib_file.c free(cib->cmds); cmds 81 lib/cib/cib_native.c cib->cmds->signon = cib_native_signon; cmds 82 lib/cib/cib_native.c cib->cmds->signon_raw = cib_native_signon_raw; cmds 83 lib/cib/cib_native.c cib->cmds->signoff = cib_native_signoff; cmds 84 lib/cib/cib_native.c cib->cmds->free = cib_native_free; cmds 86 lib/cib/cib_native.c cib->cmds->register_notification = cib_native_register_notification; cmds 87 lib/cib/cib_native.c cib->cmds->set_connection_dnotify = cib_native_set_connection_dnotify; cmds 300 lib/cib/cib_native.c free(cib->cmds); cmds 133 lib/cib/cib_remote.c cib->cmds->signon = cib_remote_signon; cmds 134 lib/cib/cib_remote.c cib->cmds->signoff = cib_remote_signoff; cmds 135 lib/cib/cib_remote.c cib->cmds->free = cib_remote_free; cmds 136 lib/cib/cib_remote.c cib->cmds->inputfd = cib_remote_inputfd; cmds 138 lib/cib/cib_remote.c cib->cmds->register_notification = cib_remote_register_notification; cmds 139 lib/cib/cib_remote.c cib->cmds->set_connection_dnotify = cib_remote_set_connection_dnotify; cmds 456 lib/cib/cib_remote.c free(cib->cmds); cmds 33 lib/cib/cib_utils.c cib->cmds->query(cib, NULL, &the_cib, cib_scope_local | cib_sync_call); cmds 732 lib/cib/cib_utils.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cmds 736 lib/cib/cib_utils.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_object, cib_scope_local | cib_sync_call); cmds 760 lib/cib/cib_utils.c rc = (*cib)->cmds->signoff(*cib); cmds 205 lib/common/crmcommon_private.h pcmk__ipc_methods_t *cmds; // Behavior that varies by daemon cmds 77 lib/common/ipc_client.c (*api)->cmds = pcmk__controld_api_methods(); cmds 87 lib/common/ipc_client.c (*api)->cmds = pcmk__pacemakerd_api_methods(); cmds 91 lib/common/ipc_client.c (*api)->cmds = pcmk__schedulerd_api_methods(); cmds 96 lib/common/ipc_client.c if ((*api)->cmds == NULL) { cmds 111 lib/common/ipc_client.c if ((*api)->cmds->new_data != NULL) { cmds 112 lib/common/ipc_client.c if ((*api)->cmds->new_data(*api) != pcmk_rc_ok) { cmds 125 lib/common/ipc_client.c if ((api != NULL) && (api->cmds != NULL)) { cmds 126 lib/common/ipc_client.c if ((api->cmds->free_data != NULL) && (api->api_data != NULL)) { cmds 127 lib/common/ipc_client.c api->cmds->free_data(api->api_data); cmds 130 lib/common/ipc_client.c free(api->cmds); cmds 131 lib/common/ipc_client.c api->cmds = NULL; cmds 169 lib/common/ipc_client.c if ((api->cmds != NULL) && (api->cmds->post_disconnect != NULL)) { cmds 170 lib/common/ipc_client.c api->cmds->post_disconnect(api); cmds 301 lib/common/ipc_client.c if ((api->cmds != NULL) && (api->cmds->dispatch != NULL)) { cmds 302 lib/common/ipc_client.c return api->cmds->dispatch(api, message); cmds 522 lib/common/ipc_client.c if ((api->cmds != NULL) && (api->cmds->post_connect != NULL)) { cmds 523 lib/common/ipc_client.c rc = api->cmds->post_connect(api); cmds 629 lib/common/ipc_client.c && (api->cmds != NULL) cmds 630 lib/common/ipc_client.c && (api->cmds->reply_expected != NULL) cmds 631 lib/common/ipc_client.c && (api->cmds->reply_expected(api, request))) { cmds 264 lib/common/ipc_controld.c pcmk__ipc_methods_t *cmds = calloc(1, sizeof(pcmk__ipc_methods_t)); cmds 266 lib/common/ipc_controld.c if (cmds != NULL) { cmds 267 lib/common/ipc_controld.c cmds->new_data = new_data; cmds 268 lib/common/ipc_controld.c cmds->free_data = free_data; cmds 269 lib/common/ipc_controld.c cmds->post_connect = post_connect; cmds 270 lib/common/ipc_controld.c cmds->reply_expected = reply_expected; cmds 271 lib/common/ipc_controld.c cmds->dispatch = dispatch; cmds 273 lib/common/ipc_controld.c return cmds; cmds 201 lib/common/ipc_pacemakerd.c pcmk__ipc_methods_t *cmds = calloc(1, sizeof(pcmk__ipc_methods_t)); cmds 203 lib/common/ipc_pacemakerd.c if (cmds != NULL) { cmds 204 lib/common/ipc_pacemakerd.c cmds->new_data = new_data; cmds 205 lib/common/ipc_pacemakerd.c cmds->free_data = free_data; cmds 206 lib/common/ipc_pacemakerd.c cmds->post_connect = post_connect; cmds 207 lib/common/ipc_pacemakerd.c cmds->reply_expected = reply_expected; cmds 208 lib/common/ipc_pacemakerd.c cmds->dispatch = dispatch; cmds 209 lib/common/ipc_pacemakerd.c cmds->post_disconnect = post_disconnect; cmds 211 lib/common/ipc_pacemakerd.c return cmds; cmds 128 lib/common/ipc_schedulerd.c pcmk__ipc_methods_t *cmds = calloc(1, sizeof(pcmk__ipc_methods_t)); cmds 130 lib/common/ipc_schedulerd.c if (cmds != NULL) { cmds 131 lib/common/ipc_schedulerd.c cmds->new_data = new_data; cmds 132 lib/common/ipc_schedulerd.c cmds->free_data = free_data; cmds 133 lib/common/ipc_schedulerd.c cmds->post_connect = post_connect; cmds 134 lib/common/ipc_schedulerd.c cmds->reply_expected = reply_expected; cmds 135 lib/common/ipc_schedulerd.c cmds->dispatch = dispatch; cmds 137 lib/common/ipc_schedulerd.c return cmds; cmds 180 lib/fencing/st_client.c int rc = stonith_api->cmds->connect(stonith_api, "stonith-api", NULL); cmds 191 lib/fencing/st_client.c int rc = stonith_api->cmds->list(stonith_api, st_opt_sync_call, STONITH_WATCHDOG_ID, &list, 0); cmds 215 lib/fencing/st_client.c stonith_api->cmds->disconnect(stonith_api); cmds 1159 lib/fencing/st_client.c stonith->cmds->disconnect(stonith); cmds 1656 lib/fencing/st_client.c rc = stonith->cmds->disconnect(stonith); cmds 1669 lib/fencing/st_client.c free(stonith->cmds); cmds 1684 lib/fencing/st_client.c stonith->cmds->free(stonith); cmds 1791 lib/fencing/st_client.c new_stonith->cmds = calloc(1, sizeof(stonith_api_operations_t)); cmds 1792 lib/fencing/st_client.c if (new_stonith->cmds == NULL) { cmds 1799 lib/fencing/st_client.c new_stonith->cmds->free = stonith_api_free; cmds 1800 lib/fencing/st_client.c new_stonith->cmds->connect = stonith_api_signon; cmds 1801 lib/fencing/st_client.c new_stonith->cmds->disconnect = stonith_api_signoff; cmds 1803 lib/fencing/st_client.c new_stonith->cmds->list = stonith_api_list; cmds 1804 lib/fencing/st_client.c new_stonith->cmds->monitor = stonith_api_monitor; cmds 1805 lib/fencing/st_client.c new_stonith->cmds->status = stonith_api_status; cmds 1806 lib/fencing/st_client.c new_stonith->cmds->fence = stonith_api_fence; cmds 1807 lib/fencing/st_client.c new_stonith->cmds->fence_with_delay = stonith_api_fence_with_delay; cmds 1808 lib/fencing/st_client.c new_stonith->cmds->confirm = stonith_api_confirm; cmds 1809 lib/fencing/st_client.c new_stonith->cmds->history = stonith_api_history; cmds 1811 lib/fencing/st_client.c new_stonith->cmds->list_agents = stonith_api_device_list; cmds 1812 lib/fencing/st_client.c new_stonith->cmds->metadata = stonith_api_device_metadata; cmds 1814 lib/fencing/st_client.c new_stonith->cmds->query = stonith_api_query; cmds 1815 lib/fencing/st_client.c new_stonith->cmds->remove_device = stonith_api_remove_device; cmds 1816 lib/fencing/st_client.c new_stonith->cmds->register_device = stonith_api_register_device; cmds 1818 lib/fencing/st_client.c new_stonith->cmds->remove_level = stonith_api_remove_level; cmds 1819 lib/fencing/st_client.c new_stonith->cmds->remove_level_full = stonith_api_remove_level_full; cmds 1820 lib/fencing/st_client.c new_stonith->cmds->register_level = stonith_api_register_level; cmds 1821 lib/fencing/st_client.c new_stonith->cmds->register_level_full = stonith_api_register_level_full; cmds 1823 lib/fencing/st_client.c new_stonith->cmds->remove_callback = stonith_api_del_callback; cmds 1824 lib/fencing/st_client.c new_stonith->cmds->register_callback = stonith_api_add_callback; cmds 1825 lib/fencing/st_client.c new_stonith->cmds->remove_notification = stonith_api_del_notification; cmds 1826 lib/fencing/st_client.c new_stonith->cmds->register_notification = stonith_api_add_notification; cmds 1828 lib/fencing/st_client.c new_stonith->cmds->validate = stonith_api_validate; cmds 1849 lib/fencing/st_client.c rc = st->cmds->connect(st, name, NULL); cmds 1922 lib/fencing/st_client.c rc = st->cmds->connect(st, "stonith-api", NULL); cmds 1935 lib/fencing/st_client.c rc = st->cmds->fence(st, opts, name, action, timeout, 0); cmds 1964 lib/fencing/st_client.c rc = st->cmds->connect(st, "stonith-api", NULL); cmds 1978 lib/fencing/st_client.c rc = st->cmds->history(st, opts, name, &history, 120); cmds 2031 lib/fencing/st_client.c st->cmds->list_agents(st, st_opt_sync_call, NULL, &devices, timeout == 0 ? 120 : timeout); cmds 200 lib/lrmd/lrmd_alerts.c rc = lrmd->cmds->exec_alert(lrmd, entry->id, entry->path, cmds 1916 lib/lrmd/lrmd_client.c rc = stonith_api->cmds->metadata(stonith_api, st_opt_sync_call, type, cmds 1921 lib/lrmd/lrmd_client.c stonith_api->cmds->free(stonith_api); cmds 1930 lib/lrmd/lrmd_client.c return lrmd->cmds->get_metadata_params(lrmd, standard, provider, type, cmds 2077 lib/lrmd/lrmd_client.c stonith_api->cmds->list_agents(stonith_api, st_opt_sync_call, NULL, cmds 2079 lib/lrmd/lrmd_client.c stonith_api->cmds->free(stonith_api); cmds 2241 lib/lrmd/lrmd_client.c (*api)->cmds = calloc(1, sizeof(lrmd_api_operations_t)); cmds 2243 lib/lrmd/lrmd_client.c if ((pvt->remote == NULL) || ((*api)->cmds == NULL)) { cmds 2250 lib/lrmd/lrmd_client.c (*api)->cmds->connect = lrmd_api_connect; cmds 2251 lib/lrmd/lrmd_client.c (*api)->cmds->connect_async = lrmd_api_connect_async; cmds 2252 lib/lrmd/lrmd_client.c (*api)->cmds->is_connected = lrmd_api_is_connected; cmds 2253 lib/lrmd/lrmd_client.c (*api)->cmds->poke_connection = lrmd_api_poke_connection; cmds 2254 lib/lrmd/lrmd_client.c (*api)->cmds->disconnect = lrmd_api_disconnect; cmds 2255 lib/lrmd/lrmd_client.c (*api)->cmds->register_rsc = lrmd_api_register_rsc; cmds 2256 lib/lrmd/lrmd_client.c (*api)->cmds->unregister_rsc = lrmd_api_unregister_rsc; cmds 2257 lib/lrmd/lrmd_client.c (*api)->cmds->get_rsc_info = lrmd_api_get_rsc_info; cmds 2258 lib/lrmd/lrmd_client.c (*api)->cmds->get_recurring_ops = lrmd_api_get_recurring_ops; cmds 2259 lib/lrmd/lrmd_client.c (*api)->cmds->set_callback = lrmd_api_set_callback; cmds 2260 lib/lrmd/lrmd_client.c (*api)->cmds->get_metadata = lrmd_api_get_metadata; cmds 2261 lib/lrmd/lrmd_client.c (*api)->cmds->exec = lrmd_api_exec; cmds 2262 lib/lrmd/lrmd_client.c (*api)->cmds->cancel = lrmd_api_cancel; cmds 2263 lib/lrmd/lrmd_client.c (*api)->cmds->list_agents = lrmd_api_list_agents; cmds 2264 lib/lrmd/lrmd_client.c (*api)->cmds->list_ocf_providers = lrmd_api_list_ocf_providers; cmds 2265 lib/lrmd/lrmd_client.c (*api)->cmds->list_standards = lrmd_api_list_standards; cmds 2266 lib/lrmd/lrmd_client.c (*api)->cmds->exec_alert = lrmd_api_exec_alert; cmds 2267 lib/lrmd/lrmd_client.c (*api)->cmds->get_metadata_params = lrmd_api_get_metadata_params; cmds 2325 lib/lrmd/lrmd_client.c if (lrmd->cmds != NULL) { // Never NULL, but make static analysis happy cmds 2326 lib/lrmd/lrmd_client.c if (lrmd->cmds->disconnect != NULL) { // Also never really NULL cmds 2327 lib/lrmd/lrmd_client.c lrmd->cmds->disconnect(lrmd); // No-op if already disconnected cmds 2329 lib/lrmd/lrmd_client.c free(lrmd->cmds); cmds 64 lib/pacemaker/pcmk_fence.c rc = st->cmds->register_level_full(st, st_opts, node, pattern, cmds 68 lib/pacemaker/pcmk_fence.c rc = st->cmds->remove_level_full(st, st_opts, node, pattern, cmds 155 lib/pacemaker/pcmk_fence.c st->cmds->register_notification(st, T_STONITH_NOTIFY_FENCE, notify_callback); cmds 157 lib/pacemaker/pcmk_fence.c call_id = st->cmds->fence_with_delay(st, cmds 172 lib/pacemaker/pcmk_fence.c st->cmds->register_callback(st, cmds 250 lib/pacemaker/pcmk_fence.c rc = st->cmds->history(st, opts, cmds 318 lib/pacemaker/pcmk_fence.c rc = st->cmds->list_agents(st, st_opt_sync_call, NULL, &devices, timeout/1000); cmds 396 lib/pacemaker/pcmk_fence.c rc = st->cmds->list(st, st_opts, device_id, &lists, timeout/1000); cmds 438 lib/pacemaker/pcmk_fence.c int rc = st->cmds->metadata(st, st_opt_sync_call, agent, NULL, &buffer, cmds 476 lib/pacemaker/pcmk_fence.c rc = st->cmds->query(st, st_opts, target, &devices, timeout/1000); cmds 550 lib/pacemaker/pcmk_fence.c rc = st->cmds->validate(st, st_opt_sync_call, id, NULL, agent, params, cmds 586 lib/pacemaker/pcmk_fence.c rc = st->cmds->history(st, st_opt_sync_call, NULL, stonith_history, 120); cmds 388 lib/pacemaker/pcmk_graph_producer.c parent->cmds->append_meta(parent, args_xml); cmds 1053 lib/pacemaker/pcmk_graph_producer.c rsc->cmds->expand(rsc, data_set); cmds 128 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, NULL, cmds 136 lib/pacemaker/pcmk_injections.c cib_conn->cmds->create(cib_conn, XML_CIB_TAG_NODES, cib_object, cmds 232 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, cmds 256 lib/pacemaker/pcmk_injections.c cib_conn->cmds->create(cib_conn, XML_CIB_TAG_STATUS, cib_object, cmds 261 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, cmds 442 lib/pacemaker/pcmk_injections.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, cmds 510 lib/pacemaker/pcmk_injections.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, xml_top, cmds 590 lib/pacemaker/pcmk_injections.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cmds 625 lib/pacemaker/pcmk_injections.c rc = cib->cmds->modify(cib, NULL, top, cib_sync_call|cib_scope_local); cmds 645 lib/pacemaker/pcmk_injections.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cmds 660 lib/pacemaker/pcmk_injections.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cmds 667 lib/pacemaker/pcmk_injections.c cib->cmds->remove(cib, xpath, NULL, cmds 673 lib/pacemaker/pcmk_injections.c cib->cmds->remove(cib, xpath, NULL, cmds 687 lib/pacemaker/pcmk_injections.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cmds 48 lib/pacemaker/pcmk_sched_actions.c flags = action->rsc->cmds->action_flags(action, NULL); cmds 59 lib/pacemaker/pcmk_sched_actions.c flags = action->rsc->cmds->action_flags(action, node); cmds 253 lib/pacemaker/pcmk_sched_actions.c changed |= then->rsc->cmds->update_actions(first, then, node, cmds 271 lib/pacemaker/pcmk_sched_actions.c changed |= then->rsc->cmds->update_actions(first, then, node, cmds 281 lib/pacemaker/pcmk_sched_actions.c changed |= first->rsc->cmds->update_actions(first, then, node, cmds 298 lib/pacemaker/pcmk_sched_actions.c changed |= then->rsc->cmds->update_actions(first, then, node, cmds 312 lib/pacemaker/pcmk_sched_actions.c changed |= then->rsc->cmds->update_actions(first, then, node, cmds 346 lib/pacemaker/pcmk_sched_actions.c changed |= then->rsc->cmds->update_actions(first, then, node, cmds 359 lib/pacemaker/pcmk_sched_actions.c changed |= then->rsc->cmds->update_actions(first, then, node, cmds 378 lib/pacemaker/pcmk_sched_actions.c changed |= then->rsc->cmds->update_actions(first, then, node, cmds 390 lib/pacemaker/pcmk_sched_actions.c changed |= then->rsc->cmds->update_actions(first, then, node, cmds 403 lib/pacemaker/pcmk_sched_actions.c changed |= then->rsc->cmds->update_actions(first, then, node, cmds 416 lib/pacemaker/pcmk_sched_actions.c changed |= then->rsc->cmds->update_actions(first, then, node, cmds 1214 lib/pacemaker/pcmk_sched_actions.c rsc->cmds->output_actions(rsc); cmds 233 lib/pacemaker/pcmk_sched_allocate.c rsc->cmds->shutdown_lock(rsc); cmds 321 lib/pacemaker/pcmk_sched_allocate.c rsc->cmds->allocate(rsc, rsc->partial_migration_target, cmds 334 lib/pacemaker/pcmk_sched_allocate.c rsc->cmds->allocate(rsc, NULL, data_set); cmds 409 lib/pacemaker/pcmk_sched_allocate.c rsc->cmds->create_actions(rsc, data_set); cmds 100 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->allocate(replica->ip, prefer, data_set); cmds 118 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->allocate(replica->remote, prefer, cmds 140 lib/pacemaker/pcmk_sched_bundle.c replica->child->cmds->allocate(replica->child, replica->node, cmds 160 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->cmds->allocate(bundle_data->child, prefer, data_set); cmds 185 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->create_actions(replica->ip, data_set); cmds 188 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->create_actions(replica->container, cmds 192 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->create_actions(replica->remote, data_set); cmds 199 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->cmds->create_actions(bundle_data->child, data_set); cmds 263 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->internal_constraints(replica->container, cmds 284 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->internal_constraints(replica->ip, data_set); cmds 305 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->internal_constraints(replica->remote, cmds 318 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->cmds->internal_constraints(bundle_data->child, data_set); cmds 491 lib/pacemaker/pcmk_sched_bundle.c dependent->cmds->rsc_colocation_lh(dependent, primary_replica, cmds 516 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->rsc_colocation_rh(dependent, cmds 759 lib/pacemaker/pcmk_sched_bundle.c changed |= then_child->cmds->update_actions(first_action, cmds 761 lib/pacemaker/pcmk_sched_bundle.c first_child->cmds->action_flags(first_action, node), cmds 840 lib/pacemaker/pcmk_sched_bundle.c enum pe_action_flags then_child_flags = then_child->cmds->action_flags(then_child_action, node); cmds 843 lib/pacemaker/pcmk_sched_bundle.c then_child_changed |= then_child->cmds->update_actions(first, cmds 878 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->rsc_location(replica->container, cmds 882 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->rsc_location(replica->ip, constraint); cmds 889 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->cmds->rsc_location(bundle_data->child, constraint); cmds 905 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->cmds->expand(bundle_data->child, data_set); cmds 958 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->expand(replica->ip, data_set); cmds 961 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->expand(replica->container, data_set); cmds 964 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->expand(replica->remote, data_set); cmds 986 lib/pacemaker/pcmk_sched_bundle.c any_created |= replica->ip->cmds->create_probe(replica->ip, node, cmds 991 lib/pacemaker/pcmk_sched_bundle.c any_created |= replica->child->cmds->create_probe(replica->child, cmds 996 lib/pacemaker/pcmk_sched_bundle.c bool created = replica->container->cmds->create_probe(replica->container, cmds 1035 lib/pacemaker/pcmk_sched_bundle.c && replica->remote->cmds->create_probe(replica->remote, node, cmds 1082 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->output_actions(replica->ip); cmds 1085 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->output_actions(replica->container); cmds 1088 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->output_actions(replica->remote); cmds 1091 lib/pacemaker/pcmk_sched_bundle.c replica->child->cmds->output_actions(replica->child); cmds 1119 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->add_utilization(replica->container, orig_rsc, cmds 511 lib/pacemaker/pcmk_sched_clone.c chosen = rsc->cmds->allocate(rsc, prefer, data_set); cmds 710 lib/pacemaker/pcmk_sched_clone.c constraint->primary->cmds->allocate(constraint->primary, prefer, cmds 720 lib/pacemaker/pcmk_sched_clone.c rsc->allowed_nodes = constraint->dependent->cmds->merge_weights( cmds 906 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->create_actions(child_rsc, data_set); cmds 981 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->internal_constraints(child_rsc, data_set); cmds 1148 lib/pacemaker/pcmk_sched_clone.c dependent->cmds->rsc_colocation_lh(dependent, primary_instance, cmds 1188 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_colocation_rh(dependent, child_rsc, constraint, cmds 1255 lib/pacemaker/pcmk_sched_clone.c enum pe_action_flags child_flags = child->cmds->action_flags(child_action, node); cmds 1299 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_location(child_rsc, constraint); cmds 1311 lib/pacemaker/pcmk_sched_clone.c g_list_foreach(rsc->actions, (GFunc) rsc->cmds->action_flags, NULL); cmds 1324 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->expand(child_rsc, data_set); cmds 1395 lib/pacemaker/pcmk_sched_clone.c any_created |= child->cmds->create_probe(child, node, complete, force, cmds 1432 lib/pacemaker/pcmk_sched_clone.c return child->cmds->create_probe(child, node, complete, force, data_set); cmds 1547 lib/pacemaker/pcmk_sched_clone.c child->cmds->add_utilization(child, orig_rsc, all_rscs, cmds 1560 lib/pacemaker/pcmk_sched_clone.c child->cmds->add_utilization(child, orig_rsc, all_rscs, utilization); cmds 418 lib/pacemaker/pcmk_sched_constraints.c rsc->cmds->internal_constraints(rsc, data_set); cmds 123 lib/pacemaker/pcmk_sched_group.c node = child_rsc->cmds->allocate(child_rsc, prefer, data_set); cmds 153 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->create_actions(child_rsc, data_set); cmds 250 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->internal_constraints(child_rsc, data_set); cmds 381 lib/pacemaker/pcmk_sched_group.c group_data->first_child->cmds->rsc_colocation_lh(group_data->first_child, cmds 396 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_colocation_lh(child_rsc, primary, constraint, cmds 421 lib/pacemaker/pcmk_sched_group.c group_data->last_child->cmds->rsc_colocation_rh(dependent, cmds 427 lib/pacemaker/pcmk_sched_group.c group_data->first_child->cmds->rsc_colocation_rh(dependent, cmds 444 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_colocation_rh(dependent, child_rsc, constraint, cmds 462 lib/pacemaker/pcmk_sched_group.c enum pe_action_flags child_flags = child->cmds->action_flags(child_action, node); cmds 511 lib/pacemaker/pcmk_sched_group.c changed |= child->cmds->update_actions(first, child_action, node, cmds 538 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_location(child_rsc, constraint); cmds 560 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->expand(child_rsc, data_set); cmds 582 lib/pacemaker/pcmk_sched_group.c nodes = group_data->first_child->cmds->merge_weights(group_data->first_child, cmds 624 lib/pacemaker/pcmk_sched_group.c colocated_rscs = child_rsc->cmds->colocated_resources(child_rsc, cmds 634 lib/pacemaker/pcmk_sched_group.c colocated_rscs = child_rsc->cmds->colocated_resources(child_rsc, cmds 667 lib/pacemaker/pcmk_sched_group.c child->cmds->add_utilization(child, orig_rsc, all_rscs, cmds 679 lib/pacemaker/pcmk_sched_group.c child->cmds->add_utilization(child, orig_rsc, all_rscs, cmds 692 lib/pacemaker/pcmk_sched_group.c child->cmds->shutdown_lock(child); cmds 604 lib/pacemaker/pcmk_sched_location.c location->rsc_lh->cmds->rsc_location(location->rsc_lh, location); cmds 502 lib/pacemaker/pcmk_sched_native.c rsc->parent->cmds->allocate(rsc->parent, prefer, data_set); cmds 532 lib/pacemaker/pcmk_sched_native.c primary->cmds->allocate(primary, NULL, data_set); cmds 533 lib/pacemaker/pcmk_sched_native.c rsc->cmds->rsc_colocation_lh(rsc, primary, constraint, data_set); cmds 557 lib/pacemaker/pcmk_sched_native.c rsc->allowed_nodes = constraint->dependent->cmds->merge_weights( cmds 753 lib/pacemaker/pcmk_sched_native.c is_optional = (rsc->cmds->action_flags(start, NULL) & pe_action_optional); cmds 1711 lib/pacemaker/pcmk_sched_native.c primary->cmds->rsc_colocation_rh(dependent, primary, constraint, data_set); cmds 2009 lib/pacemaker/pcmk_sched_native.c child_rsc->cmds->expand(child_rsc, data_set); cmds 2329 lib/pacemaker/pcmk_sched_native.c any_created = child_rsc->cmds->create_probe(child_rsc, node, complete, force, data_set) cmds 560 lib/pacemaker/pcmk_sched_probes.c rsc->cmds->create_probe(rsc, node, NULL, FALSE, data_set); cmds 350 lib/pacemaker/pcmk_sched_promotable.c rsc->allowed_nodes = constraint->primary->cmds->merge_weights( cmds 372 lib/pacemaker/pcmk_sched_promotable.c rsc->allowed_nodes = constraint->dependent->cmds->merge_weights( cmds 743 lib/pacemaker/pcmk_sched_promotable.c child_rsc->cmds->rsc_colocation_lh(child_rsc, cons->primary, cons, cmds 838 lib/pacemaker/pcmk_sched_promotable.c child_rsc->cmds->create_actions(child_rsc, data_set); cmds 197 lib/pacemaker/pcmk_sched_resource.c rsc->cmds = &allocation_methods[rsc->variant]; cmds 246 lib/pacemaker/pcmk_sched_resource.c colocated_rscs = primary->cmds->colocated_resources(primary, cmds 269 lib/pacemaker/pcmk_sched_resource.c colocated_rscs = dependent->cmds->colocated_resources(dependent, cmds 290 lib/pacemaker/pcmk_sched_resource.c child->cmds->output_actions(child); cmds 278 lib/pacemaker/pcmk_sched_utilization.c rsc->cmds->add_utilization(rsc, orig_rsc, rscs, utilization); cmds 312 lib/pacemaker/pcmk_sched_utilization.c colocated_rscs = rsc->cmds->colocated_resources(rsc, NULL, NULL); cmds 559 lib/pacemaker/pcmk_simulate.c CRM_ASSERT(fake_cib->cmds->query(fake_cib, NULL, NULL, cmds 636 lib/pacemaker/pcmk_simulate.c rc = fake_cib->cmds->modify(fake_cib, XML_CIB_TAG_STATUS, cib_node, cmds 697 lib/pacemaker/pcmk_simulate.c rc = fake_cib->cmds->replace(fake_cib, XML_CIB_TAG_STATUS, cib_node, cmds 704 lib/pacemaker/pcmk_simulate.c fake_cib->cmds->remove(fake_cib, xpath, NULL, cmds 709 lib/pacemaker/pcmk_simulate.c fake_cib->cmds->remove(fake_cib, xpath, NULL, cmds 765 lib/pacemaker/pcmk_simulate.c int rc = fake_cib->cmds->query(fake_cib, NULL, &cib_object, cmds 835 lib/pacemaker/pcmk_simulate.c rc = cib->cmds->query(cib, NULL, &input, cib_sync_call); cmds 38 lib/pacemaker/pcmk_status.c rc = cib->cmds->signon(cib, crm_system_name, cib_query); cmds 47 lib/pacemaker/pcmk_status.c rc = cib->cmds->query(cib, NULL, current_cib, cmds 64 lib/pacemaker/pcmk_status.c rc = st->cmds->connect(st, crm_system_name, NULL); cmds 282 lib/pacemaker/pcmk_status.c st->cmds->remove_notification(st, NULL); cmds 283 lib/pacemaker/pcmk_status.c st->cmds->disconnect(st); cmds 749 tools/cibadmin.c the_cib->cmds->register_callback(the_cib, request_id, message_timeout_ms, FALSE, NULL, cmds 772 tools/cibadmin.c rc = the_cib->cmds->query(the_cib, NULL, &obj, command_options); cmds 872 tools/cibadmin.c rc = the_cib->cmds->signon(the_cib, crm_system_name, cib_command); cmds 487 tools/crm_attribute.c rc = the_cib->cmds->signon(the_cib, crm_system_name, cib_command); cmds 696 tools/crm_mon.c cib->cmds->signoff(cib); cmds 753 tools/crm_mon.c rc = st->cmds->connect(st, crm_system_name, NULL); cmds 757 tools/crm_mon.c st->cmds->register_notification(st, T_STONITH_NOTIFY_DISCONNECT, cmds 759 tools/crm_mon.c st->cmds->register_notification(st, T_STONITH_NOTIFY_FENCE, mon_st_callback_event); cmds 761 tools/crm_mon.c st->cmds->register_notification(st, T_STONITH_NOTIFY_DISCONNECT, cmds 763 tools/crm_mon.c st->cmds->register_notification(st, T_STONITH_NOTIFY_HISTORY, mon_st_callback_display); cmds 786 tools/crm_mon.c rc = pcmk_legacy2rc(cib->cmds->signon(cib, crm_system_name, cib_query)); cmds 798 tools/crm_mon.c rc = pcmk_legacy2rc(cib->cmds->query(cib, NULL, ¤t_cib, cmds 802 tools/crm_mon.c rc = pcmk_legacy2rc(cib->cmds->set_connection_dnotify(cib, cmds 815 tools/crm_mon.c cib->cmds->del_notify_callback(cib, T_CIB_DIFF_NOTIFY, cmds 817 tools/crm_mon.c rc = pcmk_legacy2rc(cib->cmds->add_notify_callback(cib, cmds 1958 tools/crm_mon.c cib->cmds->query(cib, NULL, ¤t_cib, cib_scope_local | cib_sync_call); cmds 2117 tools/crm_mon.c st->cmds->remove_notification(st, NULL); cmds 2118 tools/crm_mon.c st->cmds->disconnect(st); cmds 354 tools/crm_node.c cib->cmds->signon(cib, crm_system_name, cib_command); cmds 356 tools/crm_node.c rc = cib->cmds->remove(cib, XML_CIB_TAG_NODES, node, cib_sync_call); cmds 361 tools/crm_node.c rc = cib->cmds->remove(cib, XML_CIB_TAG_STATUS, node_state, cib_sync_call); cmds 1063 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); cmds 1109 tools/crm_resource.c rc = cib_conn->cmds->remove(cib_conn, XML_CIB_TAG_RESOURCES, msg_data, cmds 1133 tools/crm_resource.c rc = lrmd_conn->cmds->list_agents(lrmd_conn, &list, agent_spec, provider); cmds 1172 tools/crm_resource.c rc = lrmd_conn->cmds->list_ocf_providers(lrmd_conn, agent_spec, &list); cmds 1183 tools/crm_resource.c rc = lrmd_conn->cmds->list_standards(lrmd_conn, &list); cmds 1194 tools/crm_resource.c rc = lrmd_conn->cmds->list_ocf_providers(lrmd_conn, agent_spec, &list); cmds 1239 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); cmds 1359 tools/crm_resource.c rc = cib_conn->cmds->modify(cib_conn, XML_CIB_TAG_RESOURCES, msg_data, cmds 1389 tools/crm_resource.c rc = lrmd_conn->cmds->get_metadata(lrmd_conn, standard, cmds 1724 tools/crm_resource.c if ((cib_conn == NULL) || (cib_conn->cmds == NULL)) { cmds 1730 tools/crm_resource.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cmds 150 tools/crm_resource_ban.c rc = cib_conn->cmds->update(cib_conn, XML_CIB_TAG_CONSTRAINTS, fragment, cib_options); cmds 216 tools/crm_resource_ban.c rc = cib_conn->cmds->update(cib_conn, XML_CIB_TAG_CONSTRAINTS, fragment, cib_options); cmds 254 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, xpath_string, NULL, cib_xpath | cib_options); cmds 288 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, XML_CIB_TAG_CONSTRAINTS, fragment, cib_options); cmds 461 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, XML_CIB_TAG_CONSTRAINTS, cmds 156 tools/crm_resource_runtime.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, cmds 386 tools/crm_resource_runtime.c rc = cib->cmds->modify(cib, XML_CIB_TAG_RESOURCES, xml_top, cib_options); cmds 489 tools/crm_resource_runtime.c rc = cib->cmds->remove(cib, XML_CIB_TAG_RESOURCES, xml_obj, cib_options); cmds 1102 tools/crm_resource_runtime.c rc = cib->cmds->query(cib, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); cmds 1157 tools/crm_resource_runtime.c rc = shadow_cib->cmds->signon(shadow_cib, crm_system_name, cib_command); cmds 415 tools/crm_shadow.c rc = real_cib->cmds->signon(real_cib, crm_system_name, cib_command); cmds 445 tools/crm_shadow.c rc = real_cib->cmds->query(real_cib, NULL, &output, command_options); cmds 510 tools/crm_shadow.c rc = real_cib->cmds->query(real_cib, NULL, &old_config, command_options); cmds 542 tools/crm_shadow.c rc = real_cib->cmds->replace(real_cib, section, section_xml, cmds 363 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, cmds 415 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, cmds 637 tools/crm_ticket.c rc = cib->cmds->replace(cib, XML_CIB_TAG_STATUS, ticket_state_xml, cib_options); cmds 642 tools/crm_ticket.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, xml_top, cib_options); cmds 668 tools/crm_ticket.c rc = cib->cmds->remove(cib, XML_CIB_TAG_STATUS, ticket_state_xml, cib_options); cmds 779 tools/crm_ticket.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cmds 793 tools/crm_ticket.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); cmds 533 tools/stonith_admin.c rc = st->cmds->connect(st, name, NULL); cmds 559 tools/stonith_admin.c rc = st->cmds->monitor(st, st_opts, device, options.timeout); cmds 561 tools/stonith_admin.c rc = st->cmds->list(st, st_opts, device, NULL, options.timeout); cmds 575 tools/stonith_admin.c rc = st->cmds->register_device(st, st_opts, device, NULL, options.agent, cmds 581 tools/stonith_admin.c rc = st->cmds->remove_device(st, st_opts, device); cmds 602 tools/stonith_admin.c rc = st->cmds->confirm(st, st_opts, target); cmds 651 tools/stonith_admin.c st->cmds->disconnect(st);