Home
last modified time | relevance | path

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

/third_party/f2fs-tools/fsck/
Dfsck.h210 extern void get_node_info(struct f2fs_sb_info *, nid_t, struct node_info *);
236 extern void update_data_blkaddr(struct f2fs_sb_info *, nid_t, u16, block_t);
237 extern void update_nat_blkaddr(struct f2fs_sb_info *, nid_t, nid_t, block_t);
242 extern pgoff_t current_nat_addr(struct f2fs_sb_info *, nid_t, int *);
259 nid_t nid;
260 nid_t start_nat;
261 nid_t end_nat;
267 nid_t scan_nid;
270 extern void nat_dump(struct f2fs_sb_info *, nid_t, nid_t);
273 extern int dump_node(struct f2fs_sb_info *, nid_t, int);
[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.h121 nid_t nid;
122 nid_t ino;
130 nid_t max_nid;
131 nid_t init_scan_nid;
132 nid_t next_scan_nid;
226 nid_t ino;
227 nid_t pino;
235 nid_t nid;
244 nid_t to_ino;
498 nid_t ino; /* inode number */
[all …]
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()
50 nid_t ino = QUOTA_INO(sb, qtype); in f2fs_rebuild_qf_inode()
249 nid_t nids[4]; in get_dnode_of_data()
Ddir.c119 nid_t ino = le32_to_cpu(dir->footer.ino); in find_in_level()
182 nid_t f2fs_lookup(struct f2fs_sb_info *sbi, struct f2fs_node *dir, in f2fs_lookup()
198 static void f2fs_update_dentry(nid_t ino, int file_type, in f2fs_update_dentry()
222 const unsigned char *name, int name_len, nid_t ino, in f2fs_add_link()
234 nid_t pino = le32_to_cpu(parent->footer.ino); in f2fs_add_link()
339 nid_t ino = le32_to_cpu(inode->footer.ino); in make_empty_dir()
340 nid_t pino = le32_to_cpu(inode->i.i_pino); in make_empty_dir()
380 nid_t ino = le32_to_cpu(inode->footer.ino); in page_symlink()
555 nid_t ino = le32_to_cpu(node->footer.ino); in convert_inline_dentry()
820 int f2fs_find_path(struct f2fs_sb_info *sbi, char *path, nid_t *ino) in f2fs_find_path()
Dsegment.c170 u64 f2fs_read(struct f2fs_sb_info *sbi, nid_t ino, u8 *buffer, in f2fs_read()
260 static u64 f2fs_write_ex(struct f2fs_sb_info *sbi, nid_t ino, u8 *buffer, in f2fs_write_ex()
380 u64 f2fs_write(struct f2fs_sb_info *sbi, nid_t ino, u8 *buffer, in f2fs_write()
386 u64 f2fs_write_compress_data(struct f2fs_sb_info *sbi, nid_t ino, u8 *buffer, in f2fs_write_compress_data()
392 u64 f2fs_write_addrtag(struct f2fs_sb_info *sbi, nid_t ino, pgoff_t offset, in f2fs_write_addrtag()
401 void f2fs_filesize_update(struct f2fs_sb_info *sbi, nid_t ino, u64 filesize) in f2fs_filesize_update()
448 u64 f2fs_fix_mutable(struct f2fs_sb_info *sbi, nid_t ino, pgoff_t offset, in f2fs_fix_mutable()
489 static void update_largest_extent(struct f2fs_sb_info *sbi, nid_t ino) in update_largest_extent()
Dsload.c72 nid_t ino, int mode) in set_selinux_xattr()
205 nid_t dir_ino) in build_directory()
302 nid_t dir_ino) in build_directory()
Ddump.c37 void nat_dump(struct f2fs_sb_info *sbi, nid_t start_nat, nid_t end_nat) in nat_dump()
41 nid_t nid; in nat_dump()
542 void dump_node_scan_disk(struct f2fs_sb_info *sbi, nid_t nid) in dump_node_scan_disk()
575 int dump_node(struct f2fs_sb_info *sbi, nid_t nid, int force) in dump_node()
793 nid_t nid; in dump_info_from_blkaddr()
Dfsck.c705 nid_t i_xattr_nid = le32_to_cpu(node_blk->i.i_xattr_nid); in fsck_chk_inode_blk()
1000 nid_t i_nid = le32_to_cpu(node_blk->i.i_nid[idx]); in fsck_chk_inode_blk()
1299 nid_t nid = le32_to_cpu(node_blk->footer.nid); in fsck_chk_idnode_blk()
1342 nid_t nid = le32_to_cpu(node_blk->footer.nid); in fsck_chk_didnode_blk()
1924 nid_t ino = le32_to_cpu(orphan_blk->ino[j]); in fsck_chk_orphan_node()
1981 nid_t ino = QUOTA_INO(sb, qtype); in fsck_chk_quota_node()
2122 nid_t ino = le32_to_cpu(fsck->entries[i].ino); in fsck_chk_meta()
2635 nid_t lpf_ino; in fsck_get_lpf()
2698 nid_t ino = le32_to_cpu(fnode->footer.ino); in fsck_do_reconnect_file()
2734 nid_t nid) in fsck_failed_reconnect_file_dnode()
[all …]
Dmount.c351 nid_t ino = le32_to_cpu(node_block->footer.ino); in print_node_info()
352 nid_t nid = le32_to_cpu(node_block->footer.nid); in print_node_info()
1482 pgoff_t current_nat_addr(struct f2fs_sb_info *sbi, nid_t start, int *pack) in current_nat_addr()
1515 nid_t nid; in f2fs_early_init_nid_bitmap()
1566 nid_t nid; in f2fs_late_init_nid_bitmap()
2319 static void get_nat_entry(struct f2fs_sb_info *sbi, nid_t nid, in get_nat_entry()
2344 void update_data_blkaddr(struct f2fs_sb_info *sbi, nid_t nid, in update_data_blkaddr()
2396 void update_nat_blkaddr(struct f2fs_sb_info *sbi, nid_t ino, in update_nat_blkaddr()
2397 nid_t nid, block_t newaddr) in update_nat_blkaddr()
2424 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.h105 typedef u32 nid_t; typedef
1674 static inline int is_qf_ino(struct f2fs_super_block *sb, nid_t ino) in is_qf_ino()