Home
last modified time | relevance | path

Searched refs:xfs_filblks_t (Results 1 – 25 of 58) sorted by relevance

123

/linux/fs/xfs/libxfs/
H A Dxfs_rtbitmap.h108 xfs_filblks_t blen) in xfs_blen_to_rtxoff()
117 static inline xfs_filblks_t
120 xfs_filblks_t blen) in xfs_blen_roundup_rtx()
413 xfs_fsblock_t rtbno, xfs_filblks_t rtlen);
416 xfs_filblks_t xfs_rtbitmap_blockcount(struct xfs_mount *mp);
417 xfs_filblks_t xfs_rtbitmap_blockcount_len(struct xfs_mount *mp,
419 xfs_filblks_t xfs_rtsummary_blockcount(struct xfs_mount *mp,
435 xfs_filblks_t rtlen) in xfs_rtfree_blocks()
445 static inline xfs_filblks_t
H A Dxfs_metafile.c187 xfs_filblks_t len) in xfs_metafile_resv_free_space()
242 xfs_filblks_t ask) in xfs_metafile_resv_init()
244 xfs_filblks_t hidden_space; in xfs_metafile_resv_init()
245 xfs_filblks_t used; in xfs_metafile_resv_init()
H A Dxfs_metafile.h33 xfs_filblks_t len);
35 int xfs_metafile_resv_init(struct xfs_inode *ip, xfs_filblks_t ask);
H A Dxfs_types.h37 typedef uint64_t xfs_filblks_t; /* number of blocks in a file */ typedef
158 xfs_filblks_t br_blockcount; /* number of blocks */
250 xfs_filblks_t len);
H A Dxfs_bmap.c174 STATIC xfs_filblks_t
177 xfs_filblks_t len) /* delayed extent length */ in xfs_bmap_worst_indlen()
182 xfs_filblks_t rval; /* return value */ in xfs_bmap_worst_indlen()
513 xfs_filblks_t len, in xfs_bmap_validate_ret()
1463 xfs_filblks_t da_new; /* new count del alloc blocks used */ in xfs_bmap_add_extent_delay_real()
1464 xfs_filblks_t da_old; /* old count del alloc blocks used */ in xfs_bmap_add_extent_delay_real()
1465 xfs_filblks_t temp=0; /* value for da_new calculations */ in xfs_bmap_add_extent_delay_real()
2586 xfs_filblks_t newlen=0; /* new indirect size */ in xfs_bmap_add_extent_hole_delay()
2587 xfs_filblks_t oldlen=0; /* old indirect size */ in xfs_bmap_add_extent_hole_delay()
2590 xfs_filblks_t temp; /* temp for indirect calculations */ in xfs_bmap_add_extent_hole_delay()
[all …]
H A Dxfs_exchmaps.c680 xfs_filblks_t bmbt_blocks; in xfs_exchmaps_estimate_overhead()
681 xfs_filblks_t rmapbt_blocks; in xfs_exchmaps_estimate_overhead()
682 xfs_filblks_t resblks = req->resblks; in xfs_exchmaps_estimate_overhead()
756 xfs_filblks_t new_len; in xmi_can_merge_all()
911 xfs_filblks_t blockcount; in xmi_next()
1039 xfs_filblks_t ip1_blocks = 0, ip2_blocks = 0; in xfs_exchmaps_estimate()
H A Dxfs_rtbitmap.c1120 xfs_filblks_t rtlen) in xfs_rtfree_blocks()
1266 xfs_filblks_t
1292 xfs_filblks_t
1303 xfs_filblks_t
1320 xfs_filblks_t count_fsb, in xfs_rtfile_alloc_blocks()
1435 xfs_filblks_t i; in xfs_rtfile_initialize_blocks()
H A Dxfs_btree.h454 #define XFS_FILBLKS_MIN(a,b) min_t(xfs_filblks_t, (a), (b))
455 #define XFS_FILBLKS_MAX(a,b) max_t(xfs_filblks_t, (a), (b))
503 int xfs_btree_count_blocks(struct xfs_btree_cur *cur, xfs_filblks_t *blocks);
H A Dxfs_rtrefcount_btree.h71 xfs_filblks_t xfs_rtrefcountbt_calc_reserves(struct xfs_mount *mp);
H A Dxfs_bmap_btree.h28 extern xfs_filblks_t xfs_bmbt_disk_get_blockcount(const struct xfs_bmbt_rec *r);
/linux/fs/xfs/
H A Dxfs_bmap_util.c75 xfs_filblks_t *count) in xfs_bmap_count_leaves()
101 xfs_filblks_t *count) in xfs_bmap_count_blocks()
106 xfs_filblks_t btblocks = 0; in xfs_bmap_count_blocks()
260 xfs_filblks_t len; in xfs_getbmap()
637 xfs_filblks_t allocatesize_fsb; in xfs_alloc_file_space()
765 xfs_filblks_t len_fsb, in xfs_unmap_extent()
1238 xfs_filblks_t count_fsb; in xfs_swap_extent_rmap()
1240 xfs_filblks_t ilen; in xfs_swap_extent_rmap()
1241 xfs_filblks_t rlen; in xfs_swap_extent_rmap()
1257 count_fsb = (xfs_filblks_t)(end_fsb - offset_fsb); in xfs_swap_extent_rmap()
[all …]
H A Dxfs_bmap_util.h74 xfs_extnum_t xfs_bmap_count_leaves(struct xfs_ifork *ifp, xfs_filblks_t *count);
77 xfs_filblks_t *count);
H A Dxfs_reflink.c300 xfs_filblks_t count_fsb) in xfs_reflink_convert_cow_locked()
344 xfs_filblks_t count_fsb = end_fsb - offset_fsb; in xfs_reflink_convert_cow()
369 xfs_filblks_t count_fsb = imap->br_blockcount; in xfs_find_trim_cow_extent()
406 xfs_filblks_t count_fsb = imap->br_blockcount; in xfs_reflink_convert_unwritten()
442 xfs_filblks_t resaligned; in xfs_reflink_fill_cow_hole()
1461 xfs_filblks_t len; in xfs_reflink_remap_blocks()
1462 xfs_filblks_t remapped_len = 0; in xfs_reflink_remap_blocks()
1467 len = min_t(xfs_filblks_t, XFS_B_TO_FSB(mp, remap_len), in xfs_reflink_remap_blocks()
H A Dxfs_fsmap.h19 xfs_filblks_t fmr_length; /* length of segment, blocks */
H A Dxfs_inode.h671 xfs_filblks_t *dblocks, xfs_filblks_t *rblocks);
/linux/fs/xfs/scrub/
H A Dialloc.c652 xfs_filblks_t blocks; in xchk_iallocbt_xref_rmap_btreeblks()
653 xfs_filblks_t inobt_blocks = 0; in xchk_iallocbt_xref_rmap_btreeblks()
654 xfs_filblks_t finobt_blocks = 0; in xchk_iallocbt_xref_rmap_btreeblks()
690 xfs_filblks_t blocks; in xchk_iallocbt_xref_rmap_inodes()
691 xfs_filblks_t inode_blocks; in xchk_iallocbt_xref_rmap_inodes()
H A Dtempexch.h15 xfs_fileoff_t off, xfs_filblks_t len, struct xrep_tempexch *ti);
H A Drtsummary.h17 xfs_filblks_t rsumblocks;
H A Doff_bitmap.h26 xfs_fileoff_t off, xfs_filblks_t len) in xoff_bitmap_set()
H A Dfsb_bitmap.h26 xfs_fsblock_t start, xfs_filblks_t len) in xfsb_bitmap_set()
H A Drtb_bitmap.h26 xfs_rtblock_t start, xfs_filblks_t len) in xrtb_bitmap_set()
H A Dtempfile.c416 xfs_filblks_t len) in xrep_tempfile_prealloc()
483 xfs_filblks_t len, in xrep_tempfile_copyin()
610 xfs_filblks_t len, in xrep_tempexch_prep_request()
803 xfs_filblks_t len, in xrep_tempexch_trans_reserve()
H A Drefcount.c492 xfs_filblks_t cow_blocks) in xchk_refcount_xref_rmap()
494 xfs_filblks_t refcbt_blocks = 0; in xchk_refcount_xref_rmap()
495 xfs_filblks_t blocks; in xchk_refcount_xref_rmap()
H A Dcommon.h170 const struct xfs_owner_info *oinfo, xfs_filblks_t *blocks);
291 xfs_extnum_t *nextents, xfs_filblks_t *count);
H A Dbmap_repair.c101 xfs_filblks_t blockcount) in xrep_bmap_discover_shared()
134 xfs_filblks_t blockcount, in xrep_bmap_from_rmap()
160 irec.br_blockcount = min_t(xfs_filblks_t, blockcount, in xrep_bmap_from_rmap()

123