Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libnisdb/
H A Dnisdb_rw.c80 rw->writer_count = rw->reader_count = rw->reader_blocked = 0; in __nisdb_rwinit()
217 (rw->reader_blocked + 1)) in __nisdb_wlock_trylock()
226 if (rw->reader_count == rw->reader_blocked) in __nisdb_wlock_trylock()
272 rw->reader_blocked++; in __nisdb_wlock_trylock()
277 if (rw->reader_blocked > 0) in __nisdb_wlock_trylock()
278 rw->reader_blocked--; in __nisdb_wlock_trylock()
289 if (rw->reader_blocked > 0) in __nisdb_wlock_trylock()
290 rw->reader_blocked--; in __nisdb_wlock_trylock()
382 rw->reader_blocked++; in __nisdb_rlock()
387 if (rw->reader_blocked > 0) in __nisdb_rlock()
[all …]
H A Dnisdb_rw.h158 uint32_t reader_blocked; /* # of readers blocked on mutex */ member