Home
last modified time | relevance | path

Searched refs:f2fs_node (Results 1 – 12 of 12) 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_node(struct f2fs_node *node) in blkaddr_in_node()
34 static inline block_t datablock_addr(struct f2fs_node *node_page, in datablock_addr()
44 static inline void set_nid(struct f2fs_node * rn, int off, nid_t nid, int i) in set_nid()
52 static inline nid_t get_nid(struct f2fs_node * rn, int off, int i) in get_nid()
67 struct f2fs_node *iblk, struct f2fs_node *nblk, nid_t nid) in set_new_dnode()
85 static inline int IS_DNODE(struct f2fs_node *node_page) in IS_DNODE()
Dfsck.h125 struct f2fs_node *, u32 *, struct node_info *);
127 u32, enum FILE_TYPE, struct f2fs_node *, u32 *,
130 enum FILE_TYPE, struct f2fs_node *, u32 *, struct child_info *);
132 enum FILE_TYPE, struct f2fs_node *, u32 *, struct child_info *);
137 int fsck_chk_inline_dentries(struct f2fs_sb_info *, struct f2fs_node *,
144 extern void print_node_info(struct f2fs_node *, int);
Ddump.c31 struct f2fs_node *node_block; in nat_dump()
41 node_block = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in nat_dump()
266 struct f2fs_node *node_blk; in dump_node_blk()
314 struct f2fs_node *node_blk) in dump_inode_blk()
351 struct f2fs_node *node_blk, int force) in dump_file()
401 struct f2fs_node *node_blk; in dump_node()
434 struct f2fs_node *node_blk; in dump_node_from_blkaddr()
453 struct f2fs_node *node_blk; in dump_data_offset()
491 struct f2fs_node *node_blk; in dump_node_offset()
Dxattr.c23 static void *read_all_xattrs(struct f2fs_sb_info *sbi, struct f2fs_node *inode) in read_all_xattrs()
71 struct f2fs_node *inode, __u32 hsize, void *txattr_addr) in write_all_xattrs()
76 struct f2fs_node *xattr_node; in write_all_xattrs()
120 struct f2fs_node *inode; in f2fs_setxattr()
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()
187 struct f2fs_node *parent = NULL; in get_dnode_of_data()
Ddir.c100 static int find_in_level(struct f2fs_sb_info *sbi,struct f2fs_node *dir, in find_in_level()
156 struct f2fs_node *dir, struct dentry *de) in f2fs_find_entry()
192 static int f2fs_add_link(struct f2fs_sb_info *sbi, struct f2fs_node *parent, in f2fs_add_link()
303 static void make_empty_dir(struct f2fs_sb_info *sbi, struct f2fs_node *inode) in make_empty_dir()
343 static void page_symlink(struct f2fs_sb_info *sbi, struct f2fs_node *inode, in page_symlink()
379 struct f2fs_node *node_blk, struct dentry *de) in init_inode_block()
439 int convert_inline_dentry(struct f2fs_sb_info *sbi, struct f2fs_node *node, in convert_inline_dentry()
537 struct f2fs_node *parent, *child; in f2fs_create()
623 struct f2fs_node *parent; in f2fs_find_path()
Df2fs.h155 struct f2fs_node *inode_blk; /* inode page */
156 struct f2fs_node *node_blk; /* cached direct node page */
233 static inline void *inline_data_addr(struct f2fs_node *node_blk) in inline_data_addr()
238 static inline unsigned int ofs_of_node(struct f2fs_node *node_blk) in ofs_of_node()
Dfsck.c205 struct f2fs_node *node_blk = NULL; in is_valid_summary()
210 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in is_valid_summary()
348 struct f2fs_node *node_blk, in sanity_check_nid()
461 struct f2fs_node *node_blk = NULL; in fsck_chk_xattr_blk()
468 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in fsck_chk_xattr_blk()
491 struct f2fs_node *node_blk = NULL; in fsck_chk_node_blk()
493 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in fsck_chk_node_blk()
592 enum FILE_TYPE ftype, struct f2fs_node *node_blk, in fsck_chk_inode_blk()
862 u32 nid, enum FILE_TYPE ftype, struct f2fs_node *node_blk, in fsck_chk_dnode_blk()
898 enum FILE_TYPE ftype, struct f2fs_node *node_blk, u32 *blk_cnt, in fsck_chk_idnode_blk()
[all …]
Dsegment.c73 struct f2fs_node *inode; in f2fs_write_block()
184 struct f2fs_node *node_blk; in f2fs_build_file()
Dmount.c112 void print_node_info(struct f2fs_node *node_block, int verbose) in print_node_info()
1012 struct f2fs_node *node_blk; in restore_node_summary()
1344 struct f2fs_node *node_blk = NULL; in update_data_blkaddr()
1349 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in update_data_blkaddr()
/external/f2fs-tools/mkfs/
Df2fs_format.c847 static int discard_obsolete_dnode(struct f2fs_node *raw_node, u_int64_t offset) in discard_obsolete_dnode()
887 struct f2fs_node *raw_node = NULL; in f2fs_write_root_inode()
/external/f2fs-tools/include/
Df2fs_fs.h683 struct f2fs_node { struct