Searched refs:nsc_rmlock_t (Results 1 – 4 of 4) sorted by relevance
42 nsc_rmlock_t _nsc_lock_top;102 nsc_rmlock_t *lp; in _nsc_lock_all_rm()124 nsc_rmlock_t *lp; in _nsc_unlock_all_rm()149 nsc_rmlock_t *152 nsc_rmlock_t *lp, *lk; in nsc_rm_lock_alloc()154 if ((lk = (nsc_rmlock_t *)nsc_kmem_zalloc(sizeof (*lk), in nsc_rm_lock_alloc()200 nsc_rmlock_t *rmlockp; in nsc_rm_lock_dealloc()234 nsc_rm_lock(nsc_rmlock_t *rmlockp) in nsc_rm_lock()262 nsc_rm_unlock(nsc_rmlock_t *rmlockp) in nsc_rm_unlock()
43 } nsc_rmlock_t; typedef
117 nsc_rmlock_t *nsc_rm_lock_alloc(char *, int, void *) { } in nsc_rm_lock_alloc()118 void nsc_rm_lock_dealloc(nsc_rmlock_t *) { } in nsc_rm_lock_dealloc() argument119 int nsc_rm_lock(nsc_rmlock_t *) { } in nsc_rm_lock() argument120 void nsc_rm_unlock(nsc_rmlock_t *) { } in nsc_rm_unlock() argument
354 typedef struct nsc_rmlock_s { int x; } nsc_rmlock_t; typedef358 extern nsc_rmlock_t *nsc_rm_lock_alloc(char *, int, void *);359 extern void nsc_rm_lock_dealloc(nsc_rmlock_t *);360 extern int nsc_rm_lock(nsc_rmlock_t *);361 extern void nsc_rm_unlock(nsc_rmlock_t *);