Lines Matching refs:cl_lock
496 lockdep_assert_held(&clp->cl_lock); in find_openstateowner_str_locked()
514 spin_lock(&clp->cl_lock); in find_openstateowner_str()
516 spin_unlock(&clp->cl_lock); in find_openstateowner_str()
853 spin_lock(&cl->cl_lock); in nfs4_alloc_stid()
856 spin_unlock(&cl->cl_lock); in nfs4_alloc_stid()
1103 might_lock(&clp->cl_lock); in nfs4_put_stid()
1105 if (!refcount_dec_and_lock(&s->sc_count, &clp->cl_lock)) { in nfs4_put_stid()
1111 spin_unlock(&clp->cl_lock); in nfs4_put_stid()
1266 spin_lock(&clp->cl_lock); in revoke_delegation()
1270 spin_unlock(&clp->cl_lock); in revoke_delegation()
1350 might_lock(&clp->cl_lock); in nfs4_put_stateowner()
1352 if (!atomic_dec_and_lock(&sop->so_count, &clp->cl_lock)) in nfs4_put_stateowner()
1355 spin_unlock(&clp->cl_lock); in nfs4_put_stateowner()
1369 lockdep_assert_held(&stp->st_stateowner->so_client->cl_lock); in unhash_ol_stateid()
1419 lockdep_assert_held(&clp->cl_lock); in put_ol_stateid_locked()
1434 lockdep_assert_held(&stp->st_stid.sc_client->cl_lock); in unhash_lock_stateid()
1448 spin_lock(&clp->cl_lock); in release_lock_stateid()
1450 spin_unlock(&clp->cl_lock); in release_lock_stateid()
1459 lockdep_assert_held(&clp->cl_lock); in unhash_lockowner_locked()
1492 lockdep_assert_held(&open_stp->st_stid.sc_client->cl_lock); in release_open_stateid_locks()
1505 lockdep_assert_held(&stp->st_stid.sc_client->cl_lock); in unhash_open_stateid()
1517 spin_lock(&stp->st_stid.sc_client->cl_lock); in release_open_stateid()
1520 spin_unlock(&stp->st_stid.sc_client->cl_lock); in release_open_stateid()
1528 lockdep_assert_held(&clp->cl_lock); in unhash_openowner_locked()
1559 spin_lock(&clp->cl_lock); in release_openowner()
1567 spin_unlock(&clp->cl_lock); in release_openowner()
1769 spin_lock(&clp->cl_lock); in nfsd4_conn_lost()
1775 spin_unlock(&clp->cl_lock); in nfsd4_conn_lost()
1802 spin_lock(&clp->cl_lock); in nfsd4_hash_conn()
1804 spin_unlock(&clp->cl_lock); in nfsd4_hash_conn()
1841 spin_lock(&clp->cl_lock); in nfsd4_del_conns()
1845 spin_unlock(&clp->cl_lock); in nfsd4_del_conns()
1850 spin_lock(&clp->cl_lock); in nfsd4_del_conns()
1852 spin_unlock(&clp->cl_lock); in nfsd4_del_conns()
1885 spin_lock(&clp->cl_lock); in init_session()
1887 spin_unlock(&clp->cl_lock); in init_session()
1955 spin_lock(&ses->se_client->cl_lock); in unhash_session()
1957 spin_unlock(&ses->se_client->cl_lock); in unhash_session()
2012 spin_lock_init(&clp->cl_lock); in alloc_client()
2081 spin_lock(&clp->cl_lock); in unhash_client_locked()
2084 spin_unlock(&clp->cl_lock); in unhash_client_locked()
2351 spin_lock(&cl->cl_lock); in find_stateid_by_type()
2359 spin_unlock(&cl->cl_lock); in find_stateid_by_type()
2442 __acquires(&clp->cl_lock) in states_start()
2448 spin_lock(&clp->cl_lock); in states_start()
2468 __releases(&clp->cl_lock) in states_stop()
2472 spin_unlock(&clp->cl_lock); in states_stop()
3603 spin_lock(&clp->cl_lock); in nfsd4_match_existing_connection()
3617 spin_unlock(&clp->cl_lock); in nfsd4_match_existing_connection()
3727 spin_lock(&clp->cl_lock); in nfsd4_sequence_check_conn()
3735 spin_unlock(&clp->cl_lock); in nfsd4_sequence_check_conn()
3742 spin_unlock(&clp->cl_lock); in nfsd4_sequence_check_conn()
4303 lockdep_assert_held(&clp->cl_lock); in hash_openowner()
4416 spin_lock(&clp->cl_lock); in alloc_init_open_stateowner()
4424 spin_unlock(&clp->cl_lock); in alloc_init_open_stateowner()
4442 spin_lock(&oo->oo_owner.so_client->cl_lock); in init_open_stateid()
4464 spin_unlock(&oo->oo_owner.so_client->cl_lock); in init_open_stateid()
5836 spin_lock(&cl->cl_lock); in nfsd4_validate_stateid()
5862 spin_unlock(&cl->cl_lock); in nfsd4_validate_stateid()
6175 spin_lock(&cl->cl_lock); in nfsd4_free_stateid()
6193 spin_unlock(&cl->cl_lock); in nfsd4_free_stateid()
6200 spin_unlock(&cl->cl_lock); in nfsd4_free_stateid()
6208 spin_unlock(&cl->cl_lock); in nfsd4_free_stateid()
6409 spin_lock(&clp->cl_lock); in nfsd4_close_open_stateid()
6415 spin_unlock(&clp->cl_lock); in nfsd4_close_open_stateid()
6420 spin_unlock(&clp->cl_lock); in nfsd4_close_open_stateid()
6620 lockdep_assert_held(&clp->cl_lock); in find_lockowner_str_locked()
6637 spin_lock(&clp->cl_lock); in find_lockowner_str()
6639 spin_unlock(&clp->cl_lock); in find_lockowner_str()
6682 spin_lock(&clp->cl_lock); in alloc_init_lock_stateowner()
6691 spin_unlock(&clp->cl_lock); in alloc_init_lock_stateowner()
6701 lockdep_assert_held(&ost->st_stid.sc_client->cl_lock); in find_lock_stateid()
6725 spin_lock(&clp->cl_lock); in init_lock_stateid()
6744 spin_unlock(&clp->cl_lock); in init_lock_stateid()
6747 spin_unlock(&clp->cl_lock); in init_lock_stateid()
6756 spin_unlock(&clp->cl_lock); in init_lock_stateid()
6772 spin_lock(&clp->cl_lock); in find_or_create_lock_stateid()
6774 spin_unlock(&clp->cl_lock); in find_or_create_lock_stateid()
7313 spin_lock(&clp->cl_lock); in nfsd4_release_lockowner()
7321 spin_unlock(&clp->cl_lock); in nfsd4_release_lockowner()
7330 spin_unlock(&clp->cl_lock); in nfsd4_release_lockowner()
7342 spin_unlock(&clp->cl_lock); in nfsd4_release_lockowner()