Lines Matching refs:raw_inode
175 struct sysv_inode * raw_inode; in sysv_iget() local
192 raw_inode = sysv_raw_inode(sb, ino, &bh); in sysv_iget()
193 if (!raw_inode) { in sysv_iget()
199 inode->i_mode = fs16_to_cpu(sbi, raw_inode->i_mode); in sysv_iget()
200 i_uid_write(inode, (uid_t)fs16_to_cpu(sbi, raw_inode->i_uid)); in sysv_iget()
201 i_gid_write(inode, (gid_t)fs16_to_cpu(sbi, raw_inode->i_gid)); in sysv_iget()
202 set_nlink(inode, fs16_to_cpu(sbi, raw_inode->i_nlink)); in sysv_iget()
203 inode->i_size = fs32_to_cpu(sbi, raw_inode->i_size); in sysv_iget()
204 inode->i_atime.tv_sec = fs32_to_cpu(sbi, raw_inode->i_atime); in sysv_iget()
205 inode->i_mtime.tv_sec = fs32_to_cpu(sbi, raw_inode->i_mtime); in sysv_iget()
206 inode->i_ctime.tv_sec = fs32_to_cpu(sbi, raw_inode->i_ctime); in sysv_iget()
214 read3byte(sbi, &raw_inode->i_data[3*block], in sysv_iget()
236 struct sysv_inode * raw_inode; in __sysv_write_inode() local
247 raw_inode = sysv_raw_inode(sb, ino, &bh); in __sysv_write_inode()
248 if (!raw_inode) { in __sysv_write_inode()
253 raw_inode->i_mode = cpu_to_fs16(sbi, inode->i_mode); in __sysv_write_inode()
254 raw_inode->i_uid = cpu_to_fs16(sbi, fs_high2lowuid(i_uid_read(inode))); in __sysv_write_inode()
255 raw_inode->i_gid = cpu_to_fs16(sbi, fs_high2lowgid(i_gid_read(inode))); in __sysv_write_inode()
256 raw_inode->i_nlink = cpu_to_fs16(sbi, inode->i_nlink); in __sysv_write_inode()
257 raw_inode->i_size = cpu_to_fs32(sbi, inode->i_size); in __sysv_write_inode()
258 raw_inode->i_atime = cpu_to_fs32(sbi, inode->i_atime.tv_sec); in __sysv_write_inode()
259 raw_inode->i_mtime = cpu_to_fs32(sbi, inode->i_mtime.tv_sec); in __sysv_write_inode()
260 raw_inode->i_ctime = cpu_to_fs32(sbi, inode->i_ctime.tv_sec); in __sysv_write_inode()
267 &raw_inode->i_data[3*block]); in __sysv_write_inode()