/linux-6.1.9/fs/xfs/libxfs/ |
D | xfs_sb.c | 331 if (sbp->sb_blocksize < XFS_MIN_CRC_BLOCKSIZE) { in xfs_validate_sb_common() 334 sbp->sb_blocksize, XFS_MIN_CRC_BLOCKSIZE); in xfs_validate_sb_common() 403 sbp->sb_blocksize < XFS_MIN_BLOCKSIZE || in xfs_validate_sb_common() 404 sbp->sb_blocksize > XFS_MAX_BLOCKSIZE || in xfs_validate_sb_common() 407 sbp->sb_blocksize != (1 << sbp->sb_blocklog) || in xfs_validate_sb_common() 415 sbp->sb_inopblock != howmany(sbp->sb_blocksize,sbp->sb_inodesize) || in xfs_validate_sb_common() 421 (sbp->sb_rextsize * sbp->sb_blocksize > XFS_MAX_RTEXTSIZE) || in xfs_validate_sb_common() 422 (sbp->sb_rextsize * sbp->sb_blocksize < XFS_MIN_RTEXTSIZE) || in xfs_validate_sb_common() 433 if (sbp->sb_rextsize * sbp->sb_blocksize > XFS_MAX_RTEXTSIZE || in xfs_validate_sb_common() 434 sbp->sb_rextsize * sbp->sb_blocksize < XFS_MIN_RTEXTSIZE) { in xfs_validate_sb_common() [all …]
|
D | xfs_ag.c | 751 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers() 758 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers() 765 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers() 773 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers() 781 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers() 788 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers()
|
D | xfs_symlink_remote.c | 30 int buflen = XFS_SYMLINK_BUF_SPACE(mp, mp->m_sb.sb_blocksize); in xfs_symlink_blocks()
|
D | xfs_inode_buf.c | 688 blocksize_bytes = mp->m_sb.sb_blocksize; in xfs_inode_validate_extsize() 763 if (cowextsize_bytes % mp->m_sb.sb_blocksize) in xfs_inode_validate_cowextsize()
|
D | xfs_trans_resv.c | 702 return xfs_calc_buf_res(1, mp->m_sb.sb_blocksize); in xfs_calc_growrtzero_reservation() 721 xfs_calc_buf_res(1, mp->m_sb.sb_blocksize) + in xfs_calc_growrtfree_reservation()
|
D | xfs_format.h | 98 uint32_t sb_blocksize; /* logical block size, bytes */ member 189 __be32 sb_blocksize; /* logical block size, bytes */ member 1143 #define XFS_BLOCKSIZE(mp) ((mp)->m_sb.sb_blocksize)
|
D | xfs_ialloc.c | 2765 igeo->inobt_mxr[0] = xfs_inobt_maxrecs(mp, sbp->sb_blocksize, 1); in xfs_ialloc_setup_geometry() 2766 igeo->inobt_mxr[1] = xfs_inobt_maxrecs(mp, sbp->sb_blocksize, 0); in xfs_ialloc_setup_geometry() 2825 if (igeo->inode_cluster_size_raw > mp->m_sb.sb_blocksize) in xfs_ialloc_setup_geometry() 2870 first_bno = howmany(4 * mp->m_sb.sb_sectsize, mp->m_sb.sb_blocksize); in xfs_ialloc_calc_rootino()
|
D | xfs_attr_remote.c | 55 int buflen = XFS_ATTR3_RMT_BUF_SPACE(mp, mp->m_sb.sb_blocksize); in xfs_attr3_rmt_blocks()
|
D | xfs_refcount.c | 927 overhead *= cur->bc_mp->m_sb.sb_blocksize; in xfs_refcount_still_have_space()
|
/linux-6.1.9/fs/qnx6/ |
D | super_mmi.c | 24 qsb->sb_blocksize = sb->sb_blocksize; in qnx6_mmi_copy_sb() 69 fs32_to_cpu(sbi, sb1->sb_blocksize); in qnx6_mmi_fill_super() 72 if (!sb_set_blocksize(s, fs32_to_cpu(sbi, sb1->sb_blocksize))) { in qnx6_mmi_fill_super()
|
D | inode.c | 211 pr_debug("blocksize: %08x\n", fs32_to_cpu(sbi, sb->sb_blocksize)); in qnx6_superblock_debug() 361 if (!sb_set_blocksize(s, fs32_to_cpu(sbi, sb1->sb_blocksize))) { in qnx6_fill_super()
|
/linux-6.1.9/include/linux/ |
D | qnx6_fs.h | 104 __fs32 sb_blocksize; member 123 __fs32 sb_blocksize; member
|
/linux-6.1.9/fs/reiserfs/ |
D | resize.c | 155 memset(bh->b_data, 0, sb_blocksize(sb)); in reiserfs_resize() 165 bitmap[i].free_count = sb_blocksize(sb) * 8 - 1; in reiserfs_resize()
|
D | super.c | 1621 fs_blocksize = sb_blocksize(rs); in read_super_block() 1635 if (sb_blocksize(rs) != s->s_blocksize) { in read_super_block() 1981 if (bdev_nr_bytes(s->s_bdev) < sb_block_count(rs) * sb_blocksize(rs)) { in reiserfs_fill_super()
|
D | prints.c | 568 printk("Blocksize %d\n", sb_blocksize(rs)); in print_super_block()
|
/linux-6.1.9/fs/xfs/ |
D | xfs_rtalloc.c | 861 memset(bp->b_addr, 0, mp->m_sb.sb_blocksize); in xfs_growfs_rt_alloc() 862 xfs_trans_log_buf(tp, bp, 0, mp->m_sb.sb_blocksize - 1); in xfs_growfs_rt_alloc() 979 nrbmblocks = howmany_64(nrextents, NBBY * sbp->sb_blocksize); in xfs_growfs_rt() 1036 nrblocks_step = (bmbno + 1) * NBBY * nsbp->sb_blocksize * in xfs_growfs_rt() 1067 nsbp->sb_rbmblocks * nsbp->sb_blocksize; in xfs_growfs_rt() 1267 mp->m_rsumsize = roundup(mp->m_rsumsize, sbp->sb_blocksize); in xfs_rtmount_init()
|
D | xfs_itable.c | 137 buf->bs_blksize = mp->m_sb.sb_blocksize; in xfs_bulkstat_one_int() 143 buf->bs_blksize = mp->m_sb.sb_blocksize; in xfs_bulkstat_one_int()
|
D | xfs_discard.c | 189 range.len < mp->m_sb.sb_blocksize) in xfs_ioc_trim()
|
D | xfs_super.c | 826 statp->f_bsize = sbp->sb_blocksize; in xfs_fs_statfs() 1561 if (mp->m_sb.sb_blocksize > PAGE_SIZE) { in xfs_fs_fill_super() 1565 mp->m_sb.sb_blocksize, PAGE_SIZE); in xfs_fs_fill_super() 1608 sb->s_blocksize = mp->m_sb.sb_blocksize; in xfs_fs_fill_super()
|
D | xfs_mount.c | 301 mp->m_sb.sb_blocksize); in xfs_validate_new_dalign() 319 mp->m_dalign, mp->m_sb.sb_blocksize); in xfs_validate_new_dalign()
|
D | xfs_bmap_util.c | 954 rounding = max_t(xfs_off_t, mp->m_sb.sb_blocksize, PAGE_SIZE); in xfs_flush_unmap_range() 1061 offset = round_down(offset, mp->m_sb.sb_blocksize); in xfs_prepare_shift() 1063 offset -= mp->m_sb.sb_blocksize; in xfs_prepare_shift()
|
D | xfs_iops.c | 1193 if (mp->m_sb.sb_blocksize != PAGE_SIZE) in xfs_inode_supports_dax()
|
D | xfs_file.c | 64 mask = mp->m_sb.sb_blocksize - 1; in xfs_is_falloc_aligned()
|
D | xfs_log.c | 696 mp->m_sb.sb_logsunit % mp->m_sb.sb_blocksize) { in xfs_log_mount()
|
/linux-6.1.9/fs/xfs/scrub/ |
D | agheader.c | 115 if (sb->sb_blocksize != cpu_to_be32(mp->m_sb.sb_blocksize)) in xchk_superblock()
|