Home
last modified time | relevance | path

Searched refs:zone_lock_cnt (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c221 static int zone_lock_cnt = 0; variable
7163 zone_lock_cnt = 1; in zonecfg_init_lock_file()
7176 assert(zone_lock_cnt >= 0); in zonecfg_release_lock_file()
7177 if (zone_lock_cnt > 0) { in zonecfg_release_lock_file()
7180 if (--zone_lock_cnt > 0) { in zonecfg_release_lock_file()
7204 assert(zone_lock_cnt >= 0); in zonecfg_grab_lock_file()
7206 if (zone_lock_cnt > 0) { in zonecfg_grab_lock_file()
7208 zone_lock_cnt++; in zonecfg_grab_lock_file()
7257 zone_lock_cnt = 1; in zonecfg_grab_lock_file()
7264 if (*lockfd >= 0 || zone_lock_cnt > 0) in zonecfg_lock_file_held()