Lines Matching refs:i_d
158 ASSERT((dp->i_d.di_mode & S_IFMT) == S_IFDIR); in xfs_dir2_isempty()
162 if (dp->i_d.di_size == 0) { in xfs_dir2_isempty()
165 if (dp->i_d.di_size > XFS_IFORK_DSIZE(dp)) in xfs_dir2_isempty()
186 ASSERT((dp->i_d.di_mode & S_IFMT) == S_IFDIR); in xfs_dir2_init()
211 ASSERT((dp->i_d.di_mode & S_IFMT) == S_IFDIR); in xfs_dir2_createname()
234 if (dp->i_d.di_format == XFS_DINODE_FMT_LOCAL) in xfs_dir2_createname()
264 ASSERT((dp->i_d.di_mode & S_IFMT) == S_IFDIR); in xfs_dir2_lookup()
285 if (dp->i_d.di_format == XFS_DINODE_FMT_LOCAL) in xfs_dir2_lookup()
322 ASSERT((dp->i_d.di_mode & S_IFMT) == S_IFDIR); in xfs_dir2_removename()
341 if (dp->i_d.di_format == XFS_DINODE_FMT_LOCAL) in xfs_dir2_removename()
372 ASSERT((dp->i_d.di_mode & S_IFMT) == S_IFDIR); in xfs_dir2_getdents()
394 if (dp->i_d.di_format == XFS_DINODE_FMT_LOCAL) in xfs_dir2_getdents()
425 ASSERT((dp->i_d.di_mode & S_IFMT) == S_IFDIR); in xfs_dir2_replace()
447 if (dp->i_d.di_format == XFS_DINODE_FMT_LOCAL) in xfs_dir2_replace()
476 ASSERT((dp->i_d.di_mode & S_IFMT) == S_IFDIR); in xfs_dir2_canenter()
494 if (dp->i_d.di_format == XFS_DINODE_FMT_LOCAL) in xfs_dir2_canenter()
658 if (size > dp->i_d.di_size) { in xfs_dir2_grow_inode()
659 dp->i_d.di_size = size; in xfs_dir2_grow_inode()
684 ASSERT(rval == 0 || dp->i_d.di_size == mp->m_dirblksize); in xfs_dir2_isblock()
840 if (dp->i_d.di_size > XFS_DIR2_DB_OFF_TO_BYTE(mp, db + 1, 0)) in xfs_dir2_shrink_inode()
856 dp->i_d.di_size = XFS_FSB_TO_B(mp, bno); in xfs_dir2_shrink_inode()