Home
last modified time | relevance | path

Searched refs:xfs_extlen_t (Results 1 – 25 of 65) 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_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);
333 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_alloc.c67 xfs_extlen_t
159 xfs_extlen_t len, in xfs_alloc_lookup()
181 xfs_extlen_t len, /* length of extent */ in xfs_alloc_lookup_eq()
195 xfs_extlen_t len, /* length of extent */ in xfs_alloc_lookup_ge()
209 xfs_extlen_t len, /* length of extent */ in xfs_alloc_lookup_le()
231 xfs_extlen_t len) /* length of extent */ in xfs_alloc_update()
291 xfs_extlen_t *len, /* output: length of extent */ in xfs_alloc_get_rec()
321 xfs_extlen_t foundlen, /* length in found extent */ in xfs_alloc_compute_aligned()
323 xfs_extlen_t *reslen, /* result length */ in xfs_alloc_compute_aligned()
327 xfs_extlen_t len = foundlen; in xfs_alloc_compute_aligned()
[all …]
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_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_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_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.h307 xfs_extlen_t len);
309 xfs_extlen_t len);
311 xfs_extlen_t len);
313 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
315 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
317 xfs_extlen_t len);
319 xfs_extlen_t len);
321 xfs_extlen_t len);
323 xfs_extlen_t len);
326 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 Dalloc.c60 xfs_extlen_t len) in xchk_allocbt_xref_other()
64 xfs_extlen_t flen; in xchk_allocbt_xref_other()
102 xfs_extlen_t len = irec->ar_blockcount; in xchk_allocbt_xref()
182 xfs_extlen_t len) in xchk_xref_is_used_space()
H A Drepair.c267 xfs_extlen_t nr_blocks, in xrep_ag_has_space()
280 xfs_extlen_t
289 xfs_extlen_t aglen = NULLAGBLOCK; in xrep_calc_ag_resblks()
290 xfs_extlen_t usedlen; in xrep_calc_ag_resblks()
291 xfs_extlen_t freelen; in xrep_calc_ag_resblks()
292 xfs_extlen_t bnobt_sz; in xrep_calc_ag_resblks()
293 xfs_extlen_t inobt_sz; in xrep_calc_ag_resblks()
294 xfs_extlen_t rmapbt_sz; in xrep_calc_ag_resblks()
295 xfs_extlen_t refcbt_sz; in xrep_calc_ag_resblks()
395 xfs_extlen_t
[all …]
H A Dreap.c251 xfs_extlen_t fsblocks) in xrep_bufscan_max_sectors()
253 return XFS_FSB_TO_BB(mp, min_t(xfs_extlen_t, fsblocks, in xrep_bufscan_max_sectors()
287 xfs_extlen_t *aglenp) in xreap_agextent_binval()
353 xfs_extlen_t *aglenp) in xreap_agextent_select()
358 xfs_extlen_t len = 1; in xreap_agextent_select()
412 xfs_extlen_t *aglenp, in xreap_agextent_iter()
722 xfs_extlen_t aglen; in xreap_agmeta_extent()
816 xfs_extlen_t aglen; in xreap_fsmeta_extent()
909 xfs_extlen_t *rglenp) in xreap_rgextent_select()
914 xfs_extlen_t len = 1; in xreap_rgextent_select()
[all …]
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 Drtrmap.c181 xfs_extlen_t flen; in xchk_rtrmapbt_xref_rtrefc()
270 xfs_extlen_t len) in xchk_xref_has_no_rt_owner()
290 xfs_extlen_t len) in xchk_xref_has_rt_owner()
310 xfs_extlen_t len, in xchk_xref_is_only_rt_owned_by()
/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_extent_busy.c34 xfs_extlen_t len, in xfs_extent_busy_insert_list()
84 xfs_extlen_t len, in xfs_extent_busy_insert()
94 xfs_extlen_t len, in xfs_extent_busy_insert_discard()
114 xfs_extlen_t len) in xfs_extent_busy_search()
162 xfs_extlen_t flen, in xfs_extent_busy_update_extent()
310 xfs_extlen_t flen, in xfs_extent_busy_reuse()
356 xfs_extlen_t minlen, in xfs_extent_busy_trim()
357 xfs_extlen_t maxlen, in xfs_extent_busy_trim()
359 xfs_extlen_t *len, in xfs_extent_busy_trim()
364 xfs_extlen_t flen; in xfs_extent_busy_trim()
H A Dxfs_rtalloc.h69 xfs_extlen_t rextsize) in xfs_growfs_check_rtgeom()
78 xfs_extlen_t *blen);
H A Dxfs_rtalloc.c463 xfs_extlen_t maxavail = in xfs_rtallocate_extent_near()
677 xfs_extlen_t rbmblocks) in xfs_alloc_rsum_cache()
1153 xfs_extlen_t *nrbmblocks) in xfs_growfs_rt_alloc_blocks()
1158 xfs_extlen_t orbmblocks = 0; in xfs_growfs_rt_alloc_blocks()
1159 xfs_extlen_t orsumblocks = 0; in xfs_growfs_rt_alloc_blocks()
1212 xfs_extlen_t bmblocks; in xfs_growfs_rtg()
1274 xfs_extlen_t rextsize) in xfs_growfs_check_rtgeom()
1276 xfs_extlen_t min_logfsbs; in xfs_growfs_check_rtgeom()
1293 min_logfsbs = min_t(xfs_extlen_t, xfs_log_calc_minimum_size(nmp), in xfs_growfs_check_rtgeom()
1333 xfs_extlen_t rextsize, in xfs_growfs_rt_prep_groups()
[all …]
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_iomap.h52 xfs_extlen_t extsz) in xfs_aligned_fsb_count()
55 xfs_extlen_t align; in xfs_aligned_fsb_count()

123