Home
last modified time | relevance | path

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

12

/fs/xfs/libxfs/
Dxfs_alloc.h108 xfs_extlen_t minlen; /* minimum size of extent */
109 xfs_extlen_t maxlen; /* maximum size of extent */
110 xfs_extlen_t mod; /* mod value for extent size */
111 xfs_extlen_t prod; /* prod value for extent size */
112 xfs_extlen_t minleft; /* min blocks must be left after us */
113 xfs_extlen_t total; /* total blocks needed in xaction */
114 xfs_extlen_t alignment; /* align answer to multiple of this */
115 xfs_extlen_t minalignslop; /* slop for minlen+alignment calcs */
118 xfs_extlen_t len; /* output: actual size of extent */
135 xfs_extlen_t xfs_alloc_longest_free_extent(struct xfs_mount *mp,
[all …]
Dxfs_alloc.c50 xfs_btree_cur_t *, xfs_agblock_t *, xfs_extlen_t *, int *);
59 xfs_extlen_t len, /* length of extent */ in xfs_alloc_lookup_eq()
75 xfs_extlen_t len, /* length of extent */ in xfs_alloc_lookup_ge()
91 xfs_extlen_t len, /* length of extent */ in xfs_alloc_lookup_le()
108 xfs_extlen_t len) /* length of extent */ in xfs_alloc_update()
124 xfs_extlen_t *len, /* output: length of extent */ in xfs_alloc_get_rec()
146 xfs_extlen_t foundlen, /* length in found extent */ in xfs_alloc_compute_aligned()
148 xfs_extlen_t *reslen) /* result length */ in xfs_alloc_compute_aligned()
151 xfs_extlen_t len; in xfs_alloc_compute_aligned()
152 xfs_extlen_t diff; in xfs_alloc_compute_aligned()
[all …]
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 xbfi_blockcount;/* number of blocks in extent */
201 xfs_extlen_t len, xfs_fileoff_t *unused, int whichfork);
217 xfs_fsblock_t *firstblock, xfs_extlen_t total,
Dxfs_types.h25 typedef __uint32_t xfs_extlen_t; /* extent length in blocks */ typedef
70 #define MAXEXTLEN ((xfs_extlen_t)0x001fffff) /* 21 bits */
Dxfs_btree.h353 xfs_extlen_t count, /* count of filesystem blocks */
365 xfs_extlen_t count, /* count of filesystem blocks */
443 #define XFS_EXTLEN_MIN(a,b) min_t(xfs_extlen_t, (a), (b))
444 #define XFS_EXTLEN_MAX(a,b) max_t(xfs_extlen_t, (a), (b))
Dxfs_dir2.h132 struct xfs_bmap_free *flist, xfs_extlen_t tot);
139 struct xfs_bmap_free *flist, xfs_extlen_t tot);
143 struct xfs_bmap_free *flist, xfs_extlen_t tot);
Dxfs_rtbitmap.c519 xfs_extlen_t len, /* length of extent to modify */ in xfs_rtmodify_range()
676 xfs_extlen_t len, /* length to free */ in xfs_rtfree_range()
752 xfs_extlen_t len, /* length of extent */ in xfs_rtcheck_range()
928 xfs_extlen_t len) /* length of extent */ in xfs_rtcheck_alloc_range()
951 xfs_extlen_t len) /* length of extent freed */ in xfs_rtfree_extent()
Dxfs_bmap.c596 new->xbfi_blockcount = (xfs_extlen_t)len; in xfs_bmap_add_free()
892 xfs_extlen_t total, /* total blocks needed by transaction */ in xfs_bmap_local_to_extents()
1476 xfs_extlen_t len, /* size of hole to find */ in xfs_bmap_first_unused()
3183 xfs_extlen_t extsz, /* align to this extent size */ in xfs_bmap_extsize_align()
3189 xfs_extlen_t *lenp) /* in/out: aligned length */ in xfs_bmap_extsize_align()
3192 xfs_extlen_t orig_alen; /* original length */ in xfs_bmap_extsize_align()
3197 xfs_extlen_t align_alen; /* temp for length */ in xfs_bmap_extsize_align()
3198 xfs_extlen_t temp; /* temp for calculations */ in xfs_bmap_extsize_align()
3506 xfs_extlen_t *blen, in xfs_bmap_longest_free_extent()
3511 xfs_extlen_t longest; in xfs_bmap_longest_free_extent()
[all …]
Dxfs_format.h119 xfs_extlen_t sb_rbmblocks; /* number of rt bitmap blocks */
120 xfs_extlen_t sb_logblocks; /* number of log blocks */
152 xfs_extlen_t sb_inoalignmt; /* inode chunk alignment, fsblocks */
181 xfs_extlen_t sb_spino_align; /* sparse inode chunk alignment */
1208 xfs_extlen_t ar_blockcount; /* count of free blocks */
Dxfs_dir2.c263 xfs_extlen_t total) /* bmap's total block count */ in xfs_dir_createname()
440 xfs_extlen_t total) /* bmap's total block count */ in xfs_dir_removename()
502 xfs_extlen_t total) /* bmap's total block count */ in xfs_dir_replace()
Dxfs_log_format.h384 xfs_extlen_t di_extsize; /* basic/minimum extent size for file */
520 xfs_extlen_t ext_len;
/fs/xfs/
Dxfs_rtalloc.h40 xfs_extlen_t minlen, /* minimum length to allocate */
41 xfs_extlen_t maxlen, /* maximum length to allocate */
42 xfs_extlen_t *len, /* out: actual length allocated */
45 xfs_extlen_t prod, /* extent product factor */
56 xfs_extlen_t len); /* length of extent freed */
87 xfs_extlen_t len, /* allocation length (rtextents) */
104 xfs_rtblock_t start, xfs_extlen_t len, int val,
113 xfs_rtblock_t start, xfs_extlen_t len, int val);
122 xfs_rtblock_t start, xfs_extlen_t len,
Dxfs_rtalloc.c155 xfs_extlen_t len, /* length to allocate */ in xfs_rtallocate_range()
234 xfs_extlen_t minlen, /* minimum length to allocate */ in xfs_rtallocate_extent_block()
235 xfs_extlen_t maxlen, /* maximum length to allocate */ in xfs_rtallocate_extent_block()
236 xfs_extlen_t *len, /* out: actual length allocated */ in xfs_rtallocate_extent_block()
240 xfs_extlen_t prod, /* extent product factor */ in xfs_rtallocate_extent_block()
313 xfs_extlen_t p; /* amount to trim length by */ in xfs_rtallocate_extent_block()
350 xfs_extlen_t minlen, /* minimum length to allocate */ in xfs_rtallocate_extent_exact()
351 xfs_extlen_t maxlen, /* maximum length to allocate */ in xfs_rtallocate_extent_exact()
352 xfs_extlen_t *len, /* out: actual length allocated */ in xfs_rtallocate_extent_exact()
355 xfs_extlen_t prod, /* extent product factor */ in xfs_rtallocate_extent_exact()
[all …]
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, xfs_agblock_t *rbno, xfs_extlen_t *rlen);
Dxfs_extent_busy.c39 xfs_extlen_t len, in xfs_extent_busy_insert()
109 xfs_extlen_t len) in xfs_extent_busy_search()
162 xfs_extlen_t flen, in xfs_extent_busy_update_extent()
309 xfs_extlen_t flen, in xfs_extent_busy_reuse()
353 xfs_extlen_t len, in xfs_extent_busy_trim()
355 xfs_extlen_t *rlen) in xfs_extent_busy_trim()
358 xfs_extlen_t flen; in xfs_extent_busy_trim()
Dxfs_bmap_util.h49 struct xfs_bmbt_irec *prevp, xfs_extlen_t extsz,
51 xfs_fileoff_t *offp, xfs_extlen_t *lenp);
Dxfs_trans_extfree.c64 xfs_extlen_t ext_len) in xfs_trans_log_efi_extent()
121 xfs_extlen_t ext_len) in xfs_trans_free_extent()
Dxfs_trace.h573 xfs_extlen_t free, int nscan),
580 __field(xfs_extlen_t, free)
1408 xfs_agblock_t agbno, xfs_extlen_t len),
1414 __field(xfs_extlen_t, len)
1431 xfs_agblock_t agbno, xfs_extlen_t len), \
1441 xfs_agblock_t agbno, xfs_extlen_t len,
1442 xfs_agblock_t tbno, xfs_extlen_t tlen),
1448 __field(xfs_extlen_t, len)
1450 __field(xfs_extlen_t, tlen)
1554 xfs_extlen_t len, bool isfl, int haveleft, int haveright),
[all …]
Dxfs_filestream.c145 xfs_extlen_t minlen) in xfs_filestream_pick_ag()
150 xfs_extlen_t longest, free = 0, minfree, maxfree = 0; in xfs_filestream_pick_ag()
369 xfs_extlen_t minlen = ap->length; in xfs_filestream_new_ag()
Dxfs_discard.c80 xfs_extlen_t flen; in xfs_trim_extents()
82 xfs_extlen_t dlen; in xfs_trim_extents()
Dxfs_trans.h219 xfs_extlen_t);
225 xfs_extlen_t);
Dxfs_mount.h283 xfs_extlen_t pagf_freeblks; /* total free blocks */
284 xfs_extlen_t pagf_longest; /* longest free space */
Dxfs_iomap.c49 xfs_extlen_t extsize, in xfs_iomap_eof_align_last_fsb()
52 xfs_extlen_t align = 0; in xfs_iomap_eof_align_last_fsb()
125 xfs_extlen_t extsz, temp; in xfs_iomap_write_direct()
580 xfs_extlen_t extsz; in xfs_iomap_write_delay()
Dxfs_fsops.c152 xfs_extlen_t agsize; in xfs_growfs_data_private()
153 xfs_extlen_t tmpsize; in xfs_growfs_data_private()
571 xfs_extlen_t nb; in xfs_growfs_log_private()
Dxfs_bmap_util.c171 xfs_extlen_t prod = 0; /* product factor for allocators */ in xfs_bmap_rtalloc()
172 xfs_extlen_t ralen = 0; /* realtime allocation length */ in xfs_bmap_rtalloc()
173 xfs_extlen_t align; /* minimum allocation alignment */ in xfs_bmap_rtalloc()
962 xfs_extlen_t extsz, temp; in xfs_alloc_file_space()
1218 xfs_extlen_t mod=0; in xfs_free_file_space()

12