Home
last modified time | relevance | path

Searched refs:XFS_FSB_TO_BB (Results 1 – 25 of 25) sorted by relevance

/linux-6.12.1/fs/xfs/
Dxfs_fsmap.c286 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 …]
Dxfs_discard.c125 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()
Dxfs_dquot_item_recover.c53 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()
Dxfs_mount.c408 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()
Dxfs_attr_inactive.c214 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()
Dxfs_bmap_util.c44 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()
Dxfs_rtalloc.c924 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()
Dxfs_icreate_item.c223 bb_per_cluster = XFS_FSB_TO_BB(mp, igeo->blocks_per_cluster); in xlog_recover_icreate_commit_pass2()
Dxfs_fsops.c109 XFS_FSB_TO_BB(mp, nb) - XFS_FSS_TO_BB(mp, 1), in xfs_growfs_data_private()
Dxfs_super.c209 (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()
Dxfs_iops.c602 stat->blocks = XFS_FSB_TO_BB(mp, ip->i_nblocks + ip->i_delayed_blks); in xfs_vn_getattr()
Dxfs_qm.c656 qinf->qi_dqchunklen = XFS_FSB_TO_BB(mp, XFS_DQUOT_CLUSTER_SIZE_FSB); in xfs_qm_init_quotainfo()
Dxfs_buf.c548 eofs = XFS_FSB_TO_BB(btp->bt_mount, btp->bt_mount->m_sb.sb_dblocks); in xfs_buf_map_verify()
Dxfs_inode.c1116 XFS_FSB_TO_BB(mp, geo->fsbcount), in xfs_inactive_dir()
/linux-6.12.1/fs/xfs/libxfs/
Dxfs_attr_remote.c433 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()
Dxfs_format.h454 #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, \
Dxfs_symlink_remote.c410 XFS_FSB_TO_BB(mp, mval[i].br_blockcount), 0, in xfs_symlink_remote_truncate()
Dxfs_ialloc.c2511 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()
Dxfs_sb.c1023 mp->m_bsize = XFS_FSB_TO_BB(mp, 1); in xfs_sb_mount_common()
Dxfs_da_btree.c459 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/
Dreap.c228 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()
Dsymlink_repair.c126 d, XFS_FSB_TO_BB(sc->mp, mval[n].br_blockcount), in xrep_symlink_salvage_remote()
Dattr_repair.c528 .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()
Dialloc_repair.c311 imap.im_len = XFS_FSB_TO_BB(mp, igeo->blocks_per_cluster); in xrep_ibt_process_cluster()
Dialloc.c400 imap.im_len = XFS_FSB_TO_BB(mp, M_IGEO(mp)->blocks_per_cluster); in xchk_iallocbt_check_cluster()