Home
last modified time | relevance | path

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

1234

/external/e2fsprogs/lib/ext2fs/
Dext2fs.h101 typedef struct struct_ext2_filsys *ext2_filsys; typedef
105 ext2_filsys fs;
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);
222 errcode_t (*write_bitmaps)(ext2_filsys fs);
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,
483 extern errcode_t ext2fs_new_block(ext2_filsys fs, blk_t goal,
485 extern errcode_t ext2fs_get_free_blocks(ext2_filsys fs, blk_t start,
[all …]
Dread_bb_file.c32 errcode_t ext2fs_read_bb_FILE2(ext2_filsys fs, FILE *f, in ext2fs_read_bb_FILE2()
35 void (*invalid)(ext2_filsys fs, in ext2fs_read_bb_FILE2()
75 void (*invalid)(ext2_filsys, blk_t);
78 static void call_compat_invalid(ext2_filsys fs, blk_t blk, in call_compat_invalid()
93 errcode_t ext2fs_read_bb_FILE(ext2_filsys fs, FILE *f, in ext2fs_read_bb_FILE()
95 void (*invalid)(ext2_filsys fs, blk_t blk)) in ext2fs_read_bb_FILE()
Drw_bitmaps.c44 static void ext2fs_swap_bitmap(ext2_filsys fs, char *bitmap, int nbytes) in ext2fs_swap_bitmap()
54 static errcode_t write_bitmaps(ext2_filsys fs, int do_inode, int do_block) in write_bitmaps()
164 static errcode_t read_bitmaps(ext2_filsys fs, int do_inode, int do_block) in read_bitmaps()
288 errcode_t ext2fs_read_inode_bitmap(ext2_filsys fs) in ext2fs_read_inode_bitmap()
293 errcode_t ext2fs_read_block_bitmap(ext2_filsys fs) in ext2fs_read_block_bitmap()
298 errcode_t ext2fs_write_inode_bitmap(ext2_filsys fs) in ext2fs_write_inode_bitmap()
303 errcode_t ext2fs_write_block_bitmap (ext2_filsys fs) in ext2fs_write_block_bitmap()
308 errcode_t ext2fs_read_bitmaps(ext2_filsys fs) in ext2fs_read_bitmaps()
316 errcode_t ext2fs_write_bitmaps(ext2_filsys fs) in ext2fs_write_bitmaps()
Dnamei.c23 static errcode_t open_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t base,
27 static errcode_t follow_link(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, in follow_link()
75 static errcode_t dir_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, in dir_namei()
113 static errcode_t open_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t base, in open_namei()
150 errcode_t ext2fs_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, in ext2fs_namei()
169 errcode_t ext2fs_namei_follow(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, in ext2fs_namei_follow()
188 errcode_t ext2fs_follow_link(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, in ext2fs_follow_link()
Dfileio.c23 ext2_filsys fs;
35 errcode_t ext2fs_file_open2(ext2_filsys fs, ext2_ino_t ino, in ext2fs_file_open2()
82 errcode_t ext2fs_file_open(ext2_filsys fs, ext2_ino_t ino, in ext2fs_file_open()
91 ext2_filsys ext2fs_file_get_fs(ext2_file_t file) in ext2fs_file_get_fs()
105 ext2_filsys fs; in ext2fs_file_flush()
167 ext2_filsys fs = file->fs; in load_buffer()
211 ext2_filsys fs; in ext2fs_file_read()
253 ext2_filsys fs; in ext2fs_file_write()
Dmkjournal.c44 errcode_t ext2fs_create_journal_superblock(ext2_filsys fs, in ext2fs_create_journal_superblock()
92 static errcode_t write_journal_file(ext2_filsys fs, char *filename, in write_journal_file()
147 static int mkjournal_proc(ext2_filsys fs, in mkjournal_proc()
195 static errcode_t write_journal_inode(ext2_filsys fs, ext2_ino_t journal_ino, in write_journal_inode()
273 errcode_t ext2fs_add_journal_device(ext2_filsys fs, ext2_filsys journal_dev) in ext2fs_add_journal_device()
335 errcode_t ext2fs_add_journal_inode(ext2_filsys fs, blk_t size, int flags) in ext2fs_add_journal_inode()
423 ext2_filsys fs; in main()
Dinode.c33 ext2_filsys fs;
46 errcode_t (*done_group)(ext2_filsys fs,
59 errcode_t ext2fs_flush_icache(ext2_filsys fs) in ext2fs_flush_icache()
73 static errcode_t create_icache(ext2_filsys fs) in create_icache()
105 errcode_t ext2fs_open_inode_scan(ext2_filsys fs, int buffer_blocks, in ext2fs_open_inode_scan()
110 errcode_t (*save_get_blocks)(ext2_filsys f, ext2_ino_t ino, blk_t *blocks); in ext2fs_open_inode_scan()
188 errcode_t (*done_group)(ext2_filsys fs, in ext2fs_set_inode_callback()
504 errcode_t ext2fs_read_inode_full(ext2_filsys fs, ext2_ino_t ino, in ext2fs_read_inode_full()
603 errcode_t ext2fs_read_inode(ext2_filsys fs, ext2_ino_t ino, in ext2fs_read_inode()
610 errcode_t ext2fs_write_inode_full(ext2_filsys fs, ext2_ino_t ino, in ext2fs_write_inode_full()
[all …]
Dalloc_stats.c18 void ext2fs_inode_alloc_stats2(ext2_filsys fs, ext2_ino_t ino, in ext2fs_inode_alloc_stats2()
35 void ext2fs_inode_alloc_stats(ext2_filsys fs, ext2_ino_t ino, int inuse) in ext2fs_inode_alloc_stats()
40 void ext2fs_block_alloc_stats(ext2_filsys fs, blk_t blk, int inuse) in ext2fs_block_alloc_stats()
Dopenfs.c32 blk_t ext2fs_descriptor_block_loc(ext2_filsys fs, blk_t group_block, dgrp_t i) in ext2fs_descriptor_block_loc()
64 ext2_filsys *ret_fs) in ext2fs_open()
84 ext2_filsys *ret_fs) in ext2fs_open2()
86 ext2_filsys fs; in ext2fs_open2()
324 errcode_t ext2fs_get_data_io(ext2_filsys fs, io_channel *old_io) in ext2fs_get_data_io()
334 errcode_t ext2fs_set_data_io(ext2_filsys fs, io_channel new_io) in ext2fs_set_data_io()
342 errcode_t ext2fs_rewrite_to_io(ext2_filsys fs, io_channel new_io) in ext2fs_rewrite_to_io()
Dclosefs.c35 int ext2fs_bg_has_super(ext2_filsys fs, int group_block) in ext2fs_bg_has_super()
48 int ext2fs_super_and_bgd_loc(ext2_filsys fs, in ext2fs_super_and_bgd_loc()
128 static errcode_t write_primary_superblock(ext2_filsys fs, in write_primary_superblock()
172 void ext2fs_update_dynamic_rev(ext2_filsys fs) in ext2fs_update_dynamic_rev()
186 static errcode_t write_backup_super(ext2_filsys fs, dgrp_t group, in write_backup_super()
206 errcode_t ext2fs_flush(ext2_filsys fs) in ext2fs_flush()
365 errcode_t ext2fs_close(ext2_filsys fs) in ext2fs_close()
Dbb_inode.c44 static int set_bad_block_proc(ext2_filsys fs, blk_t *block_nr,
48 static int clear_bad_block_proc(ext2_filsys fs, blk_t *block_nr,
57 errcode_t ext2fs_update_bb_inode(ext2_filsys fs, ext2_badblocks_list bb_list) in ext2fs_update_bb_inode()
152 static int clear_bad_block_proc(ext2_filsys fs, blk_t *block_nr, in clear_bad_block_proc()
209 static int set_bad_block_proc(ext2_filsys fs, blk_t *block_nr, in set_bad_block_proc()
Ddirblock.c22 errcode_t ext2fs_read_dir_block2(ext2_filsys fs, blk_t block, in ext2fs_read_dir_block2()
66 errcode_t ext2fs_read_dir_block(ext2_filsys fs, blk_t block, in ext2fs_read_dir_block()
73 errcode_t ext2fs_write_dir_block2(ext2_filsys fs, blk_t block, in ext2fs_write_dir_block2()
125 errcode_t ext2fs_write_dir_block(ext2_filsys fs, blk_t block, in ext2fs_write_dir_block()
Dalloc.c35 errcode_t ext2fs_new_inode(ext2_filsys fs, ext2_ino_t dir, in ext2fs_new_inode()
76 errcode_t ext2fs_new_block(ext2_filsys fs, blk_t goal, in ext2fs_new_block()
106 errcode_t ext2fs_alloc_block(ext2_filsys fs, blk_t goal, in ext2fs_alloc_block()
144 errcode_t ext2fs_get_free_blocks(ext2_filsys fs, blk_t start, blk_t finish, in ext2fs_get_free_blocks()
Dblock.c22 ext2_filsys fs;
23 int (*func)(ext2_filsys fs,
266 errcode_t ext2fs_block_iterate2(ext2_filsys fs, in ext2fs_block_iterate2()
270 int (*func)(ext2_filsys fs, in ext2fs_block_iterate2()
399 int (*func)(ext2_filsys fs,
409 static int xlate_func(ext2_filsys fs, blk_t *blocknr, e2_blkcnt_t blockcnt, in xlate_func()
419 errcode_t ext2fs_block_iterate(ext2_filsys fs, in ext2fs_block_iterate()
423 int (*func)(ext2_filsys fs, in ext2fs_block_iterate()
Dext_attr.c26 errcode_t ext2fs_read_ext_attr(ext2_filsys fs, blk_t block, void *buf) in ext2fs_read_ext_attr()
41 errcode_t ext2fs_write_ext_attr(ext2_filsys fs, blk_t block, void *inbuf) in ext2fs_write_ext_attr()
69 errcode_t ext2fs_adjust_ea_refcount(ext2_filsys fs, blk_t blk, in ext2fs_adjust_ea_refcount()
Dimager.c61 errcode_t ext2fs_image_inode_write(ext2_filsys fs, int fd, int flags) in ext2fs_image_inode_write()
134 errcode_t ext2fs_image_inode_read(ext2_filsys fs, int fd, in ext2fs_image_inode_read()
185 errcode_t ext2fs_image_super_write(ext2_filsys fs, int fd, in ext2fs_image_super_write()
235 errcode_t ext2fs_image_super_read(ext2_filsys fs, int fd, in ext2fs_image_super_read()
278 errcode_t ext2fs_image_bitmap_write(ext2_filsys fs, int fd, int flags) in ext2fs_image_bitmap_write()
343 errcode_t ext2fs_image_bitmap_read(ext2_filsys fs, int fd, int flags) in ext2fs_image_bitmap_read()
Ddupfs.c22 errcode_t ext2fs_dup_handle(ext2_filsys src, ext2_filsys *dest) in ext2fs_dup_handle()
24 ext2_filsys fs; in ext2fs_dup_handle()
/external/e2fsprogs/resize/
Dresize2fs.h89 ext2_filsys old_fs;
90 ext2_filsys new_fs;
125 extern errcode_t resize_fs(ext2_filsys fs, blk_t *new_size, int flags,
130 extern errcode_t adjust_fs_info(ext2_filsys fs, ext2_filsys old_fs,
146 extern errcode_t online_resize_fs(ext2_filsys fs, const char *mtpt,
/external/e2fsprogs/misc/
De2image.c88 static void write_image_file(ext2_filsys fs, int fd) in write_image_file()
166 static errcode_t meta_get_blocks(ext2_filsys fs EXT2FS_ATTR((unused)), in meta_get_blocks()
180 static errcode_t meta_check_directory(ext2_filsys fs EXT2FS_ATTR((unused)), in meta_check_directory()
191 static errcode_t meta_read_inode(ext2_filsys fs EXT2FS_ATTR((unused)), in meta_read_inode()
201 static void use_inode_shortcuts(ext2_filsys fs, int bool) in use_inode_shortcuts()
215 static int process_dir_block(ext2_filsys fs EXT2FS_ATTR((unused)), in process_dir_block()
232 static int process_file_block(ext2_filsys fs EXT2FS_ATTR((unused)), in process_file_block()
245 static void mark_table_blocks(ext2_filsys fs) in mark_table_blocks()
340 static void scramble_dir_block(ext2_filsys fs, blk_t blk, char *buf) in scramble_dir_block()
397 static void output_meta_data_blocks(ext2_filsys fs, int fd) in output_meta_data_blocks()
[all …]
Dutil.h25 extern int figure_journal_size(int size, ext2_filsys fs);
26 extern void print_check_message(ext2_filsys fs);
/external/e2fsprogs/e2fsck/
Dbadblocks.c16 static int check_bb_inode_blocks(ext2_filsys fs, blk_t *block_nr, int blockcnt,
20 static void invalid_block(ext2_filsys fs EXT2FS_ATTR((unused)), blk_t blk) in invalid_block()
29 ext2_filsys fs = ctx->fs; in read_bad_blocks_file()
117 static int check_bb_inode_blocks(ext2_filsys fs, in check_bb_inode_blocks()
Dehandler.c32 ext2_filsys fs = (ext2_filsys) channel->app_data; in e2fsck_handle_read_error()
78 ext2_filsys fs = (ext2_filsys) channel->app_data; in e2fsck_handle_write_error()
Dpass3.c54 ext2_filsys fs = ctx->fs; in e2fsck_pass3()
156 ext2_filsys fs = ctx->fs; in check_root()
275 ext2_filsys fs = ctx->fs; in check_directory()
369 ext2_filsys fs = ctx->fs; in e2fsck_get_lost_and_found()
515 ext2_filsys fs = ctx->fs; in e2fsck_reconnect_file()
566 ext2_filsys fs = ctx->fs; in e2fsck_adjust_inode_count()
607 ext2_filsys fs;
654 ext2_filsys fs = ctx->fs; in fix_dotdot()
699 static int expand_dir_proc(ext2_filsys fs, in expand_dir_proc()
766 ext2_filsys fs = ctx->fs; in e2fsck_expand_directory()
/external/e2fsprogs/doc/
Dlibext2fs.texinfo169 @code{ext2_filsys}. A filesystem handle is created either by opening
173 …}, int @var{superblock}, int @var{block_size}, io_manager @var{manager}, ext2_filsys *@var{ret_fs})
216 @deftypefun errcode_t ext2fs_flush (ext2_filsys @var{fs})
229 @deftypefun void ext2fs_free (ext2_filsys @var{fs})
235 @deftypefun errcode_t ext2fs_close (ext2_filsys @var{fs})
259 …{flags}, struct ext2_super_block *@var{param}, io_manager @var{manager}, ext2_filsys *@var{ret_fs})
352 @deftypefun errcode_t ext2fs_allocate_tables (ext2_filsys @var{fs})
369 @deftypefun void ext2fs_mark_changed (ext2_filsys @var{fs})
370 @deftypefunx int ext2fs_test_changed (ext2_filsys @var{fs})
375 @deftypefun void ext2fs_mark_super_dirty (ext2_filsys @var{fs})
[all …]
/external/e2fsprogs/debugfs/
Dhtree.c29 static void htree_dump_leaf_node(ext2_filsys fs, ext2_ino_t ino, in htree_dump_leaf_node()
96 static void htree_dump_int_block(ext2_filsys fs, ext2_ino_t ino,
102 static void htree_dump_int_node(ext2_filsys fs, ext2_ino_t ino, in htree_dump_int_node()
145 static void htree_dump_int_block(ext2_filsys fs, ext2_ino_t ino, in htree_dump_int_block()
321 static int search_dir_block(ext2_filsys fs, blk_t *blocknr,
356 static int search_dir_block(ext2_filsys fs, blk_t *blocknr, in search_dir_block()

1234