/linux/fs/xfs/libxfs/ |
H A D | xfs_sb.c | 259 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 D | xfs_ag.c | 669 .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 D | xfs_rtbitmap.c | 1254 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 D | xfs_inode_buf.c | 827 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 D | xfs_trans_resv.c | 901 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 D | xfs_symlink_remote.c | 33 int buflen = XFS_SYMLINK_BUF_SPACE(mp, mp->m_sb.sb_blocksize); in xfs_symlink_blocks()
|
H A D | xfs_ialloc.c | 2970 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 D | xfs_bmap.c | 3474 } else if (mp->m_sb.sb_blocksize >= PAGE_SIZE) { in xfs_bmap_compute_alignments()
|
/linux/fs/qnx6/ |
H A 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()
|
H A D | inode.c | 212 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 D | qnx6_fs.h | 104 __fs32 sb_blocksize; member 123 __fs32 sb_blocksize; member
|
/linux/fs/xfs/ |
H A D | xfs_inode.h | 356 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 D | xfs_super.c | 854 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 D | xfs_iops.c | 572 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 D | xfs_mount.c | 316 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 D | xfs_rtalloc.c | 904 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 D | xfs_discard.c | 880 range.len < mp->m_sb.sb_blocksize) in xfs_ioc_trim()
|
H A D | xfs_exchrange.c | 631 alloc_unit = mp->m_sb.sb_blocksize; in xfs_exchrange_prep()
|
H A D | xfs_bmap_util.c | 584 round_up(XFS_ISIZE(ip), mp->m_sb.sb_blocksize), in xfs_free_eofblocks()
|
H A D | xfs_file.c | 862 if (ocount != ip->i_mount->m_sb.sb_blocksize) in xfs_file_write_iter()
|
/linux/fs/xfs/scrub/ |
H A D | agheader.c | 153 if (sb->sb_blocksize != cpu_to_be32(mp->m_sb.sb_blocksize)) in xchk_superblock()
|
H A D | quota_repair.c | 461 max_dqid_off * sc->mp->m_sb.sb_blocksize, in xrep_quota_data_fork()
|
H A D | tempfile.c | 500 for (; off < end; off++, pos += mp->m_sb.sb_blocksize) { in xrep_tempfile_copyin()
|