Lines Matching refs:lock
85 #include <kern/lock.h>
288 * kqueue/note lock attributes and implementations
291 * Most of the knote state is guarded by the object lock.
292 * the knote "inuse" count and status use the kqueue lock.
311 * Convert a kq lock to a knote use referece.
331 * Convert a kq lock to a knote use referece,
358 * Convert from a knote use reference back to kq lock.
364 * still alive - but the kqueue lock is taken
384 * Convert a kq lock to a knote drop referece.
656 * Timer filter lock is held.
720 * Timer filter lock is held.
781 * Timer filter lock is held.
875 /* real timer pop -- timer lock held by filt_timerexpire */
1650 /* existing knote - get kqueue lock */
1763 * Convert our lock to a use-count and call the event's
1880 * but may drop lock temporarily.
1905 * Called with kqueue lock held.
2077 break; /* lock still held */
2093 break; /* lock still held */
2389 * The object lock protects the list. It is assumed
2394 * The object lock should also hold off pending
2416 /* lock held again */
2424 * The list is protected by whatever lock the object it is associated with uses.
2436 * The list is protected by whatever lock the object it is associated with uses.
2499 * Entered with the proc_fd lock already held.
2520 * Convert the lock to a drop ref.
2622 /* called with kqueue lock held */
2637 /* called with kqueue lock held */
2645 /* called with kqueue lock held */
2660 /* called with kqueue lock held */
2681 /* allocate kq lock group attribute and group */
2686 /* Allocate kq lock attribute */
2689 /* Initialize the timer filter lock */
2693 /* Initialize the vm pressure list lock */