Home
last modified time | relevance | path

Searched refs:sb_blocksize (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.1.9/fs/xfs/libxfs/
Dxfs_sb.c331 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 …]
Dxfs_ag.c751 .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()
Dxfs_symlink_remote.c30 int buflen = XFS_SYMLINK_BUF_SPACE(mp, mp->m_sb.sb_blocksize); in xfs_symlink_blocks()
Dxfs_inode_buf.c688 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()
Dxfs_trans_resv.c702 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()
Dxfs_format.h98 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)
Dxfs_ialloc.c2765 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()
Dxfs_attr_remote.c55 int buflen = XFS_ATTR3_RMT_BUF_SPACE(mp, mp->m_sb.sb_blocksize); in xfs_attr3_rmt_blocks()
Dxfs_refcount.c927 overhead *= cur->bc_mp->m_sb.sb_blocksize; in xfs_refcount_still_have_space()
/linux-6.1.9/fs/qnx6/
Dsuper_mmi.c24 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()
Dinode.c211 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/
Dqnx6_fs.h104 __fs32 sb_blocksize; member
123 __fs32 sb_blocksize; member
/linux-6.1.9/fs/reiserfs/
Dresize.c155 memset(bh->b_data, 0, sb_blocksize(sb)); in reiserfs_resize()
165 bitmap[i].free_count = sb_blocksize(sb) * 8 - 1; in reiserfs_resize()
Dsuper.c1621 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()
Dprints.c568 printk("Blocksize %d\n", sb_blocksize(rs)); in print_super_block()
/linux-6.1.9/fs/xfs/
Dxfs_rtalloc.c861 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()
Dxfs_itable.c137 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()
Dxfs_discard.c189 range.len < mp->m_sb.sb_blocksize) in xfs_ioc_trim()
Dxfs_super.c826 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()
Dxfs_mount.c301 mp->m_sb.sb_blocksize); in xfs_validate_new_dalign()
319 mp->m_dalign, mp->m_sb.sb_blocksize); in xfs_validate_new_dalign()
Dxfs_bmap_util.c954 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()
Dxfs_iops.c1193 if (mp->m_sb.sb_blocksize != PAGE_SIZE) in xfs_inode_supports_dax()
Dxfs_file.c64 mask = mp->m_sb.sb_blocksize - 1; in xfs_is_falloc_aligned()
Dxfs_log.c696 mp->m_sb.sb_logsunit % mp->m_sb.sb_blocksize) { in xfs_log_mount()
/linux-6.1.9/fs/xfs/scrub/
Dagheader.c115 if (sb->sb_blocksize != cpu_to_be32(mp->m_sb.sb_blocksize)) in xchk_superblock()

12