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()
735 might_lock(&clp->cl_lock); in nfs4_put_stid()
737 if (!atomic_dec_and_lock(&s->sc_count, &clp->cl_lock)) { in nfs4_put_stid()
742 spin_unlock(&clp->cl_lock); in nfs4_put_stid()
880 spin_lock(&clp->cl_lock); in revoke_delegation()
882 spin_unlock(&clp->cl_lock); in revoke_delegation()
1057 might_lock(&clp->cl_lock); in nfs4_put_stateowner()
1059 if (!atomic_dec_and_lock(&sop->so_count, &clp->cl_lock)) in nfs4_put_stateowner()
1062 spin_unlock(&clp->cl_lock); in nfs4_put_stateowner()
1071 lockdep_assert_held(&stp->st_stateowner->so_client->cl_lock); in unhash_ol_stateid()
1117 lockdep_assert_held(&clp->cl_lock); in put_ol_stateid_locked()
1134 lockdep_assert_held(&oo->oo_owner.so_client->cl_lock); in unhash_lock_stateid()
1146 spin_lock(&oo->oo_owner.so_client->cl_lock); in release_lock_stateid()
1148 spin_unlock(&oo->oo_owner.so_client->cl_lock); in release_lock_stateid()
1157 lockdep_assert_held(&clp->cl_lock); in unhash_lockowner_locked()
1193 spin_lock(&clp->cl_lock); in release_lockowner()
1201 spin_unlock(&clp->cl_lock); in release_lockowner()
1211 lockdep_assert_held(&open_stp->st_stid.sc_client->cl_lock); in release_open_stateid_locks()
1226 lockdep_assert_held(&stp->st_stid.sc_client->cl_lock); in unhash_open_stateid()
1237 spin_lock(&stp->st_stid.sc_client->cl_lock); in release_open_stateid()
1240 spin_unlock(&stp->st_stid.sc_client->cl_lock); in release_open_stateid()
1248 lockdep_assert_held(&clp->cl_lock); in unhash_openowner_locked()
1279 spin_lock(&clp->cl_lock); in release_openowner()
1287 spin_unlock(&clp->cl_lock); in release_openowner()
1462 spin_lock(&clp->cl_lock); in nfsd4_conn_lost()
1468 spin_unlock(&clp->cl_lock); in nfsd4_conn_lost()
1495 spin_lock(&clp->cl_lock); in nfsd4_hash_conn()
1497 spin_unlock(&clp->cl_lock); in nfsd4_hash_conn()
1534 spin_lock(&clp->cl_lock); in nfsd4_del_conns()
1538 spin_unlock(&clp->cl_lock); in nfsd4_del_conns()
1543 spin_lock(&clp->cl_lock); in nfsd4_del_conns()
1545 spin_unlock(&clp->cl_lock); in nfsd4_del_conns()
1578 spin_lock(&clp->cl_lock); in init_session()
1580 spin_unlock(&clp->cl_lock); in init_session()
1648 spin_lock(&ses->se_client->cl_lock); in unhash_session()
1650 spin_unlock(&ses->se_client->cl_lock); in unhash_session()
1704 spin_lock_init(&clp->cl_lock); in alloc_client()
1753 spin_lock(&clp->cl_lock); in unhash_client_locked()
1756 spin_unlock(&clp->cl_lock); in unhash_client_locked()
1995 spin_lock(&cl->cl_lock); in find_stateid_by_type()
2003 spin_unlock(&cl->cl_lock); in find_stateid_by_type()
2831 spin_lock(&clp->cl_lock); in nfsd4_sequence_check_conn()
2839 spin_unlock(&clp->cl_lock); in nfsd4_sequence_check_conn()
2846 spin_unlock(&clp->cl_lock); in nfsd4_sequence_check_conn()
3340 lockdep_assert_held(&clp->cl_lock); in hash_openowner()
3383 spin_lock(&clp->cl_lock); in alloc_init_open_stateowner()
3390 spin_unlock(&clp->cl_lock); in alloc_init_open_stateowner()
3407 spin_lock(&oo->oo_owner.so_client->cl_lock); in init_open_stateid()
3412 spin_unlock(&oo->oo_owner.so_client->cl_lock); in init_open_stateid()
4624 spin_lock(&cl->cl_lock); in nfsd4_validate_stateid()
4650 spin_unlock(&cl->cl_lock); in nfsd4_validate_stateid()
4794 spin_lock(&cl->cl_lock); in nfsd4_free_stateid()
4818 spin_unlock(&cl->cl_lock); in nfsd4_free_stateid()
4825 spin_unlock(&cl->cl_lock); in nfsd4_free_stateid()
4832 spin_unlock(&cl->cl_lock); in nfsd4_free_stateid()
5045 spin_lock(&clp->cl_lock); in nfsd4_close_open_stateid()
5051 spin_unlock(&clp->cl_lock); in nfsd4_close_open_stateid()
5054 spin_unlock(&clp->cl_lock); in nfsd4_close_open_stateid()
5223 lockdep_assert_held(&clp->cl_lock); in find_lockowner_str_locked()
5241 spin_lock(&clp->cl_lock); in find_lockowner_str()
5243 spin_unlock(&clp->cl_lock); in find_lockowner_str()
5285 spin_lock(&clp->cl_lock); in alloc_init_lock_stateowner()
5294 spin_unlock(&clp->cl_lock); in alloc_init_lock_stateowner()
5305 lockdep_assert_held(&clp->cl_lock); in init_lock_stateid()
5330 lockdep_assert_held(&clp->cl_lock); in find_lock_stateid()
5351 spin_lock(&clp->cl_lock); in find_or_create_lock_stateid()
5354 spin_unlock(&clp->cl_lock); in find_or_create_lock_stateid()
5359 spin_lock(&clp->cl_lock); in find_or_create_lock_stateid()
5368 spin_unlock(&clp->cl_lock); in find_or_create_lock_stateid()
5846 spin_lock(&clp->cl_lock); in nfsd4_release_lockowner()
5858 spin_unlock(&clp->cl_lock); in nfsd4_release_lockowner()
5866 spin_unlock(&clp->cl_lock); in nfsd4_release_lockowner()
6111 spin_lock(&clp->cl_lock); in nfsd_foreach_client_lock()
6137 spin_unlock(&clp->cl_lock); in nfsd_foreach_client_lock()
6246 spin_lock(&clp->cl_lock); in nfsd_foreach_client_openowner()
6266 spin_unlock(&clp->cl_lock); in nfsd_foreach_client_openowner()