controld_api 91 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 101 lib/pacemaker/pcmk_cluster_queries.c event_done(data, controld_api); controld_api 120 lib/pacemaker/pcmk_cluster_queries.c event_done(data, controld_api); controld_api 128 lib/pacemaker/pcmk_cluster_queries.c event_done(data, controld_api); controld_api 136 lib/pacemaker/pcmk_cluster_queries.c controller_status_event_cb(pcmk_ipc_api_t *controld_api, controld_api 142 lib/pacemaker/pcmk_cluster_queries.c pcmk_controld_api_reply_t *reply = controld_event_reply(data, controld_api, controld_api 154 lib/pacemaker/pcmk_cluster_queries.c event_done(data, controld_api); controld_api 158 lib/pacemaker/pcmk_cluster_queries.c designated_controller_event_cb(pcmk_ipc_api_t *controld_api, controld_api 164 lib/pacemaker/pcmk_cluster_queries.c pcmk_controld_api_reply_t *reply = controld_event_reply(data, controld_api, controld_api 172 lib/pacemaker/pcmk_cluster_queries.c event_done(data, controld_api); controld_api 299 lib/pacemaker/pcmk_cluster_queries.c pcmk_ipc_api_t *controld_api = NULL; controld_api 304 lib/pacemaker/pcmk_cluster_queries.c controld_api = ipc_connect(&data, pcmk_ipc_controld, controld_api 308 lib/pacemaker/pcmk_cluster_queries.c if (controld_api != NULL) { controld_api 309 lib/pacemaker/pcmk_cluster_queries.c int rc = pcmk_controld_api_ping(controld_api, dest_node); controld_api 320 lib/pacemaker/pcmk_cluster_queries.c pcmk_free_ipc_api(controld_api); controld_api 356 lib/pacemaker/pcmk_cluster_queries.c pcmk_ipc_api_t *controld_api = NULL; controld_api 361 lib/pacemaker/pcmk_cluster_queries.c controld_api = ipc_connect(&data, pcmk_ipc_controld, controld_api 365 lib/pacemaker/pcmk_cluster_queries.c if (controld_api != NULL) { controld_api 366 lib/pacemaker/pcmk_cluster_queries.c int rc = pcmk_controld_api_ping(controld_api, NULL); controld_api 377 lib/pacemaker/pcmk_cluster_queries.c pcmk_free_ipc_api(controld_api); controld_api 283 tools/crm_attribute.c controller_event_cb(pcmk_ipc_api_t *controld_api, controld_api 336 tools/crm_attribute.c pcmk_ipc_api_t *controld_api = NULL; controld_api 338 tools/crm_attribute.c rc = pcmk_new_ipc_api(&controld_api, pcmk_ipc_controld); controld_api 339 tools/crm_attribute.c if (controld_api == NULL) { controld_api 345 tools/crm_attribute.c pcmk_register_ipc_callback(controld_api, controller_event_cb, NULL); controld_api 347 tools/crm_attribute.c rc = pcmk_connect_ipc(controld_api, pcmk_ipc_dispatch_sync); controld_api 351 tools/crm_attribute.c pcmk_free_ipc_api(controld_api); controld_api 355 tools/crm_attribute.c rc = pcmk_controld_api_node_info(controld_api, 0); controld_api 371 tools/crm_attribute.c pcmk_disconnect_ipc(controld_api); controld_api 372 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 217 tools/crm_resource.c if (controld_api != NULL) { controld_api 218 tools/crm_resource.c pcmk_ipc_api_t *save_controld_api = controld_api; controld_api 220 tools/crm_resource.c controld_api = NULL; // Ensure we can't free this twice controld_api 1023 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, options.operation, controld_api 1032 tools/crm_resource.c start_mainloop(controld_api); controld_api 1299 tools/crm_resource.c if (controld_api == NULL) { controld_api 1311 tools/crm_resource.c if (pcmk_controld_api_reprobe(controld_api, options.host_uname, controld_api 1313 tools/crm_resource.c start_mainloop(controld_api); controld_api 1330 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, NULL, 0, controld_api 1339 tools/crm_resource.c start_mainloop(controld_api); controld_api 1801 tools/crm_resource.c rc = pcmk_new_ipc_api(&controld_api, pcmk_ipc_controld); controld_api 1808 tools/crm_resource.c pcmk_register_ipc_callback(controld_api, controller_event_callback, controld_api 1810 tools/crm_resource.c rc = pcmk_connect_ipc(controld_api, pcmk_ipc_dispatch_main); controld_api 1914 tools/crm_resource.c rc = cli_resource_fail(controld_api, options.host_uname, controld_api 1917 tools/crm_resource.c start_mainloop(controld_api); controld_api 2079 tools/crm_resource.c rc = cli_cleanup_all(controld_api, options.host_uname, controld_api 2083 tools/crm_resource.c start_mainloop(controld_api); controld_api 74 tools/crm_resource.h int cli_resource_fail(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 78 tools/crm_resource.h int cli_resource_delete(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 82 tools/crm_resource.h int cli_cleanup_all(pcmk_ipc_api_t *controld_api, const char *node_name, controld_api 476 tools/crm_resource_runtime.c send_lrm_rsc_op(pcmk_ipc_api_t *controld_api, bool do_fail_resource, controld_api 540 tools/crm_resource_runtime.c return pcmk_controld_api_fail(controld_api, host_uname, router_node, controld_api 544 tools/crm_resource_runtime.c return pcmk_controld_api_refresh(controld_api, host_uname, router_node, controld_api 569 tools/crm_resource_runtime.c clear_rsc_history(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 579 tools/crm_resource_runtime.c rc = send_lrm_rsc_op(controld_api, false, host_uname, rsc_id, data_set); controld_api 585 tools/crm_resource_runtime.c pcmk_controld_api_replies_expected(controld_api)); controld_api 588 tools/crm_resource_runtime.c pcmk_controld_api_replies_expected(controld_api)); controld_api 595 tools/crm_resource_runtime.c clear_rsc_failures(pcmk__output_t *out, pcmk_ipc_api_t *controld_api, controld_api 665 tools/crm_resource_runtime.c rc = clear_rsc_history(controld_api, node_name, failed_id, data_set); controld_api 696 tools/crm_resource_runtime.c cli_resource_delete(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 714 tools/crm_resource_runtime.c rc = cli_resource_delete(controld_api, host_uname, child, operation, controld_api 748 tools/crm_resource_runtime.c rc = cli_resource_delete(controld_api, node->details->uname, rsc, controld_api 776 tools/crm_resource_runtime.c if (controld_api == NULL) { controld_api 790 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, host_uname, rsc->id, operation, controld_api 793 tools/crm_resource_runtime.c rc = clear_rsc_history(controld_api, host_uname, rsc->id, data_set); controld_api 806 tools/crm_resource_runtime.c cli_cleanup_all(pcmk_ipc_api_t *controld_api, const char *node_name, controld_api 815 tools/crm_resource_runtime.c if (controld_api == NULL) { controld_api 842 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, node_name, NULL, controld_api 853 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, node->details->uname, NULL, controld_api 983 tools/crm_resource_runtime.c cli_resource_fail(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 987 tools/crm_resource_runtime.c return send_lrm_rsc_op(controld_api, true, host_uname, rsc_id, data_set);