Home
last modified time | relevance | path

Searched refs:m_attr_geo (Results 1 – 18 of 18) sorted by relevance

/linux/fs/xfs/scrub/
H A Dattr.c83 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()
324 nameidx >= mp->m_attr_geo->blksize) { in xchk_xattr_entry()
382 bitmap_zero(ab->usedmap, mp->m_attr_geo->blksize); in xchk_xattr_block()
383 bitmap_zero(ab->freemap, mp->m_attr_geo->blksize); in xchk_xattr_block()
398 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf); in xchk_xattr_block()
412 if (leafhdr.usedbytes > mp->m_attr_geo->blksize) in xchk_xattr_block()
414 if (leafhdr.firstused > mp->m_attr_geo->blksize) in xchk_xattr_block()
433 buf_end = (char *)bp->b_addr + mp->m_attr_geo->blksize; in xchk_xattr_block()
[all …]
H A Dattr_repair.c331 .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()
1551 max_len = xfs_attr_leaf_entsize_local_max(sc->mp->m_attr_geo->blksize); in xrep_xattr_setup_scan()
H A Dlistxattr.c68 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 Dparent_repair.c902 .geo = sc->mp->m_attr_geo, in xrep_parent_fetch_xattr_remote()
988 .geo = rp->sc->mp->m_attr_geo, in xrep_parent_insert_xattr()
1500 struct xfs_da_geometry *geo = sc->mp->m_attr_geo; in xrep_parent_setup_scan()
H A Ddabtree.c527 ds->dargs.geo = mp->m_attr_geo; in xchk_da_btree()
/linux/fs/xfs/libxfs/
H A Dxfs_attr_remote.c51 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 Dxfs_dir2.c121 mp->m_attr_geo = kzalloc_obj(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 Dxfs_attr_leaf.c319 if (nameidx < leafhdr->firstused || nameidx >= mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify_entry()
382 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_verify()
392 if (ichdr.firstused > mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify()
410 buf_end = (char *)bp->b_addr + mp->m_attr_geo->blksize; in xfs_attr3_leaf_verify()
428 if (ichdr.freemap[i].base > mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify()
432 if (ichdr.freemap[i].size > mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify()
441 if (end > mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify()
1114 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf); in xfs_attr_shortform_allfit()
1433 .geo = dp->i_mount->m_attr_geo, in xfs_attr3_leaf_init()
1836 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr1, leaf1_bp->b_addr); in xfs_attr_leaf_order()
[all …]
H A Dxfs_log_rlimit.c58 size = xfs_attr_leaf_entsize_local_max(mp->m_attr_geo->blksize) - in xfs_log_calc_max_attrsetm_res()
H A Dxfs_parent.c159 args->geo = child->i_mount->m_attr_geo; in xfs_parent_da_args_init()
H A Dxfs_da_btree.c137 return mp->m_attr_geo->fsbcount; in xfs_dabuf_nfsb()
247 ichdr.count > mp->m_attr_geo->node_ents) in xfs_da3_node_verify()
1585 __xfs_da3_node_remove(tp, dp, dp->i_mount->m_attr_geo, &blk); in xfs_attr3_node_entry_remove()
H A Dxfs_exchmaps.c429 .geo = tp->t_mountp->m_attr_geo, in xfs_exchmaps_attr_to_sf()
H A Dxfs_attr.c280 args->geo = args->dp->i_mount->m_attr_geo; in xfs_attr_get()
/linux/fs/xfs/
H A Dxfs_attr_inactive.c96 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()
376 XFS_FSB_TO_B(mp, mp->m_attr_geo->fsbcount)); in xfs_attr_inactive()
H A Dxfs_attr_list.c370 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, in xfs_attr_node_list()
415 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf); in xfs_attr_node_list()
448 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_list_int()
H A Dxfs_xattr.c108 args->geo = mp->m_attr_geo; in xfs_attr_change()
H A Dxfs_mount.h163 struct xfs_da_geometry *m_attr_geo; /* attribute block geometry */ member
H A Dxfs_attr_item.c685 args->geo = mp->m_attr_geo; in xfs_attri_recover_work()