cluster 28 daemons/controld/controld_control.c extern gboolean crm_connect_corosync(crm_cluster_t * cluster); cluster 48 daemons/controld/controld_control.c static crm_cluster_t *cluster = NULL; cluster 50 daemons/controld/controld_control.c if (cluster == NULL) { cluster 51 daemons/controld/controld_control.c cluster = calloc(1, sizeof(crm_cluster_t)); cluster 55 daemons/controld/controld_control.c crm_cluster_disconnect(cluster); cluster 67 daemons/controld/controld_control.c registered = crm_connect_corosync(cluster); cluster 72 daemons/controld/controld_control.c controld_election_init(cluster->uname); cluster 73 daemons/controld/controld_control.c fsa_our_uname = cluster->uname; cluster 74 daemons/controld/controld_control.c fsa_our_uuid = cluster->uuid; cluster 75 daemons/controld/controld_control.c if(cluster->uuid == NULL) { cluster 90 daemons/controld/controld_corosync.c extern gboolean crm_connect_corosync(crm_cluster_t * cluster); cluster 93 daemons/controld/controld_corosync.c crm_connect_corosync(crm_cluster_t * cluster) cluster 97 daemons/controld/controld_corosync.c cluster->cpg.cpg_deliver_fn = crmd_cs_dispatch; cluster 98 daemons/controld/controld_corosync.c cluster->cpg.cpg_confchg_fn = pcmk_cpg_membership; cluster 99 daemons/controld/controld_corosync.c cluster->destroy = crmd_cs_destroy; cluster 101 daemons/controld/controld_corosync.c if (crm_cluster_connect(cluster)) { cluster 1277 daemons/fenced/pacemaker-fenced.c crm_cluster_t cluster; cluster 1479 daemons/fenced/pacemaker-fenced.c cluster.destroy = stonith_peer_cs_destroy; cluster 1480 daemons/fenced/pacemaker-fenced.c cluster.cpg.cpg_deliver_fn = stonith_peer_ais_callback; cluster 1481 daemons/fenced/pacemaker-fenced.c cluster.cpg.cpg_confchg_fn = pcmk_cpg_membership; cluster 1487 daemons/fenced/pacemaker-fenced.c if (crm_cluster_connect(&cluster) == FALSE) { cluster 1491 daemons/fenced/pacemaker-fenced.c stonith_our_uname = cluster.uname; cluster 1492 daemons/fenced/pacemaker-fenced.c stonith_our_uuid = cluster.uuid; cluster 91 include/crm/cluster.h gboolean crm_cluster_connect(crm_cluster_t * cluster); cluster 92 include/crm/cluster.h void crm_cluster_disconnect(crm_cluster_t * cluster); cluster 146 include/crm/cluster.h gboolean cluster_connect_cpg(crm_cluster_t *cluster); cluster 147 include/crm/cluster.h void cluster_disconnect_cpg(crm_cluster_t * cluster); cluster 332 include/crm/cluster/internal.h gboolean corosync_initialize_nodelist(void *cluster, gboolean force_member, xmlNode * xml_parent); cluster 339 include/crm/cluster/internal.h void terminate_cs_connection(crm_cluster_t * cluster); cluster 340 include/crm/cluster/internal.h gboolean init_cs_connection(crm_cluster_t * cluster); cluster 341 include/crm/cluster/internal.h gboolean init_cs_connection_once(crm_cluster_t * cluster); cluster 314 include/crm/pengine/pe_types.h pe_working_set_t *cluster; cluster 27 lib/cluster/cluster.c CRM_TRACE_INIT_DATA(cluster); cluster 61 lib/cluster/cluster.c crm_cluster_connect(crm_cluster_t * cluster) cluster 72 lib/cluster/cluster.c return init_cs_connection(cluster); cluster 83 lib/cluster/cluster.c crm_cluster_disconnect(crm_cluster_t * cluster) cluster 94 lib/cluster/cluster.c terminate_cs_connection(cluster); cluster 278 lib/cluster/cluster.c const char *cluster = NULL; cluster 285 lib/cluster/cluster.c cluster = pcmk__env_option("cluster_type"); cluster 289 lib/cluster/cluster.c if(cluster == NULL) { cluster 300 lib/cluster/cluster.c crm_info("Verifying cluster type: '%s'", cluster?cluster:"-unspecified-"); cluster 301 lib/cluster/cluster.c if (cluster == NULL) { cluster 304 lib/cluster/cluster.c } else if (pcmk__str_eq(cluster, "corosync", pcmk__str_casei)) { cluster 319 lib/cluster/cluster.c cluster); cluster 174 lib/cluster/corosync.c terminate_cs_connection(crm_cluster_t *cluster) cluster 176 lib/cluster/corosync.c cluster_disconnect_cpg(cluster); cluster 357 lib/cluster/corosync.c init_cs_connection(crm_cluster_t * cluster) cluster 362 lib/cluster/corosync.c int rc = init_cs_connection_once(cluster); cluster 383 lib/cluster/corosync.c init_cs_connection_once(crm_cluster_t * cluster) cluster 396 lib/cluster/corosync.c if (cluster_connect_cpg(cluster) == FALSE) { cluster 401 lib/cluster/corosync.c cluster->nodeid = get_local_nodeid(0); cluster 402 lib/cluster/corosync.c if(cluster->nodeid == 0) { cluster 407 lib/cluster/corosync.c cluster->uname = get_node_name(0); cluster 408 lib/cluster/corosync.c if(cluster->uname == NULL) { cluster 414 lib/cluster/corosync.c peer = crm_get_peer(cluster->nodeid, cluster->uname); cluster 415 lib/cluster/corosync.c cluster->uuid = get_corosync_uuid(peer); cluster 530 lib/cluster/corosync.c corosync_initialize_nodelist(void *cluster, gboolean force_member, xmlNode * xml_parent) cluster 51 lib/cluster/cpg.c cluster_disconnect_cpg(crm_cluster_t *cluster) cluster 54 lib/cluster/cpg.c if (cluster->cpg_handle) { cluster 56 lib/cluster/cpg.c cpg_leave(cluster->cpg_handle, &cluster->group); cluster 57 lib/cluster/cpg.c cpg_finalize(cluster->cpg_handle); cluster 58 lib/cluster/cpg.c cluster->cpg_handle = 0; cluster 235 lib/cluster/cpg.c crm_cluster_t *cluster = (crm_cluster_t*) user_data; cluster 237 lib/cluster/cpg.c rc = cpg_dispatch(cluster->cpg_handle, CS_DISPATCH_ONE); cluster 240 lib/cluster/cpg.c cpg_finalize(cluster->cpg_handle); cluster 241 lib/cluster/cpg.c cluster->cpg_handle = 0; cluster 539 lib/cluster/cpg.c cluster_connect_cpg(crm_cluster_t *cluster) cluster 555 lib/cluster/cpg.c .destroy = cluster->destroy, cluster 559 lib/cluster/cpg.c .cpg_deliver_fn = cluster->cpg.cpg_deliver_fn, cluster 560 lib/cluster/cpg.c .cpg_confchg_fn = cluster->cpg.cpg_confchg_fn, cluster 566 lib/cluster/cpg.c cluster->group.length = 0; cluster 567 lib/cluster/cpg.c cluster->group.value[0] = 0; cluster 570 lib/cluster/cpg.c strncpy(cluster->group.value, message_name, 127); cluster 571 lib/cluster/cpg.c cluster->group.value[127] = 0; cluster 572 lib/cluster/cpg.c cluster->group.length = 1 + QB_MIN(127, strlen(cluster->group.value)); cluster 610 lib/cluster/cpg.c cluster->nodeid = id; cluster 613 lib/cluster/cpg.c cs_repeat(retries, 30, rc = cpg_join(handle, &cluster->group)); cluster 620 lib/cluster/cpg.c cluster->cpg_handle = handle; cluster 621 lib/cluster/cpg.c mainloop_add_fd("corosync-cpg", G_PRIORITY_MEDIUM, fd, cluster, &cpg_fd_callbacks); cluster 435 lib/pengine/complex.c (*rsc)->cluster = data_set; cluster 993 lib/pengine/complex.c rsc->cluster->ninstances++; cluster 995 lib/pengine/complex.c rsc->cluster->disabled_resources++; cluster 998 lib/pengine/complex.c rsc->cluster->blocked_resources++;