Searched defs:sharetab_lock (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dfs_shares.c48 static mutex_t sharetab_lock = DEFAULTMUTEX; variable
96 (void) mutex_lock(&sharetab_lock);
105 (void) mutex_unlock(&sharetab_lock);
119 (void) mutex_unlock(&sharetab_lock);
/illumos-gate/usr/src/uts/common/fs/sharefs/
H A Dsharetab.c77 krwlock_t sharetab_lock; /* lock to protect the cached sharetab */ variable
121 rw_enter(&sharetab_lock, RW_WRITER);
133 rw_exit(&sharetab_lock);
173 rw_exit(&sharetab_lock);
209 rw_enter(&sharetab_lock, RW_WRITER);
287 rw_exit(&sharetab_lock);
309 rw_exit(&sharetab_lock);
317 rw_init(&sharetab_lock, NULL, RW_DEFAULT, NULL);
350 rw_enter(&sharetab_lock, RW_READER);
355 rw_exit(&sharetab_lock);
[all...]
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibsharecore.c72 static mutex_t sharetab_lock = DEFAULTMUTEX; variable
1378 (void) mutex_lock(&sharetab_lock);
1383 (void) mutex_unlock(&sharetab_lock);
1409 (void) mutex_unlock(&sharetab_lock);
1415 (void) mutex_unlock(&sharetab_lock);
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dmountd.c98 rwlock_t sharetab_lock; /* lock to protect the cached sharetab */ variable
496 (void) rwlock_init(&sharetab_lock, USYNC_THREAD, NULL);
1564 (void) rw_rdlock(&sharetab_lock);
1598 (void) rw_unlock(&sharetab_lock);
3025 (void) rw_wrlock(&sharetab_lock);
3029 (void) rw_unlock(&sharetab_lock);
3041 (void) rw_unlock(&sharetab_lock);
3081 (void) rw_unlock(&sharetab_lock);
3087 (void) rw_unlock(&sharetab_lock);
3097 (void) rw_unlock(&sharetab_lock);
[all...]

Completed in 92 milliseconds