Lines Matching refs:F2FS_I

1924 static inline struct f2fs_inode_info *F2FS_I(struct inode *inode)  in F2FS_I()  function
2217 block_t xattr_block = F2FS_I(inode)->i_xattr_nid ? 1 : 0; in F2FS_HAS_BLOCKS()
2442 atomic_inc(&F2FS_I(inode)->dirty_pages); in inode_inc_dirty_pages()
2460 atomic_dec(&F2FS_I(inode)->dirty_pages); in inode_dec_dirty_pages()
2470 struct f2fs_inode_info *fi = F2FS_I(inode); in inc_atomic_write_cnt()
2483 struct f2fs_inode_info *fi = F2FS_I(inode); in release_atomic_write_cnt()
2496 return atomic_read(&F2FS_I(inode)->dirty_pages); in get_dirty_pages()
3024 set_bit(flag, F2FS_I(inode)->flags); in set_inode_flag()
3030 return test_bit(flag, F2FS_I(inode)->flags); in is_inode_flag_set()
3035 clear_bit(flag, F2FS_I(inode)->flags); in clear_inode_flag()
3047 F2FS_I(inode)->i_acl_mode = mode; in set_acl_inode()
3104 F2FS_I(inode)->i_current_depth = depth; in f2fs_i_depth_write()
3111 F2FS_I(inode)->i_gc_failures[GC_FAILURE_PIN] = count; in f2fs_i_gc_failures_write()
3117 F2FS_I(inode)->i_xattr_nid = xnid; in f2fs_i_xnid_write()
3123 F2FS_I(inode)->i_pino = pino; in f2fs_i_pino_write()
3129 struct f2fs_inode_info *fi = F2FS_I(inode); in get_inline_info()
3210 return ALIGN_DOWN(addrs, F2FS_I(inode)->i_cluster_size); in addrs_per_inode()
3217 return ALIGN_DOWN(DEF_ADDRS_PER_BLOCK, F2FS_I(inode)->i_cluster_size); in addrs_per_block()
3299 return F2FS_I(inode)->i_advise & type; in is_file()
3306 F2FS_I(inode)->i_advise |= type; in set_file()
3314 F2FS_I(inode)->i_advise &= ~type; in clear_file()
3322 if (!timespec64_equal(F2FS_I(inode)->i_disk_time, &inode->i_atime)) in f2fs_is_time_consistent()
3324 if (!timespec64_equal(F2FS_I(inode)->i_disk_time + 1, &ctime)) in f2fs_is_time_consistent()
3326 if (!timespec64_equal(F2FS_I(inode)->i_disk_time + 2, &inode->i_mtime)) in f2fs_is_time_consistent()
3339 ret = list_empty(&F2FS_I(inode)->gdirty_list); in f2fs_skip_inode_update()
3351 spin_lock(&F2FS_I(inode)->i_size_lock); in f2fs_skip_inode_update()
3352 ret = F2FS_I(inode)->last_disk_size == i_size_read(inode); in f2fs_skip_inode_update()
3353 spin_unlock(&F2FS_I(inode)->i_size_lock); in f2fs_skip_inode_update()
3424 return F2FS_I(inode)->i_extra_isize / sizeof(__le32); in get_extra_isize()
3429 return F2FS_I(inode)->i_inline_xattr_size; in get_inline_xattr_addrs()
3434 (F2FS_I(i)->i_acl_mode) : ((i)->i_mode))
4305 int diff = F2FS_I(inode)->i_cluster_size - blocks; \
4365 F2FS_I(inode)->i_compress_algorithm = in set_compress_context()
4367 F2FS_I(inode)->i_log_cluster_size = in set_compress_context()
4369 F2FS_I(inode)->i_compress_flag = in set_compress_context()
4372 F2FS_I(inode)->i_cluster_size = in set_compress_context()
4373 BIT(F2FS_I(inode)->i_log_cluster_size); in set_compress_context()
4374 if ((F2FS_I(inode)->i_compress_algorithm == COMPRESS_LZ4 || in set_compress_context()
4375 F2FS_I(inode)->i_compress_algorithm == COMPRESS_ZSTD) && in set_compress_context()
4377 F2FS_I(inode)->i_compress_level = in set_compress_context()
4379 F2FS_I(inode)->i_flags |= F2FS_COMPR_FL; in set_compress_context()
4392 struct f2fs_inode_info *fi = F2FS_I(inode); in f2fs_disable_compressed_file()
4522 struct f2fs_inode_info *fi = F2FS_I(inode); in f2fs_i_compr_blocks_update()