Lines Matching refs:bmval0
2324 static __be32 fattr_handle_absent_fs(u32 *bmval0, u32 *bmval1, u32 *bmval2, u32 *rdattr_err) in fattr_handle_absent_fs() argument
2327 if (*bmval0 & ~WORD0_ABSENT_FS_ATTRS || in fattr_handle_absent_fs()
2329 if (*bmval0 & FATTR4_WORD0_RDATTR_ERROR || in fattr_handle_absent_fs()
2330 *bmval0 & FATTR4_WORD0_FS_LOCATIONS) in fattr_handle_absent_fs()
2335 *bmval0 &= WORD0_ABSENT_FS_ATTRS; in fattr_handle_absent_fs()
2358 nfsd4_encode_bitmap(struct xdr_stream *xdr, u32 bmval0, u32 bmval1, u32 bmval2) in nfsd4_encode_bitmap() argument
2367 *p++ = cpu_to_be32(bmval0); in nfsd4_encode_bitmap()
2375 *p++ = cpu_to_be32(bmval0); in nfsd4_encode_bitmap()
2382 *p++ = cpu_to_be32(bmval0); in nfsd4_encode_bitmap()
2400 u32 bmval0 = bmval[0]; in nfsd4_encode_fattr() local
2433 status = fattr_handle_absent_fs(&bmval0, &bmval1, &bmval2, &rdattr_err); in nfsd4_encode_fattr()
2441 if ((bmval0 & (FATTR4_WORD0_FILES_AVAIL | FATTR4_WORD0_FILES_FREE | in nfsd4_encode_fattr()
2449 if ((bmval0 & (FATTR4_WORD0_FILEHANDLE | FATTR4_WORD0_FSID)) && !fhp) { in nfsd4_encode_fattr()
2460 if (bmval0 & FATTR4_WORD0_ACL) { in nfsd4_encode_fattr()
2463 bmval0 &= ~FATTR4_WORD0_ACL; in nfsd4_encode_fattr()
2473 bmval0 & FATTR4_WORD0_SUPPORTED_ATTRS) { in nfsd4_encode_fattr()
2489 status = nfsd4_encode_bitmap(xdr, bmval0, bmval1, bmval2); in nfsd4_encode_fattr()
2499 if (bmval0 & FATTR4_WORD0_SUPPORTED_ATTRS) { in nfsd4_encode_fattr()
2525 if (bmval0 & FATTR4_WORD0_TYPE) { in nfsd4_encode_fattr()
2536 if (bmval0 & FATTR4_WORD0_FH_EXPIRE_TYPE) { in nfsd4_encode_fattr()
2546 if (bmval0 & FATTR4_WORD0_CHANGE) { in nfsd4_encode_fattr()
2552 if (bmval0 & FATTR4_WORD0_SIZE) { in nfsd4_encode_fattr()
2558 if (bmval0 & FATTR4_WORD0_LINK_SUPPORT) { in nfsd4_encode_fattr()
2564 if (bmval0 & FATTR4_WORD0_SYMLINK_SUPPORT) { in nfsd4_encode_fattr()
2570 if (bmval0 & FATTR4_WORD0_NAMED_ATTR) { in nfsd4_encode_fattr()
2576 if (bmval0 & FATTR4_WORD0_FSID) { in nfsd4_encode_fattr()
2600 if (bmval0 & FATTR4_WORD0_UNIQUE_HANDLES) { in nfsd4_encode_fattr()
2606 if (bmval0 & FATTR4_WORD0_LEASE_TIME) { in nfsd4_encode_fattr()
2612 if (bmval0 & FATTR4_WORD0_RDATTR_ERROR) { in nfsd4_encode_fattr()
2618 if (bmval0 & FATTR4_WORD0_ACL) { in nfsd4_encode_fattr()
2648 if (bmval0 & FATTR4_WORD0_ACLSUPPORT) { in nfsd4_encode_fattr()
2655 if (bmval0 & FATTR4_WORD0_CANSETTIME) { in nfsd4_encode_fattr()
2661 if (bmval0 & FATTR4_WORD0_CASE_INSENSITIVE) { in nfsd4_encode_fattr()
2667 if (bmval0 & FATTR4_WORD0_CASE_PRESERVING) { in nfsd4_encode_fattr()
2673 if (bmval0 & FATTR4_WORD0_CHOWN_RESTRICTED) { in nfsd4_encode_fattr()
2679 if (bmval0 & FATTR4_WORD0_FILEHANDLE) { in nfsd4_encode_fattr()
2686 if (bmval0 & FATTR4_WORD0_FILEID) { in nfsd4_encode_fattr()
2692 if (bmval0 & FATTR4_WORD0_FILES_AVAIL) { in nfsd4_encode_fattr()
2698 if (bmval0 & FATTR4_WORD0_FILES_FREE) { in nfsd4_encode_fattr()
2704 if (bmval0 & FATTR4_WORD0_FILES_TOTAL) { in nfsd4_encode_fattr()
2710 if (bmval0 & FATTR4_WORD0_FS_LOCATIONS) { in nfsd4_encode_fattr()
2715 if (bmval0 & FATTR4_WORD0_HOMOGENEOUS) { in nfsd4_encode_fattr()
2721 if (bmval0 & FATTR4_WORD0_MAXFILESIZE) { in nfsd4_encode_fattr()
2727 if (bmval0 & FATTR4_WORD0_MAXLINK) { in nfsd4_encode_fattr()
2733 if (bmval0 & FATTR4_WORD0_MAXNAME) { in nfsd4_encode_fattr()
2739 if (bmval0 & FATTR4_WORD0_MAXREAD) { in nfsd4_encode_fattr()
2745 if (bmval0 & FATTR4_WORD0_MAXWRITE) { in nfsd4_encode_fattr()