Lines Matching full:lock
51 .Nd kernel reader/writer lock optimized for read-mostly access patterns
109 Acquiring an exclusive lock after the lock has been locked for shared access
114 locks and follow the same lock ordering rules as
127 Readers can recurse if the lock is initialized with the
136 It changes lock ordering rules to the same as for
148 lock ordering.
152 Initialize the read-mostly lock
158 on the lock.
162 initialize the read-mostly lock
172 to ignore this lock.
177 Create a sleepable read-mostly lock.
192 Lock
196 to track read owners of a lock for priority propagation.
204 If any thread holds this lock exclusively, the current thread blocks,
206 If the lock was initialized with the
214 Try to lock
218 will return 0 if the lock cannot be acquired immediately;
220 the lock will be acquired and a non-zero value will be returned.
223 may fail even while the lock is not currently held by a writer.
224 If the lock was initialized with the
230 Lock
233 If there are any shared owners of the lock, the current thread blocks.
238 This function releases a shared lock previously acquired by
244 argument used for acquiring the shared lock
246 This function releases an exclusive lock previously acquired by
249 This functions destroys a lock previously initialized with
253 lock must be unlocked.
256 exclusive lock on
264 lock must be exclusively locked.
271 lock is in the state specified by
281 Assert that current thread holds either a shared or exclusive lock
285 Assert that current thread holds a shared lock of
288 Assert that current thread holds an exclusive lock of
291 Assert that current thread holds neither a shared nor exclusive lock of
302 Assert that the current thread holds a recursive lock of
305 Assert that the current thread does not hold a recursive lock of
311 Initialize the sleepable read-mostly lock
320 This function must be called before any other operations on the lock.
322 Lock
325 If any thread holds this lock exclusively, the current thread blocks.
327 Lock
330 If the lock is already taken, the current thread blocks.
335 This function releases a shared lock previously acquired by
338 This function releases an exclusive lock previously acquired by
341 This functions destroys a lock previously initialized with
345 lock must be unlocked.
382 be needed to speed up the writer lock process.