Lines Matching refs:lock
726 sorwakeup(so); /* done with socket lock held */
2352 sowwakeup(so); /* has to be done with socket lock held */
2669 /* XXXMAC: recursive lock: SOCK_LOCK(so); */
4302 lck_mtx_lock(&ndi->lock);
4308 lck_mtx_unlock(&ndi->lock);
4729 /* do not try to lock the inp in in_pcb_checkstate
4730 * because the lock is already held in some other thread.
4768 * doesn't require a lock, it could have happened while
4769 * we are holding the lock. This pcb will have to
4778 * acquire the pcbinfo lock in order to fully dispose it off