Home
last modified time | relevance | path

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

/linux/fs/xfs/libxfs/
H A Dxfs_sb.c259 return sbp->sb_blocksize - sizeof(struct xfs_rtbuf_blkinfo); in xfs_rtbmblock_size()
260 return sbp->sb_blocksize; in xfs_rtbmblock_size()
276 if (sbp->sb_rextsize * sbp->sb_blocksize > XFS_MAX_RTEXTSIZE || in xfs_validate_rt_geometry()
277 sbp->sb_rextsize * sbp->sb_blocksize < XFS_MIN_RTEXTSIZE) in xfs_validate_rt_geometry()
466 if (sbp->sb_blocksize < XFS_MIN_CRC_BLOCKSIZE) { in xfs_validate_sb_common()
469 sbp->sb_blocksize, XFS_MIN_CRC_BLOCKSIZE); in xfs_validate_sb_common()
565 sbp->sb_blocksize < XFS_MIN_BLOCKSIZE || in xfs_validate_sb_common()
566 sbp->sb_blocksize > XFS_MAX_BLOCKSIZE || in xfs_validate_sb_common()
569 sbp->sb_blocksize != (1 << sbp->sb_blocklog) || in xfs_validate_sb_common()
576 sbp->sb_inopblock != howmany(sbp->sb_blocksize,sbp->sb_inodesize) || in xfs_validate_sb_common()
[all …]
H A Dxfs_ag.c669 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers()
677 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers()
685 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers()
693 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers()
701 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers()
709 .numblks = BTOBB(mp->m_sb.sb_blocksize), in xfs_ag_init_headers()
H A Dxfs_rtbitmap.c1254 unsigned int rbmblock_bytes = mp->m_sb.sb_blocksize; in xfs_rtbitmap_rtx_per_rbmblock()
1413 xfs_trans_log_buf(tp, bp, 0, mp->m_sb.sb_blocksize - 1); in xfs_rtfile_initialize_block()
1472 ip->i_disk_size = mp->m_sb.sb_rbmblocks * mp->m_sb.sb_blocksize; in xfs_rtbitmap_create()
1490 ip->i_disk_size = mp->m_rsumblocks * mp->m_sb.sb_blocksize; in xfs_rtsummary_create()
H A Dxfs_inode_buf.c827 blocksize_bytes = mp->m_sb.sb_blocksize; in xfs_inode_validate_extsize()
902 if (cowextsize_bytes % mp->m_sb.sb_blocksize) in xfs_inode_validate_cowextsize()
H A Dxfs_trans_resv.c901 return xfs_calc_buf_res(1, mp->m_sb.sb_blocksize); in xfs_calc_growrtzero_reservation()
920 xfs_calc_buf_res(1, mp->m_sb.sb_blocksize) + in xfs_calc_growrtfree_reservation()
H A Dxfs_symlink_remote.c33 int buflen = XFS_SYMLINK_BUF_SPACE(mp, mp->m_sb.sb_blocksize); in xfs_symlink_blocks()
H A Dxfs_ialloc.c2970 igeo->inobt_mxr[0] = xfs_inobt_maxrecs(mp, sbp->sb_blocksize, true); in xfs_ialloc_setup_geometry()
2971 igeo->inobt_mxr[1] = xfs_inobt_maxrecs(mp, sbp->sb_blocksize, false); in xfs_ialloc_setup_geometry()
3030 if (igeo->inode_cluster_size_raw > mp->m_sb.sb_blocksize) in xfs_ialloc_setup_geometry()
3057 if (mp->m_sb.sb_blocksize > PAGE_SIZE) in xfs_ialloc_setup_geometry()
3080 first_bno = howmany(4 * mp->m_sb.sb_sectsize, mp->m_sb.sb_blocksize); in xfs_ialloc_calc_rootino()
H A Dxfs_bmap.c3474 } else if (mp->m_sb.sb_blocksize >= PAGE_SIZE) { in xfs_bmap_compute_alignments()
/linux/fs/qnx6/
H A 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()
H A Dinode.c212 pr_debug("blocksize: %08x\n", fs32_to_cpu(sbi, sb->sb_blocksize)); in qnx6_superblock_debug()
357 if (!sb_set_blocksize(s, fs32_to_cpu(sbi, sb1->sb_blocksize))) { in qnx6_fill_super()
/linux/include/linux/
H A Dqnx6_fs.h104 __fs32 sb_blocksize; member
123 __fs32 sb_blocksize; member
/linux/fs/xfs/
H A Dxfs_inode.h356 if (mp->m_sb.sb_blocksize < target->bt_bdev_awu_min) in xfs_inode_can_atomicwrite()
358 if (mp->m_sb.sb_blocksize > target->bt_bdev_awu_max) in xfs_inode_can_atomicwrite()
H A Dxfs_super.c854 statp->f_bsize = sbp->sb_blocksize; in xfs_fs_statfs()
1656 if (mp->m_sb.sb_blocksize > PAGE_SIZE) { in xfs_fs_fill_super()
1662 mp->m_sb.sb_blocksize, PAGE_SIZE); in xfs_fs_fill_super()
1667 if (mp->m_sb.sb_blocksize > max_folio_size) { in xfs_fs_fill_super()
1670 mp->m_sb.sb_blocksize, max_folio_size); in xfs_fs_fill_super()
1720 sb->s_blocksize = mp->m_sb.sb_blocksize; in xfs_fs_fill_super()
H A Dxfs_iops.c572 return max_t(uint32_t, PAGE_SIZE, mp->m_sb.sb_blocksize); in xfs_stat_blksize()
586 *unit_min = *unit_max = ip->i_mount->m_sb.sb_blocksize; in xfs_get_atomic_write_attr()
1244 if (mp->m_sb.sb_blocksize != PAGE_SIZE) in xfs_inode_supports_dax()
H A Dxfs_mount.c316 mp->m_sb.sb_blocksize); in xfs_validate_new_dalign()
334 mp->m_dalign, mp->m_sb.sb_blocksize); in xfs_validate_new_dalign()
H A Dxfs_rtalloc.c904 rbmip->i_disk_size = nmp->m_sb.sb_rbmblocks * nmp->m_sb.sb_blocksize; in xfs_growfs_rt_bmblock()
913 rsumip->i_disk_size = nmp->m_rsumblocks * nmp->m_sb.sb_blocksize; in xfs_growfs_rt_bmblock()
1374 mp->m_sb.sb_blocksize >> BBSHIFT, XBF_NO_IOACCT, &bp, in xfs_rtmount_readsb()
H A Dxfs_discard.c880 range.len < mp->m_sb.sb_blocksize) in xfs_ioc_trim()
H A Dxfs_exchrange.c631 alloc_unit = mp->m_sb.sb_blocksize; in xfs_exchrange_prep()
H A Dxfs_bmap_util.c584 round_up(XFS_ISIZE(ip), mp->m_sb.sb_blocksize), in xfs_free_eofblocks()
H A Dxfs_file.c862 if (ocount != ip->i_mount->m_sb.sb_blocksize) in xfs_file_write_iter()
/linux/fs/xfs/scrub/
H A Dagheader.c153 if (sb->sb_blocksize != cpu_to_be32(mp->m_sb.sb_blocksize)) in xchk_superblock()
H A Dquota_repair.c461 max_dqid_off * sc->mp->m_sb.sb_blocksize, in xrep_quota_data_fork()
H A Dtempfile.c500 for (; off < end; off++, pos += mp->m_sb.sb_blocksize) { in xrep_tempfile_copyin()