Home
last modified time | relevance | path

Searched refs:f2fs_inode (Results 1 – 11 of 11) sorted by relevance

/third_party/f2fs-tools/fsck/
Dquotaio.h219 void quota_data_inodes(quota_ctx_t qctx, struct f2fs_inode *inode, int adjust);
220 void quota_data_add(quota_ctx_t qctx, struct f2fs_inode *inode, qsize_t space);
221 void quota_data_sub(quota_ctx_t qctx, struct f2fs_inode *inode, qsize_t space);
224 struct f2fs_inode* inode);
Dnode.c112 struct f2fs_node *f2fs_inode; in new_node_block() local
121 f2fs_inode = dn->inode_blk; in new_node_block()
127 node_blk->footer.ino = f2fs_inode->footer.ino; in new_node_block()
130 set_cold_node(node_blk, S_ISDIR(le16_to_cpu(f2fs_inode->i.i_mode))); in new_node_block()
134 if (S_ISDIR(le16_to_cpu(f2fs_inode->i.i_mode))) in new_node_block()
153 update_nat_blkaddr(sbi, le32_to_cpu(f2fs_inode->footer.ino), in new_node_block()
Dmkquota.c119 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()
Dfsck.h171 extern int fsck_chk_node_blk(struct f2fs_sb_info *, struct f2fs_inode *, u32,
177 extern int fsck_chk_dnode_blk(struct f2fs_sb_info *, struct f2fs_inode *,
181 extern int fsck_chk_idnode_blk(struct f2fs_sb_info *, struct f2fs_inode *,
184 extern int fsck_chk_didnode_blk(struct f2fs_sb_info *, struct f2fs_inode *,
Df2fs.h609 static inline void *inline_xattr_addr(struct f2fs_inode *inode) in inline_xattr_addr()
615 static inline int inline_xattr_size(struct f2fs_inode *inode) in inline_xattr_size()
Dfsck.c553 int fsck_chk_node_blk(struct f2fs_sb_info *sbi, struct f2fs_inode *inode, in fsck_chk_node_blk()
1196 int fsck_chk_dnode_blk(struct f2fs_sb_info *sbi, struct f2fs_inode *inode, in fsck_chk_dnode_blk()
1261 int fsck_chk_idnode_blk(struct f2fs_sb_info *sbi, struct f2fs_inode *inode, in fsck_chk_idnode_blk()
1304 int fsck_chk_didnode_blk(struct f2fs_sb_info *sbi, struct f2fs_inode *inode, in fsck_chk_didnode_blk()
Ddump.c475 struct f2fs_inode *inode = &node_blk->i; in dump_file()
Ddir.c553 struct f2fs_inode *inode = &(node->i); in convert_inline_dentry()
Dmount.c239 struct f2fs_inode *inode = &node->i; in print_inode_info()
/third_party/f2fs-tools/include/
Df2fs_fs.h930 offsetof(struct f2fs_inode, i_extra_isize)
932 (offsetof(struct f2fs_inode, i_extra_end) - F2FS_EXTRA_ISIZE_OFFSET)
988 struct f2fs_inode { struct
1040 static_assert(offsetof(struct f2fs_inode, i_extra_end) - argument
1041 offsetof(struct f2fs_inode, i_extra_isize) == 36, "");
1042 static_assert(sizeof(struct f2fs_inode) == 4072, "");
1078 struct f2fs_inode i;
1384 extern unsigned int addrs_per_inode(struct f2fs_inode *);
1385 extern unsigned int addrs_per_block(struct f2fs_inode *);
1386 extern unsigned int f2fs_max_file_offset(struct f2fs_inode *);
[all …]
/third_party/f2fs-tools/lib/
Dlibf2fs.c502 unsigned int addrs_per_inode(struct f2fs_inode *i) in addrs_per_inode()
512 unsigned int addrs_per_block(struct f2fs_inode *i) in addrs_per_block()
520 unsigned int f2fs_max_file_offset(struct f2fs_inode *i) in f2fs_max_file_offset()
562 struct f2fs_inode *ri = &node->i; in f2fs_inode_chksum()
567 unsigned int offset = offsetof(struct f2fs_inode, i_inode_checksum); in f2fs_inode_chksum()
1291 unsigned int size = offsetof(struct f2fs_inode, i_projid); in calc_extra_isize()
1294 size = offsetof(struct f2fs_inode, i_projid); in calc_extra_isize()
1296 size = offsetof(struct f2fs_inode, i_inode_checksum); in calc_extra_isize()
1298 size = offsetof(struct f2fs_inode, i_crtime); in calc_extra_isize()
1300 size = offsetof(struct f2fs_inode, i_compr_blocks); in calc_extra_isize()
[all …]