Searched refs:_rwlock (Results 1 – 3 of 3) sorted by relevance
95 #define DECLRWLOCK(var) __nisdb_rwlock_t var ## _rwlock = \97 #define USERWLOCK(var) extern __nisdb_rwlock_t var ## _rwlock98 #define STRUCTRWLOCK(var) __nisdb_rwlock_t var ## _rwlock99 #define INITRW(var) (void) __nisdb_rwinit(&var ## _rwlock)100 #define READLOCKOK(var) (void) __nisdb_rw_readlock_ok(&var ## _rwlock)101 #define RLOCK(var) __nisdb_rlock(&var ## _rwlock)102 #define WLOCK(var) __nisdb_wlock(&var ## _rwlock)103 #define TRYWLOCK(var) __nisdb_wlock_trylock(&var ## _rwlock, 1)104 #define RULOCK(var) __nisdb_rulock(&var ## _rwlock)105 #define WULOCK(var) __nisdb_wulock(&var ## _rwlock)[all …]
200 if ((lc = __nisdb_assert_wheld(&lvar ## _rwlock)) != 0) { \
81 typedef struct _rwlock { struct