Searched refs:zone_lock_cnt (Results 1 – 1 of 1) sorted by relevance
221 static int zone_lock_cnt = 0; variable7163 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()