Lines Matching refs:cl_lock
233 lockdep_assert_held(&clp->cl_lock); in find_openstateowner_str_locked()
251 spin_lock(&clp->cl_lock); in find_openstateowner_str()
253 spin_unlock(&clp->cl_lock); in find_openstateowner_str()
567 spin_lock(&cl->cl_lock); in nfs4_alloc_stid()
569 spin_unlock(&cl->cl_lock); in nfs4_alloc_stid()
736 might_lock(&clp->cl_lock); in nfs4_put_stid()
738 if (!atomic_dec_and_lock(&s->sc_count, &clp->cl_lock)) { in nfs4_put_stid()
743 spin_unlock(&clp->cl_lock); in nfs4_put_stid()
893 spin_lock(&clp->cl_lock); in revoke_delegation()
895 spin_unlock(&clp->cl_lock); in revoke_delegation()
1076 might_lock(&clp->cl_lock); in nfs4_put_stateowner()
1078 if (!atomic_dec_and_lock(&sop->so_count, &clp->cl_lock)) in nfs4_put_stateowner()
1081 spin_unlock(&clp->cl_lock); in nfs4_put_stateowner()
1089 lockdep_assert_held(&stp->st_stateowner->so_client->cl_lock); in unhash_ol_stateid()
1135 lockdep_assert_held(&clp->cl_lock); in put_ol_stateid_locked()
1152 lockdep_assert_held(&oo->oo_owner.so_client->cl_lock); in unhash_lock_stateid()
1164 spin_lock(&oo->oo_owner.so_client->cl_lock); in release_lock_stateid()
1166 spin_unlock(&oo->oo_owner.so_client->cl_lock); in release_lock_stateid()
1175 lockdep_assert_held(&clp->cl_lock); in unhash_lockowner_locked()
1211 spin_lock(&clp->cl_lock); in release_lockowner()
1219 spin_unlock(&clp->cl_lock); in release_lockowner()
1229 lockdep_assert_held(&open_stp->st_stid.sc_client->cl_lock); in release_open_stateid_locks()
1244 lockdep_assert_held(&stp->st_stid.sc_client->cl_lock); in unhash_open_stateid()
1255 spin_lock(&stp->st_stid.sc_client->cl_lock); in release_open_stateid()
1258 spin_unlock(&stp->st_stid.sc_client->cl_lock); in release_open_stateid()
1266 lockdep_assert_held(&clp->cl_lock); in unhash_openowner_locked()
1297 spin_lock(&clp->cl_lock); in release_openowner()
1305 spin_unlock(&clp->cl_lock); in release_openowner()
1480 spin_lock(&clp->cl_lock); in nfsd4_conn_lost()
1486 spin_unlock(&clp->cl_lock); in nfsd4_conn_lost()
1513 spin_lock(&clp->cl_lock); in nfsd4_hash_conn()
1515 spin_unlock(&clp->cl_lock); in nfsd4_hash_conn()
1552 spin_lock(&clp->cl_lock); in nfsd4_del_conns()
1556 spin_unlock(&clp->cl_lock); in nfsd4_del_conns()
1561 spin_lock(&clp->cl_lock); in nfsd4_del_conns()
1563 spin_unlock(&clp->cl_lock); in nfsd4_del_conns()
1596 spin_lock(&clp->cl_lock); in init_session()
1598 spin_unlock(&clp->cl_lock); in init_session()
1666 spin_lock(&ses->se_client->cl_lock); in unhash_session()
1668 spin_unlock(&ses->se_client->cl_lock); in unhash_session()
1722 spin_lock_init(&clp->cl_lock); in alloc_client()
1771 spin_lock(&clp->cl_lock); in unhash_client_locked()
1774 spin_unlock(&clp->cl_lock); in unhash_client_locked()
2013 spin_lock(&cl->cl_lock); in find_stateid_by_type()
2021 spin_unlock(&cl->cl_lock); in find_stateid_by_type()
2855 spin_lock(&clp->cl_lock); in nfsd4_sequence_check_conn()
2863 spin_unlock(&clp->cl_lock); in nfsd4_sequence_check_conn()
2870 spin_unlock(&clp->cl_lock); in nfsd4_sequence_check_conn()
3371 lockdep_assert_held(&clp->cl_lock); in hash_openowner()
3435 spin_lock(&clp->cl_lock); in alloc_init_open_stateowner()
3443 spin_unlock(&clp->cl_lock); in alloc_init_open_stateowner()
3455 spin_lock(&oo->oo_owner.so_client->cl_lock); in init_open_stateid()
3476 spin_unlock(&oo->oo_owner.so_client->cl_lock); in init_open_stateid()
4678 spin_lock(&cl->cl_lock); in nfsd4_validate_stateid()
4704 spin_unlock(&cl->cl_lock); in nfsd4_validate_stateid()
4886 spin_lock(&cl->cl_lock); in nfsd4_free_stateid()
4910 spin_unlock(&cl->cl_lock); in nfsd4_free_stateid()
4917 spin_unlock(&cl->cl_lock); in nfsd4_free_stateid()
4924 spin_unlock(&cl->cl_lock); in nfsd4_free_stateid()
5133 spin_lock(&clp->cl_lock); in nfsd4_close_open_stateid()
5139 spin_unlock(&clp->cl_lock); in nfsd4_close_open_stateid()
5142 spin_unlock(&clp->cl_lock); in nfsd4_close_open_stateid()
5306 lockdep_assert_held(&clp->cl_lock); in find_lockowner_str_locked()
5323 spin_lock(&clp->cl_lock); in find_lockowner_str()
5325 spin_unlock(&clp->cl_lock); in find_lockowner_str()
5367 spin_lock(&clp->cl_lock); in alloc_init_lock_stateowner()
5376 spin_unlock(&clp->cl_lock); in alloc_init_lock_stateowner()
5387 lockdep_assert_held(&clp->cl_lock); in init_lock_stateid()
5412 lockdep_assert_held(&clp->cl_lock); in find_lock_stateid()
5433 spin_lock(&clp->cl_lock); in find_or_create_lock_stateid()
5436 spin_unlock(&clp->cl_lock); in find_or_create_lock_stateid()
5441 spin_lock(&clp->cl_lock); in find_or_create_lock_stateid()
5450 spin_unlock(&clp->cl_lock); in find_or_create_lock_stateid()
5924 spin_lock(&clp->cl_lock); in nfsd4_release_lockowner()
5936 spin_unlock(&clp->cl_lock); in nfsd4_release_lockowner()
5944 spin_unlock(&clp->cl_lock); in nfsd4_release_lockowner()
6189 spin_lock(&clp->cl_lock); in nfsd_foreach_client_lock()
6215 spin_unlock(&clp->cl_lock); in nfsd_foreach_client_lock()
6324 spin_lock(&clp->cl_lock); in nfsd_foreach_client_openowner()
6344 spin_unlock(&clp->cl_lock); in nfsd_foreach_client_openowner()