Home
last modified time | relevance | path

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

12345

/external/e2fsprogs/misc/
Dcreate_inode.h15 ext2_ino_t dst_ino;
29 const char *name, ext2_ino_t parent_ino, ext2_ino_t root,
33 ext2_ino_t parent_ino, ext2_ino_t root, mode_t mode);
40 extern errcode_t populate_fs(ext2_filsys fs, ext2_ino_t parent_ino,
41 const char *source_dir, ext2_ino_t root);
42 extern errcode_t populate_fs2(ext2_filsys fs, ext2_ino_t parent_ino,
43 const char *source_dir, ext2_ino_t root,
45 extern errcode_t do_mknod_internal(ext2_filsys fs, ext2_ino_t cwd,
48 extern errcode_t do_symlink_internal(ext2_filsys fs, ext2_ino_t cwd,
50 ext2_ino_t root);
[all …]
Dcreate_inode.c72 static errcode_t add_link(ext2_filsys fs, ext2_ino_t parent_ino, in add_link()
73 ext2_ino_t ino, const char *name) in add_link()
111 static errcode_t set_inode_extra(ext2_filsys fs, ext2_ino_t ino, in set_inode_extra()
137 static errcode_t set_inode_xattr(ext2_filsys fs, ext2_ino_t ino, in set_inode_xattr()
232 ext2_ino_t ino EXT2FS_ATTR((unused)), in set_inode_xattr()
241 errcode_t do_mknod_internal(ext2_filsys fs, ext2_ino_t cwd, const char *name, in do_mknod_internal()
244 ext2_ino_t ino; in do_mknod_internal()
329 errcode_t do_symlink_internal(ext2_filsys fs, ext2_ino_t cwd, const char *name, in do_symlink_internal()
330 char *target, ext2_ino_t root) in do_symlink_internal()
333 ext2_ino_t parent_ino; in do_symlink_internal()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dnamei.c25 static errcode_t open_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t base,
27 int link_count, char *buf, ext2_ino_t *res_inode);
29 static errcode_t follow_link(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, in follow_link()
30 ext2_ino_t inode, int link_count, in follow_link()
31 char *buf, ext2_ino_t *res_inode) in follow_link()
97 static errcode_t dir_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, in dir_namei()
101 ext2_ino_t *res_inode) in dir_namei()
106 ext2_ino_t inode; in dir_namei()
135 static errcode_t open_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t base, in open_namei()
137 int link_count, char *buf, ext2_ino_t *res_inode) in open_namei()
[all …]
Dbitops.h72 extern int ext2fs_mark_inode_bitmap(ext2fs_inode_bitmap bitmap, ext2_ino_t inode);
74 ext2_ino_t inode);
75 extern int ext2fs_test_inode_bitmap(ext2fs_inode_bitmap bitmap, ext2_ino_t inode);
85 ext2_ino_t inode);
87 ext2_ino_t inode);
89 ext2_ino_t inode);
91 extern ext2_ino_t ext2fs_get_inode_bitmap_start(ext2fs_inode_bitmap bitmap);
93 extern ext2_ino_t ext2fs_get_inode_bitmap_end(ext2fs_inode_bitmap bitmap);
111 ext2_ino_t inode, int num);
135 ext2_ino_t inode);
[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 …]
Direl_ma.c27 static errcode_t ima_put(ext2_irel irel, ext2_ino_t old,
29 static errcode_t ima_get(ext2_irel irel, ext2_ino_t old,
31 static errcode_t ima_get_by_orig(ext2_irel irel, ext2_ino_t orig, ext2_ino_t *old,
34 static errcode_t ima_next(ext2_irel irel, ext2_ino_t *old,
36 static errcode_t ima_add_ref(ext2_irel irel, ext2_ino_t ino,
38 static errcode_t ima_start_iter_ref(ext2_irel irel, ext2_ino_t ino);
40 static errcode_t ima_move(ext2_irel irel, ext2_ino_t old, ext2_ino_t new);
41 static errcode_t ima_delete(ext2_irel irel, ext2_ino_t old);
55 ext2_ino_t max_inode;
56 ext2_ino_t ref_current;
[all …]
Dext2fs.h76 typedef __u32 __bitwise ext2_ino_t; typedef
146 ext2_ino_t ino;
153 ext2_ino_t ino;
241 errcode_t (*get_blocks)(ext2_filsys fs, ext2_ino_t ino, blk_t *blocks);
242 errcode_t (*check_directory)(ext2_filsys fs, ext2_ino_t ino);
244 errcode_t (*read_inode)(ext2_filsys fs, ext2_ino_t ino,
246 errcode_t (*write_inode)(ext2_filsys fs, ext2_ino_t ino,
382 ext2_ino_t ino;
706 extern errcode_t ext2fs_new_inode(ext2_filsys fs, ext2_ino_t dir, int mode,
707 ext2fs_inode_bitmap map, ext2_ino_t *ret);
[all …]
Dicount.c46 ext2_ino_t ino;
54 ext2_ino_t count;
55 ext2_ino_t size;
56 ext2_ino_t num_inodes;
57 ext2_ino_t cursor;
208 ext2_ino_t num_inodes; in ext2fs_create_icount_tdb()
263 ext2_ino_t i; in ext2fs_create_icount2()
338 ext2_ino_t ino, int pos) in insert_icount_el()
342 ext2_ino_t new_size = 0; in insert_icount_el()
351 new_size = (ext2_ino_t) (icount->count * in insert_icount_el()
[all …]
Dget_pathname.c35 ext2_ino_t search_ino;
36 ext2_ino_t parent;
71 static errcode_t ext2fs_get_pathname_int(ext2_filsys fs, ext2_ino_t dir, in ext2fs_get_pathname_int()
72 ext2_ino_t ino, int maxdepth, in ext2fs_get_pathname_int()
154 errcode_t ext2fs_get_pathname(ext2_filsys fs, ext2_ino_t dir, ext2_ino_t ino, in ext2fs_get_pathname()
Dext2fsP.h63 ext2_ino_t dir;
67 int (*func)(ext2_ino_t dir,
91 ext2_ino_t ino;
118 extern errcode_t ext2fs_inline_data_ea_remove(ext2_filsys fs, ext2_ino_t ino);
119 extern errcode_t ext2fs_inline_data_expand(ext2_filsys fs, ext2_ino_t ino);
121 ext2_ino_t ino,
Dnewdir.c29 errcode_t ext2fs_new_dir_block(ext2_filsys fs, ext2_ino_t dir_ino, in ext2fs_new_dir_block()
30 ext2_ino_t parent_ino, char **block) in ext2fs_new_dir_block()
99 ext2_ino_t dir_ino EXT2FS_ATTR((unused)), in ext2fs_new_dir_inline_data()
100 ext2_ino_t parent_ino, __u32 *iblock) in ext2fs_new_dir_inline_data()
Dlookup.c25 ext2_ino_t *inode;
50 errcode_t ext2fs_lookup(ext2_filsys fs, ext2_ino_t dir, const char *name, in ext2fs_lookup()
51 int namelen, char *buf, ext2_ino_t *inode) in ext2fs_lookup()
Dinline_data.c25 ext2_ino_t ino;
80 errcode_t ext2fs_inline_data_init(ext2_filsys fs, ext2_ino_t ino) in ext2fs_inline_data_init()
92 errcode_t ext2fs_inline_data_size(ext2_filsys fs, ext2_ino_t ino, size_t *size) in ext2fs_inline_data_size()
115 int ext2fs_inline_data_dir_iterate(ext2_filsys fs, ext2_ino_t ino, in ext2fs_inline_data_dir_iterate()
254 errcode_t ext2fs_inline_data_ea_remove(ext2_filsys fs, ext2_ino_t ino) in ext2fs_inline_data_ea_remove()
273 static errcode_t ext2fs_inline_data_convert_dir(ext2_filsys fs, ext2_ino_t ino, in ext2fs_inline_data_convert_dir()
346 ext2fs_inline_data_dir_expand(ext2_filsys fs, ext2_ino_t ino, in ext2fs_inline_data_dir_expand()
398 ext2fs_inline_data_file_expand(ext2_filsys fs, ext2_ino_t ino, in ext2fs_inline_data_file_expand()
430 errcode_t ext2fs_inline_data_expand(ext2_filsys fs, ext2_ino_t ino) in ext2fs_inline_data_expand()
501 errcode_t ext2fs_inline_data_get(ext2_filsys fs, ext2_ino_t ino, in ext2fs_inline_data_get()
[all …]
Dmkdir.c35 errcode_t ext2fs_mkdir(ext2_filsys fs, ext2_ino_t parent, ext2_ino_t inum, in ext2fs_mkdir()
41 ext2_ino_t ino = inum; in ext2fs_mkdir()
42 ext2_ino_t scratch_ino; in ext2fs_mkdir()
Dcsum.c130 ext2_ino_t inum EXT2FS_ATTR((unused)), in ext2fs_ext_attr_block_csum()
148 int ext2fs_ext_attr_block_csum_verify(ext2_filsys fs, ext2_ino_t inum, in ext2fs_ext_attr_block_csum_verify()
165 errcode_t ext2fs_ext_attr_block_csum_set(ext2_filsys fs, ext2_ino_t inum, in ext2fs_ext_attr_block_csum_set()
296 static errcode_t ext2fs_dirent_csum(ext2_filsys fs, ext2_ino_t inum, in ext2fs_dirent_csum()
319 int ext2fs_dirent_csum_verify(ext2_filsys fs, ext2_ino_t inum, in ext2fs_dirent_csum_verify()
341 static errcode_t ext2fs_dirent_csum_set(ext2_filsys fs, ext2_ino_t inum, in ext2fs_dirent_csum_set()
361 static errcode_t ext2fs_dx_csum(ext2_filsys fs, ext2_ino_t inum, in ext2fs_dx_csum()
393 static int ext2fs_dx_csum_verify(ext2_filsys fs, ext2_ino_t inum, in ext2fs_dx_csum_verify()
420 static errcode_t ext2fs_dx_csum_set(ext2_filsys fs, ext2_ino_t inum, in ext2fs_dx_csum_set()
447 int ext2fs_dir_block_csum_verify(ext2_filsys fs, ext2_ino_t inum, in ext2fs_dir_block_csum_verify()
[all …]
/external/e2fsprogs/e2fsck/
De2fsck.h96 ext2_ino_t ino; /* Inode number */
97 ext2_ino_t dotdot; /* Parent according to '..' */
98 ext2_ino_t parent; /* Parent according to treewalk */
107 ext2_ino_t ino; /* Inode number */
304 ext2_ino_t stashed_ino;
310 ext2_ino_t lost_and_found;
424 ext2_ino_t ino;
461 extern void e2fsck_add_dir_info(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent);
468 extern int e2fsck_dir_info_set_parent(e2fsck_t ctx, ext2_ino_t ino,
469 ext2_ino_t parent);
[all …]
Ddirinfo.c38 ext2_ino_t dotdot; /* Parent according to '..' */
39 ext2_ino_t parent; /* Parent according to treewalk */
46 static void setup_tdb(e2fsck_t ctx, ext2_ino_t num_dirs) in setup_tdb()
92 ext2_ino_t num_dirs; in setup_db()
130 void e2fsck_add_dir_info(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent) in e2fsck_add_dir_info()
204 static struct dir_info *e2fsck_get_dir_info(e2fsck_t ctx, ext2_ino_t ino) in e2fsck_get_dir_info()
223 key.dsize = sizeof(ext2_ino_t); in e2fsck_get_dir_info()
309 key.dsize = sizeof(ext2_ino_t); in e2fsck_put_dir_info()
401 ret_dir_info.ino = *((ext2_ino_t *) iter->tdb_iter.dptr); in e2fsck_dir_info_iter()
427 int e2fsck_dir_info_set_parent(e2fsck_t ctx, ext2_ino_t ino, in e2fsck_dir_info_set_parent()
[all …]
/external/e2fsprogs/lib/support/
Dquotaio.h114 ext2_ino_t ino;
190 ext2_ino_t qf_ino, enum quota_type type,
204 errcode_t quota_inode_truncate(ext2_filsys fs, ext2_ino_t ino);
207 ext2_ino_t quota_type2inum(enum quota_type qtype, struct ext2_super_block *);
221 ext2_ino_t ino, int adjust);
223 ext2_ino_t ino, qsize_t space);
225 ext2_ino_t ino, qsize_t space);
227 errcode_t quota_update_limits(quota_ctx_t qctx, ext2_ino_t qf_ino,
233 void quota_set_sb_inum(ext2_filsys fs, ext2_ino_t ino, enum quota_type qtype);
248 static inline ext2_ino_t *quota_sb_inump(struct ext2_super_block *sb, in quota_sb_inump()
/external/e2fsprogs/contrib/android/
Dbasefs_allocator.h12 const char *name, ext2_ino_t parent_ino, ext2_ino_t root, mode_t mode);
14 const char *name, ext2_ino_t parent_ino, ext2_ino_t root, mode_t mode);
/external/e2fsprogs/tests/progs/
Dtest_icount.c52 const char *str, ext2_ino_t *ino) in parse_inode()
70 ext2_ino_t size = 5; in do_create_icount()
114 ext2_ino_t ino; in do_fetch()
138 ext2_ino_t ino; in do_increment()
163 ext2_ino_t ino; in do_decrement()
188 ext2_ino_t ino; in do_store()
189 ext2_ino_t count; in do_store()
217 ext2_ino_t i; in do_dump()
260 ext2_ino_t size; in do_get_size()
Dtest_rel.c40 const char *str, ext2_ino_t *ino) in parse_inode()
103 static void display_irel_entry(ext2_ino_t old, in display_irel_entry()
355 ext2_ino_t max_ino; in do_irel_ma_create()
385 ext2_ino_t old, new, max_refs; in do_irel_put()
421 ext2_ino_t old; in do_irel_get()
447 ext2_ino_t orig, old; in do_irel_get_by_orig()
487 ext2_ino_t old; in do_irel_next()
509 ext2_ino_t ino; in do_irel_dump()
540 ext2_ino_t ino; in do_irel_add_ref()
576 ext2_ino_t ino; in do_irel_start_iter_ref()
[all …]
/external/e2fsprogs/debugfs/
Ddebugfs.h27 extern ext2_ino_t root, cwd;
38 extern ext2_ino_t string_to_inode(char *str);
52 ext2_ino_t *inode, int flags);
55 extern int debugfs_read_inode(ext2_ino_t ino, struct ext2_inode * inode,
57 extern int debugfs_read_inode2(ext2_ino_t ino, struct ext2_inode * inode,
59 extern int debugfs_write_inode(ext2_ino_t ino, struct ext2_inode * inode,
61 extern int debugfs_write_inode2(ext2_ino_t ino, struct ext2_inode * inode,
63 extern int debugfs_write_new_inode(ext2_ino_t ino, struct ext2_inode * inode,
126 extern void internal_dump_inode(FILE *, const char *, ext2_ino_t,
197 void dump_inode_attributes(FILE *out, ext2_ino_t ino);
Dncheck.c29 ext2_ino_t dir;
30 ext2_ino_t *iarray;
99 ext2_ino_t ino; in do_ncheck()
127 iw.iarray = malloc(sizeof(ext2_ino_t) * argc); in do_ncheck()
133 memset(iw.iarray, 0, sizeof(ext2_ino_t) * argc); in do_ncheck()
Dutil.c109 ext2_ino_t string_to_inode(char *str) in string_to_inode()
111 ext2_ino_t ino; in string_to_inode()
385 ext2_ino_t *inode, int flags) in common_inode_args_process()
423 int debugfs_read_inode2(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_read_inode2()
436 int debugfs_read_inode(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_read_inode()
449 int debugfs_write_inode2(ext2_ino_t ino, in debugfs_write_inode2()
464 int debugfs_write_inode(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_write_inode()
477 int debugfs_write_new_inode(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_write_new_inode()
Ddebugfs.c57 ext2_ino_t root, cwd;
613 ext2_ino_t inode_num EXT2FS_ATTR((unused)), in internal_dump_inode_extra()
625 static void dump_blocks(FILE *f, const char *prefix, ext2_ino_t inode) in dump_blocks()
658 static void dump_extents(FILE *f, const char *prefix, ext2_ino_t ino, in dump_extents()
774 static void dump_inline_data(FILE *out, const char *prefix, ext2_ino_t inode_num) in dump_inline_data()
784 static void dump_inline_symlink(FILE *out, ext2_ino_t inode_num, in dump_inline_symlink()
814 ext2_ino_t inode_num, struct ext2_inode *inode, in internal_dump_inode()
967 static void dump_inode(ext2_ino_t inode_num, struct ext2_inode *inode) in dump_inode()
979 ext2_ino_t inode; in do_stat()
1012 ext2_ino_t ino; in do_dump_extents()
[all …]

12345