Home
last modified time | relevance | path

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

123

/Linux-v5.15/fs/xfs/libxfs/
Dxfs_alloc.h60 xfs_extlen_t minlen; /* minimum size of extent */
61 xfs_extlen_t maxlen; /* maximum size of extent */
62 xfs_extlen_t mod; /* mod value for extent size */
63 xfs_extlen_t prod; /* prod value for extent size */
64 xfs_extlen_t minleft; /* min blocks must be left after us */
65 xfs_extlen_t total; /* total blocks needed in xaction */
66 xfs_extlen_t alignment; /* align answer to multiple of this */
67 xfs_extlen_t minalignslop; /* slop for minlen+alignment calcs */
70 xfs_extlen_t len; /* output: actual size of extent */
95 xfs_extlen_t xfs_alloc_longest_free_extent(struct xfs_perag *pag,
[all …]
Dxfs_refcount.h36 xfs_extlen_t ri_blockcount;
48 xfs_extlen_t blockcount, xfs_fsblock_t *new_fsb,
49 xfs_extlen_t *new_len, struct xfs_btree_cur **pcur);
52 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno,
53 xfs_extlen_t *flen, bool find_end_of_shared);
56 xfs_extlen_t len);
58 xfs_extlen_t len);
79 xfs_agblock_t bno, xfs_extlen_t len, bool *exists);
Dxfs_ag_resv.c73 xfs_extlen_t avail; in xfs_ag_resv_critical()
74 xfs_extlen_t orig; in xfs_ag_resv_critical()
102 xfs_extlen_t
107 xfs_extlen_t len; in xfs_ag_resv_needed()
134 xfs_extlen_t oldresv; in __xfs_ag_resv_free()
181 xfs_extlen_t ask, in __xfs_ag_resv_init()
182 xfs_extlen_t used) in __xfs_ag_resv_init()
187 xfs_extlen_t hidden_space; in __xfs_ag_resv_init()
253 xfs_extlen_t ask; in xfs_ag_resv_init()
254 xfs_extlen_t used; in xfs_ag_resv_init()
[all …]
Dxfs_ag.h21 xfs_extlen_t ar_orig_reserved;
23 xfs_extlen_t ar_reserved;
25 xfs_extlen_t ar_asked;
44 xfs_extlen_t pagf_freeblks; /* total free blocks */
45 xfs_extlen_t pagf_longest; /* longest free space */
152 xfs_extlen_t agsize; /* new AG size */
164 xfs_agnumber_t agno, xfs_extlen_t delta);
166 struct aghdr_init_data *id, xfs_extlen_t len);
Dxfs_rmap.h118 struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len,
121 struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len,
125 xfs_extlen_t len, uint64_t owner, uint64_t offset,
128 xfs_extlen_t len, uint64_t owner, uint64_t offset,
131 xfs_extlen_t len, uint64_t owner, uint64_t offset,
176 xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner);
178 xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner);
199 xfs_extlen_t len, bool *exists);
201 xfs_extlen_t len, const struct xfs_owner_info *oinfo,
204 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_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_alloc.c71 xfs_extlen_t
146 xfs_extlen_t len, /* length of extent */ in xfs_alloc_lookup_eq()
166 xfs_extlen_t len, /* length of extent */ in xfs_alloc_lookup_ge()
186 xfs_extlen_t len, /* length of extent */ in xfs_alloc_lookup_le()
213 xfs_extlen_t len) /* length of extent */ in xfs_alloc_update()
229 xfs_extlen_t *len, /* output: length of extent */ in xfs_alloc_get_rec()
274 xfs_extlen_t foundlen, /* length in found extent */ in xfs_alloc_compute_aligned()
276 xfs_extlen_t *reslen, /* result length */ in xfs_alloc_compute_aligned()
280 xfs_extlen_t len = foundlen; in xfs_alloc_compute_aligned()
281 xfs_extlen_t diff; in xfs_alloc_compute_aligned()
[all …]
Dxfs_bmap.h28 xfs_extlen_t length; /* i/o length asked/allocated */
36 xfs_extlen_t total; /* total blocks needed for xaction */
37 xfs_extlen_t minlen; /* minimum allocation size (blocks) */
38 xfs_extlen_t minleft; /* amount must be left after alloc */
54 xfs_extlen_t xefi_blockcount;/* number of blocks in extent */
197 xfs_extlen_t len, xfs_fileoff_t *unused, int whichfork);
207 xfs_extlen_t total, struct xfs_bmbt_irec *mval, int *nmap);
Dxfs_refcount.c36 xfs_agblock_t agbno, xfs_extlen_t aglen);
38 xfs_agblock_t agbno, xfs_extlen_t aglen);
409 xfs_extlen_t *aglen) in xfs_refcount_merge_center_extents()
485 xfs_extlen_t *aglen) in xfs_refcount_merge_left_extent()
546 xfs_extlen_t *aglen) in xfs_refcount_merge_right_extent()
614 xfs_extlen_t aglen, in xfs_refcount_find_left_extents()
703 xfs_extlen_t aglen, in xfs_refcount_find_right_extents()
797 xfs_extlen_t *aglen, in xfs_refcount_merge_extents()
918 xfs_extlen_t *aglen, in xfs_refcount_adjust_extents()
1048 xfs_extlen_t aglen, in xfs_refcount_adjust()
[all …]
Dxfs_ialloc_btree.h68 struct xfs_perag *pag, xfs_extlen_t *ask, xfs_extlen_t *used);
69 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);
/Linux-v5.15/fs/xfs/
Dxfs_rtalloc.h43 xfs_extlen_t minlen, /* minimum length to allocate */
44 xfs_extlen_t maxlen, /* maximum length to allocate */
45 xfs_extlen_t *len, /* out: actual length allocated */
47 xfs_extlen_t prod, /* extent product factor */
58 xfs_extlen_t len); /* length of extent freed */
89 xfs_extlen_t len, /* allocation length (rtextents) */
106 xfs_rtblock_t start, xfs_extlen_t len, int val,
115 xfs_rtblock_t start, xfs_extlen_t len, int val);
124 xfs_rtblock_t start, xfs_extlen_t len,
135 xfs_rtblock_t start, xfs_extlen_t len,
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.h28 xfs_extlen_t length;
36 xfs_agblock_t bno, xfs_extlen_t len, unsigned int flags);
44 xfs_agblock_t bno, xfs_extlen_t len);
48 xfs_agblock_t fbno, xfs_extlen_t flen, bool userdata);
52 xfs_extlen_t *len, unsigned *busy_gen);
Dxfs_reflink.h20 xfs_agnumber_t agno, xfs_agblock_t agbno, xfs_extlen_t aglen,
21 xfs_agblock_t *fbno, xfs_extlen_t *flen, bool find_maximal);
57 xfs_extlen_t cowextsize, unsigned int remap_flags);
Dxfs_extent_busy.c27 xfs_extlen_t len, in xfs_extent_busy_insert()
83 xfs_extlen_t len) in xfs_extent_busy_search()
131 xfs_extlen_t flen, in xfs_extent_busy_update_extent()
278 xfs_extlen_t flen, in xfs_extent_busy_reuse()
324 xfs_extlen_t *len, in xfs_extent_busy_trim()
328 xfs_extlen_t flen; in xfs_extent_busy_trim()
Dxfs_iomap.h27 xfs_extlen_t extsz) in xfs_aligned_fsb_count()
30 xfs_extlen_t align; in xfs_aligned_fsb_count()
/Linux-v5.15/fs/xfs/scrub/
Dscrub.h143 xfs_extlen_t len);
145 xfs_extlen_t len);
147 xfs_extlen_t len);
149 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
151 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
153 xfs_extlen_t len);
155 xfs_extlen_t len);
157 xfs_extlen_t len);
160 xfs_extlen_t len);
Dalloc.c39 xfs_extlen_t len) in xchk_allocbt_xref_other()
43 xfs_extlen_t flen; in xchk_allocbt_xref_other()
79 xfs_extlen_t len) in xchk_allocbt_xref()
99 xfs_extlen_t len; in xchk_allocbt_rec()
145 xfs_extlen_t len) in xchk_xref_is_used_space()
Drmap.c39 xfs_extlen_t flen; in xchk_rmapbt_xref_refc()
70 xfs_extlen_t len = irec->rm_blockcount; in xchk_rmapbt_xref()
177 xfs_extlen_t len, in xchk_xref_check_owner()
200 xfs_extlen_t len, in xchk_xref_is_owned_by()
211 xfs_extlen_t len, in xchk_xref_is_not_owned_by()
222 xfs_extlen_t len) in xchk_xref_has_no_owner()
Drepair.h23 bool xrep_ag_has_space(struct xfs_perag *pag, xfs_extlen_t nr_blocks,
25 xfs_extlen_t xrep_calc_ag_resblks(struct xfs_scrub *sc);
76 static inline xfs_extlen_t
Drefcount.c77 xfs_extlen_t len;
271 xfs_extlen_t len, in xchk_refcountbt_xref_rmap()
318 xfs_extlen_t len, in xchk_refcountbt_xref()
339 xfs_extlen_t len; in xchk_refcountbt_rec()
375 xfs_extlen_t refcbt_blocks = 0; in xchk_refcount_xref_rmap()
425 xfs_extlen_t len) in xchk_xref_is_cow_staging()
471 xfs_extlen_t len) in xchk_xref_is_not_shared()
Dialloc.c87 xfs_extlen_t len) in xchk_iallocbt_chunk_xref()
104 xfs_extlen_t len) in xchk_iallocbt_chunk()
429 xfs_extlen_t len; in xchk_iallocbt_rec()
515 xfs_extlen_t inobt_blocks = 0; in xchk_iallocbt_xref_rmap_btreeblks()
516 xfs_extlen_t finobt_blocks = 0; in xchk_iallocbt_xref_rmap_btreeblks()
624 xfs_extlen_t len, in xchk_xref_inode_check()
646 xfs_extlen_t len) in xchk_xref_is_not_inode_chunk()
657 xfs_extlen_t len) in xchk_xref_is_inode_chunk()
Drepair.c161 xfs_extlen_t nr_blocks, in xrep_ag_has_space()
174 xfs_extlen_t
183 xfs_extlen_t aglen = NULLAGBLOCK; in xrep_calc_ag_resblks()
184 xfs_extlen_t usedlen; in xrep_calc_ag_resblks()
185 xfs_extlen_t freelen; in xrep_calc_ag_resblks()
186 xfs_extlen_t bnobt_sz; in xrep_calc_ag_resblks()
187 xfs_extlen_t inobt_sz; in xrep_calc_ag_resblks()
188 xfs_extlen_t rmapbt_sz; in xrep_calc_ag_resblks()
189 xfs_extlen_t refcbt_sz; in xrep_calc_ag_resblks()

123