/linux-6.6.21/fs/f2fs/ |
D | f2fs.h | 3028 static inline int is_inode_flag_set(struct inode *inode, int flag) in is_inode_flag_set() function 3042 is_inode_flag_set(inode, FI_VERITY_IN_PROGRESS); in f2fs_verity_in_progress() 3064 bool clean = !is_inode_flag_set(inode, FI_DIRTY_INODE); in f2fs_i_blocks_write() 3065 bool recover = is_inode_flag_set(inode, FI_AUTO_RECOVER); in f2fs_i_blocks_write() 3086 bool clean = !is_inode_flag_set(inode, FI_DIRTY_INODE); in f2fs_i_size_write() 3087 bool recover = is_inode_flag_set(inode, FI_AUTO_RECOVER); in f2fs_i_size_write() 3153 if (is_inode_flag_set(inode, FI_INLINE_XATTR)) in set_raw_inline() 3155 if (is_inode_flag_set(inode, FI_INLINE_DATA)) in set_raw_inline() 3157 if (is_inode_flag_set(inode, FI_INLINE_DENTRY)) in set_raw_inline() 3159 if (is_inode_flag_set(inode, FI_DATA_EXIST)) in set_raw_inline() [all …]
|
D | inode.c | 29 if (is_inode_flag_set(inode, FI_NEW_INODE)) in f2fs_mark_inode_dirty_sync() 689 is_inode_flag_set(inode, FI_ATOMIC_COMMITTED)) in f2fs_update_inode() 811 !is_inode_flag_set(inode, FI_DIRTY_INODE)) in f2fs_write_inode() 898 if (is_inode_flag_set(inode, FI_DIRTY_INODE)) { in f2fs_evict_inode() 933 f2fs_bug_on(sbi, is_inode_flag_set(inode, FI_DIRTY_INODE)); in f2fs_evict_inode() 944 if (is_inode_flag_set(inode, FI_APPEND_WRITE)) in f2fs_evict_inode() 946 if (is_inode_flag_set(inode, FI_UPDATE_WRITE)) in f2fs_evict_inode() 949 if (is_inode_flag_set(inode, FI_FREE_NID)) { in f2fs_evict_inode()
|
D | extent_cache.c | 101 if (is_inode_flag_set(inode, FI_NO_EXTENT)) in __may_extent_tree() 103 if (is_inode_flag_set(inode, FI_COMPRESSED_FILE) && in __may_extent_tree() 107 if (is_inode_flag_set(inode, FI_COMPRESSED_FILE)) in __may_extent_tree() 620 if (is_inode_flag_set(inode, FI_NO_EXTENT)) { in __update_extent_tree_range() 731 if (is_inode_flag_set(inode, FI_NO_EXTENT)) in __update_extent_tree_range() 772 if (is_inode_flag_set(inode, FI_NO_EXTENT)) in f2fs_update_read_extent_tree_range_compressed()
|
D | dir.c | 542 if (is_inode_flag_set(inode, FI_NEW_INODE)) { in f2fs_init_inode_metadata() 584 if (is_inode_flag_set(inode, FI_INC_LINK)) { in f2fs_init_inode_metadata() 607 if (inode && is_inode_flag_set(inode, FI_NEW_INODE)) { in f2fs_update_parent_metadata() 618 if (inode && is_inode_flag_set(inode, FI_INC_LINK)) in f2fs_update_parent_metadata() 757 if (is_inode_flag_set(inode, FI_NEW_INODE)) in f2fs_add_regular_entry()
|
D | file.c | 66 if (is_inode_flag_set(inode, FI_COMPRESS_RELEASED)) in f2fs_vm_page_mkwrite() 288 if (!is_inode_flag_set(inode, FI_APPEND_WRITE) && in f2fs_do_sync_file() 295 if (is_inode_flag_set(inode, FI_UPDATE_WRITE) || in f2fs_do_sync_file() 757 && is_inode_flag_set(inode, FI_COMPRESS_RELEASED)) in f2fs_truncate_blocks() 1025 if (is_inode_flag_set(inode, FI_ACL_MODE)) { in f2fs_setattr() 2600 if (is_inode_flag_set(inode, FI_COMPRESS_RELEASED)) { in f2fs_defragment_range() 3129 if (is_inode_flag_set(inode, FI_PIN_FILE)) in f2fs_fileattr_get() 3250 if (is_inode_flag_set(inode, FI_PIN_FILE)) in f2fs_ioc_get_pin_file() 3263 if (is_inode_flag_set(inode, FI_NO_EXTENT)) in f2fs_precache_extents() 3521 if (is_inode_flag_set(inode, FI_COMPRESS_RELEASED)) { in f2fs_release_compress_blocks() [all …]
|
D | data.c | 1226 if (unlikely(is_inode_flag_set(dn->inode, FI_NO_ALLOC))) in f2fs_reserve_new_blocks() 1477 if (unlikely(is_inode_flag_set(dn->inode, FI_NO_ALLOC))) in __allocate_data_block() 2604 is_inode_flag_set(inode, FI_OPU_WRITE)) in check_inplace_update_policy() 2624 if (IS_F2FS_IPU_FSYNC(sbi) && is_inode_flag_set(inode, FI_NEED_IPU)) in check_inplace_update_policy() 2637 if (is_inode_flag_set(inode, FI_ALIGNED_WRITE)) in f2fs_should_update_inplace() 2644 if (file_is_cold(inode) && !is_inode_flag_set(inode, FI_OPU_WRITE)) in f2fs_should_update_inplace() 2669 if (is_inode_flag_set(inode, FI_ALIGNED_WRITE)) in f2fs_should_update_outplace() 2672 if (is_inode_flag_set(inode, FI_OPU_WRITE)) in f2fs_should_update_outplace() 3358 if (is_inode_flag_set(inode, FI_SKIP_WRITES)) in __f2fs_write_data_pages() 3447 if (len == PAGE_SIZE && is_inode_flag_set(inode, FI_PREALLOCATED_ALL)) in prepare_write_begin() [all …]
|
D | namei.c | 412 if (is_inode_flag_set(dir, FI_PROJ_INHERIT) && in f2fs_link() 973 if (is_inode_flag_set(new_dir, FI_PROJ_INHERIT) && in f2fs_rename() 1162 if ((is_inode_flag_set(new_dir, FI_PROJ_INHERIT) && in f2fs_cross_rename() 1165 (is_inode_flag_set(new_dir, FI_PROJ_INHERIT) && in f2fs_cross_rename()
|
D | acl.c | 214 if (is_inode_flag_set(inode, FI_ACL_MODE)) in f2fs_acl_update_mode()
|
D | checkpoint.c | 1012 if (is_inode_flag_set(inode, flag)) in __add_dirty_inode() 1024 if (get_dirty_pages(inode) || !is_inode_flag_set(inode, flag)) in __remove_dirty_inode() 1154 if (is_inode_flag_set(inode, FI_DIRTY_INODE)) in f2fs_sync_inode_meta()
|
D | node.c | 853 if (is_inode_flag_set(dn->inode, FI_COMPRESSED_FILE) && in f2fs_get_dnode_of_data() 1296 if (unlikely(is_inode_flag_set(dn->inode, FI_NO_ALLOC))) in f2fs_new_node_page() 1812 if (is_inode_flag_set(inode, in f2fs_fsync_node_pages() 1873 if (!is_inode_flag_set(inode, FI_DIRTY_INODE)) in f2fs_match_ino()
|
D | inline.c | 665 if (is_inode_flag_set(inode, FI_NEW_INODE)) in f2fs_add_inline_entry()
|
D | xattr.c | 779 if (is_inode_flag_set(inode, FI_ACL_MODE)) { in __f2fs_setxattr()
|
D | compress.c | 781 if (!is_inode_flag_set(dic->inode, FI_COMPRESS_CORRUPT)) { in f2fs_decompress_cluster() 983 !is_inode_flag_set(inode, FI_COMPRESS_RELEASED)); in __f2fs_cluster_blocks()
|
D | super.c | 1526 if (is_inode_flag_set(inode, FI_DIRTY_INODE)) { in f2fs_inode_dirtied() 1546 if (!is_inode_flag_set(inode, FI_DIRTY_INODE)) { in f2fs_inode_synced() 1573 if (is_inode_flag_set(inode, FI_AUTO_RECOVER)) in f2fs_dirty_inode() 1873 if (is_inode_flag_set(dentry->d_inode, FI_PROJ_INHERIT) && in f2fs_statfs()
|
D | segment.c | 277 bool truncate = is_inode_flag_set(inode, FI_ATOMIC_REPLACE); in __complete_revoke_list() 3341 if (is_inode_flag_set(inode, FI_ALIGNED_WRITE)) in __get_segment_type_6() 3360 is_inode_flag_set(inode, FI_HOT_DATA) || in __get_segment_type_6()
|