Home
last modified time | relevance | path

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

/Linux-v5.10/fs/xfs/libxfs/
Dxfs_refcount.c35 xfs_agblock_t agbno, xfs_extlen_t aglen);
37 xfs_agblock_t agbno, xfs_extlen_t aglen);
408 xfs_extlen_t *aglen) in xfs_refcount_merge_center_extents() argument
466 *aglen = 0; in xfs_refcount_merge_center_extents()
484 xfs_extlen_t *aglen) in xfs_refcount_merge_left_extent() argument
528 *aglen -= cleft->rc_blockcount; in xfs_refcount_merge_left_extent()
545 xfs_extlen_t *aglen) in xfs_refcount_merge_right_extent() argument
592 *aglen -= cright->rc_blockcount; in xfs_refcount_merge_right_extent()
613 xfs_extlen_t aglen, in xfs_refcount_find_left_extents() argument
669 cleft->rc_blockcount = min(aglen, in xfs_refcount_find_left_extents()
[all …]
Dxfs_refcount.h45 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno,
/Linux-v5.10/fs/xfs/scrub/
Drepair.c183 xfs_extlen_t aglen = NULLAGBLOCK; in xrep_calc_ag_resblks() local
213 aglen = be32_to_cpu(agf->agf_length); in xrep_calc_ag_resblks()
215 usedlen = aglen - freelen; in xrep_calc_ag_resblks()
230 if (aglen == NULLAGBLOCK || in xrep_calc_ag_resblks()
231 aglen != xfs_ag_block_count(mp, sm->sm_agno) || in xrep_calc_ag_resblks()
232 freelen >= aglen) { in xrep_calc_ag_resblks()
233 aglen = xfs_ag_block_count(mp, sm->sm_agno); in xrep_calc_ag_resblks()
234 freelen = aglen; in xrep_calc_ag_resblks()
235 usedlen = aglen; in xrep_calc_ag_resblks()
238 trace_xrep_calc_ag_resblks(mp, sm->sm_agno, icount, aglen, in xrep_calc_ag_resblks()
[all …]
Dtrace.h805 xfs_agino_t icount, xfs_agblock_t aglen, xfs_agblock_t freelen,
807 TP_ARGS(mp, agno, icount, aglen, freelen, usedlen),
812 __field(xfs_agblock_t, aglen)
820 __entry->aglen = aglen;
828 __entry->aglen,
/Linux-v5.10/fs/xfs/
Dxfs_reflink.c134 xfs_extlen_t aglen, in xfs_reflink_find_shared() argument
149 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()
194 aglen, &fbno, &flen, true); in xfs_reflink_trim_around_shared()
1366 xfs_extlen_t aglen; in xfs_reflink_inode_has_shared_extents() local
1388 aglen = got.br_blockcount; in xfs_reflink_inode_has_shared_extents()
1390 error = xfs_reflink_find_shared(mp, tp, agno, agbno, aglen, in xfs_reflink_inode_has_shared_extents()
Dxfs_reflink.h21 xfs_agnumber_t agno, xfs_agblock_t agbno, xfs_extlen_t aglen,