Home
last modified time | relevance | path

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

/third_party/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.h169 struct f2fs_node *, enum FILE_TYPE, enum NODE_TYPE,
175 struct f2fs_node *, u32 *, struct f2fs_compr_blk_cnt *,
178 u32, enum FILE_TYPE, struct f2fs_node *, u32 *,
182 enum FILE_TYPE, struct f2fs_node *, u32 *,
185 enum FILE_TYPE, struct f2fs_node *, u32 *,
191 int fsck_chk_inline_dentries(struct f2fs_sb_info *, struct f2fs_node *,
202 extern void print_node_info(struct f2fs_sb_info *, struct f2fs_node *, int);
203 extern void print_inode_info(struct f2fs_sb_info *, struct f2fs_node *, int);
275 extern unsigned int start_bidx_of_node(unsigned int, struct f2fs_node *);
318 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.c40 struct f2fs_node *node_block; in nat_dump()
48 node_block = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in nat_dump()
298 struct f2fs_node *node_blk; in dump_node_blk()
353 static void dump_xattr(struct f2fs_sb_info *sbi, struct f2fs_node *node_blk) in dump_xattr()
416 struct f2fs_node *UNUSED(node_blk)) in dump_xattr()
423 struct f2fs_node *node_blk) in dump_inode_blk()
473 struct f2fs_node *node_blk, int force) in dump_file()
544 struct f2fs_node *node_blk; in dump_node_scan_disk()
578 struct f2fs_node *node_blk; in dump_node()
624 struct f2fs_node *node_blk; in dump_node_from_blkaddr()
[all …]
Dnode.c45 struct f2fs_node *raw_node = NULL; in f2fs_rebuild_qf_inode()
93 struct f2fs_node *node_blk = dn->node_blk; in set_data_blkaddr()
112 struct f2fs_node *f2fs_inode; in new_node_block()
113 struct f2fs_node *node_blk; in new_node_block()
169 static int get_node_path(struct f2fs_node *node, long block, in get_node_path()
248 struct f2fs_node *parent = NULL; in get_dnode_of_data()
Dsegment.c154 struct f2fs_node *inode; in f2fs_quota_size()
157 inode = (struct f2fs_node *) calloc(BLOCK_SZ, 1); in f2fs_quota_size()
175 struct f2fs_node *inode; in f2fs_read()
190 inode = (struct f2fs_node*)(blk_buffer + BLOCK_SZ); in f2fs_read()
265 struct f2fs_node *inode; in f2fs_write_ex()
292 inode = (struct f2fs_node*)(blk_buffer + BLOCK_SZ); in f2fs_write_ex()
404 struct f2fs_node *inode; in f2fs_filesize_update()
481 static inline void update_extent_info(struct f2fs_node *inode, in update_extent_info()
493 struct f2fs_node *inode; in update_largest_extent()
504 inode = (struct f2fs_node *) calloc(BLOCK_SZ, 1); in update_largest_extent()
[all …]
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()
550 int convert_inline_dentry(struct f2fs_sb_info *sbi, struct f2fs_node *node, in convert_inline_dentry()
[all …]
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()
390 struct f2fs_node *node_blk, in sanity_check_nid()
518 struct f2fs_node *node_blk, in fsck_sanity_check_nid()
528 struct f2fs_node *node_blk = NULL; in fsck_chk_xattr_blk()
535 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in fsck_chk_xattr_blk()
559 struct f2fs_node *node_blk = NULL; in fsck_chk_node_blk()
561 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in fsck_chk_node_blk()
677 struct f2fs_node *node_blk) in fsck_reada_all_direct_node_blocks()
690 enum FILE_TYPE ftype, struct f2fs_node *node_blk, in fsck_chk_inode_blk()
[all …]
Df2fs.h233 struct f2fs_node *inode_blk; /* inode page */
234 struct f2fs_node *node_blk; /* cached direct node page */
325 static inline void *inline_data_addr(struct f2fs_node *node_blk) in inline_data_addr()
332 static inline unsigned int ofs_of_node(struct f2fs_node *node_blk) in ofs_of_node()
Dmount.c238 struct f2fs_node *node, int name) in print_inode_info()
349 struct f2fs_node *node_block, int verbose) in print_node_info()
1967 struct f2fs_node *node_blk; in restore_node_summary()
2347 struct f2fs_node *node_blk = NULL; in update_data_blkaddr()
2352 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in update_data_blkaddr()
3440 struct f2fs_node *node_blk; in find_fsync_inode()
3501 struct f2fs_node *node_blk, in do_record_fsync_data()
3585 struct f2fs_node *node_blk; in traverse_dnodes()
/third_party/f2fs-tools/include/
Df2fs_fs.h1118 struct f2fs_node { struct
1128 static_assert(sizeof(struct f2fs_node) == 4096, ""); argument
1434 extern __u32 f2fs_inode_chksum(struct f2fs_node *);
1436 extern int write_inode(struct f2fs_node *, u64);
1694 struct f2fs_node *raw_node, int qtype, time_t mtime) in f2fs_init_qf_inode()
/third_party/f2fs-tools/mkfs/
Df2fs_format.c1163 struct f2fs_node *raw_node; in f2fs_discard_obsolete_dnode()
1173 raw_node = calloc(sizeof(struct f2fs_node), 1); in f2fs_discard_obsolete_dnode()
1218 struct f2fs_node *raw_node = NULL; in f2fs_write_root_inode()
1378 struct f2fs_node *raw_node = NULL; in f2fs_write_qf_inode()
1537 struct f2fs_node *raw_node; in f2fs_write_lpf_inode()
/third_party/f2fs-tools/lib/
Dlibf2fs.c557 __u32 f2fs_inode_chksum(struct f2fs_node *node) in f2fs_inode_chksum()
593 int write_inode(struct f2fs_node *inode, u64 blkaddr) in write_inode()