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 1303 daemons/attrd/attrd_commands.c the_cib->cmds->register_callback_full(the_cib, a->update, cmds 184 daemons/attrd/attrd_utils.c the_cib->cmds->del_notify_callback(the_cib, T_CIB_REPLACE_NOTIFY, attrd_cib_replaced_cb); cmds 185 daemons/attrd/attrd_utils.c the_cib->cmds->del_notify_callback(the_cib, T_CIB_DIFF_NOTIFY, attrd_cib_updated_cb); cmds 186 daemons/attrd/attrd_utils.c the_cib->cmds->signoff(the_cib); 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 197 daemons/attrd/pacemaker-attrd.c the_cib->cmds->signoff(the_cib); cmds 132 daemons/based/cibmon.c rc = cib->cmds->signon(cib, crm_system_name, cib_query); cmds 142 daemons/based/cibmon.c rc = cib->cmds->set_connection_dnotify(cib, cib_connection_destroy); cmds 149 daemons/based/cibmon.c rc = cib->cmds->add_notify_callback(cib, T_CIB_DIFF_NOTIFY, cibmon_diff); cmds 184 daemons/based/cibmon.c conn->cmds->signoff(conn); /* Ensure IPC is cleaned up */ cmds 236 daemons/based/cibmon.c rc = cib->cmds->query(cib, NULL, &cib_copy, cib_scope_local | cib_sync_call); cmds 69 daemons/controld/controld_based.c fsa_cib_conn->cmds->del_notify_callback(fsa_cib_conn, T_CIB_REPLACE_NOTIFY, do_cib_replaced); cmds 70 daemons/controld/controld_based.c fsa_cib_conn->cmds->del_notify_callback(fsa_cib_conn, T_CIB_DIFF_NOTIFY, do_cib_updated); cmds 74 daemons/controld/controld_based.c fsa_cib_conn->cmds->set_slave(fsa_cib_conn, cib_scope_local | cib_discard_reply); cmds 75 daemons/controld/controld_based.c fsa_cib_conn->cmds->signoff(fsa_cib_conn); cmds 88 daemons/controld/controld_based.c rc = fsa_cib_conn->cmds->signon(fsa_cib_conn, CRM_SYSTEM_CRMD, cib_command_nonblocking); cmds 93 daemons/controld/controld_based.c rc = fsa_cib_conn->cmds->signon(fsa_cib_conn, CRM_SYSTEM_CRMD, cib_command_nonblocking); cmds 100 daemons/controld/controld_based.c fsa_cib_conn->cmds->set_connection_dnotify(fsa_cib_conn, cmds 105 daemons/controld/controld_based.c fsa_cib_conn->cmds->add_notify_callback(fsa_cib_conn, T_CIB_REPLACE_NOTIFY, cmds 110 daemons/controld/controld_based.c fsa_cib_conn->cmds->add_notify_callback(fsa_cib_conn, T_CIB_DIFF_NOTIFY, cmds 257 daemons/controld/controld_based.c call_id = fsa_cib_conn->cmds->remove(fsa_cib_conn, xpath, NULL, options); cmds 228 daemons/controld/controld_control.c fsa_cib_conn->cmds->del_notify_callback(fsa_cib_conn, T_CIB_REPLACE_NOTIFY, do_cib_replaced); cmds 229 daemons/controld/controld_control.c fsa_cib_conn->cmds->del_notify_callback(fsa_cib_conn, T_CIB_DIFF_NOTIFY, do_cib_updated); cmds 231 daemons/controld/controld_control.c fsa_cib_conn->cmds->signoff(fsa_cib_conn); cmds 792 daemons/controld/controld_control.c fsa_cib_conn->cmds->query(fsa_cib_conn, cmds 159 daemons/controld/controld_election.c fsa_cib_conn->cmds->set_slave(fsa_cib_conn, cib_scope_local); cmds 202 daemons/controld/controld_election.c fsa_cib_conn->cmds->set_master(fsa_cib_conn, cib_scope_local); cmds 1010 daemons/controld/controld_execd.c fsa_cib_conn->cmds->remove(fsa_cib_conn, XML_CIB_TAG_STATUS, xml_top, cmds 1071 daemons/controld/controld_execd.c fsa_cib_conn->cmds->remove(fsa_cib_conn, op_xpath, NULL, cmds 339 daemons/controld/controld_execd_state.c ((lrmd_t *) lrm_state->conn)->cmds->disconnect(lrm_state->conn); cmds 366 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->is_connected(lrm_state->conn); cmds 376 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->poke_connection(lrm_state->conn); cmds 386 daemons/controld/controld_execd_state.c ((lrmd_t *) lrm_state->conn)->cmds->set_callback(lrm_state->conn, lrm_op_callback); cmds 389 daemons/controld/controld_execd_state.c ret = ((lrmd_t *) lrm_state->conn)->cmds->connect(lrm_state->conn, CRM_SYSTEM_CRMD, NULL); 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 584 daemons/controld/controld_execd_state.c ((lrmd_t *) lrm_state->conn)->cmds->set_callback(lrm_state->conn, remote_lrm_op_callback); cmds 590 daemons/controld/controld_execd_state.c ((lrmd_t *) lrm_state->conn)->cmds->connect_async(lrm_state->conn, lrm_state->node_name, cmds 631 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->get_metadata_params(lrm_state->conn, cmds 648 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->cancel(lrm_state->conn, rsc_id, cmds 667 daemons/controld/controld_execd_state.c rsc = ((lrmd_t *) lrm_state->conn)->cmds->get_rsc_info(lrm_state->conn, rsc_id, options); cmds 697 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->exec(lrm_state->conn, cmds 726 daemons/controld/controld_execd_state.c return conn->cmds->register_rsc(lrm_state->conn, rsc_id, class, provider, cmds 750 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->unregister_rsc(lrm_state->conn, rsc_id, options); cmds 224 daemons/controld/controld_fencing.c rc = fsa_cib_conn->cmds->update(fsa_cib_conn, XML_CIB_TAG_STATUS, node_state, cmds 426 daemons/controld/controld_fencing.c stonith_api->cmds->disconnect(st); cmds 428 daemons/controld/controld_fencing.c stonith_api->cmds->remove_notification(stonith_api, T_STONITH_NOTIFY_DISCONNECT); cmds 429 daemons/controld/controld_fencing.c stonith_api->cmds->remove_notification(stonith_api, T_STONITH_NOTIFY_FENCE); cmds 430 daemons/controld/controld_fencing.c stonith_api->cmds->remove_notification(stonith_api, T_STONITH_NOTIFY_HISTORY_SYNCED); cmds 615 daemons/controld/controld_fencing.c rc = stonith_api->cmds->connect(stonith_api, crm_system_name, NULL); cmds 630 daemons/controld/controld_fencing.c stonith_api->cmds->register_notification(stonith_api, cmds 633 daemons/controld/controld_fencing.c stonith_api->cmds->register_notification(stonith_api, cmds 636 daemons/controld/controld_fencing.c stonith_api->cmds->register_notification(stonith_api, cmds 670 daemons/controld/controld_fencing.c stonith_api->cmds->disconnect(stonith_api); cmds 672 daemons/controld/controld_fencing.c stonith_api->cmds->remove_notification(stonith_api, T_STONITH_NOTIFY_DISCONNECT); cmds 673 daemons/controld/controld_fencing.c stonith_api->cmds->remove_notification(stonith_api, T_STONITH_NOTIFY_FENCE); cmds 674 daemons/controld/controld_fencing.c stonith_api->cmds->remove_notification(stonith_api, T_STONITH_NOTIFY_HISTORY_SYNCED); cmds 678 daemons/controld/controld_fencing.c stonith_api->cmds->free(stonith_api); cmds 699 daemons/controld/controld_fencing.c stonith_api->cmds->history(stonith_api, cmds 820 daemons/controld/controld_fencing.c return stonith_api->cmds->fence_with_delay(stonith_api, options, target, cmds 866 daemons/controld/controld_fencing.c stonith_api->cmds->register_callback(stonith_api, rc, cmds 902 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 143 daemons/controld/controld_join_client.c fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local | cib_no_children); cmds 467 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 67 daemons/controld/controld_remote_ra.c GList *cmds; cmds 147 daemons/controld/controld_remote_ra.c ra_data->cmds = g_list_append(ra_data->cmds, cmd); cmds 433 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { cmds 483 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { cmds 578 daemons/controld/controld_remote_ra.c ra_data->cmds = fail_all_monitor_cmds(ra_data->cmds); cmds 684 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { cmds 711 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { cmds 712 daemons/controld/controld_remote_ra.c g_list_free_full(ra_data->cmds, free_cmd); cmds 717 daemons/controld/controld_remote_ra.c ra_data->cmds = NULL; cmds 766 daemons/controld/controld_remote_ra.c while (ra_data->cmds) { cmds 767 daemons/controld/controld_remote_ra.c first = ra_data->cmds; cmds 774 daemons/controld/controld_remote_ra.c ra_data->cmds = g_list_remove_link(ra_data->cmds, first); cmds 874 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { cmds 875 daemons/controld/controld_remote_ra.c g_list_free_full(ra_data->cmds, free_cmd); cmds 998 daemons/controld/controld_remote_ra.c ra_data->cmds = remove_cmd(ra_data->cmds, action, interval_ms); cmds 1045 daemons/controld/controld_remote_ra.c for (gIter = ra_data->cmds; gIter != NULL; gIter = gIter->next) { cmds 1134 daemons/controld/controld_remote_ra.c ra_data->cmds = g_list_append(ra_data->cmds, cmd); cmds 1160 daemons/controld/controld_remote_ra.c ra_data->cmds = fail_all_monitor_cmds(ra_data->cmds); cmds 105 daemons/controld/controld_schedulerd.c rc = fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local); cmds 341 daemons/controld/controld_schedulerd.c fsa_pe_query = fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local); cmds 256 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 245 daemons/execd/cts-exec-helper.c lrmd_conn->cmds->set_callback(lrmd_conn, connection_events); cmds 247 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->connect_async(lrmd_conn, "pacemaker-execd", 3000); cmds 265 daemons/execd/cts-exec-helper.c if (!lrmd_conn->cmds->is_connected(lrmd_conn)) { cmds 271 daemons/execd/cts-exec-helper.c lrmd_conn->cmds->set_callback(lrmd_conn, read_events); cmds 282 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->exec(lrmd_conn, cmds 296 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->register_rsc(lrmd_conn, cmds 302 daemons/execd/cts-exec-helper.c rsc_info = lrmd_conn->cmds->get_rsc_info(lrmd_conn, options.rsc_id, 0); cmds 315 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->unregister_rsc(lrmd_conn, options.rsc_id, 0); cmds 317 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->cancel(lrmd_conn, options.rsc_id, options.action, cmds 322 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->get_metadata(lrmd_conn, cmds 333 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->list_agents(lrmd_conn, &list, options.class, options.provider); cmds 350 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->list_ocf_providers(lrmd_conn, options.type, &list); cmds 368 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->list_standards(lrmd_conn, &list); cmds 385 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->get_recurring_ops(lrmd_conn, options.rsc_id, 0, 0, cmds 446 daemons/execd/cts-exec-helper.c rc = cib_conn->cmds->signon(cib_conn, "cts-exec-helper", cib_query); cmds 453 daemons/execd/cts-exec-helper.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); cmds 686 daemons/execd/cts-exec-helper.c cib_conn->cmds->signoff(cib_conn); cmds 1237 daemons/execd/execd_commands.c rc = stonith_api->cmds->register_device(stonith_api, st_opt_sync_call, cmds 1263 daemons/execd/execd_commands.c return stonith_api->cmds->remove_device(stonith_api, st_opt_sync_call, cmds 1280 daemons/execd/execd_commands.c int rc = stonith_api->cmds->monitor(stonith_api, 0, cmd->rsc_id, cmds 1283 daemons/execd/execd_commands.c rc = stonith_api->cmds->register_callback(stonith_api, rc, 0, 0, cmd, cmds 77 daemons/execd/pacemaker-execd.c stonith_api->cmds->register_notification(stonith_api, cmds 270 daemons/execd/pacemaker-execd.c stonith_api->cmds->remove_notification(stonith_api, T_STONITH_NOTIFY_DISCONNECT); cmds 271 daemons/execd/pacemaker-execd.c stonith_api->cmds->disconnect(stonith_api); cmds 142 daemons/fenced/cts-fence-helper.c rc = st->cmds->connect(st, crm_system_name, &pollfd.fd); cmds 147 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, T_STONITH_NOTIFY_DISCONNECT, st_callback); cmds 148 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, T_STONITH_NOTIFY_FENCE, st_callback); cmds 149 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_ADD, st_callback); cmds 150 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_DEL, st_callback); cmds 151 daemons/fenced/cts-fence-helper.c st->cmds->register_callback(st, 0, 120, st_opt_timeout_updates, NULL, "st_global_callback", cmds 191 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id1", "stonith-ng", "fence_dummy", params), cmds 194 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", "off", 3, 0), cmds 197 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", "reboot", 3, 0), cmds 200 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id1"), cmds 215 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id1", "stonith-ng", "fence_dummy", params), cmds 223 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id2", "stonith-ng", "fence_dummy", params), cmds 226 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", "off", 3, 0), cmds 230 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", "on", 3, 0), cmds 233 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id1"), cmds 236 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id2"), cmds 252 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id", "stonith-ng", "fence_dummy", params), cmds 257 daemons/fenced/cts-fence-helper.c single_test(st->cmds->list(st, st_opts, "test-id", NULL, 1), "list", 1, 0); cmds 259 daemons/fenced/cts-fence-helper.c single_test(st->cmds->monitor(st, st_opts, "test-id", 1), "Monitor", 1, 0); cmds 261 daemons/fenced/cts-fence-helper.c single_test(st->cmds->status(st, st_opts, "test-id", "false_1_node2", 1), cmds 264 daemons/fenced/cts-fence-helper.c single_test(st->cmds->status(st, st_opts, "test-id", "false_1_node1", 1), cmds 267 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "unknown-host", "off", 1, 0), cmds 270 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node1", "off", 1, 0), cmds 274 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node1", "on", 1, 0), cmds 278 daemons/fenced/cts-fence-helper.c single_test(st->cmds->register_level(st, st_opts, "node1", 999, params), cmds 281 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id"), "Remove test-id", 1, 0); cmds 291 daemons/fenced/cts-fence-helper.c rc = st->cmds->connect(st, crm_system_name, &pollfd.fd); cmds 296 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, T_STONITH_NOTIFY_DISCONNECT, st_callback); cmds 297 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, T_STONITH_NOTIFY_FENCE, st_callback); cmds 298 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_ADD, st_callback); cmds 299 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_DEL, st_callback); cmds 300 daemons/fenced/cts-fence-helper.c st->cmds->register_callback(st, 0, 120, st_opt_timeout_updates, NULL, "st_global_callback", cmds 317 daemons/fenced/cts-fence-helper.c rc = st->cmds->connect(st, crm_system_name, &pollfd.fd); cmds 325 daemons/fenced/cts-fence-helper.c rc = st->cmds->register_device(st, st_opts, "test-id", "stonith-ng", "fence_xvm", params); cmds 328 daemons/fenced/cts-fence-helper.c rc = st->cmds->list(st, st_opts, "test-id", &tmp, 10); cmds 331 daemons/fenced/cts-fence-helper.c rc = st->cmds->monitor(st, st_opts, "test-id", 10); cmds 334 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node2", 10); cmds 337 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); cmds 340 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "unknown-host", "off", 60, 0); cmds 343 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); cmds 346 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "false_1_node1", "off", 60, 0); cmds 349 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); cmds 352 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "false_1_node1", "on", 10, 0); cmds 355 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); cmds 358 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "some-host", "off", 10, 0); cmds 361 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "some-host", 10); cmds 364 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "false_1_node1", "on", 10, 0); cmds 367 daemons/fenced/cts-fence-helper.c rc = st->cmds->remove_device(st, st_opts, "test-id"); cmds 386 daemons/fenced/cts-fence-helper.c return st->cmds->register_callback(st, cmds 406 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, 0, "true_1_node1", "off", MAINLOOP_DEFAULT_TIMEOUT, 0); cmds 439 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, 0, "custom_timeout_node1", "off", MAINLOOP_DEFAULT_TIMEOUT, 0); cmds 462 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, 0, "false_1_node2", "off", MAINLOOP_DEFAULT_TIMEOUT, 0); cmds 485 daemons/fenced/cts-fence-helper.c rc = st->cmds->monitor(st, 0, "false_1", MAINLOOP_DEFAULT_TIMEOUT); cmds 503 daemons/fenced/cts-fence-helper.c st->cmds->register_device(st, st_opts, "false_1", "stonith-ng", "fence_dummy", params); cmds 509 daemons/fenced/cts-fence-helper.c st->cmds->register_device(st, st_opts, "true_1", "stonith-ng", "fence_dummy", params); cmds 518 daemons/fenced/cts-fence-helper.c st->cmds->register_device(st, st_opts, "false_custom_timeout", "stonith-ng", "fence_dummy", cmds 572 daemons/fenced/cts-fence-helper.c rc = st->cmds->disconnect(st); cmds 697 daemons/fenced/fenced_commands.c rc = st->cmds->metadata(st, st_opt_sync_call, agent, NULL, &buffer, 10); cmds 1044 daemons/fenced/pacemaker-fenced.c rc = cib_api->cmds->query(cib_api, NULL, &local_cib, cib_scope_local | cib_sync_call); cmds 1140 daemons/fenced/pacemaker-fenced.c cib_api->cmds->signoff(cib_api); cmds 1149 daemons/fenced/pacemaker-fenced.c cib_api->cmds->del_notify_callback(cib_api, T_CIB_DIFF_NOTIFY, update_cib_cache_cb); cmds 1150 daemons/fenced/pacemaker-fenced.c cib_api->cmds->signoff(cib_api); cmds 1213 daemons/fenced/pacemaker-fenced.c rc = cib_api->cmds->signon(cib_api, CRM_SYSTEM_STONITHD, cib_command); cmds 1220 daemons/fenced/pacemaker-fenced.c cib_api->cmds->add_notify_callback(cib_api, T_CIB_DIFF_NOTIFY, update_cib_cache_cb)) { cmds 1224 daemons/fenced/pacemaker-fenced.c rc = cib_api->cmds->query(cib_api, NULL, NULL, cib_scope_local); cmds 1225 daemons/fenced/pacemaker-fenced.c cib_api->cmds->register_callback(cib_api, rc, 120, FALSE, NULL, "init_cib_cache_cb", cmds 1227 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 533 include/crm/lrmd.h lrmd_api_operations_t *cmds; cmds 320 include/crm/pengine/pe_types.h resource_alloc_functions_t *cmds; cmds 425 include/crm/stonith-ng.h stonith_api_operations_t *cmds; cmds 533 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 364 lib/cib/cib_client.c new_cib->cmds = calloc(1, sizeof(cib_api_operations_t)); cmds 366 lib/cib/cib_client.c new_cib->cmds->set_op_callback = cib_client_set_op_callback; cmds 367 lib/cib/cib_client.c new_cib->cmds->add_notify_callback = cib_client_add_notify_callback; cmds 368 lib/cib/cib_client.c new_cib->cmds->del_notify_callback = cib_client_del_notify_callback; cmds 369 lib/cib/cib_client.c new_cib->cmds->register_callback = cib_client_register_callback; cmds 370 lib/cib/cib_client.c new_cib->cmds->register_callback_full = cib_client_register_callback_full; cmds 372 lib/cib/cib_client.c new_cib->cmds->noop = cib_client_noop; cmds 373 lib/cib/cib_client.c new_cib->cmds->ping = cib_client_ping; cmds 374 lib/cib/cib_client.c new_cib->cmds->query = cib_client_query; cmds 375 lib/cib/cib_client.c new_cib->cmds->sync = cib_client_sync; cmds 377 lib/cib/cib_client.c new_cib->cmds->query_from = cib_client_query_from; cmds 378 lib/cib/cib_client.c new_cib->cmds->sync_from = cib_client_sync_from; cmds 380 lib/cib/cib_client.c new_cib->cmds->is_master = cib_client_is_master; cmds 381 lib/cib/cib_client.c new_cib->cmds->set_master = cib_client_set_master; cmds 382 lib/cib/cib_client.c new_cib->cmds->set_slave = cib_client_set_slave; cmds 383 lib/cib/cib_client.c new_cib->cmds->set_slave_all = cib_client_set_slave_all; cmds 385 lib/cib/cib_client.c new_cib->cmds->upgrade = cib_client_upgrade; cmds 386 lib/cib/cib_client.c new_cib->cmds->bump_epoch = cib_client_bump_epoch; cmds 388 lib/cib/cib_client.c new_cib->cmds->create = cib_client_create; cmds 389 lib/cib/cib_client.c new_cib->cmds->modify = cib_client_modify; cmds 390 lib/cib/cib_client.c new_cib->cmds->update = cib_client_update; cmds 391 lib/cib/cib_client.c new_cib->cmds->replace = cib_client_replace; cmds 392 lib/cib/cib_client.c new_cib->cmds->remove = cib_client_delete; cmds 393 lib/cib/cib_client.c new_cib->cmds->erase = cib_client_erase; cmds 395 lib/cib/cib_client.c new_cib->cmds->delete_absolute = cib_client_delete_absolute; cmds 432 lib/cib/cib_client.c cib->cmds->free(cib); cmds 477 lib/cib/cib_client.c cib->cmds->register_notification(cib, event, 1); cmds 539 lib/cib/cib_client.c cib->cmds->register_notification(cib, event, 0); cmds 516 lib/cib/cib_file.c cib->cmds->signon = cib_file_signon; cmds 517 lib/cib/cib_file.c cib->cmds->signoff = cib_file_signoff; cmds 518 lib/cib/cib_file.c cib->cmds->free = cib_file_free; cmds 519 lib/cib/cib_file.c cib->cmds->inputfd = cib_file_inputfd; cmds 521 lib/cib/cib_file.c cib->cmds->register_notification = cib_file_register_notification; cmds 522 lib/cib/cib_file.c cib->cmds->set_connection_dnotify = cib_file_set_connection_dnotify; cmds 749 lib/cib/cib_file.c free(cib->cmds); cmds 72 lib/cib/cib_native.c cib->cmds->signon = cib_native_signon; cmds 73 lib/cib/cib_native.c cib->cmds->signon_raw = cib_native_signon_raw; cmds 74 lib/cib/cib_native.c cib->cmds->signoff = cib_native_signoff; cmds 75 lib/cib/cib_native.c cib->cmds->free = cib_native_free; cmds 77 lib/cib/cib_native.c cib->cmds->register_notification = cib_native_register_notification; cmds 78 lib/cib/cib_native.c cib->cmds->set_connection_dnotify = cib_native_set_connection_dnotify; cmds 288 lib/cib/cib_native.c free(cib->cmds); cmds 135 lib/cib/cib_remote.c cib->cmds->signon = cib_remote_signon; cmds 136 lib/cib/cib_remote.c cib->cmds->signoff = cib_remote_signoff; cmds 137 lib/cib/cib_remote.c cib->cmds->free = cib_remote_free; cmds 138 lib/cib/cib_remote.c cib->cmds->inputfd = cib_remote_inputfd; cmds 140 lib/cib/cib_remote.c cib->cmds->register_notification = cib_remote_register_notification; cmds 141 lib/cib/cib_remote.c cib->cmds->set_connection_dnotify = cib_remote_set_connection_dnotify; cmds 480 lib/cib/cib_remote.c free(cib->cmds); cmds 65 lib/cib/cib_utils.c cib->cmds->query(cib, NULL, &the_cib, cib_scope_local | cib_sync_call); cmds 242 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 95 lib/common/ipc_client.c if ((*api)->cmds == NULL) { cmds 110 lib/common/ipc_client.c if ((*api)->cmds->new_data != NULL) { cmds 111 lib/common/ipc_client.c if ((*api)->cmds->new_data(*api) != pcmk_rc_ok) { cmds 124 lib/common/ipc_client.c if ((api != NULL) && (api->cmds != NULL)) { cmds 125 lib/common/ipc_client.c if ((api->cmds->free_data != NULL) && (api->api_data != NULL)) { cmds 126 lib/common/ipc_client.c api->cmds->free_data(api->api_data); cmds 129 lib/common/ipc_client.c free(api->cmds); cmds 130 lib/common/ipc_client.c api->cmds = NULL; cmds 168 lib/common/ipc_client.c if ((api->cmds != NULL) && (api->cmds->post_disconnect != NULL)) { cmds 169 lib/common/ipc_client.c api->cmds->post_disconnect(api); cmds 300 lib/common/ipc_client.c if ((api->cmds != NULL) && (api->cmds->dispatch != NULL)) { cmds 301 lib/common/ipc_client.c api->cmds->dispatch(api, message); cmds 490 lib/common/ipc_client.c if ((api->cmds != NULL) && (api->cmds->post_connect != NULL)) { cmds 491 lib/common/ipc_client.c rc = api->cmds->post_connect(api); cmds 597 lib/common/ipc_client.c && (api->cmds != NULL) cmds 598 lib/common/ipc_client.c && (api->cmds->reply_expected != NULL) cmds 599 lib/common/ipc_client.c && (api->cmds->reply_expected(api, request))) { cmds 246 lib/common/ipc_controld.c pcmk__ipc_methods_t *cmds = calloc(1, sizeof(pcmk__ipc_methods_t)); cmds 248 lib/common/ipc_controld.c if (cmds != NULL) { cmds 249 lib/common/ipc_controld.c cmds->new_data = new_data; cmds 250 lib/common/ipc_controld.c cmds->free_data = free_data; cmds 251 lib/common/ipc_controld.c cmds->post_connect = post_connect; cmds 252 lib/common/ipc_controld.c cmds->reply_expected = reply_expected; cmds 253 lib/common/ipc_controld.c cmds->dispatch = dispatch; cmds 255 lib/common/ipc_controld.c return cmds; cmds 191 lib/common/ipc_pacemakerd.c pcmk__ipc_methods_t *cmds = calloc(1, sizeof(pcmk__ipc_methods_t)); cmds 193 lib/common/ipc_pacemakerd.c if (cmds != NULL) { cmds 194 lib/common/ipc_pacemakerd.c cmds->new_data = new_data; cmds 195 lib/common/ipc_pacemakerd.c cmds->free_data = free_data; cmds 196 lib/common/ipc_pacemakerd.c cmds->post_connect = post_connect; cmds 197 lib/common/ipc_pacemakerd.c cmds->reply_expected = reply_expected; cmds 198 lib/common/ipc_pacemakerd.c cmds->dispatch = dispatch; cmds 199 lib/common/ipc_pacemakerd.c cmds->post_disconnect = post_disconnect; cmds 201 lib/common/ipc_pacemakerd.c return cmds; cmds 1553 lib/fencing/st_client.c stonith->cmds->disconnect(stonith); cmds 1994 lib/fencing/st_client.c rc = stonith->cmds->disconnect(stonith); cmds 2007 lib/fencing/st_client.c free(stonith->cmds); cmds 2022 lib/fencing/st_client.c stonith->cmds->free(stonith); cmds 2133 lib/fencing/st_client.c new_stonith->cmds = calloc(1, sizeof(stonith_api_operations_t)); cmds 2134 lib/fencing/st_client.c if (new_stonith->cmds == NULL) { cmds 2141 lib/fencing/st_client.c new_stonith->cmds->free = stonith_api_free; cmds 2142 lib/fencing/st_client.c new_stonith->cmds->connect = stonith_api_signon; cmds 2143 lib/fencing/st_client.c new_stonith->cmds->disconnect = stonith_api_signoff; cmds 2145 lib/fencing/st_client.c new_stonith->cmds->list = stonith_api_list; cmds 2146 lib/fencing/st_client.c new_stonith->cmds->monitor = stonith_api_monitor; cmds 2147 lib/fencing/st_client.c new_stonith->cmds->status = stonith_api_status; cmds 2148 lib/fencing/st_client.c new_stonith->cmds->fence = stonith_api_fence; cmds 2149 lib/fencing/st_client.c new_stonith->cmds->fence_with_delay = stonith_api_fence_with_delay; cmds 2150 lib/fencing/st_client.c new_stonith->cmds->confirm = stonith_api_confirm; cmds 2151 lib/fencing/st_client.c new_stonith->cmds->history = stonith_api_history; cmds 2153 lib/fencing/st_client.c new_stonith->cmds->list_agents = stonith_api_device_list; cmds 2154 lib/fencing/st_client.c new_stonith->cmds->metadata = stonith_api_device_metadata; cmds 2156 lib/fencing/st_client.c new_stonith->cmds->query = stonith_api_query; cmds 2157 lib/fencing/st_client.c new_stonith->cmds->remove_device = stonith_api_remove_device; cmds 2158 lib/fencing/st_client.c new_stonith->cmds->register_device = stonith_api_register_device; cmds 2160 lib/fencing/st_client.c new_stonith->cmds->remove_level = stonith_api_remove_level; cmds 2161 lib/fencing/st_client.c new_stonith->cmds->remove_level_full = stonith_api_remove_level_full; cmds 2162 lib/fencing/st_client.c new_stonith->cmds->register_level = stonith_api_register_level; cmds 2163 lib/fencing/st_client.c new_stonith->cmds->register_level_full = stonith_api_register_level_full; cmds 2165 lib/fencing/st_client.c new_stonith->cmds->remove_callback = stonith_api_del_callback; cmds 2166 lib/fencing/st_client.c new_stonith->cmds->register_callback = stonith_api_add_callback; cmds 2167 lib/fencing/st_client.c new_stonith->cmds->remove_notification = stonith_api_del_notification; cmds 2168 lib/fencing/st_client.c new_stonith->cmds->register_notification = stonith_api_add_notification; cmds 2170 lib/fencing/st_client.c new_stonith->cmds->validate = stonith_api_validate; cmds 2191 lib/fencing/st_client.c rc = st->cmds->connect(st, name, NULL); cmds 2268 lib/fencing/st_client.c rc = st->cmds->connect(st, "stonith-api", NULL); cmds 2281 lib/fencing/st_client.c rc = st->cmds->fence(st, opts, name, action, timeout, 0); cmds 2310 lib/fencing/st_client.c rc = st->cmds->connect(st, "stonith-api", NULL); cmds 2324 lib/fencing/st_client.c rc = st->cmds->history(st, opts, name, &history, 120); cmds 2377 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 1741 lib/lrmd/lrmd_client.c rc = stonith_api->cmds->metadata(stonith_api, st_opt_sync_call, type, cmds 1746 lib/lrmd/lrmd_client.c stonith_api->cmds->free(stonith_api); cmds 1755 lib/lrmd/lrmd_client.c return lrmd->cmds->get_metadata_params(lrmd, standard, provider, type, cmds 1900 lib/lrmd/lrmd_client.c stonith_api->cmds->list_agents(stonith_api, st_opt_sync_call, NULL, cmds 1902 lib/lrmd/lrmd_client.c stonith_api->cmds->free(stonith_api); cmds 2027 lib/lrmd/lrmd_client.c new_lrmd->cmds = calloc(1, sizeof(lrmd_api_operations_t)); cmds 2032 lib/lrmd/lrmd_client.c new_lrmd->cmds->connect = lrmd_api_connect; cmds 2033 lib/lrmd/lrmd_client.c new_lrmd->cmds->connect_async = lrmd_api_connect_async; cmds 2034 lib/lrmd/lrmd_client.c new_lrmd->cmds->is_connected = lrmd_api_is_connected; cmds 2035 lib/lrmd/lrmd_client.c new_lrmd->cmds->poke_connection = lrmd_api_poke_connection; cmds 2036 lib/lrmd/lrmd_client.c new_lrmd->cmds->disconnect = lrmd_api_disconnect; cmds 2037 lib/lrmd/lrmd_client.c new_lrmd->cmds->register_rsc = lrmd_api_register_rsc; cmds 2038 lib/lrmd/lrmd_client.c new_lrmd->cmds->unregister_rsc = lrmd_api_unregister_rsc; cmds 2039 lib/lrmd/lrmd_client.c new_lrmd->cmds->get_rsc_info = lrmd_api_get_rsc_info; cmds 2040 lib/lrmd/lrmd_client.c new_lrmd->cmds->get_recurring_ops = lrmd_api_get_recurring_ops; cmds 2041 lib/lrmd/lrmd_client.c new_lrmd->cmds->set_callback = lrmd_api_set_callback; cmds 2042 lib/lrmd/lrmd_client.c new_lrmd->cmds->get_metadata = lrmd_api_get_metadata; cmds 2043 lib/lrmd/lrmd_client.c new_lrmd->cmds->exec = lrmd_api_exec; cmds 2044 lib/lrmd/lrmd_client.c new_lrmd->cmds->cancel = lrmd_api_cancel; cmds 2045 lib/lrmd/lrmd_client.c new_lrmd->cmds->list_agents = lrmd_api_list_agents; cmds 2046 lib/lrmd/lrmd_client.c new_lrmd->cmds->list_ocf_providers = lrmd_api_list_ocf_providers; cmds 2047 lib/lrmd/lrmd_client.c new_lrmd->cmds->list_standards = lrmd_api_list_standards; cmds 2048 lib/lrmd/lrmd_client.c new_lrmd->cmds->exec_alert = lrmd_api_exec_alert; cmds 2049 lib/lrmd/lrmd_client.c new_lrmd->cmds->get_metadata_params = lrmd_api_get_metadata_params; cmds 2087 lib/lrmd/lrmd_client.c lrmd->cmds->disconnect(lrmd); /* no-op if already disconnected */ cmds 2088 lib/lrmd/lrmd_client.c free(lrmd->cmds); cmds 65 lib/pacemaker/pcmk_fence.c rc = st->cmds->register_level_full(st, st_opts, node, pattern, cmds 69 lib/pacemaker/pcmk_fence.c rc = st->cmds->remove_level_full(st, st_opts, node, pattern, cmds 112 lib/pacemaker/pcmk_fence.c st->cmds->register_notification(st, T_STONITH_NOTIFY_FENCE, notify_callback); cmds 114 lib/pacemaker/pcmk_fence.c call_id = st->cmds->fence_with_delay(st, cmds 127 lib/pacemaker/pcmk_fence.c st->cmds->register_callback(st, cmds 197 lib/pacemaker/pcmk_fence.c rc = st->cmds->history(st, opts, cmds 263 lib/pacemaker/pcmk_fence.c rc = st->cmds->list_agents(st, st_opt_sync_call, NULL, &devices, timeout/1000); cmds 337 lib/pacemaker/pcmk_fence.c rc = st->cmds->list(st, st_opts, device_id, &lists, timeout/1000); cmds 377 lib/pacemaker/pcmk_fence.c int rc = st->cmds->metadata(st, st_opt_sync_call, agent, NULL, &buffer, cmds 413 lib/pacemaker/pcmk_fence.c rc = st->cmds->query(st, st_opts, target, &devices, timeout/1000); cmds 485 lib/pacemaker/pcmk_fence.c rc = st->cmds->validate(st, st_opt_sync_call, id, NULL, agent, params, cmds 626 lib/pacemaker/pcmk_sched_allocate.c cons->rsc_lh->cmds->rsc_location(cons->rsc_lh, cons); cmds 759 lib/pacemaker/pcmk_sched_allocate.c rsc->cmds = &resource_class_alloc_functions[rsc->variant]; cmds 946 lib/pacemaker/pcmk_sched_allocate.c rsc->cmds->create_probe(rsc, node, probe_node_complete, FALSE, data_set); cmds 1132 lib/pacemaker/pcmk_sched_allocate.c rsc->cmds->internal_constraints(rsc, data_set); cmds 1300 lib/pacemaker/pcmk_sched_allocate.c rsc->cmds->allocate(rsc, rsc->partial_migration_target, data_set); cmds 1312 lib/pacemaker/pcmk_sched_allocate.c rsc->cmds->allocate(rsc, NULL, data_set); cmds 1472 lib/pacemaker/pcmk_sched_allocate.c rsc->cmds->create_actions(rsc, data_set); cmds 2970 lib/pacemaker/pcmk_sched_allocate.c rsc->cmds->expand(rsc, data_set); cmds 134 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->allocate(replica->ip, prefer, data_set); cmds 152 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->allocate(replica->remote, prefer, cmds 174 lib/pacemaker/pcmk_sched_bundle.c replica->child->cmds->allocate(replica->child, replica->node, cmds 194 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->cmds->allocate(bundle_data->child, prefer, data_set); cmds 219 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->create_actions(replica->ip, data_set); cmds 222 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->create_actions(replica->container, cmds 226 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->create_actions(replica->remote, data_set); cmds 233 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->cmds->create_actions(bundle_data->child, data_set); cmds 287 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->internal_constraints(replica->container, cmds 305 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->internal_constraints(replica->ip, data_set); cmds 323 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->internal_constraints(replica->remote, cmds 336 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->cmds->internal_constraints(bundle_data->child, data_set); cmds 497 lib/pacemaker/pcmk_sched_bundle.c rsc_lh->cmds->rsc_colocation_lh(rsc_lh, rh_child, constraint, cmds 520 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->rsc_colocation_rh(rsc_lh, cmds 761 lib/pacemaker/pcmk_sched_bundle.c changed |= then_child->cmds->update_actions(first_action, cmds 763 lib/pacemaker/pcmk_sched_bundle.c first_child->cmds->action_flags(first_action, node), cmds 842 lib/pacemaker/pcmk_sched_bundle.c enum pe_action_flags then_child_flags = then_child->cmds->action_flags(then_child_action, node); cmds 845 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 947 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->expand(replica->ip, data_set); cmds 950 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->expand(replica->container, data_set); cmds 953 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->expand(replica->remote, data_set); cmds 975 lib/pacemaker/pcmk_sched_bundle.c any_created |= replica->ip->cmds->create_probe(replica->ip, node, cmds 980 lib/pacemaker/pcmk_sched_bundle.c any_created |= replica->child->cmds->create_probe(replica->child, cmds 985 lib/pacemaker/pcmk_sched_bundle.c bool created = replica->container->cmds->create_probe(replica->container, cmds 1024 lib/pacemaker/pcmk_sched_bundle.c && replica->remote->cmds->create_probe(replica->remote, node, cmds 464 lib/pacemaker/pcmk_sched_clone.c chosen = rsc->cmds->allocate(rsc, prefer, data_set); cmds 655 lib/pacemaker/pcmk_sched_clone.c constraint->rsc_rh->cmds->allocate(constraint->rsc_rh, prefer, data_set); cmds 665 lib/pacemaker/pcmk_sched_clone.c constraint->rsc_lh->cmds->merge_weights(constraint->rsc_lh, rsc->id, rsc->allowed_nodes, cmds 878 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->create_actions(child_rsc, data_set); cmds 945 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->internal_constraints(child_rsc, data_set); cmds 1126 lib/pacemaker/pcmk_sched_clone.c rsc_lh->cmds->rsc_colocation_lh(rsc_lh, rh_child, constraint, cmds 1162 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_colocation_rh(rsc_lh, child_rsc, constraint, cmds 1229 lib/pacemaker/pcmk_sched_clone.c enum pe_action_flags child_flags = child->cmds->action_flags(child_action, node); cmds 1273 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_location(child_rsc, constraint); cmds 1289 lib/pacemaker/pcmk_sched_clone.c rsc->cmds->action_flags(op, NULL); cmds 1322 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->expand(child_rsc, data_set); cmds 1393 lib/pacemaker/pcmk_sched_clone.c any_created |= child->cmds->create_probe(child, node, complete, force, cmds 1430 lib/pacemaker/pcmk_sched_clone.c return child->cmds->create_probe(child, node, complete, force, data_set); cmds 31 lib/pacemaker/pcmk_sched_graph.c flags = action->rsc->cmds->action_flags(action, NULL); cmds 36 lib/pacemaker/pcmk_sched_graph.c enum pe_action_flags clone_flags = action->rsc->cmds->action_flags(action, node); cmds 210 lib/pacemaker/pcmk_sched_graph.c changed |= then->rsc->cmds->update_actions(first, then, node, cmds 230 lib/pacemaker/pcmk_sched_graph.c changed |= then->rsc->cmds->update_actions(first, then, node, cmds 243 lib/pacemaker/pcmk_sched_graph.c changed |= first->rsc->cmds->update_actions(first, then, node, cmds 268 lib/pacemaker/pcmk_sched_graph.c changed |= then->rsc->cmds->update_actions(first, then, node, cmds 286 lib/pacemaker/pcmk_sched_graph.c changed |= then->rsc->cmds->update_actions(first, then, node, cmds 324 lib/pacemaker/pcmk_sched_graph.c changed |= then->rsc->cmds->update_actions(first, then, node, cmds 339 lib/pacemaker/pcmk_sched_graph.c changed |= then->rsc->cmds->update_actions(first, then, node, cmds 359 lib/pacemaker/pcmk_sched_graph.c changed |= then->rsc->cmds->update_actions(first, then, node, cmds 373 lib/pacemaker/pcmk_sched_graph.c changed |= then->rsc->cmds->update_actions(first, then, node, cmds 387 lib/pacemaker/pcmk_sched_graph.c changed |= then->rsc->cmds->update_actions(first, then, node, cmds 400 lib/pacemaker/pcmk_sched_graph.c changed |= then->rsc->cmds->update_actions(first, then, node, cmds 1259 lib/pacemaker/pcmk_sched_graph.c parent->cmds->append_meta(parent, args_xml); cmds 63 lib/pacemaker/pcmk_sched_group.c node = child_rsc->cmds->allocate(child_rsc, prefer, data_set); cmds 92 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->create_actions(child_rsc, data_set); cmds 186 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->internal_constraints(child_rsc, data_set); cmds 309 lib/pacemaker/pcmk_sched_group.c group_data->first_child->cmds->rsc_colocation_lh(group_data->first_child, cmds 324 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_colocation_lh(child_rsc, rsc_rh, constraint, cmds 352 lib/pacemaker/pcmk_sched_group.c group_data->last_child->cmds->rsc_colocation_rh(rsc_lh, cmds 358 lib/pacemaker/pcmk_sched_group.c group_data->first_child->cmds->rsc_colocation_rh(rsc_lh, cmds 375 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_colocation_rh(rsc_lh, child_rsc, constraint, cmds 393 lib/pacemaker/pcmk_sched_group.c enum pe_action_flags child_flags = child->cmds->action_flags(child_action, node); cmds 442 lib/pacemaker/pcmk_sched_group.c changed |= child->cmds->update_actions(first, child_action, node, cmds 469 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_location(child_rsc, constraint); cmds 491 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->expand(child_rsc, data_set); cmds 513 lib/pacemaker/pcmk_sched_group.c group_data->first_child->cmds->merge_weights(group_data->first_child, rhs, nodes, attr, cmds 513 lib/pacemaker/pcmk_sched_native.c rsc->parent->cmds->allocate(rsc->parent, prefer, data_set); cmds 547 lib/pacemaker/pcmk_sched_native.c rsc_rh->cmds->allocate(rsc_rh, NULL, data_set); cmds 548 lib/pacemaker/pcmk_sched_native.c rsc->cmds->rsc_colocation_lh(rsc, rsc_rh, constraint, data_set); cmds 572 lib/pacemaker/pcmk_sched_native.c constraint->rsc_lh->cmds->merge_weights(constraint->rsc_lh, rsc->id, rsc->allowed_nodes, cmds 767 lib/pacemaker/pcmk_sched_native.c is_optional = (rsc->cmds->action_flags(start, NULL) & pe_action_optional); cmds 1731 lib/pacemaker/pcmk_sched_native.c rsc_rh->cmds->rsc_colocation_rh(rsc_lh, rsc_rh, constraint, data_set); cmds 2366 lib/pacemaker/pcmk_sched_native.c child_rsc->cmds->expand(child_rsc, data_set); cmds 2967 lib/pacemaker/pcmk_sched_native.c any_created = child_rsc->cmds->create_probe(child_rsc, node, complete, force, data_set) cmds 337 lib/pacemaker/pcmk_sched_promotable.c constraint->rsc_rh->cmds->merge_weights(constraint->rsc_rh, rsc->id, cmds 359 lib/pacemaker/pcmk_sched_promotable.c constraint->rsc_lh->cmds->merge_weights(constraint->rsc_lh, rsc->id, cmds 746 lib/pacemaker/pcmk_sched_promotable.c child_rsc->cmds->rsc_colocation_lh(child_rsc, cons->rsc_rh, cons, cmds 843 lib/pacemaker/pcmk_sched_promotable.c child_rsc->cmds->create_actions(child_rsc, data_set); cmds 110 lib/pacemaker/pcmk_sched_transition.c rc = cib_conn->cmds->query(cib_conn, xpath, NULL, cib_xpath | cib_sync_call | cib_scope_local); cmds 117 lib/pacemaker/pcmk_sched_transition.c cib_conn->cmds->create(cib_conn, XML_CIB_TAG_NODES, cib_object, cmds 177 lib/pacemaker/pcmk_sched_transition.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, cmds 200 lib/pacemaker/pcmk_sched_transition.c cib_conn->cmds->create(cib_conn, XML_CIB_TAG_STATUS, cib_object, cmds 205 lib/pacemaker/pcmk_sched_transition.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, cmds 345 lib/pacemaker/pcmk_sched_transition.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, cmds 396 lib/pacemaker/pcmk_sched_transition.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, xml_top, cib_options); cmds 425 lib/pacemaker/pcmk_sched_transition.c rc = cib->cmds->modify(cib, NULL, top, cib_sync_call | cib_scope_local); cmds 446 lib/pacemaker/pcmk_sched_transition.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cmds 460 lib/pacemaker/pcmk_sched_transition.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cmds 466 lib/pacemaker/pcmk_sched_transition.c cib->cmds->remove(cib, xpath, NULL, cmds 471 lib/pacemaker/pcmk_sched_transition.c cib->cmds->remove(cib, xpath, NULL, cmds 484 lib/pacemaker/pcmk_sched_transition.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cmds 586 lib/pacemaker/pcmk_sched_transition.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cmds 672 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(fake_cib->cmds->query(fake_cib, NULL, NULL, cib_sync_call | cib_scope_local) == cmds 740 lib/pacemaker/pcmk_sched_transition.c rc = fake_cib->cmds->modify(fake_cib, XML_CIB_TAG_STATUS, cib_node, cmds 785 lib/pacemaker/pcmk_sched_transition.c rc = fake_cib->cmds->replace(fake_cib, XML_CIB_TAG_STATUS, cib_node, cmds 790 lib/pacemaker/pcmk_sched_transition.c fake_cib->cmds->remove(fake_cib, xpath, NULL, cmds 795 lib/pacemaker/pcmk_sched_transition.c fake_cib->cmds->remove(fake_cib, xpath, NULL, cmds 848 lib/pacemaker/pcmk_sched_transition.c int rc = fake_cib->cmds->query(fake_cib, NULL, &cib_object, cib_sync_call | cib_scope_local); cmds 658 tools/cibadmin.c the_cib->cmds->register_callback(the_cib, request_id, message_timeout_ms, FALSE, NULL, cmds 681 tools/cibadmin.c rc = the_cib->cmds->query(the_cib, NULL, &obj, command_options); cmds 701 tools/cibadmin.c rc = the_cib->cmds->signoff(the_cib); cmds 740 tools/cibadmin.c rc = the_cib->cmds->signon(the_cib, crm_system_name, cib_command); cmds 356 tools/crm_attribute.c rc = the_cib->cmds->signon(the_cib, crm_system_name, cib_command); cmds 393 tools/crm_attribute.c the_cib->cmds->signoff(the_cib); cmds 493 tools/crm_attribute.c the_cib->cmds->signoff(the_cib); cmds 715 tools/crm_mon.c st->cmds->remove_notification(st, T_STONITH_NOTIFY_DISCONNECT); cmds 716 tools/crm_mon.c st->cmds->remove_notification(st, T_STONITH_NOTIFY_FENCE); cmds 717 tools/crm_mon.c st->cmds->remove_notification(st, T_STONITH_NOTIFY_HISTORY); cmds 719 tools/crm_mon.c st->cmds->disconnect(st); cmds 723 tools/crm_mon.c cib->cmds->signoff(cib); cmds 792 tools/crm_mon.c rc = st->cmds->connect(st, crm_system_name, NULL); cmds 796 tools/crm_mon.c st->cmds->register_notification(st, T_STONITH_NOTIFY_DISCONNECT, cmds 798 tools/crm_mon.c st->cmds->register_notification(st, T_STONITH_NOTIFY_FENCE, mon_st_callback_event); cmds 800 tools/crm_mon.c st->cmds->register_notification(st, T_STONITH_NOTIFY_DISCONNECT, cmds 802 tools/crm_mon.c st->cmds->register_notification(st, T_STONITH_NOTIFY_HISTORY, mon_st_callback_display); cmds 821 tools/crm_mon.c rc = cib->cmds->signon(cib, crm_system_name, cib_query); cmds 828 tools/crm_mon.c rc = cib->cmds->query(cib, NULL, ¤t_cib, cib_scope_local | cib_sync_call); cmds 835 tools/crm_mon.c rc = cib->cmds->set_connection_dnotify(cib, mon_cib_connection_destroy_regular); cmds 848 tools/crm_mon.c cib->cmds->del_notify_callback(cib, T_CIB_DIFF_NOTIFY, crm_diff_update); cmds 849 tools/crm_mon.c rc = cib->cmds->add_notify_callback(cib, T_CIB_DIFF_NOTIFY, crm_diff_update); cmds 1902 tools/crm_mon.c cib->cmds->query(cib, NULL, ¤t_cib, cib_scope_local | cib_sync_call); cmds 1943 tools/crm_mon.c cib->cmds->signoff(cib); cmds 1954 tools/crm_mon.c history_rc = st->cmds->history(st, st_opt_sync_call, NULL, &stonith_history, 120); cmds 2119 tools/crm_mon.c cib->cmds->signoff(cib); cmds 2126 tools/crm_mon.c st->cmds->remove_notification(st, T_STONITH_NOTIFY_DISCONNECT); cmds 2127 tools/crm_mon.c st->cmds->remove_notification(st, T_STONITH_NOTIFY_FENCE); cmds 2128 tools/crm_mon.c st->cmds->remove_notification(st, T_STONITH_NOTIFY_HISTORY); cmds 2129 tools/crm_mon.c st->cmds->disconnect(st); cmds 352 tools/crm_node.c cib->cmds->signon(cib, crm_system_name, cib_command); cmds 354 tools/crm_node.c rc = cib->cmds->remove(cib, XML_CIB_TAG_NODES, node, cib_sync_call); cmds 359 tools/crm_node.c rc = cib->cmds->remove(cib, XML_CIB_TAG_STATUS, node_state, cib_sync_call); cmds 365 tools/crm_node.c cib->cmds->signoff(cib); cmds 182 tools/crm_resource.c save_cib_conn->cmds->signoff(save_cib_conn); cmds 1024 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); cmds 1068 tools/crm_resource.c rc = cib_conn->cmds->remove(cib_conn, XML_CIB_TAG_RESOURCES, msg_data, cmds 1087 tools/crm_resource.c rc = lrmd_conn->cmds->list_agents(lrmd_conn, &list, agent_spec, provider); cmds 1123 tools/crm_resource.c rc = lrmd_conn->cmds->list_standards(lrmd_conn, &list); cmds 1128 tools/crm_resource.c rc = lrmd_conn->cmds->list_ocf_providers(lrmd_conn, agent_spec, cmds 1225 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); cmds 1342 tools/crm_resource.c rc = cib_conn->cmds->modify(cib_conn, XML_CIB_TAG_RESOURCES, msg_data, cmds 1364 tools/crm_resource.c rc = lrmd_conn->cmds->get_metadata(lrmd_conn, standard, cmds 1646 tools/crm_resource.c if ((cib_conn == NULL) || (cib_conn->cmds == NULL)) { cmds 1652 tools/crm_resource.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cmds 136 tools/crm_resource_ban.c rc = cib_conn->cmds->update(cib_conn, XML_CIB_TAG_CONSTRAINTS, fragment, cib_options); cmds 201 tools/crm_resource_ban.c rc = cib_conn->cmds->update(cib_conn, XML_CIB_TAG_CONSTRAINTS, fragment, cib_options); cmds 239 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, xpath_string, NULL, cib_xpath | cib_options); cmds 273 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, XML_CIB_TAG_CONSTRAINTS, fragment, cib_options); cmds 441 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, XML_CIB_TAG_CONSTRAINTS, cmds 122 tools/crm_resource_runtime.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, cmds 349 tools/crm_resource_runtime.c rc = cib->cmds->modify(cib, XML_CIB_TAG_RESOURCES, xml_top, cib_options); cmds 455 tools/crm_resource_runtime.c rc = cib->cmds->remove(cib, XML_CIB_TAG_RESOURCES, xml_obj, cib_options); cmds 1111 tools/crm_resource_runtime.c rc = cib->cmds->query(cib, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); cmds 1161 tools/crm_resource_runtime.c rc = shadow_cib->cmds->signon(shadow_cib, crm_system_name, cib_command); cmds 300 tools/crm_rule.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cmds 310 tools/crm_rule.c rc = cib_conn->cmds->query(cib_conn, NULL, &input, cib_scope_local | cib_sync_call); cmds 352 tools/crm_rule.c cib_conn->cmds->signoff(cib_conn); cmds 417 tools/crm_shadow.c rc = real_cib->cmds->signon(real_cib, crm_system_name, cib_command); cmds 447 tools/crm_shadow.c rc = real_cib->cmds->query(real_cib, NULL, &output, command_options); cmds 512 tools/crm_shadow.c rc = real_cib->cmds->query(real_cib, NULL, &old_config, command_options); cmds 544 tools/crm_shadow.c rc = real_cib->cmds->replace(real_cib, section, section_xml, cmds 712 tools/crm_simulate.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cmds 716 tools/crm_simulate.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_object, cib_scope_local | cib_sync_call); cmds 719 tools/crm_simulate.c cib_conn->cmds->signoff(cib_conn); cmds 969 tools/crm_simulate.c rc = global_cib->cmds->signon(global_cib, crm_system_name, cib_command); cmds 977 tools/crm_simulate.c rc = global_cib->cmds->query(global_cib, NULL, &input, cib_sync_call | cib_scope_local); cmds 1020 tools/crm_simulate.c rc = global_cib->cmds->query(global_cib, NULL, &input, cib_sync_call); cmds 1139 tools/crm_simulate.c global_cib->cmds->signoff(global_cib); cmds 158 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, cmds 203 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, cmds 428 tools/crm_ticket.c rc = cib->cmds->replace(cib, XML_CIB_TAG_STATUS, ticket_state_xml, cib_options); cmds 432 tools/crm_ticket.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, xml_top, cib_options); cmds 457 tools/crm_ticket.c rc = cib->cmds->remove(cib, XML_CIB_TAG_STATUS, ticket_state_xml, cib_options); cmds 861 tools/crm_ticket.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cmds 872 tools/crm_ticket.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); cmds 1063 tools/crm_ticket.c cib_conn->cmds->signoff(cib_conn); cmds 194 tools/crm_verify.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cmds 202 tools/crm_verify.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_object, options); cmds 312 tools/crm_verify.c cib_conn->cmds->signoff(cib_conn); cmds 349 tools/crmadmin.c rc = the_cib->cmds->signon(the_cib, crm_system_name, cib_command); cmds 354 tools/crmadmin.c rc = the_cib->cmds->query(the_cib, NULL, &output, cmds 360 tools/crmadmin.c the_cib->cmds->signoff(the_cib); cmds 507 tools/stonith_admin.c rc = st->cmds->connect(st, name, NULL); cmds 533 tools/stonith_admin.c rc = st->cmds->monitor(st, st_opts, device, options.timeout); cmds 535 tools/stonith_admin.c rc = st->cmds->list(st, st_opts, device, NULL, options.timeout); cmds 549 tools/stonith_admin.c rc = st->cmds->register_device(st, st_opts, device, NULL, options.agent, cmds 555 tools/stonith_admin.c rc = st->cmds->remove_device(st, st_opts, device); cmds 576 tools/stonith_admin.c rc = st->cmds->confirm(st, st_opts, target); cmds 627 tools/stonith_admin.c st->cmds->disconnect(st);