/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_discard.c | 87 dlen = XFS_FSB_TO_BB(mp, flen); in xfs_trim_extents() 195 if (end > XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks) - 1) in xfs_ioc_trim() 196 end = XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)- 1; in xfs_ioc_trim()
|
D | xfs_fsmap.c | 264 rec_daddr += XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper() 283 rec_daddr += XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper() 321 fmr.fmr_offset = XFS_FSB_TO_BB(mp, rec->rm_offset); in xfs_getfsmap_helper() 322 fmr.fmr_length = XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper() 339 rec_daddr += XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper() 462 rec_daddr = XFS_FSB_TO_BB(mp, irec.rm_startblock); in xfs_getfsmap_rtdev_rtbitmap_helper() 486 eofs = XFS_FSB_TO_BB(mp, mp->m_sb.sb_rblocks); in __xfs_getfsmap_rtdev() 583 eofs = XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks); in __xfs_getfsmap_datadev()
|
D | xfs_dquot_item_recover.c | 52 XFS_FSB_TO_BB(mp, dq_f->qlf_len), in xlog_recover_dquot_ra_pass2() 127 XFS_FSB_TO_BB(mp, dq_f->qlf_len), 0, &bp, in xlog_recover_dquot_commit_pass2()
|
D | xfs_attr_inactive.c | 210 XFS_FSB_TO_BB(mp, mp->m_attr_geo->fsbcount), 0, in xfs_attr3_node_inactive() 303 XFS_FSB_TO_BB(mp, mp->m_attr_geo->fsbcount), 0, &bp); in xfs_attr3_root_inactive()
|
D | xfs_mount.c | 510 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks); in xfs_check_sizes() 527 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_logblocks); in xfs_check_sizes() 533 d - XFS_FSB_TO_BB(mp, 1), in xfs_check_sizes() 534 XFS_FSB_TO_BB(mp, 1), 0, &bp, NULL); in xfs_check_sizes() 883 XFS_FSB_TO_BB(mp, sbp->sb_logblocks)); in xfs_mountfs()
|
D | xfs_rtalloc.c | 936 XFS_FSB_TO_BB(mp, nrblocks - 1), in xfs_growfs_rt() 937 XFS_FSB_TO_BB(mp, 1), 0, &bp, NULL); in xfs_growfs_rt() 1237 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_rblocks); in xfs_rtmount_init() 1245 d - XFS_FSB_TO_BB(mp, 1), in xfs_rtmount_init() 1246 XFS_FSB_TO_BB(mp, 1), 0, &bp, NULL); in xfs_rtmount_init()
|
D | xfs_bmap_util.c | 43 return XFS_FSB_TO_BB(ip->i_mount, fsb); in xfs_fsb_to_db() 298 p->bmv_offset = XFS_FSB_TO_BB(ip->i_mount, got->br_startoff); in xfs_getbmap_report_one() 299 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, got->br_blockcount); in xfs_getbmap_report_one() 322 p->bmv_offset = XFS_FSB_TO_BB(ip->i_mount, bno); in xfs_getbmap_report_hole() 323 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, end - bno); in xfs_getbmap_report_hole() 465 max_len = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, max_len)); in xfs_getbmap()
|
D | xfs_icreate_item.c | 222 bb_per_cluster = XFS_FSB_TO_BB(mp, igeo->blocks_per_cluster); in xlog_recover_icreate_commit_pass2()
|
D | xfs_symlink.c | 422 XFS_FSB_TO_BB(mp, mval[i].br_blockcount), 0, in xfs_inactive_symlink_rmt()
|
D | xfs_fsops.c | 47 XFS_FSB_TO_BB(mp, nb) - XFS_FSS_TO_BB(mp, 1), in xfs_growfs_data_private()
|
D | xfs_log_cil.c | 547 XFS_FSB_TO_BB(mp, busyp->length), in xlog_discard_busy_extents()
|
D | xfs_super.c | 197 (int)XFS_FSB_TO_BB(mp, mp->m_dalign)); in xfs_fs_show_options() 200 (int)XFS_FSB_TO_BB(mp, mp->m_swidth)); in xfs_fs_show_options()
|
D | xfs_iops.c | 559 XFS_FSB_TO_BB(mp, ip->i_d.di_nblocks + ip->i_delayed_blks); in xfs_vn_getattr()
|
D | xfs_qm.c | 661 qinf->qi_dqchunklen = XFS_FSB_TO_BB(mp, XFS_DQUOT_CLUSTER_SIZE_FSB); in xfs_qm_init_quotainfo()
|
D | xfs_buf.c | 611 eofs = XFS_FSB_TO_BB(btp->bt_mount, btp->bt_mount->m_sb.sb_dblocks); in xfs_buf_find()
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_attr_remote.c | 418 dblkcnt = XFS_FSB_TO_BB(mp, map[i].br_blockcount); in xfs_attr_rmtval_get() 513 dblkcnt = XFS_FSB_TO_BB(mp, map.br_blockcount); in xfs_attr_rmtval_set_value() 555 XFS_FSB_TO_BB(mp, map->br_blockcount), incore_flags); in xfs_attr_rmtval_stale()
|
D | xfs_format.h | 616 #define XFS_FSB_TO_BB(mp,fsbno) ((fsbno) << (mp)->m_blkbb_log) macro 618 (((bb) + (XFS_FSB_TO_BB(mp,1) - 1)) >> (mp)->m_blkbb_log) 844 ((xfs_daddr_t)XFS_FSB_TO_BB(mp, \
|
D | xfs_ialloc.c | 2390 imap->im_len = XFS_FSB_TO_BB(mp, 1); in xfs_imap() 2420 imap->im_len = XFS_FSB_TO_BB(mp, M_IGEO(mp)->blocks_per_cluster); in xfs_imap() 2430 XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)) { in xfs_imap() 2435 XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)); in xfs_imap()
|
D | xfs_sb.c | 869 mp->m_bsize = XFS_FSB_TO_BB(mp, 1); in xfs_sb_mount_common()
|
D | xfs_da_btree.c | 397 XFS_FSB_TO_BB(mp, xfs_dabuf_nfsb(mp, whichfork)), 0, in xfs_da3_node_read_mapped() 2545 map[i].bm_len = XFS_FSB_TO_BB(mp, irecs[i].br_blockcount); in xfs_dabuf_map()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
D | repair.c | 353 XFS_FSB_TO_DADDR(mp, fsb), XFS_FSB_TO_BB(mp, 1), 0, in xrep_init_btblock() 460 XFS_FSB_TO_BB(sc->mp, 1), XBF_TRYLOCK); in xrep_invalidate_blocks()
|
D | ialloc.c | 247 imap.im_len = XFS_FSB_TO_BB(mp, M_IGEO(mp)->blocks_per_cluster); in xchk_iallocbt_check_cluster()
|