Home
last modified time | relevance | path

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

123

/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_ag.h12 struct xfs_perag;
32 struct xfs_perag { struct
125 static inline bool xfs_perag_ ## name (struct xfs_perag *pag) \ argument
146 struct xfs_perag *xfs_perag_get(struct xfs_mount *mp, xfs_agnumber_t agno);
147 struct xfs_perag *xfs_perag_get_tag(struct xfs_mount *mp, xfs_agnumber_t agno,
149 struct xfs_perag *xfs_perag_hold(struct xfs_perag *pag);
150 void xfs_perag_put(struct xfs_perag *pag);
153 struct xfs_perag *xfs_perag_grab(struct xfs_mount *, xfs_agnumber_t);
154 struct xfs_perag *xfs_perag_grab_tag(struct xfs_mount *, xfs_agnumber_t,
156 void xfs_perag_rele(struct xfs_perag *pag);
[all …]
H A 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()
H A 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,
143 struct xfs_perag *pag,
153 struct xfs_perag *pag, in xfs_free_extent()
189 int xfs_read_agf(struct xfs_perag *pag, struct xfs_trans *tp, int flags,
191 int xfs_alloc_read_agf(struct xfs_perag *pag, struct xfs_trans *tp, int flags,
[all …]
H A 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);
H A Dxfs_ialloc.h15 struct xfs_perag;
43 int xfs_difree(struct xfs_trans *tp, struct xfs_perag *pag,
51 struct xfs_perag *pag,
66 int xfs_read_agi(struct xfs_perag *pag, struct xfs_trans *tp,
68 int xfs_ialloc_read_agi(struct xfs_perag *pag, struct xfs_trans *tp,
111 int xfs_ialloc_check_shrink(struct xfs_perag *pag, struct xfs_trans *tp,
H A Dxfs_ialloc_btree.h16 struct xfs_perag;
49 extern struct xfs_btree_cur *xfs_inobt_init_cursor(struct xfs_perag *pag,
51 struct xfs_btree_cur *xfs_inobt_stage_cursor(struct xfs_perag *pag,
65 int xfs_finobt_calc_reserves(struct xfs_perag *perag, struct xfs_trans *tp,
69 int xfs_inobt_cur(struct xfs_perag *pag, struct xfs_trans *tp,
H A 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,
H A 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()
H A Dxfs_ag.c41 struct xfs_perag *
46 struct xfs_perag *pag; in xfs_perag_get()
62 struct xfs_perag *
68 struct xfs_perag *pag; in xfs_perag_get_tag()
85 struct xfs_perag *
87 struct xfs_perag *pag) in xfs_perag_hold()
99 struct xfs_perag *pag) in xfs_perag_put()
112 struct xfs_perag *
117 struct xfs_perag *pag; in xfs_perag_grab()
133 struct xfs_perag *
[all …]
H A 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,
H A 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);
H A Dxfs_refcount.h11 struct xfs_perag;
53 struct xfs_perag *ri_pag;
93 struct xfs_perag *pag);
H A 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,
166 struct xfs_perag *ri_pag;
H A Dxfs_ialloc_btree.c450 struct xfs_perag *pag, in xfs_inobt_init_common()
477 struct xfs_perag *pag, in xfs_inobt_init_cursor()
497 struct xfs_perag *pag, in xfs_inobt_stage_cursor()
702 struct xfs_perag *pag) in xfs_inobt_max_size()
727 struct xfs_perag *pag, in xfs_inobt_cur()
750 struct xfs_perag *pag, in xfs_inobt_count_blocks()
773 struct xfs_perag *pag, in xfs_finobt_read_blocks()
796 struct xfs_perag *pag, in xfs_finobt_calc_reserves()
H A Dxfs_refcount_btree.c43 struct xfs_perag *pag = agbp->b_pag; in xfs_refcountbt_set_root()
214 struct xfs_perag *pag = bp->b_pag; in xfs_refcountbt_verify()
342 struct xfs_perag *pag) in xfs_refcountbt_init_common()
367 struct xfs_perag *pag) in xfs_refcountbt_init_cursor()
383 struct xfs_perag *pag) in xfs_refcountbt_stage_cursor()
501 struct xfs_perag *pag, in xfs_refcountbt_calc_reserves()
H A 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()
322 struct xfs_perag *pag = bp->b_pag; in xfs_rmapbt_verify()
505 struct xfs_perag *pag) in xfs_rmapbt_init_common()
526 struct xfs_perag *pag) in xfs_rmapbt_init_cursor()
542 struct xfs_perag *pag) in xfs_rmapbt_stage_cursor()
692 struct xfs_perag *pag, in xfs_rmapbt_calc_reserves()
/openbmc/linux/fs/xfs/
H A 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);
82 static inline void xfs_perag_intent_hold(struct xfs_perag *pag) { } in xfs_perag_intent_hold()
83 static inline void xfs_perag_intent_rele(struct xfs_perag *pag) { } in xfs_perag_intent_rele()
H A 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()
H A 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,
H A Dxfs_extent_busy.c24 struct xfs_perag *pag, in xfs_extent_busy_insert_list()
73 struct xfs_perag *pag, in xfs_extent_busy_insert()
83 struct xfs_perag *pag, in xfs_extent_busy_insert_discard()
104 struct xfs_perag *pag, in xfs_extent_busy_search()
151 struct xfs_perag *pag, in xfs_extent_busy_update_extent()
300 struct xfs_perag *pag, in xfs_extent_busy_reuse()
523 struct xfs_perag *pag, in xfs_extent_busy_clear_one()
538 struct xfs_perag *pag, in xfs_extent_busy_put_pag()
563 struct xfs_perag *pag = NULL; in xfs_extent_busy_clear()
607 struct xfs_perag *pag, in xfs_extent_busy_flush()
[all …]
H A Dxfs_iunlink_item.h11 struct xfs_perag;
17 struct xfs_perag *pag;
25 struct xfs_perag *pag, xfs_agino_t next_agino);
H A 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()
483 struct xfs_perag *pag, in xfs_iget_cache_hit()
599 struct xfs_perag *pag, in xfs_iget_cache_miss()
744 struct xfs_perag *pag; in xfs_iget()
864 struct xfs_perag *pag) in xfs_reclaim_inode()
1015 struct xfs_perag *pag; in xfs_reclaim_inodes_count()
[all …]
H A 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()
755 struct xfs_perag *pag; in xfs_inobt_walk()
H A 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()
H A 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()

123