/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_bmap_util.c | 282 if (got->br_startoff < XFS_B_TO_FSB(ip->i_mount, XFS_ISIZE(ip))) in xfs_getbmap_report_one() 465 max_len = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, max_len)); in xfs_getbmap() 487 XFS_B_TO_FSB(mp, XFS_ISIZE(ip))); in xfs_getbmap() 520 xfs_fileoff_t end = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); in xfs_getbmap() 652 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_ISIZE(ip)); in xfs_free_eofblocks() 653 last_fsb = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_free_eofblocks() 756 endoffset_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_alloc_file_space() 943 startoffset_fsb = XFS_B_TO_FSB(mp, offset); in xfs_free_file_space() 1068 xfs_fileoff_t next_fsb = XFS_B_TO_FSB(mp, offset + len); in xfs_collapse_file_space() 1069 xfs_fileoff_t shift_fsb = XFS_B_TO_FSB(m in xfs_collapse_file_space() [all...] |
H A D | xfs_iomap.c | 115 return min(XFS_B_TO_FSB(mp, offset + count), in xfs_iomap_end_fsb() 116 XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes)); in xfs_iomap_end_fsb() 423 alloc_blocks = XFS_B_TO_FSB(mp, offset); in xfs_iomap_prealloc_size() 521 count_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + count); in xfs_iomap_write_unwritten() 1014 XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes)); in xfs_buffered_write_iomap_begin() 1111 start_fsb = XFS_B_TO_FSB(mp, offset + written); in xfs_buffered_write_iomap_end() 1112 end_fsb = XFS_B_TO_FSB(mp, offset + length); in xfs_buffered_write_iomap_end() 1197 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + length); in xfs_seek_iomap_begin() 1283 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + length); in xfs_xattr_iomap_begin()
|
H A D | xfs_qm_syscalls.c | 570 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_spc_hardlimit) : in xfs_qm_scall_setqlim() 573 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_spc_softlimit) : in xfs_qm_scall_setqlim() 587 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_rt_spc_hardlimit) : in xfs_qm_scall_setqlim() 590 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_rt_spc_softlimit) : in xfs_qm_scall_setqlim()
|
H A D | xfs_reflink.c | 288 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_reflink_convert_cow() 556 end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count); in xfs_reflink_cancel_cow_range() 717 end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count); in xfs_reflink_end_cow() 1176 len = min_t(xfs_filblks_t, XFS_B_TO_FSB(mp, remap_len), in xfs_reflink_remap_blocks()
|
H A D | xfs_rtalloc.c | 951 nrsumblocks = XFS_B_TO_FSB(mp, nrsumsize); in xfs_growfs_rt() 964 rbmblocks = XFS_B_TO_FSB(mp, mp->m_rbmip->i_d.di_size); in xfs_growfs_rt() 965 rsumblocks = XFS_B_TO_FSB(mp, mp->m_rsumip->i_d.di_size); in xfs_growfs_rt() 1015 nrsumblocks = XFS_B_TO_FSB(mp, nrsumsize); in xfs_growfs_rt()
|
H A D | xfs_aops.c | 155 XFS_B_TO_FSB(mp, size)); in xfs_end_ioend() 326 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_map_blocks()
|
H A D | xfs_pnfs.c | 139 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + length); in xfs_fs_map_blocks()
|
H A D | xfs_fsops.c | 179 if (nb < XFS_MIN_LOG_BLOCKS || nb < XFS_B_TO_FSB(mp, XFS_MIN_LOG_BYTES)) in xfs_growfs_log_private()
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_bmap_util.c | 506 max_len = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, max_len)); in xfs_getbmap() 526 XFS_B_TO_FSB(mp, XFS_ISIZE(ip))); in xfs_getbmap() 559 xfs_fileoff_t end = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); in xfs_getbmap() 599 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, end_byte); in xfs_bmap_punch_delalloc_range() 691 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_ISIZE(ip)); in xfs_can_free_eofblocks() 694 last_fsb = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_can_free_eofblocks() 810 endoffset_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_alloc_file_space() 989 startoffset_fsb = XFS_B_TO_FSB(mp, offset); in xfs_free_file_space() 1113 xfs_fileoff_t next_fsb = XFS_B_TO_FSB(mp, offset + len); in xfs_collapse_file_space() 1114 xfs_fileoff_t shift_fsb = XFS_B_TO_FSB(m in xfs_collapse_file_space() [all...] |
H A D | xfs_qm_syscalls.c | 335 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_spc_hardlimit) : in xfs_qm_scall_setqlim() 338 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_spc_softlimit) : in xfs_qm_scall_setqlim() 350 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_rt_spc_hardlimit) : in xfs_qm_scall_setqlim() 353 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_rt_spc_softlimit) : in xfs_qm_scall_setqlim()
|
H A D | xfs_iomap.c | 164 return min(XFS_B_TO_FSB(mp, offset + count), in xfs_iomap_end_fsb() 165 XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes)); in xfs_iomap_end_fsb() 470 alloc_blocks = XFS_B_TO_FSB(mp, offset); in xfs_iomap_prealloc_size() 568 count_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + count); in xfs_iomap_write_unwritten() 1114 XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes)); in xfs_buffered_write_iomap_begin() 1286 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + length); in xfs_seek_iomap_begin() 1374 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + length); in xfs_xattr_iomap_begin()
|
H A D | xfs_rtalloc.c | 1004 nrsumblocks = XFS_B_TO_FSB(mp, nrsumsize); in xfs_growfs_rt() 1017 rbmblocks = XFS_B_TO_FSB(mp, mp->m_rbmip->i_disk_size); in xfs_growfs_rt() 1018 rsumblocks = XFS_B_TO_FSB(mp, mp->m_rsumip->i_disk_size); in xfs_growfs_rt() 1068 nrsumblocks = XFS_B_TO_FSB(mp, nrsumsize); in xfs_growfs_rt()
|
H A D | xfs_reflink.c | 291 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_reflink_convert_cow() 678 end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count); in xfs_reflink_cancel_cow_range() 872 end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count); in xfs_reflink_end_cow() 1369 len = min_t(xfs_filblks_t, XFS_B_TO_FSB(mp, remap_len), in xfs_reflink_remap_blocks()
|
H A D | xfs_pnfs.c | 174 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + length); in xfs_fs_map_blocks()
|
H A D | xfs_ioctl.c | 1263 XFS_B_TO_FSB(mp, fa->fsx_extsize), in xfs_ioctl_setattr_check_extsize() 1288 XFS_B_TO_FSB(mp, fa->fsx_cowextsize), in xfs_ioctl_setattr_check_cowextsize() 1402 ip->i_extsize = XFS_B_TO_FSB(mp, fa->fsx_extsize); in xfs_fileattr_set() 1408 ip->i_cowextsize = XFS_B_TO_FSB(mp, fa->fsx_cowextsize); in xfs_fileattr_set()
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_log_rlimit.c | 32 nblks += XFS_B_TO_FSB(mp, size); in xfs_log_calc_max_attrsetm_res()
|
H A D | xfs_trans_space.h | 72 (XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK) + XFS_B_TO_FSB(mp, v))
|
H A D | xfs_attr_remote.c | 58 return XFS_B_TO_FSB(mp, attrlen); in xfs_attr3_rmt_blocks()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | ialloc.c | 464 len = XFS_B_TO_FSB(mp, in xchk_iallocbt_rec() 477 len = XFS_B_TO_FSB(mp, in xchk_iallocbt_rec() 566 inode_blocks = XFS_B_TO_FSB(sc->mp, inodes * sc->mp->m_sb.sb_inodesize); in xchk_iallocbt_xref_rmap_inodes()
|
H A D | dir.c | 667 lblk = XFS_B_TO_FSB(mp, XFS_DIR2_DATA_OFFSET); in xchk_directory_blocks() 668 leaf_lblk = XFS_B_TO_FSB(mp, XFS_DIR2_LEAF_OFFSET); in xchk_directory_blocks() 669 free_lblk = XFS_B_TO_FSB(mp, XFS_DIR2_FREE_OFFSET); in xchk_directory_blocks()
|
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_trans_space.h | 78 (XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK) + XFS_B_TO_FSB(mp, v))
|
H A D | xfs_log_rlimit.c | 33 nblks += XFS_B_TO_FSB(mp, size); in xfs_log_calc_max_attrsetm_res()
|
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | dir.c | 644 lblk = XFS_B_TO_FSB(mp, XFS_DIR2_DATA_OFFSET); in xchk_directory_blocks() 645 leaf_lblk = XFS_B_TO_FSB(mp, XFS_DIR2_LEAF_OFFSET); in xchk_directory_blocks() 646 free_lblk = XFS_B_TO_FSB(mp, XFS_DIR2_FREE_OFFSET); in xchk_directory_blocks()
|
H A D | rtsummary.c | 187 for (off = 0; off < XFS_B_TO_FSB(mp, mp->m_rsumsize); off++) { in xchk_rtsum_compare()
|
H A D | ialloc.c | 266 len = XFS_B_TO_FSB(mp, nr_inodes * mp->m_sb.sb_inodesize); in xchk_iallocbt_chunk() 706 inode_blocks = XFS_B_TO_FSB(sc->mp, inodes * sc->mp->m_sb.sb_inodesize); in xchk_iallocbt_xref_rmap_inodes()
|