Lines Matching refs:clp

553 	    !test_bit(NFSD4_CLIENT_RECLAIM_COMPLETE, &cstate->clp->cl_flags) &&
602 status = nfs4_check_open_reclaim(cstate->clp);
1302 static struct nfsd4_copy *nfsd4_get_copy(struct nfs4_client *clp)
1306 spin_lock(&clp->async_lock);
1307 if (!list_empty(&clp->async_copies)) {
1308 copy = list_first_entry(&clp->async_copies, struct nfsd4_copy,
1312 spin_unlock(&clp->async_lock);
1316 void nfsd4_shutdown_copy(struct nfs4_client *clp)
1320 while ((copy = nfsd4_get_copy(clp)) != NULL)
1817 copy->cp_clp = cstate->clp;
1891 find_async_copy_locked(struct nfs4_client *clp, stateid_t *stateid)
1895 lockdep_assert_held(&clp->async_lock);
1897 list_for_each_entry(copy, &clp->async_copies, copies) {
1906 find_async_copy(struct nfs4_client *clp, stateid_t *stateid)
1910 spin_lock(&clp->async_lock);
1911 copy = find_async_copy_locked(clp, stateid);
1914 spin_unlock(&clp->async_lock);
1925 struct nfs4_client *clp = cstate->clp;
1927 copy = find_async_copy(clp, &os->stateid);
1931 return manage_cpntf_state(nn, &os->stateid, clp, NULL);
1947 struct nfs4_client *clp = cstate->clp;
1964 memcpy(&cps->cp_p_clid, &clp->cl_clientid, sizeof(clientid_t));
2011 struct nfs4_client *clp = cstate->clp;
2014 spin_lock(&clp->async_lock);
2015 copy = find_async_copy_locked(clp, &os->stateid);
2024 spin_unlock(&clp->async_lock);
2248 rqstp, cstate->clp, gdp);
2714 rqstp->rq_lease_breaker = (void **)&cstate->clp;
3649 struct nfs4_op_map *allow = &cstate->clp->cl_spo_must_allow;
3662 cstate->clp->cl_mach_cred &&
3663 nfsd4_mach_creds_match(cstate->clp, rqstp)) {