Searched refs:start_agno (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/fs/xfs/libxfs/ |
D | xfs_ag.h | 291 #define for_each_perag_wrap_range(mp, start_agno, restart_agno, wrap_agno, agno, pag) \ argument 292 for ((agno) = (start_agno), (pag) = xfs_perag_grab((mp), (agno)); \ 294 (pag) = xfs_perag_next_wrap((pag), &(agno), (start_agno), \ 300 #define for_each_perag_wrap_at(mp, start_agno, wrap_agno, agno, pag) \ argument 301 for_each_perag_wrap_range((mp), (start_agno), 0, (wrap_agno), (agno), (pag)) 307 #define for_each_perag_wrap(mp, start_agno, agno, pag) \ argument 308 for_each_perag_wrap_at((mp), (start_agno), (mp)->m_sb.sb_agcount, \
|
D | xfs_alloc.c | 3491 xfs_agnumber_t start_agno, in xfs_alloc_vextent_iterate_ags() argument 3503 for_each_perag_wrap_range(mp, start_agno, restart_agno, in xfs_alloc_vextent_iterate_ags() 3518 if (args->agno == start_agno && target_agbno) { in xfs_alloc_vextent_iterate_ags() 3566 xfs_agnumber_t start_agno; in xfs_alloc_vextent_start_ag() local 3594 start_agno = max(minimum_agno, XFS_FSB_TO_AGNO(mp, target)); in xfs_alloc_vextent_start_ag() 3595 error = xfs_alloc_vextent_iterate_ags(args, minimum_agno, start_agno, in xfs_alloc_vextent_start_ag() 3599 if (args->agno == start_agno) in xfs_alloc_vextent_start_ag() 3622 xfs_agnumber_t start_agno; in xfs_alloc_vextent_first_ag() local 3640 start_agno = max(minimum_agno, XFS_FSB_TO_AGNO(mp, target)); in xfs_alloc_vextent_first_ag() 3641 error = xfs_alloc_vextent_iterate_ags(args, minimum_agno, start_agno, in xfs_alloc_vextent_first_ag()
|
D | xfs_ialloc.c | 1744 xfs_agnumber_t start_agno; in xfs_dialloc() local 1758 start_agno = (atomic_inc_return(&mp->m_agirotor) - 1) % in xfs_dialloc() 1761 start_agno = XFS_INO_TO_AGNO(mp, parent); in xfs_dialloc() 1762 if (start_agno >= mp->m_maxagi) in xfs_dialloc() 1763 start_agno = 0; in xfs_dialloc() 1801 for_each_perag_wrap_at(mp, start_agno, mp->m_maxagi, agno, pag) { in xfs_dialloc()
|
/Linux-v6.6/fs/xfs/ |
D | xfs_filestream.c | 59 xfs_agnumber_t start_agno, in xfs_filestream_pick_ag() argument 76 for_each_perag_wrap(mp, start_agno, agno, pag) { in xfs_filestream_pick_ag() 153 for_each_perag_wrap(args->mp, 0, start_agno, args->pag) in xfs_filestream_pick_ag()
|