/linux/fs/xfs/libxfs/ |
H A D | xfs_rtbitmap.h | 19 xfs_fileoff_t rbmoff; /* bitmap block number */ 20 xfs_fileoff_t sumoff; /* summary block number */ 164 xfs_fileoff_t off) in xfs_fileoff_roundup_rtx() 173 xfs_fileoff_t off) in xfs_fileoff_rounddown_rtx() 179 static inline xfs_fileoff_t 210 xfs_fileoff_t rbmoff) in xfs_rbmblock_to_rtx() 272 xfs_fileoff_t rbmoff) in xfs_rtsumoffs() 281 static inline xfs_fileoff_t 386 int xfs_rtbitmap_read_buf(struct xfs_rtalloc_args *args, xfs_fileoff_t block); 387 int xfs_rtsummary_read_buf(struct xfs_rtalloc_args *args, xfs_fileoff_t block); [all …]
|
H A D | xfs_types.h | 36 typedef uint64_t xfs_fileoff_t; /* block number in a file */ typedef 55 #define NULLFILEOFF ((xfs_fileoff_t)-1) 156 xfs_fileoff_t br_startoff; /* starting file offset */ 252 bool xfs_verify_dablk(struct xfs_mount *mp, xfs_fileoff_t off); 255 bool xfs_verify_fileoff(struct xfs_mount *mp, xfs_fileoff_t off); 256 bool xfs_verify_fileext(struct xfs_mount *mp, xfs_fileoff_t off, 257 xfs_fileoff_t len);
|
H A D | xfs_iext_tree.c | 279 xfs_fileoff_t offset) in xfs_iext_key_cmp() 291 xfs_fileoff_t offset) in xfs_iext_rec_cmp() 306 xfs_fileoff_t offset, in xfs_iext_find_level() 331 xfs_fileoff_t offset) in xfs_iext_node_pos() 346 xfs_fileoff_t offset) in xfs_iext_node_insert_pos() 435 xfs_fileoff_t old_offset, in xfs_iext_update_node() 436 xfs_fileoff_t new_offset, in xfs_iext_update_node() 638 xfs_fileoff_t offset = irec->br_startoff; in xfs_iext_insert_raw() 742 xfs_fileoff_t offset, in xfs_iext_remove_node() 809 xfs_fileoff_t offset, in xfs_iext_rebalance_leaf() [all …]
|
H A D | xfs_rtbitmap.c | 152 xfs_fileoff_t block, /* block number in bitmap or summary */ in xfs_rtbuf_get() 158 xfs_fileoff_t *coffp; /* cached block number */ in xfs_rtbuf_get() 234 xfs_fileoff_t block) in xfs_rtbitmap_read_buf() 249 xfs_fileoff_t block) in xfs_rtsummary_read_buf() 272 xfs_fileoff_t block; /* bitmap block number */ in xfs_rtfind_back() 426 xfs_fileoff_t block; /* bitmap block number */ in xfs_rtfind_forw() 589 xfs_fileoff_t bbno, /* bitmap block number */ in xfs_rtmodify_summary() 625 xfs_fileoff_t bbno, /* bitmap block number */ in xfs_rtget_summary() 667 xfs_fileoff_t block; /* bitmap block number */ in xfs_rtmodify_range() 881 xfs_fileoff_t block; /* bitmap block number */ in xfs_rtcheck_range() [all …]
|
H A D | xfs_bmap.c | 512 xfs_fileoff_t bno, in xfs_bmap_validate_ret() 1249 xfs_fileoff_t *first_unused, /* unused block */ in xfs_bmap_first_unused() 1255 xfs_fileoff_t lastaddr = 0; in xfs_bmap_first_unused() 1256 xfs_fileoff_t lowest, max; in xfs_bmap_first_unused() 1296 xfs_fileoff_t *last_block, /* last block */ in xfs_bmap_last_before() 1397 xfs_fileoff_t *last_block, in xfs_bmap_last_offset() 1458 xfs_fileoff_t new_endoff; /* end offset of new entry */ in xfs_bmap_add_extent_delay_real() 2031 xfs_fileoff_t new_endoff; /* end offset of new entry */ in xfs_bmap_add_extent_unwritten_real() 2976 xfs_fileoff_t *offp, /* in/out: aligned offset */ in xfs_bmap_extsize_align() 2979 xfs_fileoff_t orig_off; /* original offset */ in xfs_bmap_extsize_align() [all …]
|
H A D | xfs_inode_fork.h | 195 struct xfs_ifork *ifp, xfs_fileoff_t bno, 199 struct xfs_ifork *ifp, xfs_fileoff_t *end,
|
/linux/fs/xfs/ |
H A D | xfs_bmap_util.c | 198 xfs_fileoff_t bno, in xfs_getbmap_report_hole() 199 xfs_fileoff_t end) in xfs_getbmap_report_hole() 225 xfs_fileoff_t total_end) in xfs_getbmap_next_rec() 227 xfs_fileoff_t end = rec->br_startoff + rec->br_blockcount; in xfs_getbmap_next_rec() 257 xfs_fileoff_t bno, first_bno; in xfs_getbmap() 403 xfs_fileoff_t end = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); in xfs_getbmap() 443 xfs_fileoff_t start_fsb = XFS_B_TO_FSBT(mp, start_byte); in xfs_bmap_punch_delalloc_range() 444 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, end_byte); in xfs_bmap_punch_delalloc_range() 492 xfs_fileoff_t end_fsb; in xfs_can_free_eofblocks() 493 xfs_fileoff_t last_fsb; in xfs_can_free_eofblocks() [all …]
|
H A D | xfs_reflink.c | 299 xfs_fileoff_t offset_fsb, in xfs_reflink_convert_cow_locked() 342 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_reflink_convert_cow() 343 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_reflink_convert_cow() 368 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_find_trim_cow_extent() 405 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_reflink_convert_unwritten() 624 xfs_fileoff_t offset_fsb, in xfs_reflink_cancel_cow_blocks() 625 xfs_fileoff_t end_fsb, in xfs_reflink_cancel_cow_blocks() 708 xfs_fileoff_t offset_fsb; in xfs_reflink_cancel_cow_range() 709 xfs_fileoff_t end_fsb; in xfs_reflink_cancel_cow_range() 791 xfs_fileoff_t *offset_fsb, in xfs_reflink_end_cow_extent() [all …]
|
H A D | xfs_reflink.h | 40 struct xfs_trans **tpp, xfs_fileoff_t offset_fsb, 41 xfs_fileoff_t end_fsb, bool cancel_real);
|
H A D | xfs_rtalloc.c | 46 xfs_fileoff_t bbno, /* bitmap block number */ in xfs_rtany_summary() 102 xfs_fileoff_t bbno; /* bitmap block number */ in xfs_rtcopy_summary() 241 xfs_fileoff_t bbno, /* bitmap block number */ in xfs_rtallocate_extent_block() 412 xfs_fileoff_t bbno; /* bitmap block number */ in xfs_rtallocate_extent_near() 557 xfs_fileoff_t i; /* bitmap block number */ in xfs_rtalloc_sumlevel() 802 xfs_fileoff_t bmbno) in xfs_growfs_rt_nrblocks() 866 xfs_fileoff_t bmbno) in xfs_growfs_rt_bmblock() 1025 static xfs_fileoff_t 1031 xfs_fileoff_t bmbno = 0; in xfs_last_rt_bmblock() 1115 xfs_fileoff_t bmbno; in xfs_growfs_rtg() [all …]
|
H A D | xfs_fsmap.h | 18 xfs_fileoff_t fmr_offset; /* file offset of segment */
|
H A D | xfs_aops.c | 247 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_map_blocks() 248 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_map_blocks() 249 xfs_fileoff_t cow_fsb; in xfs_map_blocks()
|
H A D | xfs_bmap_util.h | 49 xfs_fileoff_t *offp, xfs_extlen_t *lenp);
|
/linux/fs/xfs/scrub/ |
H A D | common.h | 18 xfs_fileoff_t offset, int *error); 23 int whichfork, xfs_fileoff_t offset, int *error); 34 xfs_fileoff_t offset); 45 int whichfork, xfs_fileoff_t offset); 49 xfs_fileoff_t offset);
|
H A D | quota.c | 85 xfs_fileoff_t offset) in xchk_quota_item_bmap() 125 xfs_fileoff_t offset, in xchk_quota_item_timer() 147 xfs_fileoff_t offset; in xchk_quota_item() 269 xfs_fileoff_t max_dqid_off; in xchk_quota_data_fork()
|
H A D | tempfile.c | 415 xfs_fileoff_t off, in xrep_tempfile_prealloc() 419 xfs_fileoff_t end = off + len; in xrep_tempfile_prealloc() 482 xfs_fileoff_t off, in xrep_tempfile_copyin() 490 xfs_fileoff_t flush_mask; in xrep_tempfile_copyin() 491 xfs_fileoff_t end = off + len; in xrep_tempfile_copyin() 609 xfs_fileoff_t off, in xrep_tempexch_prep_request() 802 xfs_fileoff_t off, in xrep_tempexch_trans_reserve()
|
H A D | rtsummary.c | 175 xfs_fileoff_t rbmoff; in xchk_rtsum_record_free() 239 xfs_fileoff_t off = 0; in xchk_rtsum_compare() 240 xfs_fileoff_t endoff; in xchk_rtsum_compare()
|
H A D | cow_repair.c | 99 xfs_fileoff_t startoff; in xrep_cow_mark_file_range() 479 xfs_fileoff_t startoff, in xrep_cow_find_mapping() 559 xfs_fileoff_t startoff, in xrep_cow_replace_range() 566 xfs_fileoff_t nextoff; in xrep_cow_replace_range() 584 alloc_len = min_t(xfs_fileoff_t, XFS_MAX_BMBT_EXTLEN, in xrep_cow_replace_range()
|
H A D | dqiterate.c | 49 xfs_fileoff_t fileoff; in xchk_dquot_iter_revalidate_bmap() 93 xfs_fileoff_t fileoff; in xchk_dquot_iter_advance_bmap()
|
H A D | tempexch.h | 15 xfs_fileoff_t off, xfs_filblks_t len, struct xrep_tempexch *ti);
|
H A D | off_bitmap.h | 26 xfs_fileoff_t off, xfs_filblks_t len) in xoff_bitmap_set()
|
H A D | common.c | 155 xfs_fileoff_t offset, in __xchk_fblock_process_error() 196 xfs_fileoff_t offset, in xchk_fblock_process_error() 207 xfs_fileoff_t offset, in xchk_fblock_xref_process_error() 321 xfs_fileoff_t offset) in xchk_fblock_set_corrupt() 332 xfs_fileoff_t offset) in xchk_fblock_xref_set_corrupt() 356 xfs_fileoff_t offset) in xchk_fblock_set_warning()
|
H A D | rtbitmap.c | 153 xfs_fileoff_t off = 0; in xchk_rtbitmap_check_extents() 154 xfs_fileoff_t endoff; in xchk_rtbitmap_check_extents()
|
H A D | bmap_repair.c | 132 xfs_fileoff_t startoff, in xrep_bmap_from_rmap() 304 xfs_fileoff_t ao = xfs_bmbt_disk_get_startoff(ba); in xrep_bmap_extent_cmp() 305 xfs_fileoff_t bo = xfs_bmbt_disk_get_startoff(bb); in xrep_bmap_extent_cmp() 323 xfs_fileoff_t next_off = 0; in xrep_bmap_sort_records()
|
H A D | quota_repair.c | 114 xfs_fileoff_t offset = dq->q_id / qi->qi_dqperchunk; in xrep_quota_item_bmap() 403 xfs_fileoff_t max_dqid_off; in xrep_quota_data_fork() 404 xfs_fileoff_t off; in xrep_quota_data_fork()
|