Home
last modified time | relevance | path

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

/external/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.h612 static inline void *inline_xattr_addr(struct f2fs_inode *inode) in inline_xattr_addr()
618 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()
1259 int fsck_chk_dnode_blk(struct f2fs_sb_info *sbi, struct f2fs_inode *inode, in fsck_chk_dnode_blk()
1324 int fsck_chk_idnode_blk(struct f2fs_sb_info *sbi, struct f2fs_inode *inode, in fsck_chk_idnode_blk()
1367 int fsck_chk_didnode_blk(struct f2fs_sb_info *sbi, struct f2fs_inode *inode, in fsck_chk_didnode_blk()
Ddump.c484 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()
/external/f2fs-tools/include/
Df2fs_fs.h972 offsetof(struct f2fs_inode, i_extra_isize)
974 (offsetof(struct f2fs_inode, i_extra_end) - F2FS_EXTRA_ISIZE_OFFSET)
1031 struct f2fs_inode { struct
1083 static_assert(offsetof(struct f2fs_inode, i_extra_end) - argument
1084 offsetof(struct f2fs_inode, i_extra_isize) == 36, "");
1085 static_assert(sizeof(struct f2fs_inode) == 4072, "");
1121 struct f2fs_inode i;
1431 extern unsigned int addrs_per_inode(struct f2fs_inode *);
1432 extern unsigned int addrs_per_block(struct f2fs_inode *);
1433 extern unsigned int f2fs_max_file_offset(struct f2fs_inode *);
[all …]
/external/f2fs-tools/lib/
Dlibf2fs.c497 unsigned int addrs_per_inode(struct f2fs_inode *i) in addrs_per_inode()
507 unsigned int addrs_per_block(struct f2fs_inode *i) in addrs_per_block()
515 unsigned int f2fs_max_file_offset(struct f2fs_inode *i) in f2fs_max_file_offset()
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()
1285 unsigned int size = offsetof(struct f2fs_inode, i_projid); in calc_extra_isize()
1288 size = offsetof(struct f2fs_inode, i_projid); in calc_extra_isize()
1290 size = offsetof(struct f2fs_inode, i_inode_checksum); in calc_extra_isize()
1292 size = offsetof(struct f2fs_inode, i_crtime); in calc_extra_isize()
1294 size = offsetof(struct f2fs_inode, i_compr_blocks); in calc_extra_isize()
[all …]