Home
last modified time | relevance | path

Searched refs:sb_inodesize (Results 1 – 13 of 13) sorted by relevance

/linux-4.19.296/fs/xfs/libxfs/
Dxfs_sb.c262 align = XFS_INODES_PER_CHUNK * sbp->sb_inodesize in xfs_validate_sb_common()
312 sbp->sb_inodesize < XFS_DINODE_MIN_SIZE || in xfs_validate_sb_common()
313 sbp->sb_inodesize > XFS_DINODE_MAX_SIZE || in xfs_validate_sb_common()
316 sbp->sb_inodesize != (1 << sbp->sb_inodelog) || in xfs_validate_sb_common()
318 sbp->sb_inopblock != howmany(sbp->sb_blocksize,sbp->sb_inodesize) || in xfs_validate_sb_common()
371 switch (sbp->sb_inodesize) { in xfs_validate_sb_common()
379 sbp->sb_inodesize); in xfs_validate_sb_common()
477 to->sb_inodesize = be16_to_cpu(from->sb_inodesize); in __xfs_sb_from_disk()
620 to->sb_inodesize = cpu_to_be16(from->sb_inodesize); in xfs_sb_to_disk()
1098 geo->inodesize = sbp->sb_inodesize; in xfs_fs_geometry()
Dxfs_inode_buf.c42 dip = xfs_buf_offset(bp, i * mp->m_sb.sb_inodesize); in xfs_inobp_check()
462 if (!xfs_verify_cksum((char *)dip, mp->m_sb.sb_inodesize, in xfs_dinode_verify()
490 if (mode && XFS_DFORK_BOFF(dip) > mp->m_sb.sb_inodesize) in xfs_dinode_verify()
597 crc = xfs_start_cksum_update((char *)dip, mp->m_sb.sb_inodesize, in xfs_dinode_calc_crc()
Dxfs_format.h114 uint16_t sb_inodesize; /* inode size, bytes */ member
205 __be16 sb_inodesize; /* inode size, bytes */ member
944 ((int)(((mp)->m_sb.sb_inodesize) - xfs_dinode_size(version)))
Dxfs_trans_resv.c121 mp->m_sb.sb_inodesize + in xfs_calc_inode_res()
Dxfs_dir2_sf.c170 dst = kmem_alloc(mp->m_sb.sb_inodesize, KM_SLEEP); in xfs_dir2_block_to_sf()
Dxfs_ialloc.c340 mp->m_sb.sb_inodesize, length, gen); in xfs_ialloc_inode_init()
Dxfs_bmap.c200 if (mp->m_sb.sb_inodesize == 256) { in xfs_default_attroffset()
/linux-4.19.296/fs/xfs/scrub/
Dialloc.c149 dip = xfs_buf_offset(bp, clusterino * mp->m_sb.sb_inodesize); in xchk_iallocbt_check_cluster_freemask()
314 irec.ir_count * mp->m_sb.sb_inodesize); in xchk_iallocbt_rec()
319 XFS_INODES_PER_CHUNK * mp->m_sb.sb_inodesize); in xchk_iallocbt_rec()
332 XFS_INODES_PER_HOLEMASK_BIT * mp->m_sb.sb_inodesize); in xchk_iallocbt_rec()
Dagheader.c179 if (sb->sb_inodesize != cpu_to_be16(mp->m_sb.sb_inodesize)) in xchk_superblock()
Dinode.c384 if (XFS_DFORK_APTR(dip) >= (char *)dip + mp->m_sb.sb_inodesize) in xchk_dinode()
/linux-4.19.296/fs/xfs/
Dxfs_mount.c797 new_size *= mp->m_sb.sb_inodesize / XFS_DINODE_MIN_SIZE; in xfs_mountfs()
Dxfs_log_recover.c2167 next_unlinked_offset = (i * mp->m_sb.sb_inodesize) + in xlog_recover_do_inode_buffer()
2236 xfs_buf_offset(bp, i * mp->m_sb.sb_inodesize)); in xlog_recover_do_inode_buffer()
3153 if (unlikely(ldip->di_forkoff > mp->m_sb.sb_inodesize)) { in xlog_recover_inode_pass2()
3881 if (isize != mp->m_sb.sb_inodesize) { in xlog_recover_do_icreate_pass2()
Dxfs_inode.c3511 if (XFS_TEST_ERROR(ip->i_d.di_forkoff > mp->m_sb.sb_inodesize, in xfs_iflush_int()