Home
last modified time | relevance | path

Searched refs:nid_t (Results 1 – 12 of 12) sorted by relevance

/third_party/f2fs-tools/fsck/
Dfsck.h196 extern void get_node_info(struct f2fs_sb_info *, nid_t, struct node_info *);
222 extern void update_data_blkaddr(struct f2fs_sb_info *, nid_t, u16, block_t);
223 extern void update_nat_blkaddr(struct f2fs_sb_info *, nid_t, nid_t, block_t);
226 extern pgoff_t current_nat_addr(struct f2fs_sb_info *, nid_t, int *);
243 nid_t nid;
244 nid_t start_nat;
245 nid_t end_nat;
253 extern void nat_dump(struct f2fs_sb_info *, nid_t, nid_t);
256 extern void dump_node(struct f2fs_sb_info *, nid_t, int);
276 void f2fs_alloc_nid(struct f2fs_sb_info *, nid_t *);
[all …]
Dnode.h29 nid_t ino = le32_to_cpu(node_blk->footer.ino); in ADDRS_PER_PAGE()
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()
128 static inline nid_t ino_of_node(struct f2fs_node *node_blk) in ino_of_node()
Df2fs.h117 nid_t nid;
118 nid_t ino;
126 nid_t max_nid;
127 nid_t init_scan_nid;
128 nid_t next_scan_nid;
222 nid_t ino;
223 nid_t pino;
230 nid_t nid;
480 nid_t ino; /* inode number */
559 static inline void set_summary(struct f2fs_summary *sum, nid_t nid, in set_summary()
Dxattr.c25 nid_t xnid = le32_to_cpu(inode->i.i_xattr_nid); in read_all_xattrs()
90 nid_t new_nid = 0; in write_all_xattrs()
92 nid_t xnid = le32_to_cpu(inode->i.i_xattr_nid); in write_all_xattrs()
133 int f2fs_setxattr(struct f2fs_sb_info *sbi, nid_t ino, int index, const char *name, in f2fs_setxattr()
Dnode.c19 void f2fs_alloc_nid(struct f2fs_sb_info *sbi, nid_t *nid) in f2fs_alloc_nid()
22 nid_t i; in f2fs_alloc_nid()
33 void f2fs_release_nid(struct f2fs_sb_info *sbi, nid_t nid) in f2fs_release_nid()
197 nid_t nids[4]; in get_dnode_of_data()
Ddir.c118 nid_t ino = le32_to_cpu(dir->footer.ino); in find_in_level()
181 nid_t f2fs_lookup(struct f2fs_sb_info *sbi, struct f2fs_node *dir, in f2fs_lookup()
197 static void f2fs_update_dentry(nid_t ino, int file_type, in f2fs_update_dentry()
221 const unsigned char *name, int name_len, nid_t ino, in f2fs_add_link()
233 nid_t pino = le32_to_cpu(parent->footer.ino); in f2fs_add_link()
338 nid_t ino = le32_to_cpu(inode->footer.ino); in make_empty_dir()
339 nid_t pino = le32_to_cpu(inode->i.i_pino); in make_empty_dir()
379 nid_t ino = le32_to_cpu(inode->footer.ino); in page_symlink()
546 nid_t ino = le32_to_cpu(node->footer.ino); in convert_inline_dentry()
727 int f2fs_find_path(struct f2fs_sb_info *sbi, char *path, nid_t *ino) in f2fs_find_path()
Ddump.c34 void nat_dump(struct f2fs_sb_info *sbi, nid_t start_nat, nid_t end_nat) in nat_dump()
38 nid_t nid; in nat_dump()
475 void dump_node(struct f2fs_sb_info *sbi, nid_t nid, int force) in dump_node()
690 nid_t nid; in dump_info_from_blkaddr()
Dsegment.c147 u64 f2fs_read(struct f2fs_sb_info *sbi, nid_t ino, u8 *buffer, in f2fs_read()
231 u64 f2fs_write(struct f2fs_sb_info *sbi, nid_t ino, u8 *buffer, in f2fs_write()
326 void f2fs_filesize_update(struct f2fs_sb_info *sbi, nid_t ino, u64 filesize) in f2fs_filesize_update()
Dfsck.c670 nid_t i_xattr_nid = le32_to_cpu(node_blk->i.i_xattr_nid); in fsck_chk_inode_blk()
917 nid_t i_nid = le32_to_cpu(node_blk->i.i_nid[idx]); in fsck_chk_inode_blk()
1189 nid_t nid = le32_to_cpu(node_blk->footer.nid); in fsck_chk_idnode_blk()
1232 nid_t nid = le32_to_cpu(node_blk->footer.nid); in fsck_chk_didnode_blk()
1764 nid_t ino = le32_to_cpu(orphan_blk->ino[j]); in fsck_chk_orphan_node()
1815 nid_t ino = QUOTA_INO(sb, qtype); in fsck_chk_quota_node()
1951 nid_t ino = le32_to_cpu(fsck->entries[i].ino); in fsck_chk_meta()
2450 nid_t lpf_ino; in fsck_get_lpf()
2513 nid_t ino = le32_to_cpu(fnode->footer.ino); in fsck_do_reconnect_file()
2549 nid_t nid) in fsck_failed_reconnect_file_dnode()
[all …]
Dsload.c70 nid_t ino, int mode) in set_selinux_xattr()
188 nid_t dir_ino) in build_directory()
Dmount.c349 nid_t ino = le32_to_cpu(node_block->footer.ino); in print_node_info()
350 nid_t nid = le32_to_cpu(node_block->footer.nid); in print_node_info()
1337 pgoff_t current_nat_addr(struct f2fs_sb_info *sbi, nid_t start, int *pack) in current_nat_addr()
1370 nid_t nid; in f2fs_early_init_nid_bitmap()
1421 nid_t nid; in f2fs_late_init_nid_bitmap()
2170 static void get_nat_entry(struct f2fs_sb_info *sbi, nid_t nid, in get_nat_entry()
2195 void update_data_blkaddr(struct f2fs_sb_info *sbi, nid_t nid, in update_data_blkaddr()
2247 void update_nat_blkaddr(struct f2fs_sb_info *sbi, nid_t ino, in update_nat_blkaddr()
2248 nid_t nid, block_t newaddr) in update_nat_blkaddr()
2275 void get_node_info(struct f2fs_sb_info *sbi, nid_t nid, struct node_info *ni) in get_node_info()
[all …]
/third_party/f2fs-tools/include/
Df2fs_fs.h76 typedef u32 nid_t; typedef
1435 static inline int is_qf_ino(struct f2fs_super_block *sb, nid_t ino) in is_qf_ino()