Lines Matching refs:fi

201 	struct f2fs_inode_info *fi = F2FS_I(inode);  in sanity_check_inode()  local
243 if (fi->i_extra_isize > F2FS_TOTAL_EXTRA_ATTR_SIZE || in sanity_check_inode()
244 fi->i_extra_isize % sizeof(__le32)) { in sanity_check_inode()
249 __func__, inode->i_ino, fi->i_extra_isize, in sanity_check_inode()
296 struct f2fs_inode_info *fi = F2FS_I(inode); in do_read_inode() local
327 fi->i_current_depth = le32_to_cpu(ri->i_current_depth); in do_read_inode()
329 fi->i_gc_failures[GC_FAILURE_PIN] = in do_read_inode()
331 fi->i_xattr_nid = le32_to_cpu(ri->i_xattr_nid); in do_read_inode()
332 fi->i_flags = le32_to_cpu(ri->i_flags); in do_read_inode()
333 fi->flags = 0; in do_read_inode()
334 fi->i_advise = ri->i_advise; in do_read_inode()
335 fi->i_pino = le32_to_cpu(ri->i_pino); in do_read_inode()
336 fi->i_dir_level = ri->i_dir_level; in do_read_inode()
343 fi->i_extra_isize = f2fs_has_extra_attr(inode) ? in do_read_inode()
347 fi->i_inline_xattr_size = le16_to_cpu(ri->i_inline_xattr_size); in do_read_inode()
350 fi->i_inline_xattr_size = DEFAULT_INLINE_XATTR_ADDRS; in do_read_inode()
359 fi->i_inline_xattr_size = 0; in do_read_inode()
391 fi->last_disk_size = inode->i_size; in do_read_inode()
393 if (fi->i_flags & F2FS_PROJINHERIT_FL) in do_read_inode()
397 F2FS_FITS_IN_INODE(ri, fi->i_extra_isize, i_projid)) in do_read_inode()
401 fi->i_projid = make_kprojid(&init_user_ns, i_projid); in do_read_inode()
404 F2FS_FITS_IN_INODE(ri, fi->i_extra_isize, i_crtime)) { in do_read_inode()
405 fi->i_crtime.tv_sec = le64_to_cpu(ri->i_crtime); in do_read_inode()
406 fi->i_crtime.tv_nsec = le32_to_cpu(ri->i_crtime_nsec); in do_read_inode()