/third_party/f2fs-tools/fsck/ |
D | node.h | 21 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 …]
|
D | fsck.h | 159 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 *); 290 void make_dentry_ptr(struct f2fs_dentry_ptr *, struct f2fs_node *, void *, int); [all …]
|
D | xattr.c | 20 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()
|
D | dump.c | 37 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() 304 static void dump_xattr(struct f2fs_sb_info *sbi, struct f2fs_node *node_blk) in dump_xattr() 367 struct f2fs_node *UNUSED(node_blk)) in dump_xattr() 374 struct f2fs_node *node_blk) in dump_inode_blk() 411 struct f2fs_node *node_blk, int force) in dump_file() 478 struct f2fs_node *node_blk; in dump_node() 521 struct f2fs_node *node_blk; in dump_node_from_blkaddr() 539 struct f2fs_node *node_blk) in start_bidx_of_node() [all …]
|
D | segment.c | 131 struct f2fs_node *inode; in f2fs_quota_size() 134 inode = (struct f2fs_node *) calloc(BLOCK_SZ, 1); in f2fs_quota_size() 152 struct f2fs_node *inode; in f2fs_read() 167 inode = (struct f2fs_node*)(blk_buffer + BLOCK_SZ); in f2fs_read() 236 struct f2fs_node *inode; in f2fs_write() 250 inode = (struct f2fs_node*)(blk_buffer + BLOCK_SZ); in f2fs_write() 329 struct f2fs_node *inode; in f2fs_filesize_update() 363 struct f2fs_node *node_blk; in f2fs_build_file()
|
D | node.c | 46 struct f2fs_node *node_blk = dn->node_blk; in set_data_blkaddr() 64 struct f2fs_node *f2fs_inode; in new_node_block() 65 struct f2fs_node *node_blk; in new_node_block() 117 static int get_node_path(struct f2fs_node *node, long block, in get_node_path() 196 struct f2fs_node *parent = NULL; in get_dnode_of_data()
|
D | dir.c | 37 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() 167 struct f2fs_node *dir, struct dentry *de) in f2fs_find_entry() 181 nid_t f2fs_lookup(struct f2fs_sb_info *sbi, struct f2fs_node *dir, in f2fs_lookup() 220 int f2fs_add_link(struct f2fs_sb_info *sbi, struct f2fs_node *parent, in f2fs_add_link() 335 static void make_empty_dir(struct f2fs_sb_info *sbi, struct f2fs_node *inode) in make_empty_dir() 376 static void page_symlink(struct f2fs_sb_info *sbi, struct f2fs_node *inode, in page_symlink() 437 struct f2fs_node *node_blk, in set_file_temperature() 462 struct f2fs_node *node_blk, struct dentry *de) in init_inode_block() 541 int convert_inline_dentry(struct f2fs_sb_info *sbi, struct f2fs_node *node, in convert_inline_dentry() [all …]
|
D | fsck.c | 222 struct f2fs_node *node_blk = NULL; in is_valid_summary() 227 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in is_valid_summary() 378 struct f2fs_node *node_blk, in sanity_check_nid() 491 struct f2fs_node *node_blk, in fsck_sanity_check_nid() 501 struct f2fs_node *node_blk = NULL; in fsck_chk_xattr_blk() 508 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in fsck_chk_xattr_blk() 531 struct f2fs_node *node_blk = NULL; in fsck_chk_node_blk() 533 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in fsck_chk_node_blk() 648 struct f2fs_node *node_blk) in fsck_reada_all_direct_node_blocks() 661 enum FILE_TYPE ftype, struct f2fs_node *node_blk, in fsck_chk_inode_blk() [all …]
|
D | f2fs.h | 228 struct f2fs_node *inode_blk; /* inode page */ 229 struct f2fs_node *node_blk; /* cached direct node page */ 311 static inline void *inline_data_addr(struct f2fs_node *node_blk) in inline_data_addr() 318 static inline unsigned int ofs_of_node(struct f2fs_node *node_blk) in ofs_of_node()
|
D | mount.c | 236 struct f2fs_node *node, int name) in print_inode_info() 347 struct f2fs_node *node_block, int verbose) in print_node_info() 1822 struct f2fs_node *node_blk; in restore_node_summary() 2198 struct f2fs_node *node_blk = NULL; in update_data_blkaddr() 2203 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in update_data_blkaddr() 3275 struct f2fs_node *node_blk; in find_fsync_inode() 3336 struct f2fs_node *node_blk, in do_record_fsync_data() 3420 struct f2fs_node *node_blk; in traverse_dnodes()
|
/third_party/f2fs-tools/mkfs/ |
D | f2fs_format.c | 1066 struct f2fs_node *raw_node; in f2fs_discard_obsolete_dnode() 1076 raw_node = calloc(sizeof(struct f2fs_node), 1); in f2fs_discard_obsolete_dnode() 1121 struct f2fs_node *raw_node = NULL; in f2fs_write_root_inode() 1281 struct f2fs_node *raw_node = NULL; in f2fs_write_qf_inode() 1474 struct f2fs_node *raw_node; in f2fs_write_lpf_inode()
|
/third_party/f2fs-tools/include/ |
D | f2fs_fs.h | 920 struct f2fs_node { struct 1200 extern __u32 f2fs_inode_chksum(struct f2fs_node *); 1202 extern int write_inode(struct f2fs_node *, u64);
|
/third_party/f2fs-tools/lib/ |
D | libf2fs.c | 555 __u32 f2fs_inode_chksum(struct f2fs_node *node) in f2fs_inode_chksum() 591 int write_inode(struct f2fs_node *inode, u64 blkaddr) in write_inode()
|