Searched refs:ldom_pri_ref_cnt (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/fm/libldom/sparc/
H A Dldom.c74 static int ldom_pri_ref_cnt = 0; /* num of outstanding ldom_pri_init()s */ variable
118 * ldom_pri_lock is assumed already held by anyone accessing ldom_pri_ref_cnt
124 if (ldom_pri_ref_cnt == 0) {
133 ldom_pri_ref_cnt++;
135 assert(ldom_pri_ref_cnt > 0);
143 assert(ldom_pri_ref_cnt > 0);
145 ldom_pri_ref_cnt--;
146 if (ldom_pri_ref_cnt == 0) {
159 assert(ldom_pri_ref_cnt > 0);

Completed in 45 milliseconds