Searched refs:net_tree_lock (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_stub_vnops.c783 mutex_init(&net->net_tree_lock, NULL, MUTEX_DEFAULT, NULL);
801 * other node could have grabbed net_tree_lock.
803 mutex_enter(&net->net_tree_lock);
816 mutex_enter(&net->net_tree_lock);
826 mutex_exit(&net->net_tree_lock);
889 mutex_exit(&net->net_tree_lock);
2452 * Common code to safely release net_cnt_lock and net_tree_lock
2465 mutex_exit(&net->net_tree_lock);
2624 if (mutex_tryenter(&net->net_tree_lock)) {
2647 mutex_enter(&net->net_tree_lock);
[all...]
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfs4_clnt.h1402 * net->net_tree_lock
1420 * net_tree_lock controls access to net_root. Access needs to first be
1427 * Before a caller can grab net_tree_lock, it must first grab net_cnt_lock
1429 * algorithm to get the net_tree_lock. Once it has that, then it is okay to
1431 * changed if the caller has the net_tree_lock held as well.
1440 * When a caller is done with net_tree_lock, it can decrement the net_refcnt
1441 * either before it releases net_tree_lock or after.
1457 kmutex_t net_tree_lock; member in struct:nfs4_ephemeral_tree

Completed in 57 milliseconds