/openbmc/linux/fs/f2fs/ |
H A D | inode.c | 29 if (is_inode_flag_set(inode, FI_NEW_INODE)) in f2fs_mark_inode_dirty_sync() 666 is_inode_flag_set(inode, FI_ATOMIC_COMMITTED)) in f2fs_update_inode() 788 !is_inode_flag_set(inode, FI_DIRTY_INODE)) in f2fs_write_inode() 878 if (is_inode_flag_set(inode, FI_DIRTY_INODE)) { in f2fs_evict_inode() 913 f2fs_bug_on(sbi, is_inode_flag_set(inode, FI_DIRTY_INODE)); in f2fs_evict_inode() 924 if (is_inode_flag_set(inode, FI_APPEND_WRITE)) in f2fs_evict_inode() 926 if (is_inode_flag_set(inode, FI_UPDATE_WRITE)) in f2fs_evict_inode() 929 if (is_inode_flag_set(inode, FI_FREE_NID)) { in f2fs_evict_inode()
|
H A D | f2fs.h | 3051 static inline int is_inode_flag_set(struct inode *inode, int flag) in is_inode_flag_set() function 3065 is_inode_flag_set(inode, FI_VERITY_IN_PROGRESS); in f2fs_verity_in_progress() 3087 bool clean = !is_inode_flag_set(inode, FI_DIRTY_INODE); in f2fs_i_blocks_write() 3088 bool recover = is_inode_flag_set(inode, FI_AUTO_RECOVER); in f2fs_i_blocks_write() 3109 bool clean = !is_inode_flag_set(inode, FI_DIRTY_INODE); in f2fs_i_size_write() 3110 bool recover = is_inode_flag_set(inode, FI_AUTO_RECOVER); in f2fs_i_size_write() 3174 if (is_inode_flag_set(inode, FI_INLINE_XATTR)) in set_raw_inline() 3176 if (is_inode_flag_set(inode, FI_INLINE_DATA)) in set_raw_inline() 3178 if (is_inode_flag_set(inode, FI_INLINE_DENTRY)) in set_raw_inline() 3180 if (is_inode_flag_set(inode, FI_DATA_EXIST)) in set_raw_inline() [all …]
|
H A D | extent_cache.c | 91 if (is_inode_flag_set(inode, FI_NO_EXTENT)) in __may_extent_tree() 93 if (is_inode_flag_set(inode, FI_COMPRESSED_FILE) && in __may_extent_tree() 97 if (is_inode_flag_set(inode, FI_COMPRESSED_FILE)) in __may_extent_tree() 635 if (is_inode_flag_set(inode, FI_NO_EXTENT)) { in __update_extent_tree_range() 763 if (is_inode_flag_set(inode, FI_NO_EXTENT)) in __update_extent_tree_range() 787 if (is_inode_flag_set(inode, FI_NO_EXTENT)) in f2fs_update_read_extent_tree_range_compressed()
|
H A D | dir.c | 543 if (is_inode_flag_set(inode, FI_NEW_INODE)) { in f2fs_init_inode_metadata() 585 if (is_inode_flag_set(inode, FI_INC_LINK)) { in f2fs_init_inode_metadata() 608 if (inode && is_inode_flag_set(inode, FI_NEW_INODE)) { in f2fs_update_parent_metadata() 619 if (inode && is_inode_flag_set(inode, FI_INC_LINK)) in f2fs_update_parent_metadata() 758 if (is_inode_flag_set(inode, FI_NEW_INODE)) in f2fs_add_regular_entry()
|
H A D | file.c | 66 if (is_inode_flag_set(inode, FI_COMPRESS_RELEASED)) in f2fs_vm_page_mkwrite() 291 if (!is_inode_flag_set(inode, FI_APPEND_WRITE) && in f2fs_do_sync_file() 298 if (is_inode_flag_set(inode, FI_UPDATE_WRITE) || in f2fs_do_sync_file() 545 if (is_inode_flag_set(inode, FI_OPENED_FILE)) { in finish_preallocate_blocks() 790 && is_inode_flag_set(inode, FI_COMPRESS_RELEASED)) in f2fs_truncate_blocks() 984 if (is_inode_flag_set(inode, FI_COMPRESS_RELEASED) && in f2fs_setattr() 1074 if (is_inode_flag_set(inode, FI_ACL_MODE)) { in f2fs_setattr() 2696 if (is_inode_flag_set(inode, FI_COMPRESS_RELEASED) || in f2fs_defragment_range() 3235 if (is_inode_flag_set(inode, FI_PIN_FILE)) in f2fs_fileattr_get() 3371 if (is_inode_flag_set(inode, FI_PIN_FILE)) in f2fs_ioc_get_pin_file() [all …]
|
H A D | namei.c | 412 if (is_inode_flag_set(dir, FI_PROJ_INHERIT) && in f2fs_link() 906 if (is_inode_flag_set(new_dir, FI_PROJ_INHERIT) && in f2fs_rename() 1102 if ((is_inode_flag_set(new_dir, FI_PROJ_INHERIT) && in f2fs_cross_rename() 1105 (is_inode_flag_set(new_dir, FI_PROJ_INHERIT) && in f2fs_cross_rename()
|
H A D | data.c | 1154 if (unlikely(is_inode_flag_set(dn->inode, FI_NO_ALLOC))) in f2fs_reserve_new_blocks() 1405 if (unlikely(is_inode_flag_set(dn->inode, FI_NO_ALLOC))) in __allocate_data_block() 2508 is_inode_flag_set(inode, FI_OPU_WRITE)) in check_inplace_update_policy() 2528 if (IS_F2FS_IPU_FSYNC(sbi) && is_inode_flag_set(inode, FI_NEED_IPU)) in check_inplace_update_policy() 2541 if (is_inode_flag_set(inode, FI_ALIGNED_WRITE)) in f2fs_should_update_inplace() 2548 if (file_is_cold(inode) && !is_inode_flag_set(inode, FI_OPU_WRITE)) in f2fs_should_update_inplace() 2573 if (is_inode_flag_set(inode, FI_ALIGNED_WRITE)) in f2fs_should_update_outplace() 2576 if (is_inode_flag_set(inode, FI_OPU_WRITE)) in f2fs_should_update_outplace() 3261 if (is_inode_flag_set(inode, FI_SKIP_WRITES)) in __f2fs_write_data_pages() 3350 if (len == PAGE_SIZE && is_inode_flag_set(inode, FI_PREALLOCATED_ALL)) in prepare_write_begin() [all …]
|
H A D | acl.c | 214 if (is_inode_flag_set(inode, FI_ACL_MODE)) in f2fs_acl_update_mode()
|
H A 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()
|
H A D | node.c | 853 if (is_inode_flag_set(dn->inode, FI_COMPRESSED_FILE) && in f2fs_get_dnode_of_data() 1314 if (unlikely(is_inode_flag_set(dn->inode, FI_NO_ALLOC))) in f2fs_new_node_page() 1835 if (is_inode_flag_set(inode, in f2fs_fsync_node_pages() 1896 if (!is_inode_flag_set(inode, FI_DIRTY_INODE)) in f2fs_match_ino()
|
H A D | inline.c | 685 if (is_inode_flag_set(inode, FI_NEW_INODE)) in f2fs_add_inline_entry()
|
H A D | xattr.c | 789 if (is_inode_flag_set(inode, FI_ACL_MODE)) { in __f2fs_setxattr()
|
H A D | segment.c | 202 if (is_inode_flag_set(inode, FI_ATOMIC_DIRTIED)) { in f2fs_abort_atomic_write() 283 bool truncate = is_inode_flag_set(inode, FI_ATOMIC_REPLACE); in __complete_revoke_list() 375 if (is_inode_flag_set(inode, FI_ATOMIC_DIRTIED)) { in __f2fs_commit_atomic_write() 3377 if (is_inode_flag_set(inode, FI_ALIGNED_WRITE)) in __get_segment_type_6() 3385 !is_inode_flag_set(inode, FI_OPU_WRITE)) in __get_segment_type_6() 3398 is_inode_flag_set(inode, FI_HOT_DATA) || in __get_segment_type_6()
|
H A D | compress.c | 775 if (!is_inode_flag_set(dic->inode, FI_COMPRESS_CORRUPT)) { in f2fs_decompress_cluster() 929 !is_inode_flag_set(dn->inode, FI_COMPRESS_RELEASED)); in f2fs_sanity_check_cluster()
|
H A D | super.c | 1490 if (is_inode_flag_set(inode, FI_DIRTY_INODE)) { in f2fs_inode_dirtied() 1510 if (!is_inode_flag_set(inode, FI_DIRTY_INODE)) { in f2fs_inode_synced() 1537 if (is_inode_flag_set(inode, FI_AUTO_RECOVER)) in f2fs_dirty_inode() 1848 if (is_inode_flag_set(dentry->d_inode, FI_PROJ_INHERIT) && in f2fs_statfs()
|