Home
last modified time | relevance | path

Searched refs:aglen (Results 1 – 6 of 6) sorted by relevance

/fs/xfs/libxfs/
Dxfs_refcount.c38 xfs_agblock_t agbno, xfs_extlen_t aglen);
40 xfs_agblock_t agbno, xfs_extlen_t aglen);
429 xfs_extlen_t *aglen) in xfs_refcount_merge_center_extents() argument
490 *aglen = 0; in xfs_refcount_merge_center_extents()
508 xfs_extlen_t *aglen) in xfs_refcount_merge_left_extent() argument
554 *aglen -= cleft->rc_blockcount; in xfs_refcount_merge_left_extent()
571 xfs_extlen_t *aglen) in xfs_refcount_merge_right_extent() argument
620 *aglen -= cright->rc_blockcount; in xfs_refcount_merge_right_extent()
640 xfs_extlen_t aglen) in xfs_refcount_find_left_extents() argument
696 cleft->rc_blockcount = min(aglen, in xfs_refcount_find_left_extents()
[all …]
Dxfs_ag.c837 xfs_agblock_t aglen; in xfs_ag_shrink_space() local
852 aglen = be32_to_cpu(agi->agi_length); in xfs_ag_shrink_space()
856 if (delta >= aglen) in xfs_ag_shrink_space()
859 args.fsbno = XFS_AGB_TO_FSB(mp, pag->pag_agno, aglen - delta); in xfs_ag_shrink_space()
866 aglen - delta); in xfs_ag_shrink_space()
Dxfs_refcount.h83 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno,
/fs/xfs/scrub/
Drepair.c184 xfs_extlen_t aglen = NULLAGBLOCK; in xrep_calc_ag_resblks() local
212 aglen = pag->block_count; in xrep_calc_ag_resblks()
213 freelen = aglen; in xrep_calc_ag_resblks()
214 usedlen = aglen; in xrep_calc_ag_resblks()
218 aglen = be32_to_cpu(agf->agf_length); in xrep_calc_ag_resblks()
220 usedlen = aglen - freelen; in xrep_calc_ag_resblks()
231 if (aglen == NULLAGBLOCK || in xrep_calc_ag_resblks()
232 aglen != pag->block_count || in xrep_calc_ag_resblks()
233 freelen >= aglen) { in xrep_calc_ag_resblks()
234 aglen = pag->block_count; in xrep_calc_ag_resblks()
[all …]
Dtrace.h811 xfs_agino_t icount, xfs_agblock_t aglen, xfs_agblock_t freelen,
813 TP_ARGS(mp, agno, icount, aglen, freelen, usedlen),
818 __field(xfs_agblock_t, aglen)
826 __entry->aglen = aglen;
834 __entry->aglen,
/fs/xfs/
Dxfs_reflink.c133 xfs_extlen_t aglen, in xfs_reflink_find_shared() argument
148 error = xfs_refcount_find_shared(cur, agbno, aglen, fbno, flen, in xfs_reflink_find_shared()
176 xfs_extlen_t aglen; in xfs_reflink_trim_around_shared() local
191 aglen = irec->br_blockcount; in xfs_reflink_trim_around_shared()
193 error = xfs_reflink_find_shared(pag, NULL, agbno, aglen, &fbno, &flen, in xfs_reflink_trim_around_shared()
1572 xfs_extlen_t aglen; in xfs_reflink_inode_has_shared_extents() local
1582 aglen = got.br_blockcount; in xfs_reflink_inode_has_shared_extents()
1583 error = xfs_reflink_find_shared(pag, tp, agbno, aglen, in xfs_reflink_inode_has_shared_extents()