Searched refs:s_rwlock (Results 1 – 2 of 2) sorted by relevance
1000 rw_init(&sp->s_rwlock, NULL, RW_DRIVER, NULL); in nsc_register_svc()1005 rw_enter(&sp->s_rwlock, RW_WRITER); in nsc_register_svc()1018 rw_exit(&sp->s_rwlock); in nsc_register_svc()1042 rw_enter(&sp->s_rwlock, RW_WRITER); in nsc_unregister_svc()1062 rw_exit(&sp->s_rwlock); in nsc_unregister_svc()1065 rw_destroy(&sp->s_rwlock); in nsc_unregister_svc()1072 rw_exit(&sp->s_rwlock); in nsc_unregister_svc()1093 rw_enter(&sp->s_rwlock, RW_READER); in nsc_call_svc()1100 rw_exit(&sp->s_rwlock); in nsc_call_svc()
84 krwlock_t s_rwlock; /* lock */ member