/linux-6.12.1/fs/xfs/ |
D | xfs_fsmap.c | 286 len_daddr = XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper() 363 fmr.fmr_offset = XFS_FSB_TO_BB(mp, rec->rm_offset); in xfs_getfsmap_helper() 479 eofs = XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks); in __xfs_getfsmap_datadev() 681 eofs = XFS_FSB_TO_BB(mp, mp->m_sb.sb_logblocks); in xfs_getfsmap_logdev() 690 info->low_daddr = XFS_FSB_TO_BB(mp, start_fsb); in xfs_getfsmap_logdev() 705 rec_daddr = XFS_FSB_TO_BB(mp, rmap.rm_startblock); in xfs_getfsmap_logdev() 706 len_daddr = XFS_FSB_TO_BB(mp, rmap.rm_blockcount); in xfs_getfsmap_logdev() 725 rec_daddr = XFS_FSB_TO_BB(mp, rtbno); in xfs_getfsmap_rtdev_rtbitmap_helper() 729 len_daddr = XFS_FSB_TO_BB(mp, rtbno); in xfs_getfsmap_rtdev_rtbitmap_helper() 755 eofs = XFS_FSB_TO_BB(mp, xfs_rtx_to_rtb(mp, mp->m_sb.sb_rextents)); in xfs_getfsmap_rtdev_rtbitmap() [all …]
|
D | xfs_discard.c | 125 XFS_FSB_TO_BB(mp, busyp->length), in xfs_discard_extents() 397 XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks) - 1); in xfs_trim_datadev_extents() 482 XFS_FSB_TO_BB(mp, busyp->bno), in xfs_discard_rtdev_extents() 483 XFS_FSB_TO_BB(mp, busyp->length), in xfs_discard_rtdev_extents() 568 rtdev_daddr = XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks); in xfs_trim_rtdev_extents() 583 XFS_FSB_TO_BB(mp, mp->m_sb.sb_rblocks) - 1); in xfs_trim_rtdev_extents()
|
D | xfs_dquot_item_recover.c | 53 XFS_FSB_TO_BB(mp, dq_f->qlf_len), in xlog_recover_dquot_ra_pass2() 129 XFS_FSB_TO_BB(mp, dq_f->qlf_len), 0, &bp, in xlog_recover_dquot_commit_pass2()
|
D | xfs_mount.c | 408 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks); in xfs_check_sizes() 425 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_logblocks); in xfs_check_sizes() 431 d - XFS_FSB_TO_BB(mp, 1), in xfs_check_sizes() 432 XFS_FSB_TO_BB(mp, 1), 0, &bp, NULL); in xfs_check_sizes() 837 XFS_FSB_TO_BB(mp, sbp->sb_logblocks)); in xfs_mountfs()
|
D | xfs_attr_inactive.c | 214 XFS_FSB_TO_BB(mp, mp->m_attr_geo->fsbcount), 0, in xfs_attr3_node_inactive() 305 XFS_FSB_TO_BB(mp, mp->m_attr_geo->fsbcount), 0, &bp); in xfs_attr3_root_inactive()
|
D | xfs_bmap_util.c | 44 return XFS_FSB_TO_BB(ip->i_mount, fsb); in xfs_fsb_to_db() 191 p->bmv_offset = XFS_FSB_TO_BB(ip->i_mount, got->br_startoff); in xfs_getbmap_report_one() 192 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, got->br_blockcount); in xfs_getbmap_report_one() 215 p->bmv_offset = XFS_FSB_TO_BB(ip->i_mount, bno); in xfs_getbmap_report_hole() 216 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, end - bno); in xfs_getbmap_report_hole() 358 max_len = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, max_len)); in xfs_getbmap()
|
D | xfs_rtalloc.c | 924 XFS_FSB_TO_BB(mp, in->newblocks - 1), in xfs_growfs_rt() 925 XFS_FSB_TO_BB(mp, 1), 0, &bp, NULL); in xfs_growfs_rt() 1041 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_rblocks); in xfs_rtmount_init() 1049 d - XFS_FSB_TO_BB(mp, 1), in xfs_rtmount_init() 1050 XFS_FSB_TO_BB(mp, 1), 0, &bp, NULL); in xfs_rtmount_init()
|
D | xfs_icreate_item.c | 223 bb_per_cluster = XFS_FSB_TO_BB(mp, igeo->blocks_per_cluster); in xlog_recover_icreate_commit_pass2()
|
D | xfs_fsops.c | 109 XFS_FSB_TO_BB(mp, nb) - XFS_FSS_TO_BB(mp, 1), in xfs_growfs_data_private()
|
D | xfs_super.c | 209 (int)XFS_FSB_TO_BB(mp, mp->m_dalign)); in xfs_fs_show_options() 212 (int)XFS_FSB_TO_BB(mp, mp->m_swidth)); in xfs_fs_show_options()
|
D | xfs_iops.c | 602 stat->blocks = XFS_FSB_TO_BB(mp, ip->i_nblocks + ip->i_delayed_blks); in xfs_vn_getattr()
|
D | xfs_qm.c | 656 qinf->qi_dqchunklen = XFS_FSB_TO_BB(mp, XFS_DQUOT_CLUSTER_SIZE_FSB); in xfs_qm_init_quotainfo()
|
D | xfs_buf.c | 548 eofs = XFS_FSB_TO_BB(btp->bt_mount, btp->bt_mount->m_sb.sb_dblocks); in xfs_buf_map_verify()
|
D | xfs_inode.c | 1116 XFS_FSB_TO_BB(mp, geo->fsbcount), in xfs_inactive_dir()
|
/linux-6.12.1/fs/xfs/libxfs/ |
D | xfs_attr_remote.c | 433 dblkcnt = XFS_FSB_TO_BB(mp, map[i].br_blockcount); in xfs_attr_rmtval_get() 529 dblkcnt = XFS_FSB_TO_BB(mp, map.br_blockcount); in xfs_attr_rmtval_set_value() 574 XFS_FSB_TO_BB(mp, map->br_blockcount), in xfs_attr_rmtval_stale()
|
D | xfs_format.h | 454 #define XFS_FSB_TO_BB(mp,fsbno) ((fsbno) << (mp)->m_blkbb_log) macro 456 (((bb) + (XFS_FSB_TO_BB(mp,1) - 1)) >> (mp)->m_blkbb_log) 680 ((xfs_daddr_t)XFS_FSB_TO_BB(mp, \
|
D | xfs_symlink_remote.c | 410 XFS_FSB_TO_BB(mp, mval[i].br_blockcount), 0, in xfs_symlink_remote_truncate()
|
D | xfs_ialloc.c | 2511 imap->im_len = XFS_FSB_TO_BB(mp, 1); in xfs_imap() 2541 imap->im_len = XFS_FSB_TO_BB(mp, M_IGEO(mp)->blocks_per_cluster); in xfs_imap() 2551 XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)) { in xfs_imap() 2556 XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)); in xfs_imap()
|
D | xfs_sb.c | 1023 mp->m_bsize = XFS_FSB_TO_BB(mp, 1); in xfs_sb_mount_common()
|
D | xfs_da_btree.c | 459 XFS_FSB_TO_BB(mp, xfs_dabuf_nfsb(mp, whichfork)), 0, in xfs_da3_node_read_mapped() 2736 map[i].bm_len = XFS_FSB_TO_BB(mp, irecs[i].br_blockcount); in xfs_dabuf_map()
|
/linux-6.12.1/fs/xfs/scrub/ |
D | reap.c | 228 return XFS_FSB_TO_BB(mp, min_t(xfs_extlen_t, fsblocks, max_fsbs)); in xrep_bufscan_max_sectors() 290 .daddr_step = XFS_FSB_TO_BB(mp, 1), in xreap_agextent_binval() 843 .daddr_step = XFS_FSB_TO_BB(mp, 1), in xreap_bmapi_binval()
|
D | symlink_repair.c | 126 d, XFS_FSB_TO_BB(sc->mp, mval[n].br_blockcount), in xrep_symlink_salvage_remote()
|
D | attr_repair.c | 528 .daddr_step = XFS_FSB_TO_BB(mp, 1), in xrep_xattr_find_buf() 542 return xfs_buf_read(mp->m_ddev_targp, scan.daddr, XFS_FSB_TO_BB(mp, 1), in xrep_xattr_find_buf()
|
D | ialloc_repair.c | 311 imap.im_len = XFS_FSB_TO_BB(mp, igeo->blocks_per_cluster); in xrep_ibt_process_cluster()
|
D | ialloc.c | 400 imap.im_len = XFS_FSB_TO_BB(mp, M_IGEO(mp)->blocks_per_cluster); in xchk_iallocbt_check_cluster()
|