Home
last modified time | relevance | path

Searched refs:m_groups (Results 1 – 17 of 17) sorted by relevance

/fs/xfs/libxfs/
A Dxfs_group.h86 xa_set_mark(&(_xg)->xg_mount->m_groups[(_xg)->xg_type].xa, \
89 xa_clear_mark(&(_xg)->xg_mount->m_groups[(_xg)->xg_type].xa, \
92 xa_marked(&(_mp)->m_groups[(_type)].xa, (_mark))
98 return xg->xg_mount->m_groups[xg->xg_type].blocks; in xfs_group_max_blocks()
106 xg->xg_mount->m_groups[xg->xg_type].blklog; in xfs_group_start_fsb()
123 struct xfs_groups *g = &mp->m_groups[xg->xg_type]; in xfs_gbno_to_daddr()
140 if (!mp->m_groups[type].blklog) in xfs_fsb_to_gno()
142 return fsbno >> mp->m_groups[type].blklog; in xfs_fsb_to_gno()
151 return fsbno & mp->m_groups[type].blkmask; in xfs_fsb_to_gbno()
A Dxfs_group.c40 xg = xa_load(&mp->m_groups[type].xa, index); in xfs_group_get()
81 xg = xa_load(&mp->m_groups[type].xa, index); in xfs_group_grab()
135 xg = xa_find(&mp->m_groups[type].xa, &index, ULONG_MAX, mark); in xfs_group_grab_next_mark()
160 struct xfs_group *xg = xa_erase(&mp->m_groups[type].xa, index); in xfs_group_free()
207 error = xa_insert(&mp->m_groups[type].xa, index, xg, GFP_KERNEL); in xfs_group_insert()
A Dxfs_rtgroup.h226 return (rtbno & mp->m_groups[XG_TYPE_RTG].blkmask) == 0; in xfs_rtbno_is_group_start()
247 struct xfs_groups *g = &mp->m_groups[XG_TYPE_RTG]; in xfs_rtb_to_daddr()
263 struct xfs_groups *g = &mp->m_groups[XG_TYPE_RTG]; in xfs_daddr_to_rtb()
A Dxfs_rtbitmap.h132 rtbno &= mp->m_groups[XG_TYPE_RTG].blkmask; in xfs_rtb_to_rtx()
154 rtbno &= mp->m_groups[XG_TYPE_RTG].blkmask; in xfs_rtb_to_rtxoff()
A Dxfs_zones.c139 struct xfs_groups *g = &mp->m_groups[XG_TYPE_RTG]; in xfs_zone_validate()
A Dxfs_rtrmap_btree.c776 mp->m_groups[XG_TYPE_RTG].blocks); in xfs_rtrmapbt_compute_maxlevels()
813 uint32_t blocks = mp->m_groups[XG_TYPE_RTG].blocks; in xfs_rtrmapbt_calc_reserves()
A Dxfs_sb.c1196 struct xfs_groups *rgs = &mp->m_groups[XG_TYPE_RTG]; in xfs_sb_mount_rextsize()
1247 struct xfs_groups *ags = &mp->m_groups[XG_TYPE_AG]; in xfs_sb_mount_common()
/fs/xfs/
A Dxfs_zone_space_resv.c57 mp->m_groups[XG_TYPE_RTG].blocks + in xfs_zoned_default_resblks()
61 mp->m_groups[XG_TYPE_RTG].blocks; in xfs_zoned_default_resblks()
A Dxfs_mount.c692 struct xfs_groups *g = &mp->m_groups[type]; in xfs_calc_group_awu_max()
708 struct xfs_groups *g = &mp->m_groups[type]; in xfs_calc_atomic_write_unit_max()
731 max(mp->m_groups[XG_TYPE_AG].blocks, in xfs_set_max_atomic_write_opt()
732 mp->m_groups[XG_TYPE_RTG].blocks); in xfs_set_max_atomic_write_opt()
A Dxfs_zone_alloc.c45 mp->m_groups[XG_TYPE_RTG].blocks; in xfs_zone_bucket()
422 XA_STATE (xas, &mp->m_groups[XG_TYPE_RTG].xa, start); in xfs_find_free_zone()
997 return !xa_get_mark(&rtg_mount(rtg)->m_groups[XG_TYPE_RTG].xa, in xfs_zone_rgbno_is_valid()
1293 mp->m_sb.sb_rgcount, mp->m_groups[XG_TYPE_RTG].blocks, in xfs_mount_zones()
A Dxfs_iops.c649 return XFS_FSB_TO_B(mp, mp->m_groups[XG_TYPE_RTG].awu_max); in xfs_get_atomic_write_max()
650 return XFS_FSB_TO_B(mp, mp->m_groups[XG_TYPE_AG].awu_max); in xfs_get_atomic_write_max()
A Dxfs_mount.h289 struct xfs_groups m_groups[XG_TYPE_MAX]; member
A Dxfs_zone_gc.c182 mp->m_groups[XG_TYPE_RTG].blocks * in xfs_zoned_need_gc()
A Dxfs_icache.c1120 XA_STATE (xas, &mp->m_groups[XG_TYPE_AG].xa, 0); in xfs_reclaim_inodes_count()
A Dxfs_rtalloc.c1266 uint32_t gblocks = mp->m_groups[XG_TYPE_RTG].blocks; in xfs_growfs_check_rtgeom()
A Dxfs_super.c2284 xa_init(&mp->m_groups[i].xa); in xfs_init_fs_context()
A Dxfs_trace.h495 __entry->blocks = mp->m_groups[XG_TYPE_RTG].blocks;

Completed in 59 milliseconds