Home
last modified time | relevance | path

Searched refs:xfs_perag (Results 1 – 25 of 81) sorted by relevance

1234

/linux-6.12.1/fs/xfs/
Dxfs_drain.h9 struct xfs_perag;
64 struct xfs_perag *xfs_perag_intent_get(struct xfs_mount *mp,
66 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);
83 static inline void xfs_perag_intent_hold(struct xfs_perag *pag) { } in xfs_perag_intent_hold()
84 static inline void xfs_perag_intent_rele(struct xfs_perag *pag) { } in xfs_perag_intent_rele()
Dxfs_extent_busy.h12 struct xfs_perag;
49 xfs_extent_busy_insert(struct xfs_trans *tp, struct xfs_perag *pag,
53 xfs_extent_busy_insert_discard(struct xfs_perag *pag, xfs_agblock_t bno,
61 xfs_extent_busy_search(struct xfs_mount *mp, struct xfs_perag *pag,
65 xfs_extent_busy_reuse(struct xfs_mount *mp, struct xfs_perag *pag,
73 xfs_extent_busy_flush(struct xfs_trans *tp, struct xfs_perag *pag,
88 bool xfs_extent_busy_list_empty(struct xfs_perag *pag);
Dxfs_drain.c100 struct xfs_perag *
105 struct xfs_perag *pag; in xfs_perag_intent_get()
121 struct xfs_perag *pag) in xfs_perag_intent_put()
133 struct xfs_perag *pag) in xfs_perag_intent_hold()
142 struct xfs_perag *pag) in xfs_perag_intent_rele()
154 struct xfs_perag *pag) in xfs_perag_intent_drain()
163 struct xfs_perag *pag) in xfs_perag_intent_busy()
Dxfs_extent_busy.c24 struct xfs_perag *pag, in xfs_extent_busy_insert_list()
74 struct xfs_perag *pag, in xfs_extent_busy_insert()
84 struct xfs_perag *pag, in xfs_extent_busy_insert_discard()
105 struct xfs_perag *pag, in xfs_extent_busy_search()
152 struct xfs_perag *pag, in xfs_extent_busy_update_extent()
301 struct xfs_perag *pag, in xfs_extent_busy_reuse()
523 struct xfs_perag *pag, in xfs_extent_busy_clear_one()
562 struct xfs_perag *pag; in xfs_extent_busy_clear()
600 struct xfs_perag *pag, in xfs_extent_busy_flush()
639 struct xfs_perag *pag; in xfs_extent_busy_wait_all()
[all …]
Dxfs_iunlink_item.h11 struct xfs_perag;
17 struct xfs_perag *pag;
25 struct xfs_perag *pag, xfs_agino_t next_agino);
Dxfs_icache.c50 static int xfs_icwalk_ag(struct xfs_perag *pag,
220 struct xfs_perag *pag) in xfs_blockgc_queue()
238 struct xfs_perag *pag, in xfs_perag_set_inode_tag()
275 struct xfs_perag *pag, in xfs_perag_clear_inode_tag()
307 static struct xfs_perag *
310 struct xfs_perag *pag, in xfs_perag_grab_next_tag()
375 struct xfs_perag *pag, in xfs_iget_recycle()
528 struct xfs_perag *pag, in xfs_iget_cache_hit()
644 struct xfs_perag *pag, in xfs_iget_cache_miss()
788 struct xfs_perag *pag; in xfs_iget()
[all …]
Dxfs_iwalk.c56 struct xfs_perag *pag;
99 struct xfs_perag *pag, in xfs_iwalk_ichunk_ra()
179 struct xfs_perag *pag = iwag->pag; in xfs_iwalk_ag_recs()
265 struct xfs_perag *pag = iwag->pag; in xfs_iwalk_ag_start()
401 struct xfs_perag *pag = iwag->pag; in xfs_iwalk_ag()
566 struct xfs_perag *pag; in xfs_iwalk()
644 struct xfs_perag *pag; in xfs_iwalk_threaded()
751 struct xfs_perag *pag; in xfs_inobt_walk()
Dxfs_health.c31 struct xfs_perag *pag; in xfs_health_unmount()
219 struct xfs_perag *pag = xfs_perag_get(mp, agno); in xfs_agno_mark_sick()
232 struct xfs_perag *pag, in xfs_ag_mark_sick()
246 struct xfs_perag *pag, in xfs_ag_mark_corrupt()
261 struct xfs_perag *pag, in xfs_ag_mark_healthy()
278 struct xfs_perag *pag, in xfs_ag_measure_sickness()
441 struct xfs_perag *pag, in xfs_ag_geom_health()
Dxfs_filestream.c26 struct xfs_perag *pag; /* AG in use for this directory */
41 struct xfs_perag *pag = item->pag; in xfs_fstrm_free_func()
64 struct xfs_perag *pag; in xfs_filestream_pick_ag()
65 struct xfs_perag *max_pag = NULL; in xfs_filestream_pick_ag()
210 struct xfs_perag *pag; in xfs_filestream_lookup_association()
/linux-6.12.1/fs/xfs/libxfs/
Dxfs_ag.h12 struct xfs_perag;
32 struct xfs_perag { struct
136 static inline bool xfs_perag_ ## name (struct xfs_perag *pag) \ argument
156 struct xfs_perag *xfs_perag_get(struct xfs_mount *mp, xfs_agnumber_t agno);
157 struct xfs_perag *xfs_perag_hold(struct xfs_perag *pag);
158 void xfs_perag_put(struct xfs_perag *pag);
161 struct xfs_perag *xfs_perag_grab(struct xfs_mount *, xfs_agnumber_t);
162 void xfs_perag_rele(struct xfs_perag *pag);
172 xfs_verify_agbno(struct xfs_perag *pag, xfs_agblock_t agbno) in xfs_verify_agbno()
183 struct xfs_perag *pag, in xfs_verify_agbext()
[all …]
Dxfs_ag_resv.h9 void 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()
Dxfs_alloc.h12 struct xfs_perag;
38 struct xfs_perag *pag; /* per-ag struct for this agno */
72 xfs_extlen_t xfs_alloc_longest_free_extent(struct xfs_perag *pag,
75 struct xfs_perag *pag);
76 int xfs_alloc_get_freelist(struct xfs_perag *pag, struct xfs_trans *tp,
78 int xfs_alloc_put_freelist(struct xfs_perag *pag, struct xfs_trans *tp,
147 struct xfs_perag *pag,
157 struct xfs_perag *pag, in xfs_free_extent()
190 xfs_failaddr_t xfs_alloc_check_irec(struct xfs_perag *pag,
193 int xfs_read_agf(struct xfs_perag *pag, struct xfs_trans *tp, int flags,
[all …]
Dxfs_ialloc.h15 struct xfs_perag;
45 int xfs_difree(struct xfs_trans *tp, struct xfs_perag *pag,
53 struct xfs_perag *pag,
68 int xfs_read_agi(struct xfs_perag *pag, struct xfs_trans *tp, xfs_buf_flags_t flags,
70 int xfs_ialloc_read_agi(struct xfs_perag *pag, struct xfs_trans *tp,
100 xfs_failaddr_t xfs_inobt_check_irec(struct xfs_perag *pag,
115 int xfs_ialloc_check_shrink(struct xfs_perag *pag, struct xfs_trans *tp,
Dxfs_health.h50 struct xfs_perag;
200 void xfs_ag_mark_sick(struct xfs_perag *pag, unsigned int mask);
201 void xfs_ag_mark_corrupt(struct xfs_perag *pag, unsigned int mask);
202 void xfs_ag_mark_healthy(struct xfs_perag *pag, unsigned int mask);
203 void xfs_ag_measure_sickness(struct xfs_perag *pag, unsigned int *sick,
239 xfs_ag_has_sickness(struct xfs_perag *pag, unsigned int mask) in xfs_ag_has_sickness()
269 xfs_ag_is_healthy(struct xfs_perag *pag) in xfs_ag_is_healthy()
281 void xfs_ag_geom_health(struct xfs_perag *pag, struct xfs_ag_geometry *ageo);
Dxfs_ialloc_btree.h16 struct xfs_perag;
49 struct xfs_btree_cur *xfs_inobt_init_cursor(struct xfs_perag *pag,
51 struct xfs_btree_cur *xfs_finobt_init_cursor(struct xfs_perag *pag,
66 int xfs_finobt_calc_reserves(struct xfs_perag *perag, struct xfs_trans *tp,
Dxfs_ag_resv.c70 struct xfs_perag *pag, in xfs_ag_resv_critical()
105 struct xfs_perag *pag, in xfs_ag_resv_needed()
131 struct xfs_perag *pag, in __xfs_ag_resv_free()
160 struct xfs_perag *pag) in xfs_ag_resv_free()
168 struct xfs_perag *pag, in __xfs_ag_resv_init()
238 struct xfs_perag *pag, in xfs_ag_resv_init()
338 struct xfs_perag *pag, in xfs_ag_resv_alloc_extent()
380 struct xfs_perag *pag, in xfs_ag_resv_free_extent()
Dxfs_rmap.h9 struct xfs_perag;
119 struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len,
122 struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len,
176 struct xfs_perag *ri_pag;
207 xfs_failaddr_t xfs_rmap_check_irec(struct xfs_perag *pag,
267 int xfs_rmap_hook_add(struct xfs_perag *pag, struct xfs_rmap_hook *hook);
268 void xfs_rmap_hook_del(struct xfs_perag *pag, struct xfs_rmap_hook *hook);
Dxfs_refcount.h11 struct xfs_perag;
59 struct xfs_perag *ri_pag;
94 struct xfs_perag *pag);
121 xfs_failaddr_t xfs_refcount_check_irec(struct xfs_perag *pag,
Dxfs_alloc_btree.h16 struct xfs_perag;
52 struct xfs_perag *pag);
55 struct xfs_perag *pag);
Dxfs_refcount_btree.h16 struct xfs_perag;
50 struct xfs_perag *pag);
61 struct xfs_trans *tp, struct xfs_perag *pag, xfs_extlen_t *ask,
Dxfs_rmap_btree.h47 struct xfs_perag *pag);
60 struct xfs_perag *pag, xfs_extlen_t *ask, xfs_extlen_t *used);
67 struct xfs_btree_cur *xfs_rmapbt_mem_cursor(struct xfs_perag *pag,
Dxfs_ag.c41 struct xfs_perag *
46 struct xfs_perag *pag; in xfs_perag_get()
60 struct xfs_perag *
62 struct xfs_perag *pag) in xfs_perag_hold()
74 struct xfs_perag *pag) in xfs_perag_put()
87 struct xfs_perag *
92 struct xfs_perag *pag; in xfs_perag_grab()
107 struct xfs_perag *pag) in xfs_perag_rele()
128 struct xfs_perag *pag; in xfs_initialize_perag_data()
200 struct xfs_perag *pag = xa_erase(&mp->m_perags, agno); in xfs_free_perag_range()
[all …]
Dxfs_inode_util.h53 int xfs_inode_uninit(struct xfs_trans *tp, struct xfs_perag *pag,
57 int xfs_iunlink_remove(struct xfs_trans *tp, struct xfs_perag *pag,
/linux-6.12.1/fs/xfs/scrub/
Dnewbt.h15 struct xfs_perag *pag;
67 int xrep_newbt_add_extent(struct xrep_newbt *xnr, struct xfs_perag *pag,
Discan.c61 struct xfs_perag *pag, in xchk_iscan_mask_skipino()
88 struct xfs_perag *pag, in xchk_iscan_find_next()
265 struct xfs_perag *pag, in xchk_iscan_read_agi()
305 struct xfs_perag **pagp, in xchk_iscan_advance()
313 struct xfs_perag *pag; in xchk_iscan_advance()
431 struct xfs_perag *pag, in xchk_iscan_iget()
582 struct xfs_perag *pag = NULL; in xchk_iscan_iter_batch()

1234