/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | attr.c | 42 sz = 3 * sizeof(long) * BITS_TO_LONGS(sc->mp->m_attr_geo->blksize); in xchk_setup_xattr_buf() 152 args.geo = context->dp->i_mount->m_attr_geo; in xchk_xattr_listent() 192 unsigned int mapsize = sc->mp->m_attr_geo->blksize; in xchk_xattr_set_map() 221 unsigned int mapsize = sc->mp->m_attr_geo->blksize; in xchk_xattr_check_freemap() 271 nameidx >= mp->m_attr_geo->blksize) { in xchk_xattr_entry() 335 bitmap_zero(usedmap, mp->m_attr_geo->blksize); in xchk_xattr_block() 350 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf); in xchk_xattr_block() 353 if (leafhdr.usedbytes > mp->m_attr_geo->blksize) in xchk_xattr_block() 355 if (leafhdr.firstused > mp->m_attr_geo->blksize) in xchk_xattr_block() 369 buf_end = (char *)bp->b_addr + mp->m_attr_geo in xchk_xattr_block() [all...] |
H A D | attr.h | 56 BITS_TO_LONGS(sc->mp->m_attr_geo->blksize); in xchk_xattr_freemap() 65 BITS_TO_LONGS(sc->mp->m_attr_geo->blksize); in xchk_xattr_dstmap()
|
H A D | dabtree.c | 497 ds.dargs.geo = mp->m_attr_geo; in xchk_da_btree()
|
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | attr.c | 77 bmp_sz = sizeof(long) * BITS_TO_LONGS(sc->mp->m_attr_geo->blksize); in xchk_setup_xattr_buf() 164 .geo = context->dp->i_mount->m_attr_geo, in xchk_xattr_listent() 256 unsigned int mapsize = sc->mp->m_attr_geo->blksize; in xchk_xattr_set_map() 283 unsigned int mapsize = sc->mp->m_attr_geo->blksize; in xchk_xattr_check_freemap() 333 nameidx >= mp->m_attr_geo->blksize) { in xchk_xattr_entry() 388 bitmap_zero(ab->usedmap, mp->m_attr_geo->blksize); in xchk_xattr_block() 403 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf); in xchk_xattr_block() 406 if (leafhdr.usedbytes > mp->m_attr_geo->blksize) in xchk_xattr_block() 408 if (leafhdr.firstused > mp->m_attr_geo->blksize) in xchk_xattr_block() 422 buf_end = (char *)bp->b_addr + mp->m_attr_geo in xchk_xattr_block() [all...] |
H A D | dabtree.c | 501 ds->dargs.geo = mp->m_attr_geo; in xchk_da_btree()
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_attr_inactive.c | 95 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_inactive() 211 XFS_FSB_TO_BB(mp, mp->m_attr_geo->fsbcount), 0, in xfs_attr3_node_inactive() 301 XFS_FSB_TO_BB(mp, mp->m_attr_geo->fsbcount), 0, &bp); in xfs_attr3_root_inactive()
|
H A D | xfs_attr_list.c | 324 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, in xfs_attr_node_list() 369 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf); in xfs_attr_node_list() 402 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_list_int()
|
H A D | xfs_mount.h | 91 struct xfs_da_geometry *m_attr_geo; /* attribute block geometry */ member
|
H A D | xfs_attr_item.c | 588 args->geo = mp->m_attr_geo; in xfs_attri_item_recover()
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_attr_inactive.c | 95 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_inactive() 210 XFS_FSB_TO_BB(mp, mp->m_attr_geo->fsbcount), 0, in xfs_attr3_node_inactive() 303 XFS_FSB_TO_BB(mp, mp->m_attr_geo->fsbcount), 0, &bp); in xfs_attr3_root_inactive()
|
H A D | xfs_attr_list.c | 324 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, in xfs_attr_node_list() 369 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf); in xfs_attr_node_list() 402 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_list_int()
|
H A D | xfs_mount.h | 75 struct xfs_da_geometry *m_attr_geo; /* attribute block geometry */ member
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_dir2.c | 104 mp->m_attr_geo = kmem_zalloc(sizeof(struct xfs_da_geometry), in xfs_da_mount() 106 if (!mp->m_dir_geo || !mp->m_attr_geo) { in xfs_da_mount() 108 kmem_free(mp->m_attr_geo); in xfs_da_mount() 152 dageo = mp->m_attr_geo; in xfs_da_mount() 169 kmem_free(mp->m_attr_geo); in xfs_da_unmount()
|
H A D | xfs_attr_remote.c | 126 int blksize = mp->m_attr_geo->blksize; in __xfs_attr3_rmt_read_verify() 188 int blksize = mp->m_attr_geo->blksize; in xfs_attr3_rmt_write_verify() 289 int blksize = mp->m_attr_geo->blksize; in xfs_attr_rmtval_copyout() 337 int blksize = mp->m_attr_geo->blksize; in xfs_attr_rmtval_copyin()
|
H A D | xfs_log_rlimit.c | 29 size = xfs_attr_leaf_entsize_local_max(mp->m_attr_geo->blksize) - in xfs_log_calc_max_attrsetm_res()
|
H A D | xfs_attr_leaf.c | 259 if (nameidx < leafhdr->firstused || nameidx >= mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify_entry() 305 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_verify() 315 if (ichdr.firstused > mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify() 333 buf_end = (char *)bp->b_addr + mp->m_attr_geo->blksize; in xfs_attr3_leaf_verify() 351 if (ichdr.freemap[i].base > mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify() 355 if (ichdr.freemap[i].size > mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify() 364 if (end > mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify() 987 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf); in xfs_attr_shortform_allfit() 1648 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr1, leaf1_bp->b_addr); in xfs_attr_leaf_order() 1649 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, in xfs_attr_leaf_order() [all...] |
H A D | xfs_attr.c | 125 args->geo = args->dp->i_mount->m_attr_geo; in xfs_attr_get() 408 args->geo = mp->m_attr_geo; in xfs_attr_set()
|
H A D | xfs_da_btree.c | 123 return mp->m_attr_geo->fsbcount; in xfs_dabuf_nfsb() 233 ichdr.count > mp->m_attr_geo->node_ents) in xfs_da3_node_verify()
|
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_dir2.c | 109 mp->m_attr_geo = kmem_zalloc(sizeof(struct xfs_da_geometry), in xfs_da_mount() 111 if (!mp->m_dir_geo || !mp->m_attr_geo) { in xfs_da_mount() 113 kmem_free(mp->m_attr_geo); in xfs_da_mount() 159 dageo = mp->m_attr_geo; in xfs_da_mount() 182 kmem_free(mp->m_attr_geo); in xfs_da_unmount()
|
H A D | xfs_attr_remote.c | 126 int blksize = mp->m_attr_geo->blksize; in __xfs_attr3_rmt_read_verify() 188 int blksize = mp->m_attr_geo->blksize; in xfs_attr3_rmt_write_verify() 289 int blksize = mp->m_attr_geo->blksize; in xfs_attr_rmtval_copyout() 337 int blksize = mp->m_attr_geo->blksize; in xfs_attr_rmtval_copyin()
|
H A D | xfs_attr_leaf.c | 261 if (nameidx < leafhdr->firstused || nameidx >= mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify_entry() 324 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_verify() 334 if (ichdr.firstused > mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify() 352 buf_end = (char *)bp->b_addr + mp->m_attr_geo->blksize; in xfs_attr3_leaf_verify() 370 if (ichdr.freemap[i].base > mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify() 374 if (ichdr.freemap[i].size > mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify() 383 if (end > mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify() 1019 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf); in xfs_attr_shortform_allfit() 1694 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr1, leaf1_bp->b_addr); in xfs_attr_leaf_order() 1695 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, in xfs_attr_leaf_order() [all...] |
H A D | xfs_log_rlimit.c | 30 size = xfs_attr_leaf_entsize_local_max(mp->m_attr_geo->blksize) - in xfs_log_calc_max_attrsetm_res()
|
H A D | xfs_attr.c | 267 args->geo = args->dp->i_mount->m_attr_geo; in xfs_attr_get() 981 args->geo = mp->m_attr_geo; in xfs_attr_set()
|
H A D | xfs_da_btree.c | 135 return mp->m_attr_geo->fsbcount; in xfs_dabuf_nfsb() 245 ichdr.count > mp->m_attr_geo->node_ents) in xfs_da3_node_verify()
|