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

/osnet-11/usr/src/lib/fm/libldom/sparc/
H A Dldom.c75 static int ldom_pri_ref_cnt = 0; /* num of outstanding ldom_pri_init()s */ variable
122 * ldom_pri_lock is assumed already held by anyone accessing ldom_pri_ref_cnt
128 if (ldom_pri_ref_cnt == 0) {
137 ldom_pri_ref_cnt++;
139 assert(ldom_pri_ref_cnt > 0);
147 assert(ldom_pri_ref_cnt > 0);
149 ldom_pri_ref_cnt--;
150 if (ldom_pri_ref_cnt == 0) {
163 assert(ldom_pri_ref_cnt > 0);

Completed in 16 milliseconds