Home
last modified time | relevance | path

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

/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_sb.c349 align = XFS_INODES_PER_CHUNK * sbp->sb_inodesize in xfs_validate_sb_common()
405 sbp->sb_inodesize < XFS_DINODE_MIN_SIZE || in xfs_validate_sb_common()
406 sbp->sb_inodesize > XFS_DINODE_MAX_SIZE || in xfs_validate_sb_common()
409 sbp->sb_inodesize != (1 << sbp->sb_inodelog) || in xfs_validate_sb_common()
410 sbp->sb_inopblock != howmany(sbp->sb_blocksize,sbp->sb_inodesize) || in xfs_validate_sb_common()
533 switch (sbp->sb_inodesize) { in xfs_validate_sb_common()
541 sbp->sb_inodesize); in xfs_validate_sb_common()
623 to->sb_inodesize = be16_to_cpu(from->sb_inodesize); in __xfs_sb_from_disk()
772 to->sb_inodesize = cpu_to_be16(from->sb_inodesize); in xfs_sb_to_disk()
1192 geo->inodesize = sbp->sb_inodesize; in xfs_fs_geometry()
H A Dxfs_inode_buf.c500 if (!xfs_verify_cksum((char *)dip, mp->m_sb.sb_inodesize, in xfs_dinode_verify()
550 if (mode && XFS_DFORK_BOFF(dip) > mp->m_sb.sb_inodesize) in xfs_dinode_verify()
658 crc = xfs_start_cksum_update((char *)dip, mp->m_sb.sb_inodesize, in xfs_dinode_calc_crc()
H A Dxfs_format.h114 uint16_t sb_inodesize; /* inode size, bytes */ member
205 __be16 sb_inodesize; /* inode size, bytes */ member
972 ((mp)->m_sb.sb_inodesize - XFS_DINODE_SIZE(mp))
H A Dxfs_trans_resv.c129 mp->m_sb.sb_inodesize + in xfs_calc_inode_res()
H A Dxfs_ialloc.c344 mp->m_sb.sb_inodesize, length, gen); in xfs_ialloc_inode_init()
2857 new_size *= mp->m_sb.sb_inodesize / XFS_DINODE_MIN_SIZE; in xfs_ialloc_setup_geometry()
H A Dxfs_dir2_sf.c279 sfp = kmem_alloc(mp->m_sb.sb_inodesize, 0); in xfs_dir2_block_to_sf()
H A Dxfs_bmap.c100 if (mp->m_sb.sb_inodesize == 256) in xfs_bmap_compute_attr_offset()
/openbmc/linux/fs/xfs/scrub/
H A Dialloc.c266 len = XFS_B_TO_FSB(mp, nr_inodes * mp->m_sb.sb_inodesize); in xchk_iallocbt_chunk()
452 imap.im_boffset += mp->m_sb.sb_inodesize; in xchk_iallocbt_check_cluster()
706 inode_blocks = XFS_B_TO_FSB(sc->mp, inodes * sc->mp->m_sb.sb_inodesize); in xchk_iallocbt_xref_rmap_inodes()
H A Dagheader.c192 if (sb->sb_inodesize != cpu_to_be16(mp->m_sb.sb_inodesize)) in xchk_superblock()
H A Dinode.c554 if (XFS_DFORK_APTR(dip) >= (char *)dip + mp->m_sb.sb_inodesize) in xchk_dinode()
/openbmc/linux/fs/xfs/
H A Dxfs_icreate_item.c183 if (isize != mp->m_sb.sb_inodesize) { in xlog_recover_icreate_commit_pass2()
H A Dxfs_buf_item_recover.c614 next_unlinked_offset = (i * mp->m_sb.sb_inodesize) + in xlog_recover_do_inode_buffer()
680 xfs_buf_offset(bp, i * mp->m_sb.sb_inodesize)); in xlog_recover_do_inode_buffer()
H A Dxfs_inode_item_recover.c425 if (unlikely(ldip->di_forkoff > mp->m_sb.sb_inodesize)) { in xlog_recover_inode_commit_pass2()
H A Dxfs_inode_item.c48 dip = kzalloc(mp->m_sb.sb_inodesize, GFP_KERNEL | GFP_NOFS); in xfs_inode_item_precommit_check()
H A Dxfs_inode.c3270 if (XFS_TEST_ERROR(ip->i_forkoff > mp->m_sb.sb_inodesize, in xfs_iflush()