Searched refs:delegation_type (Results 1 – 3 of 3) sorted by relevance
143 delegation->type = res->delegation_type; in nfs_inode_reclaim_delegation()239 delegation->type = res->delegation_type; in nfs_inode_set_delegation()
1400 static inline void encode_delegation_type(struct xdr_stream *xdr, fmode_t delegation_type) in encode_delegation_type() argument1405 switch (delegation_type) { in encode_delegation_type()1458 encode_claim_previous(xdr, arg->u.delegation_type); in encode_open()4643 uint32_t delegation_type; in decode_delegation() local4649 delegation_type = be32_to_cpup(p); in decode_delegation()4650 if (delegation_type == NFS4_OPEN_DELEGATE_NONE) { in decode_delegation()4651 res->delegation_type = 0; in decode_delegation()4662 switch (delegation_type) { in decode_delegation()4664 res->delegation_type = FMODE_READ; in decode_delegation()4667 res->delegation_type = FMODE_WRITE|FMODE_READ; in decode_delegation()
1119 if (data->o_res.delegation_type != 0) { in nfs4_opendata_to_nfs4_state()1258 fmode_t delegation_type = 0; in _nfs4_do_open_reclaim() local1269 delegation_type = delegation->type; in _nfs4_do_open_reclaim()1271 opendata->o_arg.u.delegation_type = delegation_type; in _nfs4_do_open_reclaim()