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 333 daemons/attrd/attrd_cib.c the_cib->cmds->register_callback_full(the_cib, a->update, cmds 144 daemons/attrd/attrd_utils.c the_cib->cmds->del_notify_callback(the_cib, T_CIB_REPLACE_NOTIFY, attrd_cib_replaced_cb); cmds 145 daemons/attrd/attrd_utils.c the_cib->cmds->del_notify_callback(the_cib, T_CIB_DIFF_NOTIFY, attrd_cib_updated_cb); cmds 71 daemons/attrd/pacemaker-attrd.c conn->cmds->signoff(conn); /* Ensure IPC is cleaned up */ cmds 121 daemons/attrd/pacemaker-attrd.c call_id = the_cib->cmds->remove(the_cib, xpath, NULL, cib_xpath); cmds 122 daemons/attrd/pacemaker-attrd.c the_cib->cmds->register_callback_full(the_cib, call_id, 120, FALSE, xpath, cmds 146 daemons/attrd/pacemaker-attrd.c rc = the_cib->cmds->signon(the_cib, T_ATTRD, cib_command); cmds 158 daemons/attrd/pacemaker-attrd.c rc = the_cib->cmds->set_connection_dnotify(the_cib, attrd_cib_destroy_cb); cmds 164 daemons/attrd/pacemaker-attrd.c rc = the_cib->cmds->add_notify_callback(the_cib, T_CIB_REPLACE_NOTIFY, attrd_cib_replaced_cb); cmds 170 daemons/attrd/pacemaker-attrd.c rc = the_cib->cmds->add_notify_callback(the_cib, T_CIB_DIFF_NOTIFY, attrd_cib_updated_cb); cmds 193 daemons/controld/controld_cib.c cib_conn->cmds->del_notify_callback(cib_conn, T_CIB_REPLACE_NOTIFY, cmds 195 daemons/controld/controld_cib.c cib_conn->cmds->del_notify_callback(cib_conn, T_CIB_DIFF_NOTIFY, cmds 200 daemons/controld/controld_cib.c cib_conn->cmds->set_secondary(cib_conn, cmds 202 daemons/controld/controld_cib.c cib_conn->cmds->signoff(cib_conn); cmds 249 daemons/controld/controld_cib.c rc = cib_conn->cmds->signon(cib_conn, CRM_SYSTEM_CRMD, cmds 255 daemons/controld/controld_cib.c rc = cib_conn->cmds->signon(cib_conn, CRM_SYSTEM_CRMD, cmds 262 daemons/controld/controld_cib.c } else if (cib_conn->cmds->set_connection_dnotify(cib_conn, cmds 266 daemons/controld/controld_cib.c } else if (cib_conn->cmds->add_notify_callback(cib_conn, cmds 271 daemons/controld/controld_cib.c } else if (cib_conn->cmds->add_notify_callback(cib_conn, cmds 279 daemons/controld/controld_cib.c cib_conn->cmds->client_id(cib_conn, &controld_globals.cib_client_id, cmds 459 daemons/controld/controld_cib.c call_id = cib_conn->cmds->remove(cib_conn, xpath, NULL, options); cmds 1047 daemons/controld/controld_cib.c controld_globals.cib_conn->cmds->remove(controld_globals.cib_conn, cmds 1107 daemons/controld/controld_cib.c controld_globals.cib_conn->cmds->remove(controld_globals.cib_conn, xpath, cmds 1135 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 77 daemons/controld/controld_cib.h cib_conn->cmds->register_callback_full(cib_conn, id, cib_op_timeout(), \ cmds 804 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 347 daemons/controld/controld_execd_state.c ((lrmd_t *) lrm_state->conn)->cmds->disconnect(lrm_state->conn); cmds 375 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->is_connected(lrm_state->conn); cmds 385 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->poke_connection(lrm_state->conn); cmds 401 daemons/controld/controld_execd_state.c api->cmds->set_callback(api, lrm_op_callback); cmds 405 daemons/controld/controld_execd_state.c rc = ((lrmd_t *) lrm_state->conn)->cmds->connect(lrm_state->conn, cmds 509 daemons/controld/controld_execd_state.c int rc = cib_conn->cmds->query(cib_conn, XML_CIB_TAG_CRMCONFIG, cmds 511 daemons/controld/controld_execd_state.c cib_conn->cmds->register_callback_full(cib_conn, rc, 10, FALSE, cmds 611 daemons/controld/controld_execd_state.c api->cmds->set_callback(api, remote_lrm_op_callback); cmds 617 daemons/controld/controld_execd_state.c rc = ((lrmd_t *) lrm_state->conn)->cmds->connect_async(lrm_state->conn, cmds 657 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->get_metadata_params(lrm_state->conn, cmds 674 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->cancel(lrm_state->conn, rsc_id, cmds 693 daemons/controld/controld_execd_state.c rsc = ((lrmd_t *) lrm_state->conn)->cmds->get_rsc_info(lrm_state->conn, rsc_id, options); cmds 754 daemons/controld/controld_execd_state.c rc = ((lrmd_t *) lrm_state->conn)->cmds->exec(lrm_state->conn, rsc_id, cmds 789 daemons/controld/controld_execd_state.c return conn->cmds->register_rsc(lrm_state->conn, rsc_id, class, provider, cmds 813 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->unregister_rsc(lrm_state->conn, rsc_id, options); cmds 255 daemons/controld/controld_fencing.c rc = controld_globals.cib_conn->cmds->modify(controld_globals.cib_conn, cmds 462 daemons/controld/controld_fencing.c stonith_api->cmds->disconnect(st); cmds 464 daemons/controld/controld_fencing.c stonith_api->cmds->remove_notification(stonith_api, NULL); cmds 683 daemons/controld/controld_fencing.c rc = stonith_api->cmds->connect(stonith_api, crm_system_name, NULL); cmds 699 daemons/controld/controld_fencing.c stonith_api->cmds->register_notification(stonith_api, cmds 702 daemons/controld/controld_fencing.c stonith_api->cmds->register_notification(stonith_api, cmds 705 daemons/controld/controld_fencing.c stonith_api->cmds->register_notification(stonith_api, cmds 739 daemons/controld/controld_fencing.c stonith_api->cmds->disconnect(stonith_api); cmds 741 daemons/controld/controld_fencing.c stonith_api->cmds->remove_notification(stonith_api, NULL); cmds 745 daemons/controld/controld_fencing.c stonith_api->cmds->free(stonith_api); cmds 766 daemons/controld/controld_fencing.c stonith_api->cmds->history(stonith_api, cmds 936 daemons/controld/controld_fencing.c return stonith_api->cmds->fence_with_delay(stonith_api, options, target, cmds 991 daemons/controld/controld_fencing.c stonith_api->cmds->register_callback(stonith_api, rc, cmds 1042 daemons/controld/controld_fencing.c st->cmds->remove_notification(st, T_STONITH_NOTIFY_HISTORY_SYNCED); cmds 655 daemons/controld/controld_fsa.c cib_conn->cmds->set_secondary(cib_conn, cib_scope_local); cmds 144 daemons/controld/controld_join_client.c query_call_id = cib_conn->cmds->query(cib_conn, NULL, NULL, cmds 608 daemons/controld/controld_join_dc.c rc = controld_globals.cib_conn->cmds->sync_from(controld_globals.cib_conn, cmds 258 daemons/controld/controld_membership.c delete_call_id = cib_conn->cmds->remove(cib_conn, XML_CIB_TAG_NODES, cmds 267 daemons/controld/controld_membership.c delete_call_id = cib_conn->cmds->remove(cib_conn, cmds 339 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 529 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { cmds 579 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { cmds 675 daemons/controld/controld_remote_ra.c ra_data->cmds = fail_all_monitor_cmds(ra_data->cmds); cmds 785 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { cmds 812 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { cmds 813 daemons/controld/controld_remote_ra.c g_list_free_full(ra_data->cmds, free_cmd); cmds 818 daemons/controld/controld_remote_ra.c ra_data->cmds = NULL; cmds 874 daemons/controld/controld_remote_ra.c while (ra_data->cmds) { cmds 875 daemons/controld/controld_remote_ra.c first = ra_data->cmds; cmds 882 daemons/controld/controld_remote_ra.c ra_data->cmds = g_list_remove_link(ra_data->cmds, first); cmds 985 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { cmds 986 daemons/controld/controld_remote_ra.c g_list_free_full(ra_data->cmds, free_cmd); cmds 1108 daemons/controld/controld_remote_ra.c ra_data->cmds = remove_cmd(ra_data->cmds, action, interval_ms); cmds 1155 daemons/controld/controld_remote_ra.c for (gIter = ra_data->cmds; gIter != NULL; gIter = gIter->next) { cmds 1280 daemons/controld/controld_remote_ra.c ra_data->cmds = g_list_append(ra_data->cmds, cmd); cmds 1303 daemons/controld/controld_remote_ra.c ra_data->cmds = fail_all_monitor_cmds(ra_data->cmds); cmds 106 daemons/controld/controld_schedulerd.c rc = controld_globals.cib_conn->cmds->query(controld_globals.cib_conn, cmds 364 daemons/controld/controld_schedulerd.c fsa_pe_query = cib_conn->cmds->query(cib_conn, NULL, NULL, cib_scope_local); cmds 300 daemons/controld/controld_te_actions.c rc = cib_conn->cmds->modify(cib_conn, XML_CIB_TAG_STATUS, state, cmds 49 daemons/controld/controld_transition.c cib_conn->cmds->del_notify_callback(cib_conn, T_CIB_DIFF_NOTIFY, cmds 80 daemons/controld/controld_transition.c if (cib_conn->cmds->add_notify_callback(cib_conn, T_CIB_DIFF_NOTIFY, cmds 86 daemons/controld/controld_transition.c if (cib_conn->cmds->set_op_callback(cib_conn, 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 1172 daemons/execd/execd_commands.c rc = stonith_api->cmds->register_device(stonith_api, st_opt_sync_call, cmds 1198 daemons/execd/execd_commands.c return stonith_api->cmds->remove_device(stonith_api, st_opt_sync_call, cmds 1215 daemons/execd/execd_commands.c int rc = stonith_api->cmds->monitor(stonith_api, 0, cmd->rsc_id, cmds 1218 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", "off", 3, 0), cmds 218 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", "reboot", 3, 0), cmds 221 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id1"), cmds 237 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id1", "stonith-ng", "fence_dummy", params), cmds 246 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id2", "stonith-ng", "fence_dummy", params), cmds 249 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", "off", 3, 0), cmds 253 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", "on", 3, 0), cmds 256 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id1"), cmds 259 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id2"), cmds 276 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id", "stonith-ng", "fence_dummy", params), cmds 281 daemons/fenced/cts-fence-helper.c single_test(st->cmds->list(st, st_opts, "test-id", NULL, 1), "list", 1, 0); cmds 283 daemons/fenced/cts-fence-helper.c single_test(st->cmds->monitor(st, st_opts, "test-id", 1), "Monitor", 1, 0); cmds 285 daemons/fenced/cts-fence-helper.c single_test(st->cmds->status(st, st_opts, "test-id", "false_1_node2", 1), cmds 288 daemons/fenced/cts-fence-helper.c single_test(st->cmds->status(st, st_opts, "test-id", "false_1_node1", 1), cmds 291 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "unknown-host", "off", 1, 0), cmds 294 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node1", "off", 1, 0), cmds 298 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node1", "on", 1, 0), cmds 302 daemons/fenced/cts-fence-helper.c single_test(st->cmds->register_level(st, st_opts, "node1", 999, params), cmds 305 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id"), "Remove test-id", 1, 0); cmds 315 daemons/fenced/cts-fence-helper.c rc = st->cmds->connect(st, crm_system_name, &pollfd.fd); cmds 320 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, T_STONITH_NOTIFY_DISCONNECT, st_callback); cmds 321 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, T_STONITH_NOTIFY_FENCE, st_callback); cmds 322 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_ADD, st_callback); cmds 323 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_DEL, st_callback); cmds 324 daemons/fenced/cts-fence-helper.c st->cmds->register_callback(st, 0, 120, st_opt_timeout_updates, NULL, "st_global_callback", cmds 341 daemons/fenced/cts-fence-helper.c rc = st->cmds->connect(st, crm_system_name, &pollfd.fd); cmds 350 daemons/fenced/cts-fence-helper.c rc = st->cmds->register_device(st, st_opts, "test-id", "stonith-ng", "fence_xvm", params); cmds 353 daemons/fenced/cts-fence-helper.c rc = st->cmds->list(st, st_opts, "test-id", &tmp, 10); cmds 356 daemons/fenced/cts-fence-helper.c rc = st->cmds->monitor(st, st_opts, "test-id", 10); cmds 359 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node2", 10); cmds 362 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); cmds 365 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "unknown-host", "off", 60, 0); cmds 368 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); cmds 371 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "false_1_node1", "off", 60, 0); cmds 374 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); cmds 377 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "false_1_node1", "on", 10, 0); cmds 380 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); cmds 383 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "some-host", "off", 10, 0); cmds 386 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "some-host", 10); cmds 389 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "false_1_node1", "on", 10, 0); cmds 392 daemons/fenced/cts-fence-helper.c rc = st->cmds->remove_device(st, st_opts, "test-id"); cmds 413 daemons/fenced/cts-fence-helper.c return st->cmds->register_callback(st, cmds 429 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, 0, "true_1_node1", "off", MAINLOOP_DEFAULT_TIMEOUT, 0); cmds 462 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, 0, "custom_timeout_node1", "off", MAINLOOP_DEFAULT_TIMEOUT, 0); cmds 482 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, 0, "false_1_node2", "off", MAINLOOP_DEFAULT_TIMEOUT, 0); cmds 501 daemons/fenced/cts-fence-helper.c rc = st->cmds->monitor(st, 0, "false_1", MAINLOOP_DEFAULT_TIMEOUT); cmds 520 daemons/fenced/cts-fence-helper.c st->cmds->register_device(st, st_opts, "false_1", "stonith-ng", "fence_dummy", params); cmds 527 daemons/fenced/cts-fence-helper.c st->cmds->register_device(st, st_opts, "true_1", "stonith-ng", "fence_dummy", params); cmds 537 daemons/fenced/cts-fence-helper.c st->cmds->register_device(st, st_opts, "false_custom_timeout", "stonith-ng", "fence_dummy", cmds 591 daemons/fenced/cts-fence-helper.c rc = st->cmds->disconnect(st); cmds 886 daemons/fenced/fenced_commands.c rc = st->cmds->metadata(st, st_opt_sync_call, agent, cmds 1197 daemons/fenced/pacemaker-fenced.c rc = cib_api->cmds->query(cib_api, NULL, &local_cib, cib_scope_local | cib_sync_call); cmds 1260 daemons/fenced/pacemaker-fenced.c cib_api->cmds->signoff(cib_api); cmds 1269 daemons/fenced/pacemaker-fenced.c cib_api->cmds->del_notify_callback(cib_api, T_CIB_DIFF_NOTIFY, update_cib_cache_cb); cmds 1270 daemons/fenced/pacemaker-fenced.c cib_api->cmds->signoff(cib_api); cmds 1314 daemons/fenced/pacemaker-fenced.c rc = cib_api->cmds->signon(cib_api, CRM_SYSTEM_STONITHD, cib_command); cmds 1321 daemons/fenced/pacemaker-fenced.c cib_api->cmds->add_notify_callback(cib_api, T_CIB_DIFF_NOTIFY, update_cib_cache_cb)) { cmds 1325 daemons/fenced/pacemaker-fenced.c rc = cib_api->cmds->query(cib_api, NULL, NULL, cib_scope_local); cmds 1326 daemons/fenced/pacemaker-fenced.c cib_api->cmds->register_callback(cib_api, rc, 120, FALSE, NULL, "init_cib_cache_cb", cmds 1328 daemons/fenced/pacemaker-fenced.c cib_api->cmds->set_connection_dnotify(cib_api, cib_connection_destroy); cmds 216 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 598 include/crm/lrmd.h lrmd_api_operations_t *cmds; cmds 359 include/crm/pengine/pe_types.h resource_alloc_functions_t *cmds; cmds 556 include/crm/stonith-ng.h stonith_api_operations_t *cmds; cmds 673 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 269 lib/cib/cib_client.c return cib->cmds->query_from(cib, NULL, section, output_data, call_options); cmds 331 lib/cib/cib_client.c return cib->cmds->sync_from(cib, NULL, section, call_options); cmds 618 lib/cib/cib_client.c new_cib->cmds = calloc(1, sizeof(cib_api_operations_t)); cmds 620 lib/cib/cib_client.c if (new_cib->cmds == NULL) { cmds 625 lib/cib/cib_client.c new_cib->cmds->set_op_callback = cib_client_set_op_callback; cmds 626 lib/cib/cib_client.c new_cib->cmds->add_notify_callback = cib_client_add_notify_callback; cmds 627 lib/cib/cib_client.c new_cib->cmds->del_notify_callback = cib_client_del_notify_callback; cmds 628 lib/cib/cib_client.c new_cib->cmds->register_callback = cib_client_register_callback; cmds 629 lib/cib/cib_client.c new_cib->cmds->register_callback_full = cib_client_register_callback_full; cmds 631 lib/cib/cib_client.c new_cib->cmds->noop = cib_client_noop; cmds 632 lib/cib/cib_client.c new_cib->cmds->ping = cib_client_ping; cmds 633 lib/cib/cib_client.c new_cib->cmds->query = cib_client_query; cmds 634 lib/cib/cib_client.c new_cib->cmds->sync = cib_client_sync; cmds 636 lib/cib/cib_client.c new_cib->cmds->query_from = cib_client_query_from; cmds 637 lib/cib/cib_client.c new_cib->cmds->sync_from = cib_client_sync_from; cmds 639 lib/cib/cib_client.c new_cib->cmds->is_master = is_primary; // Deprecated method cmds 641 lib/cib/cib_client.c new_cib->cmds->set_primary = set_primary; cmds 642 lib/cib/cib_client.c new_cib->cmds->set_master = set_primary; // Deprecated method cmds 644 lib/cib/cib_client.c new_cib->cmds->set_secondary = set_secondary; cmds 645 lib/cib/cib_client.c new_cib->cmds->set_slave = set_secondary; // Deprecated method cmds 647 lib/cib/cib_client.c new_cib->cmds->set_slave_all = set_all_secondary; // Deprecated method cmds 649 lib/cib/cib_client.c new_cib->cmds->upgrade = cib_client_upgrade; cmds 650 lib/cib/cib_client.c new_cib->cmds->bump_epoch = cib_client_bump_epoch; cmds 652 lib/cib/cib_client.c new_cib->cmds->create = cib_client_create; cmds 653 lib/cib/cib_client.c new_cib->cmds->modify = cib_client_modify; cmds 654 lib/cib/cib_client.c new_cib->cmds->update = cib_client_modify; // Deprecated method cmds 655 lib/cib/cib_client.c new_cib->cmds->replace = cib_client_replace; cmds 656 lib/cib/cib_client.c new_cib->cmds->remove = cib_client_delete; cmds 657 lib/cib/cib_client.c new_cib->cmds->erase = cib_client_erase; cmds 659 lib/cib/cib_client.c new_cib->cmds->delete_absolute = cib_client_delete_absolute; cmds 704 lib/cib/cib_client.c cib->cmds->free(cib); cmds 459 lib/cib/cib_file.c free(cib->cmds); cmds 550 lib/cib/cib_file.c cib->cmds->signon = cib_file_signon; cmds 551 lib/cib/cib_file.c cib->cmds->signoff = cib_file_signoff; cmds 552 lib/cib/cib_file.c cib->cmds->free = cib_file_free; cmds 553 lib/cib/cib_file.c cib->cmds->inputfd = cib_file_inputfd; cmds 555 lib/cib/cib_file.c cib->cmds->register_notification = cib_file_register_notification; cmds 556 lib/cib/cib_file.c cib->cmds->set_connection_dnotify = cib_file_set_connection_dnotify; cmds 558 lib/cib/cib_file.c cib->cmds->client_id = cib_file_client_id; cmds 385 lib/cib/cib_native.c free(cib->cmds); cmds 491 lib/cib/cib_native.c cib->cmds->signon = cib_native_signon; cmds 492 lib/cib/cib_native.c cib->cmds->signon_raw = cib_native_signon_raw; cmds 493 lib/cib/cib_native.c cib->cmds->signoff = cib_native_signoff; cmds 494 lib/cib/cib_native.c cib->cmds->free = cib_native_free; cmds 496 lib/cib/cib_native.c cib->cmds->register_notification = cib_native_register_notification; cmds 497 lib/cib/cib_native.c cib->cmds->set_connection_dnotify = cib_native_set_connection_dnotify; cmds 499 lib/cib/cib_native.c cib->cmds->client_id = cib_native_client_id; cmds 513 lib/cib/cib_remote.c free(cib->cmds); cmds 614 lib/cib/cib_remote.c cib->cmds->signon = cib_remote_signon; cmds 615 lib/cib/cib_remote.c cib->cmds->signoff = cib_remote_signoff; cmds 616 lib/cib/cib_remote.c cib->cmds->free = cib_remote_free; cmds 617 lib/cib/cib_remote.c cib->cmds->inputfd = cib_remote_inputfd; cmds 619 lib/cib/cib_remote.c cib->cmds->register_notification = cib_remote_register_notification; cmds 620 lib/cib/cib_remote.c cib->cmds->set_connection_dnotify = cib_remote_set_connection_dnotify; cmds 622 lib/cib/cib_remote.c cib->cmds->client_id = cib_remote_client_id; cmds 33 lib/cib/cib_utils.c cib->cmds->query(cib, NULL, &the_cib, cib_scope_local | cib_sync_call); cmds 766 lib/cib/cib_utils.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cmds 779 lib/cib/cib_utils.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_object, cmds 807 lib/cib/cib_utils.c rc = (*cib)->cmds->signoff(*cib); cmds 213 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 70 lib/common/ipc_client.c (*api)->cmds = pcmk__attrd_api_methods(); cmds 78 lib/common/ipc_client.c (*api)->cmds = pcmk__controld_api_methods(); cmds 88 lib/common/ipc_client.c (*api)->cmds = pcmk__pacemakerd_api_methods(); cmds 92 lib/common/ipc_client.c (*api)->cmds = pcmk__schedulerd_api_methods(); cmds 97 lib/common/ipc_client.c if ((*api)->cmds == NULL) { cmds 112 lib/common/ipc_client.c if ((*api)->cmds->new_data != NULL) { cmds 113 lib/common/ipc_client.c if ((*api)->cmds->new_data(*api) != pcmk_rc_ok) { cmds 126 lib/common/ipc_client.c if ((api != NULL) && (api->cmds != NULL)) { cmds 127 lib/common/ipc_client.c if ((api->cmds->free_data != NULL) && (api->api_data != NULL)) { cmds 128 lib/common/ipc_client.c api->cmds->free_data(api->api_data); cmds 131 lib/common/ipc_client.c free(api->cmds); cmds 132 lib/common/ipc_client.c api->cmds = NULL; cmds 170 lib/common/ipc_client.c if ((api->cmds != NULL) && (api->cmds->post_disconnect != NULL)) { cmds 171 lib/common/ipc_client.c api->cmds->post_disconnect(api); cmds 303 lib/common/ipc_client.c if ((api->cmds != NULL) && (api->cmds->dispatch != NULL)) { cmds 304 lib/common/ipc_client.c return api->cmds->dispatch(api, message); cmds 544 lib/common/ipc_client.c if ((api->cmds != NULL) && (api->cmds->post_connect != NULL)) { cmds 545 lib/common/ipc_client.c rc = api->cmds->post_connect(api); cmds 652 lib/common/ipc_client.c && (api->cmds != NULL) cmds 653 lib/common/ipc_client.c && (api->cmds->reply_expected != NULL) cmds 654 lib/common/ipc_client.c && (api->cmds->reply_expected(api, request))) { cmds 298 lib/common/ipc_controld.c pcmk__ipc_methods_t *cmds = calloc(1, sizeof(pcmk__ipc_methods_t)); cmds 300 lib/common/ipc_controld.c if (cmds != NULL) { cmds 301 lib/common/ipc_controld.c cmds->new_data = new_data; cmds 302 lib/common/ipc_controld.c cmds->free_data = free_data; cmds 303 lib/common/ipc_controld.c cmds->post_connect = post_connect; cmds 304 lib/common/ipc_controld.c cmds->reply_expected = reply_expected; cmds 305 lib/common/ipc_controld.c cmds->dispatch = dispatch; cmds 307 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 1173 lib/fencing/st_client.c stonith->cmds->disconnect(stonith); cmds 1684 lib/fencing/st_client.c stonith->cmds->remove_notification(stonith, NULL); cmds 1685 lib/fencing/st_client.c rc = stonith->cmds->disconnect(stonith); cmds 1698 lib/fencing/st_client.c free(stonith->cmds); cmds 1713 lib/fencing/st_client.c stonith->cmds->free(stonith); cmds 1842 lib/fencing/st_client.c new_stonith->cmds = calloc(1, sizeof(stonith_api_operations_t)); cmds 1843 lib/fencing/st_client.c if (new_stonith->cmds == NULL) { cmds 1850 lib/fencing/st_client.c new_stonith->cmds->free = stonith_api_free; cmds 1851 lib/fencing/st_client.c new_stonith->cmds->connect = stonith_api_signon; cmds 1852 lib/fencing/st_client.c new_stonith->cmds->disconnect = stonith_api_signoff; cmds 1854 lib/fencing/st_client.c new_stonith->cmds->list = stonith_api_list; cmds 1855 lib/fencing/st_client.c new_stonith->cmds->monitor = stonith_api_monitor; cmds 1856 lib/fencing/st_client.c new_stonith->cmds->status = stonith_api_status; cmds 1857 lib/fencing/st_client.c new_stonith->cmds->fence = stonith_api_fence; cmds 1858 lib/fencing/st_client.c new_stonith->cmds->fence_with_delay = stonith_api_fence_with_delay; cmds 1859 lib/fencing/st_client.c new_stonith->cmds->confirm = stonith_api_confirm; cmds 1860 lib/fencing/st_client.c new_stonith->cmds->history = stonith_api_history; cmds 1862 lib/fencing/st_client.c new_stonith->cmds->list_agents = stonith_api_device_list; cmds 1863 lib/fencing/st_client.c new_stonith->cmds->metadata = stonith_api_device_metadata; cmds 1865 lib/fencing/st_client.c new_stonith->cmds->query = stonith_api_query; cmds 1866 lib/fencing/st_client.c new_stonith->cmds->remove_device = stonith_api_remove_device; cmds 1867 lib/fencing/st_client.c new_stonith->cmds->register_device = stonith_api_register_device; cmds 1869 lib/fencing/st_client.c new_stonith->cmds->remove_level = stonith_api_remove_level; cmds 1870 lib/fencing/st_client.c new_stonith->cmds->remove_level_full = stonith_api_remove_level_full; cmds 1871 lib/fencing/st_client.c new_stonith->cmds->register_level = stonith_api_register_level; cmds 1872 lib/fencing/st_client.c new_stonith->cmds->register_level_full = stonith_api_register_level_full; cmds 1874 lib/fencing/st_client.c new_stonith->cmds->remove_callback = stonith_api_del_callback; cmds 1875 lib/fencing/st_client.c new_stonith->cmds->register_callback = stonith_api_add_callback; cmds 1876 lib/fencing/st_client.c new_stonith->cmds->remove_notification = stonith_api_del_notification; cmds 1877 lib/fencing/st_client.c new_stonith->cmds->register_notification = stonith_api_add_notification; cmds 1879 lib/fencing/st_client.c new_stonith->cmds->validate = stonith_api_validate; cmds 1900 lib/fencing/st_client.c rc = st->cmds->connect(st, name, NULL); cmds 1973 lib/fencing/st_client.c rc = st->cmds->connect(st, "stonith-api", NULL); cmds 1986 lib/fencing/st_client.c rc = st->cmds->fence(st, opts, name, action, timeout, 0); cmds 2015 lib/fencing/st_client.c rc = st->cmds->connect(st, "stonith-api", NULL); cmds 2029 lib/fencing/st_client.c rc = st->cmds->history(st, opts, name, &history, 120); cmds 2082 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 1925 lib/lrmd/lrmd_client.c rc = stonith_api->cmds->metadata(stonith_api, st_opt_sync_call, type, cmds 1930 lib/lrmd/lrmd_client.c stonith_api->cmds->free(stonith_api); cmds 1939 lib/lrmd/lrmd_client.c return lrmd->cmds->get_metadata_params(lrmd, standard, provider, type, cmds 2086 lib/lrmd/lrmd_client.c stonith_api->cmds->list_agents(stonith_api, st_opt_sync_call, NULL, cmds 2088 lib/lrmd/lrmd_client.c stonith_api->cmds->free(stonith_api); cmds 2250 lib/lrmd/lrmd_client.c (*api)->cmds = calloc(1, sizeof(lrmd_api_operations_t)); cmds 2252 lib/lrmd/lrmd_client.c if ((pvt->remote == NULL) || ((*api)->cmds == NULL)) { cmds 2259 lib/lrmd/lrmd_client.c (*api)->cmds->connect = lrmd_api_connect; cmds 2260 lib/lrmd/lrmd_client.c (*api)->cmds->connect_async = lrmd_api_connect_async; cmds 2261 lib/lrmd/lrmd_client.c (*api)->cmds->is_connected = lrmd_api_is_connected; cmds 2262 lib/lrmd/lrmd_client.c (*api)->cmds->poke_connection = lrmd_api_poke_connection; cmds 2263 lib/lrmd/lrmd_client.c (*api)->cmds->disconnect = lrmd_api_disconnect; cmds 2264 lib/lrmd/lrmd_client.c (*api)->cmds->register_rsc = lrmd_api_register_rsc; cmds 2265 lib/lrmd/lrmd_client.c (*api)->cmds->unregister_rsc = lrmd_api_unregister_rsc; cmds 2266 lib/lrmd/lrmd_client.c (*api)->cmds->get_rsc_info = lrmd_api_get_rsc_info; cmds 2267 lib/lrmd/lrmd_client.c (*api)->cmds->get_recurring_ops = lrmd_api_get_recurring_ops; cmds 2268 lib/lrmd/lrmd_client.c (*api)->cmds->set_callback = lrmd_api_set_callback; cmds 2269 lib/lrmd/lrmd_client.c (*api)->cmds->get_metadata = lrmd_api_get_metadata; cmds 2270 lib/lrmd/lrmd_client.c (*api)->cmds->exec = lrmd_api_exec; cmds 2271 lib/lrmd/lrmd_client.c (*api)->cmds->cancel = lrmd_api_cancel; cmds 2272 lib/lrmd/lrmd_client.c (*api)->cmds->list_agents = lrmd_api_list_agents; cmds 2273 lib/lrmd/lrmd_client.c (*api)->cmds->list_ocf_providers = lrmd_api_list_ocf_providers; cmds 2274 lib/lrmd/lrmd_client.c (*api)->cmds->list_standards = lrmd_api_list_standards; cmds 2275 lib/lrmd/lrmd_client.c (*api)->cmds->exec_alert = lrmd_api_exec_alert; cmds 2276 lib/lrmd/lrmd_client.c (*api)->cmds->get_metadata_params = lrmd_api_get_metadata_params; cmds 2334 lib/lrmd/lrmd_client.c if (lrmd->cmds != NULL) { // Never NULL, but make static analysis happy cmds 2335 lib/lrmd/lrmd_client.c if (lrmd->cmds->disconnect != NULL) { // Also never really NULL cmds 2336 lib/lrmd/lrmd_client.c lrmd->cmds->disconnect(lrmd); // No-op if already disconnected cmds 2338 lib/lrmd/lrmd_client.c free(lrmd->cmds); 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 157 lib/pacemaker/pcmk_fence.c st->cmds->register_notification(st, T_STONITH_NOTIFY_FENCE, notify_callback); cmds 159 lib/pacemaker/pcmk_fence.c call_id = st->cmds->fence_with_delay(st, cmds 174 lib/pacemaker/pcmk_fence.c st->cmds->register_callback(st, cmds 254 lib/pacemaker/pcmk_fence.c rc = st->cmds->history(st, opts, cmds 329 lib/pacemaker/pcmk_fence.c rc = st->cmds->list_agents(st, st_opt_sync_call, NULL, &devices, timeout/1000); cmds 411 lib/pacemaker/pcmk_fence.c rc = st->cmds->list(st, st_opts, device_id, &lists, timeout/1000); cmds 455 lib/pacemaker/pcmk_fence.c int rc = st->cmds->metadata(st, st_opt_sync_call, agent, NULL, &buffer, cmds 495 lib/pacemaker/pcmk_fence.c rc = st->cmds->query(st, st_opts, target, &devices, timeout/1000); cmds 575 lib/pacemaker/pcmk_fence.c rc = st->cmds->validate(st, st_opt_sync_call, id, NULL, agent, params, cmds 612 lib/pacemaker/pcmk_fence.c rc = st->cmds->history(st, st_opt_sync_call, NULL, stonith_history, 120); cmds 356 lib/pacemaker/pcmk_graph_producer.c parent->cmds->add_graph_meta(parent, args_xml); cmds 977 lib/pacemaker/pcmk_graph_producer.c child_rsc->cmds->add_actions_to_graph(child_rsc); cmds 1042 lib/pacemaker/pcmk_graph_producer.c rsc->cmds->add_actions_to_graph(rsc); cmds 128 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, NULL, cmds 136 lib/pacemaker/pcmk_injections.c cib_conn->cmds->create(cib_conn, XML_CIB_TAG_NODES, cib_object, cmds 234 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, cmds 256 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath_by_uuid, &cib_object, cmds 269 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->modify(cib_conn, XML_CIB_TAG_STATUS, cib_object, cmds 281 lib/pacemaker/pcmk_injections.c cib_conn->cmds->create(cib_conn, XML_CIB_TAG_STATUS, cib_object, cmds 285 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, cmds 473 lib/pacemaker/pcmk_injections.c rc = the_cib->cmds->query(the_cib, (const char *) xpath->str, &xml_search, cmds 536 lib/pacemaker/pcmk_injections.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, xml_top, cmds 616 lib/pacemaker/pcmk_injections.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cmds 651 lib/pacemaker/pcmk_injections.c rc = cib->cmds->modify(cib, NULL, top, cib_sync_call|cib_scope_local); cmds 671 lib/pacemaker/pcmk_injections.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cmds 686 lib/pacemaker/pcmk_injections.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cmds 693 lib/pacemaker/pcmk_injections.c cib->cmds->remove(cib, xpath, NULL, cmds 699 lib/pacemaker/pcmk_injections.c cib->cmds->remove(cib, xpath, NULL, cmds 713 lib/pacemaker/pcmk_injections.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cmds 45 lib/pacemaker/pcmk_sched_actions.c flags = action->rsc->cmds->action_flags(action, NULL); cmds 56 lib/pacemaker/pcmk_sched_actions.c flags = action->rsc->cmds->action_flags(action, node); cmds 250 lib/pacemaker/pcmk_sched_actions.c changed |= then->rsc->cmds->update_ordered_actions(first, then, cmds 269 lib/pacemaker/pcmk_sched_actions.c changed |= then->rsc->cmds->update_ordered_actions(first, then, node, cmds 280 lib/pacemaker/pcmk_sched_actions.c changed |= first->rsc->cmds->update_ordered_actions(first, then, cmds 298 lib/pacemaker/pcmk_sched_actions.c changed |= then->rsc->cmds->update_ordered_actions(first, then, cmds 313 lib/pacemaker/pcmk_sched_actions.c changed |= then->rsc->cmds->update_ordered_actions(first, then, cmds 348 lib/pacemaker/pcmk_sched_actions.c changed |= then->rsc->cmds->update_ordered_actions(first, then, cmds 362 lib/pacemaker/pcmk_sched_actions.c changed |= then->rsc->cmds->update_ordered_actions(first, then, cmds 382 lib/pacemaker/pcmk_sched_actions.c changed |= then->rsc->cmds->update_ordered_actions(first, then, cmds 397 lib/pacemaker/pcmk_sched_actions.c changed |= then->rsc->cmds->update_ordered_actions(first, then, cmds 411 lib/pacemaker/pcmk_sched_actions.c changed |= then->rsc->cmds->update_ordered_actions(first, then, cmds 425 lib/pacemaker/pcmk_sched_actions.c changed |= then->rsc->cmds->update_ordered_actions(first, then, cmds 1430 lib/pacemaker/pcmk_sched_actions.c rsc->cmds->output_actions(rsc); cmds 74 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->assign(replica->ip, prefer); cmds 92 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->assign(replica->remote, prefer); cmds 113 lib/pacemaker/pcmk_sched_bundle.c replica->child->cmds->assign(replica->child, replica->node); cmds 132 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->cmds->assign(bundle_data->child, prefer); cmds 157 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->create_actions(replica->ip); cmds 160 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->create_actions(replica->container); cmds 163 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->create_actions(replica->remote); cmds 170 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->cmds->create_actions(bundle_data->child); cmds 227 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->internal_constraints(replica->container); cmds 246 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->internal_constraints(replica->ip); cmds 265 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->internal_constraints(replica->remote); cmds 277 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->cmds->internal_constraints(bundle_data->child); cmds 454 lib/pacemaker/pcmk_sched_bundle.c dependent->cmds->apply_coloc_score(dependent, primary_replica, cmds 479 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->apply_coloc_score(dependent, cmds 623 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->apply_location(replica->container, cmds 627 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->apply_location(replica->ip, constraint); cmds 634 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->cmds->apply_location(bundle_data->child, cmds 657 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->cmds->add_actions_to_graph(bundle_data->child); cmds 708 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->add_actions_to_graph(replica->ip); cmds 711 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->add_actions_to_graph(replica->container); cmds 714 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->add_actions_to_graph(replica->remote); cmds 744 lib/pacemaker/pcmk_sched_bundle.c && replica->ip->cmds->create_probe(replica->ip, node)) { cmds 748 lib/pacemaker/pcmk_sched_bundle.c && replica->child->cmds->create_probe(replica->child, node)) { cmds 752 lib/pacemaker/pcmk_sched_bundle.c && replica->container->cmds->create_probe(replica->container, cmds 788 lib/pacemaker/pcmk_sched_bundle.c && replica->remote->cmds->create_probe(replica->remote, node)) { cmds 828 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->output_actions(replica->ip); cmds 831 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->output_actions(replica->container); cmds 834 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->output_actions(replica->remote); cmds 837 lib/pacemaker/pcmk_sched_bundle.c replica->child->cmds->output_actions(replica->child); cmds 866 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->add_utilization(replica->container, orig_rsc, cmds 56 lib/pacemaker/pcmk_sched_clone.c constraint->primary->cmds->assign(constraint->primary, prefer); cmds 185 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->internal_constraints(child_rsc); cmds 302 lib/pacemaker/pcmk_sched_clone.c dependent->cmds->apply_coloc_score(dependent, primary_instance, cmds 342 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->apply_coloc_score(dependent, child_rsc, colocation, cmds 393 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->apply_location(child_rsc, constraint); cmds 408 lib/pacemaker/pcmk_sched_clone.c g_list_foreach(rsc->actions, (GFunc) rsc->cmds->action_flags, NULL); cmds 418 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->add_actions_to_graph(child_rsc); cmds 500 lib/pacemaker/pcmk_sched_clone.c return child->cmds->create_probe(child, node); cmds 621 lib/pacemaker/pcmk_sched_clone.c child->cmds->add_utilization(child, orig_rsc, all_rscs, cmds 634 lib/pacemaker/pcmk_sched_clone.c child->cmds->add_utilization(child, orig_rsc, all_rscs, utilization); cmds 1492 lib/pacemaker/pcmk_sched_colocation.c other->cmds->add_colocated_node_scores(other, log_id, &work, cmds 1554 lib/pacemaker/pcmk_sched_colocation.c other->cmds->add_colocated_node_scores(other, rsc->id, &rsc->allowed_nodes, cmds 1574 lib/pacemaker/pcmk_sched_colocation.c rsc->cmds->with_this_colocations(rsc, rsc, &list); cmds 1593 lib/pacemaker/pcmk_sched_colocation.c rsc->cmds->this_with_colocations(rsc, rsc, &list); cmds 419 lib/pacemaker/pcmk_sched_constraints.c rsc->cmds->internal_constraints(rsc); cmds 64 lib/pacemaker/pcmk_sched_group.c node = member->cmds->assign(member, prefer); cmds 114 lib/pacemaker/pcmk_sched_group.c member->cmds->create_actions(member); cmds 161 lib/pacemaker/pcmk_sched_group.c member->cmds->internal_constraints(member); cmds 334 lib/pacemaker/pcmk_sched_group.c member->cmds->apply_coloc_score(member, primary, colocation, true); cmds 348 lib/pacemaker/pcmk_sched_group.c member->cmds->apply_coloc_score(member, primary, colocation, true); cmds 397 lib/pacemaker/pcmk_sched_group.c member->cmds->apply_coloc_score(dependent, member, colocation, false); cmds 411 lib/pacemaker/pcmk_sched_group.c member->cmds->apply_coloc_score(dependent, member, colocation, false); cmds 480 lib/pacemaker/pcmk_sched_group.c member_flags = member->cmds->action_flags(member_action, node); cmds 566 lib/pacemaker/pcmk_sched_group.c changed |= member->cmds->update_ordered_actions(first, cmds 602 lib/pacemaker/pcmk_sched_group.c member->cmds->apply_location(member, location); cmds 643 lib/pacemaker/pcmk_sched_group.c colocated_rscs = member->cmds->colocated_resources(member, orig_rsc, cmds 681 lib/pacemaker/pcmk_sched_group.c rsc->parent->cmds->with_this_colocations(rsc->parent, orig_rsc, cmds 710 lib/pacemaker/pcmk_sched_group.c rsc->parent->cmds->this_with_colocations(rsc->parent, orig_rsc, cmds 807 lib/pacemaker/pcmk_sched_group.c member->cmds->add_colocated_node_scores(member, log_id, nodes, attr, factor, cmds 836 lib/pacemaker/pcmk_sched_group.c member->cmds->add_utilization(member, orig_rsc, all_rscs, cmds 848 lib/pacemaker/pcmk_sched_group.c member->cmds->add_utilization(member, orig_rsc, all_rscs, cmds 863 lib/pacemaker/pcmk_sched_group.c member->cmds->shutdown_lock(member); cmds 197 lib/pacemaker/pcmk_sched_instances.c other->cmds->add_colocated_node_scores(other, rsc->id, nodes, cmds 209 lib/pacemaker/pcmk_sched_instances.c other->cmds->add_colocated_node_scores(other, rsc->id, nodes, cmds 600 lib/pacemaker/pcmk_sched_instances.c chosen = instance->cmds->assign(instance, NULL); cmds 605 lib/pacemaker/pcmk_sched_instances.c chosen = instance->cmds->assign(instance, prefer); cmds 922 lib/pacemaker/pcmk_sched_instances.c instance->cmds->create_actions(instance); cmds 1350 lib/pacemaker/pcmk_sched_instances.c changed |= then_instance->cmds->update_ordered_actions( cmds 1352 lib/pacemaker/pcmk_sched_instances.c first_instance->cmds->action_flags(first_action, node), filter, cmds 1445 lib/pacemaker/pcmk_sched_instances.c instance_flags = instance->cmds->action_flags(instance_action, node); cmds 1451 lib/pacemaker/pcmk_sched_instances.c changed = instance->cmds->update_ordered_actions(first, instance_action, cmds 1573 lib/pacemaker/pcmk_sched_instances.c instance_flags = instance->cmds->action_flags(instance_action, node); cmds 607 lib/pacemaker/pcmk_sched_location.c location->rsc_lh->cmds->apply_location(location->rsc_lh, location); cmds 296 lib/pacemaker/pcmk_sched_primitive.c other->cmds->assign(other, NULL); cmds 300 lib/pacemaker/pcmk_sched_primitive.c rsc->cmds->apply_coloc_score(rsc, other, colocation, true); cmds 375 lib/pacemaker/pcmk_sched_primitive.c rsc->parent->cmds->assign(rsc->parent, prefer); cmds 1042 lib/pacemaker/pcmk_sched_primitive.c primary->cmds->apply_coloc_score(dependent, primary, colocation, false); cmds 1080 lib/pacemaker/pcmk_sched_primitive.c rsc->parent->cmds->with_this_colocations(rsc->parent, rsc, list); cmds 1099 lib/pacemaker/pcmk_sched_primitive.c rsc->parent->cmds->this_with_colocations(rsc->parent, rsc, list); cmds 60 lib/pacemaker/pcmk_sched_probes.c if (rsc->cmds->create_probe(rsc, node)) { cmds 357 lib/pacemaker/pcmk_sched_promotable.c primary->cmds->add_colocated_node_scores(primary, clone->id, cmds 389 lib/pacemaker/pcmk_sched_promotable.c dependent->cmds->add_colocated_node_scores(dependent, clone->id, cmds 962 lib/pacemaker/pcmk_sched_promotable.c instance->cmds->apply_coloc_score(instance, cons->primary, cons, true); cmds 1068 lib/pacemaker/pcmk_sched_promotable.c instance->cmds->create_actions(instance); cmds 199 lib/pacemaker/pcmk_sched_recurring.c if (!pcmk_is_set(rsc->cmds->action_flags(start, NULL), cmds 204 lib/pacemaker/pcmk_sched_resource.c rsc->cmds = &allocation_methods[rsc->variant]; cmds 255 lib/pacemaker/pcmk_sched_resource.c colocated_rscs = primary->cmds->colocated_resources(primary, cmds 280 lib/pacemaker/pcmk_sched_resource.c colocated_rscs = dependent->cmds->colocated_resources(dependent, cmds 308 lib/pacemaker/pcmk_sched_resource.c child->cmds->output_actions(child); cmds 641 lib/pacemaker/pcmk_sched_resource.c resource1->cmds->add_colocated_node_scores(convert_const_pointer(resource1), cmds 644 lib/pacemaker/pcmk_sched_resource.c resource2->cmds->add_colocated_node_scores(convert_const_pointer(resource2), cmds 283 lib/pacemaker/pcmk_sched_utilization.c rsc->cmds->add_utilization(rsc, orig_rsc, rscs, utilization); cmds 317 lib/pacemaker/pcmk_sched_utilization.c colocated_rscs = rsc->cmds->colocated_resources(rsc, NULL, NULL); cmds 233 lib/pacemaker/pcmk_scheduler.c rsc->cmds->shutdown_lock(rsc); cmds 321 lib/pacemaker/pcmk_scheduler.c rsc->cmds->assign(rsc, rsc->partial_migration_target); cmds 333 lib/pacemaker/pcmk_scheduler.c rsc->cmds->assign(rsc, NULL); cmds 407 lib/pacemaker/pcmk_scheduler.c rsc->cmds->create_actions(rsc); cmds 558 lib/pacemaker/pcmk_simulate.c CRM_ASSERT(fake_cib->cmds->query(fake_cib, NULL, NULL, cmds 636 lib/pacemaker/pcmk_simulate.c rc = fake_cib->cmds->modify(fake_cib, XML_CIB_TAG_STATUS, cib_node, cmds 697 lib/pacemaker/pcmk_simulate.c rc = fake_cib->cmds->replace(fake_cib, XML_CIB_TAG_STATUS, cib_node, cmds 706 lib/pacemaker/pcmk_simulate.c fake_cib->cmds->remove(fake_cib, (const char *) xpath->str, NULL, cmds 714 lib/pacemaker/pcmk_simulate.c fake_cib->cmds->remove(fake_cib, (const char *) xpath->str, NULL, cmds 771 lib/pacemaker/pcmk_simulate.c int rc = fake_cib->cmds->query(fake_cib, NULL, &cib_object, cmds 851 lib/pacemaker/pcmk_simulate.c rc = cib->cmds->query(cib, NULL, &input, cib_sync_call); cmds 34 lib/pacemaker/pcmk_status.c rc = st->cmds->connect(st, crm_system_name, NULL); cmds 784 tools/cibadmin.c the_cib->cmds->register_callback(the_cib, request_id, cmds 811 tools/cibadmin.c if (the_cib->cmds->query(the_cib, NULL, &obj, cmds 908 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 357 tools/crm_node.c cib->cmds->signon(cib, crm_system_name, cib_command); cmds 359 tools/crm_node.c rc = cib->cmds->remove(cib, XML_CIB_TAG_NODES, node, cib_sync_call); cmds 364 tools/crm_node.c rc = cib->cmds->remove(cib, XML_CIB_TAG_STATUS, node_state, cib_sync_call); cmds 1080 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); cmds 1126 tools/crm_resource.c rc = cib_conn->cmds->remove(cib_conn, XML_CIB_TAG_RESOURCES, msg_data, cmds 1150 tools/crm_resource.c rc = lrmd_conn->cmds->list_agents(lrmd_conn, &list, agent_spec, provider); cmds 1189 tools/crm_resource.c rc = lrmd_conn->cmds->list_ocf_providers(lrmd_conn, agent_spec, &list); cmds 1200 tools/crm_resource.c rc = lrmd_conn->cmds->list_standards(lrmd_conn, &list); cmds 1211 tools/crm_resource.c rc = lrmd_conn->cmds->list_ocf_providers(lrmd_conn, agent_spec, &list); cmds 1256 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); cmds 1375 tools/crm_resource.c rc = cib_conn->cmds->modify(cib_conn, XML_CIB_TAG_RESOURCES, msg_data, cmds 1405 tools/crm_resource.c rc = lrmd_conn->cmds->get_metadata(lrmd_conn, standard, cmds 1739 tools/crm_resource.c if ((cib_conn == NULL) || (cib_conn->cmds == NULL)) { cmds 1745 tools/crm_resource.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cmds 148 tools/crm_resource_ban.c rc = cib_conn->cmds->modify(cib_conn, XML_CIB_TAG_CONSTRAINTS, fragment, cmds 215 tools/crm_resource_ban.c rc = cib_conn->cmds->modify(cib_conn, XML_CIB_TAG_CONSTRAINTS, fragment, cmds 262 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, xpath_string, NULL, cib_xpath | cib_options); cmds 296 tools/crm_resource_ban.c rc = cib_conn->cmds->remove(cib_conn, XML_CIB_TAG_CONSTRAINTS, fragment, cib_options); cmds 484 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 299 tools/crm_resource_runtime.c rc = cib->cmds->replace(cib, XML_CIB_TAG_RESOURCES, rsc->xml, cmds 383 tools/crm_resource_runtime.c rc = cib->cmds->modify(cib, XML_CIB_TAG_RESOURCES, xml_top, cmds 467 tools/crm_resource_runtime.c rc = cib->cmds->replace(cib, XML_CIB_TAG_RESOURCES, rsc->xml, cmds 513 tools/crm_resource_runtime.c rc = cib->cmds->remove(cib, XML_CIB_TAG_RESOURCES, xml_obj, cmds 1216 tools/crm_resource_runtime.c rc = cib->cmds->query(cib, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); cmds 1271 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 362 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, (const char *) xpath->str, &xml_search, cmds 410 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 769 tools/crm_ticket.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cmds 783 tools/crm_ticket.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); cmds 533 tools/stonith_admin.c rc = st->cmds->connect(st, name, NULL); cmds 559 tools/stonith_admin.c rc = st->cmds->monitor(st, st_opts, device, options.timeout); cmds 561 tools/stonith_admin.c rc = st->cmds->list(st, st_opts, device, NULL, options.timeout); cmds 575 tools/stonith_admin.c rc = st->cmds->register_device(st, st_opts, device, NULL, options.agent, cmds 585 tools/stonith_admin.c rc = st->cmds->remove_device(st, st_opts, device); cmds 619 tools/stonith_admin.c rc = st->cmds->confirm(st, st_opts, target); cmds 669 tools/stonith_admin.c st->cmds->disconnect(st);