Searched refs:f2fs_inode (Results 1 – 11 of 11) sorted by relevance
/third_party/f2fs-tools/fsck/ |
D | node.c | 64 struct f2fs_node *f2fs_inode; in new_node_block() local 73 f2fs_inode = dn->inode_blk; in new_node_block() 79 node_blk->footer.ino = f2fs_inode->footer.ino; in new_node_block() 82 set_cold_node(node_blk, S_ISDIR(le16_to_cpu(f2fs_inode->i.i_mode))); in new_node_block() 86 if (S_ISDIR(le16_to_cpu(f2fs_inode->i.i_mode))) in new_node_block() 101 update_nat_blkaddr(sbi, le32_to_cpu(f2fs_inode->footer.ino), in new_node_block()
|
D | quotaio.h | 222 void quota_data_inodes(quota_ctx_t qctx, struct f2fs_inode *inode, int adjust); 223 void quota_data_add(quota_ctx_t qctx, struct f2fs_inode *inode, qsize_t space); 224 void quota_data_sub(quota_ctx_t qctx, struct f2fs_inode *inode, qsize_t space); 227 struct f2fs_inode* inode);
|
D | mkquota.c | 119 static inline qid_t get_qid(struct f2fs_inode *inode, enum quota_type qtype) in get_qid() 228 void quota_data_add(quota_ctx_t qctx, struct f2fs_inode *inode, qsize_t space) in quota_data_add() 250 void quota_data_sub(quota_ctx_t qctx, struct f2fs_inode *inode, qsize_t space) in quota_data_sub() 271 void quota_data_inodes(quota_ctx_t qctx, struct f2fs_inode *inode, int adjust) in quota_data_inodes() 292 struct f2fs_inode* inode) in quota_add_inode_usage()
|
D | fsck.h | 161 extern int fsck_chk_node_blk(struct f2fs_sb_info *, struct f2fs_inode *, u32, 166 extern int fsck_chk_dnode_blk(struct f2fs_sb_info *, struct f2fs_inode *, 169 extern int fsck_chk_idnode_blk(struct f2fs_sb_info *, struct f2fs_inode *, 171 extern int fsck_chk_didnode_blk(struct f2fs_sb_info *, struct f2fs_inode *,
|
D | f2fs.h | 583 static inline void *inline_xattr_addr(struct f2fs_inode *inode) in inline_xattr_addr() 589 static inline int inline_xattr_size(struct f2fs_inode *inode) in inline_xattr_size()
|
D | fsck.c | 526 int fsck_chk_node_blk(struct f2fs_sb_info *sbi, struct f2fs_inode *inode, in fsck_chk_node_blk() 1112 int fsck_chk_dnode_blk(struct f2fs_sb_info *sbi, struct f2fs_inode *inode, in fsck_chk_dnode_blk() 1157 int fsck_chk_idnode_blk(struct f2fs_sb_info *sbi, struct f2fs_inode *inode, in fsck_chk_idnode_blk() 1199 int fsck_chk_didnode_blk(struct f2fs_sb_info *sbi, struct f2fs_inode *inode, in fsck_chk_didnode_blk()
|
D | dump.c | 413 struct f2fs_inode *inode = &node_blk->i; in dump_file()
|
D | dir.c | 544 struct f2fs_inode *inode = &(node->i); in convert_inline_dentry()
|
D | mount.c | 238 struct f2fs_inode *inode = &node->i; in print_inode_info()
|
/third_party/f2fs-tools/lib/ |
D | libf2fs.c | 505 unsigned int addrs_per_inode(struct f2fs_inode *i) in addrs_per_inode() 515 unsigned int addrs_per_block(struct f2fs_inode *i) in addrs_per_block() 557 struct f2fs_inode *ri = &node->i; in f2fs_inode_chksum() 562 unsigned int offset = offsetof(struct f2fs_inode, i_inode_checksum); in f2fs_inode_chksum() 1259 unsigned int size = offsetof(struct f2fs_inode, i_projid); in calc_extra_isize() 1262 size = offsetof(struct f2fs_inode, i_projid); in calc_extra_isize() 1264 size = offsetof(struct f2fs_inode, i_inode_checksum); in calc_extra_isize() 1266 size = offsetof(struct f2fs_inode, i_crtime); in calc_extra_isize() 1268 size = offsetof(struct f2fs_inode, i_compr_blocks); in calc_extra_isize() 1270 size = offsetof(struct f2fs_inode, i_extra_end); in calc_extra_isize()
|
/third_party/f2fs-tools/include/ |
D | f2fs_fs.h | 799 offsetof(struct f2fs_inode, i_extra_isize) 801 (offsetof(struct f2fs_inode, i_extra_end) - F2FS_EXTRA_ISIZE_OFFSET) 842 struct f2fs_inode { struct 923 struct f2fs_inode i; 1198 extern unsigned int addrs_per_inode(struct f2fs_inode *); 1199 extern unsigned int addrs_per_block(struct f2fs_inode *); 1253 static inline bool f2fs_has_extra_isize(struct f2fs_inode *inode) in f2fs_has_extra_isize() 1258 static inline int __get_extra_isize(struct f2fs_inode *inode) in __get_extra_isize() 1266 static inline int get_inline_xattr_addrs(struct f2fs_inode *inode) in get_inline_xattr_addrs()
|