Lines Matching refs:nfs_client_lock
269 if (refcount_dec_and_lock(&clp->cl_count, &nn->nfs_client_lock)) { in nfs_put_client()
272 spin_unlock(&nn->nfs_client_lock); in nfs_put_client()
302 spin_unlock(&nn->nfs_client_lock); in nfs_match_client()
305 spin_lock(&nn->nfs_client_lock); in nfs_match_client()
421 spin_lock(&nn->nfs_client_lock); in nfs_get_client()
425 spin_unlock(&nn->nfs_client_lock); in nfs_get_client()
435 spin_unlock(&nn->nfs_client_lock); in nfs_get_client()
442 spin_unlock(&nn->nfs_client_lock); in nfs_get_client()
942 spin_lock(&nn->nfs_client_lock); in nfs_server_insert_lists()
946 spin_unlock(&nn->nfs_client_lock); in nfs_server_insert_lists()
959 spin_lock(&nn->nfs_client_lock); in nfs_server_remove_lists()
964 spin_unlock(&nn->nfs_client_lock); in nfs_server_remove_lists()
1194 spin_lock_init(&nn->nfs_client_lock); in nfs_clients_init()
1241 __acquires(&nn->nfs_client_lock) in nfs_server_list_start()
1246 spin_lock(&nn->nfs_client_lock); in nfs_server_list_start()
1264 __releases(&nn->nfs_client_lock) in nfs_server_list_stop()
1268 spin_unlock(&nn->nfs_client_lock); in nfs_server_list_stop()
1308 __acquires(&nn->nfs_client_lock) in nfs_volume_list_start()
1313 spin_lock(&nn->nfs_client_lock); in nfs_volume_list_start()
1331 __releases(&nn->nfs_client_lock) in nfs_volume_list_stop()
1335 spin_unlock(&nn->nfs_client_lock); in nfs_volume_list_stop()