Lines Matching refs:cl_lock

352 	lockdep_assert_held(&clp->cl_lock);  in find_openstateowner_str_locked()
370 spin_lock(&clp->cl_lock); in find_openstateowner_str()
372 spin_unlock(&clp->cl_lock); in find_openstateowner_str()
686 spin_lock(&cl->cl_lock); in nfs4_alloc_stid()
688 spin_unlock(&cl->cl_lock); in nfs4_alloc_stid()
856 might_lock(&clp->cl_lock); in nfs4_put_stid()
858 if (!refcount_dec_and_lock(&s->sc_count, &clp->cl_lock)) { in nfs4_put_stid()
863 spin_unlock(&clp->cl_lock); in nfs4_put_stid()
1015 spin_lock(&clp->cl_lock); in revoke_delegation()
1017 spin_unlock(&clp->cl_lock); in revoke_delegation()
1199 might_lock(&clp->cl_lock); in nfs4_put_stateowner()
1201 if (!atomic_dec_and_lock(&sop->so_count, &clp->cl_lock)) in nfs4_put_stateowner()
1204 spin_unlock(&clp->cl_lock); in nfs4_put_stateowner()
1212 lockdep_assert_held(&stp->st_stateowner->so_client->cl_lock); in unhash_ol_stateid()
1258 lockdep_assert_held(&clp->cl_lock); in put_ol_stateid_locked()
1273 lockdep_assert_held(&stp->st_stid.sc_client->cl_lock); in unhash_lock_stateid()
1285 spin_lock(&clp->cl_lock); in release_lock_stateid()
1287 spin_unlock(&clp->cl_lock); in release_lock_stateid()
1296 lockdep_assert_held(&clp->cl_lock); in unhash_lockowner_locked()
1329 lockdep_assert_held(&open_stp->st_stid.sc_client->cl_lock); in release_open_stateid_locks()
1344 lockdep_assert_held(&stp->st_stid.sc_client->cl_lock); in unhash_open_stateid()
1355 spin_lock(&stp->st_stid.sc_client->cl_lock); in release_open_stateid()
1358 spin_unlock(&stp->st_stid.sc_client->cl_lock); in release_open_stateid()
1366 lockdep_assert_held(&clp->cl_lock); in unhash_openowner_locked()
1397 spin_lock(&clp->cl_lock); in release_openowner()
1405 spin_unlock(&clp->cl_lock); in release_openowner()
1587 spin_lock(&clp->cl_lock); in nfsd4_conn_lost()
1593 spin_unlock(&clp->cl_lock); in nfsd4_conn_lost()
1620 spin_lock(&clp->cl_lock); in nfsd4_hash_conn()
1622 spin_unlock(&clp->cl_lock); in nfsd4_hash_conn()
1659 spin_lock(&clp->cl_lock); in nfsd4_del_conns()
1663 spin_unlock(&clp->cl_lock); in nfsd4_del_conns()
1668 spin_lock(&clp->cl_lock); in nfsd4_del_conns()
1670 spin_unlock(&clp->cl_lock); in nfsd4_del_conns()
1703 spin_lock(&clp->cl_lock); in init_session()
1705 spin_unlock(&clp->cl_lock); in init_session()
1773 spin_lock(&ses->se_client->cl_lock); in unhash_session()
1775 spin_unlock(&ses->se_client->cl_lock); in unhash_session()
1830 spin_lock_init(&clp->cl_lock); in alloc_client()
1879 spin_lock(&clp->cl_lock); in unhash_client_locked()
1882 spin_unlock(&clp->cl_lock); in unhash_client_locked()
2136 spin_lock(&cl->cl_lock); in find_stateid_by_type()
2144 spin_unlock(&cl->cl_lock); in find_stateid_by_type()
3031 spin_lock(&clp->cl_lock); in nfsd4_sequence_check_conn()
3039 spin_unlock(&clp->cl_lock); in nfsd4_sequence_check_conn()
3046 spin_unlock(&clp->cl_lock); in nfsd4_sequence_check_conn()
3594 lockdep_assert_held(&clp->cl_lock); in hash_openowner()
3707 spin_lock(&clp->cl_lock); in alloc_init_open_stateowner()
3715 spin_unlock(&clp->cl_lock); in alloc_init_open_stateowner()
3733 spin_lock(&oo->oo_owner.so_client->cl_lock); in init_open_stateid()
3755 spin_unlock(&oo->oo_owner.so_client->cl_lock); in init_open_stateid()
4988 spin_lock(&cl->cl_lock); in nfsd4_validate_stateid()
5014 spin_unlock(&cl->cl_lock); in nfsd4_validate_stateid()
5242 spin_lock(&cl->cl_lock); in nfsd4_free_stateid()
5260 spin_unlock(&cl->cl_lock); in nfsd4_free_stateid()
5267 spin_unlock(&cl->cl_lock); in nfsd4_free_stateid()
5275 spin_unlock(&cl->cl_lock); in nfsd4_free_stateid()
5478 spin_lock(&clp->cl_lock); in nfsd4_close_open_stateid()
5484 spin_unlock(&clp->cl_lock); in nfsd4_close_open_stateid()
5487 spin_unlock(&clp->cl_lock); in nfsd4_close_open_stateid()
5695 lockdep_assert_held(&clp->cl_lock); in find_lockowner_str_locked()
5712 spin_lock(&clp->cl_lock); in find_lockowner_str()
5714 spin_unlock(&clp->cl_lock); in find_lockowner_str()
5757 spin_lock(&clp->cl_lock); in alloc_init_lock_stateowner()
5766 spin_unlock(&clp->cl_lock); in alloc_init_lock_stateowner()
5776 lockdep_assert_held(&clp->cl_lock); in find_lock_stateid()
5800 spin_lock(&clp->cl_lock); in init_lock_stateid()
5819 spin_unlock(&clp->cl_lock); in init_lock_stateid()
5843 spin_lock(&clp->cl_lock); in find_or_create_lock_stateid()
5845 spin_unlock(&clp->cl_lock); in find_or_create_lock_stateid()
6371 spin_lock(&clp->cl_lock); in nfsd4_release_lockowner()
6383 spin_unlock(&clp->cl_lock); in nfsd4_release_lockowner()
6392 spin_unlock(&clp->cl_lock); in nfsd4_release_lockowner()
6404 spin_unlock(&clp->cl_lock); in nfsd4_release_lockowner()
6651 spin_lock(&clp->cl_lock); in nfsd_foreach_client_lock()
6677 spin_unlock(&clp->cl_lock); in nfsd_foreach_client_lock()
6786 spin_lock(&clp->cl_lock); in nfsd_foreach_client_openowner()
6806 spin_unlock(&clp->cl_lock); in nfsd_foreach_client_openowner()