Home
last modified time | relevance | path

Searched refs:aglen (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A 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()
466 *aglen = 0; in xfs_refcount_merge_center_extents()
484 xfs_extlen_t *aglen) in xfs_refcount_merge_left_extent()
528 *aglen -= cleft->rc_blockcount; in xfs_refcount_merge_left_extent()
545 xfs_extlen_t *aglen) in xfs_refcount_merge_right_extent()
554 * If the extent ending at agbno+aglen (cright) wasn't synthesized, in xfs_refcount_merge_right_extent()
592 *aglen -= cright->rc_blockcount; in xfs_refcount_merge_right_extent()
613 xfs_extlen_t aglen, in xfs_refcount_find_left_extents()
402 xfs_refcount_merge_center_extents( struct xfs_btree_cur *cur, struct xfs_refcount_irec *left, struct xfs_refcount_irec *center, struct xfs_refcount_irec *right, unsigned long long extlen, xfs_extlen_t *aglen) xfs_refcount_merge_center_extents() argument
479 xfs_refcount_merge_left_extent( struct xfs_btree_cur *cur, struct xfs_refcount_irec *left, struct xfs_refcount_irec *cleft, xfs_agblock_t *agbno, xfs_extlen_t *aglen) xfs_refcount_merge_left_extent() argument
541 xfs_refcount_merge_right_extent( struct xfs_btree_cur *cur, struct xfs_refcount_irec *right, struct xfs_refcount_irec *cright, xfs_extlen_t *aglen) xfs_refcount_merge_right_extent() argument
608 xfs_refcount_find_left_extents( struct xfs_btree_cur *cur, struct xfs_refcount_irec *left, struct xfs_refcount_irec *cleft, xfs_agblock_t agbno, xfs_extlen_t aglen, int flags) xfs_refcount_find_left_extents() argument
697 xfs_refcount_find_right_extents( struct xfs_btree_cur *cur, struct xfs_refcount_irec *right, struct xfs_refcount_irec *cright, xfs_agblock_t agbno, xfs_extlen_t aglen, int flags) xfs_refcount_find_right_extents() argument
793 xfs_refcount_merge_extents( struct xfs_btree_cur *cur, xfs_agblock_t *agbno, xfs_extlen_t *aglen, enum xfs_refc_adjust_op adjust, int flags, bool *shape_changed) xfs_refcount_merge_extents() argument
914 xfs_refcount_adjust_extents( struct xfs_btree_cur *cur, xfs_agblock_t *agbno, xfs_extlen_t *aglen, enum xfs_refc_adjust_op adj, struct xfs_owner_info *oinfo) xfs_refcount_adjust_extents() argument
1044 xfs_refcount_adjust( struct xfs_btree_cur *cur, xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *new_agbno, xfs_extlen_t *new_aglen, enum xfs_refc_adjust_op adj, struct xfs_owner_info *oinfo) xfs_refcount_adjust() argument
1293 xfs_refcount_find_shared( struct xfs_btree_cur *cur, xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno, xfs_extlen_t *flen, bool find_end_of_shared) xfs_refcount_find_shared() argument
1448 xfs_refcount_adjust_cow_extents( struct xfs_btree_cur *cur, xfs_agblock_t agbno, xfs_extlen_t aglen, enum xfs_refc_adjust_op adj) xfs_refcount_adjust_cow_extents() argument
1540 xfs_refcount_adjust_cow( struct xfs_btree_cur *cur, xfs_agblock_t agbno, xfs_extlen_t aglen, enum xfs_refc_adjust_op adj) xfs_refcount_adjust_cow() argument
1587 __xfs_refcount_cow_alloc( struct xfs_btree_cur *rcur, xfs_agblock_t agbno, xfs_extlen_t aglen) __xfs_refcount_cow_alloc() argument
1604 __xfs_refcount_cow_free( struct xfs_btree_cur *rcur, xfs_agblock_t agbno, xfs_extlen_t aglen) __xfs_refcount_cow_free() argument
[all...]
H A Dxfs_refcount.h45 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno,
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_refcount.c38 xfs_agblock_t agbno, xfs_extlen_t aglen);
40 xfs_agblock_t agbno, xfs_extlen_t aglen);
451 xfs_extlen_t *aglen) in xfs_refcount_merge_center_extents()
512 *aglen = 0; in xfs_refcount_merge_center_extents()
530 xfs_extlen_t *aglen) in xfs_refcount_merge_left_extent()
576 *aglen -= cleft->rc_blockcount; in xfs_refcount_merge_left_extent()
593 xfs_extlen_t *aglen) in xfs_refcount_merge_right_extent()
604 * If the extent ending at agbno+aglen (cright) wasn't synthesized, in xfs_refcount_merge_right_extent()
642 *aglen -= cright->rc_blockcount; in xfs_refcount_merge_right_extent()
662 xfs_extlen_t aglen) in xfs_refcount_find_left_extents()
445 xfs_refcount_merge_center_extents( struct xfs_btree_cur *cur, struct xfs_refcount_irec *left, struct xfs_refcount_irec *center, struct xfs_refcount_irec *right, unsigned long long extlen, xfs_extlen_t *aglen) xfs_refcount_merge_center_extents() argument
525 xfs_refcount_merge_left_extent( struct xfs_btree_cur *cur, struct xfs_refcount_irec *left, struct xfs_refcount_irec *cleft, xfs_agblock_t *agbno, xfs_extlen_t *aglen) xfs_refcount_merge_left_extent() argument
589 xfs_refcount_merge_right_extent( struct xfs_btree_cur *cur, struct xfs_refcount_irec *right, struct xfs_refcount_irec *cright, xfs_extlen_t *aglen) xfs_refcount_merge_right_extent() argument
656 xfs_refcount_find_left_extents( struct xfs_btree_cur *cur, struct xfs_refcount_irec *left, struct xfs_refcount_irec *cleft, enum xfs_refc_domain domain, xfs_agblock_t agbno, xfs_extlen_t aglen) xfs_refcount_find_left_extents() argument
749 xfs_refcount_find_right_extents( struct xfs_btree_cur *cur, struct xfs_refcount_irec *right, struct xfs_refcount_irec *cright, enum xfs_refc_domain domain, xfs_agblock_t agbno, xfs_extlen_t aglen) xfs_refcount_find_right_extents() argument
974 xfs_refcount_merge_extents( struct xfs_btree_cur *cur, enum xfs_refc_domain domain, xfs_agblock_t *agbno, xfs_extlen_t *aglen, enum xfs_refc_adjust_op adjust, bool *shape_changed) xfs_refcount_merge_extents() argument
1089 xfs_refcount_adjust_extents( struct xfs_btree_cur *cur, xfs_agblock_t *agbno, xfs_extlen_t *aglen, enum xfs_refc_adjust_op adj) xfs_refcount_adjust_extents() argument
1242 xfs_refcount_adjust( struct xfs_btree_cur *cur, xfs_agblock_t *agbno, xfs_extlen_t *aglen, enum xfs_refc_adjust_op adj) xfs_refcount_adjust() argument
1503 xfs_refcount_find_shared( struct xfs_btree_cur *cur, xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno, xfs_extlen_t *flen, bool find_end_of_shared) xfs_refcount_find_shared() argument
1664 xfs_refcount_adjust_cow_extents( struct xfs_btree_cur *cur, xfs_agblock_t agbno, xfs_extlen_t aglen, enum xfs_refc_adjust_op adj) xfs_refcount_adjust_cow_extents() argument
1764 xfs_refcount_adjust_cow( struct xfs_btree_cur *cur, xfs_agblock_t agbno, xfs_extlen_t aglen, enum xfs_refc_adjust_op adj) xfs_refcount_adjust_cow() argument
1811 __xfs_refcount_cow_alloc( struct xfs_btree_cur *rcur, xfs_agblock_t agbno, xfs_extlen_t aglen) __xfs_refcount_cow_alloc() argument
1828 __xfs_refcount_cow_free( struct xfs_btree_cur *rcur, xfs_agblock_t agbno, xfs_extlen_t aglen) __xfs_refcount_cow_free() argument
[all...]
H A Dxfs_refcount.h85 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno,
H A Dxfs_ag.c916 xfs_agblock_t aglen; in xfs_ag_shrink_space() local
931 aglen = be32_to_cpu(agi->agi_length); in xfs_ag_shrink_space()
935 if (delta >= aglen) in xfs_ag_shrink_space()
942 error = xfs_ialloc_check_shrink(pag, *tpp, agibp, aglen - delta); in xfs_ag_shrink_space()
956 XFS_AGB_TO_FSB(mp, pag->pag_agno, aglen - delta)); in xfs_ag_shrink_space()
/kernel/linux/linux-6.6/fs/xfs/scrub/
H A Drepair.c259 xfs_extlen_t aglen = NULLAGBLOCK; in xrep_calc_ag_resblks() local
287 aglen = pag->block_count; in xrep_calc_ag_resblks()
288 freelen = aglen; in xrep_calc_ag_resblks()
289 usedlen = aglen; in xrep_calc_ag_resblks()
293 aglen = be32_to_cpu(agf->agf_length); in xrep_calc_ag_resblks()
295 usedlen = aglen - freelen; in xrep_calc_ag_resblks()
306 if (aglen == NULLAGBLOCK || in xrep_calc_ag_resblks()
307 aglen != pag->block_count || in xrep_calc_ag_resblks()
308 freelen >= aglen) { in xrep_calc_ag_resblks()
309 aglen in xrep_calc_ag_resblks()
[all...]
H A Dreap.c442 xfs_extlen_t aglen; in xreap_agmeta_extent() local
446 &crosslinked, &aglen); in xreap_agmeta_extent()
450 error = xreap_agextent_iter(rs, agbno, &aglen, crosslinked); in xreap_agmeta_extent()
466 agbno += aglen; in xreap_agmeta_extent()
H A Dtrace.h1232 xfs_agino_t icount, xfs_agblock_t aglen, xfs_agblock_t freelen,
1234 TP_ARGS(mp, agno, icount, aglen, freelen, usedlen),
1239 __field(xfs_agblock_t, aglen)
1247 __entry->aglen = aglen;
1251 TP_printk("dev %d:%d agno 0x%x icount %u aglen %u freelen %u usedlen %u",
1255 __entry->aglen,
/kernel/linux/linux-5.10/fs/xfs/scrub/
H A 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...]
H A 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;
824 TP_printk("dev %d:%d agno %d icount %u aglen %u freelen %u usedlen %u",
828 __entry->aglen,
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_reflink.c134 xfs_extlen_t aglen, in xfs_reflink_find_shared()
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()
129 xfs_reflink_find_shared( struct xfs_mount *mp, struct xfs_trans *tp, xfs_agnumber_t agno, xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno, xfs_extlen_t *flen, bool find_end_of_shared) xfs_reflink_find_shared() argument
H A Dxfs_reflink.h21 xfs_agnumber_t agno, xfs_agblock_t agbno, xfs_extlen_t aglen,
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_reflink.c133 xfs_extlen_t aglen, in xfs_reflink_find_shared()
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()
1578 xfs_extlen_t aglen; in xfs_reflink_inode_has_shared_extents() local
1588 aglen = got.br_blockcount; in xfs_reflink_inode_has_shared_extents()
1589 error = xfs_reflink_find_shared(pag, tp, agbno, aglen, in xfs_reflink_inode_has_shared_extents()
129 xfs_reflink_find_shared( struct xfs_perag *pag, struct xfs_trans *tp, xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno, xfs_extlen_t *flen, bool find_end_of_shared) xfs_reflink_find_shared() argument

Completed in 15 milliseconds