Lines Matching defs:inode
307 struct inode *inode; /* vfs inode pointer */ member
442 struct inode *inode; /* vfs inode pointer */ member
486 #define MAX_INLINE_DATA(inode) (sizeof(__le32) * \ argument
492 #define NR_INLINE_DENTRY(inode) (MAX_INLINE_DATA(inode) * BITS_PER_BYTE / \ argument
495 #define INLINE_DENTRY_BITMAP_SIZE(inode) \ argument
497 #define INLINE_RESERVED_SIZE(inode) (MAX_INLINE_DATA(inode) - \ argument
545 struct inode *inode; member
553 static inline void make_dentry_ptr_block(struct inode *inode, in make_dentry_ptr_block()
564 static inline void make_dentry_ptr_inline(struct inode *inode, in make_dentry_ptr_inline()
744 #define file_is_cold(inode) is_file(inode, FADVISE_COLD_BIT) argument
745 #define file_set_cold(inode) set_file(inode, FADVISE_COLD_BIT) argument
746 #define file_clear_cold(inode) clear_file(inode, FADVISE_COLD_BIT) argument
748 #define file_wrong_pino(inode) is_file(inode, FADVISE_LOST_PINO_BIT) argument
749 #define file_lost_pino(inode) set_file(inode, FADVISE_LOST_PINO_BIT) argument
750 #define file_got_pino(inode) clear_file(inode, FADVISE_LOST_PINO_BIT) argument
752 #define file_is_encrypt(inode) is_file(inode, FADVISE_ENCRYPT_BIT) argument
753 #define file_set_encrypt(inode) set_file(inode, FADVISE_ENCRYPT_BIT) argument
755 #define file_enc_name(inode) is_file(inode, FADVISE_ENC_NAME_BIT) argument
756 #define file_set_enc_name(inode) set_file(inode, FADVISE_ENC_NAME_BIT) argument
758 #define file_keep_isize(inode) is_file(inode, FADVISE_KEEP_SIZE_BIT) argument
759 #define file_set_keep_isize(inode) set_file(inode, FADVISE_KEEP_SIZE_BIT) argument
761 #define file_is_hot(inode) is_file(inode, FADVISE_HOT_BIT) argument
762 #define file_set_hot(inode) set_file(inode, FADVISE_HOT_BIT) argument
763 #define file_clear_hot(inode) clear_file(inode, FADVISE_HOT_BIT) argument
765 #define file_is_verity(inode) is_file(inode, FADVISE_VERITY_BIT) argument
766 #define file_set_verity(inode) set_file(inode, FADVISE_VERITY_BIT) argument
768 #define file_should_truncate(inode) is_file(inode, FADVISE_TRUNC_BIT) argument
769 #define file_need_truncate(inode) set_file(inode, FADVISE_TRUNC_BIT) argument
770 #define file_dont_truncate(inode) clear_file(inode, FADVISE_TRUNC_BIT) argument
979 struct inode *inode; /* vfs inode pointer */ member
991 static inline void set_new_dnode(struct dnode_of_data *dn, struct inode *inode, in set_new_dnode()
1479 struct inode *inode; /* inode the context belong to */ member
1499 struct inode *inode; /* inode the context belong to */ member
1508 struct inode *inode; /* inode the context belong to */ member
1981 static inline struct f2fs_inode_info *F2FS_I(struct inode *inode) in F2FS_I()
1991 static inline struct f2fs_sb_info *F2FS_I_SB(struct inode *inode) in F2FS_I_SB()
2282 static inline int F2FS_HAS_BLOCKS(struct inode *inode) in F2FS_HAS_BLOCKS()
2295 struct inode *inode, bool cap) in __allow_reserved_blocks()
2314 struct inode *inode, bool cap) in get_available_block_count()
2336 struct inode *inode, blkcnt_t *count, bool partial) in inc_valid_block_count()
2471 struct inode *inode, in dec_valid_block_count()
2507 static inline void inode_inc_dirty_pages(struct inode *inode) in inode_inc_dirty_pages()
2521 static inline void inode_dec_dirty_pages(struct inode *inode) in inode_dec_dirty_pages()
2534 static inline void inc_atomic_write_cnt(struct inode *inode) in inc_atomic_write_cnt()
2547 static inline void release_atomic_write_cnt(struct inode *inode) in release_atomic_write_cnt()
2561 static inline int get_dirty_pages(struct inode *inode) in get_dirty_pages()
2658 struct inode *inode, bool is_inode) in inc_valid_node_count()
2721 struct inode *inode, bool is_inode) in dec_valid_node_count()
2947 static inline unsigned int get_dnode_base(struct inode *inode, in get_dnode_base()
2957 static inline __le32 *get_dnode_addr(struct inode *inode, in get_dnode_addr()
2964 static inline block_t data_blkaddr(struct inode *inode, in data_blkaddr()
3074 static inline void __mark_inode_dirty_flag(struct inode *inode, in __mark_inode_dirty_flag()
3092 static inline void set_inode_flag(struct inode *inode, int flag) in set_inode_flag()
3098 static inline int is_inode_flag_set(struct inode *inode, int flag) in is_inode_flag_set()
3103 static inline void clear_inode_flag(struct inode *inode, int flag) in clear_inode_flag()
3109 static inline bool f2fs_verity_in_progress(struct inode *inode) in f2fs_verity_in_progress()
3115 static inline void set_acl_inode(struct inode *inode, umode_t mode) in set_acl_inode()
3122 static inline void f2fs_i_links_write(struct inode *inode, bool inc) in f2fs_i_links_write()
3131 static inline void f2fs_i_blocks_write(struct inode *inode, in f2fs_i_blocks_write()
3154 static inline void f2fs_i_size_write(struct inode *inode, loff_t i_size) in f2fs_i_size_write()
3172 static inline void f2fs_i_depth_write(struct inode *inode, unsigned int depth) in f2fs_i_depth_write()
3178 static inline void f2fs_i_gc_failures_write(struct inode *inode, in f2fs_i_gc_failures_write()
3185 static inline void f2fs_i_xnid_write(struct inode *inode, nid_t xnid) in f2fs_i_xnid_write()
3191 static inline void f2fs_i_pino_write(struct inode *inode, nid_t pino) in f2fs_i_pino_write()
3197 static inline void get_inline_info(struct inode *inode, struct f2fs_inode *ri) in get_inline_info()
3217 static inline void set_raw_inline(struct inode *inode, struct f2fs_inode *ri) in set_raw_inline()
3237 static inline int f2fs_has_extra_attr(struct inode *inode) in f2fs_has_extra_attr()
3242 static inline int f2fs_has_inline_xattr(struct inode *inode) in f2fs_has_inline_xattr()
3247 static inline int f2fs_compressed_file(struct inode *inode) in f2fs_compressed_file()
3253 static inline bool f2fs_need_compress_data(struct inode *inode) in f2fs_need_compress_data()
3269 static inline unsigned int addrs_per_page(struct inode *inode, in addrs_per_page()
3280 static inline void *inline_xattr_addr(struct inode *inode, struct page *page) in inline_xattr_addr()
3288 static inline int inline_xattr_size(struct inode *inode) in inline_xattr_size()
3299 static inline int f2fs_has_inline_data(struct inode *inode) in f2fs_has_inline_data()
3304 static inline int f2fs_exist_data(struct inode *inode) in f2fs_exist_data()
3309 static inline int f2fs_is_mmap_file(struct inode *inode) in f2fs_is_mmap_file()
3314 static inline bool f2fs_is_pinned_file(struct inode *inode) in f2fs_is_pinned_file()
3319 static inline bool f2fs_is_atomic_file(struct inode *inode) in f2fs_is_atomic_file()
3324 static inline bool f2fs_is_cow_file(struct inode *inode) in f2fs_is_cow_file()
3329 static inline void *inline_data_addr(struct inode *inode, struct page *page) in inline_data_addr()
3336 static inline int f2fs_has_inline_dentry(struct inode *inode) in f2fs_has_inline_dentry()
3341 static inline int is_file(struct inode *inode, int type) in is_file()
3346 static inline void set_file(struct inode *inode, int type) in set_file()
3354 static inline void clear_file(struct inode *inode, int type) in clear_file()
3362 static inline bool f2fs_is_time_consistent(struct inode *inode) in f2fs_is_time_consistent()
3377 static inline bool f2fs_skip_inode_update(struct inode *inode, int dsync) in f2fs_skip_inode_update()
3457 static inline int get_extra_isize(struct inode *inode) in get_extra_isize()
3462 static inline int get_inline_xattr_addrs(struct inode *inode) in get_inline_xattr_addrs()
3616 static inline int f2fs_add_link(struct dentry *dentry, struct inode *inode) in f2fs_add_link()
4019 #define stat_inc_inline_xattr(inode) \ argument
4024 #define stat_dec_inline_xattr(inode) \ argument
4029 #define stat_inc_inline_inode(inode) \ argument
4034 #define stat_dec_inline_inode(inode) \ argument
4039 #define stat_inc_inline_dir(inode) \ argument
4044 #define stat_dec_inline_dir(inode) \ argument
4049 #define stat_inc_compr_inode(inode) \ argument
4054 #define stat_dec_compr_inode(inode) \ argument
4059 #define stat_add_compr_blocks(inode, blocks) \ argument
4061 #define stat_sub_compr_blocks(inode, blocks) \ argument
4063 #define stat_inc_swapfile_inode(inode) \ argument
4065 #define stat_dec_swapfile_inode(inode) \ argument
4067 #define stat_inc_atomic_inode(inode) \ argument
4069 #define stat_dec_atomic_inode(inode) \ argument
4088 #define stat_update_max_atomic_write(inode) \ argument
4137 #define stat_inc_inline_xattr(inode) do { } while (0) argument
4138 #define stat_dec_inline_xattr(inode) do { } while (0) argument
4139 #define stat_inc_inline_inode(inode) do { } while (0) argument
4140 #define stat_dec_inline_inode(inode) do { } while (0) argument
4141 #define stat_inc_inline_dir(inode) do { } while (0) argument
4142 #define stat_dec_inline_dir(inode) do { } while (0) argument
4143 #define stat_inc_compr_inode(inode) do { } while (0) argument
4144 #define stat_dec_compr_inode(inode) do { } while (0) argument
4145 #define stat_add_compr_blocks(inode, blocks) do { } while (0) argument
4146 #define stat_sub_compr_blocks(inode, blocks) do { } while (0) argument
4147 #define stat_inc_swapfile_inode(inode) do { } while (0) argument
4148 #define stat_dec_swapfile_inode(inode) do { } while (0) argument
4149 #define stat_inc_atomic_inode(inode) do { } while (0) argument
4150 #define stat_dec_atomic_inode(inode) do { } while (0) argument
4151 #define stat_update_max_atomic_write(inode) do { } while (0) argument
4275 static inline bool f2fs_encrypted_file(struct inode *inode) in f2fs_encrypted_file()
4280 static inline void f2fs_set_encrypted_inode(struct inode *inode) in f2fs_set_encrypted_inode()
4292 static inline bool f2fs_post_read_required(struct inode *inode) in f2fs_post_read_required()
4298 static inline bool f2fs_used_in_atomic_write(struct inode *inode) in f2fs_used_in_atomic_write()
4303 static inline bool f2fs_meta_inode_gc_required(struct inode *inode) in f2fs_meta_inode_gc_required()
4372 #define inc_compr_inode_stat(inode) \ argument
4377 #define add_compr_block_stat(inode, blocks) \ argument
4386 static inline bool f2fs_is_compress_backend_ready(struct inode *inode) in f2fs_is_compress_backend_ready()
4429 #define inc_compr_inode_stat(inode) do { } while (0) argument
4431 struct inode *inode, in f2fs_is_compressed_cluster()
4434 struct inode *inode, in f2fs_is_sparse_cluster()
4437 struct inode *inode, in f2fs_update_read_extent_tree_range_compressed()
4442 static inline int set_compress_context(struct inode *inode) in set_compress_context()
4468 static inline bool f2fs_disable_compressed_file(struct inode *inode) in f2fs_disable_compressed_file()
4608 static inline bool f2fs_may_compress(struct inode *inode) in f2fs_may_compress()
4617 static inline void f2fs_i_compr_blocks_update(struct inode *inode, in f2fs_i_compr_blocks_update()
4647 static inline bool f2fs_need_verity(const struct inode *inode, pgoff_t idx) in f2fs_need_verity()