Home
last modified time | relevance | path

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

123

/Linux-v6.6/fs/xfs/libxfs/
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 */
74 xfs_extlen_t xfs_alloc_longest_free_extent(struct xfs_perag *pag,
[all …]
Dxfs_ag_resv.c73 xfs_extlen_t avail; in xfs_ag_resv_critical()
74 xfs_extlen_t orig; in xfs_ag_resv_critical()
103 xfs_extlen_t
108 xfs_extlen_t len; in xfs_ag_resv_needed()
135 xfs_extlen_t oldresv; in __xfs_ag_resv_free()
182 xfs_extlen_t ask, in __xfs_ag_resv_init()
183 xfs_extlen_t used) in __xfs_ag_resv_init()
188 xfs_extlen_t hidden_space; in __xfs_ag_resv_init()
254 xfs_extlen_t ask; in xfs_ag_resv_init()
255 xfs_extlen_t used; in xfs_ag_resv_init()
[all …]
Dxfs_refcount.h55 xfs_extlen_t ri_blockcount;
85 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno,
86 xfs_extlen_t *flen, bool find_end_of_shared);
89 xfs_extlen_t len);
91 xfs_extlen_t len);
116 xfs_extlen_t len, enum xbtree_recpacking *outcome);
Dxfs_rmap.h119 struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len,
122 struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len,
129 xfs_extlen_t len, uint64_t owner, uint64_t offset,
132 xfs_extlen_t len, uint64_t owner, uint64_t offset,
181 xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner);
183 xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner);
202 xfs_extlen_t len, enum xbtree_recpacking *outcome);
216 xfs_extlen_t len, const struct xfs_owner_info *oinfo,
219 xfs_extlen_t len, const struct xfs_owner_info *oinfo,
Dxfs_refcount_btree.h56 extern xfs_extlen_t xfs_refcountbt_calc_size(struct xfs_mount *mp,
58 extern xfs_extlen_t xfs_refcountbt_max_size(struct xfs_mount *mp,
62 struct xfs_trans *tp, struct xfs_perag *pag, xfs_extlen_t *ask,
63 xfs_extlen_t *used);
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 */
173 struct xfs_trans *tp, xfs_extlen_t *blen);
182 xfs_extlen_t len, xfs_fileoff_t *unused, int whichfork);
192 xfs_extlen_t total, struct xfs_bmbt_irec *mval, int *nmap);
226 xfs_extlen_t xfs_bmapi_minleft(struct xfs_trans *tp, struct xfs_inode *ip,
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);
Dxfs_ag.h21 xfs_extlen_t ar_orig_reserved;
23 xfs_extlen_t ar_reserved;
25 xfs_extlen_t ar_asked;
42 xfs_extlen_t pagf_freeblks; /* total free blocks */
43 xfs_extlen_t pagf_longest; /* longest free space */
315 xfs_extlen_t agsize; /* new AG size */
327 xfs_extlen_t delta);
329 xfs_extlen_t len);
Dxfs_alloc.c67 xfs_extlen_t
160 xfs_extlen_t len, /* length of extent */ in xfs_alloc_lookup_eq()
180 xfs_extlen_t len, /* length of extent */ in xfs_alloc_lookup_ge()
200 xfs_extlen_t len, /* length of extent */ in xfs_alloc_lookup_le()
227 xfs_extlen_t len) /* length of extent */ in xfs_alloc_update()
289 xfs_extlen_t *len, /* output: length of extent */ in xfs_alloc_get_rec()
319 xfs_extlen_t foundlen, /* length in found extent */ in xfs_alloc_compute_aligned()
321 xfs_extlen_t *reslen, /* result length */ in xfs_alloc_compute_aligned()
325 xfs_extlen_t len = foundlen; in xfs_alloc_compute_aligned()
326 xfs_extlen_t diff; in xfs_alloc_compute_aligned()
[all …]
Dxfs_ialloc_btree.h66 xfs_extlen_t *ask, xfs_extlen_t *used);
67 extern xfs_extlen_t xfs_iallocbt_calc_size(struct xfs_mount *mp,
Dxfs_ag_resv.h13 xfs_extlen_t xfs_ag_resv_needed(struct xfs_perag *pag,
19 struct xfs_trans *tp, xfs_extlen_t len);
Dxfs_refcount.c38 xfs_agblock_t agbno, xfs_extlen_t aglen);
40 xfs_agblock_t agbno, xfs_extlen_t aglen);
451 xfs_extlen_t *aglen) in xfs_refcount_merge_center_extents()
530 xfs_extlen_t *aglen) in xfs_refcount_merge_left_extent()
593 xfs_extlen_t *aglen) in xfs_refcount_merge_right_extent()
662 xfs_extlen_t aglen) in xfs_refcount_find_left_extents()
755 xfs_extlen_t aglen) in xfs_refcount_find_right_extents()
978 xfs_extlen_t *aglen, in xfs_refcount_merge_extents()
1092 xfs_extlen_t *aglen, in xfs_refcount_adjust_extents()
1245 xfs_extlen_t *aglen, in xfs_refcount_adjust()
[all …]
Dxfs_types.h13 typedef uint32_t xfs_extlen_t; /* extent length in blocks */ typedef
180 xfs_extlen_t rc_blockcount; /* count of free blocks */
193 xfs_extlen_t rm_blockcount; /* extent length */
/Linux-v6.6/fs/xfs/scrub/
Dscrub.h174 xfs_extlen_t len);
176 xfs_extlen_t len);
178 xfs_extlen_t len);
180 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
182 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
184 xfs_extlen_t len);
186 xfs_extlen_t len);
188 xfs_extlen_t len);
190 xfs_extlen_t len);
193 xfs_extlen_t len);
Drepair.h34 bool xrep_ag_has_space(struct xfs_perag *pag, xfs_extlen_t nr_blocks,
36 xfs_extlen_t xrep_calc_ag_resblks(struct xfs_scrub *sc);
83 static inline xfs_extlen_t
Drepair.c237 xfs_extlen_t nr_blocks, in xrep_ag_has_space()
250 xfs_extlen_t
259 xfs_extlen_t aglen = NULLAGBLOCK; in xrep_calc_ag_resblks()
260 xfs_extlen_t usedlen; in xrep_calc_ag_resblks()
261 xfs_extlen_t freelen; in xrep_calc_ag_resblks()
262 xfs_extlen_t bnobt_sz; in xrep_calc_ag_resblks()
263 xfs_extlen_t inobt_sz; in xrep_calc_ag_resblks()
264 xfs_extlen_t rmapbt_sz; in xrep_calc_ag_resblks()
265 xfs_extlen_t refcbt_sz; in xrep_calc_ag_resblks()
Dalloc.c48 xfs_extlen_t len) in xchk_allocbt_xref_other()
52 xfs_extlen_t flen; in xchk_allocbt_xref_other()
90 xfs_extlen_t len = irec->ar_blockcount; in xchk_allocbt_xref()
173 xfs_extlen_t len) in xchk_xref_is_used_space()
Dbitmap.h52 xfs_agblock_t start, xfs_extlen_t len) in xagb_bitmap_clear()
57 xfs_agblock_t start, xfs_extlen_t len) in xagb_bitmap_set()
66 xfs_extlen_t *len) in xagb_bitmap_test()
Dreap.c215 xfs_extlen_t *aglenp) in xreap_agextent_binval()
296 xfs_extlen_t *aglenp) in xreap_agextent_select()
301 xfs_extlen_t len = 1; in xreap_agextent_select()
354 xfs_extlen_t *aglenp, in xreap_agextent_iter()
442 xfs_extlen_t aglen; in xreap_agmeta_extent()
/Linux-v6.6/fs/xfs/
Dxfs_rtalloc.h44 xfs_extlen_t minlen, /* minimum length to allocate */
45 xfs_extlen_t maxlen, /* maximum length to allocate */
46 xfs_extlen_t *len, /* out: actual length allocated */
48 xfs_extlen_t prod, /* extent product factor */
59 xfs_extlen_t len); /* length of extent freed */
90 xfs_extlen_t len, /* allocation length (rtextents) */
107 xfs_rtblock_t start, xfs_extlen_t len, int val,
116 xfs_rtblock_t start, xfs_extlen_t len, int val);
125 xfs_rtblock_t start, xfs_extlen_t len,
136 xfs_rtblock_t start, xfs_extlen_t len,
Dxfs_extent_busy.h25 xfs_extlen_t length;
50 xfs_agblock_t bno, xfs_extlen_t len, unsigned int flags);
54 xfs_extlen_t len, struct list_head *busy_list);
62 xfs_agblock_t bno, xfs_extlen_t len);
66 xfs_agblock_t fbno, xfs_extlen_t flen, bool userdata);
70 xfs_extlen_t *len, unsigned *busy_gen);
Dxfs_rtalloc.c146 xfs_extlen_t len, /* length to allocate */ in xfs_rtallocate_range()
225 xfs_extlen_t minlen, /* minimum length to allocate */ in xfs_rtallocate_extent_block()
226 xfs_extlen_t maxlen, /* maximum length to allocate */ in xfs_rtallocate_extent_block()
227 xfs_extlen_t *len, /* out: actual length allocated */ in xfs_rtallocate_extent_block()
231 xfs_extlen_t prod, /* extent product factor */ in xfs_rtallocate_extent_block()
304 xfs_extlen_t p; /* amount to trim length by */ in xfs_rtallocate_extent_block()
345 xfs_extlen_t minlen, /* minimum length to allocate */ in xfs_rtallocate_extent_exact()
346 xfs_extlen_t maxlen, /* maximum length to allocate */ in xfs_rtallocate_extent_exact()
347 xfs_extlen_t *len, /* out: actual length allocated */ in xfs_rtallocate_extent_exact()
350 xfs_extlen_t prod, /* extent product factor */ in xfs_rtallocate_extent_exact()
[all …]
Dxfs_extent_busy.c26 xfs_extlen_t len, in xfs_extent_busy_insert_list()
75 xfs_extlen_t len, in xfs_extent_busy_insert()
85 xfs_extlen_t len, in xfs_extent_busy_insert_discard()
106 xfs_extlen_t len) in xfs_extent_busy_search()
154 xfs_extlen_t flen, in xfs_extent_busy_update_extent()
302 xfs_extlen_t flen, in xfs_extent_busy_reuse()
348 xfs_extlen_t *len, in xfs_extent_busy_trim()
352 xfs_extlen_t flen; in xfs_extent_busy_trim()
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 free = 0, minfree, maxfree = 0; in xfs_filestream_pick_ag()
210 xfs_extlen_t *longest) in xfs_filestream_lookup_association()
266 xfs_extlen_t *longest) in xfs_filestream_create_association()
348 xfs_extlen_t *longest) in xfs_filestream_select_ag()
Dxfs_iomap.h34 xfs_extlen_t extsz) in xfs_aligned_fsb_count()
37 xfs_extlen_t align; in xfs_aligned_fsb_count()

123