Home
last modified time | relevance | path

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

123

/linux-4.19.296/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_fsblock_t fsb, xfs_extlen_t len);
51 xfs_fsblock_t fsb, xfs_extlen_t len);
72 xfs_agblock_t bno, xfs_extlen_t len, bool *exists);
Dxfs_ag_resv.c79 xfs_extlen_t avail; in xfs_ag_resv_critical()
80 xfs_extlen_t orig; in xfs_ag_resv_critical()
108 xfs_extlen_t
113 xfs_extlen_t len; in xfs_ag_resv_needed()
140 xfs_extlen_t oldresv; in __xfs_ag_resv_free()
187 xfs_extlen_t ask, in __xfs_ag_resv_init()
188 xfs_extlen_t used) in __xfs_ag_resv_init()
193 xfs_extlen_t hidden_space; in __xfs_ag_resv_init()
256 xfs_extlen_t ask; in xfs_ag_resv_init()
257 xfs_extlen_t used; in xfs_ag_resv_init()
[all …]
Dxfs_rmap.h139 xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len,
142 xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len,
146 xfs_extlen_t len, uint64_t owner, uint64_t offset,
149 xfs_extlen_t len, uint64_t owner, uint64_t offset,
152 xfs_extlen_t len, uint64_t owner, uint64_t offset,
196 xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner);
198 xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner);
219 xfs_extlen_t len, bool *exists);
221 xfs_extlen_t len, struct xfs_owner_info *oinfo,
224 xfs_extlen_t len, 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_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 */
193 xfs_extlen_t len, xfs_fileoff_t *unused, int whichfork);
204 xfs_extlen_t total, struct xfs_bmbt_irec *mval, int *nmap);
Dxfs_alloc.c45 xfs_btree_cur_t *, xfs_agblock_t *, xfs_extlen_t *, int *);
75 xfs_extlen_t
150 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()
182 xfs_extlen_t len, /* length of extent */ in xfs_alloc_lookup_le()
199 xfs_extlen_t len) /* length of extent */ in xfs_alloc_update()
215 xfs_extlen_t *len, /* output: length of extent */ in xfs_alloc_get_rec()
260 xfs_extlen_t foundlen, /* length in found extent */ in xfs_alloc_compute_aligned()
262 xfs_extlen_t *reslen, /* result length */ in xfs_alloc_compute_aligned()
266 xfs_extlen_t len = foundlen; in xfs_alloc_compute_aligned()
[all …]
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_ag.h16 xfs_extlen_t agsize; /* new AG size */
28 struct aghdr_init_data *id, xfs_extlen_t len);
Dxfs_refcount.c37 xfs_agblock_t agbno, xfs_extlen_t aglen);
39 xfs_agblock_t agbno, xfs_extlen_t aglen);
395 xfs_extlen_t *aglen) in xfs_refcount_merge_center_extents()
460 xfs_extlen_t *aglen) in xfs_refcount_merge_left_extent()
514 xfs_extlen_t *aglen) in xfs_refcount_merge_right_extent()
575 xfs_extlen_t aglen, in xfs_refcount_find_left_extents()
659 xfs_extlen_t aglen, in xfs_refcount_find_right_extents()
748 xfs_extlen_t *aglen, in xfs_refcount_merge_extents()
869 xfs_extlen_t *aglen, in xfs_refcount_adjust_extents()
994 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);
/linux-4.19.296/fs/xfs/scrub/
Dscrub.h119 xfs_extlen_t len);
121 xfs_extlen_t len);
123 xfs_extlen_t len);
125 xfs_extlen_t len, struct xfs_owner_info *oinfo);
127 xfs_extlen_t len, struct xfs_owner_info *oinfo);
129 xfs_extlen_t len);
131 xfs_extlen_t len);
133 xfs_extlen_t len);
136 xfs_extlen_t len);
Dalloc.c46 xfs_extlen_t len) in xchk_allocbt_xref_other()
50 xfs_extlen_t flen; in xchk_allocbt_xref_other()
86 xfs_extlen_t len) in xchk_allocbt_xref()
106 xfs_extlen_t len; in xchk_allocbt_rec()
155 xfs_extlen_t len) in xchk_xref_is_used_space()
Drmap.c48 xfs_extlen_t flen; in xchk_rmapbt_xref_refc()
79 xfs_extlen_t len = irec->rm_blockcount; in xchk_rmapbt_xref()
189 xfs_extlen_t len, in xchk_xref_check_owner()
212 xfs_extlen_t len, in xchk_xref_is_owned_by()
223 xfs_extlen_t len, in xchk_xref_is_not_owned_by()
234 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);
77 static inline xfs_extlen_t
Drefcount.c87 xfs_extlen_t len;
281 xfs_extlen_t len, in xchk_refcountbt_xref_rmap()
328 xfs_extlen_t len, in xchk_refcountbt_xref()
349 xfs_extlen_t len; in xchk_refcountbt_rec()
387 xfs_extlen_t refcbt_blocks = 0; in xchk_refcount_xref_rmap()
440 xfs_extlen_t len) in xchk_xref_is_cow_staging()
486 xfs_extlen_t len) in xchk_xref_is_not_shared()
Dialloc.c83 xfs_extlen_t len) in xchk_iallocbt_chunk_xref()
103 xfs_extlen_t len) in xchk_iallocbt_chunk()
281 xfs_extlen_t len; in xchk_iallocbt_rec()
371 xfs_extlen_t inobt_blocks = 0; in xchk_iallocbt_xref_rmap_btreeblks()
372 xfs_extlen_t finobt_blocks = 0; in xchk_iallocbt_xref_rmap_btreeblks()
479 xfs_extlen_t len, in xchk_xref_inode_check()
501 xfs_extlen_t len) in xchk_xref_is_not_inode_chunk()
512 xfs_extlen_t len) in xchk_xref_is_inode_chunk()
/linux-4.19.296/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.c144 xfs_extlen_t len, /* length to allocate */ in xfs_rtallocate_range()
223 xfs_extlen_t minlen, /* minimum length to allocate */ in xfs_rtallocate_extent_block()
224 xfs_extlen_t maxlen, /* maximum length to allocate */ in xfs_rtallocate_extent_block()
225 xfs_extlen_t *len, /* out: actual length allocated */ in xfs_rtallocate_extent_block()
229 xfs_extlen_t prod, /* extent product factor */ in xfs_rtallocate_extent_block()
302 xfs_extlen_t p; /* amount to trim length by */ in xfs_rtallocate_extent_block()
343 xfs_extlen_t minlen, /* minimum length to allocate */ in xfs_rtallocate_extent_exact()
344 xfs_extlen_t maxlen, /* maximum length to allocate */ in xfs_rtallocate_extent_exact()
345 xfs_extlen_t *len, /* out: actual length allocated */ in xfs_rtallocate_extent_exact()
348 xfs_extlen_t prod, /* extent product factor */ in xfs_rtallocate_extent_exact()
[all …]
Dxfs_iomap.h22 xfs_extlen_t xfs_eof_alignment(struct xfs_inode *ip, xfs_extlen_t extsize);
28 xfs_extlen_t extsz) in xfs_aligned_fsb_count()
31 xfs_extlen_t align; in xfs_aligned_fsb_count()
Dxfs_mount.h122 xfs_extlen_t m_ag_prealloc_blocks; /* reserved ag blocks */
323 xfs_extlen_t ar_orig_reserved;
325 xfs_extlen_t ar_reserved;
327 xfs_extlen_t ar_asked;
346 xfs_extlen_t pagf_freeblks; /* total free blocks */
347 xfs_extlen_t pagf_longest; /* longest free space */
Dxfs_trace.h522 xfs_extlen_t free, int nscan),
529 __field(xfs_extlen_t, free)
1388 xfs_agblock_t agbno, xfs_extlen_t len),
1394 __field(xfs_extlen_t, len)
1411 xfs_agblock_t agbno, xfs_extlen_t len), \
1421 xfs_agblock_t agbno, xfs_extlen_t len,
1422 xfs_agblock_t tbno, xfs_extlen_t tlen),
1428 __field(xfs_extlen_t, len)
1430 __field(xfs_extlen_t, tlen)
1515 xfs_extlen_t len, enum xfs_ag_resv_type resv, int haveleft,
[all …]
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()

123