| /linux-6.15/fs/xfs/ |
| H A D | xfs_pnfs.c | 174 offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_fs_map_blocks() 234 error = xfs_bmapi_read(ip, XFS_B_TO_FSBT(ip->i_mount, isize - 1), 1, in xfs_pnfs_validate_isize()
|
| H A D | xfs_iomap.c | 476 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_iomap_prealloc_size() 619 offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_iomap_write_unwritten() 813 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_direct_write_iomap_begin() 1343 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_zoned_buffered_write_iomap_begin() 1510 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_buffered_write_iomap_begin() 1680 p_end_fsb = XFS_B_TO_FSBT(mp, end_offset) + in xfs_buffered_write_iomap_begin() 1831 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_read_iomap_begin() 1875 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_seek_iomap_begin() 1963 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_xattr_iomap_begin()
|
| H A D | xfs_reflink.c | 342 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_reflink_convert_cow() 715 offset_fsb = XFS_B_TO_FSBT(ip->i_mount, offset); in xfs_reflink_cancel_cow_range() 932 offset_fsb = XFS_B_TO_FSBT(ip->i_mount, offset); in xfs_reflink_end_cow() 1453 xfs_fileoff_t srcoff = XFS_B_TO_FSBT(mp, pos_in); in xfs_reflink_remap_blocks() 1454 xfs_fileoff_t destoff = XFS_B_TO_FSBT(mp, pos_out); in xfs_reflink_remap_blocks()
|
| H A D | xfs_aops.c | 288 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_map_blocks() 536 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_zoned_map_blocks()
|
| H A D | xfs_exchrange.c | 201 .startoff1 = XFS_B_TO_FSBT(mp, fxr->file1_offset), in xfs_exchrange_mappings() 202 .startoff2 = XFS_B_TO_FSBT(mp, fxr->file2_offset), in xfs_exchrange_mappings()
|
| H A D | xfs_bmap_util.c | 445 xfs_fileoff_t start_fsb = XFS_B_TO_FSBT(mp, start_byte); in xfs_bmap_punch_delalloc_range() 682 startoffset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_alloc_file_space() 870 endoffset_fsb = XFS_B_TO_FSBT(mp, offset + len); in xfs_free_file_space()
|
| H A D | xfs_mount.c | 800 XFS_B_TO_FSBT(mp, igeo->inode_cluster_size_raw)) { in xfs_mountfs() 804 XFS_B_TO_FSBT(mp, igeo->inode_cluster_size_raw)); in xfs_mountfs()
|
| H A D | xfs_super.c | 1810 if (!xfs_verify_fileoff(mp, XFS_B_TO_FSBT(mp, MAX_LFS_FILESIZE))) { in xfs_fs_fill_super() 1813 XFS_B_TO_FSBT(mp, MAX_LFS_FILESIZE), in xfs_fs_fill_super()
|
| H A D | xfs_zone_alloc.c | 278 .br_startoff = XFS_B_TO_FSBT(mp, offset), in xfs_zoned_end_io()
|
| /linux-6.15/fs/xfs/libxfs/ |
| H A D | xfs_rtbitmap.h | 289 return XFS_B_TO_FSBT(mp, rsumoff * sizeof(xfs_suminfo_t)); in xfs_rtsumoffs_to_block()
|
| H A D | xfs_dir2.c | 625 bno = XFS_B_TO_FSBT(mp, space * XFS_DIR2_SPACE_SIZE); in xfs_dir2_grow_inode()
|
| H A D | xfs_format.h | 494 #define XFS_B_TO_FSBT(mp,b) (((uint64_t)(b)) >> (mp)->m_sb.sb_blocklog) macro
|
| H A D | xfs_ialloc.c | 3025 if (mp->m_sb.sb_inoalignmt >= XFS_B_TO_FSBT(mp, new_size)) in xfs_ialloc_setup_geometry() 3031 igeo->blocks_per_cluster = XFS_B_TO_FSBT(mp, in xfs_ialloc_setup_geometry()
|
| H A D | xfs_bmap.c | 4368 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_bmapi_convert_one_delalloc()
|
| /linux-6.15/fs/xfs/scrub/ |
| H A D | newbt.c | 99 xnr->bload.max_dirty = XFS_B_TO_FSBT(sc->mp, 256U << 10); /* 256K */ in xrep_newbt_init_ag()
|
| H A D | tempfile.c | 498 flush_mask = XFS_B_TO_FSBT(mp, (1U << 19)) - 1; in xrep_tempfile_copyin()
|
| H A D | dir.c | 483 if (lblk != XFS_B_TO_FSBT(mp, XFS_DIR2_DATA_OFFSET)) in xchk_directory_data_bestfree()
|