Home
last modified time | relevance | path

Searched refs:F2FS_I (Results 1 – 13 of 13) sorted by relevance

/fs/f2fs/
Ddir.c167 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 …]
Dinode.c23 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()
Dxattr.c128 *((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()
Dnode.h280 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()
Dnamei.c178 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()
Dacl.c20 #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()
Dfile.c141 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()
Df2fs.h421 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()
Ddata.c54 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()
Dnode.c786 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()
Drecovery.c131 set_inode_flag(F2FS_I(entry->inode), in find_fsync_dnodes()
Dsuper.c118 kmem_cache_free(f2fs_inode_cachep, F2FS_I(inode)); in f2fs_i_callback()
Dcheckpoint.c502 if (atomic_read(&F2FS_I(inode)->dirty_dents)) in remove_dirty_dir_inode()