/external/e2fsprogs/misc/ |
D | create_inode.h | 15 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); 37 extern errcode_t populate_fs(ext2_filsys fs, ext2_ino_t parent_ino, 38 const char *source_dir, ext2_ino_t root); 39 extern errcode_t populate_fs2(ext2_filsys fs, ext2_ino_t parent_ino, 40 const char *source_dir, ext2_ino_t root, 42 extern errcode_t do_mknod_internal(ext2_filsys fs, ext2_ino_t cwd, 44 extern errcode_t do_symlink_internal(ext2_filsys fs, ext2_ino_t cwd, 46 ext2_ino_t root); [all …]
|
D | create_inode.c | 69 static errcode_t add_link(ext2_filsys fs, ext2_ino_t parent_ino, in add_link() 70 ext2_ino_t ino, const char *name) in add_link() 108 static errcode_t set_inode_extra(ext2_filsys fs, ext2_ino_t ino, in set_inode_extra() 134 static errcode_t set_inode_xattr(ext2_filsys fs, ext2_ino_t ino, in set_inode_xattr() 226 ext2_ino_t ino EXT2FS_ATTR((unused)), in set_inode_xattr() 235 errcode_t do_mknod_internal(ext2_filsys fs, ext2_ino_t cwd, const char *name, in do_mknod_internal() 238 ext2_ino_t ino; in do_mknod_internal() 323 errcode_t do_symlink_internal(ext2_filsys fs, ext2_ino_t cwd, const char *name, in do_symlink_internal() 324 char *target, ext2_ino_t root) in do_symlink_internal() 327 ext2_ino_t parent_ino; in do_symlink_internal() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | namei.c | 25 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() 83 static errcode_t dir_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, in dir_namei() 87 ext2_ino_t *res_inode) in dir_namei() 92 ext2_ino_t inode; in dir_namei() 121 static errcode_t open_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t base, in open_namei() 123 int link_count, char *buf, ext2_ino_t *res_inode) in open_namei() [all …]
|
D | bitops.h | 72 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 …]
|
D | irel.h | 18 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 …]
|
D | irel_ma.c | 27 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 …]
|
D | ext2fs.h | 76 typedef __u32 __bitwise ext2_ino_t; typedef 139 ext2_ino_t ino; 146 ext2_ino_t ino; 230 errcode_t (*get_blocks)(ext2_filsys fs, ext2_ino_t ino, blk_t *blocks); 231 errcode_t (*check_directory)(ext2_filsys fs, ext2_ino_t ino); 233 errcode_t (*read_inode)(ext2_filsys fs, ext2_ino_t ino, 235 errcode_t (*write_inode)(ext2_filsys fs, ext2_ino_t ino, 366 ext2_ino_t ino; 673 extern errcode_t ext2fs_new_inode(ext2_filsys fs, ext2_ino_t dir, int mode, 674 ext2fs_inode_bitmap map, ext2_ino_t *ret); [all …]
|
D | icount.c | 46 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; 192 ext2_ino_t num_inodes; in ext2fs_create_icount_tdb() 247 ext2_ino_t i; in ext2fs_create_icount2() 318 ext2_ino_t ino, int pos) in insert_icount_el() 322 ext2_ino_t new_size = 0; in insert_icount_el() 331 new_size = (ext2_ino_t) (icount->count * in insert_icount_el() [all …]
|
D | ext2fsP.h | 50 ext2_ino_t dir; 54 int (*func)(ext2_ino_t dir, 78 ext2_ino_t ino; 91 extern errcode_t ext2fs_inline_data_ea_remove(ext2_filsys fs, ext2_ino_t ino); 92 extern errcode_t ext2fs_inline_data_expand(ext2_filsys fs, ext2_ino_t ino); 94 ext2_ino_t ino,
|
D | get_pathname.c | 35 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()
|
D | newdir.c | 29 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()
|
D | lookup.c | 25 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()
|
D | inline_data.c | 25 ext2_ino_t ino; 85 errcode_t ext2fs_inline_data_init(ext2_filsys fs, ext2_ino_t ino) in ext2fs_inline_data_init() 97 errcode_t ext2fs_inline_data_size(ext2_filsys fs, ext2_ino_t ino, size_t *size) in ext2fs_inline_data_size() 120 int ext2fs_inline_data_dir_iterate(ext2_filsys fs, ext2_ino_t ino, in ext2fs_inline_data_dir_iterate() 259 errcode_t ext2fs_inline_data_ea_remove(ext2_filsys fs, ext2_ino_t ino) in ext2fs_inline_data_ea_remove() 283 static errcode_t ext2fs_inline_data_convert_dir(ext2_filsys fs, ext2_ino_t ino, in ext2fs_inline_data_convert_dir() 356 ext2fs_inline_data_dir_expand(ext2_filsys fs, ext2_ino_t ino, in ext2fs_inline_data_dir_expand() 408 ext2fs_inline_data_file_expand(ext2_filsys fs, ext2_ino_t ino, in ext2fs_inline_data_file_expand() 440 errcode_t ext2fs_inline_data_expand(ext2_filsys fs, ext2_ino_t ino) in ext2fs_inline_data_expand() 511 errcode_t ext2fs_inline_data_get(ext2_filsys fs, ext2_ino_t ino, in ext2fs_inline_data_get() [all …]
|
D | mkdir.c | 35 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()
|
/external/e2fsprogs/e2fsck/ |
D | e2fsck.h | 96 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 */ 286 ext2_ino_t stashed_ino; 292 ext2_ino_t lost_and_found; 405 ext2_ino_t ino; 442 extern void e2fsck_add_dir_info(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent); 449 extern int e2fsck_dir_info_set_parent(e2fsck_t ctx, ext2_ino_t ino, 450 ext2_ino_t parent); [all …]
|
D | dirinfo.c | 38 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() 399 ret_dir_info.ino = *((ext2_ino_t *) iter->tdb_iter.dptr); in e2fsck_dir_info_iter() 425 int e2fsck_dir_info_set_parent(e2fsck_t ctx, ext2_ino_t ino, in e2fsck_dir_info_set_parent() [all …]
|
D | pass3.c | 46 static int check_directory(e2fsck_t ctx, ext2_ino_t ino, 48 static void fix_dotdot(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent); 283 static int check_directory(e2fsck_t ctx, ext2_ino_t dir, in check_directory() 287 ext2_ino_t ino = dir, parent; in check_directory() 378 ext2_ino_t e2fsck_get_lost_and_found(e2fsck_t ctx, int fix) in e2fsck_get_lost_and_found() 381 ext2_ino_t ino; in e2fsck_get_lost_and_found() 592 int e2fsck_reconnect_file(e2fsck_t ctx, ext2_ino_t ino) in e2fsck_reconnect_file() 643 errcode_t e2fsck_adjust_inode_count(e2fsck_t ctx, ext2_ino_t ino, int adj) in e2fsck_adjust_inode_count() 687 ext2_ino_t parent; 729 static void fix_dotdot(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent) in fix_dotdot() [all …]
|
/external/e2fsprogs/lib/support/ |
D | quotaio.h | 114 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/debugfs/ |
D | debugfs.h | 27 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_inode_full(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_inode_full(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, 196 void dump_inode_attributes(FILE *out, ext2_ino_t ino);
|
D | ncheck.c | 29 ext2_ino_t dir; 30 ext2_ino_t *iarray; 97 ext2_ino_t ino; in do_ncheck() 125 iw.iarray = malloc(sizeof(ext2_ino_t) * argc); in do_ncheck() 131 memset(iw.iarray, 0, sizeof(ext2_ino_t) * argc); in do_ncheck()
|
D | util.c | 109 ext2_ino_t string_to_inode(char *str) in string_to_inode() 111 ext2_ino_t ino; in string_to_inode() 380 ext2_ino_t *inode, int flags) in common_inode_args_process() 418 int debugfs_read_inode_full(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_read_inode_full() 431 int debugfs_read_inode(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_read_inode() 444 int debugfs_write_inode_full(ext2_ino_t ino, in debugfs_write_inode_full() 460 int debugfs_write_inode(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_write_inode() 473 int debugfs_write_new_inode(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_write_new_inode()
|
D | debugfs.c | 57 ext2_ino_t root, cwd; 593 ext2_ino_t inode_num EXT2FS_ATTR((unused)), in internal_dump_inode_extra() 605 static void dump_blocks(FILE *f, const char *prefix, ext2_ino_t inode) in dump_blocks() 638 static void dump_extents(FILE *f, const char *prefix, ext2_ino_t ino, in dump_extents() 754 static void dump_inline_data(FILE *out, const char *prefix, ext2_ino_t inode_num) in dump_inline_data() 764 static void dump_fast_link(FILE *out, ext2_ino_t inode_num, in dump_fast_link() 804 ext2_ino_t inode_num, struct ext2_inode *inode, in internal_dump_inode() 955 static void dump_inode(ext2_ino_t inode_num, struct ext2_inode *inode) in dump_inode() 966 ext2_ino_t inode; in do_stat() 998 ext2_ino_t ino; in do_dump_extents() [all …]
|
/external/e2fsprogs/contrib/android/ |
D | basefs_allocator.h | 12 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/ |
D | test_icount.c | 52 const char *str, ext2_ino_t *ino) in parse_inode() 69 ext2_ino_t size = 5; in do_create_icount() 107 ext2_ino_t ino; in do_fetch() 130 ext2_ino_t ino; in do_increment() 154 ext2_ino_t ino; in do_decrement() 178 ext2_ino_t ino; in do_store() 179 ext2_ino_t count; in do_store() 206 ext2_ino_t i; in do_dump() 239 ext2_ino_t size; in do_get_size()
|
D | test_rel.c | 40 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 …]
|