Home
last modified time | relevance | path

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

123

/Linux-v5.4/fs/xfs/libxfs/
Dxfs_alloc.h61 xfs_extlen_t minlen; /* minimum size of extent */
62 xfs_extlen_t maxlen; /* maximum size of extent */
63 xfs_extlen_t mod; /* mod value for extent size */
64 xfs_extlen_t prod; /* prod value for extent size */
65 xfs_extlen_t minleft; /* min blocks must be left after us */
66 xfs_extlen_t total; /* total blocks needed in xaction */
67 xfs_extlen_t alignment; /* align answer to multiple of this */
68 xfs_extlen_t minalignslop; /* slop for minlen+alignment calcs */
71 xfs_extlen_t len; /* output: actual size of extent */
106 xfs_extlen_t xfs_alloc_longest_free_extent(struct xfs_perag *pag,
[all …]
Dxfs_refcount.h29 xfs_extlen_t ri_blockcount;
41 xfs_extlen_t blockcount, xfs_fsblock_t *new_fsb,
42 xfs_extlen_t *new_len, struct xfs_btree_cur **pcur);
45 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno,
46 xfs_extlen_t *flen, bool find_end_of_shared);
49 xfs_extlen_t len);
51 xfs_extlen_t len);
72 xfs_agblock_t bno, xfs_extlen_t len, bool *exists);
Dxfs_ag_resv.c71 xfs_extlen_t avail; in xfs_ag_resv_critical()
72 xfs_extlen_t orig; in xfs_ag_resv_critical()
100 xfs_extlen_t
105 xfs_extlen_t len; in xfs_ag_resv_needed()
132 xfs_extlen_t oldresv; in __xfs_ag_resv_free()
179 xfs_extlen_t ask, in __xfs_ag_resv_init()
180 xfs_extlen_t used) in __xfs_ag_resv_init()
185 xfs_extlen_t hidden_space; in __xfs_ag_resv_init()
248 xfs_extlen_t ask; in xfs_ag_resv_init()
249 xfs_extlen_t used; in xfs_ag_resv_init()
[all …]
Dxfs_rmap.h116 xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len,
119 xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len,
123 xfs_extlen_t len, uint64_t owner, uint64_t offset,
126 xfs_extlen_t len, uint64_t owner, uint64_t offset,
129 xfs_extlen_t len, uint64_t owner, uint64_t offset,
173 xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner);
175 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.h52 extern xfs_extlen_t xfs_refcountbt_calc_size(struct xfs_mount *mp,
54 extern xfs_extlen_t xfs_refcountbt_max_size(struct xfs_mount *mp,
58 struct xfs_trans *tp, xfs_agnumber_t agno, xfs_extlen_t *ask,
59 xfs_extlen_t *used);
Dxfs_rmap_btree.h49 extern xfs_extlen_t xfs_rmapbt_calc_size(struct xfs_mount *mp,
51 extern xfs_extlen_t xfs_rmapbt_max_size(struct xfs_mount *mp,
55 xfs_agnumber_t agno, 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()
162 xfs_extlen_t len, /* length of extent */ in xfs_alloc_lookup_ge()
178 xfs_extlen_t len, /* length of extent */ in xfs_alloc_lookup_le()
195 xfs_extlen_t len) /* length of extent */ in xfs_alloc_update()
211 xfs_extlen_t *len, /* output: length of extent */ in xfs_alloc_get_rec()
256 xfs_extlen_t foundlen, /* length in found extent */ in xfs_alloc_compute_aligned()
258 xfs_extlen_t *reslen, /* result length */ in xfs_alloc_compute_aligned()
262 xfs_extlen_t len = foundlen; in xfs_alloc_compute_aligned()
263 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 */
192 xfs_extlen_t len, xfs_fileoff_t *unused, int whichfork);
203 xfs_extlen_t total, struct xfs_bmbt_irec *mval, int *nmap);
Dxfs_ialloc_btree.h64 xfs_agnumber_t agno, xfs_extlen_t *ask, xfs_extlen_t *used);
65 extern xfs_extlen_t xfs_iallocbt_calc_size(struct xfs_mount *mp,
Dxfs_refcount.c35 xfs_agblock_t agbno, xfs_extlen_t aglen);
37 xfs_agblock_t agbno, xfs_extlen_t aglen);
393 xfs_extlen_t *aglen) in xfs_refcount_merge_center_extents()
458 xfs_extlen_t *aglen) in xfs_refcount_merge_left_extent()
512 xfs_extlen_t *aglen) in xfs_refcount_merge_right_extent()
573 xfs_extlen_t aglen, in xfs_refcount_find_left_extents()
657 xfs_extlen_t aglen, in xfs_refcount_find_right_extents()
746 xfs_extlen_t *aglen, in xfs_refcount_merge_extents()
867 xfs_extlen_t *aglen, in xfs_refcount_adjust_extents()
992 xfs_extlen_t aglen, in xfs_refcount_adjust()
[all …]
Dxfs_ag.h16 xfs_extlen_t agsize; /* new AG size */
28 struct aghdr_init_data *id, xfs_extlen_t len);
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.4/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,
136 xfs_rtblock_t start, xfs_extlen_t len,
Dxfs_extent_busy.h27 xfs_extlen_t length;
35 xfs_agblock_t bno, xfs_extlen_t len, unsigned int flags);
43 xfs_agblock_t bno, xfs_extlen_t len);
47 xfs_agblock_t fbno, xfs_extlen_t flen, bool userdata);
51 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()
301 xfs_extlen_t p; /* amount to trim length by */ in xfs_rtallocate_extent_block()
342 xfs_extlen_t minlen, /* minimum length to allocate */ in xfs_rtallocate_extent_exact()
343 xfs_extlen_t maxlen, /* maximum length to allocate */ in xfs_rtallocate_extent_exact()
344 xfs_extlen_t *len, /* out: actual length allocated */ in xfs_rtallocate_extent_exact()
347 xfs_extlen_t prod, /* extent product factor */ in xfs_rtallocate_extent_exact()
[all …]
Dxfs_iomap.h20 xfs_extlen_t xfs_eof_alignment(struct xfs_inode *ip, xfs_extlen_t extsize);
26 xfs_extlen_t extsz) in xfs_aligned_fsb_count()
29 xfs_extlen_t align; in xfs_aligned_fsb_count()
Dxfs_mount.h145 xfs_extlen_t m_ag_prealloc_blocks; /* reserved ag blocks */
332 xfs_extlen_t ar_orig_reserved;
334 xfs_extlen_t ar_reserved;
336 xfs_extlen_t ar_asked;
355 xfs_extlen_t pagf_freeblks; /* total free blocks */
356 xfs_extlen_t pagf_longest; /* longest free space */
Dxfs_reflink.h21 xfs_agnumber_t agno, xfs_agblock_t agbno, xfs_extlen_t aglen,
22 xfs_agblock_t *fbno, xfs_extlen_t *flen, bool find_maximal);
58 xfs_extlen_t cowextsize, unsigned int remap_flags);
Dxfs_extent_busy.c27 xfs_extlen_t len, in xfs_extent_busy_insert()
86 xfs_extlen_t len) in xfs_extent_busy_search()
139 xfs_extlen_t flen, in xfs_extent_busy_update_extent()
286 xfs_extlen_t flen, in xfs_extent_busy_reuse()
336 xfs_extlen_t *len, in xfs_extent_busy_trim()
340 xfs_extlen_t flen; in xfs_extent_busy_trim()
/Linux-v5.4/fs/xfs/scrub/
Dscrub.h134 xfs_extlen_t len);
136 xfs_extlen_t len);
138 xfs_extlen_t len);
140 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
142 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
144 xfs_extlen_t len);
146 xfs_extlen_t len);
148 xfs_extlen_t len);
151 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.h21 bool xrep_ag_has_space(struct xfs_perag *pag, xfs_extlen_t nr_blocks,
23 xfs_extlen_t xrep_calc_ag_resblks(struct xfs_scrub *sc);
74 static inline xfs_extlen_t
Drefcount.c77 xfs_extlen_t len;
273 xfs_extlen_t len, in xchk_refcountbt_xref_rmap()
320 xfs_extlen_t len, in xchk_refcountbt_xref()
341 xfs_extlen_t len; in xchk_refcountbt_rec()
377 xfs_extlen_t refcbt_blocks = 0; in xchk_refcount_xref_rmap()
427 xfs_extlen_t len) in xchk_xref_is_cow_staging()
473 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()
431 xfs_extlen_t len; in xchk_iallocbt_rec()
517 xfs_extlen_t inobt_blocks = 0; in xchk_iallocbt_xref_rmap_btreeblks()
518 xfs_extlen_t finobt_blocks = 0; in xchk_iallocbt_xref_rmap_btreeblks()
626 xfs_extlen_t len, in xchk_xref_inode_check()
648 xfs_extlen_t len) in xchk_xref_is_not_inode_chunk()
659 xfs_extlen_t len) in xchk_xref_is_inode_chunk()

123