Home
last modified time | relevance | path

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

123

/fs/xfs/libxfs/
Dxfs_alloc.h73 xfs_extlen_t minlen; /* minimum size of extent */
74 xfs_extlen_t maxlen; /* maximum size of extent */
75 xfs_extlen_t mod; /* mod value for extent size */
76 xfs_extlen_t prod; /* prod value for extent size */
77 xfs_extlen_t minleft; /* min blocks must be left after us */
78 xfs_extlen_t total; /* total blocks needed in xaction */
79 xfs_extlen_t alignment; /* align answer to multiple of this */
80 xfs_extlen_t minalignslop; /* slop for minlen+alignment calcs */
83 xfs_extlen_t len; /* output: actual size of extent */
119 xfs_extlen_t xfs_alloc_longest_free_extent(struct xfs_mount *mp,
[all …]
Dxfs_ag_resv.c92 xfs_extlen_t avail; in xfs_ag_resv_critical()
93 xfs_extlen_t orig; in xfs_ag_resv_critical()
121 xfs_extlen_t
126 xfs_extlen_t len; in xfs_ag_resv_needed()
153 xfs_extlen_t oldresv; in __xfs_ag_resv_free()
198 xfs_extlen_t ask, in __xfs_ag_resv_init()
199 xfs_extlen_t used) in __xfs_ag_resv_init()
204 xfs_extlen_t reserved; in __xfs_ag_resv_init()
244 xfs_extlen_t ask; in xfs_ag_resv_init()
245 xfs_extlen_t used; in xfs_ag_resv_init()
[all …]
Dxfs_refcount.h41 xfs_extlen_t ri_blockcount;
53 xfs_fsblock_t startblock, xfs_extlen_t blockcount,
54 xfs_fsblock_t *new_fsb, xfs_extlen_t *new_len,
58 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno,
59 xfs_extlen_t *flen, bool find_end_of_shared);
63 xfs_extlen_t len);
66 xfs_extlen_t len);
Dxfs_alloc.c53 xfs_btree_cur_t *, xfs_agblock_t *, xfs_extlen_t *, int *);
83 xfs_extlen_t
158 xfs_extlen_t len, /* length of extent */ in xfs_alloc_lookup_eq()
174 xfs_extlen_t len, /* length of extent */ in xfs_alloc_lookup_ge()
190 xfs_extlen_t len, /* length of extent */ in xfs_alloc_lookup_le()
207 xfs_extlen_t len) /* length of extent */ in xfs_alloc_update()
223 xfs_extlen_t *len, /* output: length of extent */ in xfs_alloc_get_rec()
245 xfs_extlen_t foundlen, /* length in found extent */ in xfs_alloc_compute_aligned()
247 xfs_extlen_t *reslen, /* result length */ in xfs_alloc_compute_aligned()
251 xfs_extlen_t len = foundlen; in xfs_alloc_compute_aligned()
[all …]
Dxfs_refcount_btree.h67 extern xfs_extlen_t xfs_refcountbt_calc_size(struct xfs_mount *mp,
69 extern xfs_extlen_t xfs_refcountbt_max_size(struct xfs_mount *mp,
73 xfs_agnumber_t agno, xfs_extlen_t *ask, xfs_extlen_t *used);
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,
198 xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len,
201 xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len,
Dxfs_bmap.h42 xfs_extlen_t length; /* i/o length asked/allocated */
50 xfs_extlen_t total; /* total blocks needed for xaction */
51 xfs_extlen_t minlen; /* minimum allocation size (blocks) */
52 xfs_extlen_t minleft; /* amount must be left after alloc */
68 xfs_extlen_t xefi_blockcount;/* number of blocks in extent */
219 xfs_extlen_t len, xfs_fileoff_t *unused, int whichfork);
232 xfs_fsblock_t *firstblock, xfs_extlen_t total,
Dxfs_rmap_btree.h61 extern xfs_extlen_t xfs_rmapbt_calc_size(struct xfs_mount *mp,
63 extern xfs_extlen_t xfs_rmapbt_max_size(struct xfs_mount *mp,
67 xfs_agnumber_t agno, xfs_extlen_t *ask, xfs_extlen_t *used);
Dxfs_refcount.c50 xfs_agblock_t agbno, xfs_extlen_t aglen,
53 xfs_agblock_t agbno, xfs_extlen_t aglen,
354 xfs_extlen_t *aglen) in xfs_refcount_merge_center_extents()
419 xfs_extlen_t *aglen) in xfs_refcount_merge_left_extent()
474 xfs_extlen_t *aglen) in xfs_refcount_merge_right_extent()
535 xfs_extlen_t aglen, in xfs_refcount_find_left_extents()
619 xfs_extlen_t aglen, in xfs_refcount_find_right_extents()
708 xfs_extlen_t *aglen, in xfs_refcount_merge_extents()
829 xfs_extlen_t *aglen, in xfs_refcount_adjust_extents()
955 xfs_extlen_t aglen, in xfs_refcount_adjust()
[all …]
Dxfs_btree.h360 xfs_extlen_t count, /* count of filesystem blocks */
372 xfs_extlen_t count, /* count of filesystem blocks */
450 #define XFS_EXTLEN_MIN(a,b) min_t(xfs_extlen_t, (a), (b))
451 #define XFS_EXTLEN_MAX(a,b) max_t(xfs_extlen_t, (a), (b))
486 xfs_extlen_t xfs_btree_calc_size(struct xfs_mount *mp, uint *limits,
506 int xfs_btree_count_blocks(struct xfs_btree_cur *cur, xfs_extlen_t *blocks);
Dxfs_ag_resv.h27 xfs_extlen_t xfs_ag_resv_needed(struct xfs_perag *pag,
33 struct xfs_trans *tp, xfs_extlen_t len);
Dxfs_ialloc_btree.h76 xfs_extlen_t *ask, xfs_extlen_t *used);
Dxfs_refcount_btree.c395 xfs_extlen_t
406 xfs_extlen_t
425 xfs_extlen_t *ask, in xfs_refcountbt_calc_reserves()
426 xfs_extlen_t *used) in xfs_refcountbt_calc_reserves()
431 xfs_extlen_t tree_len; in xfs_refcountbt_calc_reserves()
Dxfs_types.h25 typedef uint32_t xfs_extlen_t; /* extent length in blocks */ typedef
69 #define MAXEXTLEN ((xfs_extlen_t)0x001fffff) /* 21 bits */
Dxfs_ialloc_btree.c527 static xfs_extlen_t
545 xfs_extlen_t *tree_blocks) in xfs_inobt_count_blocks()
570 xfs_extlen_t *ask, in xfs_finobt_calc_reserves()
571 xfs_extlen_t *used) in xfs_finobt_calc_reserves()
573 xfs_extlen_t tree_len = 0; in xfs_finobt_calc_reserves()
/fs/xfs/
Dxfs_rtalloc.c156 xfs_extlen_t len, /* length to allocate */ in xfs_rtallocate_range()
235 xfs_extlen_t minlen, /* minimum length to allocate */ in xfs_rtallocate_extent_block()
236 xfs_extlen_t maxlen, /* maximum length to allocate */ in xfs_rtallocate_extent_block()
237 xfs_extlen_t *len, /* out: actual length allocated */ in xfs_rtallocate_extent_block()
241 xfs_extlen_t prod, /* extent product factor */ in xfs_rtallocate_extent_block()
311 xfs_extlen_t p; /* amount to trim length by */ in xfs_rtallocate_extent_block()
348 xfs_extlen_t minlen, /* minimum length to allocate */ in xfs_rtallocate_extent_exact()
349 xfs_extlen_t maxlen, /* maximum length to allocate */ in xfs_rtallocate_extent_exact()
350 xfs_extlen_t *len, /* out: actual length allocated */ in xfs_rtallocate_extent_exact()
353 xfs_extlen_t prod, /* extent product factor */ in xfs_rtallocate_extent_exact()
[all …]
Dxfs_rtalloc.h50 xfs_extlen_t minlen, /* minimum length to allocate */
51 xfs_extlen_t maxlen, /* maximum length to allocate */
52 xfs_extlen_t *len, /* out: actual length allocated */
54 xfs_extlen_t prod, /* extent product factor */
65 xfs_extlen_t len); /* length of extent freed */
96 xfs_extlen_t len, /* allocation length (rtextents) */
113 xfs_rtblock_t start, xfs_extlen_t len, int val,
122 xfs_rtblock_t start, xfs_extlen_t len, int val);
131 xfs_rtblock_t start, xfs_extlen_t len,
Dxfs_extent_busy.h39 xfs_extlen_t length;
47 xfs_agblock_t bno, xfs_extlen_t len, unsigned int flags);
55 xfs_agblock_t bno, xfs_extlen_t len);
59 xfs_agblock_t fbno, xfs_extlen_t flen, bool userdata);
63 xfs_extlen_t *len, unsigned *busy_gen);
Dxfs_iomap.h34 xfs_extlen_t xfs_eof_alignment(struct xfs_inode *ip, xfs_extlen_t extsize);
40 xfs_extlen_t extsz) in xfs_aligned_fsb_count()
43 xfs_extlen_t align; in xfs_aligned_fsb_count()
Dxfs_mount.h134 xfs_extlen_t m_ag_prealloc_blocks; /* reserved ag blocks */
335 xfs_extlen_t ar_orig_reserved;
337 xfs_extlen_t ar_reserved;
339 xfs_extlen_t ar_asked;
358 xfs_extlen_t pagf_freeblks; /* total free blocks */
359 xfs_extlen_t pagf_longest; /* longest free space */
Dxfs_trace.h573 xfs_extlen_t free, int nscan),
580 __field(xfs_extlen_t, free)
1455 xfs_agblock_t agbno, xfs_extlen_t len),
1461 __field(xfs_extlen_t, len)
1478 xfs_agblock_t agbno, xfs_extlen_t len), \
1488 xfs_agblock_t agbno, xfs_extlen_t len,
1489 xfs_agblock_t tbno, xfs_extlen_t tlen),
1495 __field(xfs_extlen_t, len)
1497 __field(xfs_extlen_t, tlen)
1582 xfs_extlen_t len, enum xfs_ag_resv_type resv, int haveleft,
[all …]
Dxfs_extent_busy.c39 xfs_extlen_t len, in xfs_extent_busy_insert()
98 xfs_extlen_t len) in xfs_extent_busy_search()
151 xfs_extlen_t flen, in xfs_extent_busy_update_extent()
298 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_trans_refcount.c62 xfs_extlen_t blockcount, in xfs_trans_log_finish_refcount_update()
64 xfs_extlen_t *new_len, in xfs_trans_log_finish_refcount_update()
193 xfs_extlen_t new_aglen; in xfs_refcount_update_finish_item()
Dxfs_reflink.c161 xfs_extlen_t aglen, in xfs_reflink_find_shared()
163 xfs_extlen_t *flen, in xfs_reflink_find_shared()
206 xfs_extlen_t aglen; in xfs_reflink_trim_around_shared()
208 xfs_extlen_t flen; in xfs_reflink_trim_around_shared()
401 xfs_extlen_t resblks = 0; in xfs_reflink_allocate_cow()
988 xfs_extlen_t cowextsize, in xfs_reflink_update_dest()
1267 xfs_extlen_t cowextsize; in xfs_reflink_remap_range()
1360 xfs_extlen_t aglen; in xfs_reflink_dirty_extents()
1362 xfs_extlen_t rlen; in xfs_reflink_dirty_extents()
1433 xfs_extlen_t aglen; in xfs_reflink_inode_has_shared_extents()
[all …]
Dxfs_reflink.h24 xfs_agnumber_t agno, xfs_agblock_t agbno, xfs_extlen_t aglen,
25 xfs_agblock_t *fbno, xfs_extlen_t *flen, bool find_maximal);

123