Lines Matching refs:cl_lock
375 lockdep_assert_held(&clp->cl_lock); in find_openstateowner_str_locked()
393 spin_lock(&clp->cl_lock); in find_openstateowner_str()
395 spin_unlock(&clp->cl_lock); in find_openstateowner_str()
710 spin_lock(&cl->cl_lock); in nfs4_alloc_stid()
713 spin_unlock(&cl->cl_lock); in nfs4_alloc_stid()
911 might_lock(&clp->cl_lock); in nfs4_put_stid()
913 if (!refcount_dec_and_lock(&s->sc_count, &clp->cl_lock)) { in nfs4_put_stid()
918 spin_unlock(&clp->cl_lock); in nfs4_put_stid()
1070 spin_lock(&clp->cl_lock); in revoke_delegation()
1072 spin_unlock(&clp->cl_lock); in revoke_delegation()
1254 might_lock(&clp->cl_lock); in nfs4_put_stateowner()
1256 if (!atomic_dec_and_lock(&sop->so_count, &clp->cl_lock)) in nfs4_put_stateowner()
1259 spin_unlock(&clp->cl_lock); in nfs4_put_stateowner()
1267 lockdep_assert_held(&stp->st_stateowner->so_client->cl_lock); in unhash_ol_stateid()
1316 lockdep_assert_held(&clp->cl_lock); in put_ol_stateid_locked()
1331 lockdep_assert_held(&stp->st_stid.sc_client->cl_lock); in unhash_lock_stateid()
1343 spin_lock(&clp->cl_lock); in release_lock_stateid()
1345 spin_unlock(&clp->cl_lock); in release_lock_stateid()
1354 lockdep_assert_held(&clp->cl_lock); in unhash_lockowner_locked()
1387 lockdep_assert_held(&open_stp->st_stid.sc_client->cl_lock); in release_open_stateid_locks()
1402 lockdep_assert_held(&stp->st_stid.sc_client->cl_lock); in unhash_open_stateid()
1413 spin_lock(&stp->st_stid.sc_client->cl_lock); in release_open_stateid()
1416 spin_unlock(&stp->st_stid.sc_client->cl_lock); in release_open_stateid()
1424 lockdep_assert_held(&clp->cl_lock); in unhash_openowner_locked()
1455 spin_lock(&clp->cl_lock); in release_openowner()
1463 spin_unlock(&clp->cl_lock); in release_openowner()
1663 spin_lock(&clp->cl_lock); in nfsd4_conn_lost()
1669 spin_unlock(&clp->cl_lock); in nfsd4_conn_lost()
1696 spin_lock(&clp->cl_lock); in nfsd4_hash_conn()
1698 spin_unlock(&clp->cl_lock); in nfsd4_hash_conn()
1735 spin_lock(&clp->cl_lock); in nfsd4_del_conns()
1739 spin_unlock(&clp->cl_lock); in nfsd4_del_conns()
1744 spin_lock(&clp->cl_lock); in nfsd4_del_conns()
1746 spin_unlock(&clp->cl_lock); in nfsd4_del_conns()
1779 spin_lock(&clp->cl_lock); in init_session()
1781 spin_unlock(&clp->cl_lock); in init_session()
1849 spin_lock(&ses->se_client->cl_lock); in unhash_session()
1851 spin_unlock(&ses->se_client->cl_lock); in unhash_session()
1907 spin_lock_init(&clp->cl_lock); in alloc_client()
1976 spin_lock(&clp->cl_lock); in unhash_client_locked()
1979 spin_unlock(&clp->cl_lock); in unhash_client_locked()
2246 spin_lock(&cl->cl_lock); in find_stateid_by_type()
2254 spin_unlock(&cl->cl_lock); in find_stateid_by_type()
2316 __acquires(&clp->cl_lock) in states_start()
2322 spin_lock(&clp->cl_lock); in states_start()
2342 __releases(&clp->cl_lock) in states_stop()
2346 spin_unlock(&clp->cl_lock); in states_stop()
2546 spin_lock(&clp->cl_lock); in force_expire_client()
2548 spin_unlock(&clp->cl_lock); in force_expire_client()
3507 spin_lock(&clp->cl_lock); in nfsd4_sequence_check_conn()
3515 spin_unlock(&clp->cl_lock); in nfsd4_sequence_check_conn()
3522 spin_unlock(&clp->cl_lock); in nfsd4_sequence_check_conn()
4070 lockdep_assert_held(&clp->cl_lock); in hash_openowner()
4183 spin_lock(&clp->cl_lock); in alloc_init_open_stateowner()
4191 spin_unlock(&clp->cl_lock); in alloc_init_open_stateowner()
4209 spin_lock(&oo->oo_owner.so_client->cl_lock); in init_open_stateid()
4231 spin_unlock(&oo->oo_owner.so_client->cl_lock); in init_open_stateid()
5469 spin_lock(&cl->cl_lock); in nfsd4_validate_stateid()
5495 spin_unlock(&cl->cl_lock); in nfsd4_validate_stateid()
5717 spin_lock(&cl->cl_lock); in nfsd4_free_stateid()
5735 spin_unlock(&cl->cl_lock); in nfsd4_free_stateid()
5742 spin_unlock(&cl->cl_lock); in nfsd4_free_stateid()
5750 spin_unlock(&cl->cl_lock); in nfsd4_free_stateid()
5953 spin_lock(&clp->cl_lock); in nfsd4_close_open_stateid()
5959 spin_unlock(&clp->cl_lock); in nfsd4_close_open_stateid()
5962 spin_unlock(&clp->cl_lock); in nfsd4_close_open_stateid()
6169 lockdep_assert_held(&clp->cl_lock); in find_lockowner_str_locked()
6186 spin_lock(&clp->cl_lock); in find_lockowner_str()
6188 spin_unlock(&clp->cl_lock); in find_lockowner_str()
6231 spin_lock(&clp->cl_lock); in alloc_init_lock_stateowner()
6240 spin_unlock(&clp->cl_lock); in alloc_init_lock_stateowner()
6250 lockdep_assert_held(&clp->cl_lock); in find_lock_stateid()
6274 spin_lock(&clp->cl_lock); in init_lock_stateid()
6293 spin_unlock(&clp->cl_lock); in init_lock_stateid()
6317 spin_lock(&clp->cl_lock); in find_or_create_lock_stateid()
6319 spin_unlock(&clp->cl_lock); in find_or_create_lock_stateid()
6845 spin_lock(&clp->cl_lock); in nfsd4_release_lockowner()
6857 spin_unlock(&clp->cl_lock); in nfsd4_release_lockowner()
6866 spin_unlock(&clp->cl_lock); in nfsd4_release_lockowner()
6878 spin_unlock(&clp->cl_lock); in nfsd4_release_lockowner()
7134 spin_lock(&clp->cl_lock); in nfsd_foreach_client_lock()
7160 spin_unlock(&clp->cl_lock); in nfsd_foreach_client_lock()
7269 spin_lock(&clp->cl_lock); in nfsd_foreach_client_openowner()
7289 spin_unlock(&clp->cl_lock); in nfsd_foreach_client_openowner()