Searched refs:F2FS_I (Results 1 – 13 of 13) sorted by relevance
/fs/f2fs/ |
D | dir.c | 167 if (!de && room && F2FS_I(dir)->chash != namehash) { in find_in_level() 168 F2FS_I(dir)->chash = namehash; in find_in_level() 169 F2FS_I(dir)->clevel = level; in find_in_level() 201 max_depth = F2FS_I(dir)->i_current_depth; in f2fs_find_entry() 209 if (!de && F2FS_I(dir)->chash != name_hash) { in f2fs_find_entry() 210 F2FS_I(dir)->chash = name_hash; in f2fs_find_entry() 211 F2FS_I(dir)->clevel = level - 1; in f2fs_find_entry() 262 F2FS_I(inode)->i_pino = dir->i_ino; in f2fs_set_link() 323 if (is_inode_flag_set(F2FS_I(inode), FI_NEW_INODE)) { in init_inode_metadata() 351 if (is_inode_flag_set(F2FS_I(inode), FI_INC_LINK)) { in init_inode_metadata() [all …]
|
D | inode.c | 23 unsigned int flags = F2FS_I(inode)->i_flags; in f2fs_set_inode_flags() 43 struct f2fs_inode_info *fi = F2FS_I(inode); in do_read_inode() 167 ri->i_advise = F2FS_I(inode)->i_advise; in update_inode() 173 set_raw_extent(&F2FS_I(inode)->ext, &ri->i_ext); in update_inode() 181 ri->i_current_depth = cpu_to_le32(F2FS_I(inode)->i_current_depth); in update_inode() 182 ri->i_xattr_nid = cpu_to_le32(F2FS_I(inode)->i_xattr_nid); in update_inode() 183 ri->i_flags = cpu_to_le32(F2FS_I(inode)->i_flags); in update_inode() 184 ri->i_pino = cpu_to_le32(F2FS_I(inode)->i_pino); in update_inode() 255 BUG_ON(atomic_read(&F2FS_I(inode)->dirty_dents)); in f2fs_evict_inode() 262 set_inode_flag(F2FS_I(inode), FI_NO_ALLOC); in f2fs_evict_inode()
|
D | xattr.c | 128 *((char *)buffer) = F2FS_I(inode)->i_advise; in f2fs_xattr_advise_get() 144 F2FS_I(inode)->i_advise |= *(char *)value; in f2fs_xattr_advise_set() 206 struct f2fs_inode_info *fi = F2FS_I(inode); in f2fs_getxattr() 260 struct f2fs_inode_info *fi = F2FS_I(inode); in f2fs_listxattr() 302 struct f2fs_inode_info *fi = F2FS_I(inode); in f2fs_setxattr()
|
D | node.h | 280 return F2FS_I(inode)->i_advise & FADVISE_COLD_BIT; in is_cold_file() 285 F2FS_I(inode)->i_advise |= FADVISE_COLD_BIT; in set_cold_file() 290 return F2FS_I(inode)->i_advise & FADVISE_CP_BIT; in is_cp_file() 295 F2FS_I(inode)->i_advise |= FADVISE_CP_BIT; in set_cp_file()
|
D | namei.c | 178 set_inode_flag(F2FS_I(inode), FI_INC_LINK); in f2fs_link() 194 clear_inode_flag(F2FS_I(inode), FI_INC_LINK); in f2fs_link() 324 set_inode_flag(F2FS_I(inode), FI_INC_LINK); in f2fs_mkdir() 339 clear_inode_flag(F2FS_I(inode), FI_INC_LINK); in f2fs_mkdir()
|
D | acl.c | 20 #define get_inode_mode(i) ((is_inode_flag_set(F2FS_I(i), FI_ACL_MODE)) ? \ 21 (F2FS_I(i)->i_acl_mode) : ((i)->i_mode)) 211 struct f2fs_inode_info *fi = F2FS_I(inode); in f2fs_set_acl()
|
D | file.c | 141 else if (!is_checkpointed_node(sbi, F2FS_I(inode)->i_pino)) in f2fs_sync_file() 306 struct f2fs_inode_info *fi = F2FS_I(inode); in __setattr_copy() 337 struct f2fs_inode_info *fi = F2FS_I(inode); in f2fs_setattr() 573 struct f2fs_inode_info *fi = F2FS_I(inode); in f2fs_ioctl()
|
D | f2fs.h | 421 static inline struct f2fs_inode_info *F2FS_I(struct inode *inode) in F2FS_I() function 550 if (F2FS_I(inode)->i_xattr_nid) in F2FS_HAS_BLOCKS() 596 atomic_inc(&F2FS_I(inode)->dirty_dents); in inode_inc_dirty_dents() 606 atomic_dec(&F2FS_I(inode)->dirty_dents); in inode_dec_dirty_dents()
|
D | data.c | 54 if (is_inode_flag_set(F2FS_I(dn->inode), FI_NO_ALLOC)) in reserve_new_block() 70 struct f2fs_inode_info *fi = F2FS_I(inode); in check_extent_cache() 109 struct f2fs_inode_info *fi = F2FS_I(dn->inode); in update_extent_cache()
|
D | node.c | 786 if (F2FS_I(inode)->i_xattr_nid) { in remove_inode_page() 787 nid_t nid = F2FS_I(inode)->i_xattr_nid; in remove_inode_page() 793 F2FS_I(inode)->i_xattr_nid = 0; in remove_inode_page() 829 if (is_inode_flag_set(F2FS_I(dn->inode), FI_NO_ALLOC)) in new_node_page()
|
D | recovery.c | 131 set_inode_flag(F2FS_I(entry->inode), in find_fsync_dnodes()
|
D | super.c | 118 kmem_cache_free(f2fs_inode_cachep, F2FS_I(inode)); in f2fs_i_callback()
|
D | checkpoint.c | 502 if (atomic_read(&F2FS_I(inode)->dirty_dents)) in remove_dirty_dir_inode()
|