Home
last modified time | relevance | path

Searched refs:delegation_type (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/fs/nfs/
Ddelegation.c143 delegation->type = res->delegation_type; in nfs_inode_reclaim_delegation()
239 delegation->type = res->delegation_type; in nfs_inode_set_delegation()
Dnfs4xdr.c1400 static inline void encode_delegation_type(struct xdr_stream *xdr, fmode_t delegation_type) in encode_delegation_type() argument
1405 switch (delegation_type) { in encode_delegation_type()
1458 encode_claim_previous(xdr, arg->u.delegation_type); in encode_open()
4657 uint32_t delegation_type; in decode_delegation() local
4663 delegation_type = be32_to_cpup(p); in decode_delegation()
4664 if (delegation_type == NFS4_OPEN_DELEGATE_NONE) { in decode_delegation()
4665 res->delegation_type = 0; in decode_delegation()
4676 switch (delegation_type) { in decode_delegation()
4678 res->delegation_type = FMODE_READ; in decode_delegation()
4681 res->delegation_type = FMODE_WRITE|FMODE_READ; in decode_delegation()
Dnfs4proc.c1118 if (data->o_res.delegation_type != 0) { in nfs4_opendata_to_nfs4_state()
1257 fmode_t delegation_type = 0; in _nfs4_do_open_reclaim() local
1268 delegation_type = delegation->type; in _nfs4_do_open_reclaim()
1270 opendata->o_arg.u.delegation_type = delegation_type; in _nfs4_do_open_reclaim()
/linux-3.4.99/include/linux/
Dnfs_xdr.h336 fmode_t delegation_type; /* CLAIM_PREVIOUS */ member
355 fmode_t delegation_type; member