Home
last modified time | relevance | path

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

/linux-6.1.9/fs/xfs/libxfs/
Dxfs_dir2.c106 mp->m_dir_geo = kmem_zalloc(sizeof(struct xfs_da_geometry), in xfs_da_mount()
110 if (!mp->m_dir_geo || !mp->m_attr_geo) { in xfs_da_mount()
111 kmem_free(mp->m_dir_geo); in xfs_da_mount()
117 dageo = mp->m_dir_geo; in xfs_da_mount()
163 dageo->node_hdr_size = mp->m_dir_geo->node_hdr_size; in xfs_da_mount()
180 kmem_free(mp->m_dir_geo); in xfs_da_unmount()
242 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_init()
279 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_createname()
375 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_lookup()
447 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.c510 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.c959 dargs.geo = ip->i_mount->m_dir_geo; in xfs_bmap_add_attrfork_local()
/linux-6.1.9/fs/xfs/scrub/
Ddir.c123 offset = xfs_dir2_db_to_da(mp->m_dir_geo, in xchk_dir_actor()
124 xfs_dir2_dataptr_to_db(mp->m_dir_geo, pos)); in xchk_dir_actor()
207 struct xfs_da_geometry *geo = mp->m_dir_geo; in xchk_dir_rec()
385 if (offset >= mp->m_dir_geo->blksize) { in xchk_directory_data_bestfree()
411 offset = mp->m_dir_geo->data_entry_offset; in xchk_directory_data_bestfree()
412 end = xfs_dir3_data_end_offset(mp->m_dir_geo, bp->b_addr); in xchk_directory_data_bestfree()
508 struct xfs_da_geometry *geo = sc->mp->m_dir_geo; in xchk_directory_leaf1_bestfree()
693 args.geo = mp->m_dir_geo; in xchk_directory_blocks()
Ddabtree.c504 ds->dargs.geo = mp->m_dir_geo; in xchk_da_btree()
/linux-6.1.9/fs/xfs/
Dxfs_mount.h87 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()