Home
last modified time | relevance | path

Searched refs:bmval (Results 1 – 5 of 5) sorted by relevance

/fs/nfsd/
Dnfs4xdr.c280 nfsd4_decode_bitmap4(struct nfsd4_compoundargs *argp, u32 *bmval, u32 bmlen) in nfsd4_decode_bitmap4() argument
284 status = xdr_stream_decode_uint32_array(argp->xdr, bmval, bmlen); in nfsd4_decode_bitmap4()
380 nfsd4_decode_fattr4(struct nfsd4_compoundargs *argp, u32 *bmval, u32 bmlen, in nfsd4_decode_fattr4() argument
389 status = nfsd4_decode_bitmap4(argp, bmval, bmlen); in nfsd4_decode_fattr4()
393 if (bmval[0] & ~NFSD_WRITEABLE_ATTRS_WORD0 in nfsd4_decode_fattr4()
394 || bmval[1] & ~NFSD_WRITEABLE_ATTRS_WORD1 in nfsd4_decode_fattr4()
395 || bmval[2] & ~NFSD_WRITEABLE_ATTRS_WORD2) { in nfsd4_decode_fattr4()
396 if (nfsd_attrs_supported(argp->minorversion, bmval)) in nfsd4_decode_fattr4()
405 if (bmval[0] & FATTR4_WORD0_SIZE) { in nfsd4_decode_fattr4()
413 if (bmval[0] & FATTR4_WORD0_ACL) { in nfsd4_decode_fattr4()
[all …]
Dnfsd.h459 static inline bool nfsd_attrs_supported(u32 minorversion, const u32 *bmval) in nfsd_attrs_supported() argument
461 return bmval_is_subset(bmval, nfsd_suppattrs[minorversion]); in nfsd_attrs_supported()
Dnfs4proc.c83 u32 *bmval, u32 *writable) in check_attr_support() argument
88 if (!nfsd_attrs_supported(cstate->minorversion, bmval)) in check_attr_support()
90 if ((bmval[0] & FATTR4_WORD0_ACL) && !IS_POSIXACL(d_inode(dentry))) in check_attr_support()
92 if ((bmval[2] & FATTR4_WORD2_SECURITY_LABEL) && in check_attr_support()
95 if (writable && !bmval_is_subset(bmval, writable)) in check_attr_support()
97 if (writable && (bmval[2] & FATTR4_WORD2_MODE_UMASK) && in check_attr_support()
98 (bmval[1] & FATTR4_WORD1_MODE)) in check_attr_support()
Dxdr4.h797 u32 *bmval, struct svc_rqst *, int ignore_crossmnt);
/fs/nfs/
Dnfs4xdr.c1093 uint32_t bmval[3] = { 0 }; in encode_attrs() local
1099 bmval[0] |= FATTR4_WORD0_SIZE; in encode_attrs()
1104 bmval[2] |= FATTR4_WORD2_MODE_UMASK; in encode_attrs()
1107 bmval[1] |= FATTR4_WORD1_MODE; in encode_attrs()
1121 bmval[1] |= FATTR4_WORD1_OWNER; in encode_attrs()
1134 bmval[1] |= FATTR4_WORD1_OWNER_GROUP; in encode_attrs()
1139 bmval[1] |= FATTR4_WORD1_TIME_ACCESS_SET; in encode_attrs()
1142 bmval[1] |= FATTR4_WORD1_TIME_ACCESS_SET; in encode_attrs()
1148 bmval[1] |= FATTR4_WORD1_TIME_MODIFY_SET; in encode_attrs()
1151 bmval[1] |= FATTR4_WORD1_TIME_MODIFY_SET; in encode_attrs()
[all …]