Searched refs:sb_inodesize (Results 1 – 14 of 14) sorted by relevance
/linux-6.1.9/fs/xfs/libxfs/ |
D | xfs_sb.c | 353 align = XFS_INODES_PER_CHUNK * sbp->sb_inodesize in xfs_validate_sb_common() 409 sbp->sb_inodesize < XFS_DINODE_MIN_SIZE || in xfs_validate_sb_common() 410 sbp->sb_inodesize > XFS_DINODE_MAX_SIZE || in xfs_validate_sb_common() 413 sbp->sb_inodesize != (1 << sbp->sb_inodelog) || in xfs_validate_sb_common() 415 sbp->sb_inopblock != howmany(sbp->sb_blocksize,sbp->sb_inodesize) || in xfs_validate_sb_common() 481 switch (sbp->sb_inodesize) { in xfs_validate_sb_common() 489 sbp->sb_inodesize); in xfs_validate_sb_common() 571 to->sb_inodesize = be16_to_cpu(from->sb_inodesize); in __xfs_sb_from_disk() 720 to->sb_inodesize = cpu_to_be16(from->sb_inodesize); in xfs_sb_to_disk() 1136 geo->inodesize = sbp->sb_inodesize; in xfs_fs_geometry()
|
D | xfs_inode_buf.c | 476 if (!xfs_verify_cksum((char *)dip, mp->m_sb.sb_inodesize, in xfs_dinode_verify() 513 if (mode && XFS_DFORK_BOFF(dip) > mp->m_sb.sb_inodesize) in xfs_dinode_verify() 621 crc = xfs_start_cksum_update((char *)dip, mp->m_sb.sb_inodesize, in xfs_dinode_calc_crc()
|
D | xfs_format.h | 114 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))
|
D | xfs_trans_resv.c | 129 mp->m_sb.sb_inodesize + in xfs_calc_inode_res()
|
D | xfs_dir2_sf.c | 279 sfp = kmem_alloc(mp->m_sb.sb_inodesize, 0); in xfs_dir2_block_to_sf()
|
D | xfs_ialloc.c | 319 mp->m_sb.sb_inodesize, length, gen); in xfs_ialloc_inode_init() 2819 new_size *= mp->m_sb.sb_inodesize / XFS_DINODE_MIN_SIZE; in xfs_ialloc_setup_geometry()
|
D | xfs_bmap.c | 100 if (mp->m_sb.sb_inodesize == 256) in xfs_bmap_compute_attr_offset()
|
/linux-6.1.9/fs/xfs/scrub/ |
D | ialloc.c | 297 imap.im_boffset += mp->m_sb.sb_inodesize; in xchk_iallocbt_check_cluster() 463 XFS_INODES_PER_CHUNK * mp->m_sb.sb_inodesize); in xchk_iallocbt_rec() 476 XFS_INODES_PER_HOLEMASK_BIT * mp->m_sb.sb_inodesize); in xchk_iallocbt_rec() 564 inode_blocks = XFS_B_TO_FSB(sc->mp, inodes * sc->mp->m_sb.sb_inodesize); in xchk_iallocbt_xref_rmap_inodes()
|
D | agheader.c | 182 if (sb->sb_inodesize != cpu_to_be16(mp->m_sb.sb_inodesize)) in xchk_superblock()
|
D | inode.c | 415 if (XFS_DFORK_APTR(dip) >= (char *)dip + mp->m_sb.sb_inodesize) in xchk_dinode()
|
/linux-6.1.9/fs/xfs/ |
D | xfs_icreate_item.c | 183 if (isize != mp->m_sb.sb_inodesize) { in xlog_recover_icreate_commit_pass2()
|
D | xfs_buf_item_recover.c | 614 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()
|
D | xfs_inode_item_recover.c | 422 if (unlikely(ldip->di_forkoff > mp->m_sb.sb_inodesize)) { in xlog_recover_inode_commit_pass2()
|
D | xfs_inode.c | 3157 if (XFS_TEST_ERROR(ip->i_forkoff > mp->m_sb.sb_inodesize, in xfs_iflush()
|