controld_api 186 lib/pacemaker/pcmk_cluster_queries.c controller_status_event_cb(pcmk_ipc_api_t *controld_api, controld_api 194 lib/pacemaker/pcmk_cluster_queries.c int rc = validate_controld_reply(data, controld_api, event_type, status, controld_api 220 lib/pacemaker/pcmk_cluster_queries.c designated_controller_event_cb(pcmk_ipc_api_t *controld_api, controld_api 229 lib/pacemaker/pcmk_cluster_queries.c int rc = validate_controld_reply(data, controld_api, event_type, status, controld_api 253 lib/pacemaker/pcmk_cluster_queries.c node_info_event_cb(pcmk_ipc_api_t *controld_api, enum pcmk_ipc_event event_type, controld_api 261 lib/pacemaker/pcmk_cluster_queries.c int rc = validate_controld_reply(data, controld_api, event_type, status, controld_api 468 lib/pacemaker/pcmk_cluster_queries.c pcmk_ipc_api_t *controld_api = NULL; controld_api 473 lib/pacemaker/pcmk_cluster_queries.c controld_api = ipc_connect(&data, pcmk_ipc_controld, controld_api 477 lib/pacemaker/pcmk_cluster_queries.c if (controld_api != NULL) { controld_api 478 lib/pacemaker/pcmk_cluster_queries.c int rc = pcmk_controld_api_ping(controld_api, node_name); controld_api 486 lib/pacemaker/pcmk_cluster_queries.c poll_until_reply(&data, controld_api, pcmk__s(node_name, "DC")); controld_api 488 lib/pacemaker/pcmk_cluster_queries.c pcmk_free_ipc_api(controld_api); controld_api 538 lib/pacemaker/pcmk_cluster_queries.c pcmk_ipc_api_t *controld_api = NULL; controld_api 543 lib/pacemaker/pcmk_cluster_queries.c controld_api = ipc_connect(&data, pcmk_ipc_controld, controld_api 547 lib/pacemaker/pcmk_cluster_queries.c if (controld_api != NULL) { controld_api 548 lib/pacemaker/pcmk_cluster_queries.c int rc = pcmk_controld_api_ping(controld_api, NULL); controld_api 556 lib/pacemaker/pcmk_cluster_queries.c poll_until_reply(&data, controld_api, "DC"); controld_api 558 lib/pacemaker/pcmk_cluster_queries.c pcmk_free_ipc_api(controld_api); controld_api 634 lib/pacemaker/pcmk_cluster_queries.c pcmk_ipc_api_t *controld_api = NULL; controld_api 649 lib/pacemaker/pcmk_cluster_queries.c controld_api = ipc_connect(&data, pcmk_ipc_controld, node_info_event_cb, controld_api 652 lib/pacemaker/pcmk_cluster_queries.c if (controld_api != NULL) { controld_api 653 lib/pacemaker/pcmk_cluster_queries.c int rc = pcmk_controld_api_node_info(controld_api, controld_api 664 lib/pacemaker/pcmk_cluster_queries.c poll_until_reply(&data, controld_api, "local node"); controld_api 666 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 131 tools/crm_resource.c static pcmk_ipc_api_t *controld_api = NULL; controld_api 164 tools/crm_resource.c if (controld_api != NULL) { controld_api 165 tools/crm_resource.c pcmk_ipc_api_t *save_controld_api = controld_api; controld_api 167 tools/crm_resource.c controld_api = NULL; // Ensure we can't free this twice controld_api 922 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, controld_api 932 tools/crm_resource.c start_mainloop(controld_api); controld_api 1086 tools/crm_resource.c if (controld_api == NULL) { controld_api 1098 tools/crm_resource.c if (pcmk_controld_api_reprobe(controld_api, options.host_uname, controld_api 1100 tools/crm_resource.c start_mainloop(controld_api); controld_api 1117 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, NULL, 0, controld_api 1126 tools/crm_resource.c start_mainloop(controld_api); controld_api 1770 tools/crm_resource.c rc = pcmk_new_ipc_api(&controld_api, pcmk_ipc_controld); controld_api 1777 tools/crm_resource.c pcmk_register_ipc_callback(controld_api, controller_event_callback, controld_api 1779 tools/crm_resource.c rc = pcmk__connect_ipc(controld_api, pcmk_ipc_dispatch_main, 5); controld_api 1784 tools/crm_resource.c pcmk_ipc_name(controld_api, true), pcmk_rc_str(rc)); controld_api 1896 tools/crm_resource.c rc = cli_resource_fail(controld_api, options.host_uname, controld_api 1899 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 88 tools/crm_resource.h int cli_resource_fail(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 92 tools/crm_resource.h int cli_resource_delete(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 96 tools/crm_resource.h int cli_cleanup_all(pcmk_ipc_api_t *controld_api, const char *node_name, controld_api 638 tools/crm_resource_runtime.c send_lrm_rsc_op(pcmk_ipc_api_t *controld_api, bool do_fail_resource, controld_api 703 tools/crm_resource_runtime.c return pcmk_controld_api_fail(controld_api, host_uname, router_node, controld_api 707 tools/crm_resource_runtime.c return pcmk_controld_api_refresh(controld_api, host_uname, router_node, controld_api 735 tools/crm_resource_runtime.c clear_rsc_history(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 745 tools/crm_resource_runtime.c rc = send_lrm_rsc_op(controld_api, false, host_uname, rsc_id, scheduler); controld_api 751 tools/crm_resource_runtime.c pcmk_controld_api_replies_expected(controld_api)); controld_api 754 tools/crm_resource_runtime.c pcmk_controld_api_replies_expected(controld_api)); controld_api 761 tools/crm_resource_runtime.c clear_rsc_failures(pcmk__output_t *out, pcmk_ipc_api_t *controld_api, controld_api 837 tools/crm_resource_runtime.c rc = clear_rsc_history(controld_api, node_name, failed_id, scheduler); controld_api 868 tools/crm_resource_runtime.c cli_resource_delete(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 885 tools/crm_resource_runtime.c rc = cli_resource_delete(controld_api, host_uname, child, operation, controld_api 920 tools/crm_resource_runtime.c rc = cli_resource_delete(controld_api, node->details->uname, rsc, controld_api 948 tools/crm_resource_runtime.c if (controld_api == NULL) { controld_api 962 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, host_uname, rsc->id, operation, controld_api 965 tools/crm_resource_runtime.c rc = clear_rsc_history(controld_api, host_uname, rsc->id, scheduler); controld_api 978 tools/crm_resource_runtime.c cli_cleanup_all(pcmk_ipc_api_t *controld_api, const char *node_name, controld_api 987 tools/crm_resource_runtime.c if (controld_api == NULL) { controld_api 1014 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, node_name, NULL, controld_api 1025 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, node->details->uname, NULL, controld_api 1155 tools/crm_resource_runtime.c cli_resource_fail(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 1159 tools/crm_resource_runtime.c return send_lrm_rsc_op(controld_api, true, host_uname, rsc_id, scheduler);