Lines Matching refs:stateid
84 …on_claim_locks(struct nfs_open_context *ctx, struct nfs4_state *state, const nfs4_stateid *stateid) in nfs_delegation_claim_locks() argument
102 status = nfs4_lock_delegation_recall(fl, state, stateid); in nfs_delegation_claim_locks()
117 const nfs4_stateid *stateid, fmode_t type) in nfs_delegation_claim_opens() argument
136 if (!nfs4_stateid_match(&state->stateid, stateid)) in nfs_delegation_claim_opens()
144 err = nfs4_open_delegation_recall(ctx, state, stateid, type); in nfs_delegation_claim_opens()
146 err = nfs_delegation_claim_locks(ctx, state, stateid); in nfs_delegation_claim_opens()
177 nfs4_stateid_copy(&delegation->stateid, &res->delegation); in nfs_inode_reclaim_delegation()
206 &delegation->stateid, in nfs_do_return_delegation()
312 if (nfs4_stateid_is_newer(&update->stateid, &delegation->stateid)) { in nfs_update_inplace_delegation()
313 delegation->stateid.seqid = update->stateid.seqid; in nfs_update_inplace_delegation()
339 nfs4_stateid_copy(&delegation->stateid, &res->delegation); in nfs_inode_set_delegation()
353 if (nfs4_stateid_match_other(&old_delegation->stateid, in nfs_inode_set_delegation()
354 &delegation->stateid)) { in nfs_inode_set_delegation()
415 err = nfs_delegation_claim_opens(inode, &delegation->stateid, in nfs_end_delegation_return()
664 nfs_inode_find_state_and_recover(inode, &delegation->stateid); in nfs_remove_bad_delegation()
718 const nfs4_stateid *stateid) in nfs_async_inode_return_delegation() argument
728 if (stateid != NULL && in nfs_async_inode_return_delegation()
729 !clp->cl_mvops->match_stateid(&delegation->stateid, stateid)) in nfs_async_inode_return_delegation()
897 nfs4_stateid_copy(dst, &delegation->stateid); in nfs4_copy_delegation_stateid()