/fs/xfs/libxfs/ |
D | xfs_alloc.h | 73 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 …]
|
D | xfs_ag_resv.c | 92 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 …]
|
D | xfs_refcount.h | 41 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);
|
D | xfs_alloc.c | 53 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 …]
|
D | xfs_refcount_btree.h | 67 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);
|
D | xfs_rmap.h | 139 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,
|
D | xfs_bmap.h | 42 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,
|
D | xfs_rmap_btree.h | 61 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);
|
D | xfs_refcount.c | 50 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 …]
|
D | xfs_btree.h | 360 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);
|
D | xfs_ag_resv.h | 27 xfs_extlen_t xfs_ag_resv_needed(struct xfs_perag *pag, 33 struct xfs_trans *tp, xfs_extlen_t len);
|
D | xfs_ialloc_btree.h | 76 xfs_extlen_t *ask, xfs_extlen_t *used);
|
D | xfs_refcount_btree.c | 395 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()
|
D | xfs_types.h | 25 typedef uint32_t xfs_extlen_t; /* extent length in blocks */ typedef 69 #define MAXEXTLEN ((xfs_extlen_t)0x001fffff) /* 21 bits */
|
D | xfs_ialloc_btree.c | 527 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/ |
D | xfs_rtalloc.c | 156 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 …]
|
D | xfs_rtalloc.h | 50 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,
|
D | xfs_extent_busy.h | 39 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);
|
D | xfs_iomap.h | 34 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()
|
D | xfs_mount.h | 134 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 */
|
D | xfs_trace.h | 573 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 …]
|
D | xfs_extent_busy.c | 39 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()
|
D | xfs_trans_refcount.c | 62 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()
|
D | xfs_reflink.c | 161 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 …]
|
D | xfs_reflink.h | 24 xfs_agnumber_t agno, xfs_agblock_t agbno, xfs_extlen_t aglen, 25 xfs_agblock_t *fbno, xfs_extlen_t *flen, bool find_maximal);
|