/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_drain.h | 9 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 D | xfs_drain.c | 100 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 D | xfs_extent_busy.h | 12 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 D | xfs_iunlink_item.h | 11 struct xfs_perag; 17 struct xfs_perag *pag; 25 struct xfs_perag *pag, xfs_agino_t next_agino);
|
H A D | xfs_extent_busy.c | 24 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, 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, 563 struct xfs_perag *pag = NULL; in xfs_extent_busy_clear() 607 struct xfs_perag *pa in xfs_extent_busy_flush() [all...] |
H A D | xfs_icache.c | 49 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, 483 struct xfs_perag *pag, 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 *pa in xfs_reclaim_inodes_count() [all...] |
H A D | xfs_iwalk.c | 55 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()
|
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_ag.h | 12 struct xfs_perag; 32 struct xfs_perag { struct 125 static inline bool xfs_perag_ ## name (struct xfs_perag *pag) \ 142 struct xfs_perag *xfs_perag_get(struct xfs_mount *mp, xfs_agnumber_t agno); 143 struct xfs_perag *xfs_perag_get_tag(struct xfs_mount *mp, xfs_agnumber_t agno, 145 struct xfs_perag *xfs_perag_hold(struct xfs_perag *pag); 146 void xfs_perag_put(struct xfs_perag *pag); 149 struct xfs_perag *xfs_perag_grab(struct xfs_mount *, xfs_agnumber_t); 150 struct xfs_perag *xfs_perag_grab_ta [all...] |
H A D | xfs_ag_resv.h | 9 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 D | xfs_alloc.h | 12 struct xfs_perag; 38 struct xfs_perag *pag; /* per-ag struct for this agno */ 74 xfs_extlen_t xfs_alloc_longest_free_extent(struct xfs_perag *pag, 77 struct xfs_perag *pag); 78 int xfs_alloc_get_freelist(struct xfs_perag *pag, struct xfs_trans *tp, 80 int xfs_alloc_put_freelist(struct xfs_perag *pag, struct xfs_trans *tp, 145 struct xfs_perag *pag, 155 struct xfs_perag *pag, in xfs_free_extent() 191 int xfs_read_agf(struct xfs_perag *pag, struct xfs_trans *tp, int flags, 193 int xfs_alloc_read_agf(struct xfs_perag *pa [all...] |
H A D | xfs_health.h | 35 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 D | xfs_ialloc_btree.h | 16 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 D | xfs_ialloc.h | 15 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 D | xfs_refcount_btree.h | 16 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 D | xfs_ag_resv.c | 70 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 D | xfs_alloc_btree.h | 16 struct xfs_perag; 52 struct xfs_perag *pag, xfs_btnum_t btnum); 54 struct xbtree_afakeroot *afake, struct xfs_perag *pag,
|
H A D | xfs_rmap_btree.h | 46 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 D | xfs_ag.c | 41 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 D | xfs_refcount.h | 11 struct xfs_perag; 53 struct xfs_perag *ri_pag; 93 struct xfs_perag *pag);
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_ag_resv.h | 9 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, 32 struct xfs_perag *pag; in xfs_ag_resv_rmapbt_alloc()
|
H A D | xfs_health.h | 35 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 D | xfs_sb.h | 14 struct xfs_perag; 19 extern struct xfs_perag *xfs_perag_get(struct xfs_mount *, xfs_agnumber_t); 20 extern struct xfs_perag *xfs_perag_get_tag(struct xfs_mount *, xfs_agnumber_t, 22 extern void xfs_perag_put(struct xfs_perag *pag);
|
H A D | xfs_ag_resv.c | 70 struct xfs_perag *pag, in xfs_ag_resv_critical() 104 struct xfs_perag *pag, in xfs_ag_resv_needed() 130 struct xfs_perag *pag, in __xfs_ag_resv_free() 165 struct xfs_perag *pag) in xfs_ag_resv_free() 179 struct xfs_perag *pag, in __xfs_ag_resv_init() 245 struct xfs_perag *pag, in xfs_ag_resv_init() 322 struct xfs_perag *pag, in xfs_ag_resv_alloc_extent() 364 struct xfs_perag *pag, in xfs_ag_resv_free_extent()
|
H A D | xfs_alloc.h | 12 struct xfs_perag; 56 struct xfs_perag *pag; /* per-ag struct for this agno */ 92 xfs_extlen_t xfs_alloc_longest_free_extent(struct xfs_perag *pag, 95 struct xfs_perag *pag);
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_extent_busy.c | 32 struct xfs_perag *pag; in xfs_extent_busy_insert() 88 struct xfs_perag *pag; in xfs_extent_busy_search() 136 struct xfs_perag *pag, 289 struct xfs_perag *pag; in xfs_extent_busy_reuse() 511 struct xfs_perag *pag, in xfs_extent_busy_clear_one() 526 struct xfs_perag *pag, 551 struct xfs_perag *pag = NULL; in xfs_extent_busy_clear() 584 struct xfs_perag *pag, in xfs_extent_busy_flush() 612 struct xfs_perag *pag = xfs_perag_get(mp, agno); in xfs_extent_busy_wait_all()
|