Lines Matching refs:cl_lock

547 	lockdep_assert_held(&clp->cl_lock);  in find_openstateowner_str_locked()
565 spin_lock(&clp->cl_lock); in find_openstateowner_str()
567 spin_unlock(&clp->cl_lock); in find_openstateowner_str()
936 spin_lock(&cl->cl_lock); in nfs4_alloc_stid()
939 spin_unlock(&cl->cl_lock); in nfs4_alloc_stid()
1192 might_lock(&clp->cl_lock); in nfs4_put_stid()
1194 if (!refcount_dec_and_lock(&s->sc_count, &clp->cl_lock)) { in nfs4_put_stid()
1200 spin_unlock(&clp->cl_lock); in nfs4_put_stid()
1359 spin_lock(&clp->cl_lock); in revoke_delegation()
1361 spin_unlock(&clp->cl_lock); in revoke_delegation()
1441 might_lock(&clp->cl_lock); in nfs4_put_stateowner()
1443 if (!atomic_dec_and_lock(&sop->so_count, &clp->cl_lock)) in nfs4_put_stateowner()
1446 spin_unlock(&clp->cl_lock); in nfs4_put_stateowner()
1460 lockdep_assert_held(&stp->st_stateowner->so_client->cl_lock); in unhash_ol_stateid()
1510 lockdep_assert_held(&clp->cl_lock); in put_ol_stateid_locked()
1525 lockdep_assert_held(&stp->st_stid.sc_client->cl_lock); in unhash_lock_stateid()
1539 spin_lock(&clp->cl_lock); in release_lock_stateid()
1541 spin_unlock(&clp->cl_lock); in release_lock_stateid()
1550 lockdep_assert_held(&clp->cl_lock); in unhash_lockowner_locked()
1583 lockdep_assert_held(&open_stp->st_stid.sc_client->cl_lock); in release_open_stateid_locks()
1596 lockdep_assert_held(&stp->st_stid.sc_client->cl_lock); in unhash_open_stateid()
1608 spin_lock(&stp->st_stid.sc_client->cl_lock); in release_open_stateid()
1611 spin_unlock(&stp->st_stid.sc_client->cl_lock); in release_open_stateid()
1619 lockdep_assert_held(&clp->cl_lock); in unhash_openowner_locked()
1650 spin_lock(&clp->cl_lock); in release_openowner()
1658 spin_unlock(&clp->cl_lock); in release_openowner()
1859 spin_lock(&clp->cl_lock); in nfsd4_conn_lost()
1865 spin_unlock(&clp->cl_lock); in nfsd4_conn_lost()
1892 spin_lock(&clp->cl_lock); in nfsd4_hash_conn()
1894 spin_unlock(&clp->cl_lock); in nfsd4_hash_conn()
1931 spin_lock(&clp->cl_lock); in nfsd4_del_conns()
1935 spin_unlock(&clp->cl_lock); in nfsd4_del_conns()
1940 spin_lock(&clp->cl_lock); in nfsd4_del_conns()
1942 spin_unlock(&clp->cl_lock); in nfsd4_del_conns()
1975 spin_lock(&clp->cl_lock); in init_session()
1977 spin_unlock(&clp->cl_lock); in init_session()
2045 spin_lock(&ses->se_client->cl_lock); in unhash_session()
2047 spin_unlock(&ses->se_client->cl_lock); in unhash_session()
2110 spin_lock_init(&clp->cl_lock); in alloc_client()
2180 spin_lock(&clp->cl_lock); in unhash_client_locked()
2183 spin_unlock(&clp->cl_lock); in unhash_client_locked()
2453 spin_lock(&cl->cl_lock); in find_stateid_by_type()
2461 spin_unlock(&cl->cl_lock); in find_stateid_by_type()
2541 __acquires(&clp->cl_lock) in states_start()
2547 spin_lock(&clp->cl_lock); in states_start()
2567 __releases(&clp->cl_lock) in states_stop()
2571 spin_unlock(&clp->cl_lock); in states_stop()
3741 spin_lock(&clp->cl_lock); in nfsd4_match_existing_connection()
3755 spin_unlock(&clp->cl_lock); in nfsd4_match_existing_connection()
3865 spin_lock(&clp->cl_lock); in nfsd4_sequence_check_conn()
3873 spin_unlock(&clp->cl_lock); in nfsd4_sequence_check_conn()
3880 spin_unlock(&clp->cl_lock); in nfsd4_sequence_check_conn()
4483 lockdep_assert_held(&clp->cl_lock); in hash_openowner()
4596 spin_lock(&clp->cl_lock); in alloc_init_open_stateowner()
4604 spin_unlock(&clp->cl_lock); in alloc_init_open_stateowner()
4622 spin_lock(&oo->oo_owner.so_client->cl_lock); in init_open_stateid()
4644 spin_unlock(&oo->oo_owner.so_client->cl_lock); in init_open_stateid()
5980 spin_lock(&clp->cl_lock); in nfs4_anylock_blockers()
5988 spin_unlock(&clp->cl_lock); in nfs4_anylock_blockers()
5993 spin_unlock(&clp->cl_lock); in nfs4_anylock_blockers()
6346 spin_lock(&cl->cl_lock); in nfsd4_validate_stateid()
6372 spin_unlock(&cl->cl_lock); in nfsd4_validate_stateid()
6701 spin_lock(&cl->cl_lock); in nfsd4_free_stateid()
6719 spin_unlock(&cl->cl_lock); in nfsd4_free_stateid()
6726 spin_unlock(&cl->cl_lock); in nfsd4_free_stateid()
6734 spin_unlock(&cl->cl_lock); in nfsd4_free_stateid()
6945 spin_lock(&clp->cl_lock); in nfsd4_close_open_stateid()
6951 spin_unlock(&clp->cl_lock); in nfsd4_close_open_stateid()
6956 spin_unlock(&clp->cl_lock); in nfsd4_close_open_stateid()
7184 lockdep_assert_held(&clp->cl_lock); in find_lockowner_str_locked()
7201 spin_lock(&clp->cl_lock); in find_lockowner_str()
7203 spin_unlock(&clp->cl_lock); in find_lockowner_str()
7246 spin_lock(&clp->cl_lock); in alloc_init_lock_stateowner()
7255 spin_unlock(&clp->cl_lock); in alloc_init_lock_stateowner()
7265 lockdep_assert_held(&ost->st_stid.sc_client->cl_lock); in find_lock_stateid()
7289 spin_lock(&clp->cl_lock); in init_lock_stateid()
7308 spin_unlock(&clp->cl_lock); in init_lock_stateid()
7311 spin_unlock(&clp->cl_lock); in init_lock_stateid()
7320 spin_unlock(&clp->cl_lock); in init_lock_stateid()
7336 spin_lock(&clp->cl_lock); in find_or_create_lock_stateid()
7338 spin_unlock(&clp->cl_lock); in find_or_create_lock_stateid()
7904 spin_lock(&clp->cl_lock); in nfsd4_release_lockowner()
7907 spin_unlock(&clp->cl_lock); in nfsd4_release_lockowner()
7911 spin_unlock(&clp->cl_lock); in nfsd4_release_lockowner()
7923 spin_unlock(&clp->cl_lock); in nfsd4_release_lockowner()