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 145 daemons/controld/controld_corosync.c extern gboolean crm_connect_corosync(crm_cluster_t * cluster); cluster 148 daemons/controld/controld_corosync.c crm_connect_corosync(crm_cluster_t * cluster) cluster 152 daemons/controld/controld_corosync.c cluster->cpg.cpg_deliver_fn = crmd_cs_dispatch; cluster 153 daemons/controld/controld_corosync.c cluster->cpg.cpg_confchg_fn = cpg_membership_callback; cluster 154 daemons/controld/controld_corosync.c cluster->destroy = crmd_cs_destroy; cluster 156 daemons/controld/controld_corosync.c if (crm_cluster_connect(cluster)) { cluster 1386 daemons/fenced/pacemaker-fenced.c crm_cluster_t *cluster = NULL; cluster 1609 daemons/fenced/pacemaker-fenced.c cluster = calloc(1, sizeof(crm_cluster_t)); cluster 1610 daemons/fenced/pacemaker-fenced.c CRM_ASSERT(cluster != NULL); cluster 1616 daemons/fenced/pacemaker-fenced.c cluster->destroy = stonith_peer_cs_destroy; cluster 1617 daemons/fenced/pacemaker-fenced.c cluster->cpg.cpg_deliver_fn = stonith_peer_ais_callback; cluster 1618 daemons/fenced/pacemaker-fenced.c cluster->cpg.cpg_confchg_fn = pcmk_cpg_membership; cluster 1624 daemons/fenced/pacemaker-fenced.c if (crm_cluster_connect(cluster) == FALSE) { cluster 1628 daemons/fenced/pacemaker-fenced.c stonith_our_uname = strdup(cluster->uname); cluster 1663 daemons/fenced/pacemaker-fenced.c free(cluster->uuid); cluster 1664 daemons/fenced/pacemaker-fenced.c free(cluster->uname); cluster 1665 daemons/fenced/pacemaker-fenced.c free(cluster); cluster 96 include/crm/cluster.h gboolean crm_cluster_connect(crm_cluster_t *cluster); cluster 97 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 328 include/crm/pengine/pe_types.h pe_working_set_t *cluster; cluster 28 lib/cluster/cluster.c CRM_TRACE_INIT_DATA(cluster); cluster 75 lib/cluster/cluster.c crm_cluster_connect(crm_cluster_t *cluster) cluster 86 lib/cluster/cluster.c return pcmk__corosync_connect(cluster); cluster 102 lib/cluster/cluster.c crm_cluster_disconnect(crm_cluster_t *cluster) cluster 113 lib/cluster/cluster.c pcmk__corosync_disconnect(cluster); cluster 314 lib/cluster/cluster.c const char *cluster = NULL; cluster 322 lib/cluster/cluster.c cluster = pcmk__env_option(PCMK__ENV_CLUSTER_TYPE); cluster 326 lib/cluster/cluster.c if (cluster == NULL) { cluster 338 lib/cluster/cluster.c ((cluster == NULL)? "-unspecified-" : cluster)); cluster 339 lib/cluster/cluster.c if (cluster == NULL) { cluster 342 lib/cluster/cluster.c } else if (pcmk__str_eq(cluster, "corosync", pcmk__str_casei)) { cluster 357 lib/cluster/cluster.c cluster); cluster 223 lib/cluster/corosync.c pcmk__corosync_disconnect(crm_cluster_t *cluster) cluster 225 lib/cluster/corosync.c cluster_disconnect_cpg(cluster); cluster 451 lib/cluster/corosync.c pcmk__corosync_connect(crm_cluster_t *cluster) cluster 464 lib/cluster/corosync.c if (!cluster_connect_cpg(cluster)) { cluster 470 lib/cluster/corosync.c cluster->nodeid = get_local_nodeid(0); cluster 471 lib/cluster/corosync.c if (cluster->nodeid == 0) { cluster 476 lib/cluster/corosync.c cluster->uname = get_node_name(0); cluster 477 lib/cluster/corosync.c if (cluster->uname == NULL) { cluster 483 lib/cluster/corosync.c peer = crm_get_peer(cluster->nodeid, cluster->uname); cluster 484 lib/cluster/corosync.c cluster->uuid = pcmk__corosync_uuid(peer); cluster 95 lib/cluster/cpg.c cluster_disconnect_cpg(crm_cluster_t *cluster) cluster 98 lib/cluster/cpg.c if (cluster->cpg_handle) { cluster 100 lib/cluster/cpg.c cpg_leave(cluster->cpg_handle, &cluster->group); cluster 101 lib/cluster/cpg.c cpg_finalize(cluster->cpg_handle); cluster 102 lib/cluster/cpg.c cluster->cpg_handle = 0; cluster 282 lib/cluster/cpg.c crm_cluster_t *cluster = (crm_cluster_t *) user_data; cluster 284 lib/cluster/cpg.c rc = cpg_dispatch(cluster->cpg_handle, CS_DISPATCH_ONE); cluster 288 lib/cluster/cpg.c cpg_finalize(cluster->cpg_handle); cluster 289 lib/cluster/cpg.c cluster->cpg_handle = 0; cluster 785 lib/cluster/cpg.c cluster_connect_cpg(crm_cluster_t *cluster) cluster 801 lib/cluster/cpg.c .destroy = cluster->destroy, cluster 806 lib/cluster/cpg.c .cpg_deliver_fn = cluster->cpg.cpg_deliver_fn, cluster 807 lib/cluster/cpg.c .cpg_confchg_fn = cluster->cpg.cpg_confchg_fn, cluster 813 lib/cluster/cpg.c cluster->group.length = 0; cluster 814 lib/cluster/cpg.c cluster->group.value[0] = 0; cluster 817 lib/cluster/cpg.c strncpy(cluster->group.value, message_name, 127); cluster 818 lib/cluster/cpg.c cluster->group.value[127] = 0; cluster 819 lib/cluster/cpg.c cluster->group.length = 1 + QB_MIN(127, strlen(cluster->group.value)); cluster 857 lib/cluster/cpg.c cluster->nodeid = id; cluster 860 lib/cluster/cpg.c cs_repeat(rc, retries, 30, cpg_join(handle, &cluster->group)); cluster 867 lib/cluster/cpg.c cluster->cpg_handle = handle; cluster 868 lib/cluster/cpg.c mainloop_add_fd("corosync-cpg", G_PRIORITY_MEDIUM, fd, cluster, &cpg_fd_callbacks); cluster 38 lib/cluster/crmcluster_private.h gboolean pcmk__corosync_connect(crm_cluster_t *cluster); cluster 41 lib/cluster/crmcluster_private.h void pcmk__corosync_disconnect(crm_cluster_t *cluster); cluster 1060 lib/pacemaker/pcmk_sched_allocate.c resource1->cluster); cluster 1066 lib/pacemaker/pcmk_sched_allocate.c resource2->cluster); cluster 461 lib/pacemaker/pcmk_sched_native.c pe__show_node_weights(true, NULL, primary_id, work, rsc->cluster); cluster 228 lib/pacemaker/pcmk_sched_utils.c pcmk__output_t *out = rsc->cluster->priv; cluster 301 lib/pacemaker/pcmk_sched_utils.c if (pcmk_is_set(rsc->cluster->flags, pe_flag_show_utilization)) { cluster 532 lib/pengine/complex.c (*rsc)->cluster = data_set; cluster 1097 lib/pengine/complex.c rsc->cluster->ninstances++; cluster 1099 lib/pengine/complex.c rsc->cluster->disabled_resources++; cluster 1102 lib/pengine/complex.c rsc->cluster->blocked_resources++; cluster 382 maint/gnulib/lib/argp-help.c struct hol_cluster *cluster; cluster 441 maint/gnulib/lib/argp-help.c make_hol (const struct argp *argp, struct hol_cluster *cluster) cluster 491 maint/gnulib/lib/argp-help.c entry->cluster = cluster; cluster 811 maint/gnulib/lib/argp-help.c int group1 = (entry1->cluster cluster 812 maint/gnulib/lib/argp-help.c ? hol_cluster_base (entry1->cluster)->group cluster 814 maint/gnulib/lib/argp-help.c int group2 = (entry2->cluster cluster 815 maint/gnulib/lib/argp-help.c ? hol_cluster_base (entry2->cluster)->group cluster 824 maint/gnulib/lib/argp-help.c cmp = (entry1->cluster != NULL) - (entry2->cluster != NULL); cluster 829 maint/gnulib/lib/argp-help.c if (entry1->cluster != NULL) cluster 831 maint/gnulib/lib/argp-help.c cmp = hol_cluster_cmp (entry1->cluster, entry2->cluster); cluster 1030 maint/gnulib/lib/argp-help.c argp_hol (const struct argp *argp, struct hol_cluster *cluster) cluster 1033 maint/gnulib/lib/argp-help.c struct hol *hol = make_hol (argp, cluster); cluster 1041 maint/gnulib/lib/argp-help.c child - argp->children, cluster, argp) cluster 1043 maint/gnulib/lib/argp-help.c : cluster); cluster 1195 maint/gnulib/lib/argp-help.c const struct hol_cluster *cl = pest->entry->cluster; cluster 1202 maint/gnulib/lib/argp-help.c || (pe->cluster != cl cluster 1203 maint/gnulib/lib/argp-help.c && !hol_cluster_is_child (pe->cluster, cl))))