Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_sb.c203 align = XFS_INODES_PER_CHUNK * sbp->sb_inodesize in xfs_mount_validate_sb()
246 sbp->sb_inodesize < XFS_DINODE_MIN_SIZE || in xfs_mount_validate_sb()
247 sbp->sb_inodesize > XFS_DINODE_MAX_SIZE || in xfs_mount_validate_sb()
250 sbp->sb_inodesize != (1 << sbp->sb_inodelog) || in xfs_mount_validate_sb()
252 sbp->sb_inopblock != howmany(sbp->sb_blocksize,sbp->sb_inodesize) || in xfs_mount_validate_sb()
285 switch (sbp->sb_inodesize) { in xfs_mount_validate_sb()
293 sbp->sb_inodesize); in xfs_mount_validate_sb()
386 to->sb_inodesize = be16_to_cpu(from->sb_inodesize); in __xfs_sb_from_disk()
529 to->sb_inodesize = cpu_to_be16(from->sb_inodesize); in xfs_sb_to_disk()
Dxfs_inode_buf.c51 dip = xfs_buf_offset(bp, i * mp->m_sb.sb_inodesize); in xfs_inobp_check()
415 if (!xfs_verify_cksum((char *)dip, mp->m_sb.sb_inodesize, in xfs_dinode_verify()
453 crc = xfs_start_cksum((char *)dip, mp->m_sb.sb_inodesize, in xfs_dinode_calc_crc()
Dxfs_format.h123 __uint16_t sb_inodesize; /* inode size, bytes */ member
214 __be16 sb_inodesize; /* inode size, bytes */ member
961 ((int)(((mp)->m_sb.sb_inodesize) - xfs_dinode_size(version)))
Dxfs_trans_resv.c130 mp->m_sb.sb_inodesize + in xfs_calc_inode_res()
Dxfs_dir2_sf.c183 dst = kmem_alloc(mp->m_sb.sb_inodesize, KM_SLEEP); in xfs_dir2_block_to_sf()
Dxfs_inode_fork.c108 if (unlikely(dip->di_forkoff > ip->i_mount->m_sb.sb_inodesize)) { in xfs_iformat_fork()
Dxfs_ialloc.c312 mp->m_sb.sb_inodesize, length, gen); in xfs_ialloc_inode_init()
Dxfs_bmap.c235 if (mp->m_sb.sb_inodesize == 256) { in xfs_default_attroffset()
/fs/xfs/
Dxfs_log_recover.c2158 next_unlinked_offset = (i * mp->m_sb.sb_inodesize) + in xlog_recover_do_inode_buffer()
2227 xfs_buf_offset(bp, i * mp->m_sb.sb_inodesize)); in xlog_recover_do_inode_buffer()
3134 if (unlikely(ldip->di_forkoff > mp->m_sb.sb_inodesize)) { in xlog_recover_inode_pass2()
3870 if (isize != mp->m_sb.sb_inodesize) { in xlog_recover_do_icreate_pass2()
Dxfs_mount.c735 new_size *= mp->m_sb.sb_inodesize / XFS_DINODE_MIN_SIZE; in xfs_mountfs()
Dxfs_fsops.c67 geo->inodesize = mp->m_sb.sb_inodesize; in xfs_fs_geometry()
Dxfs_inode.c3586 if (XFS_TEST_ERROR(ip->i_d.di_forkoff > mp->m_sb.sb_inodesize, in xfs_iflush_int()