| /Linux-v5.4/fs/xfs/ |
| D | xfs_iomap.c | 197 last_fsb = XFS_B_TO_FSB(mp, ((xfs_ufsize_t)(offset + count))); in xfs_iomap_write_direct() 446 alloc_blocks = XFS_B_TO_FSB(mp, offset); in xfs_iomap_prealloc_size() 537 XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_file_iomap_begin_delay() 568 end_fsb = min(XFS_B_TO_FSB(mp, offset + count), maxbytes_fsb); in xfs_file_iomap_begin_delay() 652 end_fsb = min(XFS_B_TO_FSB(mp, offset + count), maxbytes_fsb); in xfs_file_iomap_begin_delay() 753 count_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + count); in xfs_iomap_write_unwritten() 959 end_fsb = XFS_B_TO_FSB(mp, offset + length); in xfs_file_iomap_begin() 1095 start_fsb = XFS_B_TO_FSB(mp, offset + written); in xfs_file_iomap_end_delalloc() 1096 end_fsb = XFS_B_TO_FSB(mp, offset + length); in xfs_file_iomap_end_delalloc() 1153 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + length); in xfs_seek_iomap_begin() [all …]
|
| D | xfs_bmap_util.c | 421 if (got->br_startoff < XFS_B_TO_FSB(ip->i_mount, XFS_ISIZE(ip))) in xfs_getbmap_report_one() 604 max_len = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, max_len)); in xfs_getbmap() 626 XFS_B_TO_FSB(mp, XFS_ISIZE(ip))); in xfs_getbmap() 659 xfs_fileoff_t end = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); in xfs_getbmap() 791 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_ISIZE(ip)); in xfs_free_eofblocks() 792 last_fsb = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_free_eofblocks() 895 endoffset_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_alloc_file_space() 1091 startoffset_fsb = XFS_B_TO_FSB(mp, offset); in xfs_free_file_space() 1232 xfs_fileoff_t next_fsb = XFS_B_TO_FSB(mp, offset + len); in xfs_collapse_file_space() 1233 xfs_fileoff_t shift_fsb = XFS_B_TO_FSB(mp, len); in xfs_collapse_file_space() [all …]
|
| D | xfs_qm_syscalls.c | 433 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_spc_hardlimit) : in xfs_qm_scall_setqlim() 436 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_spc_softlimit) : in xfs_qm_scall_setqlim() 450 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_rt_spc_hardlimit) : in xfs_qm_scall_setqlim() 453 (xfs_qcnt_t) XFS_B_TO_FSB(mp, newlim->d_rt_spc_softlimit) : in xfs_qm_scall_setqlim()
|
| D | xfs_reflink.c | 290 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_reflink_convert_cow() 558 end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count); in xfs_reflink_cancel_cow_range() 719 end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count); in xfs_reflink_end_cow() 1131 len = XFS_B_TO_FSB(src->i_mount, remap_len); in xfs_reflink_remap_blocks() 1616 end = XFS_B_TO_FSB(mp, offset + len); in xfs_reflink_unshare()
|
| D | xfs_rtalloc.c | 934 nrsumblocks = XFS_B_TO_FSB(mp, nrsumsize); in xfs_growfs_rt() 947 rbmblocks = XFS_B_TO_FSB(mp, mp->m_rbmip->i_d.di_size); in xfs_growfs_rt() 948 rsumblocks = XFS_B_TO_FSB(mp, mp->m_rsumip->i_d.di_size); in xfs_growfs_rt() 998 nrsumblocks = XFS_B_TO_FSB(mp, nrsumsize); in xfs_growfs_rt()
|
| D | xfs_pnfs.c | 139 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + length); in xfs_fs_map_blocks()
|
| 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()
|
| D | xfs_aops.c | 497 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count); in xfs_map_blocks()
|
| D | xfs_ioctl.c | 1439 extsize_fsb = XFS_B_TO_FSB(mp, fa->fsx_extsize); in xfs_ioctl_setattr_check_extsize() 1492 cowextsize_fsb = XFS_B_TO_FSB(mp, fa->fsx_cowextsize); in xfs_ioctl_setattr_check_cowextsize()
|
| D | xfs_inode.c | 1543 first_unmap_block = XFS_B_TO_FSB(mp, (xfs_ufsize_t)new_size); in xfs_itruncate_extents_flags() 1544 last_block = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_itruncate_extents_flags()
|
| D | xfs_qm.c | 984 maxlblkcnt = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_qm_reset_dqcounts_buf()
|
| /Linux-v5.4/fs/xfs/libxfs/ |
| D | xfs_log_rlimit.c | 32 nblks += XFS_B_TO_FSB(mp, size); in xfs_log_calc_max_attrsetm_res()
|
| D | xfs_trans_space.h | 72 (XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK) + XFS_B_TO_FSB(mp, v))
|
| D | xfs_attr_remote.c | 40 return XFS_B_TO_FSB(mp, attrlen); in xfs_attr3_rmt_blocks()
|
| D | xfs_format.h | 588 #define XFS_B_TO_FSB(mp,b) \ macro
|
| /Linux-v5.4/fs/xfs/scrub/ |
| D | ialloc.c | 465 len = XFS_B_TO_FSB(mp, in xchk_iallocbt_rec() 478 len = XFS_B_TO_FSB(mp, in xchk_iallocbt_rec() 567 inode_blocks = XFS_B_TO_FSB(sc->mp, inodes * sc->mp->m_sb.sb_inodesize); in xchk_iallocbt_xref_rmap_inodes()
|
| D | dir.c | 646 lblk = XFS_B_TO_FSB(mp, XFS_DIR2_DATA_OFFSET); in xchk_directory_blocks() 647 leaf_lblk = XFS_B_TO_FSB(mp, XFS_DIR2_LEAF_OFFSET); in xchk_directory_blocks() 648 free_lblk = XFS_B_TO_FSB(mp, XFS_DIR2_FREE_OFFSET); in xchk_directory_blocks()
|