Home
last modified time | relevance | path

Searched refs:xfs_extlen_t (Results 1 – 25 of 72) 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_ag_resv.c74 xfs_extlen_t avail; in xfs_ag_resv_critical()
75 xfs_extlen_t orig; in xfs_ag_resv_critical()
104 xfs_extlen_t
109 xfs_extlen_t len; in xfs_ag_resv_needed()
137 xfs_extlen_t oldresv; in __xfs_ag_resv_free()
172 xfs_extlen_t ask, in __xfs_ag_resv_init()
173 xfs_extlen_t used) in __xfs_ag_resv_init()
178 xfs_extlen_t hidden_space; in __xfs_ag_resv_init()
243 xfs_extlen_t ask; in xfs_ag_resv_init()
244 xfs_extlen_t used; in xfs_ag_resv_init()
[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 */
321 xfs_extlen_t agsize; /* new AG size */
333 xfs_extlen_t delta);
335 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_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()
1154 xfs_extlen_t *aglen, in xfs_refcount_adjust_extents()
1296 xfs_extlen_t *aglen, in xfs_refcount_adjust()
[all …]
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_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 Dreap.c225 xfs_extlen_t fsblocks) in xrep_bufscan_max_sectors()
232 return XFS_FSB_TO_BB(mp, min_t(xfs_extlen_t, fsblocks, max_fsbs)); in xrep_bufscan_max_sectors()
265 xfs_extlen_t *aglenp) in xreap_agextent_binval()
332 xfs_extlen_t *aglenp) in xreap_agextent_select()
337 xfs_extlen_t len = 1; in xreap_agextent_select()
391 xfs_extlen_t *aglenp, in xreap_agextent_iter()
517 xfs_extlen_t aglen; in xreap_agmeta_extent()
610 xfs_extlen_t aglen; in xreap_fsmeta_extent()
699 xfs_extlen_t *rglenp) in xreap_rgextent_select()
704 xfs_extlen_t len = 1; in xreap_rgextent_select()
[all …]
H A Drepair.h37 bool xrep_ag_has_space(struct xfs_perag *pag, xfs_extlen_t nr_blocks,
39 xfs_extlen_t xrep_calc_ag_resblks(struct xfs_scrub *sc);
120 xfs_extlen_t xrep_calc_rtgroup_resblks(struct xfs_scrub *sc);
215 static inline xfs_extlen_t
H A Drepair.c266 xfs_extlen_t nr_blocks, in xrep_ag_has_space()
279 xfs_extlen_t
288 xfs_extlen_t aglen = NULLAGBLOCK; in xrep_calc_ag_resblks()
289 xfs_extlen_t usedlen; in xrep_calc_ag_resblks()
290 xfs_extlen_t freelen; in xrep_calc_ag_resblks()
291 xfs_extlen_t bnobt_sz; in xrep_calc_ag_resblks()
292 xfs_extlen_t inobt_sz; in xrep_calc_ag_resblks()
293 xfs_extlen_t rmapbt_sz; in xrep_calc_ag_resblks()
294 xfs_extlen_t refcbt_sz; in xrep_calc_ag_resblks()
394 xfs_extlen_t
[all …]
H A Drtrmap.c175 xfs_extlen_t flen; in xchk_rtrmapbt_xref_rtrefc()
265 xfs_extlen_t len) in xchk_xref_has_no_rt_owner()
285 xfs_extlen_t len) in xchk_xref_has_rt_owner()
305 xfs_extlen_t len, in xchk_xref_is_only_rt_owned_by()
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;
365 xfs_extlen_t cow_blocks;
513 xfs_extlen_t cow_blocks) in xchk_refcount_xref_rmap()
582 xfs_extlen_t len) in xchk_xref_is_rt_cow_staging()
626 xfs_extlen_t len) in xchk_xref_is_not_rt_shared()
647 xfs_extlen_t len) in xchk_xref_is_not_rt_cow_staging()
/linux/fs/xfs/
H A Dxfs_rtalloc.c459 xfs_extlen_t maxavail = in xfs_rtallocate_extent_near()
672 xfs_extlen_t rbmblocks) in xfs_alloc_rsum_cache()
1055 xfs_extlen_t *nrbmblocks) in xfs_growfs_rt_alloc_blocks()
1060 xfs_extlen_t orbmblocks = 0; in xfs_growfs_rt_alloc_blocks()
1061 xfs_extlen_t orsumblocks = 0; in xfs_growfs_rt_alloc_blocks()
1114 xfs_extlen_t bmblocks; in xfs_growfs_rtg()
1172 xfs_extlen_t rextsize) in xfs_growfs_check_rtgeom()
1174 xfs_extlen_t min_logfsbs; in xfs_growfs_check_rtgeom()
1191 min_logfsbs = min_t(xfs_extlen_t, xfs_log_calc_minimum_size(nmp), in xfs_growfs_check_rtgeom()
1211 xfs_extlen_t rextsize, in xfs_growfs_rt_prep_groups()
[all …]
H A Dxfs_rtalloc.h74 xfs_extlen_t rextsize) in xfs_growfs_check_rtgeom()
83 xfs_extlen_t *blen);
H A Dxfs_discard.c172 xfs_extlen_t count;
174 xfs_extlen_t minlen;
236 xfs_extlen_t flen; in xfs_trim_gather_extents()
349 xfs_extlen_t minlen) in xfs_trim_perag_extents()
408 xfs_extlen_t minlen) in xfs_trim_datadev_extents()
651 xfs_extlen_t len; in xfs_trim_gather_rtgroup_extent()
841 xfs_extlen_t minlen; in xfs_ioc_trim()
H A Dxfs_bmap_util.h47 struct xfs_bmbt_irec *prevp, xfs_extlen_t extsz,
49 xfs_fileoff_t *offp, xfs_extlen_t *lenp);

123