/linux-master/fs/xfs/libxfs/ |
H A D | xfs_trans_resv.c | 149 XFS_FSB_TO_B(mp, 1)) + 151 XFS_FSB_TO_B(mp, 1)); 198 XFS_FSB_TO_B(mp, 1)); 203 size = XFS_FSB_TO_B(mp, 1); 262 unsigned int blksz = XFS_FSB_TO_B(mp, 1); 300 unsigned int blksz = XFS_FSB_TO_B(mp, 1); 380 unsigned int blksz = XFS_FSB_TO_B(mp, 1); 444 XFS_FSB_TO_B(mp, 1))), 447 XFS_FSB_TO_B(mp, 1)))); 484 XFS_FSB_TO_B(m [all...] |
H A D | xfs_trans_resv.h | 64 (XFS_FSB_TO_B(mp, XFS_DAENTER_BLOCKS(mp, XFS_DATA_FORK)) + \ 65 (XFS_FSB_TO_B(mp, XFS_DAENTER_BMAPS(mp, XFS_DATA_FORK) + 1)))
|
H A D | xfs_symlink_remote.c | 263 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount); 356 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount);
|
H A D | xfs_inode_buf.c | 669 extsize_bytes = XFS_FSB_TO_B(mp, extsize); 698 blocksize_bytes = XFS_FSB_TO_B(mp, mp->m_sb.sb_rextsize); 757 cowextsize_bytes = XFS_FSB_TO_B(mp, cowextsize);
|
H A D | xfs_dir2.c | 600 size = XFS_FSB_TO_B(mp, bno + count); 626 if (XFS_FSB_TO_B(mp, eof) != args->geo->blksize) 732 dp->i_disk_size = XFS_FSB_TO_B(mp, bno);
|
H A D | xfs_sb.c | 418 XFS_FSB_TO_B(mp, sbp->sb_agblocks) < XFS_MIN_AG_BYTES || 419 XFS_FSB_TO_B(mp, sbp->sb_agblocks) > XFS_MAX_AG_BYTES || 447 if (XFS_FSB_TO_B(mp, sbp->sb_logblocks) > XFS_MAX_LOG_BYTES) { 450 XFS_FSB_TO_B(mp, sbp->sb_logblocks), 532 if (!xfs_validate_stripe_geometry(mp, XFS_FSB_TO_B(mp, sbp->sb_unit), 533 XFS_FSB_TO_B(mp, sbp->sb_width), 0,
|
H A D | xfs_rtbitmap.c | 1140 return XFS_FSB_TO_B(mp, blocks) >> XFS_WORDLOG; 1169 return XFS_FSB_TO_B(mp, blocks) >> XFS_WORDLOG;
|
H A D | xfs_format.h | 459 #define XFS_FSB_TO_B(mp,fsbno) ((xfs_fsize_t)(fsbno) << (mp)->m_sb.sb_blocklog) macro
|
H A D | xfs_dir2_leaf.c | 1744 if (XFS_FSB_TO_B(mp, fo) > XFS_DIR2_LEAF_OFFSET + args->geo->blksize)
|
/linux-master/fs/xfs/ |
H A D | xfs_qm_syscalls.c | 405 dst->d_spc_hardlimit = XFS_FSB_TO_B(mp, dqp->q_blk.hardlimit); 406 dst->d_spc_softlimit = XFS_FSB_TO_B(mp, dqp->q_blk.softlimit); 409 dst->d_space = XFS_FSB_TO_B(mp, dqp->q_blk.reserved); 415 dst->d_rt_spc_hardlimit = XFS_FSB_TO_B(mp, dqp->q_rtb.hardlimit); 416 dst->d_rt_spc_softlimit = XFS_FSB_TO_B(mp, dqp->q_rtb.softlimit); 417 dst->d_rt_space = XFS_FSB_TO_B(mp, dqp->q_rtb.reserved);
|
H A D | xfs_notify_failure.c | 40 loff_t pos = XFS_FSB_TO_B(mp, rec->rm_offset); 43 pos += XFS_FSB_TO_B(mp, 65 return XFS_FSB_TO_B(mp, end_cross - start_cross) >> PAGE_SHIFT;
|
H A D | xfs_discard.c | 410 if (range.start >= XFS_FSB_TO_B(mp, mp->m_sb.sb_dblocks) || 411 range.minlen > XFS_FSB_TO_B(mp, mp->m_ag_max_usable) || 437 range.len = XFS_FSB_TO_B(mp, blocks_trimmed);
|
H A D | xfs_iomap.c | 127 iomap->offset = XFS_FSB_TO_B(mp, imap->br_startoff); 128 iomap->length = XFS_FSB_TO_B(mp, imap->br_blockcount); 155 iomap->offset = XFS_FSB_TO_B(ip->i_mount, offset_fsb); 156 iomap->length = XFS_FSB_TO_B(ip->i_mount, end_fsb - offset_fsb); 193 if (align && XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, align)) 439 if (XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, mp->m_allocsize_blocks)) 446 if (XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, mp->m_dalign) || 632 i_size = XFS_FSB_TO_B(mp, offset_fsb + count_fsb); 837 length = XFS_FSB_TO_B(mp, end_fsb) - offset; 906 length = XFS_FSB_TO_B(m [all...] |
H A D | xfs_rtalloc.c | 844 if (XFS_FSB_TO_B(mp, in->extsize) > XFS_MAX_RTEXTSIZE || 845 XFS_FSB_TO_B(mp, in->extsize) < XFS_MIN_RTEXTSIZE) 877 nrsumsize = XFS_FSB_TO_B(mp, nrsumblocks); 945 nmp->m_rsumsize = nrsumsize = XFS_FSB_TO_B(mp, nrsumblocks); 1098 mp->m_rsumsize = XFS_FSB_TO_B(mp, rsumblocks);
|
H A D | xfs_itable.c | 352 bs1->bs_extsize = XFS_FSB_TO_B(mp, bstat->bs_extsize_blks); 360 bs1->bs_cowextsize = XFS_FSB_TO_B(mp, bstat->bs_cowextsize_blks);
|
H A D | xfs_ioctl.c | 1000 fa->fsx_extsize = XFS_FSB_TO_B(mp, ip->i_extsize); 1013 fa->fsx_extsize = XFS_FSB_TO_B(mp, ip->i_extsize); 1018 fa->fsx_cowextsize = XFS_FSB_TO_B(mp, ip->i_cowextsize); 1240 XFS_FSB_TO_B(mp, ip->i_extsize) != fa->fsx_extsize) 1258 rtextsize_bytes = XFS_FSB_TO_B(mp, mp->m_sb.sb_rextsize);
|
H A D | xfs_aops.c | 411 loff_t cow_offset = XFS_FSB_TO_B(mp, cow_fsb);
|
H A D | xfs_reflink.c | 1329 newlen = XFS_FSB_TO_B(mp, dmap->br_startoff + dmap->br_blockcount); 1425 XFS_FSB_TO_B(src->i_mount, remapped_len));
|
H A D | xfs_file.c | 55 rextbytes = XFS_FSB_TO_B(mp, mp->m_sb.sb_rextsize); 62 mask = XFS_FSB_TO_B(mp, mp->m_sb.sb_rextsize) - 1;
|
H A D | xfs_iops.c | 524 return XFS_FSB_TO_B(mp, xfs_get_extsz_hint(ip)); 541 return XFS_FSB_TO_B(mp, mp->m_swidth);
|
H A D | xfs_qm.c | 862 j = (int)XFS_FSB_TO_B(mp, XFS_DQUOT_CLUSTER_SIZE_FSB) /
|
/linux-master/fs/xfs/scrub/ |
H A D | rtbitmap_repair.c | 151 if (sc->ip->i_disk_size < XFS_FSB_TO_B(mp, rtb->rbmblocks)) 152 sc->ip->i_disk_size = XFS_FSB_TO_B(mp, rtb->rbmblocks);
|
H A D | rtsummary.c | 109 rts->rsumsize = XFS_FSB_TO_B(mp, rsumblocks); 214 if (XFS_FSB_TO_B(mp, rtbmp_blocks) != mp->m_rbmip->i_disk_size)
|
H A D | rtbitmap.c | 182 if (mp->m_rbmip->i_disk_size < XFS_FSB_TO_B(mp, rtb->rbmblocks)) {
|
H A D | inode_repair.c | 1623 XFS_FSB_TO_B(sc->mp, off));
|