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()
4075 lockdep_assert_held(&clp->cl_lock); in hash_openowner()
4188 spin_lock(&clp->cl_lock); in alloc_init_open_stateowner()
4196 spin_unlock(&clp->cl_lock); in alloc_init_open_stateowner()
4214 spin_lock(&oo->oo_owner.so_client->cl_lock); in init_open_stateid()
4236 spin_unlock(&oo->oo_owner.so_client->cl_lock); in init_open_stateid()
5474 spin_lock(&cl->cl_lock); in nfsd4_validate_stateid()
5500 spin_unlock(&cl->cl_lock); in nfsd4_validate_stateid()
5722 spin_lock(&cl->cl_lock); in nfsd4_free_stateid()
5740 spin_unlock(&cl->cl_lock); in nfsd4_free_stateid()
5747 spin_unlock(&cl->cl_lock); in nfsd4_free_stateid()
5755 spin_unlock(&cl->cl_lock); in nfsd4_free_stateid()
5958 spin_lock(&clp->cl_lock); in nfsd4_close_open_stateid()
5964 spin_unlock(&clp->cl_lock); in nfsd4_close_open_stateid()
5967 spin_unlock(&clp->cl_lock); in nfsd4_close_open_stateid()
6174 lockdep_assert_held(&clp->cl_lock); in find_lockowner_str_locked()
6191 spin_lock(&clp->cl_lock); in find_lockowner_str()
6193 spin_unlock(&clp->cl_lock); in find_lockowner_str()
6236 spin_lock(&clp->cl_lock); in alloc_init_lock_stateowner()
6245 spin_unlock(&clp->cl_lock); in alloc_init_lock_stateowner()
6255 lockdep_assert_held(&clp->cl_lock); in find_lock_stateid()
6279 spin_lock(&clp->cl_lock); in init_lock_stateid()
6298 spin_unlock(&clp->cl_lock); in init_lock_stateid()
6322 spin_lock(&clp->cl_lock); in find_or_create_lock_stateid()
6324 spin_unlock(&clp->cl_lock); in find_or_create_lock_stateid()
6850 spin_lock(&clp->cl_lock); in nfsd4_release_lockowner()
6862 spin_unlock(&clp->cl_lock); in nfsd4_release_lockowner()
6871 spin_unlock(&clp->cl_lock); in nfsd4_release_lockowner()
6883 spin_unlock(&clp->cl_lock); in nfsd4_release_lockowner()
7139 spin_lock(&clp->cl_lock); in nfsd_foreach_client_lock()
7165 spin_unlock(&clp->cl_lock); in nfsd_foreach_client_lock()
7274 spin_lock(&clp->cl_lock); in nfsd_foreach_client_openowner()
7294 spin_unlock(&clp->cl_lock); in nfsd_foreach_client_openowner()