Home
last modified time | relevance | path

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

/linux-4.19.296/fs/xfs/
Dxfs_discard.c84 dlen = XFS_FSB_TO_BB(mp, flen); in xfs_trim_extents()
183 if (end > XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks) - 1) in xfs_ioc_trim()
184 end = XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)- 1; in xfs_ioc_trim()
Dxfs_fsmap.c254 rec_daddr += XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper()
273 rec_daddr += XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper()
314 fmr.fmr_offset = XFS_FSB_TO_BB(mp, rec->rm_offset); in xfs_getfsmap_helper()
315 fmr.fmr_length = XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper()
335 rec_daddr += XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper()
458 rec_daddr = XFS_FSB_TO_BB(mp, irec.rm_startblock); in xfs_getfsmap_rtdev_rtbitmap_helper()
482 eofs = XFS_FSB_TO_BB(mp, mp->m_sb.sb_rblocks); in __xfs_getfsmap_rtdev()
579 eofs = XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks); in __xfs_getfsmap_datadev()
Dxfs_mount.c539 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks); in xfs_check_sizes()
556 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_logblocks); in xfs_check_sizes()
562 d - XFS_FSB_TO_BB(mp, 1), in xfs_check_sizes()
563 XFS_FSB_TO_BB(mp, 1), 0, &bp, NULL); in xfs_check_sizes()
882 XFS_FSB_TO_BB(mp, sbp->sb_logblocks)); in xfs_mountfs()
Dxfs_rtalloc.c912 XFS_FSB_TO_BB(mp, nrblocks - 1), in xfs_growfs_rt()
913 XFS_FSB_TO_BB(mp, 1), 0, &bp, NULL); in xfs_growfs_rt()
1188 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_rblocks); in xfs_rtmount_init()
1196 d - XFS_FSB_TO_BB(mp, 1), in xfs_rtmount_init()
1197 XFS_FSB_TO_BB(mp, 1), 0, &bp, NULL); in xfs_rtmount_init()
Dxfs_bmap_util.c48 (xfs_daddr_t)XFS_FSB_TO_BB((ip)->i_mount, (fsb)) : \ in xfs_fsb_to_db()
442 p->bmv_offset = XFS_FSB_TO_BB(ip->i_mount, got->br_startoff); in xfs_getbmap_report_one()
443 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, got->br_blockcount); in xfs_getbmap_report_one()
466 p->bmv_offset = XFS_FSB_TO_BB(ip->i_mount, bno); in xfs_getbmap_report_hole()
467 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, end - bno); in xfs_getbmap_report_hole()
609 max_len = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, max_len)); in xfs_getbmap()
Dxfs_attr_inactive.c78 dblkcnt = XFS_FSB_TO_BB(dp->i_mount, in xfs_attr3_leaf_freextent()
Dxfs_fsops.c52 XFS_FSB_TO_BB(mp, nb) - XFS_FSS_TO_BB(mp, 1), in xfs_growfs_data_private()
Dxfs_symlink.c446 XFS_FSB_TO_BB(mp, mval[i].br_blockcount), 0); in xfs_inactive_symlink_rmt()
Dxfs_log_cil.c550 XFS_FSB_TO_BB(mp, busyp->length), in xlog_discard_busy_extents()
Dxfs_super.c503 (int)XFS_FSB_TO_BB(mp, mp->m_dalign)); in xfs_showargs()
506 (int)XFS_FSB_TO_BB(mp, mp->m_swidth)); in xfs_showargs()
Dxfs_iops.c524 XFS_FSB_TO_BB(mp, ip->i_d.di_nblocks + ip->i_delayed_blks); in xfs_vn_getattr()
Dxfs_log_recover.c3370 XFS_FSB_TO_BB(mp, dq_f->qlf_len), 0, &bp, in xlog_recover_dquot_pass2()
3922 bb_per_cluster = XFS_FSB_TO_BB(mp, blks_per_cluster); in xlog_recover_do_icreate_pass2()
4031 len = XFS_FSB_TO_BB(mp, dq_f->qlf_len); in xlog_recover_dquot_ra_pass2()
Dxfs_buf.c599 eofs = XFS_FSB_TO_BB(btp->bt_mount, btp->bt_mount->m_sb.sb_dblocks); in xfs_buf_find()
Dxfs_qm.c672 qinf->qi_dqchunklen = XFS_FSB_TO_BB(mp, XFS_DQUOT_CLUSTER_SIZE_FSB); in xfs_qm_init_quotainfo()
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_attr_remote.c406 dblkcnt = XFS_FSB_TO_BB(mp, map[i].br_blockcount); in xfs_attr_rmtval_get()
534 dblkcnt = XFS_FSB_TO_BB(mp, map.br_blockcount); in xfs_attr_rmtval_set()
599 dblkcnt = XFS_FSB_TO_BB(mp, map.br_blockcount); in xfs_attr_rmtval_remove()
Dxfs_format.h583 #define XFS_FSB_TO_BB(mp,fsbno) ((fsbno) << (mp)->m_blkbb_log) macro
585 (((bb) + (XFS_FSB_TO_BB(mp,1) - 1)) >> (mp)->m_blkbb_log)
815 ((xfs_daddr_t)XFS_FSB_TO_BB(mp, \
Dxfs_ialloc.c2367 imap->im_len = XFS_FSB_TO_BB(mp, 1); in xfs_imap()
2396 imap->im_len = XFS_FSB_TO_BB(mp, blks_per_cluster); in xfs_imap()
2406 XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)) { in xfs_imap()
2411 XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)); in xfs_imap()
Dxfs_sb.c842 mp->m_bsize = XFS_FSB_TO_BB(mp, 1); in xfs_sb_mount_common()
Dxfs_da_btree.c2477 map[i].bm_len = XFS_FSB_TO_BB(mp, irecs[i].br_blockcount); in xfs_buf_map_from_irec()
/linux-4.19.296/fs/xfs/scrub/
Drepair.c366 XFS_FSB_TO_BB(mp, 1), 0); in xrep_init_btblock()
470 XFS_FSB_TO_BB(sc->mp, 1), XBF_TRYLOCK); in xrep_invalidate_blocks()
Dialloc.c243 imap.im_len = XFS_FSB_TO_BB(mp, blks_per_cluster); in xchk_iallocbt_check_freemask()