Home
last modified time | relevance | path

Searched refs:pag (Results 1 – 25 of 72) sorted by relevance

123

/linux-6.6.21/fs/xfs/libxfs/
Dxfs_ag.h125 static inline bool xfs_perag_ ## name (struct xfs_perag *pag) \
127 return test_bit(XFS_AGSTATE_ ## NAME, &pag->pag_opstate); \
145 struct xfs_perag *xfs_perag_hold(struct xfs_perag *pag);
146 void xfs_perag_put(struct xfs_perag *pag);
152 void xfs_perag_rele(struct xfs_perag *pag);
162 xfs_verify_agbno(struct xfs_perag *pag, xfs_agblock_t agbno) in xfs_verify_agbno() argument
164 if (agbno >= pag->block_count) in xfs_verify_agbno()
166 if (agbno <= pag->min_block) in xfs_verify_agbno()
173 struct xfs_perag *pag, in xfs_verify_agbext() argument
180 if (!xfs_verify_agbno(pag, agbno)) in xfs_verify_agbext()
[all …]
Dxfs_ag_resv.c70 struct xfs_perag *pag, in xfs_ag_resv_critical() argument
78 avail = pag->pagf_freeblks - pag->pag_rmapbt_resv.ar_reserved; in xfs_ag_resv_critical()
79 orig = pag->pag_meta_resv.ar_asked; in xfs_ag_resv_critical()
82 avail = pag->pagf_freeblks + pag->pagf_flcount - in xfs_ag_resv_critical()
83 pag->pag_meta_resv.ar_reserved; in xfs_ag_resv_critical()
84 orig = pag->pag_rmapbt_resv.ar_asked; in xfs_ag_resv_critical()
91 trace_xfs_ag_resv_critical(pag, type, avail); in xfs_ag_resv_critical()
95 avail < pag->pag_mount->m_agbtree_maxlevels, in xfs_ag_resv_critical()
96 pag->pag_mount, XFS_ERRTAG_AG_RESV_CRITICAL); in xfs_ag_resv_critical()
105 struct xfs_perag *pag, in xfs_ag_resv_needed() argument
[all …]
Dxfs_ag.c46 struct xfs_perag *pag; in xfs_perag_get() local
49 pag = radix_tree_lookup(&mp->m_perag_tree, agno); in xfs_perag_get()
50 if (pag) { in xfs_perag_get()
51 trace_xfs_perag_get(pag, _RET_IP_); in xfs_perag_get()
52 ASSERT(atomic_read(&pag->pag_ref) >= 0); in xfs_perag_get()
53 atomic_inc(&pag->pag_ref); in xfs_perag_get()
56 return pag; in xfs_perag_get()
68 struct xfs_perag *pag; in xfs_perag_get_tag() local
73 (void **)&pag, first, 1, tag); in xfs_perag_get_tag()
78 trace_xfs_perag_get_tag(pag, _RET_IP_); in xfs_perag_get_tag()
[all …]
Dxfs_ag_resv.h9 int xfs_ag_resv_free(struct xfs_perag *pag);
10 int xfs_ag_resv_init(struct xfs_perag *pag, struct xfs_trans *tp);
12 bool xfs_ag_resv_critical(struct xfs_perag *pag, enum xfs_ag_resv_type type);
13 xfs_extlen_t xfs_ag_resv_needed(struct xfs_perag *pag,
16 void xfs_ag_resv_alloc_extent(struct xfs_perag *pag, enum xfs_ag_resv_type type,
18 void xfs_ag_resv_free_extent(struct xfs_perag *pag, enum xfs_ag_resv_type type,
23 struct xfs_perag *pag, in xfs_perag_resv() argument
28 return &pag->pag_meta_resv; in xfs_perag_resv()
30 return &pag->pag_rmapbt_resv; in xfs_perag_resv()
47 struct xfs_perag *pag; in xfs_ag_resv_rmapbt_alloc() local
[all …]
Dxfs_ialloc.c107 if (!xfs_verify_agino(cur->bc_ag.pag, irec->ir_startino)) in xfs_inobt_check_irec()
109 if (!xfs_verify_agino(cur->bc_ag.pag, in xfs_inobt_check_irec()
140 cur->bc_ag.pag->pag_agno, fa); in xfs_inobt_complain_bad_rec()
198 struct xfs_perag *pag, in xfs_inobt_insert() argument
210 cur = xfs_inobt_init_cursor(pag, tp, agbp, btnum); in xfs_inobt_insert()
270 ASSERT(freecount == cur->bc_ag.pag->pagi_freecount); in xfs_check_agi_freecount()
542 struct xfs_perag *pag, in xfs_inobt_insert_sprec() argument
549 struct xfs_mount *mp = pag->pag_mount; in xfs_inobt_insert_sprec()
555 cur = xfs_inobt_init_cursor(pag, tp, agbp, btnum); in xfs_inobt_insert_sprec()
602 trace_xfs_irec_merge_pre(mp, pag->pag_agno, rec.ir_startino, in xfs_inobt_insert_sprec()
[all …]
Dxfs_alloc.c252 struct xfs_perag *pag = cur->bc_ag.pag; in xfs_alloc_check_irec() local
258 if (!xfs_verify_agbext(pag, irec->ar_startblock, irec->ar_blockcount)) in xfs_alloc_check_irec()
275 cur->bc_ag.pag->pag_agno, fa); in xfs_alloc_complain_bad_rec()
460 ASSERT(args->pag->pagf_freeblks + args->pag->pagf_flcount >= in xfs_alloc_fix_len()
748 struct xfs_perag *pag, in xfs_alloc_read_agfl() argument
752 struct xfs_mount *mp = pag->pag_mount; in xfs_alloc_read_agfl()
758 XFS_AG_DADDR(mp, pag->pag_agno, XFS_AGFL_DADDR(mp)), in xfs_alloc_read_agfl()
834 args->agbp, args->pag, XFS_BTNUM_CNT); in xfs_alloc_cur_setup()
844 args->agbp, args->pag, XFS_BTNUM_BNO); in xfs_alloc_cur_setup()
847 args->agbp, args->pag, XFS_BTNUM_BNO); in xfs_alloc_cur_setup()
[all …]
Dxfs_refcount_btree.c32 cur->bc_ag.agbp, cur->bc_ag.pag); in xfs_refcountbt_dup_cursor()
43 struct xfs_perag *pag = agbp->b_pag; in xfs_refcountbt_set_root() local
49 pag->pagf_refcount_level += inc; in xfs_refcountbt_set_root()
70 args.pag = cur->bc_ag.pag; in xfs_refcountbt_alloc_block()
76 XFS_AGB_TO_FSB(args.mp, args.pag->pag_agno, in xfs_refcountbt_alloc_block()
80 trace_xfs_refcountbt_alloc_block(cur->bc_mp, cur->bc_ag.pag->pag_agno, in xfs_refcountbt_alloc_block()
86 ASSERT(args.agno == cur->bc_ag.pag->pag_agno); in xfs_refcountbt_alloc_block()
110 trace_xfs_refcountbt_free_block(cur->bc_mp, cur->bc_ag.pag->pag_agno, in xfs_refcountbt_free_block()
176 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agf->agf_seqno)); in xfs_refcountbt_init_ptr_from_cur()
214 struct xfs_perag *pag = bp->b_pag; in xfs_refcountbt_verify() local
[all …]
Dxfs_rmap_btree.c57 cur->bc_ag.agbp, cur->bc_ag.pag); in xfs_rmapbt_dup_cursor()
74 cur->bc_ag.pag->pagf_levels[btnum] += inc; in xfs_rmapbt_set_root()
88 struct xfs_perag *pag = cur->bc_ag.pag; in xfs_rmapbt_alloc_block() local
93 error = xfs_alloc_get_freelist(pag, cur->bc_tp, cur->bc_ag.agbp, in xfs_rmapbt_alloc_block()
98 trace_xfs_rmapbt_alloc_block(cur->bc_mp, pag->pag_agno, bno, 1); in xfs_rmapbt_alloc_block()
104 xfs_extent_busy_reuse(cur->bc_mp, pag, bno, 1, false); in xfs_rmapbt_alloc_block()
110 xfs_ag_resv_rmapbt_alloc(cur->bc_mp, pag->pag_agno); in xfs_rmapbt_alloc_block()
123 struct xfs_perag *pag = cur->bc_ag.pag; in xfs_rmapbt_free_block() local
128 trace_xfs_rmapbt_free_block(cur->bc_mp, pag->pag_agno, in xfs_rmapbt_free_block()
132 error = xfs_alloc_put_freelist(pag, cur->bc_tp, agbp, NULL, bno, 1); in xfs_rmapbt_free_block()
[all …]
Dxfs_ialloc_btree.c39 return xfs_inobt_init_cursor(cur->bc_ag.pag, cur->bc_tp, in xfs_inobt_dup_cursor()
106 args.pag = cur->bc_ag.pag; in __xfs_inobt_alloc_block()
114 XFS_AGB_TO_FSB(args.mp, args.pag->pag_agno, sbno)); in __xfs_inobt_alloc_block()
242 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agi->agi_seqno)); in xfs_inobt_init_ptr_from_cur()
254 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agi->agi_seqno)); in xfs_finobt_init_ptr_from_cur()
450 struct xfs_perag *pag, in xfs_inobt_init_common() argument
454 struct xfs_mount *mp = pag->pag_mount; in xfs_inobt_init_common()
470 cur->bc_ag.pag = xfs_perag_hold(pag); in xfs_inobt_init_common()
477 struct xfs_perag *pag, in xfs_inobt_init_cursor() argument
485 cur = xfs_inobt_init_common(pag, tp, btnum); in xfs_inobt_init_cursor()
[all …]
Dxfs_alloc.h38 struct xfs_perag *pag; /* per-ag struct for this agno */ member
74 xfs_extlen_t xfs_alloc_longest_free_extent(struct xfs_perag *pag,
77 struct xfs_perag *pag);
78 int xfs_alloc_get_freelist(struct xfs_perag *pag, struct xfs_trans *tp,
80 int xfs_alloc_put_freelist(struct xfs_perag *pag, struct xfs_trans *tp,
145 struct xfs_perag *pag,
155 struct xfs_perag *pag, in xfs_free_extent() argument
161 return __xfs_free_extent(tp, pag, agbno, len, oinfo, type, false); in xfs_free_extent()
191 int xfs_read_agf(struct xfs_perag *pag, struct xfs_trans *tp, int flags,
193 int xfs_alloc_read_agf(struct xfs_perag *pag, struct xfs_trans *tp, int flags,
[all …]
Dxfs_health.h112 void xfs_ag_mark_sick(struct xfs_perag *pag, unsigned int mask);
113 void xfs_ag_mark_healthy(struct xfs_perag *pag, unsigned int mask);
114 void xfs_ag_measure_sickness(struct xfs_perag *pag, unsigned int *sick,
145 xfs_ag_has_sickness(struct xfs_perag *pag, unsigned int mask) in xfs_ag_has_sickness() argument
149 xfs_ag_measure_sickness(pag, &sick, &checked); in xfs_ag_has_sickness()
175 xfs_ag_is_healthy(struct xfs_perag *pag) in xfs_ag_is_healthy() argument
177 return !xfs_ag_has_sickness(pag, -1U); in xfs_ag_is_healthy()
187 void xfs_ag_geom_health(struct xfs_perag *pag, struct xfs_ag_geometry *ageo);
Dxfs_refcount.c53 trace_xfs_refcount_lookup(cur->bc_mp, cur->bc_ag.pag->pag_agno, in xfs_refcount_lookup_le()
73 trace_xfs_refcount_lookup(cur->bc_mp, cur->bc_ag.pag->pag_agno, in xfs_refcount_lookup_ge()
93 trace_xfs_refcount_lookup(cur->bc_mp, cur->bc_ag.pag->pag_agno, in xfs_refcount_lookup_eq()
129 struct xfs_perag *pag = cur->bc_ag.pag; in xfs_refcount_check_irec() local
138 if (!xfs_verify_agbext(pag, irec->rc_startblock, irec->rc_blockcount)) in xfs_refcount_check_irec()
157 cur->bc_ag.pag->pag_agno, fa); in xfs_refcount_complain_bad_rec()
186 trace_xfs_refcount_get(cur->bc_mp, cur->bc_ag.pag->pag_agno, irec); in xfs_refcount_get_rec()
204 trace_xfs_refcount_update(cur->bc_mp, cur->bc_ag.pag->pag_agno, irec); in xfs_refcount_update()
215 cur->bc_ag.pag->pag_agno, error, _RET_IP_); in xfs_refcount_update()
232 trace_xfs_refcount_insert(cur->bc_mp, cur->bc_ag.pag->pag_agno, irec); in xfs_refcount_insert()
[all …]
/linux-6.6.21/fs/xfs/
Dxfs_extent_busy.c24 struct xfs_perag *pag, in xfs_extent_busy_insert_list() argument
36 new->agno = pag->pag_agno; in xfs_extent_busy_insert_list()
43 trace_xfs_extent_busy(pag->pag_mount, pag->pag_agno, bno, len); in xfs_extent_busy_insert_list()
45 spin_lock(&pag->pagb_lock); in xfs_extent_busy_insert_list()
46 rbp = &pag->pagb_tree.rb_node; in xfs_extent_busy_insert_list()
63 rb_insert_color(&new->rb_node, &pag->pagb_tree); in xfs_extent_busy_insert_list()
67 spin_unlock(&pag->pagb_lock); in xfs_extent_busy_insert_list()
73 struct xfs_perag *pag, in xfs_extent_busy_insert() argument
78 xfs_extent_busy_insert_list(pag, bno, len, flags, &tp->t_busy); in xfs_extent_busy_insert()
83 struct xfs_perag *pag, in xfs_extent_busy_insert_discard() argument
[all …]
Dxfs_filestream.c26 struct xfs_perag *pag; /* AG in use for this directory */ member
41 struct xfs_perag *pag = item->pag; in xfs_fstrm_free_func() local
43 trace_xfs_filestream_free(pag, mru->key); in xfs_fstrm_free_func()
44 atomic_dec(&pag->pagf_fstrms); in xfs_fstrm_free_func()
45 xfs_perag_rele(pag); in xfs_fstrm_free_func()
64 struct xfs_perag *pag; in xfs_filestream_pick_ag() local
76 for_each_perag_wrap(mp, start_agno, agno, pag) { in xfs_filestream_pick_ag()
77 trace_xfs_filestream_scan(pag, pino); in xfs_filestream_pick_ag()
79 err = xfs_bmap_longest_free_extent(pag, NULL, longest); in xfs_filestream_pick_ag()
89 if (pag->pagf_freeblks > maxfree) { in xfs_filestream_pick_ag()
[all …]
Dxfs_drain.c105 struct xfs_perag *pag; in xfs_perag_intent_get() local
107 pag = xfs_perag_get(mp, agno); in xfs_perag_intent_get()
108 if (!pag) in xfs_perag_intent_get()
111 xfs_perag_intent_hold(pag); in xfs_perag_intent_get()
112 return pag; in xfs_perag_intent_get()
121 struct xfs_perag *pag) in xfs_perag_intent_put() argument
123 xfs_perag_intent_rele(pag); in xfs_perag_intent_put()
124 xfs_perag_put(pag); in xfs_perag_intent_put()
133 struct xfs_perag *pag) in xfs_perag_intent_hold() argument
135 trace_xfs_perag_intent_hold(pag, __return_address); in xfs_perag_intent_hold()
[all …]
Dxfs_icache.c49 static int xfs_icwalk_ag(struct xfs_perag *pag,
207 struct xfs_perag *pag) in xfs_blockgc_queue() argument
209 struct xfs_mount *mp = pag->pag_mount; in xfs_blockgc_queue()
215 if (radix_tree_tagged(&pag->pag_ici_root, XFS_ICI_BLOCKGC_TAG)) in xfs_blockgc_queue()
216 queue_delayed_work(pag->pag_mount->m_blockgc_wq, in xfs_blockgc_queue()
217 &pag->pag_blockgc_work, in xfs_blockgc_queue()
225 struct xfs_perag *pag, in xfs_perag_set_inode_tag() argument
229 struct xfs_mount *mp = pag->pag_mount; in xfs_perag_set_inode_tag()
232 lockdep_assert_held(&pag->pag_ici_lock); in xfs_perag_set_inode_tag()
234 was_tagged = radix_tree_tagged(&pag->pag_ici_root, tag); in xfs_perag_set_inode_tag()
[all …]
Dxfs_iwalk.c55 struct xfs_perag *pag; member
98 struct xfs_perag *pag, in xfs_iwalk_ichunk_ra() argument
114 xfs_btree_reada_bufs(mp, pag->pag_agno, agbno, in xfs_iwalk_ichunk_ra()
186 struct xfs_perag *pag = iwag->pag; in xfs_iwalk_ag_recs() local
194 trace_xfs_iwalk_ag_rec(mp, pag->pag_agno, irec); in xfs_iwalk_ag_recs()
200 error = iwag->inobt_walk_fn(mp, tp, pag->pag_agno, irec, in xfs_iwalk_ag_recs()
218 ino = XFS_AGINO_TO_INO(mp, pag->pag_agno, in xfs_iwalk_ag_recs()
272 struct xfs_perag *pag = iwag->pag; in xfs_iwalk_ag_start() local
278 error = xfs_inobt_cur(pag, tp, XFS_BTNUM_INO, curpp, agi_bpp); in xfs_iwalk_ag_start()
312 iwag->lastino = XFS_AGINO_TO_INO(mp, pag->pag_agno, in xfs_iwalk_ag_start()
[all …]
Dxfs_health.c27 struct xfs_perag *pag; in xfs_health_unmount() local
37 for_each_perag(mp, agno, pag) { in xfs_health_unmount()
38 xfs_ag_measure_sickness(pag, &sick, &checked); in xfs_health_unmount()
179 struct xfs_perag *pag, in xfs_ag_mark_sick() argument
183 trace_xfs_ag_mark_sick(pag->pag_mount, pag->pag_agno, mask); in xfs_ag_mark_sick()
185 spin_lock(&pag->pag_state_lock); in xfs_ag_mark_sick()
186 pag->pag_sick |= mask; in xfs_ag_mark_sick()
187 pag->pag_checked |= mask; in xfs_ag_mark_sick()
188 spin_unlock(&pag->pag_state_lock); in xfs_ag_mark_sick()
194 struct xfs_perag *pag, in xfs_ag_mark_healthy() argument
[all …]
Dxfs_drain.h66 void xfs_perag_intent_put(struct xfs_perag *pag);
68 void xfs_perag_intent_hold(struct xfs_perag *pag);
69 void xfs_perag_intent_rele(struct xfs_perag *pag);
71 int xfs_perag_intent_drain(struct xfs_perag *pag);
72 bool xfs_perag_intent_busy(struct xfs_perag *pag);
80 #define xfs_perag_intent_put(pag) xfs_perag_put(pag) argument
82 static inline void xfs_perag_intent_hold(struct xfs_perag *pag) { } in xfs_perag_intent_hold() argument
83 static inline void xfs_perag_intent_rele(struct xfs_perag *pag) { } in xfs_perag_intent_rele() argument
Dxfs_discard.c149 struct xfs_perag *pag, in xfs_trim_gather_extents() argument
157 struct xfs_mount *mp = pag->pag_mount; in xfs_trim_gather_extents()
171 error = xfs_alloc_read_agf(pag, NULL, 0, &agbp); in xfs_trim_gather_extents()
175 cur = xfs_allocbt_init_cursor(mp, NULL, agbp, pag, XFS_BTNUM_CNT); in xfs_trim_gather_extents()
226 dbno = XFS_AGB_TO_DADDR(mp, pag->pag_agno, fbno); in xfs_trim_gather_extents()
233 trace_xfs_discard_toosmall(mp, pag->pag_agno, fbno, flen); in xfs_trim_gather_extents()
244 trace_xfs_discard_exclude(mp, pag->pag_agno, fbno, flen); in xfs_trim_gather_extents()
252 if (xfs_extent_busy_search(mp, pag, fbno, flen)) { in xfs_trim_gather_extents()
253 trace_xfs_discard_busy(mp, pag->pag_agno, fbno, flen); in xfs_trim_gather_extents()
257 xfs_extent_busy_insert_discard(pag, fbno, flen, in xfs_trim_gather_extents()
[all …]
/linux-6.6.21/fs/xfs/scrub/
Dagheader_repair.c114 if (!xfs_verify_agbno(sc->sa.pag, agbno)) in xrep_agf_check_agfl_block()
138 return xfs_verify_agbno(sc->sa.pag, fab->root) && in xrep_check_btree_root()
199 struct xfs_perag *pag = sc->sa.pag; in xrep_agf_init_header() local
206 agf->agf_seqno = cpu_to_be32(pag->pag_agno); in xrep_agf_init_header()
207 agf->agf_length = cpu_to_be32(pag->block_count); in xrep_agf_init_header()
215 ASSERT(xfs_perag_initialised_agf(pag)); in xrep_agf_init_header()
216 clear_bit(XFS_AGSTATE_AGF_INIT, &pag->pag_opstate); in xrep_agf_init_header()
265 sc->sa.pag, XFS_BTNUM_BNO); in xrep_agf_calc_from_btrees()
279 sc->sa.pag, XFS_BTNUM_CNT); in xrep_agf_calc_from_btrees()
287 cur = xfs_rmapbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.pag); in xrep_agf_calc_from_btrees()
[all …]
Dfscounters.c86 struct xfs_perag *pag = NULL; in xchk_fscount_warmup() local
90 for_each_perag(mp, agno, pag) { in xchk_fscount_warmup()
93 if (xfs_perag_initialised_agi(pag) && in xchk_fscount_warmup()
94 xfs_perag_initialised_agf(pag)) in xchk_fscount_warmup()
98 error = xfs_ialloc_read_agi(pag, sc->tp, &agi_bp); in xchk_fscount_warmup()
101 error = xfs_alloc_read_agf(pag, sc->tp, 0, &agf_bp); in xchk_fscount_warmup()
109 if (!xfs_perag_initialised_agi(pag) || in xchk_fscount_warmup()
110 !xfs_perag_initialised_agf(pag)) { in xchk_fscount_warmup()
125 if (pag) in xchk_fscount_warmup()
126 xfs_perag_rele(pag); in xchk_fscount_warmup()
[all …]
Drepair.c236 struct xfs_perag *pag, in xrep_ag_has_space() argument
240 return !xfs_ag_resv_critical(pag, XFS_AG_RESV_RMAPBT) && in xrep_ag_has_space()
241 !xfs_ag_resv_critical(pag, XFS_AG_RESV_METADATA) && in xrep_ag_has_space()
242 pag->pagf_freeblks > xfs_ag_resv_needed(pag, type) + nr_blocks; in xrep_ag_has_space()
256 struct xfs_perag *pag; in xrep_calc_ag_resblks() local
271 pag = xfs_perag_get(mp, sm->sm_agno); in xrep_calc_ag_resblks()
272 if (xfs_perag_initialised_agi(pag)) { in xrep_calc_ag_resblks()
274 icount = pag->pagi_count; in xrep_calc_ag_resblks()
277 error = xfs_ialloc_read_agi(pag, NULL, &bp); in xrep_calc_ag_resblks()
279 icount = pag->pagi_count; in xrep_calc_ag_resblks()
[all …]
Dcommon.c414 error = xfs_ialloc_read_agi(sa->pag, sc->tp, &sa->agi_bp); in xchk_perag_read_headers()
418 error = xfs_alloc_read_agf(sa->pag, sc->tp, 0, &sa->agf_bp); in xchk_perag_read_headers()
436 ASSERT(sa->pag != NULL); in xchk_perag_drain_and_lock()
479 if (!xfs_perag_intent_busy(sa->pag)) in xchk_perag_drain_and_lock()
494 error = xfs_perag_intent_drain(sa->pag); in xchk_perag_drain_and_lock()
515 ASSERT(!sa->pag); in xchk_ag_read_headers()
516 sa->pag = xfs_perag_get(mp, agno); in xchk_ag_read_headers()
517 if (!sa->pag) in xchk_ag_read_headers()
558 xchk_ag_btree_healthy_enough(sc, sa->pag, XFS_BTNUM_BNO)) { in xchk_ag_btcur_init()
561 sa->pag, XFS_BTNUM_BNO); in xchk_ag_btcur_init()
[all …]
Dreap.c122 error = xfs_rmap_alloc(sc->tp, sc->sa.agf_bp, sc->sa.pag, agbno, 1, in xreap_put_freelist()
128 error = xfs_alloc_read_agfl(sc->sa.pag, sc->tp, &agfl_bp); in xreap_put_freelist()
132 error = xfs_alloc_put_freelist(sc->sa.pag, sc->tp, sc->sa.agf_bp, in xreap_put_freelist()
136 xfs_extent_busy_insert(sc->tp, sc->sa.pag, agbno, 1, in xreap_put_freelist()
218 struct xfs_perag *pag = sc->sa.pag; in xreap_agextent_binval() local
220 xfs_agnumber_t agno = sc->sa.pag->pag_agno; in xreap_agextent_binval()
228 if (!xfs_verify_agbno(pag, agbno) || in xreap_agextent_binval()
229 !xfs_verify_agbno(pag, agbno_next - 1)) in xreap_agextent_binval()
281 trace_xreap_agextent_binval(sc->sa.pag, agbno, *aglenp); in xreap_agextent_binval()
309 sc->sa.pag); in xreap_agextent_select()
[all …]

123