Searched refs:bmval (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/fs/nfsd/ |
D | nfs4xdr.c | 293 nfsd4_decode_bitmap(struct nfsd4_compoundargs *argp, u32 *bmval) in nfsd4_decode_bitmap() argument 298 bmval[0] = 0; in nfsd4_decode_bitmap() 299 bmval[1] = 0; in nfsd4_decode_bitmap() 300 bmval[2] = 0; in nfsd4_decode_bitmap() 309 bmval[0] = be32_to_cpup(p++); in nfsd4_decode_bitmap() 311 bmval[1] = be32_to_cpup(p++); in nfsd4_decode_bitmap() 313 bmval[2] = be32_to_cpup(p++); in nfsd4_decode_bitmap() 319 nfsd4_decode_fattr(struct nfsd4_compoundargs *argp, u32 *bmval, in nfsd4_decode_fattr() argument 330 if ((status = nfsd4_decode_bitmap(argp, bmval))) in nfsd4_decode_fattr() 333 if (bmval[0] & ~NFSD_WRITEABLE_ATTRS_WORD0 in nfsd4_decode_fattr() [all …]
|
D | nfs4proc.c | 54 nfsd4_security_inode_setsecctx(struct svc_fh *resfh, struct xdr_netobj *label, u32 *bmval) in nfsd4_security_inode_setsecctx() argument 70 bmval[2] &= ~FATTR4_WORD2_SECURITY_LABEL; in nfsd4_security_inode_setsecctx() 76 nfsd4_security_inode_setsecctx(struct svc_fh *resfh, struct xdr_netobj *label, u32 *bmval) in nfsd4_security_inode_setsecctx() argument 96 u32 *bmval, u32 *writable) in check_attr_support() argument 101 if (!nfsd_attrs_supported(cstate->minorversion, bmval)) in check_attr_support() 103 if ((bmval[0] & FATTR4_WORD0_ACL) && !IS_POSIXACL(d_inode(dentry))) in check_attr_support() 105 if ((bmval[2] & FATTR4_WORD2_SECURITY_LABEL) && in check_attr_support() 108 if (writable && !bmval_is_subset(bmval, writable)) in check_attr_support() 110 if (writable && (bmval[2] & FATTR4_WORD2_MODE_UMASK) && in check_attr_support() 111 (bmval[1] & FATTR4_WORD1_MODE)) in check_attr_support() [all …]
|
D | nfsd.h | 376 static inline bool nfsd_attrs_supported(u32 minorversion, const u32 *bmval) in nfsd_attrs_supported() argument 378 return bmval_is_subset(bmval, nfsd_suppattrs[minorversion]); in nfsd_attrs_supported()
|
D | xdr4.h | 711 u32 *bmval, struct svc_rqst *, int ignore_crossmnt);
|
/Linux-v4.19/fs/nfs/ |
D | nfs4xdr.c | 1079 uint32_t bmval[3] = { 0 }; in encode_attrs() local 1085 bmval[0] |= FATTR4_WORD0_SIZE; in encode_attrs() 1090 bmval[2] |= FATTR4_WORD2_MODE_UMASK; in encode_attrs() 1093 bmval[1] |= FATTR4_WORD1_MODE; in encode_attrs() 1107 bmval[1] |= FATTR4_WORD1_OWNER; in encode_attrs() 1120 bmval[1] |= FATTR4_WORD1_OWNER_GROUP; in encode_attrs() 1125 bmval[1] |= FATTR4_WORD1_TIME_ACCESS_SET; in encode_attrs() 1128 bmval[1] |= FATTR4_WORD1_TIME_ACCESS_SET; in encode_attrs() 1134 bmval[1] |= FATTR4_WORD1_TIME_MODIFY_SET; in encode_attrs() 1137 bmval[1] |= FATTR4_WORD1_TIME_MODIFY_SET; in encode_attrs() [all …]
|