Home
last modified time | relevance | path

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

12

/linux/fs/xfs/libxfs/
H A Dxfs_ag.h14 struct xfs_perag;
34 struct xfs_perag { struct
95 static inline struct xfs_perag *to_perag(struct xfs_group *xg) in to_perag() argument
97 return container_of(xg, struct xfs_perag, pag_group); in to_perag()
100 static inline struct xfs_group *pag_group(struct xfs_perag *pag) in pag_group()
105 static inline struct xfs_mount *pag_mount(const struct xfs_perag *pag) in pag_mount()
110 static inline xfs_agnumber_t pag_agno(const struct xfs_perag *pag) in pag_agno()
125 static inline bool xfs_perag_ ## name (struct xfs_perag *pag) \
145 static inline struct xfs_perag *
153 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_inode_util.c410 struct xfs_perag *pag, in xfs_iunlink_update_backref()
435 struct xfs_perag *pag, in xfs_iunlink_update_bucket()
471 struct xfs_perag *pag, in xfs_iunlink_insert_inode()
534 struct xfs_perag *pag; in xfs_iunlink()
558 struct xfs_perag *pag, in xfs_iunlink_remove_inode()
633 struct xfs_perag *pag, in xfs_iunlink_remove()
706 struct xfs_perag *pag, in xfs_inode_uninit()
H A Dxfs_rmap_btree.c71 struct xfs_perag *pag = to_perag(cur->bc_group); in xfs_rmapbt_set_root()
91 struct xfs_perag *pag = to_perag(cur->bc_group); in xfs_rmapbt_alloc_block()
129 struct xfs_perag *pag = to_perag(cur->bc_group); in xfs_rmapbt_free_block()
326 struct xfs_perag *pag = bp->b_pag; in xfs_rmapbt_verify()
536 struct xfs_perag *pag) in xfs_rmapbt_init_cursor()
646 struct xfs_perag *pag, in xfs_rmapbt_mem_cursor()
839 struct xfs_perag *pag, in xfs_rmapbt_calc_reserves()
H A Dxfs_ialloc.c114 struct xfs_perag *pag, in xfs_inobt_check_irec()
204 struct xfs_perag *pag, in xfs_inobt_insert()
551 struct xfs_perag *pag, in xfs_inobt_insert_sprec()
645 struct xfs_perag *pag, in xfs_finobt_insert_sprec()
695 struct xfs_perag *pag, in xfs_ialloc_ag_alloc()
1065 struct xfs_perag *pag, in xfs_dialloc_check_ino()
1090 struct xfs_perag *pag, in xfs_dialloc_ag_inobt()
1566 struct xfs_perag *pag, in xfs_dialloc_ag()
1722 struct xfs_perag *pag, in xfs_dialloc_good_ag()
1795 struct xfs_perag *pag, in xfs_dialloc_try_ag()
[all …]
H A Dxfs_ialloc_btree.c478 struct xfs_perag *pag, in xfs_inobt_init_cursor()
504 struct xfs_perag *pag, in xfs_finobt_init_cursor()
717 struct xfs_perag *pag) in xfs_inobt_max_size()
741 struct xfs_perag *pag, in xfs_finobt_count_blocks()
766 struct xfs_perag *pag, in xfs_finobt_read_blocks()
789 struct xfs_perag *pag, in xfs_finobt_calc_reserves()
H A Dxfs_ag.c49 struct xfs_perag *pag; in xfs_initialize_perag_data()
113 struct xfs_perag *pag = to_perag(xg); in xfs_perag_uninit()
204 struct xfs_perag *pag = xfs_perag_grab(mp, prev_agcount - 1); in xfs_update_last_ag_size()
224 struct xfs_perag *pag; in xfs_perag_alloc()
740 struct xfs_perag *pag, in xfs_ag_shrink_space()
880 struct xfs_perag *pag, in xfs_ag_extend_space()
938 struct xfs_perag *pag, in xfs_ag_get_geometry()
H A Dxfs_refcount_btree.c44 struct xfs_perag *pag = agbp->b_pag; in xfs_refcountbt_set_root()
210 struct xfs_perag *pag = bp->b_pag; in xfs_refcountbt_verify()
360 struct xfs_perag *pag) in xfs_refcountbt_init_cursor()
490 struct xfs_perag *pag, in xfs_refcountbt_calc_reserves()
H A Dxfs_alloc_btree.c48 struct xfs_perag *pag = to_perag(cur->bc_group); in xfs_allocbt_set_root()
256 struct xfs_perag *pag = bp->b_pag; in xfs_allocbt_verify()
489 struct xfs_perag *pag) in xfs_bnobt_init_cursor()
515 struct xfs_perag *pag) in xfs_cntbt_init_cursor()
H A Dxfs_sb.h14 struct xfs_perag;
H A Dxfs_alloc.c255 struct xfs_perag *pag, in xfs_alloc_check_irec()
543 struct xfs_perag *pag = to_perag(cnt_cur->bc_group); in xfs_alloc_fixup_longest()
879 struct xfs_perag *pag, in xfs_alloc_read_agfl()
2062 struct xfs_perag *pag = agbp->b_pag; in xfs_free_ag_extent()
2409 struct xfs_perag *pag, in xfs_alloc_longest_free_extent()
2449 struct xfs_perag *pag) in xfs_alloc_min_freelist()
2502 struct xfs_perag *pag = args->pag; in xfs_alloc_space_available()
2607 struct xfs_perag *pag) in xfs_agfl_reset()
2833 struct xfs_perag *pag = args->pag; in xfs_alloc_fix_freelist()
3030 struct xfs_perag *pag, in xfs_alloc_get_freelist()
[all …]
/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,
223 struct xfs_perag *pag) in xfs_blockgc_queue()
240 struct xfs_perag *pag, in xfs_perag_set_inode_tag()
276 struct xfs_perag *pag, in xfs_perag_clear_inode_tag()
305 static struct xfs_perag *
308 struct xfs_perag *pag, in xfs_perag_grab_next_tag()
360 struct xfs_perag *pag, in xfs_iget_recycle()
513 struct xfs_perag *pag, in xfs_iget_cache_hit()
629 struct xfs_perag *pag, in xfs_iget_cache_miss()
773 struct xfs_perag *pag; in xfs_iget()
[all …]
H A 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()
209 struct xfs_perag *pag; in xfs_growfs_data_private()
529 struct xfs_perag *pag = NULL; in xfs_fs_reserve_ag_blocks()
556 struct xfs_perag *pag = NULL; in xfs_fs_unreserve_ag_blocks()
/linux/fs/xfs/scrub/
H A Dnewbt.h15 struct xfs_perag *pag;
67 int xrep_newbt_add_extent(struct xrep_newbt *xnr, struct xfs_perag *pag,
H A Dhealth.c168 struct xfs_perag *pag = NULL; in xchk_mark_all_healthy()
192 struct xfs_perag *pag; in xchk_update_health()
313 struct xfs_perag *pag = NULL; in xchk_health_record()
H A Dtrace.h779 TP_PROTO(const struct xfs_perag *pag, xfs_agino_t startino,
929 TP_PROTO(const struct xfs_perag *pag,
1959 TP_PROTO(const struct xfs_perag *pag, xfs_agblock_t agbno,
1982 TP_PROTO(const struct xfs_perag *pag, xfs_agblock_t agbno, \
1992 TP_PROTO(const struct xfs_perag *pag, xfs_agblock_t agbno,
2018 TP_PROTO(const struct xfs_perag *pag, xfs_agblock_t agbno, \
2025 TP_PROTO(const struct xfs_perag *pag, const struct xfs_rmap_irec *rec),
2056 TP_PROTO(const struct xfs_perag *pag,
2079 TP_PROTO(const struct xfs_perag *pag,
2111 TP_PROTO(const struct xfs_perag *pag,
[all …]
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()
893 struct xfs_perag *pag = sc->sa.pag; in xrep_agi_init_header()
1112 struct xfs_perag *pag, in xrep_iunlink_igrab()
1171 struct xfs_perag *pag = ragi->sc->sa.pag; in xrep_iunlink_mark_incore()
1530 struct xfs_perag *pag = sc->sa.pag; in xrep_iunlink_relink_next()
1588 struct xfs_perag *pag = sc->sa.pag; in xrep_iunlink_relink_prev()
1685 struct xfs_perag *pag; in xrep_agi_commit_new()

12