/linux-6.12.1/fs/xfs/ |
D | xfs_bmap_util.c | 358 max_len = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, max_len)); in xfs_getbmap() 378 XFS_B_TO_FSB(mp, XFS_ISIZE(ip))); in xfs_getbmap() 411 xfs_fileoff_t end = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); in xfs_getbmap() 452 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, end_byte); in xfs_bmap_punch_delalloc_range() 541 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_ISIZE(ip)); in xfs_can_free_eofblocks() 544 last_fsb = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_can_free_eofblocks() 671 endoffset_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_alloc_file_space() 856 startoffset_fsb = XFS_B_TO_FSB(mp, offset); in xfs_free_file_space() 980 xfs_fileoff_t next_fsb = XFS_B_TO_FSB(mp, offset + len); in xfs_collapse_file_space() 981 xfs_fileoff_t shift_fsb = XFS_B_TO_FSB(mp, len); in xfs_collapse_file_space() [all …]
|
D | xfs_qm_syscalls.c | 334 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_spc_hardlimit) : in xfs_qm_scall_setqlim() 337 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_spc_softlimit) : in xfs_qm_scall_setqlim() 349 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_rt_spc_hardlimit) : in xfs_qm_scall_setqlim() 352 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_rt_spc_softlimit) : in xfs_qm_scall_setqlim()
|
D | xfs_iomap.c | 169 return min(XFS_B_TO_FSB(mp, offset + count), in xfs_iomap_end_fsb() 170 XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes)); in xfs_iomap_end_fsb() 490 alloc_blocks = XFS_B_TO_FSB(mp, offset); in xfs_iomap_prealloc_size() 583 count_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + count); in xfs_iomap_write_unwritten() 1034 xfs_fileoff_t eof_fsb = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); in xfs_buffered_write_iomap_begin() 1143 XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes)); in xfs_buffered_write_iomap_begin() 1329 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + length); in xfs_seek_iomap_begin() 1417 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + length); in xfs_xattr_iomap_begin()
|
D | xfs_ioctl.c | 630 XFS_B_TO_FSB(mp, fa->fsx_extsize), in xfs_ioctl_setattr_check_extsize() 655 XFS_B_TO_FSB(mp, fa->fsx_cowextsize), in xfs_ioctl_setattr_check_cowextsize() 769 ip->i_extsize = XFS_B_TO_FSB(mp, fa->fsx_extsize); in xfs_fileattr_set() 775 ip->i_cowextsize = XFS_B_TO_FSB(mp, fa->fsx_cowextsize); in xfs_fileattr_set()
|
D | xfs_reflink.c | 292 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_reflink_convert_cow() 660 end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count); in xfs_reflink_cancel_cow_range() 845 end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count); in xfs_reflink_end_cow() 1342 len = min_t(xfs_filblks_t, XFS_B_TO_FSB(mp, remap_len), in xfs_reflink_remap_blocks()
|
D | xfs_pnfs.c | 174 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + length); in xfs_fs_map_blocks()
|
D | xfs_fsops.c | 244 if (nb < XFS_MIN_LOG_BLOCKS || nb < XFS_B_TO_FSB(mp, XFS_MIN_LOG_BYTES)) in xfs_growfs_log_private()
|
D | xfs_aops.c | 247 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_map_blocks()
|
D | xfs_rtalloc.c | 956 rbmblocks = XFS_B_TO_FSB(mp, mp->m_rbmip->i_disk_size); in xfs_growfs_rt() 957 rsumblocks = XFS_B_TO_FSB(mp, mp->m_rsumip->i_disk_size); in xfs_growfs_rt()
|
D | xfs_discard.c | 676 minlen = XFS_B_TO_FSB(mp, range.minlen); in xfs_ioc_trim()
|
D | xfs_exchrange.c | 200 .blockcount = XFS_B_TO_FSB(mp, fxr->length), in xfs_exchrange_mappings()
|
D | xfs_qm.c | 1017 maxlblkcnt = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_qm_reset_dqcounts_buf()
|
D | xfs_inode.c | 1048 first_unmap_block = XFS_B_TO_FSB(mp, (xfs_ufsize_t)new_size); in xfs_itruncate_extents_flags()
|
/linux-6.12.1/fs/xfs/libxfs/ |
D | xfs_log_rlimit.c | 61 nblks += XFS_B_TO_FSB(mp, size); in xfs_log_calc_max_attrsetm_res() 69 size = XFS_B_TO_FSB(mp, size); in xfs_log_calc_max_attrsetm_res()
|
D | xfs_trans_space.h | 82 (XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK) + XFS_B_TO_FSB(mp, v))
|
D | xfs_exchmaps.c | 964 if (req->blockcount != XFS_B_TO_FSB(mp, req->ip1->i_disk_size)) in xmi_can_exchange_reflink_flags() 966 if (req->blockcount != XFS_B_TO_FSB(mp, req->ip2->i_disk_size)) in xmi_can_exchange_reflink_flags()
|
D | xfs_attr_remote.c | 72 return XFS_B_TO_FSB(mp, attrlen); in xfs_attr3_rmt_blocks()
|
D | xfs_rtbitmap.c | 1161 return XFS_B_TO_FSB(mp, rsumwords << XFS_WORDLOG); in xfs_rtsummary_blockcount()
|
D | xfs_format.h | 463 #define XFS_B_TO_FSB(mp,b) \ macro
|
D | xfs_dir2.c | 284 if (eof == XFS_B_TO_FSB(mp, geo->blksize)) { in xfs_dir2_format()
|
/linux-6.12.1/fs/xfs/scrub/ |
D | rtbitmap.c | 107 endoff = XFS_B_TO_FSB(mp, ip->i_disk_size); in xchk_rtbitmap_check_extents()
|
D | ialloc.c | 266 len = XFS_B_TO_FSB(mp, nr_inodes * mp->m_sb.sb_inodesize); in xchk_iallocbt_chunk() 704 inode_blocks = XFS_B_TO_FSB(sc->mp, inodes * sc->mp->m_sb.sb_inodesize); in xchk_iallocbt_xref_rmap_inodes()
|
D | dir.c | 806 lblk = XFS_B_TO_FSB(mp, XFS_DIR2_DATA_OFFSET); in xchk_directory_blocks() 807 leaf_lblk = XFS_B_TO_FSB(mp, XFS_DIR2_LEAF_OFFSET); in xchk_directory_blocks() 808 free_lblk = XFS_B_TO_FSB(mp, XFS_DIR2_FREE_OFFSET); in xchk_directory_blocks()
|
D | rtsummary.c | 238 endoff = XFS_B_TO_FSB(mp, ip->i_disk_size); in xchk_rtsum_compare()
|
D | inode_repair.c | 1680 off = XFS_B_TO_FSB(sc->mp, XFS_DIR2_SPACE_SIZE); in xrep_inode_blockdir_size()
|