Symbol: XFS_FSB_TO_B
fs/xfs/libxfs/xfs_bmap.c
4451
XFS_STATS_ADD(mp, xs_xstrat_bytes, XFS_FSB_TO_B(mp, bma.length));
fs/xfs/libxfs/xfs_dir2.c
639
size = XFS_FSB_TO_B(mp, bno + count);
fs/xfs/libxfs/xfs_dir2.c
720
dp->i_disk_size = XFS_FSB_TO_B(mp, bno);
fs/xfs/libxfs/xfs_dir2_leaf.c
1797
if (XFS_FSB_TO_B(mp, fo) > XFS_DIR2_LEAF_OFFSET + args->geo->blksize)
fs/xfs/libxfs/xfs_exchmaps.c
96
len = min(XFS_FSB_TO_B(mp, imap->br_startoff + imap->br_blockcount),
fs/xfs/libxfs/xfs_ialloc.c
3059
igeo->inode_cluster_size = XFS_FSB_TO_B(mp, igeo->blocks_per_cluster);
fs/xfs/libxfs/xfs_inode_buf.c
843
extsize_bytes = XFS_FSB_TO_B(mp, extsize);
fs/xfs/libxfs/xfs_inode_buf.c
872
blocksize_bytes = XFS_FSB_TO_B(mp, mp->m_sb.sb_rextsize);
fs/xfs/libxfs/xfs_inode_buf.c
932
cowextsize_bytes = XFS_FSB_TO_B(mp, cowextsize);
fs/xfs/libxfs/xfs_inode_buf.c
947
blocksize_bytes = XFS_FSB_TO_B(mp, mp->m_sb.sb_rextsize);
fs/xfs/libxfs/xfs_sb.c
636
XFS_FSB_TO_B(mp, sbp->sb_agblocks) < XFS_MIN_AG_BYTES ||
fs/xfs/libxfs/xfs_sb.c
637
XFS_FSB_TO_B(mp, sbp->sb_agblocks) > XFS_MAX_AG_BYTES ||
fs/xfs/libxfs/xfs_sb.c
665
if (XFS_FSB_TO_B(mp, sbp->sb_logblocks) > XFS_MAX_LOG_BYTES) {
fs/xfs/libxfs/xfs_sb.c
668
XFS_FSB_TO_B(mp, sbp->sb_logblocks),
fs/xfs/libxfs/xfs_sb.c
724
if (!xfs_validate_stripe_geometry(mp, XFS_FSB_TO_B(mp, sbp->sb_unit),
fs/xfs/libxfs/xfs_sb.c
725
XFS_FSB_TO_B(mp, sbp->sb_width), 0,
fs/xfs/libxfs/xfs_symlink_remote.c
266
byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount);
fs/xfs/libxfs/xfs_symlink_remote.c
360
byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount);
fs/xfs/libxfs/xfs_trans_resv.c
1003
XFS_FSB_TO_B(mp, 1));
fs/xfs/libxfs/xfs_trans_resv.c
1022
XFS_FSB_TO_B(mp, 1)) +
fs/xfs/libxfs/xfs_trans_resv.c
1025
XFS_FSB_TO_B(mp, 1));
fs/xfs/libxfs/xfs_trans_resv.c
1057
xfs_calc_buf_res(1, XFS_FSB_TO_B(mp, mp->m_rsumblocks));
fs/xfs/libxfs/xfs_trans_resv.c
1099
XFS_FSB_TO_B(mp, 1)) +
fs/xfs/libxfs/xfs_trans_resv.c
1101
XFS_FSB_TO_B(mp, 1));
fs/xfs/libxfs/xfs_trans_resv.c
1121
XFS_FSB_TO_B(mp, 1))),
fs/xfs/libxfs/xfs_trans_resv.c
1124
XFS_FSB_TO_B(mp, 1))));
fs/xfs/libxfs/xfs_trans_resv.c
1145
xfs_calc_buf_res(XFS_DA_NODE_MAXDEPTH, XFS_FSB_TO_B(mp, 1));
fs/xfs/libxfs/xfs_trans_resv.c
1164
XFS_FSB_TO_B(mp, 1));
fs/xfs/libxfs/xfs_trans_resv.c
1185
XFS_FSB_TO_B(mp, 1)) +
fs/xfs/libxfs/xfs_trans_resv.c
1186
(uint)XFS_FSB_TO_B(mp,
fs/xfs/libxfs/xfs_trans_resv.c
1191
XFS_FSB_TO_B(mp, 1))));
fs/xfs/libxfs/xfs_trans_resv.c
1226
XFS_FSB_TO_B(mp, XFS_DQUOT_CLUSTER_SIZE_FSB) - 1);
fs/xfs/libxfs/xfs_trans_resv.c
165
XFS_FSB_TO_B(mp, 1)) +
fs/xfs/libxfs/xfs_trans_resv.c
167
XFS_FSB_TO_B(mp, 1));
fs/xfs/libxfs/xfs_trans_resv.c
214
XFS_FSB_TO_B(mp, 1));
fs/xfs/libxfs/xfs_trans_resv.c
219
size = XFS_FSB_TO_B(mp, 1);
fs/xfs/libxfs/xfs_trans_resv.c
362
unsigned int blksz = XFS_FSB_TO_B(mp, 1);
fs/xfs/libxfs/xfs_trans_resv.c
532
unsigned int blksz = XFS_FSB_TO_B(mp, 1);
fs/xfs/libxfs/xfs_trans_resv.c
617
XFS_FSB_TO_B(mp, 1));
fs/xfs/libxfs/xfs_trans_resv.c
726
xfs_calc_buf_res(XFS_DIROP_LOG_COUNT(mp), XFS_FSB_TO_B(mp, 1));
fs/xfs/libxfs/xfs_trans_resv.c
789
xfs_calc_buf_res(XFS_DIROP_LOG_COUNT(mp), XFS_FSB_TO_B(mp, 1));
fs/xfs/libxfs/xfs_trans_resv.c
822
(uint)XFS_FSB_TO_B(mp, 1) +
fs/xfs/libxfs/xfs_trans_resv.c
823
xfs_calc_buf_res(XFS_DIROP_LOG_COUNT(mp), XFS_FSB_TO_B(mp, 1)) +
fs/xfs/libxfs/xfs_trans_resv.h
65
(XFS_FSB_TO_B(mp, XFS_DAENTER_BLOCKS(mp, XFS_DATA_FORK)) + \
fs/xfs/libxfs/xfs_trans_resv.h
66
(XFS_FSB_TO_B(mp, XFS_DAENTER_BMAPS(mp, XFS_DATA_FORK) + 1)))
fs/xfs/scrub/dir_repair.c
580
if (!error && XFS_FSB_TO_B(mp, last) == geo->blksize &&
fs/xfs/scrub/dir_repair.c
594
XFS_FSB_TO_B(mp, last) > geo->blksize &&
fs/xfs/scrub/dir_repair.c
595
XFS_FSB_TO_B(mp, last) == dp->i_disk_size) {
fs/xfs/scrub/inode_repair.c
1869
XFS_FSB_TO_B(sc->mp, off));
fs/xfs/scrub/rtbitmap.c
237
if (rbmip->i_disk_size < XFS_FSB_TO_B(mp, rtb->rbmblocks)) {
fs/xfs/scrub/rtbitmap_repair.c
500
if (sc->ip->i_disk_size < XFS_FSB_TO_B(mp, rtb->rbmblocks))
fs/xfs/scrub/rtbitmap_repair.c
501
sc->ip->i_disk_size = XFS_FSB_TO_B(mp, rtb->rbmblocks);
fs/xfs/scrub/rtbitmap_repair.c
614
XFS_FSB_TO_B(sc->mp, sc->mp->m_sb.sb_rbmblocks));
fs/xfs/scrub/rtsummary.c
217
if (XFS_FSB_TO_B(mp, xfs_rtbitmap_blockcount(mp)) !=
fs/xfs/scrub/rtsummary.c
344
if (rsumip->i_disk_size < XFS_FSB_TO_B(mp, rts->rsumblocks)) {
fs/xfs/scrub/rtsummary.c
72
XFS_FSB_TO_B(mp, mp->m_rsumblocks), &sc->xfile);
fs/xfs/scrub/rtsummary_repair.c
160
error = xrep_tempfile_set_isize(sc, XFS_FSB_TO_B(mp, rts->rsumblocks));
fs/xfs/scrub/symlink_repair.c
134
byte_cnt = XFS_FSB_TO_B(sc->mp, mval[n].br_blockcount);
fs/xfs/scrub/tempfile.c
492
loff_t pos = XFS_FSB_TO_B(mp, off);
fs/xfs/xfs_aops.c
471
loff_t cow_offset = XFS_FSB_TO_B(mp, cow_fsb);
fs/xfs/xfs_aops.c
626
wpc->iomap.length = XFS_FSB_TO_B(mp, count_fsb);
fs/xfs/xfs_attr_inactive.c
376
XFS_FSB_TO_B(mp, mp->m_attr_geo->fsbcount));
fs/xfs/xfs_discard.c
858
if (range.start >= XFS_FSB_TO_B(mp, max_blocks) ||
fs/xfs/xfs_discard.c
859
range.minlen > XFS_FSB_TO_B(mp, mp->m_ag_max_usable) ||
fs/xfs/xfs_discard.c
882
XFS_FSB_TO_B(mp, max_blocks) - range.start);
fs/xfs/xfs_file.c
1087
XFS_FSB_TO_B(mp, ac.reserved_blocks) -
fs/xfs/xfs_inode.c
3062
return XFS_FSB_TO_B(ip->i_mount, blocks);
fs/xfs/xfs_ioctl.c
457
fa->fsx_extsize = XFS_FSB_TO_B(mp, ip->i_extsize);
fs/xfs/xfs_ioctl.c
470
fa->fsx_extsize = XFS_FSB_TO_B(mp, ip->i_extsize);
fs/xfs/xfs_ioctl.c
485
fa->fsx_cowextsize = XFS_FSB_TO_B(mp, ip->i_cowextsize);
fs/xfs/xfs_ioctl.c
654
XFS_FSB_TO_B(mp, ip->i_extsize) != fa->fsx_extsize)
fs/xfs/xfs_ioctl.c
672
rtextsize_bytes = XFS_FSB_TO_B(mp, mp->m_sb.sb_rextsize);
fs/xfs/xfs_iomap.c
1019
length = XFS_FSB_TO_B(mp, cmap.br_startoff + cmap.br_blockcount);
fs/xfs/xfs_iomap.c
144
iomap->offset = XFS_FSB_TO_B(mp, imap->br_startoff);
fs/xfs/xfs_iomap.c
145
iomap->length = XFS_FSB_TO_B(mp, imap->br_blockcount);
fs/xfs/xfs_iomap.c
1742
trace_xfs_iomap_alloc(ip, offset, XFS_FSB_TO_B(mp, count_fsb),
fs/xfs/xfs_iomap.c
180
iomap->offset = XFS_FSB_TO_B(ip->i_mount, offset_fsb);
fs/xfs/xfs_iomap.c
181
iomap->length = XFS_FSB_TO_B(ip->i_mount, end_fsb - offset_fsb);
fs/xfs/xfs_iomap.c
1856
min(count, XFS_FSB_TO_B(mp, imap.br_blockcount));
fs/xfs/xfs_iomap.c
218
if (align && XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, align))
fs/xfs/xfs_iomap.c
501
if (XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, mp->m_allocsize_blocks))
fs/xfs/xfs_iomap.c
508
if (XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, mp->m_dalign) ||
fs/xfs/xfs_iomap.c
686
i_size = XFS_FSB_TO_B(mp, offset_fsb + count_fsb);
fs/xfs/xfs_iomap.c
820
xfs_fsize_t len = XFS_FSB_TO_B(mp, end_fsb - offset_fsb);
fs/xfs/xfs_iomap.c
933
length = XFS_FSB_TO_B(mp, end_fsb) - offset;
fs/xfs/xfs_iops.c
549
return XFS_FSB_TO_B(mp, xfs_get_extsz_hint(ip) ? : 1);
fs/xfs/xfs_iops.c
566
return XFS_FSB_TO_B(mp, mp->m_swidth);
fs/xfs/xfs_iops.c
647
return XFS_FSB_TO_B(mp, mp->m_groups[XG_TYPE_RTG].awu_max);
fs/xfs/xfs_iops.c
648
return XFS_FSB_TO_B(mp, mp->m_groups[XG_TYPE_AG].awu_max);
fs/xfs/xfs_itable.c
373
bs1->bs_extsize = XFS_FSB_TO_B(mp, bstat->bs_extsize_blks);
fs/xfs/xfs_itable.c
381
bs1->bs_cowextsize = XFS_FSB_TO_B(mp, bstat->bs_cowextsize_blks);
fs/xfs/xfs_mount.c
765
XFS_FSB_TO_B(mp, max_write) >> 10);
fs/xfs/xfs_mount.c
773
XFS_FSB_TO_B(mp, max_group) >> 10);
fs/xfs/xfs_mount.c
781
XFS_FSB_TO_B(mp, max_group_write) >> 10);
fs/xfs/xfs_notify_failure.c
45
loff_t pos = XFS_FSB_TO_B(mp, rec->rm_offset);
fs/xfs/xfs_notify_failure.c
48
pos += XFS_FSB_TO_B(mp,
fs/xfs/xfs_notify_failure.c
70
return XFS_FSB_TO_B(mp, end_cross - start_cross) >> PAGE_SHIFT;
fs/xfs/xfs_qm.c
1027
j = (int)XFS_FSB_TO_B(mp, XFS_DQUOT_CLUSTER_SIZE_FSB) /
fs/xfs/xfs_qm_syscalls.c
403
dst->d_spc_hardlimit = XFS_FSB_TO_B(mp, dqp->q_blk.hardlimit);
fs/xfs/xfs_qm_syscalls.c
404
dst->d_spc_softlimit = XFS_FSB_TO_B(mp, dqp->q_blk.softlimit);
fs/xfs/xfs_qm_syscalls.c
407
dst->d_space = XFS_FSB_TO_B(mp, dqp->q_blk.reserved);
fs/xfs/xfs_qm_syscalls.c
413
dst->d_rt_spc_hardlimit = XFS_FSB_TO_B(mp, dqp->q_rtb.hardlimit);
fs/xfs/xfs_qm_syscalls.c
414
dst->d_rt_spc_softlimit = XFS_FSB_TO_B(mp, dqp->q_rtb.softlimit);
fs/xfs/xfs_qm_syscalls.c
415
dst->d_rt_space = XFS_FSB_TO_B(mp, dqp->q_rtb.reserved);
fs/xfs/xfs_reflink.c
1502
newlen = XFS_FSB_TO_B(mp, dmap->br_startoff + dmap->br_blockcount);
fs/xfs/xfs_reflink.c
1599
XFS_FSB_TO_B(src->i_mount, remapped_len));
fs/xfs/xfs_rtalloc.c
1425
if (XFS_FSB_TO_B(mp, in->extsize) > XFS_MAX_RTEXTSIZE ||
fs/xfs/xfs_rtalloc.c
1426
XFS_FSB_TO_B(mp, in->extsize) < XFS_MIN_RTEXTSIZE)
fs/xfs/xfs_verify_media.c
79
fserror_report_data_lost(VFS_I(ip), XFS_FSB_TO_B(mp, fileoff),
fs/xfs/xfs_verify_media.c
80
XFS_FSB_TO_B(mp, blocks), GFP_NOFS);
fs/xfs/xfs_zone_alloc.c
1298
XFS_FSB_TO_B(mp, min(iz.zone_capacity, XFS_MAX_BMBT_EXTLEN)) >>
fs/xfs/xfs_zone_alloc.c
648
XFS_FSB_TO_B(mp, mp->m_groups[XG_TYPE_RTG].blocks);
fs/xfs/xfs_zone_alloc.c
766
return XFS_FSB_TO_B(mp, count_fsb);
fs/xfs/xfs_zone_gc.c
688
len = XFS_FSB_TO_B(mp, irec.rm_blockcount);
fs/xfs/xfs_zone_gc.c
695
chunk->offset = XFS_FSB_TO_B(mp, irec.rm_offset);
fs/xfs/xfs_zone_gc.c
930
bio->bi_iter.bi_size = XFS_FSB_TO_B(mp, rtg_blocks(rtg));