Searched refs:freemap (Results 1 – 3 of 3) sorted by relevance
175 to->freemap[i].base = be16_to_cpu(hdr3->freemap[i].base); in xfs_attr3_leaf_hdr_from_disk()176 to->freemap[i].size = be16_to_cpu(hdr3->freemap[i].size); in xfs_attr3_leaf_hdr_from_disk()189 to->freemap[i].base = be16_to_cpu(from->hdr.freemap[i].base); in xfs_attr3_leaf_hdr_from_disk()190 to->freemap[i].size = be16_to_cpu(from->hdr.freemap[i].size); in xfs_attr3_leaf_hdr_from_disk()218 hdr3->freemap[i].base = cpu_to_be16(from->freemap[i].base); in xfs_attr3_leaf_hdr_to_disk()219 hdr3->freemap[i].size = cpu_to_be16(from->freemap[i].size); in xfs_attr3_leaf_hdr_to_disk()233 to->hdr.freemap[i].base = cpu_to_be16(from->freemap[i].base); in xfs_attr3_leaf_hdr_to_disk()234 to->hdr.freemap[i].size = cpu_to_be16(from->freemap[i].size); in xfs_attr3_leaf_hdr_to_disk()303 if (ichdr.freemap[i].base > mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify()305 if (ichdr.freemap[i].base & 0x3) in xfs_attr3_leaf_verify()[all …]
642 xfs_attr_leaf_map_t freemap[XFS_ATTR_LEAF_MAPSIZE]; member692 struct xfs_attr_leaf_map freemap[XFS_ATTR_LEAF_MAPSIZE]; member732 } freemap[XFS_ATTR_LEAF_MAPSIZE]; member
162 unsigned long *freemap; in xchk_xattr_check_freemap() local168 freemap = (unsigned long *)sc->buf + BITS_TO_LONGS(mapsize); in xchk_xattr_check_freemap()169 bitmap_zero(freemap, mapsize); in xchk_xattr_check_freemap()171 if (!xchk_xattr_set_map(sc, freemap, in xchk_xattr_check_freemap()172 leafhdr->freemap[i].base, in xchk_xattr_check_freemap()173 leafhdr->freemap[i].size)) in xchk_xattr_check_freemap()178 dstmap = freemap + BITS_TO_LONGS(mapsize); in xchk_xattr_check_freemap()179 return bitmap_and(dstmap, freemap, map, mapsize) == 0; in xchk_xattr_check_freemap()