Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_sb.c257 align = XFS_INODES_PER_CHUNK * sbp->sb_inodesize in xfs_validate_sb_common()
307 sbp->sb_inodesize < XFS_DINODE_MIN_SIZE || in xfs_validate_sb_common()
308 sbp->sb_inodesize > XFS_DINODE_MAX_SIZE || in xfs_validate_sb_common()
311 sbp->sb_inodesize != (1 << sbp->sb_inodelog) || in xfs_validate_sb_common()
313 sbp->sb_inopblock != howmany(sbp->sb_blocksize,sbp->sb_inodesize) || in xfs_validate_sb_common()
366 switch (sbp->sb_inodesize) { in xfs_validate_sb_common()
374 sbp->sb_inodesize); in xfs_validate_sb_common()
472 to->sb_inodesize = be16_to_cpu(from->sb_inodesize); in __xfs_sb_from_disk()
615 to->sb_inodesize = cpu_to_be16(from->sb_inodesize); in xfs_sb_to_disk()
1083 geo->inodesize = sbp->sb_inodesize; in xfs_fs_geometry()
Dxfs_inode_buf.c37 dip = xfs_buf_offset(bp, i * mp->m_sb.sb_inodesize); in xfs_inobp_check()
460 if (!xfs_verify_cksum((char *)dip, mp->m_sb.sb_inodesize, in xfs_dinode_verify()
488 if (mode && XFS_DFORK_BOFF(dip) > mp->m_sb.sb_inodesize) in xfs_dinode_verify()
595 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
950 ((int)(((mp)->m_sb.sb_inodesize) - xfs_dinode_size(version)))
Dxfs_trans_resv.c119 mp->m_sb.sb_inodesize + in xfs_calc_inode_res()
Dxfs_ialloc.c320 mp->m_sb.sb_inodesize, length, gen); in xfs_ialloc_inode_init()
2824 new_size *= mp->m_sb.sb_inodesize / XFS_DINODE_MIN_SIZE; in xfs_ialloc_setup_geometry()
Dxfs_dir2_sf.c167 dst = kmem_alloc(mp->m_sb.sb_inodesize, 0); in xfs_dir2_block_to_sf()
Dxfs_bmap.c195 if (mp->m_sb.sb_inodesize == 256) { in xfs_default_attroffset()
/fs/xfs/scrub/
Dialloc.c300 imap.im_boffset += mp->m_sb.sb_inodesize; in xchk_iallocbt_check_cluster()
466 XFS_INODES_PER_CHUNK * mp->m_sb.sb_inodesize); in xchk_iallocbt_rec()
479 XFS_INODES_PER_HOLEMASK_BIT * mp->m_sb.sb_inodesize); in xchk_iallocbt_rec()
567 inode_blocks = XFS_B_TO_FSB(sc->mp, inodes * sc->mp->m_sb.sb_inodesize); in xchk_iallocbt_xref_rmap_inodes()
Dagheader.c170 if (sb->sb_inodesize != cpu_to_be16(mp->m_sb.sb_inodesize)) in xchk_superblock()
Dinode.c375 if (XFS_DFORK_APTR(dip) >= (char *)dip + mp->m_sb.sb_inodesize) in xchk_dinode()
/fs/xfs/
Dxfs_log_recover.c2089 next_unlinked_offset = (i * mp->m_sb.sb_inodesize) + in xlog_recover_do_inode_buffer()
2157 xfs_buf_offset(bp, i * mp->m_sb.sb_inodesize)); in xlog_recover_do_inode_buffer()
3077 if (unlikely(ldip->di_forkoff > mp->m_sb.sb_inodesize)) { in xlog_recover_inode_pass2()
3805 if (isize != mp->m_sb.sb_inodesize) { in xlog_recover_do_icreate_pass2()
Dxfs_inode.c3825 if (XFS_TEST_ERROR(ip->i_d.di_forkoff > mp->m_sb.sb_inodesize, in xfs_iflush_int()