Home
last modified time | relevance | path

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

12345

/external/e2fsprogs/lib/ext2fs/
Dext2fs.h103 typedef struct struct_ext2_filsys *ext2_filsys; typedef
225 errcode_t (*get_blocks)(ext2_filsys fs, ext2_ino_t ino, blk_t *blocks);
226 errcode_t (*check_directory)(ext2_filsys fs, ext2_ino_t ino);
227 errcode_t (*write_bitmaps)(ext2_filsys fs);
228 errcode_t (*read_inode)(ext2_filsys fs, ext2_ino_t ino,
230 errcode_t (*write_inode)(ext2_filsys fs, ext2_ino_t ino,
261 errcode_t (*get_alloc_block)(ext2_filsys fs, blk64_t goal,
263 void (*block_alloc_stats)(ext2_filsys fs, blk64_t blk, int inuse);
642 extern errcode_t ext2fs_new_inode(ext2_filsys fs, ext2_ino_t dir, int mode,
644 extern errcode_t ext2fs_new_block(ext2_filsys fs, blk_t goal,
[all …]
Dblknum.c19 dgrp_t ext2fs_group_of_blk2(ext2_filsys fs, blk64_t blk) in ext2fs_group_of_blk2()
28 blk64_t ext2fs_group_first_block2(ext2_filsys fs, dgrp_t group) in ext2fs_group_first_block2()
37 blk64_t ext2fs_group_last_block2(ext2_filsys fs, dgrp_t group) in ext2fs_group_last_block2()
48 int ext2fs_group_blocks_count(ext2_filsys fs, dgrp_t group) in ext2fs_group_blocks_count()
67 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()
185 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 blk64_t ext2fs_block_bitmap_loc(ext2_filsys fs, dgrp_t group) in ext2fs_block_bitmap_loc()
218 void ext2fs_block_bitmap_loc_set(ext2_filsys fs, dgrp_t group, blk64_t blk) in ext2fs_block_bitmap_loc_set()
[all …]
Dext2fsP.h39 ext2_filsys fs;
83 extern int ext2fs_process_dir_block(ext2_filsys fs,
98 extern void ext2fs_numeric_progress_init(ext2_filsys fs,
101 extern void ext2fs_numeric_progress_update(ext2_filsys fs,
104 extern void ext2fs_numeric_progress_close(ext2_filsys fs,
112 extern errcode_t ext2fs_alloc_generic_bmap(ext2_filsys fs, errcode_t magic,
145 extern int ext2fs_file_block_offset_too_big(ext2_filsys fs,
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()
78 void (*invalid)(ext2_filsys, blk_t);
81 static void call_compat_invalid(ext2_filsys fs, blk_t blk, in call_compat_invalid()
96 errcode_t ext2fs_read_bb_FILE(ext2_filsys fs, FILE *f, in ext2fs_read_bb_FILE()
98 void (*invalid)(ext2_filsys fs, blk_t blk)) in ext2fs_read_bb_FILE()
Dalloc_stats.c17 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()
Dalloc.c31 static void check_block_uninit(ext2_filsys fs, ext2fs_block_bitmap map, in check_block_uninit()
80 static void check_inode_uninit(ext2_filsys fs, ext2fs_inode_bitmap map, in check_inode_uninit()
107 errcode_t ext2fs_new_inode(ext2_filsys fs, ext2_ino_t dir, in ext2fs_new_inode()
166 errcode_t ext2fs_new_block2(ext2_filsys fs, blk64_t goal, in ext2fs_new_block2()
205 errcode_t ext2fs_new_block(ext2_filsys fs, blk_t goal, in ext2fs_new_block()
220 errcode_t ext2fs_alloc_block2(ext2_filsys fs, blk64_t goal, in ext2fs_alloc_block2()
264 errcode_t ext2fs_alloc_block(ext2_filsys fs, blk_t goal, in ext2fs_alloc_block()
275 errcode_t ext2fs_get_free_blocks2(ext2_filsys fs, blk64_t start, blk64_t finish, in ext2fs_get_free_blocks2()
308 errcode_t ext2fs_get_free_blocks(ext2_filsys fs, blk_t start, blk_t finish, in ext2fs_get_free_blocks()
319 void ext2fs_set_alloc_block_callback(ext2_filsys fs, in ext2fs_set_alloc_block_callback()
[all …]
Dext_attr.c63 errcode_t ext2fs_read_ext_attr2(ext2_filsys fs, blk64_t block, void *buf) in ext2fs_read_ext_attr2()
76 errcode_t ext2fs_read_ext_attr(ext2_filsys fs, blk_t block, void *buf) in ext2fs_read_ext_attr()
81 errcode_t ext2fs_write_ext_attr2(ext2_filsys fs, blk64_t block, void *inbuf) in ext2fs_write_ext_attr2()
105 errcode_t ext2fs_write_ext_attr(ext2_filsys fs, blk_t block, void *inbuf) in ext2fs_write_ext_attr()
113 errcode_t ext2fs_adjust_ea_refcount2(ext2_filsys fs, blk64_t blk, in ext2fs_adjust_ea_refcount2()
151 errcode_t ext2fs_adjust_ea_refcount(ext2_filsys fs, blk_t blk, in ext2fs_adjust_ea_refcount()
Ddirblock.c22 errcode_t ext2fs_read_dir_block3(ext2_filsys fs, blk64_t block, in ext2fs_read_dir_block3()
61 errcode_t ext2fs_read_dir_block2(ext2_filsys fs, blk_t block, in ext2fs_read_dir_block2()
67 errcode_t ext2fs_read_dir_block(ext2_filsys fs, blk_t block, in ext2fs_read_dir_block()
74 errcode_t ext2fs_write_dir_block3(ext2_filsys fs, blk64_t block, in ext2fs_write_dir_block3()
115 errcode_t ext2fs_write_dir_block2(ext2_filsys fs, blk_t block, in ext2fs_write_dir_block2()
121 errcode_t ext2fs_write_dir_block(ext2_filsys fs, blk_t block, in ext2fs_write_dir_block()
Dnamei.c24 static errcode_t open_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t base,
28 static errcode_t follow_link(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, in follow_link()
82 static errcode_t dir_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, in dir_namei()
120 static errcode_t open_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t base, in open_namei()
157 errcode_t ext2fs_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, in ext2fs_namei()
176 errcode_t ext2fs_namei_follow(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, in ext2fs_namei_follow()
195 errcode_t ext2fs_follow_link(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, in ext2fs_follow_link()
Dclosefs.c35 int ext2fs_bg_has_super(ext2_filsys fs, dgrp_t group) in ext2fs_bg_has_super()
63 errcode_t ext2fs_super_and_bgd_loc2(ext2_filsys fs, in ext2fs_super_and_bgd_loc2()
137 int ext2fs_super_and_bgd_loc(ext2_filsys fs, in ext2fs_super_and_bgd_loc()
184 static errcode_t write_primary_superblock(ext2_filsys fs, in write_primary_superblock()
231 void ext2fs_update_dynamic_rev(ext2_filsys fs) in ext2fs_update_dynamic_rev()
245 static errcode_t write_backup_super(ext2_filsys fs, dgrp_t group, in write_backup_super()
263 errcode_t ext2fs_flush(ext2_filsys fs) in ext2fs_flush()
268 errcode_t ext2fs_flush2(ext2_filsys fs, int flags) in ext2fs_flush2()
431 errcode_t ext2fs_close(ext2_filsys fs) in ext2fs_close()
436 errcode_t ext2fs_close2(ext2_filsys fs, int flags) in ext2fs_close2()
Dbmap.c28 extern errcode_t ext2fs_bmap(ext2_filsys fs, ext2_ino_t ino,
35 static _BMAP_INLINE_ errcode_t block_ind_bmap(ext2_filsys fs, int flags, in block_ind_bmap()
92 static _BMAP_INLINE_ errcode_t block_dind_bmap(ext2_filsys fs, int flags, in block_dind_bmap()
112 static _BMAP_INLINE_ errcode_t block_tind_bmap(ext2_filsys fs, int flags, in block_tind_bmap()
132 static errcode_t extent_bmap(ext2_filsys fs, ext2_ino_t ino,
139 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()
204 static errcode_t extent_bmap(ext2_filsys fs, ext2_ino_t ino, in extent_bmap()
269 int ext2fs_file_block_offset_too_big(ext2_filsys fs, in ext2fs_file_block_offset_too_big()
291 errcode_t ext2fs_bmap2(ext2_filsys fs, ext2_ino_t ino, struct ext2_inode *inode, in ext2fs_bmap2()
[all …]
Drw_bitmaps.c30 static errcode_t write_bitmaps(ext2_filsys fs, int do_inode, int do_block) in write_bitmaps()
147 static errcode_t read_bitmaps(ext2_filsys fs, int do_inode, int do_block) in read_bitmaps()
319 errcode_t ext2fs_read_inode_bitmap(ext2_filsys fs) in ext2fs_read_inode_bitmap()
324 errcode_t ext2fs_read_block_bitmap(ext2_filsys fs) in ext2fs_read_block_bitmap()
329 errcode_t ext2fs_write_inode_bitmap(ext2_filsys fs) in ext2fs_write_inode_bitmap()
334 errcode_t ext2fs_write_block_bitmap (ext2_filsys fs) in ext2fs_write_block_bitmap()
339 errcode_t ext2fs_read_bitmaps(ext2_filsys fs) in ext2fs_read_bitmaps()
347 errcode_t ext2fs_write_bitmaps(ext2_filsys fs) in ext2fs_write_bitmaps()
Ddir_iterate.c26 errcode_t ext2fs_get_rec_len(ext2_filsys fs, in ext2fs_get_rec_len()
41 errcode_t ext2fs_set_rec_len(ext2_filsys fs, in ext2fs_set_rec_len()
69 static int ext2fs_validate_entry(ext2_filsys fs, char *buf, in ext2fs_validate_entry()
91 errcode_t ext2fs_dir_iterate2(ext2_filsys fs, in ext2fs_dir_iterate2()
153 errcode_t ext2fs_dir_iterate(ext2_filsys fs, in ext2fs_dir_iterate()
178 int ext2fs_process_dir_block(ext2_filsys fs, in ext2fs_process_dir_block()
Dinode.c34 ext2_filsys fs;
47 errcode_t (*done_group)(ext2_filsys fs,
60 errcode_t ext2fs_flush_icache(ext2_filsys fs) in ext2fs_flush_icache()
74 static errcode_t create_icache(ext2_filsys fs) in create_icache()
106 errcode_t ext2fs_open_inode_scan(ext2_filsys fs, int buffer_blocks, in ext2fs_open_inode_scan()
111 errcode_t (*save_get_blocks)(ext2_filsys f, ext2_ino_t ino, blk_t *blocks); in ext2fs_open_inode_scan()
197 errcode_t (*done_group)(ext2_filsys fs, in ext2fs_set_inode_callback()
230 ext2_filsys fs = scan->fs; in get_next_blockgroup()
522 errcode_t ext2fs_read_inode_full(ext2_filsys fs, ext2_ino_t ino, in ext2fs_read_inode_full()
624 errcode_t ext2fs_read_inode(ext2_filsys fs, ext2_ino_t ino, in ext2fs_read_inode()
[all …]
Dmmp.c33 errcode_t ext2fs_mmp_read(ext2_filsys fs, blk64_t mmp_blk, void *buf) in ext2fs_mmp_read()
93 errcode_t ext2fs_mmp_write(ext2_filsys fs, blk64_t mmp_blk, void *buf) in ext2fs_mmp_write()
149 static errcode_t ext2fs_mmp_reset(ext2_filsys fs) in ext2fs_mmp_reset()
183 errcode_t ext2fs_mmp_clear(ext2_filsys fs) in ext2fs_mmp_clear()
195 errcode_t ext2fs_mmp_init(ext2_filsys fs) in ext2fs_mmp_init()
230 errcode_t ext2fs_mmp_start(ext2_filsys fs) in ext2fs_mmp_start()
329 errcode_t ext2fs_mmp_stop(ext2_filsys fs) in ext2fs_mmp_stop()
367 errcode_t ext2fs_mmp_update(ext2_filsys fs) in ext2fs_mmp_update()
Dfileio.c24 ext2_filsys fs;
36 errcode_t ext2fs_file_open2(ext2_filsys fs, ext2_ino_t ino, in ext2fs_file_open2()
83 errcode_t ext2fs_file_open(ext2_filsys fs, ext2_ino_t ino, in ext2fs_file_open()
92 ext2_filsys ext2fs_file_get_fs(ext2_file_t file) in ext2fs_file_get_fs()
124 ext2_filsys fs; in ext2fs_file_flush()
185 ext2_filsys fs = file->fs; in load_buffer()
229 ext2_filsys fs; in ext2fs_file_read()
271 ext2_filsys fs; in ext2fs_file_write()
400 ext2_filsys fs = file->fs; in ext2fs_file_zero_past_offset()
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()
151 static int clear_bad_block_proc(ext2_filsys fs, blk_t *block_nr, in clear_bad_block_proc()
208 static int set_bad_block_proc(ext2_filsys fs, blk_t *block_nr, in set_bad_block_proc()
/external/e2fsprogs/resize/
Dresize2fs.h105 ext2_filsys old_fs;
106 ext2_filsys new_fs;
141 extern errcode_t resize_fs(ext2_filsys fs, blk64_t *new_size, int flags,
146 extern errcode_t adjust_fs_info(ext2_filsys fs, ext2_filsys old_fs,
149 extern blk64_t calculate_minimum_resize_size(ext2_filsys fs, int flags);
167 extern errcode_t online_resize_fs(ext2_filsys fs, const char *mtpt,
/external/e2fsprogs/lib/quota/
Dmkquota.h41 ext2_filsys fs;
46 errcode_t quota_init_context(quota_ctx_t *qctx, ext2_filsys fs, int qtype);
58 errcode_t quota_remove_inode(ext2_filsys fs, int qtype);
59 int quota_file_exists(ext2_filsys fs, int qtype, int fmt);
60 void quota_set_sb_inum(ext2_filsys fs, ext2_ino_t ino, int qtype);
Dquotaio.h64 ext2_filsys fs;
137 errcode_t quota_file_open(struct quota_handle *h, ext2_filsys fs,
142 errcode_t quota_file_create(struct quota_handle *h, ext2_filsys fs,
151 errcode_t quota_inode_truncate(ext2_filsys fs, ext2_ino_t ino);
/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()
79 ext2_filsys fs = (ext2_filsys) channel->app_data; in e2fsck_handle_write_error()
De2fsck.h218 ext2_filsys fs;
469 extern int e2fsck_pass1_check_device_inode(ext2_filsys fs,
471 extern int e2fsck_pass1_check_symlink(ext2_filsys fs, ext2_ino_t ino,
521 extern errcode_t e2fsck_zero_blocks(ext2_filsys fs, blk_t blk, int num,
550 extern blk64_t get_backup_sb(e2fsck_t ctx, ext2_filsys fs,
555 errcode_t e2fsck_mmp_update(ext2_filsys fs);
557 extern void e2fsck_set_bitmap_type(ext2_filsys fs,
561 extern errcode_t e2fsck_allocate_inode_bitmap(ext2_filsys fs,
566 extern errcode_t e2fsck_allocate_block_bitmap(ext2_filsys fs,
571 extern errcode_t e2fsck_allocate_subcluster_bitmap(ext2_filsys fs,
/external/e2fsprogs/doc/
Dlibext2fs.texinfo166 @code{ext2_filsys}. A filesystem handle is created either by opening
170 …}, int @var{superblock}, int @var{block_size}, io_manager @var{manager}, ext2_filsys *@var{ret_fs})
213 @deftypefun errcode_t ext2fs_flush (ext2_filsys @var{fs})
226 @deftypefun void ext2fs_free (ext2_filsys @var{fs})
232 @deftypefun errcode_t ext2fs_close (ext2_filsys @var{fs})
256 …{flags}, struct ext2_super_block *@var{param}, io_manager @var{manager}, ext2_filsys *@var{ret_fs})
349 @deftypefun errcode_t ext2fs_allocate_tables (ext2_filsys @var{fs})
366 @deftypefun void ext2fs_mark_changed (ext2_filsys @var{fs})
367 @deftypefunx int ext2fs_test_changed (ext2_filsys @var{fs})
372 @deftypefun void ext2fs_mark_super_dirty (ext2_filsys @var{fs})
[all …]
/external/e2fsprogs/misc/
De2freefrag.c53 static void init_chunk_info(ext2_filsys fs, struct chunk_info *info) in init_chunk_info()
95 static void scan_block_bitmap(ext2_filsys fs, struct chunk_info *info) in scan_block_bitmap()
145 static errcode_t get_chunk_info(ext2_filsys fs, struct chunk_info *info, in get_chunk_info()
215 static void close_device(char *device_name, ext2_filsys fs) in close_device()
223 static void collect_info(ext2_filsys fs, struct chunk_info *chunk_info, FILE *f) in collect_info()
248 static void open_device(char *device_name, ext2_filsys *fs) in open_device()
271 ext2_filsys fs = NULL; in do_freefrag()

12345