Home
last modified time | relevance | path

Searched refs:ext2_ino_t (Results 1 – 25 of 69) sorted by relevance

123

/external/e2fsprogs/lib/ext2fs/
Dnamei.c23 static errcode_t open_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t base,
25 int link_count, char *buf, ext2_ino_t *res_inode);
27 static errcode_t follow_link(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, in follow_link()
28 ext2_ino_t inode, int link_count, in follow_link()
29 char *buf, ext2_ino_t *res_inode) in follow_link()
75 static errcode_t dir_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, in dir_namei()
79 ext2_ino_t *res_inode) in dir_namei()
84 ext2_ino_t inode; in dir_namei()
113 static errcode_t open_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t base, in open_namei()
115 int link_count, char *buf, ext2_ino_t *res_inode) in open_namei()
[all …]
Direl.h18 ext2_ino_t new;
19 ext2_ino_t orig;
29 ext2_ino_t current;
35 errcode_t (*put)(ext2_irel irel, ext2_ino_t old,
40 errcode_t (*get)(ext2_irel irel, ext2_ino_t old,
46 errcode_t (*get_by_orig)(ext2_irel irel, ext2_ino_t orig, ext2_ino_t *old,
58 errcode_t (*next)(ext2_irel irel, ext2_ino_t *old,
65 errcode_t (*add_ref)(ext2_irel irel, ext2_ino_t ino,
72 errcode_t (*start_iter_ref)(ext2_irel irel, ext2_ino_t ino);
86 errcode_t (*move)(ext2_irel irel, ext2_ino_t old, ext2_ino_t new);
[all …]
Dext2fs.h75 typedef __u32 ext2_ino_t; typedef
145 ext2_ino_t ino;
220 errcode_t (*get_blocks)(ext2_filsys fs, ext2_ino_t ino, blk_t *blocks);
221 errcode_t (*check_directory)(ext2_filsys fs, ext2_ino_t ino);
223 errcode_t (*read_inode)(ext2_filsys fs, ext2_ino_t ino,
225 errcode_t (*write_inode)(ext2_filsys fs, ext2_ino_t ino,
481 extern errcode_t ext2fs_new_inode(ext2_filsys fs, ext2_ino_t dir, int mode,
482 ext2fs_inode_bitmap map, ext2_ino_t *ret);
498 void ext2fs_inode_alloc_stats(ext2_filsys fs, ext2_ino_t ino, int inuse);
499 void ext2fs_inode_alloc_stats2(ext2_filsys fs, ext2_ino_t ino,
[all …]
Direl_ma.c26 static errcode_t ima_put(ext2_irel irel, ext2_ino_t old,
28 static errcode_t ima_get(ext2_irel irel, ext2_ino_t old,
30 static errcode_t ima_get_by_orig(ext2_irel irel, ext2_ino_t orig, ext2_ino_t *old,
33 static errcode_t ima_next(ext2_irel irel, ext2_ino_t *old,
35 static errcode_t ima_add_ref(ext2_irel irel, ext2_ino_t ino,
37 static errcode_t ima_start_iter_ref(ext2_irel irel, ext2_ino_t ino);
39 static errcode_t ima_move(ext2_irel irel, ext2_ino_t old, ext2_ino_t new);
40 static errcode_t ima_delete(ext2_irel irel, ext2_ino_t old);
54 ext2_ino_t max_inode;
55 ext2_ino_t ref_current;
[all …]
Dext2fsP.h38 ext2_ino_t size;
39 ext2_ino_t count;
48 ext2_ino_t dir;
51 int (*func)(ext2_ino_t dir,
75 ext2_ino_t ino;
Dicount.c45 ext2_ino_t ino;
53 ext2_ino_t count;
54 ext2_ino_t size;
55 ext2_ino_t num_inodes;
56 ext2_ino_t cursor;
209 ext2_ino_t i; in ext2fs_create_icount2()
280 ext2_ino_t ino, int pos) in insert_icount_el()
284 ext2_ino_t new_size = 0; in insert_icount_el()
293 new_size = (ext2_ino_t) (icount->count * in insert_icount_el()
331 ext2_ino_t ino, int create) in get_icount_el()
[all …]
Dbitops.h70 extern int ext2fs_mark_inode_bitmap(ext2fs_inode_bitmap bitmap, ext2_ino_t inode);
72 ext2_ino_t inode);
73 extern int ext2fs_test_inode_bitmap(ext2fs_inode_bitmap bitmap, ext2_ino_t inode);
83 ext2_ino_t inode);
85 ext2_ino_t inode);
87 ext2_ino_t inode);
89 extern ext2_ino_t ext2fs_get_inode_bitmap_start(ext2fs_inode_bitmap bitmap);
91 extern ext2_ino_t ext2fs_get_inode_bitmap_end(ext2fs_inode_bitmap bitmap);
440 ext2_ino_t inode) in ext2fs_mark_inode_bitmap()
447 ext2_ino_t inode) in ext2fs_unmark_inode_bitmap()
[all …]
Dget_pathname.c31 ext2_ino_t search_ino;
32 ext2_ino_t parent;
68 static errcode_t ext2fs_get_pathname_int(ext2_filsys fs, ext2_ino_t dir, in ext2fs_get_pathname_int()
69 ext2_ino_t ino, int maxdepth, in ext2fs_get_pathname_int()
140 errcode_t ext2fs_get_pathname(ext2_filsys fs, ext2_ino_t dir, ext2_ino_t ino, in ext2fs_get_pathname()
Ddblist.c30 errcode_t ext2fs_get_num_dirs(ext2_filsys fs, ext2_ino_t *ret_num_dirs) in ext2fs_get_num_dirs()
33 ext2_ino_t num_dirs, max_dirs; in ext2fs_get_num_dirs()
57 static errcode_t make_dblist(ext2_filsys fs, ext2_ino_t size, ext2_ino_t count, in make_dblist()
156 errcode_t ext2fs_add_dir_block(ext2_dblist dblist, ext2_ino_t ino, blk_t blk, in ext2fs_add_dir_block()
189 errcode_t ext2fs_set_dir_block(ext2_dblist dblist, ext2_ino_t ino, blk_t blk, in ext2fs_set_dir_block()
227 ext2_ino_t i; in ext2fs_dblist_iterate()
Dalloc.c35 errcode_t ext2fs_new_inode(ext2_filsys fs, ext2_ino_t dir, in ext2fs_new_inode()
37 ext2fs_inode_bitmap map, ext2_ino_t *ret) in ext2fs_new_inode()
39 ext2_ino_t dir_group = 0; in ext2fs_new_inode()
40 ext2_ino_t i; in ext2fs_new_inode()
41 ext2_ino_t start_inode; in ext2fs_new_inode()
Dmkdir.c33 errcode_t ext2fs_mkdir(ext2_filsys fs, ext2_ino_t parent, ext2_ino_t inum, in ext2fs_mkdir()
38 ext2_ino_t ino = inum; in ext2fs_mkdir()
39 ext2_ino_t scratch_ino; in ext2fs_mkdir()
Dlookup.c24 ext2_ino_t *inode;
49 errcode_t ext2fs_lookup(ext2_filsys fs, ext2_ino_t dir, const char *name, in ext2fs_lookup()
50 int namelen, char *buf, ext2_ino_t *inode) in ext2fs_lookup()
Dunlink.c24 ext2_ino_t inode;
70 errcode_t ext2fs_unlink(ext2_filsys fs, ext2_ino_t dir, in ext2fs_unlink()
71 const char *name, ext2_ino_t ino, in ext2fs_unlink()
/external/e2fsprogs/e2fsck/
De2fsck.h88 ext2_ino_t ino; /* Inode number */
89 ext2_ino_t dotdot; /* Parent according to '..' */
90 ext2_ino_t parent; /* Parent according to treewalk */
99 ext2_ino_t ino; /* Inode number */
255 ext2_ino_t stashed_ino;
261 ext2_ino_t lost_and_found;
376 extern void e2fsck_add_dir_info(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent);
383 extern int e2fsck_dir_info_set_parent(e2fsck_t ctx, ext2_ino_t ino,
384 ext2_ino_t parent);
385 extern int e2fsck_dir_info_set_dotdot(e2fsck_t ctx, ext2_ino_t ino,
[all …]
Ddirinfo.c32 ext2_ino_t dotdot; /* Parent according to '..' */
33 ext2_ino_t parent; /* Parent according to treewalk */
39 static void setup_tdb(e2fsck_t ctx, ext2_ino_t num_dirs) in setup_tdb()
73 ext2_ino_t num_dirs; in setup_db()
109 void e2fsck_add_dir_info(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent) in e2fsck_add_dir_info()
175 static struct dir_info *e2fsck_get_dir_info(e2fsck_t ctx, ext2_ino_t ino) in e2fsck_get_dir_info()
193 key.dsize = sizeof(ext2_ino_t); in e2fsck_get_dir_info()
274 key.dsize = sizeof(ext2_ino_t); in e2fsck_put_dir_info()
358 ret_dir_info.ino = *((ext2_ino_t *) iter->tdb_iter.dptr); in e2fsck_dir_info_iter()
383 int e2fsck_dir_info_set_parent(e2fsck_t ctx, ext2_ino_t ino, in e2fsck_dir_info_set_parent()
[all …]
Dpass1b.c62 ext2_ino_t inode;
79 ext2_ino_t dir;
88 static void delete_file(e2fsck_t ctx, ext2_ino_t ino,
90 static int clone_file(e2fsck_t ctx, ext2_ino_t ino,
118 static void add_dupe(e2fsck_t ctx, ext2_ino_t ino, blk_t blk, in add_dupe()
244 ext2_ino_t ino;
253 ext2_ino_t ino; in pass1b()
352 ext2_ino_t first_inode;
353 ext2_ino_t max_inode;
356 static int search_dirent_proc(ext2_ino_t dir, int entry, in search_dirent_proc()
[all …]
Dpass3.c45 static int check_directory(e2fsck_t ctx, ext2_ino_t ino,
47 static void fix_dotdot(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent);
272 static int check_directory(e2fsck_t ctx, ext2_ino_t dir, in check_directory()
276 ext2_ino_t ino = dir, parent; in check_directory()
367 ext2_ino_t e2fsck_get_lost_and_found(e2fsck_t ctx, int fix) in e2fsck_get_lost_and_found()
370 ext2_ino_t ino; in e2fsck_get_lost_and_found()
513 int e2fsck_reconnect_file(e2fsck_t ctx, ext2_ino_t ino) in e2fsck_reconnect_file()
564 errcode_t e2fsck_adjust_inode_count(e2fsck_t ctx, ext2_ino_t ino, int adj) in e2fsck_adjust_inode_count()
608 ext2_ino_t parent;
652 static void fix_dotdot(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent) in fix_dotdot()
[all …]
/external/e2fsprogs/debugfs/
Ddebugfs.h23 extern ext2_ino_t root, cwd;
32 extern ext2_ino_t string_to_inode(char *str);
42 ext2_ino_t *inode, int flags);
45 extern int debugfs_read_inode(ext2_ino_t ino, struct ext2_inode * inode,
47 extern int debugfs_read_inode_full(ext2_ino_t ino, struct ext2_inode * inode,
49 extern int debugfs_write_inode(ext2_ino_t ino, struct ext2_inode * inode,
51 extern int debugfs_write_new_inode(ext2_ino_t ino, struct ext2_inode * inode,
86 extern void internal_dump_inode(FILE *, const char *, ext2_ino_t,
Dutil.c105 ext2_ino_t string_to_inode(char *str) in string_to_inode()
107 ext2_ino_t ino; in string_to_inode()
315 ext2_ino_t *inode, int flags) in common_inode_args_process()
348 int debugfs_read_inode_full(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_read_inode_full()
361 int debugfs_read_inode(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_read_inode()
374 int debugfs_write_inode(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_write_inode()
387 int debugfs_write_new_inode(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_write_new_inode()
Ddebugfs.c43 ext2_ino_t root, cwd;
458 ext2_ino_t inode_num EXT2FS_ATTR((unused)), in internal_dump_inode_extra()
503 static void dump_blocks(FILE *f, const char *prefix, ext2_ino_t inode) in dump_blocks()
522 ext2_ino_t inode_num, struct ext2_inode *inode, in internal_dump_inode()
619 static void dump_inode(ext2_ino_t inode_num, struct ext2_inode *inode) in dump_inode()
630 ext2_ino_t inode; in do_stat()
661 ext2_ino_t inode; in do_chroot()
677 ext2_ino_t inode; in do_clri()
692 ext2_ino_t inode; in do_freei()
706 ext2_ino_t inode; in do_seti()
[all …]
Dncheck.c22 ext2_ino_t ino;
23 ext2_ino_t parent;
32 ext2_ino_t parent;
65 ext2_ino_t ino; in do_ncheck()
Ddump.c100 static void dump_file(const char *cmdname, ext2_ino_t ino, int fd, in dump_file()
144 ext2_ino_t inode; in do_dump()
189 static void rdump_symlink(ext2_ino_t ino, struct ext2_inode *inode, in rdump_symlink()
243 static void rdump_inode(ext2_ino_t ino, struct ext2_inode *inode, in rdump_inode()
317 ext2_ino_t ino; in do_rdump()
356 ext2_ino_t inode; in do_cat()
/external/e2fsprogs/tests/progs/
Dtest_icount.c51 const char *str, ext2_ino_t *ino) in parse_inode()
68 ext2_ino_t size = 5; in do_create_icount()
106 ext2_ino_t ino; in do_fetch()
129 ext2_ino_t ino; in do_increment()
153 ext2_ino_t ino; in do_decrement()
177 ext2_ino_t ino; in do_store()
178 ext2_ino_t count; in do_store()
205 ext2_ino_t i; in do_dump()
238 ext2_ino_t size; in do_get_size()
Dtest_rel.c39 const char *str, ext2_ino_t *ino) in parse_inode()
102 static void display_irel_entry(ext2_ino_t old, in display_irel_entry()
354 ext2_ino_t max_ino; in do_irel_ma_create()
384 ext2_ino_t old, new, max_refs; in do_irel_put()
420 ext2_ino_t old; in do_irel_get()
446 ext2_ino_t orig, old; in do_irel_get_by_orig()
486 ext2_ino_t old; in do_irel_next()
508 ext2_ino_t ino; in do_irel_dump()
539 ext2_ino_t ino; in do_irel_add_ref()
575 ext2_ino_t ino; in do_irel_start_iter_ref()
[all …]
/external/e2fsprogs/doc/
Dlibext2fs.texinfo421 @deftypefun errcode_t ext2fs_read_inode (ext2_filsys @var{fs}, ext2_ino_t @var{ino}, struct ext2_in…
425 @deftypefun errcode_t ext2fs_write_inode (ext2_filsys @var{fs}, ext2_ino_t @var{ino}, struct ext2_i…
452 @deftypefun errcode_t ext2fs_get_next_inode (ext2_inode_scan @var{scan}, ext2_ino_t *@var{ino}, str…
497 ext2_ino_t @var{ino}, int @var{flags}, char *block_buf, int
567 @deftypefun errcode_t ext2fs_block_iterate2 (ext2_filsys @var{fs}, ext2_ino_t @var{ino}, int @var{f…
587 @deftypefun errcode_t ext2fs_get_blocks (ext2_filsys @var{fs}, ext2_ino_t @var{ino}, blk_t *@var{bl…
594 @deftypefun errcode_t ext2fs_check_directory (ext2_filsys @var{fs}, ext2_ino_t @var{ino})
639 ext2_ino_t @var{dir_ino}, ext2_ino_t @var{parent_ino}, char
653 @deftypefun errcode_t ext2fs_dir_iterate (ext2_filsys @var{fs}, ext2_ino_t @var{dir}, int @var{flag…
682 @deftypefun errcode_t ext2fs_mkdir (ext2_filsys @var{fs}, ext2_ino_t @var{parent}, ext2_ino_t @var{…
[all …]

123