Home
last modified time | relevance | path

Searched refs:xfs_rtgroup (Results 1 – 25 of 47) sorted by relevance

12

/linux/fs/xfs/libxfs/
H A Dxfs_rtgroup.h30 struct xfs_rtgroup { struct
67 static inline struct xfs_rtgroup *to_rtg(struct xfs_group *xg) in to_rtg() argument
69 return container_of(xg, struct xfs_rtgroup, rtg_group); in to_rtg()
72 static inline struct xfs_group *rtg_group(struct xfs_rtgroup *rtg) in rtg_group()
77 static inline struct xfs_mount *rtg_mount(const struct xfs_rtgroup *rtg) in rtg_mount()
82 static inline xfs_rgnumber_t rtg_rgno(const struct xfs_rtgroup *rtg) in rtg_rgno()
87 static inline xfs_rgblock_t rtg_blocks(const struct xfs_rtgroup *rtg) in rtg_blocks()
92 static inline struct xfs_inode *rtg_bitmap(const struct xfs_rtgroup *rtg) in rtg_bitmap()
97 static inline struct xfs_inode *rtg_summary(const struct xfs_rtgroup *rtg) in rtg_summary()
102 static inline struct xfs_inode *rtg_rmap(const struct xfs_rtgroup *rtg) in rtg_rmap()
[all …]
H A Dxfs_rtrmap_btree.h13 struct xfs_rtgroup;
20 struct xfs_rtgroup *rtg);
22 struct xfs_rtgroup *rtg, struct xfs_inode *ip,
197 int xfs_rtrmapbt_create(struct xfs_rtgroup *rtg, struct xfs_inode *ip,
199 int xfs_rtrmapbt_init_rtsb(struct xfs_mount *mp, struct xfs_rtgroup *rtg,
205 struct xfs_btree_cur *xfs_rtrmapbt_mem_cursor(struct xfs_rtgroup *rtg,
210 xfs_rgblock_t xfs_rtrmap_highest_rgbno(struct xfs_rtgroup *rtg);
H A Dxfs_rtbitmap.h12 struct xfs_rtgroup *rtg;
25 struct xfs_rtgroup *rtg, in xfs_rtx_to_rtb()
379 struct xfs_rtgroup *rtg,
402 int xfs_rtalloc_query_range(struct xfs_rtgroup *rtg, struct xfs_trans *tp,
405 int xfs_rtalloc_query_all(struct xfs_rtgroup *rtg, struct xfs_trans *tp,
407 int xfs_rtalloc_extent_is_free(struct xfs_rtgroup *rtg, struct xfs_trans *tp,
409 int xfs_rtfree_extent(struct xfs_trans *tp, struct xfs_rtgroup *rtg,
412 int xfs_rtfree_blocks(struct xfs_trans *tp, struct xfs_rtgroup *rtg,
422 int xfs_rtfile_initialize_blocks(struct xfs_rtgroup *rtg,
425 int xfs_rtbitmap_create(struct xfs_rtgroup *rtg, struct xfs_inode *ip,
[all …]
H A Dxfs_rtgroup.c80 struct xfs_rtgroup *rtg, in xfs_rtgroup_calc_geometry()
98 struct xfs_rtgroup *rtg; in xfs_rtgroup_alloc()
101 rtg = kzalloc(sizeof(struct xfs_rtgroup), GFP_KERNEL); in xfs_rtgroup_alloc()
174 struct xfs_rtgroup *rtg; in xfs_update_last_rtgroup_size()
191 struct xfs_rtgroup *rtg, in xfs_rtgroup_lock()
221 struct xfs_rtgroup *rtg, in xfs_rtgroup_unlock()
251 struct xfs_rtgroup *rtg, in xfs_rtgroup_trans_join()
273 struct xfs_rtgroup *rtg, in xfs_rtgroup_get_geometry()
350 int (*create)(struct xfs_rtgroup *rtg,
418 struct xfs_rtgroup *rtg, in xfs_rtginode_enabled()
[all …]
H A Dxfs_rtrefcount_btree.h13 struct xfs_rtgroup;
19 struct xfs_rtgroup *rtg);
21 struct xfs_rtgroup *rtg, struct xfs_inode *ip,
186 int xfs_rtrefcountbt_create(struct xfs_rtgroup *rtg, struct xfs_inode *ip,
H A Dxfs_zones.h5 struct xfs_rtgroup;
39 bool xfs_zone_validate(struct blk_zone *zone, struct xfs_rtgroup *rtg,
H A Dxfs_refcount.h15 struct xfs_rtgroup;
126 xfs_failaddr_t xfs_rtrefcount_check_irec(struct xfs_rtgroup *rtg,
H A Dxfs_rtbitmap.c1053 struct xfs_rtgroup *rtg, in xfs_rtfree_extent()
1118 struct xfs_rtgroup *rtg, in xfs_rtfree_blocks()
1156 struct xfs_rtgroup *rtg, in xfs_rtalloc_query_range()
1217 struct xfs_rtgroup *rtg, in xfs_rtalloc_query_all()
1229 struct xfs_rtgroup *rtg, in xfs_rtalloc_extent_is_free()
1367 struct xfs_rtgroup *rtg, in xfs_rtfile_initialize_block()
1435 struct xfs_rtgroup *rtg, in xfs_rtfile_initialize_blocks()
1476 struct xfs_rtgroup *rtg, in xfs_rtbitmap_create()
1494 struct xfs_rtgroup *rtg, in xfs_rtsummary_create()
H A Dxfs_health.h57 struct xfs_rtgroup;
285 void xfs_rtgroup_geom_health(struct xfs_rtgroup *rtg,
H A Dxfs_rmap.h10 struct xfs_rtgroup;
211 xfs_failaddr_t xfs_rtrmap_check_irec(struct xfs_rtgroup *rtg,
H A Dxfs_rtrmap_btree.c506 struct xfs_rtgroup *rtg) in xfs_rtrmapbt_init_cursor()
613 struct xfs_rtgroup *rtg, in xfs_rtrmapbt_mem_cursor()
967 struct xfs_rtgroup *rtg, in xfs_rtrmapbt_create()
997 struct xfs_rtgroup *rtg, in xfs_rtrmapbt_init_rtsb()
1021 struct xfs_rtgroup *rtg) in xfs_rtrmap_highest_rgbno()
/linux/fs/xfs/
H A Dxfs_zone_priv.h46 struct xfs_rtgroup *oz_rtg;
114 int xfs_zone_gc_reset_sync(struct xfs_rtgroup *rtg);
H A Dxfs_rtalloc.c222 struct xfs_rtgroup *rtg, in xfs_rtallocate_clamp_len()
661 struct xfs_rtgroup *rtg) in xfs_rtunmount_rtg()
673 struct xfs_rtgroup *rtg, in xfs_alloc_rsum_cache()
723 struct xfs_rtgroup *rtg, in xfs_rtginode_ensure()
775 struct xfs_rtgroup *rtg, in xfs_growfs_rt_free_new()
799 struct xfs_rtgroup *rtg, in xfs_growfs_rt_nrblocks()
825 const struct xfs_rtgroup *rtg, in xfs_growfs_rt_init_rtsb()
890 struct xfs_rtgroup *rtg, in xfs_growfs_rt_zoned()
941 struct xfs_rtgroup *rtg, in xfs_growfs_rt_bmblock()
1088 struct xfs_rtgroup *rtg) in xfs_last_rt_bmblock()
[all …]
H A Dxfs_zone_gc.c117 struct xfs_rtgroup *victim_rtg;
127 struct xfs_rtgroup *victim_rtg;
260 struct xfs_rtgroup *victim_rtg) in xfs_zone_gc_iter_init()
314 struct xfs_rtgroup *rtg = iter->victim_rtg; in xfs_zone_gc_query()
436 static struct xfs_rtgroup *
443 struct xfs_rtgroup *victim_rtg = NULL; in xfs_zone_gc_pick_victim_from()
451 struct xfs_rtgroup *rtg = xfs_rtgroup_grab(mp, bit); in xfs_zone_gc_pick_victim_from()
507 struct xfs_rtgroup *victim_rtg = NULL; in xfs_zone_gc_select_victim()
889 struct xfs_rtgroup *rtg = chunk->bio.bi_private; in xfs_zone_gc_finish_reset()
912 struct xfs_rtgroup *rtg) in xfs_zone_gc_prepare_reset()
[all …]
H A Dxfs_zone_alloc.h34 int xfs_zone_free_blocks(struct xfs_trans *tp, struct xfs_rtgroup *rtg,
42 bool xfs_zone_rgbno_is_valid(struct xfs_rtgroup *rtg, xfs_rgnumber_t rgbno);
H A Dxfs_zone_alloc.c78 struct xfs_rtgroup *rtg, in xfs_zone_account_reclaimable()
167 struct xfs_rtgroup *rtg = oz->oz_rtg; in xfs_open_zone_mark_full()
200 struct xfs_rtgroup *rtg = oz->oz_rtg; in xfs_zone_record_blocks()
225 struct xfs_rtgroup *rtg = oz->oz_rtg; in xfs_zone_skip_blocks()
377 struct xfs_rtgroup *rtg, in xfs_zone_free_blocks()
438 struct xfs_rtgroup *rtg, in xfs_init_open_zone()
758 struct xfs_rtgroup *rtg = oz->oz_rtg; in xfs_zone_alloc_blocks()
946 struct xfs_rtgroup *rtg, in xfs_zone_rgbno_is_valid()
987 struct xfs_rtgroup *rtg, in xfs_init_zone()
1069 struct xfs_rtgroup *rtg; in xfs_get_zone_info_cb()
[all …]
H A Dxfs_health.c48 struct xfs_rtgroup *rtg = NULL; in xfs_health_unmount()
259 struct xfs_rtgroup *rtg = xfs_rtgroup_get(mp, rgno); in xfs_rgno_mark_sick()
391 struct xfs_rtgroup *rtg = NULL; in xfs_fsop_geom_health()
457 struct xfs_rtgroup *rtg, in xfs_rtgroup_geom_health()
H A Dxfs_discard.c512 struct xfs_rtgroup *rtg, in xfs_trim_gather_rtextent()
556 struct xfs_rtgroup *rtg, in xfs_trim_rtextents()
625 struct xfs_rtgroup *rtg, in xfs_trim_gather_rtgroup_extent()
673 struct xfs_rtgroup *rtg, in xfs_trim_rtgroup_extents()
750 struct xfs_rtgroup *rtg = NULL; in xfs_trim_rtdev_extents()
/linux/fs/xfs/scrub/
H A Dhealth.c171 struct xfs_rtgroup *rtg = NULL; in xchk_mark_all_healthy()
195 struct xfs_rtgroup *rtg; in xchk_update_health()
316 struct xfs_rtgroup *rtg = NULL; in xchk_health_record()
H A Drtbitmap.c121 struct xfs_rtgroup *rtg, in xchk_rtbitmap_rec()
195 struct xfs_rtgroup *rtg = sc->sr.rtg; in xchk_rtbitmap()
275 struct xfs_rtgroup *rtg = sc->sr.rtg; in xchk_xref_is_used_rt_space()
H A Drtsummary.c168 struct xfs_rtgroup *rtg, in xchk_rtsum_record_free()
218 struct xfs_rtgroup *rtg = sc->sr.rtg; in xchk_rtsum_compute()
313 struct xfs_rtgroup *rtg = sc->sr.rtg; in xchk_rtsummary()
H A Drepair.h11 struct xfs_rtgroup;
107 int xrep_rtgroup_init(struct xfs_scrub *sc, struct xfs_rtgroup *rtg,
H A Dfscounters.c391 struct xfs_rtgroup *rtg, in xchk_fscount_add_frextent()
412 struct xfs_rtgroup *rtg = NULL; in xchk_fscount_count_frextents()
H A Dbmap_repair.c451 struct xfs_rtgroup *rtg) in xrep_bmap_scan_rtgroup()
473 xrep_bmap_scan_rtgroup(struct xrep_bmap *rb, struct xfs_rtgroup *rtg) in xrep_bmap_scan_rtgroup()
535 struct xfs_rtgroup *rtg = NULL; in xrep_bmap_find_mappings()
H A Drtbitmap_repair.c188 struct xfs_rtgroup *rtg = sr->rtg; in xrep_rtbitmap_mark_free()
332 struct xfs_rtgroup *rtg = sc->sr.rtg; in xrep_rtbitmap_find_freespace()

12