/linux/fs/xfs/scrub/ |
H A D | attr.c | 83 bmp_sz = sizeof(long) * BITS_TO_LONGS(sc->mp->m_attr_geo->blksize); in xchk_setup_xattr_buf() 178 .geo = sc->mp->m_attr_geo, in xchk_xattr_actor() 273 unsigned int mapsize = sc->mp->m_attr_geo->blksize; in xchk_xattr_set_map() 300 unsigned int mapsize = sc->mp->m_attr_geo->blksize; in xchk_xattr_check_freemap() 350 nameidx >= mp->m_attr_geo->blksize) { in xchk_xattr_entry() 405 bitmap_zero(ab->usedmap, mp->m_attr_geo->blksize); in xchk_xattr_block() 420 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf); in xchk_xattr_block() 434 if (leafhdr.usedbytes > mp->m_attr_geo->blksize) in xchk_xattr_block() 436 if (leafhdr.firstused > mp->m_attr_geo->blksize) in xchk_xattr_block() 452 buf_end = (char *)bp->b_addr + mp->m_attr_geo->blksize; in xchk_xattr_block() [all …]
|
H A D | attr_repair.c | 331 .geo = rx->sc->mp->m_attr_geo, in xrep_xattr_salvage_remote_attr() 408 bitmap_zero(ab->usedmap, mp->m_attr_geo->blksize); in xrep_xattr_recover_leaf() 412 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf); in xrep_xattr_recover_leaf() 417 buf_end = (char *)bp->b_addr + mp->m_attr_geo->blksize; in xrep_xattr_recover_leaf() 431 nameidx >= mp->m_attr_geo->blksize) in xrep_xattr_recover_leaf() 621 .geo = rx->sc->mp->m_attr_geo, in xrep_xattr_insert_rec() 886 struct xfs_da_geometry *geo = sc->mp->m_attr_geo; in xrep_xattr_recover() 1294 .geo = sc->mp->m_attr_geo, in xrep_xattr_swap_prep() 1550 max_len = xfs_attr_leaf_entsize_local_max(sc->mp->m_attr_geo->blksize); in xrep_xattr_setup_scan()
|
H A D | listxattr.c | 68 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xchk_xattr_walk_leaf_entries() 250 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf); in xchk_xattr_walk_node()
|
H A D | parent_repair.c | 906 .geo = sc->mp->m_attr_geo, in xrep_parent_fetch_xattr_remote() 992 .geo = rp->sc->mp->m_attr_geo, in xrep_parent_insert_xattr() 1480 struct xfs_da_geometry *geo = sc->mp->m_attr_geo; in xrep_parent_setup_scan()
|
H A D | dabtree.c | 525 ds->dargs.geo = mp->m_attr_geo; in xchk_da_btree()
|
/linux/fs/xfs/libxfs/ |
H A D | xfs_attr_remote.c | 51 unsigned int blocksize = mp->m_attr_geo->blksize; in xfs_attr3_rmt_buf_space() 118 if (be32_to_cpu(rmt->rm_bytes) > mp->m_attr_geo->blksize - sizeof(*rmt)) in xfs_attr3_rmt_verify() 139 unsigned int blksize = mp->m_attr_geo->blksize; in __xfs_attr3_rmt_read_verify() 201 unsigned int blksize = mp->m_attr_geo->blksize; in xfs_attr3_rmt_write_verify() 303 unsigned int blksize = mp->m_attr_geo->blksize; in xfs_attr_rmtval_copyout() 352 unsigned int blksize = mp->m_attr_geo->blksize; in xfs_attr_rmtval_copyin()
|
H A D | xfs_dir2.c | 121 mp->m_attr_geo = kzalloc(sizeof(struct xfs_da_geometry), in xfs_da_mount() 123 if (!mp->m_dir_geo || !mp->m_attr_geo) { in xfs_da_mount() 125 kfree(mp->m_attr_geo); in xfs_da_mount() 171 dageo = mp->m_attr_geo; in xfs_da_mount() 194 kfree(mp->m_attr_geo); in xfs_da_unmount()
|
H A D | xfs_log_rlimit.c | 58 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 | 262 if (nameidx < leafhdr->firstused || nameidx >= mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify_entry() 325 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_verify() 335 if (ichdr.firstused > mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify() 353 buf_end = (char *)bp->b_addr + mp->m_attr_geo->blksize; in xfs_attr3_leaf_verify() 371 if (ichdr.freemap[i].base > mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify() 375 if (ichdr.freemap[i].size > mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify() 384 if (end > mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify() 1026 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf); in xfs_attr_shortform_allfit() 1693 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr1, leaf1_bp->b_addr); in xfs_attr_leaf_order() 1694 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr2, leaf2_bp->b_addr); in xfs_attr_leaf_order() [all …]
|
H A D | xfs_parent.c | 158 args->geo = child->i_mount->m_attr_geo; in xfs_parent_da_args_init()
|
H A D | xfs_exchmaps.c | 429 .geo = tp->t_mountp->m_attr_geo, in xfs_exchmaps_attr_to_sf()
|
H A D | xfs_attr.c | 281 args->geo = args->dp->i_mount->m_attr_geo; in xfs_attr_get()
|
H A D | xfs_da_btree.c | 137 return mp->m_attr_geo->fsbcount; in xfs_dabuf_nfsb() 247 ichdr.count > mp->m_attr_geo->node_ents) in xfs_da3_node_verify()
|
/linux/fs/xfs/ |
H A D | xfs_attr_inactive.c | 96 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_inactive() 214 XFS_FSB_TO_BB(mp, mp->m_attr_geo->fsbcount), 0, in xfs_attr3_node_inactive() 305 XFS_FSB_TO_BB(mp, mp->m_attr_geo->fsbcount), 0, &bp); in xfs_attr3_root_inactive()
|
H A D | xfs_attr_list.c | 369 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, in xfs_attr_node_list() 414 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf); in xfs_attr_node_list() 447 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_list_int()
|
H A D | xfs_xattr.c | 109 args->geo = mp->m_attr_geo; in xfs_attr_change()
|
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 | 691 args->geo = mp->m_attr_geo; in xfs_attri_recover_work()
|