Home
last modified time | relevance | path

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

123

/linux-6.1.9/fs/xfs/libxfs/
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()
47 struct xfs_perag *pag; in xfs_ag_resv_rmapbt_alloc()
Dxfs_ag.h12 struct xfs_perag;
32 struct xfs_perag { struct
114 struct xfs_perag *xfs_perag_get(struct xfs_mount *mp, xfs_agnumber_t agno); argument
115 struct xfs_perag *xfs_perag_get_tag(struct xfs_mount *mp, xfs_agnumber_t agno,
117 void xfs_perag_put(struct xfs_perag *pag);
127 xfs_verify_agbno(struct xfs_perag *pag, xfs_agblock_t agbno) in xfs_verify_agbno()
138 struct xfs_perag *pag, in xfs_verify_agbext()
156 xfs_verify_agino(struct xfs_perag *pag, xfs_agino_t agino) in xfs_verify_agino()
170 xfs_verify_agino_or_null(struct xfs_perag *pag, xfs_agino_t agino) in xfs_verify_agino_or_null()
187 static inline struct xfs_perag *
[all …]
Dxfs_alloc.h12 struct xfs_perag;
56 struct xfs_perag *pag; /* per-ag struct for this agno */
94 xfs_extlen_t xfs_alloc_longest_free_extent(struct xfs_perag *pag,
97 struct xfs_perag *pag);
98 int xfs_alloc_get_freelist(struct xfs_perag *pag, struct xfs_trans *tp,
100 int xfs_alloc_put_freelist(struct xfs_perag *pag, struct xfs_trans *tp,
171 int xfs_read_agf(struct xfs_perag *pag, struct xfs_trans *tp, int flags,
173 int xfs_alloc_read_agf(struct xfs_perag *pag, struct xfs_trans *tp, int flags,
175 int xfs_alloc_read_agfl(struct xfs_perag *pag, struct xfs_trans *tp,
180 int xfs_free_extent_fix_freelist(struct xfs_trans *tp, struct xfs_perag *pag,
Dxfs_health.h35 struct xfs_perag;
112 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()
175 xfs_ag_is_healthy(struct xfs_perag *pag) in xfs_ag_is_healthy()
187 void xfs_ag_geom_health(struct xfs_perag *pag, struct xfs_ag_geometry *ageo);
Dxfs_ialloc_btree.h16 struct xfs_perag;
51 struct xfs_perag *pag, xfs_btnum_t btnum);
53 struct xbtree_afakeroot *afake, struct xfs_perag *pag,
68 struct xfs_perag *pag, xfs_extlen_t *ask, xfs_extlen_t *used);
72 struct xfs_perag *pag, xfs_btnum_t btnum,
Dxfs_refcount_btree.h16 struct xfs_perag;
50 struct xfs_perag *pag);
52 struct xbtree_afakeroot *afake, struct xfs_perag *pag);
62 struct xfs_trans *tp, struct xfs_perag *pag, xfs_extlen_t *ask,
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()
166 struct xfs_perag *pag) in xfs_ag_resv_free()
180 struct xfs_perag *pag, in __xfs_ag_resv_init()
250 struct xfs_perag *pag, in xfs_ag_resv_init()
350 struct xfs_perag *pag, in xfs_ag_resv_alloc_extent()
392 struct xfs_perag *pag, in xfs_ag_resv_free_extent()
Dxfs_alloc_btree.h16 struct xfs_perag;
52 struct xfs_perag *pag, xfs_btnum_t btnum);
54 struct xbtree_afakeroot *afake, struct xfs_perag *pag,
Dxfs_rmap_btree.h46 struct xfs_perag *pag);
48 struct xbtree_afakeroot *afake, struct xfs_perag *pag);
60 struct xfs_perag *pag, xfs_extlen_t *ask, xfs_extlen_t *used);
Dxfs_ialloc.h42 int xfs_difree(struct xfs_trans *tp, struct xfs_perag *pag,
65 int xfs_read_agi(struct xfs_perag *pag, struct xfs_trans *tp,
67 int xfs_ialloc_read_agi(struct xfs_perag *pag, struct xfs_trans *tp,
Dxfs_ag.c41 struct xfs_perag *
46 struct xfs_perag *pag; in xfs_perag_get()
63 struct xfs_perag *
69 struct xfs_perag *pag; in xfs_perag_get_tag()
88 struct xfs_perag *pag) in xfs_perag_put()
111 struct xfs_perag *pag; in xfs_initialize_perag_data()
173 struct xfs_perag *pag = container_of(head, struct xfs_perag, rcu_head); in __xfs_free_perag()
186 struct xfs_perag *pag; in xfs_free_perag()
269 struct xfs_perag *pag; in xfs_initialize_perag()
819 struct xfs_perag *pag, in xfs_ag_shrink_space()
[all …]
Dxfs_refcount_btree.c43 struct xfs_perag *pag = agbp->b_pag; in xfs_refcountbt_set_root()
216 struct xfs_perag *pag = bp->b_pag; in xfs_refcountbt_verify()
330 struct xfs_perag *pag) in xfs_refcountbt_init_common()
358 struct xfs_perag *pag) in xfs_refcountbt_init_cursor()
374 struct xfs_perag *pag) in xfs_refcountbt_stage_cursor()
492 struct xfs_perag *pag, in xfs_refcountbt_calc_reserves()
Dxfs_rmap_btree.c88 struct xfs_perag *pag = cur->bc_ag.pag; in xfs_rmapbt_alloc_block()
123 struct xfs_perag *pag = cur->bc_ag.pag; in xfs_rmapbt_free_block()
290 struct xfs_perag *pag = bp->b_pag; in xfs_rmapbt_verify()
452 struct xfs_perag *pag) in xfs_rmapbt_init_common()
476 struct xfs_perag *pag) in xfs_rmapbt_init_cursor()
492 struct xfs_perag *pag) in xfs_rmapbt_stage_cursor()
642 struct xfs_perag *pag, in xfs_rmapbt_calc_reserves()
Dxfs_ialloc_btree.c432 struct xfs_perag *pag, in xfs_inobt_init_common()
462 struct xfs_perag *pag, in xfs_inobt_init_cursor()
482 struct xfs_perag *pag, in xfs_inobt_stage_cursor()
686 struct xfs_perag *pag) in xfs_inobt_max_size()
713 struct xfs_perag *pag, in xfs_inobt_cur()
737 struct xfs_perag *pag, in xfs_inobt_count_blocks()
759 struct xfs_perag *pag, in xfs_finobt_read_blocks()
784 struct xfs_perag *pag, in xfs_finobt_calc_reserves()
Dxfs_refcount.h11 struct xfs_perag;
91 struct xfs_perag *pag);
Dxfs_rmap.h9 struct xfs_perag;
118 struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len,
121 struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len,
/linux-6.1.9/fs/xfs/
Dxfs_extent_busy.h12 struct xfs_perag;
35 xfs_extent_busy_insert(struct xfs_trans *tp, struct xfs_perag *pag,
43 xfs_extent_busy_search(struct xfs_mount *mp, struct xfs_perag *pag,
47 xfs_extent_busy_reuse(struct xfs_mount *mp, struct xfs_perag *pag,
55 xfs_extent_busy_flush(struct xfs_mount *mp, struct xfs_perag *pag,
Dxfs_iunlink_item.h11 struct xfs_perag;
17 struct xfs_perag *pag;
25 struct xfs_perag *pag, xfs_agino_t next_agino);
Dxfs_extent_busy.c25 struct xfs_perag *pag, in xfs_extent_busy_insert()
81 struct xfs_perag *pag, in xfs_extent_busy_search()
128 struct xfs_perag *pag, in xfs_extent_busy_update_extent()
276 struct xfs_perag *pag, in xfs_extent_busy_reuse()
499 struct xfs_perag *pag, in xfs_extent_busy_clear_one()
514 struct xfs_perag *pag, in xfs_extent_busy_put_pag()
539 struct xfs_perag *pag = NULL; in xfs_extent_busy_clear()
572 struct xfs_perag *pag, in xfs_extent_busy_flush()
596 struct xfs_perag *pag; in xfs_extent_busy_wait_all()
Dxfs_icache.c49 static int xfs_icwalk_ag(struct xfs_perag *pag,
207 struct xfs_perag *pag) in xfs_blockgc_queue()
225 struct xfs_perag *pag, in xfs_perag_set_inode_tag()
264 struct xfs_perag *pag, in xfs_perag_clear_inode_tag()
336 struct xfs_perag *pag, in xfs_iget_recycle()
453 struct xfs_perag *pag, in xfs_iget_cache_hit()
567 struct xfs_perag *pag, in xfs_iget_cache_miss()
712 struct xfs_perag *pag; in xfs_iget()
869 struct xfs_perag *pag) in xfs_reclaim_inode()
1020 struct xfs_perag *pag; in xfs_reclaim_inodes_count()
[all …]
Dxfs_iwalk.c55 struct xfs_perag *pag;
98 struct xfs_perag *pag, in xfs_iwalk_ichunk_ra()
186 struct xfs_perag *pag = iwag->pag; in xfs_iwalk_ag_recs()
272 struct xfs_perag *pag = iwag->pag; in xfs_iwalk_ag_start()
407 struct xfs_perag *pag = iwag->pag; in xfs_iwalk_ag()
571 struct xfs_perag *pag; in xfs_iwalk()
649 struct xfs_perag *pag; in xfs_iwalk_threaded()
756 struct xfs_perag *pag; in xfs_inobt_walk()
Dxfs_health.c27 struct xfs_perag *pag; in xfs_health_unmount()
179 struct xfs_perag *pag, in xfs_ag_mark_sick()
194 struct xfs_perag *pag, in xfs_ag_mark_healthy()
209 struct xfs_perag *pag, in xfs_ag_measure_sickness()
344 struct xfs_perag *pag, in xfs_ag_geom_health()
Dxfs_filestream.c43 struct xfs_perag *pag; in xfs_filestream_peek_ag()
57 struct xfs_perag *pag; in xfs_filestream_get_ag()
71 struct xfs_perag *pag; in xfs_filestream_put_ag()
107 struct xfs_perag *pag; in xfs_filestream_pick_ag()
Dxfs_fsops.c44 struct xfs_perag *last_pag, in xfs_resizefs_init_new_ags()
100 struct xfs_perag *last_pag; in xfs_growfs_data_private()
200 struct xfs_perag *pag; in xfs_growfs_data_private()
561 struct xfs_perag *pag; in xfs_fs_reserve_ag_blocks()
589 struct xfs_perag *pag; in xfs_fs_unreserve_ag_blocks()
/linux-6.1.9/fs/xfs/scrub/
Dhealth.c132 struct xfs_perag *pag; in xchk_update_health()
179 struct xfs_perag *pag, in xchk_ag_btree_healthy_enough()

123