Home
last modified time | relevance | path

Searched refs:m_dir_geo (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_dir2.c102 mp->m_dir_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()
107 kmem_free(mp->m_dir_geo); in xfs_da_mount()
113 dageo = mp->m_dir_geo; in xfs_da_mount()
157 dageo->node_hdr_size = mp->m_dir_geo->node_hdr_size; in xfs_da_mount()
168 kmem_free(mp->m_dir_geo); in xfs_da_unmount()
230 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_init()
267 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_createname()
363 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_lookup()
435 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_removename()
[all …]
Dxfs_trans_space.h40 ((w) == XFS_DATA_FORK ? (mp)->m_dir_geo->fsbcount : 1)
67 ((mp)->m_dir_geo->fsbcount + XFS_DAENTER_BMAP1B(mp, XFS_DATA_FORK))
Dxfs_dir2_block.c144 err = xfs_da_read_buf(tp, dp, mp->m_dir_geo->datablk, 0, bpp, in xfs_dir3_block_read()
603 btp = xfs_dir2_block_tail_p(tp->t_mountp->m_dir_geo, hdr); in xfs_dir2_block_log_leaf()
620 btp = xfs_dir2_block_tail_p(tp->t_mountp->m_dir_geo, hdr); in xfs_dir2_block_log_tail()
Dxfs_dir2_sf.c189 geo = mp->m_dir_geo; in xfs_dir2_block_sfsize()
746 offset = mp->m_dir_geo->data_first_offset; in xfs_dir2_sf_verify()
800 (uint)sizeof(xfs_dir2_block_tail_t) > mp->m_dir_geo->blksize) in xfs_dir2_sf_verify()
Dxfs_dir2_node.c182 int maxbests = mp->m_dir_geo->free_max_bests; in xfs_dir3_free_header_check()
185 firstdb = (xfs_dir2_da_to_db(mp->m_dir_geo, fbno) - in xfs_dir3_free_header_check()
186 xfs_dir2_byte_to_db(mp->m_dir_geo, XFS_DIR2_FREE_OFFSET)) * in xfs_dir3_free_header_check()
586 ASSERT((hdr.firstdb % dp->i_mount->m_dir_geo->free_max_bests) == 0); in xfs_dir2_free_hdr_check()
Dxfs_dir2_data.c118 struct xfs_da_geometry *geo = mp->m_dir_geo; in __xfs_dir3_data_check()
643 struct xfs_da_geometry *geo = mp->m_dir_geo; in xfs_dir2_data_freescan()
Dxfs_trans_resv.c670 xfs_calc_buf_res(1, mp->m_dir_geo->blksize) + in xfs_calc_addafork_reservation()
Dxfs_dir2_leaf.c144 struct xfs_da_geometry *geo = mp->m_dir_geo; in xfs_dir3_leaf_check_int()
330 ltp = xfs_dir2_leaf_tail_p(mp->m_dir_geo, leaf); in xfs_dir3_leaf_init()
Dxfs_da_btree.c122 return mp->m_dir_geo->fsbcount; in xfs_dabuf_nfsb()
232 if (ichdr.count > mp->m_dir_geo->node_ents && in xfs_da3_node_verify()
Dxfs_bmap.c1012 dargs.geo = ip->i_mount->m_dir_geo; in xfs_bmap_add_attrfork_local()
/kernel/linux/linux-5.10/fs/xfs/scrub/
Ddir.c113 offset = xfs_dir2_db_to_da(mp->m_dir_geo, in xchk_dir_actor()
114 xfs_dir2_dataptr_to_db(mp->m_dir_geo, pos)); in xchk_dir_actor()
193 struct xfs_da_geometry *geo = mp->m_dir_geo; in xchk_dir_rec()
371 if (offset >= mp->m_dir_geo->blksize) { in xchk_directory_data_bestfree()
397 offset = mp->m_dir_geo->data_entry_offset; in xchk_directory_data_bestfree()
398 end = xfs_dir3_data_end_offset(mp->m_dir_geo, bp->b_addr); in xchk_directory_data_bestfree()
493 struct xfs_da_geometry *geo = sc->mp->m_dir_geo; in xchk_directory_leaf1_bestfree()
673 args.geo = mp->m_dir_geo; in xchk_directory_blocks()
Ddabtree.c501 ds.dargs.geo = mp->m_dir_geo; in xchk_da_btree()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_mount.h74 struct xfs_da_geometry *m_dir_geo; /* directory block geometry */ member
Dxfs_dir2_readdir.c524 args.geo = dp->i_mount->m_dir_geo; in xfs_readdir()