Home
last modified time | relevance | path

Searched refs:ext2_filsys (Results 1 – 25 of 154) sorted by relevance

1234567

/external/e2fsprogs/lib/ext2fs/
Dext2fs.h106 typedef struct struct_ext2_filsys *ext2_filsys; typedef
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);
232 errcode_t (*write_bitmaps)(ext2_filsys fs);
233 errcode_t (*read_inode)(ext2_filsys fs, ext2_ino_t ino,
235 errcode_t (*write_inode)(ext2_filsys fs, ext2_ino_t ino,
266 errcode_t (*get_alloc_block)(ext2_filsys fs, blk64_t goal,
268 errcode_t (*get_alloc_block2)(ext2_filsys fs, blk64_t goal,
270 void (*block_alloc_stats)(ext2_filsys fs, blk64_t blk, int inuse);
294 errcode_t (*new_range)(ext2_filsys fs, int flags, blk64_t goal,
[all …]
Dblknum.c20 dgrp_t ext2fs_group_of_blk2(ext2_filsys fs, blk64_t blk) in ext2fs_group_of_blk2()
29 blk64_t ext2fs_group_first_block2(ext2_filsys fs, dgrp_t group) in ext2fs_group_first_block2()
38 blk64_t ext2fs_group_last_block2(ext2_filsys fs, dgrp_t group) in ext2fs_group_last_block2()
49 int ext2fs_group_blocks_count(ext2_filsys fs, dgrp_t group) in ext2fs_group_blocks_count()
68 blk64_t ext2fs_inode_data_blocks2(ext2_filsys fs, in ext2fs_inode_data_blocks2()
80 blk64_t ext2fs_inode_i_blocks(ext2_filsys fs, in ext2fs_inode_i_blocks()
184 struct ext2_group_desc *ext2fs_group_desc(ext2_filsys fs, in ext2fs_group_desc()
194 static struct ext4_group_desc *ext4fs_group_desc(ext2_filsys fs, in ext4fs_group_desc()
204 __u32 ext2fs_block_bitmap_checksum(ext2_filsys fs, dgrp_t group) in ext2fs_block_bitmap_checksum()
219 blk64_t ext2fs_block_bitmap_loc(ext2_filsys fs, dgrp_t group) in ext2fs_block_bitmap_loc()
[all …]
Dext2fsP.h39 ext2_filsys fs;
84 extern int ext2fs_process_dir_block(ext2_filsys fs,
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);
93 extern int ext2fs_inline_data_dir_iterate(ext2_filsys fs,
109 void (*init)(ext2_filsys fs,
112 void (*update)(ext2_filsys fs,
115 void (*close)(ext2_filsys fs,
122 extern void ext2fs_numeric_progress_init(ext2_filsys fs,
125 extern void ext2fs_numeric_progress_update(ext2_filsys fs,
[all …]
Dalloc_stats.c18 void ext2fs_inode_alloc_stats2(ext2_filsys fs, ext2_ino_t ino, in ext2fs_inode_alloc_stats2()
56 void ext2fs_inode_alloc_stats(ext2_filsys fs, ext2_ino_t ino, int inuse) in ext2fs_inode_alloc_stats()
61 void ext2fs_block_alloc_stats2(ext2_filsys fs, blk64_t blk, int inuse) in ext2fs_block_alloc_stats2()
88 void ext2fs_block_alloc_stats(ext2_filsys fs, blk_t blk, int inuse) in ext2fs_block_alloc_stats()
93 void ext2fs_set_block_alloc_stats_callback(ext2_filsys fs, in ext2fs_set_block_alloc_stats_callback()
94 void (*func)(ext2_filsys fs, in ext2fs_set_block_alloc_stats_callback()
97 void (**old)(ext2_filsys fs, in ext2fs_set_block_alloc_stats_callback()
109 void ext2fs_block_alloc_stats_range(ext2_filsys fs, blk64_t blk, in ext2fs_block_alloc_stats_range()
152 void ext2fs_set_block_alloc_stats_range_callback(ext2_filsys fs, in ext2fs_set_block_alloc_stats_range_callback()
153 void (*func)(ext2_filsys fs, blk64_t blk, in ext2fs_set_block_alloc_stats_range_callback()
[all …]
Ddirblock.c23 errcode_t ext2fs_read_dir_block4(ext2_filsys fs, blk64_t block, in ext2fs_read_dir_block4()
47 errcode_t ext2fs_read_dir_block3(ext2_filsys fs, blk64_t block, in ext2fs_read_dir_block3()
53 errcode_t ext2fs_read_dir_block2(ext2_filsys fs, blk_t block, in ext2fs_read_dir_block2()
59 errcode_t ext2fs_read_dir_block(ext2_filsys fs, blk_t block, in ext2fs_read_dir_block()
66 errcode_t ext2fs_write_dir_block4(ext2_filsys fs, blk64_t block, in ext2fs_write_dir_block4()
96 errcode_t ext2fs_write_dir_block3(ext2_filsys fs, blk64_t block, in ext2fs_write_dir_block3()
102 errcode_t ext2fs_write_dir_block2(ext2_filsys fs, blk_t block, in ext2fs_write_dir_block2()
108 errcode_t ext2fs_write_dir_block(ext2_filsys fs, blk_t block, in ext2fs_write_dir_block()
Dcsum.c33 void ext2fs_init_csum_seed(ext2_filsys fs) in ext2fs_init_csum_seed()
42 static __u32 ext2fs_mmp_csum(ext2_filsys fs, struct mmp_struct *mmp) in ext2fs_mmp_csum()
49 int ext2fs_mmp_csum_verify(ext2_filsys fs, struct mmp_struct *mmp) in ext2fs_mmp_csum_verify()
61 errcode_t ext2fs_mmp_csum_set(ext2_filsys fs, struct mmp_struct *mmp) in ext2fs_mmp_csum_set()
74 int ext2fs_verify_csum_type(ext2_filsys fs, struct ext2_super_block *sb) in ext2fs_verify_csum_type()
82 static __u32 ext2fs_superblock_csum(ext2_filsys fs EXT2FS_ATTR((unused)), in ext2fs_superblock_csum()
91 int ext2fs_superblock_csum_verify(ext2_filsys fs, struct ext2_super_block *sb) in ext2fs_superblock_csum_verify()
109 errcode_t ext2fs_superblock_csum_set(ext2_filsys fs, in ext2fs_superblock_csum_set()
128 static errcode_t ext2fs_ext_attr_block_csum(ext2_filsys fs, in ext2fs_ext_attr_block_csum()
147 int ext2fs_ext_attr_block_csum_verify(ext2_filsys fs, ext2_ino_t inum, in ext2fs_ext_attr_block_csum_verify()
[all …]
Dalloc.c42 void ext2fs_clear_block_uninit(ext2_filsys fs, dgrp_t group) in ext2fs_clear_block_uninit()
60 static void check_inode_uninit(ext2_filsys fs, ext2fs_inode_bitmap map, in check_inode_uninit()
88 errcode_t ext2fs_new_inode(ext2_filsys fs, ext2_ino_t dir, in ext2fs_new_inode()
147 errcode_t ext2fs_new_block3(ext2_filsys fs, blk64_t goal, in ext2fs_new_block3()
153 errcode_t (*gab)(ext2_filsys fs, blk64_t goal, blk64_t *ret); in ext2fs_new_block3()
154 errcode_t (*gab2)(ext2_filsys, blk64_t, blk64_t *, in ext2fs_new_block3()
204 errcode_t ext2fs_new_block2(ext2_filsys fs, blk64_t goal, in ext2fs_new_block2()
210 errcode_t ext2fs_new_block(ext2_filsys fs, blk_t goal, in ext2fs_new_block()
225 errcode_t ext2fs_alloc_block3(ext2_filsys fs, blk64_t goal, char *block_buf, in ext2fs_alloc_block3()
266 errcode_t ext2fs_alloc_block2(ext2_filsys fs, blk64_t goal, in ext2fs_alloc_block2()
[all …]
Dread_bb_file.c33 errcode_t ext2fs_read_bb_FILE2(ext2_filsys fs, FILE *f, in ext2fs_read_bb_FILE2()
36 void (*invalid)(ext2_filsys fs, in ext2fs_read_bb_FILE2()
79 void (*invalid)(ext2_filsys, blk_t);
82 static void call_compat_invalid(ext2_filsys fs, blk_t blk, in call_compat_invalid()
97 errcode_t ext2fs_read_bb_FILE(ext2_filsys fs, FILE *f, in ext2fs_read_bb_FILE()
99 void (*invalid)(ext2_filsys fs, blk_t blk)) in ext2fs_read_bb_FILE()
Dclosefs.c36 int ext2fs_bg_has_super(ext2_filsys fs, dgrp_t group) in ext2fs_bg_has_super()
71 errcode_t ext2fs_super_and_bgd_loc2(ext2_filsys fs, in ext2fs_super_and_bgd_loc2()
145 int ext2fs_super_and_bgd_loc(ext2_filsys fs, in ext2fs_super_and_bgd_loc()
192 static errcode_t write_primary_superblock(ext2_filsys fs, in write_primary_superblock()
239 void ext2fs_update_dynamic_rev(ext2_filsys fs) in ext2fs_update_dynamic_rev()
253 static errcode_t write_backup_super(ext2_filsys fs, dgrp_t group, in write_backup_super()
275 errcode_t ext2fs_flush(ext2_filsys fs) in ext2fs_flush()
280 errcode_t ext2fs_flush2(ext2_filsys fs, int flags) in ext2fs_flush2()
453 errcode_t ext2fs_close_free(ext2_filsys *fs_ptr) in ext2fs_close_free()
456 ext2_filsys fs = *fs_ptr; in ext2fs_close_free()
[all …]
Dnamei.c25 static errcode_t open_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t base,
29 static errcode_t follow_link(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, in follow_link()
83 static errcode_t dir_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, in dir_namei()
121 static errcode_t open_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t base, in open_namei()
158 errcode_t ext2fs_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, in ext2fs_namei()
177 errcode_t ext2fs_namei_follow(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, in ext2fs_namei_follow()
196 errcode_t ext2fs_follow_link(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, in ext2fs_follow_link()
Dbmap.c29 extern errcode_t ext2fs_bmap(ext2_filsys fs, ext2_ino_t ino,
36 static _BMAP_INLINE_ errcode_t block_ind_bmap(ext2_filsys fs, int flags, in block_ind_bmap()
93 static _BMAP_INLINE_ errcode_t block_dind_bmap(ext2_filsys fs, int flags, in block_dind_bmap()
113 static _BMAP_INLINE_ errcode_t block_tind_bmap(ext2_filsys fs, int flags, in block_tind_bmap()
133 static errcode_t extent_bmap(ext2_filsys fs, ext2_ino_t ino,
140 static errcode_t implied_cluster_alloc(ext2_filsys fs, ext2_ino_t ino, in implied_cluster_alloc()
176 errcode_t ext2fs_map_cluster_block(ext2_filsys fs, ext2_ino_t ino, in ext2fs_map_cluster_block()
203 static errcode_t extent_bmap(ext2_filsys fs, ext2_ino_t ino, in extent_bmap()
278 int ext2fs_file_block_offset_too_big(ext2_filsys fs, in ext2fs_file_block_offset_too_big()
300 errcode_t ext2fs_bmap2(ext2_filsys fs, ext2_ino_t ino, struct ext2_inode *inode, in ext2fs_bmap2()
[all …]
Dmkjournal.c46 errcode_t ext2fs_create_journal_superblock(ext2_filsys fs, in ext2fs_create_journal_superblock()
90 static errcode_t write_journal_file(ext2_filsys fs, char *filename, in write_journal_file()
152 errcode_t ext2fs_zero_blocks2(ext2_filsys fs, blk64_t blk, int num, in ext2fs_zero_blocks2()
218 errcode_t ext2fs_zero_blocks(ext2_filsys fs, blk_t blk, int num, in ext2fs_zero_blocks()
235 static blk64_t get_midpoint_journal_block(ext2_filsys fs) in get_midpoint_journal_block()
264 static errcode_t write_journal_inode(ext2_filsys fs, ext2_ino_t journal_ino, in write_journal_inode()
371 errcode_t ext2fs_add_journal_device(ext2_filsys fs, ext2_filsys journal_dev) in ext2fs_add_journal_device()
435 errcode_t ext2fs_add_journal_inode2(ext2_filsys fs, blk_t num_blocks, in ext2fs_add_journal_inode2()
547 errcode_t ext2fs_add_journal_inode(ext2_filsys fs, blk_t num_blocks, int flags) in ext2fs_add_journal_inode()
558 ext2_filsys fs; in main()
Drw_bitmaps.c31 static errcode_t write_bitmaps(ext2_filsys fs, int do_inode, int do_block) in write_bitmaps()
159 static errcode_t mark_uninit_bg_group_blocks(ext2_filsys fs) in mark_uninit_bg_group_blocks()
196 static errcode_t read_bitmaps(ext2_filsys fs, int do_inode, int do_block) in read_bitmaps()
393 errcode_t ext2fs_read_inode_bitmap(ext2_filsys fs) in ext2fs_read_inode_bitmap()
398 errcode_t ext2fs_read_block_bitmap(ext2_filsys fs) in ext2fs_read_block_bitmap()
403 errcode_t ext2fs_write_inode_bitmap(ext2_filsys fs) in ext2fs_write_inode_bitmap()
408 errcode_t ext2fs_write_block_bitmap (ext2_filsys fs) in ext2fs_write_block_bitmap()
413 errcode_t ext2fs_read_bitmaps(ext2_filsys fs) in ext2fs_read_bitmaps()
421 errcode_t ext2fs_write_bitmaps(ext2_filsys fs) in ext2fs_write_bitmaps()
Dmmp.c42 errcode_t ext2fs_mmp_read(ext2_filsys fs, blk64_t mmp_blk, void *buf) in ext2fs_mmp_read()
111 errcode_t ext2fs_mmp_write(ext2_filsys fs, blk64_t mmp_blk, void *buf) in ext2fs_mmp_write()
180 static errcode_t ext2fs_mmp_reset(ext2_filsys fs) in ext2fs_mmp_reset()
215 errcode_t ext2fs_mmp_update(ext2_filsys fs) in ext2fs_mmp_update()
220 errcode_t ext2fs_mmp_clear(ext2_filsys fs) in ext2fs_mmp_clear()
236 errcode_t ext2fs_mmp_init(ext2_filsys fs) in ext2fs_mmp_init()
275 errcode_t ext2fs_mmp_start(ext2_filsys fs) in ext2fs_mmp_start()
378 errcode_t ext2fs_mmp_stop(ext2_filsys fs) in ext2fs_mmp_stop()
424 errcode_t ext2fs_mmp_update2(ext2_filsys fs, int immediately) in ext2fs_mmp_update2()
/external/e2fsprogs/misc/
Dcreate_inode.h28 errcode_t (* create_new_inode)(ext2_filsys fs, const char *target_path,
31 errcode_t (* end_create_new_inode)(ext2_filsys fs,
37 extern errcode_t populate_fs(ext2_filsys fs, ext2_ino_t parent_ino,
39 extern errcode_t populate_fs2(ext2_filsys fs, ext2_ino_t parent_ino,
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,
47 extern errcode_t do_mkdir_internal(ext2_filsys fs, ext2_ino_t cwd,
49 extern errcode_t do_write_internal(ext2_filsys fs, ext2_ino_t cwd,
/external/e2fsprogs/resize/
Dresize2fs.h108 ext2_filsys old_fs;
109 ext2_filsys new_fs;
144 extern errcode_t resize_fs(ext2_filsys fs, blk64_t *new_size, int flags,
149 extern errcode_t adjust_fs_info(ext2_filsys fs, ext2_filsys old_fs,
152 extern blk64_t calculate_minimum_resize_size(ext2_filsys fs, int flags);
170 extern errcode_t online_resize_fs(ext2_filsys fs, const char *mtpt,
/external/e2fsprogs/contrib/android/
Dbasefs_allocator.c13 static errcode_t basefs_block_allocator(ext2_filsys, blk64_t, blk64_t *,
16 static void fs_free_blocks_range(ext2_filsys fs, struct block_range *blocks) in fs_free_blocks_range()
25 static void fs_reserve_blocks_range(ext2_filsys fs, struct block_range *blocks) in fs_reserve_blocks_range()
34 errcode_t base_fs_alloc_load(ext2_filsys fs, const char *file, in base_fs_alloc_load()
71 static errcode_t basefs_block_allocator(ext2_filsys fs, blk64_t goal, in basefs_block_allocator()
97 void base_fs_alloc_cleanup(ext2_filsys fs) in base_fs_alloc_cleanup()
115 errcode_t base_fs_alloc_set_target(ext2_filsys fs, const char *target_path, in base_fs_alloc_set_target()
131 errcode_t base_fs_alloc_unset_target(ext2_filsys fs, in base_fs_alloc_unset_target()
Dbasefs_allocator.h7 errcode_t base_fs_alloc_load(ext2_filsys fs, const char *file,
9 void base_fs_alloc_cleanup(ext2_filsys fs);
11 errcode_t base_fs_alloc_set_target(ext2_filsys fs, const char *target_path,
13 errcode_t base_fs_alloc_unset_target(ext2_filsys fs, const char *target_path,
Dperms.c17 ext2_filsys fs;
28 static errcode_t ino_add_xattr(ext2_filsys fs, ext2_ino_t ino, const char *name, in ino_add_xattr()
67 static errcode_t set_selinux_xattr(ext2_filsys fs, ext2_ino_t ino, in set_selinux_xattr()
99 static errcode_t set_perms_and_caps(ext2_filsys fs, ext2_ino_t ino, in set_perms_and_caps()
141 static errcode_t set_timestamp(ext2_filsys fs, ext2_ino_t ino, in set_timestamp()
185 static int is_dir(ext2_filsys fs, ext2_ino_t ino) in is_dir()
194 static errcode_t androidify_inode(ext2_filsys fs, ext2_ino_t ino, in androidify_inode()
254 errcode_t __android_configure_fs(ext2_filsys fs, char *src_dir, in __android_configure_fs()
289 errcode_t android_configure_fs(ext2_filsys fs, char *src_dir, char *target_out, in android_configure_fs()
Dfsmap.c10 ext2_filsys fs;
14 static int walk_block(ext2_filsys fs EXT2FS_ATTR((unused)), blk64_t *blocknr, in walk_block()
26 static errcode_t ino_iter_blocks(ext2_filsys fs, ext2_ino_t ino, in ino_iter_blocks()
48 static int is_dir(ext2_filsys fs, ext2_ino_t ino) in is_dir()
104 errcode_t fsmap_iter_filsys(ext2_filsys fs, struct fsmap_format *format, in fsmap_iter_filsys()
/external/e2fsprogs/lib/support/
Dquotaio.h66 ext2_filsys fs;
113 ext2_filsys fs;
195 errcode_t quota_file_create(struct quota_handle *h, ext2_filsys fs,
204 errcode_t quota_inode_truncate(ext2_filsys fs, ext2_ino_t ino);
218 errcode_t quota_init_context(quota_ctx_t *qctx, ext2_filsys fs,
231 errcode_t quota_remove_inode(ext2_filsys fs, enum quota_type qtype);
232 int quota_file_exists(ext2_filsys fs, enum quota_type qtype);
233 void quota_set_sb_inum(ext2_filsys fs, ext2_ino_t ino, enum quota_type qtype);
/external/e2fsprogs/e2fsck/
De2fsck.h222 ext2_filsys fs;
513 extern int e2fsck_pass1_check_device_inode(ext2_filsys fs,
515 extern int e2fsck_pass1_check_symlink(ext2_filsys fs, ext2_ino_t ino,
525 extern int get_filename_hash(ext2_filsys fs, int encrypted, int version,
545 errcode_t e2fsck_readahead(ext2_filsys fs, int flags, dgrp_t start,
549 errcode_t e2fsck_readahead_dblist(ext2_filsys fs, int flags,
553 int e2fsck_can_readahead(ext2_filsys fs);
554 unsigned long long e2fsck_guess_readahead(ext2_filsys fs);
617 extern blk64_t get_backup_sb(e2fsck_t ctx, ext2_filsys fs,
622 errcode_t e2fsck_mmp_update(ext2_filsys fs);
[all …]
Dbadblocks.c17 static int check_bb_inode_blocks(ext2_filsys fs, blk_t *block_nr, int blockcnt,
21 static void invalid_block(ext2_filsys fs EXT2FS_ATTR((unused)), blk_t blk) in invalid_block()
30 ext2_filsys fs = ctx->fs; in read_bad_blocks_file()
120 static int check_bb_inode_blocks(ext2_filsys fs, in check_bb_inode_blocks()
Dehandler.c33 ext2_filsys fs = (ext2_filsys) channel->app_data; in e2fsck_handle_read_error()
85 ext2_filsys fs = (ext2_filsys) channel->app_data; in e2fsck_handle_write_error()
/external/e2fsprogs/debugfs/
Djournal.h18 errcode_t ext2fs_open_journal(ext2_filsys fs, journal_t **j);
19 errcode_t ext2fs_close_journal(ext2_filsys fs, journal_t **j);
20 errcode_t ext2fs_run_ext3_journal(ext2_filsys *fs);

1234567