MCPcopy Create free account
hub / github.com/ClusterLabs/pacemaker / uber_parent

Function uber_parent

lib/pengine/complex.c:645–657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

643}
644
645resource_t *
646uber_parent(resource_t * rsc)
647{
648 resource_t *parent = rsc;
649
650 if (parent == NULL) {
651 return NULL;
652 }
653 while (parent->parent != NULL) {
654 parent = parent->parent;
655 }
656 return parent;
657}
658
659void
660common_free(resource_t * rsc)

Callers 15

get_failcountFunction · 0.85
get_target_roleFunction · 0.85
unpack_find_resourceFunction · 0.85
set_activeFunction · 0.85
unpack_rsc_opFunction · 0.85
common_unpackFunction · 0.85
native_unpackFunction · 0.85
common_apply_stickinessFunction · 0.85
can_be_masterFunction · 0.85
anonymous_known_onFunction · 0.85
probe_grouped_cloneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected