Lines Matching refs:pet_lock
57 static IOLock *pet_lock = NULL;
243 IOLockLock(pet_lock);
244 IOLockSleep(pet_lock, &pet_actionid, THREAD_UNINT);
245 IOLockUnlock(pet_lock);
274 IOLockLock(pet_lock);
283 IOLockUnlock(pet_lock);
291 IOLockWakeup(pet_lock, &pet_actionid, FALSE);
300 IOLockLock(pet_lock);
301 IOLockUnlock(pet_lock);
315 pet_lock = IOLockAlloc();
316 if( pet_lock == NULL )
324 IOLockFree( pet_lock );
325 pet_lock = NULL;