/fs/f2fs/ |
D | f2fs.h | 2993 static inline int is_inode_flag_set(struct inode *inode, int flag) in is_inode_flag_set() function 3007 is_inode_flag_set(inode, FI_VERITY_IN_PROGRESS); in f2fs_verity_in_progress() 3029 bool clean = !is_inode_flag_set(inode, FI_DIRTY_INODE); in f2fs_i_blocks_write() 3030 bool recover = is_inode_flag_set(inode, FI_AUTO_RECOVER); in f2fs_i_blocks_write() 3049 bool clean = !is_inode_flag_set(inode, FI_DIRTY_INODE); in f2fs_i_size_write() 3050 bool recover = is_inode_flag_set(inode, FI_AUTO_RECOVER); in f2fs_i_size_write() 3112 if (is_inode_flag_set(inode, FI_INLINE_XATTR)) in set_raw_inline() 3114 if (is_inode_flag_set(inode, FI_INLINE_DATA)) in set_raw_inline() 3116 if (is_inode_flag_set(inode, FI_INLINE_DENTRY)) in set_raw_inline() 3118 if (is_inode_flag_set(inode, FI_DATA_EXIST)) in set_raw_inline() [all …]
|
D | inode.c | 27 if (is_inode_flag_set(inode, FI_NEW_INODE)) in f2fs_mark_inode_dirty_sync() 724 !is_inode_flag_set(inode, FI_DIRTY_INODE)) in f2fs_write_inode() 808 if (is_inode_flag_set(inode, FI_DIRTY_INODE)) { in f2fs_evict_inode() 843 f2fs_bug_on(sbi, is_inode_flag_set(inode, FI_DIRTY_INODE)); in f2fs_evict_inode() 854 if (is_inode_flag_set(inode, FI_APPEND_WRITE)) in f2fs_evict_inode() 856 if (is_inode_flag_set(inode, FI_UPDATE_WRITE)) in f2fs_evict_inode() 859 if (is_inode_flag_set(inode, FI_FREE_NID)) { in f2fs_evict_inode()
|
D | dir.c | 573 if (is_inode_flag_set(inode, FI_NEW_INODE)) { in f2fs_init_inode_metadata() 615 if (is_inode_flag_set(inode, FI_INC_LINK)) { in f2fs_init_inode_metadata() 638 if (inode && is_inode_flag_set(inode, FI_NEW_INODE)) { in f2fs_update_parent_metadata() 649 if (inode && is_inode_flag_set(inode, FI_INC_LINK)) in f2fs_update_parent_metadata() 790 if (is_inode_flag_set(inode, FI_NEW_INODE)) in f2fs_add_regular_entry()
|
D | namei.c | 325 if (is_inode_flag_set(inode, FI_COMPRESSED_FILE)) in set_compress_inode() 407 if (is_inode_flag_set(dir, FI_PROJ_INHERIT) && in f2fs_link() 947 if (is_inode_flag_set(new_dir, FI_PROJ_INHERIT) && in f2fs_rename() 1136 if ((is_inode_flag_set(new_dir, FI_PROJ_INHERIT) && in f2fs_cross_rename() 1139 (is_inode_flag_set(new_dir, FI_PROJ_INHERIT) && in f2fs_cross_rename()
|
D | extent_cache.c | 552 if (is_inode_flag_set(inode, FI_NO_EXTENT)) { in f2fs_update_extent_tree_range() 652 if (is_inode_flag_set(inode, FI_NO_EXTENT)) in f2fs_update_extent_tree_range() 682 if (is_inode_flag_set(inode, FI_NO_EXTENT)) in f2fs_update_extent_tree_range_compressed()
|
D | data.c | 1132 if (unlikely(is_inode_flag_set(dn->inode, FI_NO_ALLOC))) in f2fs_reserve_new_blocks() 1390 if (unlikely(is_inode_flag_set(dn->inode, FI_NO_ALLOC))) in __allocate_data_block() 2512 is_inode_flag_set(inode, FI_OPU_WRITE)) in check_inplace_update_policy() 2536 is_inode_flag_set(inode, FI_NEED_IPU)) in check_inplace_update_policy() 2549 if (is_inode_flag_set(inode, FI_ALIGNED_WRITE)) in f2fs_should_update_inplace() 2556 if (file_is_cold(inode) && !is_inode_flag_set(inode, FI_OPU_WRITE)) in f2fs_should_update_inplace() 2581 if (is_inode_flag_set(inode, FI_ALIGNED_WRITE)) in f2fs_should_update_outplace() 2584 if (is_inode_flag_set(inode, FI_OPU_WRITE)) in f2fs_should_update_outplace() 3213 if (is_inode_flag_set(inode, FI_SKIP_WRITES)) in __f2fs_write_data_pages() 3303 if (len == PAGE_SIZE && is_inode_flag_set(inode, FI_PREALLOCATED_ALL)) in prepare_write_begin() [all …]
|
D | file.c | 69 if (is_inode_flag_set(inode, FI_COMPRESS_RELEASED)) in f2fs_vm_page_mkwrite() 298 if (!is_inode_flag_set(inode, FI_APPEND_WRITE) && in f2fs_do_sync_file() 305 if (is_inode_flag_set(inode, FI_UPDATE_WRITE) || in f2fs_do_sync_file() 765 && is_inode_flag_set(inode, FI_COMPRESS_RELEASED)) in f2fs_truncate_blocks() 992 if (is_inode_flag_set(inode, FI_ACL_MODE)) { in f2fs_setattr() 1997 if (is_inode_flag_set(inode, FI_PIN_FILE)) in f2fs_ioc_getflags() 2081 if (is_inode_flag_set(inode, FI_ATOMIC_REVOKE_REQUEST)) in f2fs_ioc_start_atomic_write() 2158 if (is_inode_flag_set(inode, FI_ATOMIC_REVOKE_REQUEST)) { in f2fs_ioc_commit_atomic_write() 3330 if (is_inode_flag_set(inode, FI_PIN_FILE)) in f2fs_ioc_get_pin_file() 3343 if (is_inode_flag_set(inode, FI_NO_EXTENT)) in f2fs_precache_extents() [all …]
|
D | acl.c | 210 if (is_inode_flag_set(inode, FI_ACL_MODE)) in f2fs_acl_update_mode()
|
D | checkpoint.c | 1021 if (is_inode_flag_set(inode, flag)) in __add_dirty_inode() 1035 if (get_dirty_pages(inode) || !is_inode_flag_set(inode, flag)) in __remove_dirty_inode() 1165 if (is_inode_flag_set(inode, FI_DIRTY_INODE)) in f2fs_sync_inode_meta()
|
D | node.c | 852 if (is_inode_flag_set(dn->inode, FI_COMPRESSED_FILE) && in f2fs_get_dnode_of_data() 1285 if (unlikely(is_inode_flag_set(dn->inode, FI_NO_ALLOC))) in f2fs_new_node_page() 1795 if (is_inode_flag_set(inode, in f2fs_fsync_node_pages() 1856 if (!is_inode_flag_set(inode, FI_DIRTY_INODE)) in f2fs_match_ino()
|
D | xattr.c | 767 if (is_inode_flag_set(inode, FI_ACL_MODE)) { in __f2fs_setxattr()
|
D | inline.c | 681 if (is_inode_flag_set(inode, FI_NEW_INODE)) in f2fs_add_inline_entry()
|
D | compress.c | 774 if (!is_inode_flag_set(dic->inode, FI_COMPRESS_CORRUPT)) { in f2fs_decompress_cluster() 970 !is_inode_flag_set(inode, FI_COMPRESS_RELEASED)); in __f2fs_cluster_blocks()
|
D | super.c | 1469 if (is_inode_flag_set(inode, FI_DIRTY_INODE)) { in f2fs_inode_dirtied() 1489 if (!is_inode_flag_set(inode, FI_DIRTY_INODE)) { in f2fs_inode_synced() 1519 if (is_inode_flag_set(inode, FI_AUTO_RECOVER)) in f2fs_dirty_inode() 1796 if (is_inode_flag_set(dentry->d_inode, FI_PROJ_INHERIT) && in f2fs_statfs()
|
D | segment.c | 3380 if (is_inode_flag_set(inode, FI_ALIGNED_WRITE)) in __get_segment_type_6() 3394 is_inode_flag_set(inode, FI_HOT_DATA) || in __get_segment_type_6()
|