Home
last modified time | relevance | path

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

123

/Linux-v6.1/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 */
94 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.h54 xfs_extlen_t ri_blockcount;
79 xfs_extlen_t blockcount, xfs_fsblock_t *new_fsb,
80 xfs_extlen_t *new_len, struct xfs_btree_cur **pcur);
83 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno,
84 xfs_extlen_t *flen, bool find_end_of_shared);
87 xfs_extlen_t len);
89 xfs_extlen_t len);
114 xfs_extlen_t len, bool *exists);
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 */
225 xfs_extlen_t agsize; /* new AG size */
237 xfs_extlen_t delta);
239 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,
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);
196 xfs_extlen_t len, bool *exists);
198 xfs_extlen_t len, const struct xfs_owner_info *oinfo,
201 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
164 xfs_extlen_t len, /* length of extent */ in xfs_alloc_lookup_eq()
184 xfs_extlen_t len, /* length of extent */ in xfs_alloc_lookup_ge()
204 xfs_extlen_t len, /* length of extent */ in xfs_alloc_lookup_le()
231 xfs_extlen_t len) /* length of extent */ in xfs_alloc_update()
247 xfs_extlen_t *len, /* output: length of extent */ in xfs_alloc_get_rec()
289 xfs_extlen_t foundlen, /* length in found extent */ in xfs_alloc_compute_aligned()
291 xfs_extlen_t *reslen, /* result length */ in xfs_alloc_compute_aligned()
295 xfs_extlen_t len = foundlen; in xfs_alloc_compute_aligned()
296 xfs_extlen_t diff; in xfs_alloc_compute_aligned()
[all …]
Dxfs_bmap.h26 xfs_extlen_t length; /* i/o length asked/allocated */
34 xfs_extlen_t total; /* total blocks needed for xaction */
35 xfs_extlen_t minlen; /* minimum allocation size (blocks) */
36 xfs_extlen_t minleft; /* amount must be left after alloc */
179 xfs_extlen_t len, xfs_fileoff_t *unused, int whichfork);
189 xfs_extlen_t total, struct xfs_bmbt_irec *mval, int *nmap);
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_refcount.c38 xfs_agblock_t agbno, xfs_extlen_t aglen);
40 xfs_agblock_t agbno, xfs_extlen_t aglen);
429 xfs_extlen_t *aglen) in xfs_refcount_merge_center_extents()
508 xfs_extlen_t *aglen) in xfs_refcount_merge_left_extent()
571 xfs_extlen_t *aglen) in xfs_refcount_merge_right_extent()
640 xfs_extlen_t aglen) in xfs_refcount_find_left_extents()
733 xfs_extlen_t aglen) in xfs_refcount_find_right_extents()
831 xfs_extlen_t *aglen, in xfs_refcount_merge_extents()
956 xfs_extlen_t *aglen, in xfs_refcount_adjust_extents()
1103 xfs_extlen_t aglen, in xfs_refcount_adjust()
[all …]
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_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.1/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.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_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.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.h33 xfs_extlen_t extsz) in xfs_aligned_fsb_count()
36 xfs_extlen_t align; in xfs_aligned_fsb_count()
Dxfs_trace.h667 xfs_extlen_t free, int nscan),
674 __field(xfs_extlen_t, free)
1622 xfs_agblock_t agbno, xfs_extlen_t len),
1628 __field(xfs_extlen_t, len)
1645 xfs_agblock_t agbno, xfs_extlen_t len), \
1655 xfs_agblock_t agbno, xfs_extlen_t len,
1656 xfs_agblock_t tbno, xfs_extlen_t tlen),
1662 __field(xfs_extlen_t, len)
1664 __field(xfs_extlen_t, tlen)
1749 xfs_extlen_t len, enum xfs_ag_resv_type resv, int haveleft,
[all …]
/Linux-v6.1/fs/xfs/scrub/
Dscrub.h142 xfs_extlen_t len);
144 xfs_extlen_t len);
146 xfs_extlen_t len);
148 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
150 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
152 xfs_extlen_t len);
154 xfs_extlen_t len);
156 xfs_extlen_t len);
159 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()
98 xfs_extlen_t len; in xchk_allocbt_rec()
142 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);
79 static inline xfs_extlen_t
Dialloc.c87 xfs_extlen_t len) in xchk_iallocbt_chunk_xref()
104 xfs_extlen_t len) in xchk_iallocbt_chunk()
428 xfs_extlen_t len; in xchk_iallocbt_rec()
514 xfs_extlen_t inobt_blocks = 0; in xchk_iallocbt_xref_rmap_btreeblks()
515 xfs_extlen_t finobt_blocks = 0; in xchk_iallocbt_xref_rmap_btreeblks()
623 xfs_extlen_t len, in xchk_xref_inode_check()
645 xfs_extlen_t len) in xchk_xref_is_not_inode_chunk()
656 xfs_extlen_t len) in xchk_xref_is_inode_chunk()
Drepair.c162 xfs_extlen_t nr_blocks, in xrep_ag_has_space()
175 xfs_extlen_t
184 xfs_extlen_t aglen = NULLAGBLOCK; in xrep_calc_ag_resblks()
185 xfs_extlen_t usedlen; in xrep_calc_ag_resblks()
186 xfs_extlen_t freelen; in xrep_calc_ag_resblks()
187 xfs_extlen_t bnobt_sz; in xrep_calc_ag_resblks()
188 xfs_extlen_t inobt_sz; in xrep_calc_ag_resblks()
189 xfs_extlen_t rmapbt_sz; in xrep_calc_ag_resblks()
190 xfs_extlen_t refcbt_sz; in xrep_calc_ag_resblks()

123