Searched refs:inp_lock (Results 1 – 1 of 1) sorted by relevance
242 struct rwlock inp_lock; member433 rw_init_flags(&(inp)->inp_lock, (t), RW_RECURSE | RW_DUPOK)434 #define INP_LOCK_DESTROY(inp) rw_destroy(&(inp)->inp_lock)435 #define INP_RLOCK(inp) rw_rlock(&(inp)->inp_lock)436 #define INP_WLOCK(inp) rw_wlock(&(inp)->inp_lock)437 #define INP_TRY_RLOCK(inp) rw_try_rlock(&(inp)->inp_lock)438 #define INP_TRY_WLOCK(inp) rw_try_wlock(&(inp)->inp_lock)439 #define INP_RUNLOCK(inp) rw_runlock(&(inp)->inp_lock)440 #define INP_WUNLOCK(inp) rw_wunlock(&(inp)->inp_lock)441 #define INP_TRY_UPGRADE(inp) rw_try_upgrade(&(inp)->inp_lock)[all …]