Lines Matching refs:i_mode
65 inode->i_mode = le16_to_cpu(sqsh_ino->mode); in squashfs_new_inode()
157 inode->i_mode |= S_IFREG; in squashfs_read_inode()
202 inode->i_mode |= S_IFREG; in squashfs_read_inode()
231 inode->i_mode |= S_IFDIR; in squashfs_read_inode()
256 inode->i_mode |= S_IFDIR; in squashfs_read_inode()
284 inode->i_mode |= S_IFLNK; in squashfs_read_inode()
318 inode->i_mode |= S_IFCHR; in squashfs_read_inode()
320 inode->i_mode |= S_IFBLK; in squashfs_read_inode()
323 init_special_inode(inode, inode->i_mode, new_decode_dev(rdev)); in squashfs_read_inode()
340 inode->i_mode |= S_IFCHR; in squashfs_read_inode()
342 inode->i_mode |= S_IFBLK; in squashfs_read_inode()
347 init_special_inode(inode, inode->i_mode, new_decode_dev(rdev)); in squashfs_read_inode()
363 inode->i_mode |= S_IFIFO; in squashfs_read_inode()
365 inode->i_mode |= S_IFSOCK; in squashfs_read_inode()
367 init_special_inode(inode, inode->i_mode, 0); in squashfs_read_inode()
380 inode->i_mode |= S_IFIFO; in squashfs_read_inode()
382 inode->i_mode |= S_IFSOCK; in squashfs_read_inode()
386 init_special_inode(inode, inode->i_mode, 0); in squashfs_read_inode()