Home
last modified time | relevance | path

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

123

/linux/fs/xfs/libxfs/
H A Dxfs_ag.h14 struct xfs_perag;
34 struct xfs_perag { struct
93 static inline struct xfs_perag *to_perag(struct xfs_group *xg) in to_perag() argument
95 return container_of(xg, struct xfs_perag, pag_group); in to_perag()
98 static inline struct xfs_group *pag_group(struct xfs_perag *pag) in pag_group()
103 static inline struct xfs_mount *pag_mount(const struct xfs_perag *pag) in pag_mount()
108 static inline xfs_agnumber_t pag_agno(const struct xfs_perag *pag) in pag_agno()
123 static inline bool xfs_perag_ ## name (struct xfs_perag *pag) \
143 static inline struct xfs_perag *
151 static inline struct xfs_perag *
[all …]
H A 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()
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,
146 struct xfs_perag *pag,
156 struct xfs_perag *pag, in xfs_free_extent()
189 xfs_failaddr_t xfs_alloc_check_irec(struct xfs_perag *pag,
192 int xfs_read_agf(struct xfs_perag *pag, struct xfs_trans *tp, int flags,
[all …]
H A 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,
H A 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,
H A 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,
H A Dxfs_alloc_btree.h16 struct xfs_perag;
52 struct xfs_perag *pag);
55 struct xfs_perag *pag);
H A 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,
H A 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,
H A Dxfs_refcount.h11 struct xfs_perag;
124 xfs_failaddr_t xfs_refcount_check_irec(struct xfs_perag *pag,
H A Dxfs_sb.h14 struct xfs_perag;
/linux/fs/xfs/
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.c53 static int xfs_icwalk_ag(struct xfs_perag *pag,
220 struct xfs_perag *pag) in xfs_blockgc_queue()
237 struct xfs_perag *pag, in xfs_perag_set_inode_tag()
273 struct xfs_perag *pag, in xfs_perag_clear_inode_tag()
302 static struct xfs_perag *
305 struct xfs_perag *pag, in xfs_perag_grab_next_tag()
359 struct xfs_perag *pag, in xfs_iget_recycle()
496 struct xfs_perag *pag, in xfs_iget_cache_hit()
622 struct xfs_perag *pag, in xfs_iget_cache_miss()
771 struct xfs_perag *pag; in xfs_iget()
[all …]
H A Dxfs_iwalk.c56 struct xfs_perag *pag;
99 struct xfs_perag *pag, in xfs_iwalk_ichunk_ra()
178 struct xfs_perag *pag = iwag->pag; in xfs_iwalk_ag_recs()
264 struct xfs_perag *pag = iwag->pag; in xfs_iwalk_ag_start()
397 struct xfs_perag *pag = iwag->pag; in xfs_iwalk_ag()
646 struct xfs_perag *pag = NULL; in xfs_iwalk_threaded()
H A Dxfs_drain.h10 struct xfs_perag;
H A Dxfs_icache.h10 struct xfs_perag;
H A Dxfs_health.c50 struct xfs_perag *pag = NULL; in xfs_health_unmount()
193 struct xfs_perag *pag = xfs_perag_get(mp, agno); in xfs_agno_mark_sick()
533 struct xfs_perag *pag, in xfs_ag_geom_health()
/linux/fs/xfs/scrub/
H A Dnewbt.h15 struct xfs_perag *pag;
68 int xrep_newbt_add_extent(struct xrep_newbt *xnr, struct xfs_perag *pag,
H A Dhealth.c170 struct xfs_perag *pag = NULL; in xchk_mark_all_healthy()
194 struct xfs_perag *pag; in xchk_update_health()
315 struct xfs_perag *pag = NULL; in xchk_health_record()
H A Dalloc_repair.c536 struct xfs_perag *pag = sc->sa.pag; in xrep_abt_dispose_one()
657 struct xfs_perag *pag = sc->sa.pag; in xrep_abt_reset_counters()
714 struct xfs_perag *pag = sc->sa.pag; in xrep_abt_build_new_trees()
833 struct xfs_perag *pag = ra->sc->sa.pag; in xrep_abt_remove_old_trees()
H A Drepair.h29 bool xrep_ag_has_space(struct xfs_perag *pag, xfs_extlen_t nr_blocks,
104 int xrep_ag_init(struct xfs_scrub *sc, struct xfs_perag *pag,
H A Drefcount_repair.c556 struct xfs_perag *pag = sc->sa.pag; in xrep_refc_reset_counters()
586 struct xfs_perag *pag = sc->sa.pag; in xrep_refc_build_new_tree()
675 struct xfs_perag *pag = sc->sa.pag; in xrep_refc_remove_old_tree()
H A Dnewbt.c189 struct xfs_perag *pag, in xrep_newbt_add_blocks()
233 struct xfs_perag *pag, in xrep_newbt_add_extent()
361 struct xfs_perag *pag; in xrep_newbt_alloc_file_blocks()
H A Dagheader_repair.c204 struct xfs_perag *pag = sc->sa.pag; in xrep_agf_init_header()
317 struct xfs_perag *pag; in xrep_agf_commit_new()
914 struct xfs_perag *pag = sc->sa.pag; in xrep_agi_init_header()
1165 struct xfs_perag *pag, in xrep_iunlink_igrab()
1218 struct xfs_perag *pag = ragi->sc->sa.pag; in xrep_iunlink_mark_incore()
1657 struct xfs_perag *pag = sc->sa.pag; in xrep_iunlink_relink_next()
1714 struct xfs_perag *pag = sc->sa.pag; in xrep_iunlink_relink_prev()
1811 struct xfs_perag *pag; in xrep_agi_commit_new()
H A Drepair.c266 struct xfs_perag *pag, in xrep_ag_has_space()
286 struct xfs_perag *pag; in xrep_calc_ag_resblks()
937 struct xfs_perag *pag = sc->sa.pag; in xrep_reinit_pagf()
966 struct xfs_perag *pag = sc->sa.pag; in xrep_reinit_pagi()
993 struct xfs_perag *pag, in xrep_ag_init()

123