controld_api 188 lib/pacemaker/pcmk_cluster_queries.c controller_status_event_cb(pcmk_ipc_api_t *controld_api, controld_api 196 lib/pacemaker/pcmk_cluster_queries.c int rc = validate_controld_reply(data, controld_api, event_type, status, controld_api 222 lib/pacemaker/pcmk_cluster_queries.c designated_controller_event_cb(pcmk_ipc_api_t *controld_api, controld_api 231 lib/pacemaker/pcmk_cluster_queries.c int rc = validate_controld_reply(data, controld_api, event_type, status, controld_api 255 lib/pacemaker/pcmk_cluster_queries.c node_info_event_cb(pcmk_ipc_api_t *controld_api, enum pcmk_ipc_event event_type, controld_api 263 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 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 377 tools/crm_node.c pcmk_ipc_api_t *controld_api = NULL; controld_api 381 tools/crm_node.c rc = pcmk_new_ipc_api(&controld_api, pcmk_ipc_controld); controld_api 389 tools/crm_node.c rc = pcmk_connect_ipc(controld_api, pcmk_ipc_dispatch_sync); controld_api 393 tools/crm_node.c pcmk_free_ipc_api(controld_api); controld_api 397 tools/crm_node.c rc = pcmk_ipc_purge_node(controld_api, node_name, nodeid); controld_api 404 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 1030 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, options.operation, controld_api 1039 tools/crm_resource.c start_mainloop(controld_api); controld_api 1306 tools/crm_resource.c if (controld_api == NULL) { controld_api 1318 tools/crm_resource.c if (pcmk_controld_api_reprobe(controld_api, options.host_uname, controld_api 1320 tools/crm_resource.c start_mainloop(controld_api); controld_api 1337 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, NULL, 0, controld_api 1346 tools/crm_resource.c start_mainloop(controld_api); controld_api 1802 tools/crm_resource.c rc = pcmk_new_ipc_api(&controld_api, pcmk_ipc_controld); controld_api 1809 tools/crm_resource.c pcmk_register_ipc_callback(controld_api, controller_event_callback, controld_api 1811 tools/crm_resource.c rc = pcmk_connect_ipc(controld_api, pcmk_ipc_dispatch_main); controld_api 1915 tools/crm_resource.c rc = cli_resource_fail(controld_api, options.host_uname, controld_api 1918 tools/crm_resource.c start_mainloop(controld_api); controld_api 2093 tools/crm_resource.c rc = cli_cleanup_all(controld_api, options.host_uname, controld_api 2097 tools/crm_resource.c start_mainloop(controld_api); controld_api 76 tools/crm_resource.h int cli_resource_fail(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 80 tools/crm_resource.h int cli_resource_delete(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 84 tools/crm_resource.h int cli_cleanup_all(pcmk_ipc_api_t *controld_api, const char *node_name, controld_api 536 tools/crm_resource_runtime.c send_lrm_rsc_op(pcmk_ipc_api_t *controld_api, bool do_fail_resource, controld_api 600 tools/crm_resource_runtime.c return pcmk_controld_api_fail(controld_api, host_uname, router_node, controld_api 604 tools/crm_resource_runtime.c return pcmk_controld_api_refresh(controld_api, host_uname, router_node, controld_api 629 tools/crm_resource_runtime.c clear_rsc_history(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 639 tools/crm_resource_runtime.c rc = send_lrm_rsc_op(controld_api, false, host_uname, rsc_id, data_set); controld_api 645 tools/crm_resource_runtime.c pcmk_controld_api_replies_expected(controld_api)); controld_api 648 tools/crm_resource_runtime.c pcmk_controld_api_replies_expected(controld_api)); controld_api 655 tools/crm_resource_runtime.c clear_rsc_failures(pcmk__output_t *out, pcmk_ipc_api_t *controld_api, controld_api 725 tools/crm_resource_runtime.c rc = clear_rsc_history(controld_api, node_name, failed_id, data_set); controld_api 756 tools/crm_resource_runtime.c cli_resource_delete(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 773 tools/crm_resource_runtime.c rc = cli_resource_delete(controld_api, host_uname, child, operation, controld_api 807 tools/crm_resource_runtime.c rc = cli_resource_delete(controld_api, node->details->uname, rsc, controld_api 835 tools/crm_resource_runtime.c if (controld_api == NULL) { controld_api 849 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, host_uname, rsc->id, operation, controld_api 852 tools/crm_resource_runtime.c rc = clear_rsc_history(controld_api, host_uname, rsc->id, data_set); controld_api 865 tools/crm_resource_runtime.c cli_cleanup_all(pcmk_ipc_api_t *controld_api, const char *node_name, controld_api 874 tools/crm_resource_runtime.c if (controld_api == NULL) { controld_api 901 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, node_name, NULL, controld_api 912 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, node->details->uname, NULL, controld_api 1042 tools/crm_resource_runtime.c cli_resource_fail(pcmk_ipc_api_t *controld_api, const char *host_uname, controld_api 1046 tools/crm_resource_runtime.c return send_lrm_rsc_op(controld_api, true, host_uname, rsc_id, data_set);