Home
last modified time | relevance | path

Searched refs:xfs_extlen_t (Results 1 – 25 of 63) sorted by relevance

123

/linux/fs/xfs/libxfs/
H A Dxfs_alloc.h42 xfs_extlen_t minlen; /* minimum size of extent */
43 xfs_extlen_t maxlen; /* maximum size of extent */
44 xfs_extlen_t mod; /* mod value for extent size */
45 xfs_extlen_t prod; /* prod value for extent size */
46 xfs_extlen_t minleft; /* min blocks must be left after us */
47 xfs_extlen_t total; /* total blocks needed in xaction */
48 xfs_extlen_t alignment; /* align answer to multiple of this */
49 xfs_extlen_t minalignslop; /* slop for minlen+alignment calcs */
52 xfs_extlen_t len; /* output: actual size of extent */
72 xfs_extlen_t xfs_alloc_longest_free_extent(struct xfs_perag *pag,
[all …]
H A Dxfs_rmap.h120 struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len,
123 struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len,
130 xfs_extlen_t len, uint64_t owner, uint64_t offset,
133 xfs_extlen_t len, uint64_t owner, uint64_t offset,
190 xfs_extlen_t len, uint64_t owner);
192 xfs_extlen_t len, uint64_t owner);
198 xfs_extlen_t len, const struct xfs_owner_info *oinfo,
215 xfs_extlen_t len, enum xbtree_recpacking *outcome);
229 xfs_extlen_t len, const struct xfs_owner_info *oinfo,
232 xfs_extlen_t len, const struct xfs_owner_info *oinfo,
[all …]
H A Dxfs_refcount.h62 xfs_extlen_t ri_blockcount;
90 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno,
91 xfs_extlen_t *flen, bool find_end_of_shared);
94 xfs_fsblock_t fsb, xfs_extlen_t len);
96 xfs_fsblock_t fsb, xfs_extlen_t len);
120 xfs_extlen_t len, enum xbtree_recpacking *outcome);
H A Dxfs_refcount_btree.h55 extern xfs_extlen_t xfs_refcountbt_calc_size(struct xfs_mount *mp,
57 extern xfs_extlen_t xfs_refcountbt_max_size(struct xfs_mount *mp,
61 struct xfs_trans *tp, struct xfs_perag *pag, xfs_extlen_t *ask,
62 xfs_extlen_t *used);
H A Dxfs_ag.h23 xfs_extlen_t ar_orig_reserved;
25 xfs_extlen_t ar_reserved;
27 xfs_extlen_t ar_asked;
41 xfs_extlen_t pagf_freeblks; /* total free blocks */
42 xfs_extlen_t pagf_longest; /* longest free space */
319 xfs_extlen_t agsize; /* new AG size */
331 xfs_extlen_t delta);
336 xfs_extlen_t len);
H A Dxfs_rmap_btree.h54 extern xfs_extlen_t xfs_rmapbt_calc_size(struct xfs_mount *mp,
56 extern xfs_extlen_t xfs_rmapbt_max_size(struct xfs_mount *mp,
60 struct xfs_perag *pag, xfs_extlen_t *ask, xfs_extlen_t *used);
H A Dxfs_ialloc_btree.h67 xfs_extlen_t *ask, xfs_extlen_t *used);
68 extern xfs_extlen_t xfs_iallocbt_calc_size(struct xfs_mount *mp,
H A Dxfs_rtbitmap.h58 static inline xfs_extlen_t
73 xfs_extlen_t len) in xfs_extlen_to_rtxmod()
84 xfs_extlen_t len) in xfs_extlen_to_rtxlen()
105 static inline xfs_extlen_t
139 static inline xfs_extlen_t
148 static inline xfs_extlen_t
H A Dxfs_refcount.c43 xfs_agblock_t agbno, xfs_extlen_t aglen);
45 xfs_agblock_t agbno, xfs_extlen_t aglen);
492 xfs_extlen_t *aglen) in xfs_refcount_merge_center_extents()
573 xfs_extlen_t *aglen) in xfs_refcount_merge_left_extent()
637 xfs_extlen_t *aglen) in xfs_refcount_merge_right_extent()
707 xfs_extlen_t aglen) in xfs_refcount_find_left_extents()
800 xfs_extlen_t aglen) in xfs_refcount_find_right_extents()
1024 xfs_extlen_t *aglen, in xfs_refcount_merge_extents()
1153 xfs_extlen_t *aglen, in xfs_refcount_adjust_extents()
1295 xfs_extlen_t *aglen, in xfs_refcount_adjust()
[all …]
H A Dxfs_ag_resv.h13 xfs_extlen_t xfs_ag_resv_needed(struct xfs_perag *pag,
19 struct xfs_trans *tp, xfs_extlen_t len);
H A Dxfs_types.h14 typedef uint32_t xfs_extlen_t; /* extent length in blocks */ typedef
173 xfs_extlen_t rc_blockcount; /* count of free blocks */
186 xfs_extlen_t rm_blockcount; /* extent length */
/linux/fs/xfs/scrub/
H A Dscrub.h308 xfs_extlen_t len);
310 xfs_extlen_t len);
312 xfs_extlen_t len);
314 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
316 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
318 xfs_extlen_t len);
320 xfs_extlen_t len);
322 xfs_extlen_t len);
324 xfs_extlen_t len);
327 xfs_extlen_t len);
[all …]
H A Dnewbt.h24 xfs_extlen_t len;
27 xfs_extlen_t used;
69 xfs_agblock_t agbno, xfs_extlen_t len);
H A Dagb_bitmap.h26 xfs_agblock_t start, xfs_extlen_t len) in xagb_bitmap_clear()
31 xfs_agblock_t start, xfs_extlen_t len) in xagb_bitmap_set()
37 xfs_agblock_t start, xfs_extlen_t *len) in xagb_bitmap_test()
H A Drepair.h29 bool xrep_ag_has_space(struct xfs_perag *pag, xfs_extlen_t nr_blocks,
31 xfs_extlen_t xrep_calc_ag_resblks(struct xfs_scrub *sc);
112 xfs_extlen_t xrep_calc_rtgroup_resblks(struct xfs_scrub *sc);
203 static inline xfs_extlen_t
H A Dcow_repair.c86 xfs_extlen_t len;
209 xfs_extlen_t rec_len; in xrep_cow_mark_missing_staging_rmap()
410 xfs_extlen_t maxlen, in xrep_cow_alloc()
450 xfs_extlen_t maxlen, in xrep_cow_alloc_rt()
560 xfs_extlen_t *blockcount) in xrep_cow_replace_range()
567 xfs_extlen_t alloc_len; in xrep_cow_replace_range()
632 xfs_extlen_t len = min_t(xfs_filblks_t, blockcount, in xrep_cow_replace()
H A Drtrefcount.c108 xfs_extlen_t len;
364 xfs_extlen_t cow_blocks;
512 xfs_extlen_t cow_blocks) in xchk_refcount_xref_rmap()
581 xfs_extlen_t len) in xchk_xref_is_rt_cow_staging()
625 xfs_extlen_t len) in xchk_xref_is_not_rt_shared()
646 xfs_extlen_t len) in xchk_xref_is_not_rt_cow_staging()
/linux/fs/xfs/
H A Dxfs_extent_busy.h24 xfs_extlen_t length;
47 xfs_agblock_t bno, xfs_extlen_t len, unsigned int flags);
49 xfs_extlen_t len, struct list_head *busy_list);
52 xfs_extlen_t len);
54 xfs_extlen_t flen, bool userdata);
55 bool xfs_extent_busy_trim(struct xfs_group *xg, xfs_extlen_t minlen,
56 xfs_extlen_t maxlen, xfs_agblock_t *bno, xfs_extlen_t *len,
H A Dxfs_filestream.c61 xfs_extlen_t *longest) in xfs_filestream_pick_ag()
66 xfs_extlen_t minlen = *longest; in xfs_filestream_pick_ag()
67 xfs_extlen_t minfree, maxfree = 0; in xfs_filestream_pick_ag()
207 xfs_extlen_t *longest) in xfs_filestream_lookup_association()
263 xfs_extlen_t *longest) in xfs_filestream_create_association()
338 xfs_extlen_t *longest) in xfs_filestream_select_ag()
H A Dxfs_rtalloc.c463 xfs_extlen_t maxavail = in xfs_rtallocate_extent_near()
677 xfs_extlen_t rbmblocks) in xfs_alloc_rsum_cache()
1145 xfs_extlen_t *nrbmblocks) in xfs_growfs_rt_alloc_blocks()
1150 xfs_extlen_t orbmblocks = 0; in xfs_growfs_rt_alloc_blocks()
1151 xfs_extlen_t orsumblocks = 0; in xfs_growfs_rt_alloc_blocks()
1204 xfs_extlen_t bmblocks; in xfs_growfs_rtg()
1266 xfs_extlen_t rextsize) in xfs_growfs_check_rtgeom()
1268 xfs_extlen_t min_logfsbs; in xfs_growfs_check_rtgeom()
1285 min_logfsbs = min_t(xfs_extlen_t, xfs_log_calc_minimum_size(nmp), in xfs_growfs_check_rtgeom()
1325 xfs_extlen_t rextsize, in xfs_growfs_rt_prep_groups()
[all …]
H A Dxfs_rtalloc.h69 xfs_extlen_t rextsize) in xfs_growfs_check_rtgeom()
78 xfs_extlen_t *blen);
H A Dxfs_iomap.h36 xfs_extlen_t extsz) in xfs_aligned_fsb_count()
39 xfs_extlen_t align; in xfs_aligned_fsb_count()
H A Dxfs_discard.c154 xfs_extlen_t count;
156 xfs_extlen_t minlen;
224 xfs_extlen_t flen; in xfs_trim_gather_extents()
337 xfs_extlen_t minlen) in xfs_trim_perag_extents()
393 xfs_extlen_t minlen) in xfs_trim_datadev_extents()
632 xfs_extlen_t len; in xfs_trim_gather_rtgroup_extent()
820 xfs_extlen_t minlen; in xfs_ioc_trim()
H A Dxfs_bmap_util.h49 struct xfs_bmbt_irec *prevp, xfs_extlen_t extsz,
51 xfs_fileoff_t *offp, xfs_extlen_t *lenp);
H A Dxfs_reflink.h67 xfs_extlen_t cowextsize, unsigned int remap_flags);
71 xfs_extlen_t xfs_reflink_max_atomic_cow(struct xfs_mount *mp);

123