Searched refs:sch_rwlock (Results 1 – 2 of 2) sorted by relevance
262 (void) pthread_rwlock_init(&shp->sch_rwlock, NULL); in fmd_scheme_hash_create()300 if (shp == NULL || pthread_rwlock_trywrlock(&shp->sch_rwlock) != 0) in fmd_scheme_hash_trygc()312 (void) pthread_rwlock_unlock(&shp->sch_rwlock); in fmd_scheme_hash_trygc()334 ASSERT(RW_LOCK_HELD(&shp->sch_rwlock)); in fmd_scheme_hash_xlookup()361 (void) pthread_rwlock_rdlock(&shp->sch_rwlock); in fmd_scheme_hash_lookup()365 (void) pthread_rwlock_unlock(&shp->sch_rwlock); in fmd_scheme_hash_lookup()367 (void) pthread_rwlock_wrlock(&shp->sch_rwlock); in fmd_scheme_hash_lookup()383 (void) pthread_rwlock_unlock(&shp->sch_rwlock); in fmd_scheme_hash_lookup()
75 pthread_rwlock_t sch_rwlock; /* rwlock protecting scheme hash */ member