controld_api 90 lib/pacemaker/pcmk_cluster_queries.c controld_event_reply(data_t *data, pcmk_ipc_api_t *controld_api, enum pcmk_ipc_event event_type, crm_exit_t status, void *event_data) controld_api 100 lib/pacemaker/pcmk_cluster_queries.c event_done(data, controld_api); controld_api 119 lib/pacemaker/pcmk_cluster_queries.c event_done(data, controld_api); controld_api 127 lib/pacemaker/pcmk_cluster_queries.c event_done(data, controld_api); controld_api 135 lib/pacemaker/pcmk_cluster_queries.c controller_status_event_cb(pcmk_ipc_api_t *controld_api, controld_api 141 lib/pacemaker/pcmk_cluster_queries.c pcmk_controld_api_reply_t *reply = controld_event_reply(data, controld_api, controld_api 153 lib/pacemaker/pcmk_cluster_queries.c event_done(data, controld_api); controld_api 157 lib/pacemaker/pcmk_cluster_queries.c designated_controller_event_cb(pcmk_ipc_api_t *controld_api, controld_api 163 lib/pacemaker/pcmk_cluster_queries.c pcmk_controld_api_reply_t *reply = controld_event_reply(data, controld_api, controld_api 171 lib/pacemaker/pcmk_cluster_queries.c event_done(data, controld_api); controld_api 281 lib/pacemaker/pcmk_cluster_queries.c pcmk_ipc_api_t *controld_api = ipc_connect(&data, pcmk_ipc_controld, controller_status_event_cb); controld_api 283 lib/pacemaker/pcmk_cluster_queries.c if (controld_api != NULL) { controld_api 284 lib/pacemaker/pcmk_cluster_queries.c int rc = pcmk_controld_api_ping(controld_api, dest_node); controld_api 292 lib/pacemaker/pcmk_cluster_queries.c pcmk_free_ipc_api(controld_api); controld_api 326 lib/pacemaker/pcmk_cluster_queries.c pcmk_ipc_api_t *controld_api = ipc_connect(&data, pcmk_ipc_controld, designated_controller_event_cb); controld_api 328 lib/pacemaker/pcmk_cluster_queries.c if (controld_api != NULL) { controld_api 329 lib/pacemaker/pcmk_cluster_queries.c int rc = pcmk_controld_api_ping(controld_api, NULL); controld_api 337 lib/pacemaker/pcmk_cluster_queries.c pcmk_free_ipc_api(controld_api); controld_api 291 tools/crm_attribute.c controller_event_cb(pcmk_ipc_api_t *controld_api, controld_api 344 tools/crm_attribute.c pcmk_ipc_api_t *controld_api = NULL; controld_api 346 tools/crm_attribute.c rc = pcmk_new_ipc_api(&controld_api, pcmk_ipc_controld); controld_api 347 tools/crm_attribute.c if (controld_api == NULL) { controld_api 353 tools/crm_attribute.c pcmk_register_ipc_callback(controld_api, controller_event_cb, NULL); controld_api 355 tools/crm_attribute.c rc = pcmk_connect_ipc(controld_api, pcmk_ipc_dispatch_sync); controld_api 359 tools/crm_attribute.c pcmk_free_ipc_api(controld_api); controld_api 363 tools/crm_attribute.c rc = pcmk_controld_api_node_info(controld_api, 0); controld_api 379 tools/crm_attribute.c pcmk_disconnect_ipc(controld_api); controld_api 380 tools/crm_attribute.c pcmk_free_ipc_api(controld_api); controld_api 146 tools/crm_node.c controller_event_cb(pcmk_ipc_api_t *controld_api, controld_api 260 tools/crm_node.c pcmk_disconnect_ipc(controld_api); controld_api 267 tools/crm_node.c pcmk_ipc_api_t *controld_api = NULL; controld_api 274 tools/crm_node.c rc = pcmk_new_ipc_api(&controld_api, pcmk_ipc_controld); controld_api 280 tools/crm_node.c pcmk_register_ipc_callback(controld_api, controller_event_cb, NULL); controld_api 283 tools/crm_node.c rc = pcmk_connect_ipc(controld_api, pcmk_ipc_dispatch_main); controld_api 292 tools/crm_node.c rc = pcmk_controld_api_list_nodes(controld_api); controld_api 294 tools/crm_node.c rc = pcmk_controld_api_node_info(controld_api, nodeid); controld_api 299 tools/crm_node.c pcmk_disconnect_ipc(controld_api); controld_api 309 tools/crm_node.c pcmk_free_ipc_api(controld_api); controld_api 374 tools/crm_node.c pcmk_ipc_api_t *controld_api = NULL; controld_api 378 tools/crm_node.c rc = pcmk_new_ipc_api(&controld_api, pcmk_ipc_controld); controld_api 386 tools/crm_node.c rc = pcmk_connect_ipc(controld_api, pcmk_ipc_dispatch_sync); controld_api 390 tools/crm_node.c pcmk_free_ipc_api(controld_api); controld_api 394 tools/crm_node.c rc = pcmk_ipc_purge_node(controld_api, node_name, nodeid); controld_api 401 tools/crm_node.c pcmk_free_ipc_api(controld_api); controld_api 185 tools/crm_resource.c static pcmk_ipc_api_t *controld_api = NULL; controld_api 216 tools/crm_resource.c if (controld_api != NULL) { controld_api 217 tools/crm_resource.c pcmk_ipc_api_t *save_controld_api = controld_api; controld_api 219 tools/crm_resource.c controld_api = NULL; // Ensure we can't free this twice controld_api 1013 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, options.operation, controld_api 1022 tools/crm_resource.c start_mainloop(controld_api); controld_api 1289 tools/crm_resource.c if (controld_api == NULL) { controld_api 1302 tools/crm_resource.c if (pcmk_controld_api_reprobe(controld_api, options.host_uname, controld_api 1304 tools/crm_resource.c start_mainloop(controld_api); controld_api 1321 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, NULL, controld_api 1330 tools/crm_resource.c start_mainloop(controld_api); controld_api 1787 tools/crm_resource.c rc = pcmk_new_ipc_api(&controld_api, pcmk_ipc_controld); controld_api 1794 tools/crm_resource.c pcmk_register_ipc_callback(controld_api, controller_event_callback, controld_api 1796 tools/crm_resource.c rc = pcmk_connect_ipc(controld_api, pcmk_ipc_dispatch_main); controld_api 1903 tools/crm_resource.c rc = cli_resource_fail(controld_api, options.host_uname, controld_api 1906 tools/crm_resource.c start_mainloop(controld_api); controld_api 2067 tools/crm_resource.c rc = cli_cleanup_all(controld_api, options.host_uname, controld_api 2071 tools/crm_resource.c start_mainloop(controld_api); controld_api 67 tools/crm_resource.h int cli_resource_fail(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 71 tools/crm_resource.h int cli_resource_delete(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 75 tools/crm_resource.h int cli_cleanup_all(pcmk_ipc_api_t *controld_api, const char *node_name, controld_api 508 tools/crm_resource_runtime.c send_lrm_rsc_op(pcmk_ipc_api_t *controld_api, bool do_fail_resource, controld_api 572 tools/crm_resource_runtime.c return pcmk_controld_api_fail(controld_api, host_uname, router_node, controld_api 576 tools/crm_resource_runtime.c return pcmk_controld_api_refresh(controld_api, host_uname, router_node, controld_api 601 tools/crm_resource_runtime.c clear_rsc_history(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 611 tools/crm_resource_runtime.c rc = send_lrm_rsc_op(controld_api, false, host_uname, rsc_id, data_set); controld_api 617 tools/crm_resource_runtime.c pcmk_controld_api_replies_expected(controld_api)); controld_api 620 tools/crm_resource_runtime.c pcmk_controld_api_replies_expected(controld_api)); controld_api 627 tools/crm_resource_runtime.c clear_rsc_failures(pcmk__output_t *out, pcmk_ipc_api_t *controld_api, controld_api 697 tools/crm_resource_runtime.c rc = clear_rsc_history(controld_api, node_name, failed_id, data_set); controld_api 727 tools/crm_resource_runtime.c cli_resource_delete(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 745 tools/crm_resource_runtime.c rc = cli_resource_delete(controld_api, host_uname, child, operation, controld_api 780 tools/crm_resource_runtime.c rc = cli_resource_delete(controld_api, node->details->uname, controld_api 808 tools/crm_resource_runtime.c if (controld_api == NULL) { controld_api 822 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, host_uname, rsc->id, operation, controld_api 825 tools/crm_resource_runtime.c rc = clear_rsc_history(controld_api, host_uname, rsc->id, data_set); controld_api 838 tools/crm_resource_runtime.c cli_cleanup_all(pcmk_ipc_api_t *controld_api, const char *node_name, controld_api 847 tools/crm_resource_runtime.c if (controld_api == NULL) { controld_api 874 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, node_name, NULL, controld_api 885 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, node->details->uname, NULL, controld_api 928 tools/crm_resource_runtime.c cli_resource_fail(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 932 tools/crm_resource_runtime.c return send_lrm_rsc_op(controld_api, true, host_uname, rsc_id, data_set);