Searched refs:bmval (Results 1 – 5 of 5) sorted by relevance
/linux/fs/nfsd/ |
A D | nfs4xdr.c | 402 if (bmval[0] & ~NFSD_WRITEABLE_ATTRS_WORD0 in nfsd4_decode_fattr4() 414 if (bmval[0] & FATTR4_WORD0_SIZE) { in nfsd4_decode_fattr4() 422 if (bmval[0] & FATTR4_WORD0_ACL) { in nfsd4_decode_fattr4() 428 if (bmval[1] & FATTR4_WORD1_MODE) { in nfsd4_decode_fattr4() 437 if (bmval[1] & FATTR4_WORD1_OWNER) { in nfsd4_decode_fattr4() 510 if (bmval[2] & FATTR4_WORD2_MODE_UMASK) { in nfsd4_decode_fattr4() 2824 struct dentry *dentry, u32 *bmval, in nfsd4_encode_fattr() argument 2827 u32 bmval0 = bmval[0]; in nfsd4_encode_fattr() 2828 u32 bmval1 = bmval[1]; in nfsd4_encode_fattr() 2829 u32 bmval2 = bmval[2]; in nfsd4_encode_fattr() [all …]
|
A D | nfs4proc.c | 69 nfsd4_security_inode_setsecctx(struct svc_fh *resfh, struct xdr_netobj *label, u32 *bmval) in nfsd4_security_inode_setsecctx() argument 85 bmval[2] &= ~FATTR4_WORD2_SECURITY_LABEL; in nfsd4_security_inode_setsecctx() 111 u32 *bmval, u32 *writable) in check_attr_support() argument 116 if (!nfsd_attrs_supported(cstate->minorversion, bmval)) in check_attr_support() 118 if ((bmval[0] & FATTR4_WORD0_ACL) && !IS_POSIXACL(d_inode(dentry))) in check_attr_support() 120 if ((bmval[2] & FATTR4_WORD2_SECURITY_LABEL) && in check_attr_support() 123 if (writable && !bmval_is_subset(bmval, writable)) in check_attr_support() 125 if (writable && (bmval[2] & FATTR4_WORD2_MODE_UMASK) && in check_attr_support() 126 (bmval[1] & FATTR4_WORD1_MODE)) in check_attr_support() 165 struct nfs4_acl *acl, u32 *bmval) in do_set_nfs4_acl() argument [all …]
|
A D | nfsd.h | 445 static inline bool nfsd_attrs_supported(u32 minorversion, const u32 *bmval) in nfsd_attrs_supported() argument 447 return bmval_is_subset(bmval, nfsd_suppattrs[minorversion]); in nfsd_attrs_supported()
|
A D | xdr4.h | 768 u32 *bmval, struct svc_rqst *, int ignore_crossmnt);
|
/linux/fs/nfs/ |
A D | nfs4xdr.c | 1093 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() 1161 xdr_encode_bitmap4(xdr, bmval, ARRAY_SIZE(bmval)); in encode_attrs() 1164 if (bmval[0] & FATTR4_WORD0_SIZE) in encode_attrs() 1166 if (bmval[1] & FATTR4_WORD1_MODE) in encode_attrs() 1168 if (bmval[1] & FATTR4_WORD1_OWNER) in encode_attrs() [all …]
|
Completed in 41 milliseconds