Searched refs:freemap (Results 1 - 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_attr_leaf.c | 172 to->freemap[i].base = be16_to_cpu(hdr3->freemap[i].base); in xfs_attr3_leaf_hdr_from_disk() 173 to->freemap[i].size = be16_to_cpu(hdr3->freemap[i].size); in xfs_attr3_leaf_hdr_from_disk() 186 to->freemap[i].base = be16_to_cpu(from->hdr.freemap[i].base); in xfs_attr3_leaf_hdr_from_disk() 187 to->freemap[i].size = be16_to_cpu(from->hdr.freemap[i].size); in xfs_attr3_leaf_hdr_from_disk() 215 hdr3->freemap[i].base = cpu_to_be16(from->freemap[ in xfs_attr3_leaf_hdr_to_disk() [all...] |
H A D | xfs_da_format.h | 553 * bottom but are not packed. The freemap contains run-length-encoded entries 555 * smaller runs are dropped. When the freemap doesn't show enough space 608 xfs_attr_leaf_map_t freemap[XFS_ATTR_LEAF_MAPSIZE]; member 658 struct xfs_attr_leaf_map freemap[XFS_ATTR_LEAF_MAPSIZE]; member
|
H A D | xfs_attr_leaf.h | 38 } freemap[XFS_ATTR_LEAF_MAPSIZE]; member
|
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_attr_leaf.c | 174 to->freemap[i].base = be16_to_cpu(hdr3->freemap[i].base); in xfs_attr3_leaf_hdr_from_disk() 175 to->freemap[i].size = be16_to_cpu(hdr3->freemap[i].size); in xfs_attr3_leaf_hdr_from_disk() 188 to->freemap[i].base = be16_to_cpu(from->hdr.freemap[i].base); in xfs_attr3_leaf_hdr_from_disk() 189 to->freemap[i].size = be16_to_cpu(from->hdr.freemap[i].size); in xfs_attr3_leaf_hdr_from_disk() 217 hdr3->freemap[i].base = cpu_to_be16(from->freemap[ in xfs_attr3_leaf_hdr_to_disk() [all...] |
H A D | xfs_da_format.h | 554 * bottom but are not packed. The freemap contains run-length-encoded entries 556 * smaller runs are dropped. When the freemap doesn't show enough space 609 xfs_attr_leaf_map_t freemap[XFS_ATTR_LEAF_MAPSIZE]; member 669 struct xfs_attr_leaf_map freemap[XFS_ATTR_LEAF_MAPSIZE]; member
|
H A D | xfs_attr_leaf.h | 38 } freemap[XFS_ATTR_LEAF_MAPSIZE]; member
|
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | attr.c | 31 kvfree(ab->freemap); in xchk_xattr_buf_cleanup() 32 ab->freemap = NULL; in xchk_xattr_buf_cleanup() 93 ab->freemap = kvmalloc(bmp_sz, XCHK_GFP_FLAGS); in xchk_setup_xattr_buf() 94 if (!ab->freemap) in xchk_setup_xattr_buf() 274 * Check the leaf freemap from the usage bitmap. Returns false if the 275 * attr freemap has problems or points to used space. 286 /* Construct bitmap of freemap contents. */ in xchk_xattr_check_freemap() 287 bitmap_zero(ab->freemap, mapsize); in xchk_xattr_check_freemap() 289 if (!xchk_xattr_set_map(sc, ab->freemap, in xchk_xattr_check_freemap() 290 leafhdr->freemap[ in xchk_xattr_check_freemap() [all...] |
H A D | attr.h | 17 unsigned long *freemap; member
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | attr.c | 210 * Check the leaf freemap from the usage bitmap. Returns false if the 211 * attr freemap has problems or points to used space. 219 unsigned long *freemap = xchk_xattr_freemap(sc); in xchk_xattr_check_freemap() local 224 /* Construct bitmap of freemap contents. */ in xchk_xattr_check_freemap() 225 bitmap_zero(freemap, mapsize); in xchk_xattr_check_freemap() 227 if (!xchk_xattr_set_map(sc, freemap, in xchk_xattr_check_freemap() 228 leafhdr->freemap[i].base, in xchk_xattr_check_freemap() 229 leafhdr->freemap[i].size)) in xchk_xattr_check_freemap() 233 /* Look for bits that are set in freemap and are marked in use. */ in xchk_xattr_check_freemap() 234 return bitmap_and(dstmap, freemap, ma in xchk_xattr_check_freemap() [all...] |
Completed in 9 milliseconds