Home
last modified time | relevance | path

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

/linux-6.6.21/fs/xfs/libxfs/
Dxfs_dir2.c107 mp->m_dir_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()
112 kmem_free(mp->m_dir_geo); in xfs_da_mount()
118 dageo = mp->m_dir_geo; in xfs_da_mount()
164 dageo->node_hdr_size = mp->m_dir_geo->node_hdr_size; in xfs_da_mount()
181 kmem_free(mp->m_dir_geo); in xfs_da_unmount()
243 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_init()
280 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_createname()
376 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_lookup()
448 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_removename()
[all …]
Dxfs_trans_space.h47 ((w) == XFS_DATA_FORK ? (mp)->m_dir_geo->fsbcount : 1)
73 ((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_inode_buf.c514 if (S_ISDIR(mode) && nextents > mp->m_dir_geo->max_extents) in xfs_dinode_verify()
Dxfs_trans_resv.c762 xfs_calc_buf_res(1, mp->m_dir_geo->blksize) + in xfs_calc_addafork_reservation()
Dxfs_dir2_leaf.c145 struct xfs_da_geometry *geo = mp->m_dir_geo; in xfs_dir3_leaf_check_int()
339 ltp = xfs_dir2_leaf_tail_p(mp->m_dir_geo, leaf); in xfs_dir3_leaf_init()
Dxfs_da_btree.c134 return mp->m_dir_geo->fsbcount; in xfs_dabuf_nfsb()
244 if (ichdr.count > mp->m_dir_geo->node_ents && in xfs_da3_node_verify()
Dxfs_bmap.c948 dargs.geo = ip->i_mount->m_dir_geo; in xfs_bmap_add_attrfork_local()
/linux-6.6.21/fs/xfs/scrub/
Dreaddir.c37 struct xfs_da_geometry *geo = mp->m_dir_geo; in xchk_dir_walk_sf()
99 struct xfs_da_geometry *geo = mp->m_dir_geo; in xchk_dir_walk_block()
192 struct xfs_da_geometry *geo = mp->m_dir_geo; in xchk_dir_walk_leaf()
276 .geo = dp->i_mount->m_dir_geo, in xchk_dir_walk()
321 .geo = dp->i_mount->m_dir_geo, in xchk_dir_lookup()
Ddir.c76 offset = xfs_dir2_db_to_da(mp->m_dir_geo, in xchk_dir_actor()
77 xfs_dir2_dataptr_to_db(mp->m_dir_geo, dapos)); in xchk_dir_actor()
155 struct xfs_da_geometry *geo = mp->m_dir_geo; in xchk_dir_rec()
337 if (offset >= mp->m_dir_geo->blksize) { in xchk_directory_data_bestfree()
363 offset = mp->m_dir_geo->data_entry_offset; in xchk_directory_data_bestfree()
364 end = xfs_dir3_data_end_offset(mp->m_dir_geo, bp->b_addr); in xchk_directory_data_bestfree()
460 struct xfs_da_geometry *geo = sc->mp->m_dir_geo; in xchk_directory_leaf1_bestfree()
624 .geo = sc->mp->m_dir_geo, in xchk_directory_blocks()
Ddabtree.c505 ds->dargs.geo = mp->m_dir_geo; in xchk_da_btree()
/linux-6.6.21/fs/xfs/
Dxfs_mount.h90 struct xfs_da_geometry *m_dir_geo; /* directory block geometry */ member
Dxfs_dir2_readdir.c528 args.geo = dp->i_mount->m_dir_geo; in xfs_readdir()