Lines Matching defs:writer
249 * With the addition of reader-writer lock semantics to page_lock_es,
250 * callers wanting an exclusive (writer) lock may prevent shared-lock
286 * writer thread(s) by giving priority to writers over readers.
360 * if the caller wants a writer lock (but did not
362 * writer that wants exclusive access, return failure
366 /* no reader/writer lock held */
547 * The caller wants a writer lock. We try for it only if
553 /* no reader/writer lock held */
1021 memsegs_trylock(int writer)
1023 return (rw_tryenter(&memsegslock, writer ? RW_WRITER : RW_READER));
1027 memsegs_lock(int writer)
1029 rw_enter(&memsegslock, writer ? RW_WRITER : RW_READER);
1034 memsegs_unlock(int writer)