Home
last modified time | relevance | path

Searched refs:ufs2_inode (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/fs/ufs/
Dinode.c606 static int ufs2_read_inode(struct inode *inode, struct ufs2_inode *ufs2_inode) in ufs2_read_inode() argument
616 inode->i_mode = mode = fs16_to_cpu(sb, ufs2_inode->ui_mode); in ufs2_read_inode()
617 set_nlink(inode, fs16_to_cpu(sb, ufs2_inode->ui_nlink)); in ufs2_read_inode()
624 i_uid_write(inode, fs32_to_cpu(sb, ufs2_inode->ui_uid)); in ufs2_read_inode()
625 i_gid_write(inode, fs32_to_cpu(sb, ufs2_inode->ui_gid)); in ufs2_read_inode()
627 inode->i_size = fs64_to_cpu(sb, ufs2_inode->ui_size); in ufs2_read_inode()
628 inode->i_atime.tv_sec = fs64_to_cpu(sb, ufs2_inode->ui_atime); in ufs2_read_inode()
629 inode->i_ctime.tv_sec = fs64_to_cpu(sb, ufs2_inode->ui_ctime); in ufs2_read_inode()
630 inode->i_mtime.tv_sec = fs64_to_cpu(sb, ufs2_inode->ui_mtime); in ufs2_read_inode()
631 inode->i_atime.tv_nsec = fs32_to_cpu(sb, ufs2_inode->ui_atimensec); in ufs2_read_inode()
[all …]
Dialloc.c311 struct ufs2_inode *ufs2_inode; in ufs_new_inode() local
326 ufs2_inode = (struct ufs2_inode *)bh->b_data; in ufs_new_inode()
327 ufs2_inode += ufs_inotofsbo(inode->i_ino); in ufs_new_inode()
329 ufs2_inode->ui_birthtime = cpu_to_fs64(sb, ts.tv_sec); in ufs_new_inode()
330 ufs2_inode->ui_birthnsec = cpu_to_fs32(sb, ts.tv_nsec); in ufs_new_inode()
Dufs_fs.h651 struct ufs2_inode { struct