Home
last modified time | relevance | path

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

/external/f2fs-tools/fsck/
Dnode.h21 static inline int IS_INODE(struct f2fs_node *node) in IS_INODE()
27 struct f2fs_node *node_blk, struct f2fs_node *inode_blk) in ADDRS_PER_PAGE()
51 static inline __le32 *blkaddr_in_inode(struct f2fs_node *node) in blkaddr_in_inode()
56 static inline __le32 *blkaddr_in_node(struct f2fs_node *node) in blkaddr_in_node()
61 static inline block_t datablock_addr(struct f2fs_node *node_page, in datablock_addr()
71 static inline void set_nid(struct f2fs_node * rn, int off, nid_t nid, int i) in set_nid()
79 static inline nid_t get_nid(struct f2fs_node * rn, int off, int i) in get_nid()
94 struct f2fs_node *iblk, struct f2fs_node *nblk, nid_t nid) in set_new_dnode()
112 static inline int IS_DNODE(struct f2fs_node *node_page) in IS_DNODE()
128 static inline nid_t ino_of_node(struct f2fs_node *node_blk) in ino_of_node()
[all …]
Dfsck.h159 struct f2fs_node *, enum FILE_TYPE, enum NODE_TYPE,
165 struct f2fs_node *, u32 *, struct node_info *, struct child_info *);
167 u32, enum FILE_TYPE, struct f2fs_node *, u32 *,
170 enum FILE_TYPE, struct f2fs_node *, u32 *, struct child_info *);
172 enum FILE_TYPE, struct f2fs_node *, u32 *, struct child_info *);
177 int fsck_chk_inline_dentries(struct f2fs_sb_info *, struct f2fs_node *,
188 extern void print_node_info(struct f2fs_sb_info *, struct f2fs_node *, int);
189 extern void print_inode_info(struct f2fs_sb_info *, struct f2fs_node *, int);
258 extern unsigned int start_bidx_of_node(unsigned int, struct f2fs_node *);
299 void make_dentry_ptr(struct f2fs_dentry_ptr *, struct f2fs_node *, void *, int);
[all …]
Dxattr.c20 void *read_all_xattrs(struct f2fs_sb_info *sbi, struct f2fs_node *inode) in read_all_xattrs()
28 struct f2fs_node *node_blk = NULL; in read_all_xattrs()
32 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in read_all_xattrs()
84 struct f2fs_node *inode, __u32 hsize, void *txattr_addr) in write_all_xattrs()
89 struct f2fs_node *xattr_node; in write_all_xattrs()
136 struct f2fs_node *inode; in f2fs_setxattr()
Ddump.c37 struct f2fs_node *node_block; in nat_dump()
45 node_block = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in nat_dump()
254 struct f2fs_node *node_blk; in dump_node_blk()
305 static void dump_xattr(struct f2fs_sb_info *sbi, struct f2fs_node *node_blk) in dump_xattr()
368 struct f2fs_node *UNUSED(node_blk)) in dump_xattr()
375 struct f2fs_node *node_blk) in dump_inode_blk()
412 struct f2fs_node *node_blk, int force) in dump_file()
479 struct f2fs_node *node_blk; in dump_node()
522 struct f2fs_node *node_blk; in dump_node_from_blkaddr()
540 struct f2fs_node *node_blk) in start_bidx_of_node()
[all …]
Dnode.c46 struct f2fs_node *node_blk = dn->node_blk; in set_data_blkaddr()
65 struct f2fs_node *f2fs_inode; in new_node_block()
66 struct f2fs_node *node_blk; in new_node_block()
122 static int get_node_path(struct f2fs_node *node, long block, in get_node_path()
201 struct f2fs_node *parent = NULL; in get_dnode_of_data()
Ddir.c38 void make_dentry_ptr(struct f2fs_dentry_ptr *d, struct f2fs_node *node_blk, in make_dentry_ptr()
110 static int find_in_level(struct f2fs_sb_info *sbi, struct f2fs_node *dir, in find_in_level()
168 struct f2fs_node *dir, struct dentry *de) in f2fs_find_entry()
182 nid_t f2fs_lookup(struct f2fs_sb_info *sbi, struct f2fs_node *dir, in f2fs_lookup()
221 int f2fs_add_link(struct f2fs_sb_info *sbi, struct f2fs_node *parent, in f2fs_add_link()
336 static void make_empty_dir(struct f2fs_sb_info *sbi, struct f2fs_node *inode) in make_empty_dir()
377 static void page_symlink(struct f2fs_sb_info *sbi, struct f2fs_node *inode, in page_symlink()
438 struct f2fs_node *node_blk, in set_file_temperature()
463 struct f2fs_node *node_blk, struct dentry *de) in init_inode_block()
542 int convert_inline_dentry(struct f2fs_sb_info *sbi, struct f2fs_node *node, in convert_inline_dentry()
[all …]
Dsegment.c141 struct f2fs_node *inode; in f2fs_quota_size()
144 inode = (struct f2fs_node *) calloc(BLOCK_SZ, 1); in f2fs_quota_size()
162 struct f2fs_node *inode; in f2fs_read()
177 inode = (struct f2fs_node*)(blk_buffer + BLOCK_SZ); in f2fs_read()
252 struct f2fs_node *inode; in f2fs_write_ex()
279 inode = (struct f2fs_node*)(blk_buffer + BLOCK_SZ); in f2fs_write_ex()
391 struct f2fs_node *inode; in f2fs_filesize_update()
459 struct f2fs_node *node_blk; in f2fs_build_file()
Dfsck.c226 struct f2fs_node *node_blk = NULL; in is_valid_summary()
231 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in is_valid_summary()
386 struct f2fs_node *node_blk, in sanity_check_nid()
499 struct f2fs_node *node_blk, in fsck_sanity_check_nid()
509 struct f2fs_node *node_blk = NULL; in fsck_chk_xattr_blk()
516 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in fsck_chk_xattr_blk()
539 struct f2fs_node *node_blk = NULL; in fsck_chk_node_blk()
541 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in fsck_chk_node_blk()
656 struct f2fs_node *node_blk) in fsck_reada_all_direct_node_blocks()
669 enum FILE_TYPE ftype, struct f2fs_node *node_blk, in fsck_chk_inode_blk()
[all …]
Df2fs.h229 struct f2fs_node *inode_blk; /* inode page */
230 struct f2fs_node *node_blk; /* cached direct node page */
321 static inline void *inline_data_addr(struct f2fs_node *node_blk) in inline_data_addr()
328 static inline unsigned int ofs_of_node(struct f2fs_node *node_blk) in ofs_of_node()
Dmount.c236 struct f2fs_node *node, int name) in print_inode_info()
347 struct f2fs_node *node_block, int verbose) in print_node_info()
1837 struct f2fs_node *node_blk; in restore_node_summary()
2217 struct f2fs_node *node_blk = NULL; in update_data_blkaddr()
2222 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in update_data_blkaddr()
3302 struct f2fs_node *node_blk; in find_fsync_inode()
3363 struct f2fs_node *node_blk, in do_record_fsync_data()
3447 struct f2fs_node *node_blk; in traverse_dnodes()
/external/f2fs-tools/mkfs/
Df2fs_format.c1135 struct f2fs_node *raw_node; in f2fs_discard_obsolete_dnode()
1145 raw_node = calloc(sizeof(struct f2fs_node), 1); in f2fs_discard_obsolete_dnode()
1190 struct f2fs_node *raw_node = NULL; in f2fs_write_root_inode()
1350 struct f2fs_node *raw_node = NULL; in f2fs_write_qf_inode()
1543 struct f2fs_node *raw_node; in f2fs_write_lpf_inode()
/external/f2fs-tools/include/
Df2fs_fs.h1021 struct f2fs_node { struct
1301 extern __u32 f2fs_inode_chksum(struct f2fs_node *);
1303 extern int write_inode(struct f2fs_node *, u64);
/external/f2fs-tools/lib/
Dlibf2fs.c553 __u32 f2fs_inode_chksum(struct f2fs_node *node) in f2fs_inode_chksum()
589 int write_inode(struct f2fs_node *inode, u64 blkaddr) in write_inode()