/linux-6.1.9/fs/xfs/libxfs/ |
D | xfs_trans_resv.c | 148 XFS_FSB_TO_B(mp, 1)) + in xfs_calc_inobt_res() 150 XFS_FSB_TO_B(mp, 1)); in xfs_calc_inobt_res() 197 XFS_FSB_TO_B(mp, 1)); in xfs_calc_inode_chunk_res() 202 size = XFS_FSB_TO_B(mp, 1); in xfs_calc_inode_chunk_res() 220 unsigned int blksz = XFS_FSB_TO_B(mp, 1); in xfs_rtalloc_block_count() 260 unsigned int blksz = XFS_FSB_TO_B(mp, 1); in xfs_calc_refcountbt_reservation() 298 unsigned int blksz = XFS_FSB_TO_B(mp, 1); in xfs_calc_write_reservation() 378 unsigned int blksz = XFS_FSB_TO_B(mp, 1); in xfs_calc_itruncate_reservation() 442 XFS_FSB_TO_B(mp, 1))), in xfs_calc_rename_reservation() 445 XFS_FSB_TO_B(mp, 1)))); in xfs_calc_rename_reservation() [all …]
|
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)))
|
D | xfs_dir2.c | 598 size = XFS_FSB_TO_B(mp, bno + count); in xfs_dir2_grow_inode() 624 if (XFS_FSB_TO_B(mp, eof) != args->geo->blksize) in xfs_dir2_isblock() 728 dp->i_disk_size = XFS_FSB_TO_B(mp, bno); in xfs_dir2_shrink_inode()
|
D | xfs_inode_buf.c | 657 extsize_bytes = XFS_FSB_TO_B(mp, extsize); in xfs_inode_validate_extsize() 686 blocksize_bytes = XFS_FSB_TO_B(mp, mp->m_sb.sb_rextsize); in xfs_inode_validate_extsize() 745 cowextsize_bytes = XFS_FSB_TO_B(mp, cowextsize); in xfs_inode_validate_cowextsize()
|
D | xfs_sb.c | 416 XFS_FSB_TO_B(mp, sbp->sb_agblocks) < XFS_MIN_AG_BYTES || in xfs_validate_sb_common() 417 XFS_FSB_TO_B(mp, sbp->sb_agblocks) > XFS_MAX_AG_BYTES || in xfs_validate_sb_common() 474 if (!xfs_validate_stripe_geometry(mp, XFS_FSB_TO_B(mp, sbp->sb_unit), in xfs_validate_sb_common() 475 XFS_FSB_TO_B(mp, sbp->sb_width), 0, false)) in xfs_validate_sb_common()
|
D | xfs_format.h | 459 #define XFS_FSB_TO_B(mp,fsbno) ((xfs_fsize_t)(fsbno) << (mp)->m_sb.sb_blocklog) macro
|
D | xfs_dir2_leaf.c | 1741 if (XFS_FSB_TO_B(mp, fo) > XFS_DIR2_LEAF_OFFSET + args->geo->blksize) in xfs_dir2_node_to_leaf()
|
D | xfs_ialloc.c | 2830 igeo->inode_cluster_size = XFS_FSB_TO_B(mp, igeo->blocks_per_cluster); in xfs_ialloc_setup_geometry()
|
D | xfs_bmap.c | 4598 XFS_STATS_ADD(mp, xs_xstrat_bytes, XFS_FSB_TO_B(mp, bma.length)); in xfs_bmapi_convert_delalloc() 4822 uint64_t rtexts = XFS_FSB_TO_B(mp, del->br_blockcount); in xfs_bmap_del_extent_delay()
|
/linux-6.1.9/fs/xfs/ |
D | xfs_qm_syscalls.c | 405 dst->d_spc_hardlimit = XFS_FSB_TO_B(mp, dqp->q_blk.hardlimit); in xfs_qm_scall_getquota_fill_qc() 406 dst->d_spc_softlimit = XFS_FSB_TO_B(mp, dqp->q_blk.softlimit); in xfs_qm_scall_getquota_fill_qc() 409 dst->d_space = XFS_FSB_TO_B(mp, dqp->q_blk.reserved); in xfs_qm_scall_getquota_fill_qc() 415 dst->d_rt_spc_hardlimit = XFS_FSB_TO_B(mp, dqp->q_rtb.hardlimit); in xfs_qm_scall_getquota_fill_qc() 416 dst->d_rt_spc_softlimit = XFS_FSB_TO_B(mp, dqp->q_rtb.softlimit); in xfs_qm_scall_getquota_fill_qc() 417 dst->d_rt_space = XFS_FSB_TO_B(mp, dqp->q_rtb.reserved); in xfs_qm_scall_getquota_fill_qc()
|
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_notify_failure.c | 39 loff_t pos = XFS_FSB_TO_B(mp, rec->rm_offset); in xfs_failure_pgoff() 42 pos += XFS_FSB_TO_B(mp, in xfs_failure_pgoff() 64 return XFS_FSB_TO_B(mp, end_cross - start_cross) >> PAGE_SHIFT; in xfs_failure_pgcnt()
|
D | xfs_iomap.c | 83 iomap->offset = XFS_FSB_TO_B(mp, imap->br_startoff); in xfs_bmbt_to_iomap() 84 iomap->length = XFS_FSB_TO_B(mp, imap->br_blockcount); in xfs_bmbt_to_iomap() 108 iomap->offset = XFS_FSB_TO_B(ip->i_mount, offset_fsb); in xfs_hole_to_iomap() 109 iomap->length = XFS_FSB_TO_B(ip->i_mount, end_fsb - offset_fsb); in xfs_hole_to_iomap() 146 if (align && XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, align)) in xfs_eof_alignment() 388 if (XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, mp->m_allocsize_blocks)) in xfs_iomap_prealloc_size() 395 if (XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, mp->m_dalign) || in xfs_iomap_prealloc_size() 581 i_size = XFS_FSB_TO_B(mp, offset_fsb + count_fsb); in xfs_iomap_write_unwritten() 783 length = XFS_FSB_TO_B(mp, end_fsb) - offset; in xfs_direct_write_iomap_begin() 852 length = XFS_FSB_TO_B(mp, cmap.br_startoff + cmap.br_blockcount); in xfs_direct_write_iomap_begin() [all …]
|
D | xfs_itable.c | 341 bs1->bs_extsize = XFS_FSB_TO_B(mp, bstat->bs_extsize_blks); in xfs_bulkstat_to_bstat() 349 bs1->bs_cowextsize = XFS_FSB_TO_B(mp, bstat->bs_cowextsize_blks); in xfs_bulkstat_to_bstat()
|
D | xfs_symlink.c | 56 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount); in xfs_readlink_bmap_ilocked() 286 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount); in xfs_symlink()
|
D | xfs_rtalloc.c | 952 if (XFS_FSB_TO_B(mp, in->extsize) > XFS_MAX_RTEXTSIZE || in xfs_growfs_rt() 953 XFS_FSB_TO_B(mp, in->extsize) < XFS_MIN_RTEXTSIZE) in xfs_growfs_rt() 984 nrsumsize = XFS_FSB_TO_B(mp, nrsumblocks); in xfs_growfs_rt() 1048 nmp->m_rsumsize = nrsumsize = XFS_FSB_TO_B(mp, nrsumblocks); in xfs_growfs_rt()
|
D | xfs_ioctl.c | 999 fa->fsx_extsize = XFS_FSB_TO_B(mp, ip->i_extsize); in xfs_fill_fsxattr() 1012 fa->fsx_extsize = XFS_FSB_TO_B(mp, ip->i_extsize); in xfs_fill_fsxattr() 1017 fa->fsx_cowextsize = XFS_FSB_TO_B(mp, ip->i_cowextsize); in xfs_fill_fsxattr() 1233 XFS_FSB_TO_B(mp, ip->i_extsize) != fa->fsx_extsize) in xfs_ioctl_setattr_check_extsize() 1251 rtextsize_bytes = XFS_FSB_TO_B(mp, mp->m_sb.sb_rextsize); in xfs_ioctl_setattr_check_extsize()
|
D | xfs_aops.c | 401 loff_t cow_offset = XFS_FSB_TO_B(mp, cow_fsb); in xfs_map_blocks()
|
D | xfs_iops.c | 525 return XFS_FSB_TO_B(mp, xfs_get_extsz_hint(ip)); in xfs_stat_blksize() 542 return XFS_FSB_TO_B(mp, mp->m_swidth); in xfs_stat_blksize()
|
D | xfs_file.c | 55 rextbytes = XFS_FSB_TO_B(mp, mp->m_sb.sb_rextsize); in xfs_is_falloc_aligned() 62 mask = XFS_FSB_TO_B(mp, mp->m_sb.sb_rextsize) - 1; in xfs_is_falloc_aligned()
|
D | xfs_reflink.c | 1324 newlen = XFS_FSB_TO_B(mp, dmap->br_startoff + dmap->br_blockcount); in xfs_reflink_remap_extent() 1419 XFS_FSB_TO_B(src->i_mount, remapped_len)); in xfs_reflink_remap_blocks()
|
D | xfs_log.c | 689 } else if (XFS_FSB_TO_B(mp, mp->m_sb.sb_logblocks) > XFS_MAX_LOG_BYTES) { in xfs_log_mount() 692 XFS_FSB_TO_B(mp, mp->m_sb.sb_logblocks), in xfs_log_mount()
|
D | xfs_qm.c | 844 j = (int)XFS_FSB_TO_B(mp, XFS_DQUOT_CLUSTER_SIZE_FSB) / in xfs_qm_reset_dqcounts()
|
/linux-6.1.9/fs/xfs/scrub/ |
D | rtbitmap.c | 104 XFS_FSB_TO_B(sc->mp, sc->mp->m_sb.sb_rbmblocks)) { in xchk_rtbitmap()
|