Lines Matching refs:cl_lock

376 	lockdep_assert_held(&clp->cl_lock);  in find_openstateowner_str_locked()
394 spin_lock(&clp->cl_lock); in find_openstateowner_str()
396 spin_unlock(&clp->cl_lock); in find_openstateowner_str()
724 spin_lock(&cl->cl_lock); in nfs4_alloc_stid()
727 spin_unlock(&cl->cl_lock); in nfs4_alloc_stid()
974 might_lock(&clp->cl_lock); in nfs4_put_stid()
976 if (!refcount_dec_and_lock(&s->sc_count, &clp->cl_lock)) { in nfs4_put_stid()
982 spin_unlock(&clp->cl_lock); in nfs4_put_stid()
1139 spin_lock(&clp->cl_lock); in revoke_delegation()
1141 spin_unlock(&clp->cl_lock); in revoke_delegation()
1323 might_lock(&clp->cl_lock); in nfs4_put_stateowner()
1325 if (!atomic_dec_and_lock(&sop->so_count, &clp->cl_lock)) in nfs4_put_stateowner()
1328 spin_unlock(&clp->cl_lock); in nfs4_put_stateowner()
1342 lockdep_assert_held(&stp->st_stateowner->so_client->cl_lock); in unhash_ol_stateid()
1392 lockdep_assert_held(&clp->cl_lock); in put_ol_stateid_locked()
1407 lockdep_assert_held(&stp->st_stid.sc_client->cl_lock); in unhash_lock_stateid()
1421 spin_lock(&clp->cl_lock); in release_lock_stateid()
1423 spin_unlock(&clp->cl_lock); in release_lock_stateid()
1432 lockdep_assert_held(&clp->cl_lock); in unhash_lockowner_locked()
1465 lockdep_assert_held(&open_stp->st_stid.sc_client->cl_lock); in release_open_stateid_locks()
1478 lockdep_assert_held(&stp->st_stid.sc_client->cl_lock); in unhash_open_stateid()
1490 spin_lock(&stp->st_stid.sc_client->cl_lock); in release_open_stateid()
1493 spin_unlock(&stp->st_stid.sc_client->cl_lock); in release_open_stateid()
1501 lockdep_assert_held(&clp->cl_lock); in unhash_openowner_locked()
1532 spin_lock(&clp->cl_lock); in release_openowner()
1540 spin_unlock(&clp->cl_lock); in release_openowner()
1740 spin_lock(&clp->cl_lock); in nfsd4_conn_lost()
1746 spin_unlock(&clp->cl_lock); in nfsd4_conn_lost()
1773 spin_lock(&clp->cl_lock); in nfsd4_hash_conn()
1775 spin_unlock(&clp->cl_lock); in nfsd4_hash_conn()
1812 spin_lock(&clp->cl_lock); in nfsd4_del_conns()
1816 spin_unlock(&clp->cl_lock); in nfsd4_del_conns()
1821 spin_lock(&clp->cl_lock); in nfsd4_del_conns()
1823 spin_unlock(&clp->cl_lock); in nfsd4_del_conns()
1856 spin_lock(&clp->cl_lock); in init_session()
1858 spin_unlock(&clp->cl_lock); in init_session()
1926 spin_lock(&ses->se_client->cl_lock); in unhash_session()
1928 spin_unlock(&ses->se_client->cl_lock); in unhash_session()
1983 spin_lock_init(&clp->cl_lock); in alloc_client()
2052 spin_lock(&clp->cl_lock); in unhash_client_locked()
2055 spin_unlock(&clp->cl_lock); in unhash_client_locked()
2322 spin_lock(&cl->cl_lock); in find_stateid_by_type()
2330 spin_unlock(&cl->cl_lock); in find_stateid_by_type()
2392 __acquires(&clp->cl_lock) in states_start()
2398 spin_lock(&clp->cl_lock); in states_start()
2418 __releases(&clp->cl_lock) in states_stop()
2422 spin_unlock(&clp->cl_lock); in states_stop()
3530 spin_lock(&clp->cl_lock); in nfsd4_match_existing_connection()
3544 spin_unlock(&clp->cl_lock); in nfsd4_match_existing_connection()
3654 spin_lock(&clp->cl_lock); in nfsd4_sequence_check_conn()
3662 spin_unlock(&clp->cl_lock); in nfsd4_sequence_check_conn()
3669 spin_unlock(&clp->cl_lock); in nfsd4_sequence_check_conn()
4218 lockdep_assert_held(&clp->cl_lock); in hash_openowner()
4331 spin_lock(&clp->cl_lock); in alloc_init_open_stateowner()
4339 spin_unlock(&clp->cl_lock); in alloc_init_open_stateowner()
4357 spin_lock(&oo->oo_owner.so_client->cl_lock); in init_open_stateid()
4379 spin_unlock(&oo->oo_owner.so_client->cl_lock); in init_open_stateid()
5646 spin_lock(&cl->cl_lock); in nfsd4_validate_stateid()
5672 spin_unlock(&cl->cl_lock); in nfsd4_validate_stateid()
5980 spin_lock(&cl->cl_lock); in nfsd4_free_stateid()
5998 spin_unlock(&cl->cl_lock); in nfsd4_free_stateid()
6005 spin_unlock(&cl->cl_lock); in nfsd4_free_stateid()
6013 spin_unlock(&cl->cl_lock); in nfsd4_free_stateid()
6214 spin_lock(&clp->cl_lock); in nfsd4_close_open_stateid()
6220 spin_unlock(&clp->cl_lock); in nfsd4_close_open_stateid()
6225 spin_unlock(&clp->cl_lock); in nfsd4_close_open_stateid()
6432 lockdep_assert_held(&clp->cl_lock); in find_lockowner_str_locked()
6449 spin_lock(&clp->cl_lock); in find_lockowner_str()
6451 spin_unlock(&clp->cl_lock); in find_lockowner_str()
6494 spin_lock(&clp->cl_lock); in alloc_init_lock_stateowner()
6503 spin_unlock(&clp->cl_lock); in alloc_init_lock_stateowner()
6513 lockdep_assert_held(&ost->st_stid.sc_client->cl_lock); in find_lock_stateid()
6537 spin_lock(&clp->cl_lock); in init_lock_stateid()
6556 spin_unlock(&clp->cl_lock); in init_lock_stateid()
6559 spin_unlock(&clp->cl_lock); in init_lock_stateid()
6568 spin_unlock(&clp->cl_lock); in init_lock_stateid()
6584 spin_lock(&clp->cl_lock); in find_or_create_lock_stateid()
6586 spin_unlock(&clp->cl_lock); in find_or_create_lock_stateid()
7123 spin_lock(&clp->cl_lock); in nfsd4_release_lockowner()
7131 spin_unlock(&clp->cl_lock); in nfsd4_release_lockowner()
7140 spin_unlock(&clp->cl_lock); in nfsd4_release_lockowner()
7152 spin_unlock(&clp->cl_lock); in nfsd4_release_lockowner()