/Linux-v5.10/fs/xfs/libxfs/ |
D | xfs_trans_resv.c | 138 XFS_FSB_TO_B(mp, 1)) + in xfs_calc_inobt_res() 140 XFS_FSB_TO_B(mp, 1)); in xfs_calc_inobt_res() 187 XFS_FSB_TO_B(mp, 1)); in xfs_calc_inode_chunk_res() 192 size = XFS_FSB_TO_B(mp, 1); in xfs_calc_inode_chunk_res() 210 unsigned int blksz = XFS_FSB_TO_B(mp, 1); in xfs_rtalloc_log_count() 264 unsigned int blksz = XFS_FSB_TO_B(mp, 1); in xfs_calc_write_reservation() 312 unsigned int blksz = XFS_FSB_TO_B(mp, 1); in xfs_calc_itruncate_reservation() 350 XFS_FSB_TO_B(mp, 1))), in xfs_calc_rename_reservation() 353 XFS_FSB_TO_B(mp, 1)))); in xfs_calc_rename_reservation() 390 XFS_FSB_TO_B(mp, 1))), in xfs_calc_link_reservation() [all …]
|
D | xfs_trans_resv.h | 66 (XFS_FSB_TO_B(mp, XFS_DAENTER_BLOCKS(mp, XFS_DATA_FORK)) + \ 67 (XFS_FSB_TO_B(mp, XFS_DAENTER_BMAPS(mp, XFS_DATA_FORK) + 1)))
|
D | xfs_dir2.c | 586 size = XFS_FSB_TO_B(mp, bno + count); in xfs_dir2_grow_inode() 608 rval = XFS_FSB_TO_B(args->dp->i_mount, last) == args->geo->blksize; in xfs_dir2_isblock() 706 dp->i_d.di_size = XFS_FSB_TO_B(mp, bno); in xfs_dir2_shrink_inode()
|
D | xfs_inode_buf.c | 606 extsize_bytes = XFS_FSB_TO_B(mp, extsize); in xfs_inode_validate_extsize() 661 cowextsize_bytes = XFS_FSB_TO_B(mp, cowextsize); in xfs_inode_validate_cowextsize()
|
D | xfs_sb.c | 315 XFS_FSB_TO_B(mp, sbp->sb_agblocks) < XFS_MIN_AG_BYTES || in xfs_validate_sb_common() 316 XFS_FSB_TO_B(mp, sbp->sb_agblocks) > XFS_MAX_AG_BYTES || in xfs_validate_sb_common()
|
D | xfs_format.h | 624 #define XFS_FSB_TO_B(mp,fsbno) ((xfs_fsize_t)(fsbno) << (mp)->m_sb.sb_blocklog) macro
|
D | xfs_dir2_leaf.c | 1732 if (XFS_FSB_TO_B(mp, fo) > XFS_DIR2_LEAF_OFFSET + args->geo->blksize) in xfs_dir2_node_to_leaf()
|
D | xfs_ialloc.c | 2880 igeo->inode_cluster_size = XFS_FSB_TO_B(mp, igeo->blocks_per_cluster); in xfs_ialloc_setup_geometry()
|
D | xfs_bmap.c | 4592 XFS_STATS_ADD(mp, xs_xstrat_bytes, XFS_FSB_TO_B(mp, bma.length)); in xfs_bmapi_convert_delalloc() 4818 uint64_t rtexts = XFS_FSB_TO_B(mp, del->br_blockcount); in xfs_bmap_del_extent_delay()
|
/Linux-v5.10/fs/xfs/ |
D | xfs_discard.c | 187 if (range.start >= XFS_FSB_TO_B(mp, mp->m_sb.sb_dblocks) || in xfs_ioc_trim() 188 range.minlen > XFS_FSB_TO_B(mp, mp->m_ag_max_usable) || in xfs_ioc_trim() 214 range.len = XFS_FSB_TO_B(mp, blocks_trimmed); in xfs_ioc_trim()
|
D | xfs_iomap.c | 79 iomap->offset = XFS_FSB_TO_B(mp, imap->br_startoff); in xfs_bmbt_to_iomap() 80 iomap->length = XFS_FSB_TO_B(mp, imap->br_blockcount); in xfs_bmbt_to_iomap() 102 iomap->offset = XFS_FSB_TO_B(ip->i_mount, offset_fsb); in xfs_hole_to_iomap() 103 iomap->length = XFS_FSB_TO_B(ip->i_mount, end_fsb - offset_fsb); in xfs_hole_to_iomap() 140 if (align && XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, align)) in xfs_eof_alignment() 386 if (XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, mp->m_allocsize_blocks)) in xfs_iomap_prealloc_size() 393 if (XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, mp->m_dalign) || in xfs_iomap_prealloc_size() 579 i_size = XFS_FSB_TO_B(mp, offset_fsb + count_fsb); in xfs_iomap_write_unwritten() 780 length = XFS_FSB_TO_B(mp, end_fsb) - offset; in xfs_direct_write_iomap_begin() 835 length = XFS_FSB_TO_B(mp, cmap.br_startoff + cmap.br_blockcount); in xfs_direct_write_iomap_begin() [all …]
|
D | xfs_qm_syscalls.c | 648 dst->d_spc_hardlimit = XFS_FSB_TO_B(mp, dqp->q_blk.hardlimit); in xfs_qm_scall_getquota_fill_qc() 649 dst->d_spc_softlimit = XFS_FSB_TO_B(mp, dqp->q_blk.softlimit); in xfs_qm_scall_getquota_fill_qc() 652 dst->d_space = XFS_FSB_TO_B(mp, dqp->q_blk.reserved); in xfs_qm_scall_getquota_fill_qc() 658 dst->d_rt_spc_hardlimit = XFS_FSB_TO_B(mp, dqp->q_rtb.hardlimit); in xfs_qm_scall_getquota_fill_qc() 659 dst->d_rt_spc_softlimit = XFS_FSB_TO_B(mp, dqp->q_rtb.softlimit); in xfs_qm_scall_getquota_fill_qc() 660 dst->d_rt_space = XFS_FSB_TO_B(mp, dqp->q_rtb.reserved); in xfs_qm_scall_getquota_fill_qc()
|
D | xfs_itable.c | 293 bs1->bs_extsize = XFS_FSB_TO_B(mp, bstat->bs_extsize_blks); in xfs_bulkstat_to_bstat() 301 bs1->bs_cowextsize = XFS_FSB_TO_B(mp, bstat->bs_cowextsize_blks); in xfs_bulkstat_to_bstat()
|
D | xfs_symlink.c | 54 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount); in xfs_readlink_bmap_ilocked() 277 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount); in xfs_symlink()
|
D | xfs_reflink.c | 1133 newlen = XFS_FSB_TO_B(mp, dmap->br_startoff + dmap->br_blockcount); in xfs_reflink_remap_extent() 1228 XFS_FSB_TO_B(src->i_mount, remapped_len)); in xfs_reflink_remap_blocks()
|
D | xfs_rtalloc.c | 952 nrsumsize = XFS_FSB_TO_B(mp, nrsumblocks); in xfs_growfs_rt() 1016 nmp->m_rsumsize = nrsumsize = XFS_FSB_TO_B(mp, nrsumblocks); in xfs_growfs_rt()
|
D | xfs_file.c | 53 rextbytes = XFS_FSB_TO_B(mp, mp->m_sb.sb_rextsize); in xfs_is_falloc_aligned() 60 mask = XFS_FSB_TO_B(mp, mp->m_sb.sb_rextsize) - 1; in xfs_is_falloc_aligned()
|
D | xfs_aops.c | 472 loff_t cow_offset = XFS_FSB_TO_B(mp, cow_fsb); in xfs_map_blocks()
|
D | xfs_log.c | 592 } else if (XFS_FSB_TO_B(mp, mp->m_sb.sb_logblocks) > XFS_MAX_LOG_BYTES) { in xfs_log_mount() 595 XFS_FSB_TO_B(mp, mp->m_sb.sb_logblocks), in xfs_log_mount()
|
D | xfs_qm.c | 851 j = (int)XFS_FSB_TO_B(mp, XFS_DQUOT_CLUSTER_SIZE_FSB) / in xfs_qm_reset_dqcounts()
|
/Linux-v5.10/fs/xfs/scrub/ |
D | rtbitmap.c | 106 XFS_FSB_TO_B(sc->mp, sc->mp->m_sb.sb_rbmblocks)) { in xchk_rtbitmap()
|