Lines Matching defs:state
145 static int nfs_delegation_claim_locks(struct nfs4_state *state, const nfs4_stateid *stateid)
147 struct inode *inode = state->inode;
160 if (nfs_file_open_context(fl->fl_file)->state != state)
163 status = nfs4_lock_delegation_recall(fl, state, stateid);
183 struct nfs4_state *state;
190 state = ctx->state;
191 if (state == NULL)
193 if (!test_bit(NFS_DELEGATED_STATE, &state->flags))
195 if (!nfs4_valid_open_stateid(state))
197 if (!nfs4_stateid_match(&state->stateid, stateid))
202 sp = state->owner;
206 err = nfs4_open_delegation_recall(ctx, state, stateid);
208 err = nfs_delegation_claim_locks(state, stateid);
550 * Guard against state recovery
701 * Note that this function is designed to be called by the state
703 * since that could deadlock in case of a state recovery error.
1041 * @stateid: state ID information
1106 * @clp: client state handle
1266 * Helper for handling "recallable state revoked" status from server.
1369 * @clp: client state handle
1419 * nfs4_copy_delegation_stateid - Copy inode's state ID information