cmds 43 daemons/attrd/attrd_alerts.c the_lrmd->cmds->set_callback(the_lrmd, attrd_lrmd_callback); cmds 46 daemons/attrd/attrd_alerts.c if (!the_lrmd->cmds->is_connected(the_lrmd)) { cmds 51 daemons/attrd/attrd_alerts.c ret = the_lrmd->cmds->connect(the_lrmd, T_ATTRD, NULL); cmds 115 daemons/attrd/attrd_alerts.c call_id = the_cib->cmds->query(the_cib, cmds 119 daemons/attrd/attrd_alerts.c the_cib->cmds->register_callback_full(the_cib, call_id, 120, FALSE, NULL, cmds 35 daemons/attrd/attrd_cib.c cib->cmds->signoff(cib); cmds 111 daemons/attrd/attrd_cib.c rc = the_cib->cmds->signon(the_cib, T_ATTRD, cib_command); cmds 123 daemons/attrd/attrd_cib.c rc = the_cib->cmds->set_connection_dnotify(the_cib, attrd_cib_destroy_cb); cmds 129 daemons/attrd/attrd_cib.c rc = the_cib->cmds->add_notify_callback(the_cib, T_CIB_DIFF_NOTIFY, cmds 147 daemons/attrd/attrd_cib.c the_cib->cmds->del_notify_callback(the_cib, T_CIB_DIFF_NOTIFY, cmds 187 daemons/attrd/attrd_cib.c call_id = the_cib->cmds->remove(the_cib, xpath, NULL, cib_xpath); cmds 188 daemons/attrd/attrd_cib.c the_cib->cmds->register_callback_full(the_cib, call_id, 120, FALSE, xpath, cmds 352 daemons/attrd/attrd_cib.c rc = the_cib->cmds->modify(the_cib, XML_CIB_TAG_STATUS, update, cmds 389 daemons/attrd/attrd_cib.c int rc = the_cib->cmds->remove(the_cib, xpath, NULL, cmds 520 daemons/attrd/attrd_cib.c the_cib->cmds->set_user(the_cib, a->user); cmds 521 daemons/attrd/attrd_cib.c rc = the_cib->cmds->init_transaction(the_cib); cmds 612 daemons/attrd/attrd_cib.c a->update = the_cib->cmds->end_transaction(the_cib, true, cib_none); cmds 619 daemons/attrd/attrd_cib.c if (the_cib->cmds->register_callback_full(the_cib, a->update, cmds 631 daemons/attrd/attrd_cib.c the_cib->cmds->end_transaction(the_cib, false, cib_none); cmds 632 daemons/attrd/attrd_cib.c the_cib->cmds->set_user(the_cib, NULL); cmds 109 daemons/controld/controld_cib.c cib_conn->cmds->del_notify_callback(cib_conn, T_CIB_DIFF_NOTIFY, cmds 114 daemons/controld/controld_cib.c cib_conn->cmds->set_secondary(cib_conn, cmds 116 daemons/controld/controld_cib.c cib_conn->cmds->signoff(cib_conn); cmds 160 daemons/controld/controld_cib.c rc = cib_conn->cmds->signon(cib_conn, CRM_SYSTEM_CRMD, cmds 166 daemons/controld/controld_cib.c rc = cib_conn->cmds->signon(cib_conn, CRM_SYSTEM_CRMD, cmds 173 daemons/controld/controld_cib.c } else if (cib_conn->cmds->set_connection_dnotify(cib_conn, cmds 177 daemons/controld/controld_cib.c } else if (cib_conn->cmds->add_notify_callback(cib_conn, cmds 384 daemons/controld/controld_cib.c cib_rc = cib->cmds->remove(cib, xpath, NULL, options); cmds 433 daemons/controld/controld_cib.c cib->cmds->set_user(cib, user_name); cmds 434 daemons/controld/controld_cib.c rc = cib->cmds->remove(cib, xpath, NULL, call_options|cib_xpath); cmds 435 daemons/controld/controld_cib.c cib->cmds->set_user(cib, NULL); cmds 834 daemons/controld/controld_cib.c cib_rc = cib->cmds->modify(cib, section, data, options); cmds 981 daemons/controld/controld_cib.c controld_globals.cib_conn->cmds->remove(controld_globals.cib_conn, cmds 1039 daemons/controld/controld_cib.c controld_globals.cib_conn->cmds->remove(controld_globals.cib_conn, xpath, cmds 1067 daemons/controld/controld_cib.c controld_globals.cib_conn->cmds->remove(controld_globals.cib_conn, xpath, cmds 27 daemons/controld/controld_cib.h controld_globals.cib_conn->cmds->modify(controld_globals.cib_conn, cmds 38 daemons/controld/controld_cib.h controld_globals.cib_conn->cmds->modify(controld_globals.cib_conn, cmds 75 daemons/controld/controld_cib.h cib_conn->cmds->register_callback_full(cib_conn, id, cib_op_timeout(), \ cmds 811 daemons/controld/controld_control.c int call_id = cib_conn->cmds->query(cib_conn, cmds 170 daemons/controld/controld_election.c cib_conn->cmds->set_secondary(cib_conn, cib_scope_local); cmds 226 daemons/controld/controld_election.c controld_globals.cib_conn->cmds->set_primary(controld_globals.cib_conn, cmds 346 daemons/controld/controld_execd_state.c ((lrmd_t *) lrm_state->conn)->cmds->disconnect(lrm_state->conn); cmds 374 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->is_connected(lrm_state->conn); cmds 384 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->poke_connection(lrm_state->conn); cmds 400 daemons/controld/controld_execd_state.c api->cmds->set_callback(api, lrm_op_callback); cmds 404 daemons/controld/controld_execd_state.c rc = ((lrmd_t *) lrm_state->conn)->cmds->connect(lrm_state->conn, cmds 508 daemons/controld/controld_execd_state.c int rc = cib_conn->cmds->query(cib_conn, XML_CIB_TAG_CRMCONFIG, cmds 510 daemons/controld/controld_execd_state.c cib_conn->cmds->register_callback_full(cib_conn, rc, 10, FALSE, cmds 610 daemons/controld/controld_execd_state.c api->cmds->set_callback(api, remote_lrm_op_callback); cmds 616 daemons/controld/controld_execd_state.c rc = ((lrmd_t *) lrm_state->conn)->cmds->connect_async(lrm_state->conn, cmds 656 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->get_metadata_params(lrm_state->conn, cmds 673 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->cancel(lrm_state->conn, rsc_id, cmds 692 daemons/controld/controld_execd_state.c rsc = ((lrmd_t *) lrm_state->conn)->cmds->get_rsc_info(lrm_state->conn, rsc_id, options); cmds 753 daemons/controld/controld_execd_state.c rc = ((lrmd_t *) lrm_state->conn)->cmds->exec(lrm_state->conn, rsc_id, cmds 788 daemons/controld/controld_execd_state.c return conn->cmds->register_rsc(lrm_state->conn, rsc_id, class, provider, cmds 812 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->unregister_rsc(lrm_state->conn, rsc_id, options); cmds 258 daemons/controld/controld_fencing.c rc = controld_globals.cib_conn->cmds->modify(controld_globals.cib_conn, cmds 466 daemons/controld/controld_fencing.c stonith_api->cmds->disconnect(st); cmds 468 daemons/controld/controld_fencing.c stonith_api->cmds->remove_notification(stonith_api, NULL); cmds 687 daemons/controld/controld_fencing.c rc = stonith_api->cmds->connect(stonith_api, crm_system_name, NULL); cmds 716 daemons/controld/controld_fencing.c stonith_api->cmds->register_notification(stonith_api, cmds 719 daemons/controld/controld_fencing.c stonith_api->cmds->register_notification(stonith_api, cmds 722 daemons/controld/controld_fencing.c stonith_api->cmds->register_notification(stonith_api, cmds 740 daemons/controld/controld_fencing.c stonith_api->cmds->disconnect(stonith_api); cmds 742 daemons/controld/controld_fencing.c stonith_api->cmds->remove_notification(stonith_api, NULL); cmds 746 daemons/controld/controld_fencing.c stonith_api->cmds->free(stonith_api); cmds 767 daemons/controld/controld_fencing.c stonith_api->cmds->history(stonith_api, cmds 937 daemons/controld/controld_fencing.c return stonith_api->cmds->fence_with_delay(stonith_api, options, target, cmds 992 daemons/controld/controld_fencing.c stonith_api->cmds->register_callback(stonith_api, rc, cmds 1045 daemons/controld/controld_fencing.c st->cmds->remove_notification(st, T_STONITH_NOTIFY_HISTORY_SYNCED); cmds 648 daemons/controld/controld_fsa.c cib_conn->cmds->set_secondary(cib_conn, cib_scope_local); cmds 135 daemons/controld/controld_join_client.c query_call_id = cib_conn->cmds->query(cib_conn, NULL, NULL, cmds 607 daemons/controld/controld_join_dc.c rc = controld_globals.cib_conn->cmds->sync_from(controld_globals.cib_conn, cmds 759 daemons/controld/controld_join_dc.c rc = cib->cmds->init_transaction(cib); cmds 770 daemons/controld/controld_join_dc.c rc = cib->cmds->remove(cib, xpath, NULL, cmds 803 daemons/controld/controld_join_dc.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, state, cmds 811 daemons/controld/controld_join_dc.c rc = cib->cmds->end_transaction(cib, true, cib_scope_local); cmds 270 daemons/controld/controld_membership.c delete_call_id = cib_conn->cmds->remove(cib_conn, XML_CIB_TAG_NODES, cmds 279 daemons/controld/controld_membership.c delete_call_id = cib_conn->cmds->remove(cib_conn, cmds 351 daemons/controld/controld_membership.c call_id = cib_conn->cmds->query(cib_conn, cmds 109 daemons/controld/controld_remote_ra.c GList *cmds; cmds 173 daemons/controld/controld_remote_ra.c ra_data->cmds = g_list_append(ra_data->cmds, cmd); cmds 546 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { cmds 596 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { cmds 692 daemons/controld/controld_remote_ra.c ra_data->cmds = fail_all_monitor_cmds(ra_data->cmds); cmds 810 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { cmds 837 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { cmds 838 daemons/controld/controld_remote_ra.c g_list_free_full(ra_data->cmds, free_cmd); cmds 843 daemons/controld/controld_remote_ra.c ra_data->cmds = NULL; cmds 899 daemons/controld/controld_remote_ra.c while (ra_data->cmds) { cmds 900 daemons/controld/controld_remote_ra.c first = ra_data->cmds; cmds 907 daemons/controld/controld_remote_ra.c ra_data->cmds = g_list_remove_link(ra_data->cmds, first); cmds 1012 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { cmds 1013 daemons/controld/controld_remote_ra.c g_list_free_full(ra_data->cmds, free_cmd); cmds 1137 daemons/controld/controld_remote_ra.c ra_data->cmds = remove_cmd(ra_data->cmds, action, interval_ms); cmds 1186 daemons/controld/controld_remote_ra.c for (gIter = ra_data->cmds; gIter != NULL; gIter = gIter->next) { cmds 1312 daemons/controld/controld_remote_ra.c ra_data->cmds = g_list_append(ra_data->cmds, cmd); cmds 1335 daemons/controld/controld_remote_ra.c ra_data->cmds = fail_all_monitor_cmds(ra_data->cmds); cmds 107 daemons/controld/controld_schedulerd.c rc = controld_globals.cib_conn->cmds->query(controld_globals.cib_conn, cmds 363 daemons/controld/controld_schedulerd.c fsa_pe_query = cib_conn->cmds->query(cib_conn, NULL, NULL, cib_scope_local); cmds 301 daemons/controld/controld_te_actions.c rc = cib_conn->cmds->modify(cib_conn, XML_CIB_TAG_STATUS, state, cmds 44 daemons/controld/controld_transition.c cib_conn->cmds->del_notify_callback(cib_conn, T_CIB_DIFF_NOTIFY, cmds 75 daemons/controld/controld_transition.c if (cib_conn->cmds->add_notify_callback(cib_conn, T_CIB_DIFF_NOTIFY, cmds 255 daemons/execd/cts-exec-helper.c lrmd_conn->cmds->set_callback(lrmd_conn, connection_events); cmds 257 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->connect_async(lrmd_conn, crm_system_name, 3000); cmds 275 daemons/execd/cts-exec-helper.c if (!lrmd_conn->cmds->is_connected(lrmd_conn)) { cmds 281 daemons/execd/cts-exec-helper.c lrmd_conn->cmds->set_callback(lrmd_conn, read_events); cmds 292 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->exec(lrmd_conn, cmds 308 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->register_rsc(lrmd_conn, cmds 314 daemons/execd/cts-exec-helper.c rsc_info = lrmd_conn->cmds->get_rsc_info(lrmd_conn, options.rsc_id, 0); cmds 327 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->unregister_rsc(lrmd_conn, options.rsc_id, 0); cmds 329 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->cancel(lrmd_conn, options.rsc_id, options.action, cmds 334 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->get_metadata(lrmd_conn, cmds 345 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->list_agents(lrmd_conn, &list, options.class, options.provider); cmds 362 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->list_ocf_providers(lrmd_conn, options.type, &list); cmds 380 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->list_standards(lrmd_conn, &list); cmds 397 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->get_recurring_ops(lrmd_conn, options.rsc_id, 0, 0, cmds 1177 daemons/execd/execd_commands.c rc = stonith_api->cmds->register_device(stonith_api, st_opt_sync_call, cmds 1203 daemons/execd/execd_commands.c return stonith_api->cmds->remove_device(stonith_api, st_opt_sync_call, cmds 1220 daemons/execd/execd_commands.c int rc = stonith_api->cmds->monitor(stonith_api, 0, cmd->rsc_id, cmds 1223 daemons/execd/execd_commands.c rc = stonith_api->cmds->register_callback(stonith_api, rc, 0, 0, cmd, cmds 92 daemons/execd/pacemaker-execd.c stonith_api->cmds->register_notification(stonith_api, cmds 285 daemons/execd/pacemaker-execd.c stonith_api->cmds->remove_notification(stonith_api, T_STONITH_NOTIFY_DISCONNECT); cmds 286 daemons/execd/pacemaker-execd.c stonith_api->cmds->disconnect(stonith_api); cmds 162 daemons/fenced/cts-fence-helper.c rc = st->cmds->connect(st, crm_system_name, &pollfd.fd); cmds 167 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, T_STONITH_NOTIFY_DISCONNECT, st_callback); cmds 168 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, T_STONITH_NOTIFY_FENCE, st_callback); cmds 169 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_ADD, st_callback); cmds 170 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_DEL, st_callback); cmds 171 daemons/fenced/cts-fence-helper.c st->cmds->register_callback(st, 0, 120, st_opt_timeout_updates, NULL, "st_global_callback", cmds 212 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id1", "stonith-ng", "fence_dummy", params), cmds 215 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", PCMK_ACTION_OFF, cmds 219 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", cmds 223 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id1"), cmds 239 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id1", "stonith-ng", "fence_dummy", params), cmds 248 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id2", "stonith-ng", "fence_dummy", params), cmds 251 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", PCMK_ACTION_OFF, cmds 256 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", PCMK_ACTION_ON, 3, cmds 260 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id1"), cmds 263 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id2"), cmds 280 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id", "stonith-ng", "fence_dummy", params), cmds 285 daemons/fenced/cts-fence-helper.c single_test(st->cmds->list(st, st_opts, "test-id", NULL, 1), cmds 288 daemons/fenced/cts-fence-helper.c single_test(st->cmds->monitor(st, st_opts, "test-id", 1), "Monitor", 1, 0); cmds 290 daemons/fenced/cts-fence-helper.c single_test(st->cmds->status(st, st_opts, "test-id", "false_1_node2", 1), cmds 293 daemons/fenced/cts-fence-helper.c single_test(st->cmds->status(st, st_opts, "test-id", "false_1_node1", 1), cmds 296 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "unknown-host", PCMK_ACTION_OFF, cmds 300 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node1", PCMK_ACTION_OFF, cmds 305 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node1", PCMK_ACTION_ON, 1, cmds 310 daemons/fenced/cts-fence-helper.c single_test(st->cmds->register_level(st, st_opts, "node1", 999, params), cmds 313 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id"), "Remove test-id", 1, 0); cmds 323 daemons/fenced/cts-fence-helper.c rc = st->cmds->connect(st, crm_system_name, &pollfd.fd); cmds 328 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, T_STONITH_NOTIFY_DISCONNECT, st_callback); cmds 329 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, T_STONITH_NOTIFY_FENCE, st_callback); cmds 330 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_ADD, st_callback); cmds 331 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_DEL, st_callback); cmds 332 daemons/fenced/cts-fence-helper.c st->cmds->register_callback(st, 0, 120, st_opt_timeout_updates, NULL, "st_global_callback", cmds 349 daemons/fenced/cts-fence-helper.c rc = st->cmds->connect(st, crm_system_name, &pollfd.fd); cmds 358 daemons/fenced/cts-fence-helper.c rc = st->cmds->register_device(st, st_opts, "test-id", "stonith-ng", "fence_xvm", params); cmds 361 daemons/fenced/cts-fence-helper.c rc = st->cmds->list(st, st_opts, "test-id", &tmp, 10); cmds 364 daemons/fenced/cts-fence-helper.c rc = st->cmds->monitor(st, st_opts, "test-id", 10); cmds 367 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node2", 10); cmds 370 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); cmds 373 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "unknown-host", PCMK_ACTION_OFF, 60, 0); cmds 376 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); cmds 379 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "false_1_node1", PCMK_ACTION_OFF, 60, 0); cmds 382 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); cmds 385 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "false_1_node1", PCMK_ACTION_ON, 10, 0); cmds 388 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); cmds 391 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "some-host", PCMK_ACTION_OFF, 10, 0); cmds 394 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "some-host", 10); cmds 397 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "false_1_node1", PCMK_ACTION_ON, 10, 0); cmds 400 daemons/fenced/cts-fence-helper.c rc = st->cmds->remove_device(st, st_opts, "test-id"); cmds 421 daemons/fenced/cts-fence-helper.c return st->cmds->register_callback(st, cmds 437 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, 0, "true_1_node1", PCMK_ACTION_OFF, cmds 471 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, 0, "custom_timeout_node1", PCMK_ACTION_OFF, cmds 492 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, 0, "false_1_node2", PCMK_ACTION_OFF, cmds 512 daemons/fenced/cts-fence-helper.c rc = st->cmds->monitor(st, 0, "false_1", MAINLOOP_DEFAULT_TIMEOUT); cmds 531 daemons/fenced/cts-fence-helper.c st->cmds->register_device(st, st_opts, "false_1", "stonith-ng", "fence_dummy", params); cmds 538 daemons/fenced/cts-fence-helper.c st->cmds->register_device(st, st_opts, "true_1", "stonith-ng", "fence_dummy", params); cmds 548 daemons/fenced/cts-fence-helper.c st->cmds->register_device(st, st_opts, "false_custom_timeout", "stonith-ng", "fence_dummy", cmds 602 daemons/fenced/cts-fence-helper.c rc = st->cmds->disconnect(st); cmds 447 daemons/fenced/fenced_cib.c rc = cib_api->cmds->query(cib_api, NULL, &local_cib, cmds 683 daemons/fenced/fenced_cib.c cib_api->cmds->signoff(cib_api); cmds 696 daemons/fenced/fenced_cib.c cib_api->cmds->del_notify_callback(cib_api, T_CIB_DIFF_NOTIFY, cmds 717 daemons/fenced/fenced_cib.c rc = cib_api->cmds->signon(cib_api, CRM_SYSTEM_STONITHD, cib_command); cmds 724 daemons/fenced/fenced_cib.c cib_api->cmds->add_notify_callback(cib_api, T_CIB_DIFF_NOTIFY, update_cib_cache_cb)) { cmds 728 daemons/fenced/fenced_cib.c rc = cib_api->cmds->query(cib_api, NULL, NULL, cib_scope_local); cmds 729 daemons/fenced/fenced_cib.c cib_api->cmds->register_callback(cib_api, rc, 120, FALSE, NULL, "init_cib_cache_cb", cmds 731 daemons/fenced/fenced_cib.c cib_api->cmds->set_connection_dnotify(cib_api, cib_connection_destroy); cmds 884 daemons/fenced/fenced_commands.c rc = st->cmds->metadata(st, st_opt_sync_call, agent, cmds 345 include/crm/cib/cib_types.h cib_api_operations_t *cmds; cmds 417 include/crm/common/resources.h pcmk_assignment_methods_t *cmds; //!< Resource assignment methods cmds 173 include/crm/compatibility.h cib->cmds->register_callback(cib, id, 120, flag, data, #fn, fn); \ cmds 531 include/crm/lrmd.h lrmd_api_operations_t *cmds; cmds 556 include/crm/stonith-ng.h stonith_api_operations_t *cmds; cmds 672 lib/cib/cib_attrs.c rc = the_cib->cmds->query(the_cib, XML_CIB_TAG_NODES, &fragment, cmds 107 lib/cib/cib_client.c cib->cmds->register_notification(cib, event, 1); cmds 170 lib/cib/cib_client.c cib->cmds->register_notification(cib, event, 0); cmds 270 lib/cib/cib_client.c return cib->cmds->query_from(cib, NULL, section, output_data, call_options); cmds 332 lib/cib/cib_client.c return cib->cmds->sync_from(cib, NULL, section, call_options); cmds 413 lib/cib/cib_client.c cib->cmds->client_id(cib, NULL, &client_id); cmds 427 lib/cib/cib_client.c cib->cmds->client_id(cib, NULL, &client_id); cmds 688 lib/cib/cib_client.c new_cib->cmds = calloc(1, sizeof(cib_api_operations_t)); cmds 690 lib/cib/cib_client.c if (new_cib->cmds == NULL) { cmds 696 lib/cib/cib_client.c new_cib->cmds->set_op_callback = cib_client_set_op_callback; cmds 698 lib/cib/cib_client.c new_cib->cmds->add_notify_callback = cib_client_add_notify_callback; cmds 699 lib/cib/cib_client.c new_cib->cmds->del_notify_callback = cib_client_del_notify_callback; cmds 700 lib/cib/cib_client.c new_cib->cmds->register_callback = cib_client_register_callback; cmds 701 lib/cib/cib_client.c new_cib->cmds->register_callback_full = cib_client_register_callback_full; cmds 703 lib/cib/cib_client.c new_cib->cmds->noop = cib_client_noop; // Deprecated method cmds 704 lib/cib/cib_client.c new_cib->cmds->ping = cib_client_ping; cmds 705 lib/cib/cib_client.c new_cib->cmds->query = cib_client_query; cmds 706 lib/cib/cib_client.c new_cib->cmds->sync = cib_client_sync; cmds 708 lib/cib/cib_client.c new_cib->cmds->query_from = cib_client_query_from; cmds 709 lib/cib/cib_client.c new_cib->cmds->sync_from = cib_client_sync_from; cmds 711 lib/cib/cib_client.c new_cib->cmds->is_master = is_primary; // Deprecated method cmds 713 lib/cib/cib_client.c new_cib->cmds->set_primary = set_primary; cmds 714 lib/cib/cib_client.c new_cib->cmds->set_master = set_primary; // Deprecated method cmds 716 lib/cib/cib_client.c new_cib->cmds->set_secondary = set_secondary; cmds 717 lib/cib/cib_client.c new_cib->cmds->set_slave = set_secondary; // Deprecated method cmds 719 lib/cib/cib_client.c new_cib->cmds->set_slave_all = set_all_secondary; // Deprecated method cmds 721 lib/cib/cib_client.c new_cib->cmds->upgrade = cib_client_upgrade; cmds 722 lib/cib/cib_client.c new_cib->cmds->bump_epoch = cib_client_bump_epoch; cmds 724 lib/cib/cib_client.c new_cib->cmds->create = cib_client_create; cmds 725 lib/cib/cib_client.c new_cib->cmds->modify = cib_client_modify; cmds 726 lib/cib/cib_client.c new_cib->cmds->update = cib_client_modify; // Deprecated method cmds 727 lib/cib/cib_client.c new_cib->cmds->replace = cib_client_replace; cmds 728 lib/cib/cib_client.c new_cib->cmds->remove = cib_client_delete; cmds 729 lib/cib/cib_client.c new_cib->cmds->erase = cib_client_erase; cmds 732 lib/cib/cib_client.c new_cib->cmds->delete_absolute = cib_client_delete_absolute; cmds 734 lib/cib/cib_client.c new_cib->cmds->init_transaction = cib_client_init_transaction; cmds 735 lib/cib/cib_client.c new_cib->cmds->end_transaction = cib_client_end_transaction; cmds 737 lib/cib/cib_client.c new_cib->cmds->set_user = cib_client_set_user; cmds 782 lib/cib/cib_client.c cib->cmds->free(cib); cmds 537 lib/cib/cib_file.c cib->cmds->end_transaction(cib, false, cib_none); cmds 587 lib/cib/cib_file.c free(cib->cmds); cmds 679 lib/cib/cib_file.c cib->cmds->signon = cib_file_signon; cmds 680 lib/cib/cib_file.c cib->cmds->signoff = cib_file_signoff; cmds 681 lib/cib/cib_file.c cib->cmds->free = cib_file_free; cmds 682 lib/cib/cib_file.c cib->cmds->inputfd = cib_file_inputfd; // Deprecated method cmds 684 lib/cib/cib_file.c cib->cmds->register_notification = cib_file_register_notification; cmds 685 lib/cib/cib_file.c cib->cmds->set_connection_dnotify = cib_file_set_connection_dnotify; cmds 687 lib/cib/cib_file.c cib->cmds->client_id = cib_file_client_id; cmds 258 lib/cib/cib_native.c cib->cmds->end_transaction(cib, false, cib_none); cmds 390 lib/cib/cib_native.c free(cib->cmds); cmds 497 lib/cib/cib_native.c cib->cmds->signon = cib_native_signon; cmds 498 lib/cib/cib_native.c cib->cmds->signon_raw = cib_native_signon_raw; cmds 499 lib/cib/cib_native.c cib->cmds->signoff = cib_native_signoff; cmds 500 lib/cib/cib_native.c cib->cmds->free = cib_native_free; cmds 502 lib/cib/cib_native.c cib->cmds->register_notification = cib_native_register_notification; cmds 503 lib/cib/cib_native.c cib->cmds->set_connection_dnotify = cib_native_set_connection_dnotify; cmds 505 lib/cib/cib_native.c cib->cmds->client_id = cib_native_client_id; cmds 499 lib/cib/cib_remote.c cib->cmds->end_transaction(cib, false, cib_none); cmds 520 lib/cib/cib_remote.c free(cib->cmds); cmds 622 lib/cib/cib_remote.c cib->cmds->signon = cib_remote_signon; cmds 623 lib/cib/cib_remote.c cib->cmds->signoff = cib_remote_signoff; cmds 624 lib/cib/cib_remote.c cib->cmds->free = cib_remote_free; cmds 625 lib/cib/cib_remote.c cib->cmds->inputfd = cib_remote_inputfd; // Deprecated method cmds 627 lib/cib/cib_remote.c cib->cmds->register_notification = cib_remote_register_notification; cmds 628 lib/cib/cib_remote.c cib->cmds->set_connection_dnotify = cib_remote_set_connection_dnotify; cmds 630 lib/cib/cib_remote.c cib->cmds->client_id = cib_remote_client_id; cmds 34 lib/cib/cib_utils.c cib->cmds->query(cib, NULL, &the_cib, cib_scope_local | cib_sync_call); cmds 777 lib/cib/cib_utils.c cib->cmds->client_id(cib, NULL, &client_id); cmds 1043 lib/cib/cib_utils.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cmds 1056 lib/cib/cib_utils.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_object, cmds 1084 lib/cib/cib_utils.c rc = (*cib)->cmds->signoff(*cib); cmds 215 lib/common/crmcommon_private.h pcmk__ipc_methods_t *cmds; // Behavior that varies by daemon cmds 119 lib/common/ipc_attrd.c pcmk__ipc_methods_t *cmds = calloc(1, sizeof(pcmk__ipc_methods_t)); cmds 121 lib/common/ipc_attrd.c if (cmds != NULL) { cmds 122 lib/common/ipc_attrd.c cmds->new_data = NULL; cmds 123 lib/common/ipc_attrd.c cmds->free_data = NULL; cmds 124 lib/common/ipc_attrd.c cmds->post_connect = NULL; cmds 125 lib/common/ipc_attrd.c cmds->reply_expected = reply_expected; cmds 126 lib/common/ipc_attrd.c cmds->dispatch = dispatch; cmds 128 lib/common/ipc_attrd.c return cmds; cmds 74 lib/common/ipc_client.c (*api)->cmds = pcmk__attrd_api_methods(); cmds 82 lib/common/ipc_client.c (*api)->cmds = pcmk__controld_api_methods(); cmds 92 lib/common/ipc_client.c (*api)->cmds = pcmk__pacemakerd_api_methods(); cmds 96 lib/common/ipc_client.c (*api)->cmds = pcmk__schedulerd_api_methods(); cmds 101 lib/common/ipc_client.c if ((*api)->cmds == NULL) { cmds 116 lib/common/ipc_client.c if ((*api)->cmds->new_data != NULL) { cmds 117 lib/common/ipc_client.c if ((*api)->cmds->new_data(*api) != pcmk_rc_ok) { cmds 130 lib/common/ipc_client.c if ((api != NULL) && (api->cmds != NULL)) { cmds 131 lib/common/ipc_client.c if ((api->cmds->free_data != NULL) && (api->api_data != NULL)) { cmds 132 lib/common/ipc_client.c api->cmds->free_data(api->api_data); cmds 135 lib/common/ipc_client.c free(api->cmds); cmds 136 lib/common/ipc_client.c api->cmds = NULL; cmds 174 lib/common/ipc_client.c if ((api->cmds != NULL) && (api->cmds->post_disconnect != NULL)) { cmds 175 lib/common/ipc_client.c api->cmds->post_disconnect(api); cmds 307 lib/common/ipc_client.c if ((api->cmds != NULL) && (api->cmds->dispatch != NULL)) { cmds 308 lib/common/ipc_client.c return api->cmds->dispatch(api, message); cmds 553 lib/common/ipc_client.c if ((api->cmds != NULL) && (api->cmds->post_connect != NULL)) { cmds 554 lib/common/ipc_client.c rc = api->cmds->post_connect(api); cmds 681 lib/common/ipc_client.c && (api->cmds != NULL) cmds 682 lib/common/ipc_client.c && (api->cmds->reply_expected != NULL) cmds 683 lib/common/ipc_client.c && (api->cmds->reply_expected(api, request))) { cmds 286 lib/common/ipc_controld.c pcmk__ipc_methods_t *cmds = calloc(1, sizeof(pcmk__ipc_methods_t)); cmds 288 lib/common/ipc_controld.c if (cmds != NULL) { cmds 289 lib/common/ipc_controld.c cmds->new_data = new_data; cmds 290 lib/common/ipc_controld.c cmds->free_data = free_data; cmds 291 lib/common/ipc_controld.c cmds->post_connect = post_connect; cmds 292 lib/common/ipc_controld.c cmds->reply_expected = reply_expected; cmds 293 lib/common/ipc_controld.c cmds->dispatch = dispatch; cmds 295 lib/common/ipc_controld.c return cmds; cmds 261 lib/common/ipc_pacemakerd.c pcmk__ipc_methods_t *cmds = calloc(1, sizeof(pcmk__ipc_methods_t)); cmds 263 lib/common/ipc_pacemakerd.c if (cmds != NULL) { cmds 264 lib/common/ipc_pacemakerd.c cmds->new_data = new_data; cmds 265 lib/common/ipc_pacemakerd.c cmds->free_data = free_data; cmds 266 lib/common/ipc_pacemakerd.c cmds->post_connect = post_connect; cmds 267 lib/common/ipc_pacemakerd.c cmds->reply_expected = reply_expected; cmds 268 lib/common/ipc_pacemakerd.c cmds->dispatch = dispatch; cmds 269 lib/common/ipc_pacemakerd.c cmds->post_disconnect = post_disconnect; cmds 271 lib/common/ipc_pacemakerd.c return cmds; cmds 130 lib/common/ipc_schedulerd.c pcmk__ipc_methods_t *cmds = calloc(1, sizeof(pcmk__ipc_methods_t)); cmds 132 lib/common/ipc_schedulerd.c if (cmds != NULL) { cmds 133 lib/common/ipc_schedulerd.c cmds->new_data = new_data; cmds 134 lib/common/ipc_schedulerd.c cmds->free_data = free_data; cmds 135 lib/common/ipc_schedulerd.c cmds->post_connect = post_connect; cmds 136 lib/common/ipc_schedulerd.c cmds->reply_expected = reply_expected; cmds 137 lib/common/ipc_schedulerd.c cmds->dispatch = dispatch; cmds 139 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 1184 lib/fencing/st_client.c stonith->cmds->disconnect(stonith); cmds 1695 lib/fencing/st_client.c stonith->cmds->remove_notification(stonith, NULL); cmds 1696 lib/fencing/st_client.c rc = stonith->cmds->disconnect(stonith); cmds 1709 lib/fencing/st_client.c free(stonith->cmds); cmds 1724 lib/fencing/st_client.c stonith->cmds->free(stonith); cmds 1853 lib/fencing/st_client.c new_stonith->cmds = calloc(1, sizeof(stonith_api_operations_t)); cmds 1854 lib/fencing/st_client.c if (new_stonith->cmds == NULL) { cmds 1861 lib/fencing/st_client.c new_stonith->cmds->free = stonith_api_free; cmds 1862 lib/fencing/st_client.c new_stonith->cmds->connect = stonith_api_signon; cmds 1863 lib/fencing/st_client.c new_stonith->cmds->disconnect = stonith_api_signoff; cmds 1865 lib/fencing/st_client.c new_stonith->cmds->list = stonith_api_list; cmds 1866 lib/fencing/st_client.c new_stonith->cmds->monitor = stonith_api_monitor; cmds 1867 lib/fencing/st_client.c new_stonith->cmds->status = stonith_api_status; cmds 1868 lib/fencing/st_client.c new_stonith->cmds->fence = stonith_api_fence; cmds 1869 lib/fencing/st_client.c new_stonith->cmds->fence_with_delay = stonith_api_fence_with_delay; cmds 1870 lib/fencing/st_client.c new_stonith->cmds->confirm = stonith_api_confirm; cmds 1871 lib/fencing/st_client.c new_stonith->cmds->history = stonith_api_history; cmds 1873 lib/fencing/st_client.c new_stonith->cmds->list_agents = stonith_api_device_list; cmds 1874 lib/fencing/st_client.c new_stonith->cmds->metadata = stonith_api_device_metadata; cmds 1876 lib/fencing/st_client.c new_stonith->cmds->query = stonith_api_query; cmds 1877 lib/fencing/st_client.c new_stonith->cmds->remove_device = stonith_api_remove_device; cmds 1878 lib/fencing/st_client.c new_stonith->cmds->register_device = stonith_api_register_device; cmds 1880 lib/fencing/st_client.c new_stonith->cmds->remove_level = stonith_api_remove_level; cmds 1881 lib/fencing/st_client.c new_stonith->cmds->remove_level_full = stonith_api_remove_level_full; cmds 1882 lib/fencing/st_client.c new_stonith->cmds->register_level = stonith_api_register_level; cmds 1883 lib/fencing/st_client.c new_stonith->cmds->register_level_full = stonith_api_register_level_full; cmds 1885 lib/fencing/st_client.c new_stonith->cmds->remove_callback = stonith_api_del_callback; cmds 1886 lib/fencing/st_client.c new_stonith->cmds->register_callback = stonith_api_add_callback; cmds 1887 lib/fencing/st_client.c new_stonith->cmds->remove_notification = stonith_api_del_notification; cmds 1888 lib/fencing/st_client.c new_stonith->cmds->register_notification = stonith_api_add_notification; cmds 1890 lib/fencing/st_client.c new_stonith->cmds->validate = stonith_api_validate; cmds 1911 lib/fencing/st_client.c rc = st->cmds->connect(st, name, NULL); cmds 1984 lib/fencing/st_client.c rc = st->cmds->connect(st, "stonith-api", NULL); cmds 1997 lib/fencing/st_client.c rc = st->cmds->fence(st, opts, name, action, timeout, 0); cmds 2026 lib/fencing/st_client.c rc = st->cmds->connect(st, "stonith-api", NULL); cmds 2040 lib/fencing/st_client.c rc = st->cmds->history(st, opts, name, &history, 120); cmds 2093 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 1949 lib/lrmd/lrmd_client.c rc = stonith_api->cmds->metadata(stonith_api, st_opt_sync_call, type, cmds 1954 lib/lrmd/lrmd_client.c stonith_api->cmds->free(stonith_api); cmds 1963 lib/lrmd/lrmd_client.c return lrmd->cmds->get_metadata_params(lrmd, standard, provider, type, cmds 2110 lib/lrmd/lrmd_client.c stonith_api->cmds->list_agents(stonith_api, st_opt_sync_call, NULL, cmds 2112 lib/lrmd/lrmd_client.c stonith_api->cmds->free(stonith_api); cmds 2274 lib/lrmd/lrmd_client.c (*api)->cmds = calloc(1, sizeof(lrmd_api_operations_t)); cmds 2276 lib/lrmd/lrmd_client.c if ((pvt->remote == NULL) || ((*api)->cmds == NULL)) { cmds 2283 lib/lrmd/lrmd_client.c (*api)->cmds->connect = lrmd_api_connect; cmds 2284 lib/lrmd/lrmd_client.c (*api)->cmds->connect_async = lrmd_api_connect_async; cmds 2285 lib/lrmd/lrmd_client.c (*api)->cmds->is_connected = lrmd_api_is_connected; cmds 2286 lib/lrmd/lrmd_client.c (*api)->cmds->poke_connection = lrmd_api_poke_connection; cmds 2287 lib/lrmd/lrmd_client.c (*api)->cmds->disconnect = lrmd_api_disconnect; cmds 2288 lib/lrmd/lrmd_client.c (*api)->cmds->register_rsc = lrmd_api_register_rsc; cmds 2289 lib/lrmd/lrmd_client.c (*api)->cmds->unregister_rsc = lrmd_api_unregister_rsc; cmds 2290 lib/lrmd/lrmd_client.c (*api)->cmds->get_rsc_info = lrmd_api_get_rsc_info; cmds 2291 lib/lrmd/lrmd_client.c (*api)->cmds->get_recurring_ops = lrmd_api_get_recurring_ops; cmds 2292 lib/lrmd/lrmd_client.c (*api)->cmds->set_callback = lrmd_api_set_callback; cmds 2293 lib/lrmd/lrmd_client.c (*api)->cmds->get_metadata = lrmd_api_get_metadata; cmds 2294 lib/lrmd/lrmd_client.c (*api)->cmds->exec = lrmd_api_exec; cmds 2295 lib/lrmd/lrmd_client.c (*api)->cmds->cancel = lrmd_api_cancel; cmds 2296 lib/lrmd/lrmd_client.c (*api)->cmds->list_agents = lrmd_api_list_agents; cmds 2297 lib/lrmd/lrmd_client.c (*api)->cmds->list_ocf_providers = lrmd_api_list_ocf_providers; cmds 2298 lib/lrmd/lrmd_client.c (*api)->cmds->list_standards = lrmd_api_list_standards; cmds 2299 lib/lrmd/lrmd_client.c (*api)->cmds->exec_alert = lrmd_api_exec_alert; cmds 2300 lib/lrmd/lrmd_client.c (*api)->cmds->get_metadata_params = lrmd_api_get_metadata_params; cmds 2358 lib/lrmd/lrmd_client.c if (lrmd->cmds != NULL) { // Never NULL, but make static analysis happy cmds 2359 lib/lrmd/lrmd_client.c if (lrmd->cmds->disconnect != NULL) { // Also never really NULL cmds 2360 lib/lrmd/lrmd_client.c lrmd->cmds->disconnect(lrmd); // No-op if already disconnected cmds 2362 lib/lrmd/lrmd_client.c free(lrmd->cmds); cmds 30 lib/pacemaker/pcmk_agents.c rc = lrmd_conn->cmds->list_ocf_providers(lrmd_conn, agent_spec, &list); cmds 97 lib/pacemaker/pcmk_agents.c rc = lrmd_conn->cmds->list_agents(lrmd_conn, &list, agent_spec, provider); cmds 152 lib/pacemaker/pcmk_agents.c rc = lrmd_conn->cmds->list_ocf_providers(lrmd_conn, agent_spec, &list); cmds 208 lib/pacemaker/pcmk_agents.c rc = lrmd_conn->cmds->list_standards(lrmd_conn, &list); cmds 66 lib/pacemaker/pcmk_fence.c rc = st->cmds->register_level_full(st, st_opts, node, pattern, cmds 70 lib/pacemaker/pcmk_fence.c rc = st->cmds->remove_level_full(st, st_opts, node, pattern, cmds 159 lib/pacemaker/pcmk_fence.c st->cmds->register_notification(st, T_STONITH_NOTIFY_FENCE, cmds 162 lib/pacemaker/pcmk_fence.c call_id = st->cmds->fence_with_delay(st, cmds 181 lib/pacemaker/pcmk_fence.c st->cmds->register_callback(st, call_id, timeout, st_opt_timeout_updates, cmds 260 lib/pacemaker/pcmk_fence.c rc = st->cmds->history(st, opts, target, &history, (timeout / 1000)); cmds 334 lib/pacemaker/pcmk_fence.c rc = st->cmds->list_agents(st, st_opt_sync_call, NULL, &devices, cmds 418 lib/pacemaker/pcmk_fence.c rc = st->cmds->list(st, st_opts, device_id, &lists, timeout/1000); cmds 462 lib/pacemaker/pcmk_fence.c int rc = st->cmds->metadata(st, st_opt_sync_call, agent, NULL, &buffer, cmds 502 lib/pacemaker/pcmk_fence.c rc = st->cmds->query(st, st_opts, target, &devices, timeout/1000); cmds 583 lib/pacemaker/pcmk_fence.c rc = st->cmds->validate(st, st_opt_sync_call, id, NULL, agent, params, cmds 620 lib/pacemaker/pcmk_fence.c rc = st->cmds->history(st, st_opt_sync_call, NULL, stonith_history, cmds 363 lib/pacemaker/pcmk_graph_producer.c parent->cmds->add_graph_meta(parent, args_xml); cmds 991 lib/pacemaker/pcmk_graph_producer.c child_rsc->cmds->add_actions_to_graph(child_rsc); cmds 1056 lib/pacemaker/pcmk_graph_producer.c rsc->cmds->add_actions_to_graph(rsc); cmds 129 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, NULL, cmds 137 lib/pacemaker/pcmk_injections.c cib_conn->cmds->create(cib_conn, XML_CIB_TAG_NODES, cib_object, cmds 235 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, cmds 257 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath_by_uuid, &cib_object, cmds 270 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->modify(cib_conn, XML_CIB_TAG_STATUS, cmds 283 lib/pacemaker/pcmk_injections.c cib_conn->cmds->create(cib_conn, XML_CIB_TAG_STATUS, cib_object, cmds 287 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, cmds 477 lib/pacemaker/pcmk_injections.c rc = the_cib->cmds->query(the_cib, (const char *) xpath->str, &xml_search, cmds 540 lib/pacemaker/pcmk_injections.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, xml_top, cmds 620 lib/pacemaker/pcmk_injections.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cmds 655 lib/pacemaker/pcmk_injections.c rc = cib->cmds->modify(cib, NULL, top, cib_sync_call|cib_scope_local); cmds 675 lib/pacemaker/pcmk_injections.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cmds 690 lib/pacemaker/pcmk_injections.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cmds 697 lib/pacemaker/pcmk_injections.c cib->cmds->remove(cib, xpath, NULL, cmds 703 lib/pacemaker/pcmk_injections.c cib->cmds->remove(cib, xpath, NULL, cmds 717 lib/pacemaker/pcmk_injections.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cmds 46 lib/pacemaker/pcmk_sched_actions.c flags = action->rsc->cmds->action_flags(action, NULL); cmds 57 lib/pacemaker/pcmk_sched_actions.c flags = action->rsc->cmds->action_flags(action, node); cmds 226 lib/pacemaker/pcmk_sched_actions.c return rsc->cmds->update_ordered_actions(first, then, node, flags, filter, cmds 1445 lib/pacemaker/pcmk_sched_actions.c rsc->cmds->output_actions(rsc); cmds 48 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->assign(replica->ip, prefer, stop_if_fail); cmds 65 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->assign(replica->remote, prefer, stop_if_fail); cmds 84 lib/pacemaker/pcmk_sched_bundle.c replica->child->cmds->assign(replica->child, replica->node, cmds 150 lib/pacemaker/pcmk_sched_bundle.c bundled_resource->cmds->assign(bundled_resource, prefer, stop_if_fail); cmds 170 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->create_actions(replica->ip); cmds 173 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->create_actions(replica->container); cmds 176 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->create_actions(replica->remote); cmds 204 lib/pacemaker/pcmk_sched_bundle.c bundled_resource->cmds->create_actions(bundled_resource); cmds 234 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->internal_constraints(replica->container); cmds 260 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->internal_constraints(replica->ip); cmds 280 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->internal_constraints(replica->remote); cmds 330 lib/pacemaker/pcmk_sched_bundle.c bundled_resource->cmds->internal_constraints(bundled_resource); cmds 475 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->apply_coloc_score(coloc_data->dependent, cmds 555 lib/pacemaker/pcmk_sched_bundle.c dependent->cmds->apply_coloc_score(dependent, primary_container, cmds 731 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->apply_location(replica->container, location); cmds 734 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->apply_location(replica->ip, location); cmds 761 lib/pacemaker/pcmk_sched_bundle.c bundled_resource->cmds->apply_location(bundled_resource, location); cmds 827 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->add_actions_to_graph(replica->ip); cmds 830 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->add_actions_to_graph(replica->container); cmds 833 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->add_actions_to_graph(replica->remote); cmds 853 lib/pacemaker/pcmk_sched_bundle.c bundled_resource->cmds->add_actions_to_graph(bundled_resource); cmds 907 lib/pacemaker/pcmk_sched_bundle.c && replica->ip->cmds->create_probe(replica->ip, probe_data->node)) { cmds 912 lib/pacemaker/pcmk_sched_bundle.c && replica->child->cmds->create_probe(replica->child, cmds 917 lib/pacemaker/pcmk_sched_bundle.c && replica->container->cmds->create_probe(replica->container, cmds 939 lib/pacemaker/pcmk_sched_bundle.c && replica->remote->cmds->create_probe(replica->remote, cmds 1000 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->output_actions(replica->ip); cmds 1003 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->output_actions(replica->container); cmds 1006 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->output_actions(replica->remote); cmds 1009 lib/pacemaker/pcmk_sched_bundle.c replica->child->cmds->output_actions(replica->child); cmds 1047 lib/pacemaker/pcmk_sched_bundle.c container->cmds->add_utilization(container, orig_rsc, all_rscs, cmds 67 lib/pacemaker/pcmk_sched_clone.c constraint->primary->cmds->assign(constraint->primary, prefer, cmds 159 lib/pacemaker/pcmk_sched_clone.c instance->cmds->internal_constraints(instance); cmds 303 lib/pacemaker/pcmk_sched_clone.c dependent->cmds->apply_coloc_score(dependent, primary_instance, cmds 348 lib/pacemaker/pcmk_sched_clone.c instance->cmds->apply_coloc_score(dependent, instance, colocation, cmds 363 lib/pacemaker/pcmk_sched_clone.c rsc->parent->cmds->with_this_colocations(rsc->parent, orig_rsc, list); cmds 377 lib/pacemaker/pcmk_sched_clone.c rsc->parent->cmds->this_with_colocations(rsc->parent, orig_rsc, list); cmds 415 lib/pacemaker/pcmk_sched_clone.c instance->cmds->apply_location(instance, location); cmds 425 lib/pacemaker/pcmk_sched_clone.c rsc->cmds->action_flags((pcmk_action_t *) data, NULL); cmds 445 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->add_actions_to_graph(child_rsc); cmds 546 lib/pacemaker/pcmk_sched_clone.c return child->cmds->create_probe(child, node); cmds 686 lib/pacemaker/pcmk_sched_clone.c child->cmds->add_utilization(child, orig_rsc, all_rscs, cmds 699 lib/pacemaker/pcmk_sched_clone.c child->cmds->add_utilization(child, orig_rsc, all_rscs, utilization); cmds 1746 lib/pacemaker/pcmk_sched_colocation.c other->cmds->add_colocated_node_scores(other, target_rsc, log_id, cmds 1809 lib/pacemaker/pcmk_sched_colocation.c source_rsc->cmds->add_colocated_node_scores(source_rsc, target_rsc, cmds 1886 lib/pacemaker/pcmk_sched_colocation.c rsc->cmds->with_this_colocations(rsc, rsc, &list); cmds 1905 lib/pacemaker/pcmk_sched_colocation.c rsc->cmds->this_with_colocations(rsc, rsc, &list); cmds 422 lib/pacemaker/pcmk_sched_constraints.c rsc->cmds->internal_constraints(rsc); cmds 75 lib/pacemaker/pcmk_sched_group.c node = member->cmds->assign(member, prefer, stop_if_fail); cmds 125 lib/pacemaker/pcmk_sched_group.c member->cmds->create_actions(member); cmds 172 lib/pacemaker/pcmk_sched_group.c member->cmds->internal_constraints(member); cmds 362 lib/pacemaker/pcmk_sched_group.c member->cmds->apply_coloc_score(member, primary, colocation, true); cmds 376 lib/pacemaker/pcmk_sched_group.c member->cmds->apply_coloc_score(member, primary, colocation, true); cmds 425 lib/pacemaker/pcmk_sched_group.c member->cmds->apply_coloc_score(dependent, member, colocation, false); cmds 440 lib/pacemaker/pcmk_sched_group.c member->cmds->apply_coloc_score(dependent, member, colocation, false); cmds 507 lib/pacemaker/pcmk_sched_group.c uint32_t member_flags = member->cmds->action_flags(member_action, cmds 593 lib/pacemaker/pcmk_sched_group.c changed |= member->cmds->update_ordered_actions(first, cmds 630 lib/pacemaker/pcmk_sched_group.c member->cmds->apply_location(member, location); cmds 671 lib/pacemaker/pcmk_sched_group.c colocated_rscs = member->cmds->colocated_resources(member, orig_rsc, cmds 716 lib/pacemaker/pcmk_sched_group.c rsc->parent->cmds->with_this_colocations(rsc->parent, orig_rsc, cmds 730 lib/pacemaker/pcmk_sched_group.c member->cmds->with_this_colocations(member, orig_rsc, list); cmds 763 lib/pacemaker/pcmk_sched_group.c rsc->parent->cmds->this_with_colocations(rsc->parent, orig_rsc, cmds 777 lib/pacemaker/pcmk_sched_group.c member->cmds->this_with_colocations(member, orig_rsc, list); cmds 892 lib/pacemaker/pcmk_sched_group.c member->cmds->add_colocated_node_scores(member, target_rsc, log_id, nodes, cmds 922 lib/pacemaker/pcmk_sched_group.c member->cmds->add_utilization(member, orig_rsc, all_rscs, cmds 934 lib/pacemaker/pcmk_sched_group.c member->cmds->add_utilization(member, orig_rsc, all_rscs, cmds 948 lib/pacemaker/pcmk_sched_group.c member->cmds->shutdown_lock(member); cmds 153 lib/pacemaker/pcmk_sched_instances.c other->cmds->add_colocated_node_scores(other, rsc, rsc->id, nodes, cmds 168 lib/pacemaker/pcmk_sched_instances.c other->cmds->add_colocated_node_scores(other, rsc, rsc->id, nodes, cmds 572 lib/pacemaker/pcmk_sched_instances.c chosen = instance->cmds->assign(instance, prefer, (prefer == NULL)); cmds 990 lib/pacemaker/pcmk_sched_instances.c instance->cmds->create_actions(instance); cmds 1425 lib/pacemaker/pcmk_sched_instances.c changed |= then_instance->cmds->update_ordered_actions( cmds 1427 lib/pacemaker/pcmk_sched_instances.c first_instance->cmds->action_flags(first_action, node), filter, cmds 1521 lib/pacemaker/pcmk_sched_instances.c instance_flags = instance->cmds->action_flags(instance_action, node); cmds 1527 lib/pacemaker/pcmk_sched_instances.c changed = instance->cmds->update_ordered_actions(first, instance_action, cmds 1652 lib/pacemaker/pcmk_sched_instances.c instance_flags = instance->cmds->action_flags(instance_action, node); cmds 606 lib/pacemaker/pcmk_sched_location.c location->rsc_lh->cmds->apply_location(location->rsc_lh, location); cmds 316 lib/pacemaker/pcmk_sched_primitive.c other->cmds->assign(other, NULL, true); cmds 320 lib/pacemaker/pcmk_sched_primitive.c rsc->cmds->apply_coloc_score(rsc, other, colocation, true); cmds 405 lib/pacemaker/pcmk_sched_primitive.c rsc->parent->cmds->assign(rsc->parent, prefer, stop_if_fail); cmds 1096 lib/pacemaker/pcmk_sched_primitive.c primary->cmds->apply_coloc_score(dependent, primary, colocation, false); cmds 1135 lib/pacemaker/pcmk_sched_primitive.c rsc->parent->cmds->with_this_colocations(rsc->parent, orig_rsc, list); cmds 1165 lib/pacemaker/pcmk_sched_primitive.c rsc->parent->cmds->this_with_colocations(rsc->parent, orig_rsc, list); cmds 60 lib/pacemaker/pcmk_sched_probes.c if (rsc->cmds->create_probe(rsc, node)) { cmds 365 lib/pacemaker/pcmk_sched_promotable.c primary->cmds->add_colocated_node_scores(primary, clone, clone->id, cmds 396 lib/pacemaker/pcmk_sched_promotable.c dependent->cmds->add_colocated_node_scores(dependent, clone, clone->id, cmds 978 lib/pacemaker/pcmk_sched_promotable.c instance->cmds->apply_coloc_score(instance, cons->primary, cons, true); cmds 1084 lib/pacemaker/pcmk_sched_promotable.c instance->cmds->create_actions(instance); cmds 205 lib/pacemaker/pcmk_sched_recurring.c if (!pcmk_is_set(rsc->cmds->action_flags(start, NULL), cmds 207 lib/pacemaker/pcmk_sched_resource.c rsc->cmds = &assignment_methods[rsc->variant]; cmds 237 lib/pacemaker/pcmk_sched_resource.c *list = rsc->cmds->colocated_resources(rsc, orig_rsc, *list); cmds 330 lib/pacemaker/pcmk_sched_resource.c child->cmds->output_actions(child); cmds 692 lib/pacemaker/pcmk_sched_resource.c resource1->cmds->add_colocated_node_scores(resource1, NULL, resource1->id, cmds 695 lib/pacemaker/pcmk_sched_resource.c resource2->cmds->add_colocated_node_scores(resource2, NULL, resource2->id, cmds 281 lib/pacemaker/pcmk_sched_utilization.c rsc->cmds->add_utilization(rsc, orig_rsc, rscs, utilization); cmds 315 lib/pacemaker/pcmk_sched_utilization.c colocated_rscs = rsc->cmds->colocated_resources(rsc, NULL, NULL); cmds 240 lib/pacemaker/pcmk_scheduler.c rsc->cmds->shutdown_lock(rsc); cmds 326 lib/pacemaker/pcmk_scheduler.c rsc->cmds->assign(rsc, rsc->partial_migration_target, true); cmds 338 lib/pacemaker/pcmk_scheduler.c rsc->cmds->assign(rsc, NULL, true); cmds 415 lib/pacemaker/pcmk_scheduler.c rsc->cmds->create_actions(rsc); cmds 563 lib/pacemaker/pcmk_simulate.c CRM_ASSERT(fake_cib->cmds->query(fake_cib, NULL, NULL, cmds 641 lib/pacemaker/pcmk_simulate.c rc = fake_cib->cmds->modify(fake_cib, XML_CIB_TAG_STATUS, cib_node, cmds 702 lib/pacemaker/pcmk_simulate.c rc = fake_cib->cmds->replace(fake_cib, XML_CIB_TAG_STATUS, cib_node, cmds 711 lib/pacemaker/pcmk_simulate.c fake_cib->cmds->remove(fake_cib, (const char *) xpath->str, NULL, cmds 719 lib/pacemaker/pcmk_simulate.c fake_cib->cmds->remove(fake_cib, (const char *) xpath->str, NULL, cmds 776 lib/pacemaker/pcmk_simulate.c int rc = fake_cib->cmds->query(fake_cib, NULL, &cib_object, cmds 857 lib/pacemaker/pcmk_simulate.c rc = cib->cmds->query(cib, NULL, &input, cib_sync_call); cmds 35 lib/pacemaker/pcmk_status.c rc = st->cmds->connect(st, crm_system_name, NULL); cmds 782 tools/cibadmin.c the_cib->cmds->register_callback(the_cib, request_id, cmds 809 tools/cibadmin.c if (the_cib->cmds->query(the_cib, NULL, &obj, cmds 906 tools/cibadmin.c rc = the_cib->cmds->signon(the_cib, crm_system_name, cib_command); cmds 743 tools/crm_attribute.c rc = the_cib->cmds->signon(the_cib, crm_system_name, cib_command); cmds 861 tools/crm_mon.c cib->cmds->signoff(cib); cmds 917 tools/crm_mon.c rc = st->cmds->connect(st, crm_system_name, NULL); cmds 921 tools/crm_mon.c st->cmds->register_notification(st, T_STONITH_NOTIFY_DISCONNECT, cmds 923 tools/crm_mon.c st->cmds->register_notification(st, T_STONITH_NOTIFY_FENCE, mon_st_callback_event); cmds 925 tools/crm_mon.c st->cmds->register_notification(st, T_STONITH_NOTIFY_DISCONNECT, cmds 927 tools/crm_mon.c st->cmds->register_notification(st, T_STONITH_NOTIFY_HISTORY, mon_st_callback_display); cmds 952 tools/crm_mon.c rc = pcmk_legacy2rc(cib->cmds->set_connection_dnotify(cib, cmds 963 tools/crm_mon.c cib->cmds->del_notify_callback(cib, T_CIB_DIFF_NOTIFY, cmds 965 tools/crm_mon.c rc = pcmk_legacy2rc(cib->cmds->add_notify_callback(cib, cmds 2049 tools/crm_mon.c cib->cmds->query(cib, NULL, ¤t_cib, cib_scope_local | cib_sync_call); cmds 557 tools/crm_node.c rc = cib->cmds->remove(cib, section, xml, cib_transaction); cmds 584 tools/crm_node.c rc = cib->cmds->signon(cib, crm_system_name, cib_command); cmds 586 tools/crm_node.c rc = cib->cmds->init_transaction(cib); cmds 603 tools/crm_node.c commit_rc = cib->cmds->end_transaction(cib, (rc == pcmk_rc_ok), cmds 1091 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); cmds 1137 tools/crm_resource.c rc = cib_conn->cmds->remove(cib_conn, XML_CIB_TAG_RESOURCES, msg_data, cmds 1155 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); cmds 1275 tools/crm_resource.c rc = cib_conn->cmds->modify(cib_conn, XML_CIB_TAG_RESOURCES, msg_data, cmds 1305 tools/crm_resource.c rc = lrmd_conn->cmds->get_metadata(lrmd_conn, standard, cmds 1639 tools/crm_resource.c if ((cib_conn == NULL) || (cib_conn->cmds == NULL)) { cmds 1645 tools/crm_resource.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cmds 123 tools/crm_resource_ban.c rc = cib_conn->cmds->modify(cib_conn, XML_CIB_TAG_CONSTRAINTS, fragment, cmds 200 tools/crm_resource_ban.c rc = cib_conn->cmds->modify(cib_conn, XML_CIB_TAG_CONSTRAINTS, fragment, cmds 257 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, xpath_string, NULL, cib_xpath | cib_options); cmds 291 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, XML_CIB_TAG_CONSTRAINTS, fragment, cib_options); cmds 479 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, XML_CIB_TAG_CONSTRAINTS, cmds 127 tools/crm_resource_runtime.c rc = the_cib->cmds->query(the_cib, (const char *) xpath->str, &xml_search, cmds 304 tools/crm_resource_runtime.c rc = cib->cmds->replace(cib, XML_CIB_TAG_RESOURCES, rsc->xml, cmds 388 tools/crm_resource_runtime.c rc = cib->cmds->modify(cib, XML_CIB_TAG_RESOURCES, xml_top, cmds 472 tools/crm_resource_runtime.c rc = cib->cmds->replace(cib, XML_CIB_TAG_RESOURCES, rsc->xml, cmds 518 tools/crm_resource_runtime.c rc = cib->cmds->remove(cib, XML_CIB_TAG_RESOURCES, xml_obj, cmds 1228 tools/crm_resource_runtime.c rc = cib->cmds->query(cib, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); cmds 1284 tools/crm_resource_runtime.c rc = shadow_cib->cmds->signon(shadow_cib, crm_system_name, cib_command); cmds 444 tools/crm_shadow.c rc = (*real_cib)->cmds->signon(*real_cib, crm_system_name, cib_command); cmds 473 tools/crm_shadow.c rc = real_cib->cmds->query(real_cib, NULL, output, options.cmd_options); cmds 690 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, (const char *) xpath->str, &xml_search, cmds 411 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, (const char *) xpath->str, &xml_search, cmds 627 tools/crm_ticket.c rc = cib->cmds->replace(cib, XML_CIB_TAG_STATUS, ticket_state_xml, cib_options); cmds 632 tools/crm_ticket.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, xml_top, cib_options); cmds 658 tools/crm_ticket.c rc = cib->cmds->remove(cib, XML_CIB_TAG_STATUS, ticket_state_xml, cib_options); cmds 772 tools/crm_ticket.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cmds 786 tools/crm_ticket.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); cmds 537 tools/stonith_admin.c rc = st->cmds->connect(st, name, NULL); cmds 563 tools/stonith_admin.c rc = st->cmds->monitor(st, st_opts, device, options.timeout); cmds 565 tools/stonith_admin.c rc = st->cmds->list(st, st_opts, device, NULL, options.timeout); cmds 579 tools/stonith_admin.c rc = st->cmds->register_device(st, st_opts, device, NULL, options.agent, cmds 589 tools/stonith_admin.c rc = st->cmds->remove_device(st, st_opts, device); cmds 623 tools/stonith_admin.c rc = st->cmds->confirm(st, st_opts, target); cmds 673 tools/stonith_admin.c st->cmds->disconnect(st);