Home
last modified time | relevance | path

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

/external/f2fs-tools/fsck/
Dnode.h24 static inline int IS_INODE(struct f2fs_node *node) in IS_INODE()
29 static inline __le32 *blkaddr_in_inode(struct f2fs_node *node) in blkaddr_in_inode()
34 static inline __le32 *blkaddr_in_node(struct f2fs_node *node) in blkaddr_in_node()
39 static inline block_t datablock_addr(struct f2fs_node *node_page, in datablock_addr()
49 static inline void set_nid(struct f2fs_node * rn, int off, nid_t nid, int i) in set_nid()
57 static inline nid_t get_nid(struct f2fs_node * rn, int off, int i) in get_nid()
72 struct f2fs_node *iblk, struct f2fs_node *nblk, nid_t nid) in set_new_dnode()
90 static inline int IS_DNODE(struct f2fs_node *node_page) in IS_DNODE()
Dfsck.h132 struct f2fs_node *, u32 *, struct node_info *, struct child_info *);
134 u32, enum FILE_TYPE, struct f2fs_node *, u32 *,
137 enum FILE_TYPE, struct f2fs_node *, u32 *, struct child_info *);
139 enum FILE_TYPE, struct f2fs_node *, u32 *, struct child_info *);
144 int fsck_chk_inline_dentries(struct f2fs_sb_info *, struct f2fs_node *,
151 extern void print_node_info(struct f2fs_sb_info *, struct f2fs_node *, int);
152 extern void print_inode_info(struct f2fs_sb_info *, struct f2fs_node *, int);
240 void make_dentry_ptr(struct f2fs_dentry_ptr *, struct f2fs_node *, void *, int);
248 void *read_all_xattrs(struct f2fs_sb_info *, struct f2fs_node *);
Ddump.c38 struct f2fs_node *node_block; in nat_dump()
48 node_block = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in nat_dump()
273 struct f2fs_node *node_blk; in dump_node_blk()
321 static void dump_xattr(struct f2fs_sb_info *sbi, struct f2fs_node *node_blk) in dump_xattr()
382 struct f2fs_node *UNUSED(node_blk)) in dump_xattr()
389 struct f2fs_node *node_blk) in dump_inode_blk()
426 struct f2fs_node *node_blk, int force) in dump_file()
480 struct f2fs_node *node_blk; in dump_node()
513 struct f2fs_node *node_blk; in dump_node_from_blkaddr()
532 struct f2fs_node *node_blk; in dump_data_offset()
[all …]
Dsegment.c19 static void write_inode(u64 blkaddr, struct f2fs_node *inode) in write_inode()
90 struct f2fs_node *inode; in f2fs_read()
105 inode = (struct f2fs_node*)(blk_buffer + BLOCK_SZ); in f2fs_read()
173 struct f2fs_node *inode; in f2fs_write()
186 inode = (struct f2fs_node*)(blk_buffer + BLOCK_SZ); in f2fs_write()
259 struct f2fs_node *inode; in f2fs_filesize_update()
293 struct f2fs_node *node_blk; in f2fs_build_file()
Dnode.c43 struct f2fs_node *node_blk = dn->node_blk; in set_data_blkaddr()
61 struct f2fs_node *f2fs_inode; in new_node_block()
62 struct f2fs_node *node_blk; in new_node_block()
108 static int get_node_path(struct f2fs_node *node, long block, in get_node_path()
187 struct f2fs_node *parent = NULL; in get_dnode_of_data()
Dxattr.c20 void *read_all_xattrs(struct f2fs_sb_info *sbi, struct f2fs_node *inode) in read_all_xattrs()
68 struct f2fs_node *inode, __u32 hsize, void *txattr_addr) in write_all_xattrs()
73 struct f2fs_node *xattr_node; in write_all_xattrs()
116 struct f2fs_node *inode; in f2fs_setxattr()
Ddir.c37 void make_dentry_ptr(struct f2fs_dentry_ptr *d, struct f2fs_node *node_blk, in make_dentry_ptr()
109 static int find_in_level(struct f2fs_sb_info *sbi,struct f2fs_node *dir, in find_in_level()
166 struct f2fs_node *dir, struct dentry *de) in f2fs_find_entry()
202 static int f2fs_add_link(struct f2fs_sb_info *sbi, struct f2fs_node *parent, in f2fs_add_link()
315 static void make_empty_dir(struct f2fs_sb_info *sbi, struct f2fs_node *inode) in make_empty_dir()
355 static void page_symlink(struct f2fs_sb_info *sbi, struct f2fs_node *inode, in page_symlink()
391 struct f2fs_node *node_blk, struct dentry *de) in init_inode_block()
461 int convert_inline_dentry(struct f2fs_sb_info *sbi, struct f2fs_node *node, in convert_inline_dentry()
559 struct f2fs_node *parent, *child; in f2fs_create()
648 struct f2fs_node *parent; in f2fs_find_path()
Df2fs.h152 struct f2fs_node *inode_blk; /* inode page */
153 struct f2fs_node *node_blk; /* cached direct node page */
230 static inline void *inline_data_addr(struct f2fs_node *node_blk) in inline_data_addr()
237 static inline unsigned int ofs_of_node(struct f2fs_node *node_blk) in ofs_of_node()
Dfsck.c212 struct f2fs_node *node_blk = NULL; in is_valid_summary()
217 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in is_valid_summary()
358 struct f2fs_node *node_blk, in sanity_check_nid()
468 static int sanity_check_inode(struct f2fs_sb_info *sbi, struct f2fs_node *node) in sanity_check_inode()
490 struct f2fs_node *node_blk = NULL; in fsck_chk_xattr_blk()
497 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in fsck_chk_xattr_blk()
520 struct f2fs_node *node_blk = NULL; in fsck_chk_node_blk()
522 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in fsck_chk_node_blk()
626 enum FILE_TYPE ftype, struct f2fs_node *node_blk, in fsck_chk_inode_blk()
958 u32 nid, enum FILE_TYPE ftype, struct f2fs_node *node_blk, in fsck_chk_dnode_blk()
[all …]
Dmount.c172 struct f2fs_node *node, int name) in print_inode_info()
270 struct f2fs_node *node_block, int verbose) in print_node_info()
1206 struct f2fs_node *node_blk; in restore_node_summary()
1536 struct f2fs_node *node_blk = NULL; in update_data_blkaddr()
1541 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in update_data_blkaddr()
/external/f2fs-tools/mkfs/
Df2fs_format.c928 static int discard_obsolete_dnode(struct f2fs_node *raw_node, u_int64_t offset) in discard_obsolete_dnode()
976 struct f2fs_node *raw_node = NULL; in f2fs_write_root_inode()
1136 struct f2fs_node *raw_node = NULL; in f2fs_write_qf_inode()
/external/f2fs-tools/include/
Df2fs_fs.h813 struct f2fs_node { struct
1084 extern __u32 f2fs_inode_chksum(struct f2fs_node *);
/external/f2fs-tools/lib/
Dlibf2fs.c512 __u32 f2fs_inode_chksum(struct f2fs_node *node) in f2fs_inode_chksum()