Lines Matching refs:bitmask
1005 static void encode_getfattr(struct xdr_stream *xdr, const u32* bitmask, struct compound_hdr *hdr)
1007 encode_getattr_two(xdr, bitmask[0] & nfs4_fattr_bitmap[0],
1008 bitmask[1] & nfs4_fattr_bitmap[1], hdr);
1011 static void encode_fsinfo(struct xdr_stream *xdr, const u32* bitmask, struct compound_hdr *hdr)
1013 encode_getattr_two(xdr, bitmask[0] & nfs4_fsinfo_bitmap[0],
1014 bitmask[1] & nfs4_fsinfo_bitmap[1], hdr);
1017 static void encode_fs_locations(struct xdr_stream *xdr, const u32* bitmask, struct compound_hdr *hdr)
1019 encode_getattr_two(xdr, bitmask[0] & nfs4_fs_locations_bitmap[0],
1020 bitmask[1] & nfs4_fs_locations_bitmap[1], hdr);
1401 if (readdir->bitmask[1] & FATTR4_WORD1_MOUNTED_ON_FILEID)
1405 *p++ = cpu_to_be32(attrs[0] & readdir->bitmask[0]);
1406 *p = cpu_to_be32(attrs[1] & readdir->bitmask[1]);
1414 attrs[0] & readdir->bitmask[0],
1415 attrs[1] & readdir->bitmask[1]);
1756 encode_getfattr(&xdr, args->bitmask, &hdr);
1777 encode_getfattr(&xdr, args->bitmask, &hdr);
1797 encode_getfattr(&xdr, args->bitmask, &hdr);
1817 encode_getfattr(&xdr, args->bitmask, &hdr);
1839 encode_getfattr(&xdr, args->bitmask, &hdr);
1841 encode_getfattr(&xdr, args->bitmask, &hdr);
1863 encode_getfattr(&xdr, args->bitmask, &hdr);
1865 encode_getfattr(&xdr, args->bitmask, &hdr);
1887 encode_getfattr(&xdr, args->bitmask, &hdr);
1889 encode_getfattr(&xdr, args->bitmask, &hdr);
1916 encode_getfattr(&xdr, args->bitmask, &hdr);
1936 encode_getfattr(&xdr, args->bitmask, &hdr);
1958 encode_getfattr(&xdr, args->bitmask, &hdr);
1960 encode_getfattr(&xdr, args->bitmask, &hdr);
1998 encode_getfattr(&xdr, args->bitmask, &hdr);
2018 encode_getfattr(&xdr, args->bitmask, &hdr);
2179 encode_getfattr(&xdr, args->bitmask, &hdr);
2226 encode_getfattr(&xdr, args->bitmask, &hdr);
2246 encode_getfattr(&xdr, args->bitmask, &hdr);
2265 encode_fsinfo(&xdr, args->bitmask, &hdr);
2284 encode_getattr_one(&xdr, args->bitmask[0] & nfs4_pathconf_bitmap[0],
2304 encode_getattr_two(&xdr, args->bitmask[0] & nfs4_statfs_bitmap[0],
2305 args->bitmask[1] & nfs4_statfs_bitmap[1], &hdr);
2402 encode_getfattr(&xdr, args->bitmask, &hdr);
2424 encode_fs_locations(&xdr, args->bitmask, &hdr);
2675 static int decode_attr_supported(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *bitmask)
2678 decode_attr_bitmap(xdr, bitmask);
2681 bitmask[0] = bitmask[1] = 0;
2682 dprintk("%s: bitmask=%08x:%08x\n", __func__, bitmask[0], bitmask[1]);