Home
last modified time | relevance | path

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

1234

/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_exten
[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 use in xfs_ag_resv_init()
[all...]
H A Dxfs_bmap.h27 xfs_extlen_t length; /* i/o length asked/allocated */
35 xfs_extlen_t total; /* total blocks needed for xaction */
36 xfs_extlen_t minlen; /* minimum allocation size (blocks) */
37 xfs_extlen_t minleft; /* amount must be left after alloc */
179 struct xfs_trans *tp, xfs_extlen_t *blen);
188 xfs_extlen_t total, int *logflagsp, int whichfork,
195 xfs_extlen_t len, xfs_fileoff_t *unused, int whichfork);
205 xfs_extlen_t total, struct xfs_bmbt_irec *mval, int *nmap);
232 xfs_extlen_t xfs_bmapi_minleft(struct xfs_trans *tp, struct xfs_inode *ip,
300 xfs_extlen_t xfs_get_extsz_hin
[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 le
[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_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 le in xfs_alloc_compute_aligned()
[all...]
H A Dxfs_trans_resv.h124 xfs_extlen_t xfs_calc_max_atomic_write_fsblocks(struct xfs_mount *mp);
125 xfs_extlen_t xfs_calc_atomic_write_log_geometry(struct xfs_mount *mp,
126 xfs_extlen_t blockcount, unsigned int *new_logres);
128 xfs_extlen_t blockcount);
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()
1154 xfs_extlen_t *aglen, in xfs_refcount_adjust_extents()
1296 xfs_extlen_t *agle 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.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 le
[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()
181 xfs_extlen_t len) in xchk_xref_is_used_space()
H A Ddab_bitmap.h26 xfs_dablk_t dabno, xfs_extlen_t len) in xdab_bitmap_set()
32 xfs_dablk_t dabno, xfs_extlen_t *len) in xdab_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 le in xreap_rgextent_select()
[all...]
/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()
85 xfs_extlen_t len, in xfs_extent_busy_insert()
95 xfs_extlen_t len, in xfs_extent_busy_insert_discard()
115 xfs_extlen_t len) in xfs_extent_busy_search()
163 xfs_extlen_t flen, in xfs_extent_busy_update_extent()
311 xfs_extlen_t flen, in xfs_extent_busy_reuse()
357 xfs_extlen_t minlen, in xfs_extent_busy_trim()
358 xfs_extlen_t maxlen, in xfs_extent_busy_trim()
360 xfs_extlen_t *len, in xfs_extent_busy_trim()
365 xfs_extlen_t fle in xfs_extent_busy_trim()
[all...]
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.h69 xfs_extlen_t rextsize) in xfs_growfs_check_rtgeom()
78 xfs_extlen_t *blen);
H A Dxfs_rtalloc.c460 xfs_extlen_t maxavail = in xfs_rtallocate_extent_near()
674 xfs_extlen_t rbmblocks) in xfs_alloc_rsum_cache()
1116 xfs_extlen_t *nrbmblocks) in xfs_growfs_rt_alloc_blocks()
1121 xfs_extlen_t orbmblocks = 0; in xfs_growfs_rt_alloc_blocks()
1122 xfs_extlen_t orsumblocks = 0; in xfs_growfs_rt_alloc_blocks()
1175 xfs_extlen_t bmblocks; in xfs_growfs_rtg()
1236 xfs_extlen_t rextsize) in xfs_growfs_check_rtgeom()
1238 xfs_extlen_t min_logfsbs; in xfs_growfs_check_rtgeom()
1255 min_logfsbs = min_t(xfs_extlen_t, xfs_log_calc_minimum_size(nmp), in xfs_growfs_check_rtgeom()
1293 xfs_extlen_t rextsiz in xfs_growfs_rt_prep_groups()
[all...]
H A Dxfs_iomap.h36 xfs_extlen_t extsz) in xfs_aligned_fsb_count()
39 xfs_extlen_t align; in xfs_aligned_fsb_count()

1234