/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_alloc.h | 42 xfs_extlen_t minlen; /* minimum size of extent */ 43 xfs_extlen_t maxlen; /* maximum size of extent */ 44 xfs_extlen_t mod; /* mod value for extent size */ 45 xfs_extlen_t prod; /* prod value for extent size */ 46 xfs_extlen_t minleft; /* min blocks must be left after us */ 47 xfs_extlen_t total; /* total blocks needed in xaction */ 48 xfs_extlen_t alignment; /* align answer to multiple of this */ 49 xfs_extlen_t minalignslop; /* slop for minlen+alignment calcs */ 52 xfs_extlen_t len; /* output: actual size of extent */ 72 xfs_extlen_t xfs_alloc_longest_free_extent(struct xfs_perag *pag, [all …]
|
H A D | xfs_ag_resv.c | 73 xfs_extlen_t avail; in xfs_ag_resv_critical() 74 xfs_extlen_t orig; in xfs_ag_resv_critical() 103 xfs_extlen_t 108 xfs_extlen_t len; in xfs_ag_resv_needed() 135 xfs_extlen_t oldresv; in __xfs_ag_resv_free() 182 xfs_extlen_t ask, in __xfs_ag_resv_init() 183 xfs_extlen_t used) in __xfs_ag_resv_init() 188 xfs_extlen_t hidden_space; in __xfs_ag_resv_init() 254 xfs_extlen_t ask; in xfs_ag_resv_init() 255 xfs_extlen_t used; in xfs_ag_resv_init() [all …]
|
H A D | xfs_refcount.h | 55 xfs_extlen_t ri_blockcount; 85 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno, 86 xfs_extlen_t *flen, bool find_end_of_shared); 89 xfs_extlen_t len); 91 xfs_extlen_t len); 116 xfs_extlen_t len, enum xbtree_recpacking *outcome);
|
H A D | xfs_rmap.h | 119 struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len, 122 struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len, 129 xfs_extlen_t len, uint64_t owner, uint64_t offset, 132 xfs_extlen_t len, uint64_t owner, uint64_t offset, 181 xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner); 183 xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner); 202 xfs_extlen_t len, enum xbtree_recpacking *outcome); 216 xfs_extlen_t len, const struct xfs_owner_info *oinfo, 219 xfs_extlen_t len, const struct xfs_owner_info *oinfo,
|
H A D | xfs_bmap.h | 27 xfs_extlen_t length; /* i/o length asked/allocated */ 35 xfs_extlen_t total; /* total blocks needed for xaction */ 36 xfs_extlen_t minlen; /* minimum allocation size (blocks) */ 37 xfs_extlen_t minleft; /* amount must be left after alloc */ 173 struct xfs_trans *tp, xfs_extlen_t *blen); 182 xfs_extlen_t len, xfs_fileoff_t *unused, int whichfork); 192 xfs_extlen_t total, struct xfs_bmbt_irec *mval, int *nmap); 226 xfs_extlen_t xfs_bmapi_minleft(struct xfs_trans *tp, struct xfs_inode *ip,
|
H A D | xfs_refcount_btree.h | 56 extern xfs_extlen_t xfs_refcountbt_calc_size(struct xfs_mount *mp, 58 extern xfs_extlen_t xfs_refcountbt_max_size(struct xfs_mount *mp, 62 struct xfs_trans *tp, struct xfs_perag *pag, xfs_extlen_t *ask, 63 xfs_extlen_t *used);
|
H A D | xfs_rmap_btree.h | 54 extern xfs_extlen_t xfs_rmapbt_calc_size(struct xfs_mount *mp, 56 extern xfs_extlen_t xfs_rmapbt_max_size(struct xfs_mount *mp, 60 struct xfs_perag *pag, xfs_extlen_t *ask, xfs_extlen_t *used);
|
H A D | xfs_rtbitmap.h | 29 xfs_rtblock_t start, xfs_extlen_t len, int val, 38 xfs_rtblock_t start, xfs_extlen_t len, int val); 47 xfs_rtblock_t start, xfs_extlen_t len, 58 xfs_rtblock_t start, xfs_extlen_t len, 68 xfs_extlen_t len); /* length of extent freed */
|
H A D | xfs_ag.h | 21 xfs_extlen_t ar_orig_reserved; 23 xfs_extlen_t ar_reserved; 25 xfs_extlen_t ar_asked; 42 xfs_extlen_t pagf_freeblks; /* total free blocks */ 43 xfs_extlen_t pagf_longest; /* longest free space */ 319 xfs_extlen_t agsize; /* new AG size */ 331 xfs_extlen_t delta); 333 xfs_extlen_t len);
|
H A D | xfs_alloc.c | 67 xfs_extlen_t 160 xfs_extlen_t len, /* length of extent */ in xfs_alloc_lookup_eq() 180 xfs_extlen_t len, /* length of extent */ in xfs_alloc_lookup_ge() 200 xfs_extlen_t len, /* length of extent */ in xfs_alloc_lookup_le() 227 xfs_extlen_t len) /* length of extent */ in xfs_alloc_update() 289 xfs_extlen_t *len, /* output: length of extent */ in xfs_alloc_get_rec() 319 xfs_extlen_t foundlen, /* length in found extent */ in xfs_alloc_compute_aligned() 321 xfs_extlen_t *reslen, /* result length */ in xfs_alloc_compute_aligned() 325 xfs_extlen_t len = foundlen; in xfs_alloc_compute_aligned() 326 xfs_extlen_t diff; in xfs_alloc_compute_aligned() [all …]
|
H A D | xfs_ialloc_btree.h | 66 xfs_extlen_t *ask, xfs_extlen_t *used); 67 extern xfs_extlen_t xfs_iallocbt_calc_size(struct xfs_mount *mp,
|
H A D | xfs_refcount.c | 38 xfs_agblock_t agbno, xfs_extlen_t aglen); 40 xfs_agblock_t agbno, xfs_extlen_t aglen); 451 xfs_extlen_t *aglen) in xfs_refcount_merge_center_extents() 530 xfs_extlen_t *aglen) in xfs_refcount_merge_left_extent() 593 xfs_extlen_t *aglen) in xfs_refcount_merge_right_extent() 662 xfs_extlen_t aglen) in xfs_refcount_find_left_extents() 755 xfs_extlen_t aglen) in xfs_refcount_find_right_extents() 978 xfs_extlen_t *aglen, in xfs_refcount_merge_extents() 1092 xfs_extlen_t *aglen, in xfs_refcount_adjust_extents() 1245 xfs_extlen_t *aglen, in xfs_refcount_adjust() [all …]
|
H A D | xfs_ag_resv.h | 13 xfs_extlen_t xfs_ag_resv_needed(struct xfs_perag *pag, 19 struct xfs_trans *tp, xfs_extlen_t len);
|
H A D | xfs_types.h | 13 typedef uint32_t xfs_extlen_t; /* extent length in blocks */ typedef 181 xfs_extlen_t rc_blockcount; /* count of free blocks */ 194 xfs_extlen_t rm_blockcount; /* extent length */
|
/openbmc/linux/fs/xfs/scrub/ |
H A D | scrub.h | 181 xfs_extlen_t len); 183 xfs_extlen_t len); 185 xfs_extlen_t len); 187 xfs_extlen_t len, const struct xfs_owner_info *oinfo); 189 xfs_extlen_t len, const struct xfs_owner_info *oinfo); 191 xfs_extlen_t len); 193 xfs_extlen_t len); 195 xfs_extlen_t len); 197 xfs_extlen_t len); 200 xfs_extlen_t len);
|
H A D | repair.c | 237 xfs_extlen_t nr_blocks, in xrep_ag_has_space() 250 xfs_extlen_t 259 xfs_extlen_t aglen = NULLAGBLOCK; in xrep_calc_ag_resblks() 260 xfs_extlen_t usedlen; in xrep_calc_ag_resblks() 261 xfs_extlen_t freelen; in xrep_calc_ag_resblks() 262 xfs_extlen_t bnobt_sz; in xrep_calc_ag_resblks() 263 xfs_extlen_t inobt_sz; in xrep_calc_ag_resblks() 264 xfs_extlen_t rmapbt_sz; in xrep_calc_ag_resblks() 265 xfs_extlen_t refcbt_sz; in xrep_calc_ag_resblks()
|
H A D | repair.h | 34 bool xrep_ag_has_space(struct xfs_perag *pag, xfs_extlen_t nr_blocks, 36 xfs_extlen_t xrep_calc_ag_resblks(struct xfs_scrub *sc); 83 static inline xfs_extlen_t
|
H A D | alloc.c | 48 xfs_extlen_t len) in xchk_allocbt_xref_other() 52 xfs_extlen_t flen; in xchk_allocbt_xref_other() 90 xfs_extlen_t len = irec->ar_blockcount; in xchk_allocbt_xref() 173 xfs_extlen_t len) in xchk_xref_is_used_space()
|
H A D | bitmap.h | 52 xfs_agblock_t start, xfs_extlen_t len) in xagb_bitmap_clear() 57 xfs_agblock_t start, xfs_extlen_t len) in xagb_bitmap_set() 66 xfs_extlen_t *len) in xagb_bitmap_test()
|
H A D | reap.c | 215 xfs_extlen_t *aglenp) in xreap_agextent_binval() 296 xfs_extlen_t *aglenp) in xreap_agextent_select() 301 xfs_extlen_t len = 1; in xreap_agextent_select() 354 xfs_extlen_t *aglenp, in xreap_agextent_iter() 442 xfs_extlen_t aglen; in xreap_agmeta_extent()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_extent_busy.h | 25 xfs_extlen_t length; 50 xfs_agblock_t bno, xfs_extlen_t len, unsigned int flags); 54 xfs_extlen_t len, struct list_head *busy_list); 62 xfs_agblock_t bno, xfs_extlen_t len); 66 xfs_agblock_t fbno, xfs_extlen_t flen, bool userdata); 70 xfs_extlen_t *len, unsigned *busy_gen);
|
H A D | xfs_rtalloc.c | 147 xfs_extlen_t len, /* length to allocate */ in xfs_rtallocate_range() 219 static inline xfs_extlen_t 223 xfs_extlen_t rtxlen, in xfs_rtallocate_clamp_len() 224 xfs_extlen_t prod) in xfs_rtallocate_clamp_len() 226 xfs_extlen_t ret; in xfs_rtallocate_clamp_len() 243 xfs_extlen_t minlen, /* minimum length to allocate */ in xfs_rtallocate_extent_block() 244 xfs_extlen_t maxlen, /* maximum length to allocate */ in xfs_rtallocate_extent_block() 245 xfs_extlen_t *len, /* out: actual length allocated */ in xfs_rtallocate_extent_block() 249 xfs_extlen_t prod, /* extent product factor */ in xfs_rtallocate_extent_block() 322 xfs_extlen_t p; /* amount to trim length by */ in xfs_rtallocate_extent_block() [all …]
|
H A D | xfs_rtalloc.h | 28 xfs_extlen_t minlen, /* minimum length to allocate */ 29 xfs_extlen_t maxlen, /* maximum length to allocate */ 30 xfs_extlen_t *len, /* out: actual length allocated */ 32 xfs_extlen_t prod, /* extent product factor */ 65 xfs_extlen_t len, /* allocation length (rtextents) */
|
H A D | xfs_extent_busy.c | 26 xfs_extlen_t len, in xfs_extent_busy_insert_list() 75 xfs_extlen_t len, in xfs_extent_busy_insert() 85 xfs_extlen_t len, in xfs_extent_busy_insert_discard() 106 xfs_extlen_t len) in xfs_extent_busy_search() 154 xfs_extlen_t flen, in xfs_extent_busy_update_extent() 302 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()
|
H A D | xfs_filestream.c | 61 xfs_extlen_t *longest) in xfs_filestream_pick_ag() 66 xfs_extlen_t minlen = *longest; in xfs_filestream_pick_ag() 67 xfs_extlen_t minfree, maxfree = 0; in xfs_filestream_pick_ag() 207 xfs_extlen_t *longest) in xfs_filestream_lookup_association() 263 xfs_extlen_t *longest) in xfs_filestream_create_association() 345 xfs_extlen_t *longest) in xfs_filestream_select_ag()
|