controld_api 187 lib/pacemaker/pcmk_cluster_queries.c controller_status_event_cb(pcmk_ipc_api_t *controld_api, controld_api 195 lib/pacemaker/pcmk_cluster_queries.c int rc = validate_controld_reply(data, controld_api, event_type, status, controld_api 221 lib/pacemaker/pcmk_cluster_queries.c designated_controller_event_cb(pcmk_ipc_api_t *controld_api, controld_api 230 lib/pacemaker/pcmk_cluster_queries.c int rc = validate_controld_reply(data, controld_api, event_type, status, controld_api 254 lib/pacemaker/pcmk_cluster_queries.c node_info_event_cb(pcmk_ipc_api_t *controld_api, enum pcmk_ipc_event event_type, controld_api 262 lib/pacemaker/pcmk_cluster_queries.c int rc = validate_controld_reply(data, controld_api, event_type, status, controld_api 469 lib/pacemaker/pcmk_cluster_queries.c pcmk_ipc_api_t *controld_api = NULL; controld_api 474 lib/pacemaker/pcmk_cluster_queries.c controld_api = ipc_connect(&data, pcmk_ipc_controld, controld_api 478 lib/pacemaker/pcmk_cluster_queries.c if (controld_api != NULL) { controld_api 479 lib/pacemaker/pcmk_cluster_queries.c int rc = pcmk_controld_api_ping(controld_api, node_name); controld_api 487 lib/pacemaker/pcmk_cluster_queries.c poll_until_reply(&data, controld_api, pcmk__s(node_name, "DC")); controld_api 489 lib/pacemaker/pcmk_cluster_queries.c pcmk_free_ipc_api(controld_api); controld_api 539 lib/pacemaker/pcmk_cluster_queries.c pcmk_ipc_api_t *controld_api = NULL; controld_api 544 lib/pacemaker/pcmk_cluster_queries.c controld_api = ipc_connect(&data, pcmk_ipc_controld, controld_api 548 lib/pacemaker/pcmk_cluster_queries.c if (controld_api != NULL) { controld_api 549 lib/pacemaker/pcmk_cluster_queries.c int rc = pcmk_controld_api_ping(controld_api, NULL); controld_api 557 lib/pacemaker/pcmk_cluster_queries.c poll_until_reply(&data, controld_api, "DC"); controld_api 559 lib/pacemaker/pcmk_cluster_queries.c pcmk_free_ipc_api(controld_api); controld_api 635 lib/pacemaker/pcmk_cluster_queries.c pcmk_ipc_api_t *controld_api = NULL; controld_api 650 lib/pacemaker/pcmk_cluster_queries.c controld_api = ipc_connect(&data, pcmk_ipc_controld, node_info_event_cb, controld_api 653 lib/pacemaker/pcmk_cluster_queries.c if (controld_api != NULL) { controld_api 654 lib/pacemaker/pcmk_cluster_queries.c int rc = pcmk_controld_api_node_info(controld_api, controld_api 665 lib/pacemaker/pcmk_cluster_queries.c poll_until_reply(&data, controld_api, "local node"); controld_api 667 lib/pacemaker/pcmk_cluster_queries.c pcmk_free_ipc_api(controld_api); controld_api 335 tools/crm_node.c controller_event_cb(pcmk_ipc_api_t *controld_api, controld_api 383 tools/crm_node.c pcmk_disconnect_ipc(controld_api); controld_api 390 tools/crm_node.c pcmk_ipc_api_t *controld_api = NULL; controld_api 397 tools/crm_node.c rc = pcmk_new_ipc_api(&controld_api, pcmk_ipc_controld); controld_api 404 tools/crm_node.c pcmk_register_ipc_callback(controld_api, controller_event_cb, NULL); controld_api 407 tools/crm_node.c rc = pcmk__connect_ipc(controld_api, pcmk_ipc_dispatch_main, 5); controld_api 412 tools/crm_node.c pcmk_ipc_name(controld_api, true), pcmk_rc_str(rc)); controld_api 416 tools/crm_node.c rc = pcmk_controld_api_list_nodes(controld_api); controld_api 419 tools/crm_node.c pcmk_disconnect_ipc(controld_api); controld_api 431 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 218 tools/crm_resource.c if (controld_api != NULL) { controld_api 219 tools/crm_resource.c pcmk_ipc_api_t *save_controld_api = controld_api; controld_api 221 tools/crm_resource.c controld_api = NULL; // Ensure we can't free this twice controld_api 1039 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, controld_api 1049 tools/crm_resource.c start_mainloop(controld_api); controld_api 1206 tools/crm_resource.c if (controld_api == NULL) { controld_api 1218 tools/crm_resource.c if (pcmk_controld_api_reprobe(controld_api, options.host_uname, controld_api 1220 tools/crm_resource.c start_mainloop(controld_api); controld_api 1237 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, NULL, 0, controld_api 1246 tools/crm_resource.c start_mainloop(controld_api); controld_api 1702 tools/crm_resource.c rc = pcmk_new_ipc_api(&controld_api, pcmk_ipc_controld); controld_api 1709 tools/crm_resource.c pcmk_register_ipc_callback(controld_api, controller_event_callback, controld_api 1711 tools/crm_resource.c rc = pcmk__connect_ipc(controld_api, pcmk_ipc_dispatch_main, 5); controld_api 1716 tools/crm_resource.c pcmk_ipc_name(controld_api, true), pcmk_rc_str(rc)); controld_api 1823 tools/crm_resource.c rc = cli_resource_fail(controld_api, options.host_uname, controld_api 1826 tools/crm_resource.c start_mainloop(controld_api); controld_api 2002 tools/crm_resource.c rc = cli_cleanup_all(controld_api, options.host_uname, controld_api 2006 tools/crm_resource.c start_mainloop(controld_api); controld_api 79 tools/crm_resource.h int cli_resource_fail(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 83 tools/crm_resource.h int cli_resource_delete(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 87 tools/crm_resource.h int cli_cleanup_all(pcmk_ipc_api_t *controld_api, const char *node_name, controld_api 541 tools/crm_resource_runtime.c send_lrm_rsc_op(pcmk_ipc_api_t *controld_api, bool do_fail_resource, controld_api 606 tools/crm_resource_runtime.c return pcmk_controld_api_fail(controld_api, host_uname, router_node, controld_api 610 tools/crm_resource_runtime.c return pcmk_controld_api_refresh(controld_api, host_uname, router_node, controld_api 638 tools/crm_resource_runtime.c clear_rsc_history(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 648 tools/crm_resource_runtime.c rc = send_lrm_rsc_op(controld_api, false, host_uname, rsc_id, scheduler); controld_api 654 tools/crm_resource_runtime.c pcmk_controld_api_replies_expected(controld_api)); controld_api 657 tools/crm_resource_runtime.c pcmk_controld_api_replies_expected(controld_api)); controld_api 664 tools/crm_resource_runtime.c clear_rsc_failures(pcmk__output_t *out, pcmk_ipc_api_t *controld_api, controld_api 736 tools/crm_resource_runtime.c rc = clear_rsc_history(controld_api, node_name, failed_id, scheduler); controld_api 767 tools/crm_resource_runtime.c cli_resource_delete(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 784 tools/crm_resource_runtime.c rc = cli_resource_delete(controld_api, host_uname, child, operation, controld_api 819 tools/crm_resource_runtime.c rc = cli_resource_delete(controld_api, node->details->uname, rsc, controld_api 847 tools/crm_resource_runtime.c if (controld_api == NULL) { controld_api 861 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, host_uname, rsc->id, operation, controld_api 864 tools/crm_resource_runtime.c rc = clear_rsc_history(controld_api, host_uname, rsc->id, scheduler); controld_api 877 tools/crm_resource_runtime.c cli_cleanup_all(pcmk_ipc_api_t *controld_api, const char *node_name, controld_api 886 tools/crm_resource_runtime.c if (controld_api == NULL) { controld_api 913 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, node_name, NULL, controld_api 924 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, node->details->uname, NULL, controld_api 1054 tools/crm_resource_runtime.c cli_resource_fail(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 1058 tools/crm_resource_runtime.c return send_lrm_rsc_op(controld_api, true, host_uname, rsc_id, scheduler);