Home
last modified time | relevance | path

Searched refs:reader_blocked (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libnisdb/
H A Dnisdb_rw.c79 rw->writer_count = rw->reader_count = rw->reader_blocked = 0; in __nisdb_rwinit()
212 (rw->reader_blocked + 1)) in __nisdb_wlock_trylock()
221 if (rw->reader_count == rw->reader_blocked) in __nisdb_wlock_trylock()
268 rw->reader_blocked++; in __nisdb_wlock_trylock()
273 if (rw->reader_blocked > 0) in __nisdb_wlock_trylock()
274 rw->reader_blocked--; in __nisdb_wlock_trylock()
285 if (rw->reader_blocked > 0) in __nisdb_wlock_trylock()
286 rw->reader_blocked--; in __nisdb_wlock_trylock()
378 rw->reader_blocked++; in __nisdb_rlock()
383 if (rw->reader_blocked > 0) in __nisdb_rlock()
[all …]
H A Dnisdb_rw.h156 uint32_t reader_blocked; /* # of readers blocked on mutex */ member