Searched refs:XFS_FSB_TO_B (Results 1 - 25 of 27) sorted by relevance

12

/linux-master/fs/xfs/libxfs/
H A Dxfs_trans_resv.c149 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 Dxfs_trans_resv.h64 (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 Dxfs_symlink_remote.c263 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 Dxfs_inode_buf.c669 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 Dxfs_dir2.c600 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 Dxfs_sb.c418 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 Dxfs_rtbitmap.c1140 return XFS_FSB_TO_B(mp, blocks) >> XFS_WORDLOG;
1169 return XFS_FSB_TO_B(mp, blocks) >> XFS_WORDLOG;
H A Dxfs_format.h459 #define XFS_FSB_TO_B(mp,fsbno) ((xfs_fsize_t)(fsbno) << (mp)->m_sb.sb_blocklog) macro
H A Dxfs_dir2_leaf.c1744 if (XFS_FSB_TO_B(mp, fo) > XFS_DIR2_LEAF_OFFSET + args->geo->blksize)
/linux-master/fs/xfs/
H A Dxfs_qm_syscalls.c405 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 Dxfs_notify_failure.c40 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 Dxfs_discard.c410 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 Dxfs_iomap.c127 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 Dxfs_rtalloc.c844 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 Dxfs_itable.c352 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 Dxfs_ioctl.c1000 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 Dxfs_aops.c411 loff_t cow_offset = XFS_FSB_TO_B(mp, cow_fsb);
H A Dxfs_reflink.c1329 newlen = XFS_FSB_TO_B(mp, dmap->br_startoff + dmap->br_blockcount);
1425 XFS_FSB_TO_B(src->i_mount, remapped_len));
H A Dxfs_file.c55 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 Dxfs_iops.c524 return XFS_FSB_TO_B(mp, xfs_get_extsz_hint(ip));
541 return XFS_FSB_TO_B(mp, mp->m_swidth);
H A Dxfs_qm.c862 j = (int)XFS_FSB_TO_B(mp, XFS_DQUOT_CLUSTER_SIZE_FSB) /
/linux-master/fs/xfs/scrub/
H A Drtbitmap_repair.c151 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 Drtsummary.c109 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 Drtbitmap.c182 if (mp->m_rbmip->i_disk_size < XFS_FSB_TO_B(mp, rtb->rbmblocks)) {
H A Dinode_repair.c1623 XFS_FSB_TO_B(sc->mp, off));

Completed in 717 milliseconds

12