Home
last modified time | relevance | path

Searched refs:errcode_t (Results 1 – 25 of 183) sorted by relevance

12345678

/external/e2fsprogs/lib/ext2fs/
Dext2fs.h219 errcode_t magic;
233 errcode_t (*get_blocks)(ext2_filsys fs, ext2_ino_t ino, blk_t *blocks);
234 errcode_t (*check_directory)(ext2_filsys fs, ext2_ino_t ino);
235 errcode_t (*write_bitmaps)(ext2_filsys fs);
236 errcode_t (*read_inode)(ext2_filsys fs, ext2_ino_t ino,
238 errcode_t (*write_inode)(ext2_filsys fs, ext2_ino_t ino,
269 errcode_t (*get_alloc_block)(ext2_filsys fs, blk64_t goal,
271 errcode_t (*get_alloc_block2)(ext2_filsys fs, blk64_t goal,
297 errcode_t (*new_range)(ext2_filsys fs, int flags, blk64_t goal,
680 extern errcode_t ext2fs_new_inode(ext2_filsys fs, ext2_ino_t dir, int mode,
[all …]
Dext2_io.h40 errcode_t magic;
44 errcode_t (*read_error)(io_channel channel,
50 errcode_t error);
51 errcode_t (*write_error)(io_channel channel,
57 errcode_t error);
74 errcode_t magic;
76 errcode_t (*open)(const char *name, int flags, io_channel *channel);
77 errcode_t (*close)(io_channel channel);
78 errcode_t (*set_blksize)(io_channel channel, int blksize);
79 errcode_t (*read_blk)(io_channel channel, unsigned long block,
[all …]
Dinode_io.c50 static errcode_t inode_open(const char *name, int flags, io_channel *channel);
51 static errcode_t inode_close(io_channel channel);
52 static errcode_t inode_set_blksize(io_channel channel, int blksize);
53 static errcode_t inode_read_blk(io_channel channel, unsigned long block,
55 static errcode_t inode_write_blk(io_channel channel, unsigned long block,
57 static errcode_t inode_flush(io_channel channel);
58 static errcode_t inode_write_byte(io_channel channel, unsigned long offset,
60 static errcode_t inode_read_blk64(io_channel channel,
62 static errcode_t inode_write_blk64(io_channel channel,
81 errcode_t ext2fs_inode_io_intern2(ext2_filsys fs, ext2_ino_t ino, in ext2fs_inode_io_intern2()
[all …]
Dbitmaps.c43 errcode_t ext2fs_copy_bitmap(ext2fs_generic_bitmap src, in ext2fs_copy_bitmap()
53 errcode_t ext2fs_allocate_inode_bitmap(ext2_filsys fs, in ext2fs_allocate_inode_bitmap()
85 errcode_t ext2fs_allocate_block_bitmap(ext2_filsys fs, in ext2fs_allocate_block_bitmap()
122 errcode_t ext2fs_allocate_subcluster_bitmap(ext2_filsys fs, in ext2fs_allocate_subcluster_bitmap()
128 errcode_t retval; in ext2fs_allocate_subcluster_bitmap()
165 errcode_t ext2fs_fudge_inode_bitmap_end(ext2fs_inode_bitmap bitmap, in ext2fs_fudge_inode_bitmap_end()
179 errcode_t ext2fs_fudge_block_bitmap_end(ext2fs_block_bitmap bitmap, in ext2fs_fudge_block_bitmap_end()
188 errcode_t ext2fs_fudge_block_bitmap_end2(ext2fs_block_bitmap bitmap, in ext2fs_fudge_block_bitmap_end2()
206 errcode_t ext2fs_resize_inode_bitmap(__u32 new_end, __u32 new_real_end, in ext2fs_resize_inode_bitmap()
213 errcode_t ext2fs_resize_inode_bitmap2(__u64 new_end, __u64 new_real_end, in ext2fs_resize_inode_bitmap2()
[all …]
Dtest_io.c52 void (*read_blk)(unsigned long block, int count, errcode_t err);
53 void (*write_blk)(unsigned long block, int count, errcode_t err);
54 void (*set_blksize)(int blksize, errcode_t err);
55 void (*write_byte)(unsigned long block, int count, errcode_t err);
56 void (*read_blk64)(unsigned long long block, int count, errcode_t err);
57 void (*write_blk64)(unsigned long long block, int count, errcode_t err);
66 (unsigned long block, int count, errcode_t err) = 0;
68 (unsigned long block, int count, errcode_t err) = 0;
70 (unsigned long long block, int count, errcode_t err) = 0;
72 (unsigned long long block, int count, errcode_t err) = 0;
[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,
33 static errcode_t ima_start_iter(ext2_irel irel);
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);
39 static errcode_t ima_next_ref(ext2_irel irel, struct ext2_inode_reference *ref);
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);
[all …]
Dbrel_ma.c30 static errcode_t bma_put(ext2_brel brel, blk64_t old,
32 static errcode_t bma_get(ext2_brel brel, blk64_t old,
34 static errcode_t bma_start_iter(ext2_brel brel);
35 static errcode_t bma_next(ext2_brel brel, blk64_t *old,
37 static errcode_t bma_move(ext2_brel brel, blk64_t old, blk64_t new);
38 static errcode_t bma_delete(ext2_brel brel, blk64_t old);
39 static errcode_t bma_free(ext2_brel brel);
47 errcode_t ext2fs_brel_memarray_create(char *name, blk64_t max_block, in ext2fs_brel_memarray_create()
51 errcode_t retval; in ext2fs_brel_memarray_create()
105 static errcode_t bma_put(ext2_brel brel, blk64_t old, in bma_put()
[all …]
Direl.h35 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,
52 errcode_t (*start_iter)(ext2_irel irel);
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);
79 errcode_t (*next_ref)(ext2_irel irel,
86 errcode_t (*move)(ext2_irel irel, ext2_ino_t old, ext2_ino_t new);
92 errcode_t (*delete)(ext2_irel irel, ext2_ino_t old);
[all …]
Dext2fsP.h62 errcode_t errcode;
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);
136 extern errcode_t ext2fs_alloc_generic_bmap(ext2_filsys fs, errcode_t magic,
144 extern errcode_t ext2fs_copy_generic_bmap(ext2fs_generic_bitmap src,
147 extern errcode_t ext2fs_resize_generic_bmap(ext2fs_generic_bitmap bmap,
150 extern errcode_t ext2fs_fudge_generic_bmap_end(ext2fs_generic_bitmap bitmap,
151 errcode_t neq,
159 extern errcode_t ext2fs_set_generic_bmap_range(ext2fs_generic_bitmap bitmap,
162 extern errcode_t ext2fs_get_generic_bmap_range(ext2fs_generic_bitmap bitmap,
[all …]
Dsparse_io.c15 static errcode_t sparse_open(const char *name EXT2FS_ATTR((unused)), in sparse_open()
21 static errcode_t sparse_close(io_channel channel EXT2FS_ATTR((unused))) in sparse_close()
57 static errcode_t sparse_write_blk(io_channel channel, unsigned long block,
82 static errcode_t io_manager_import_sparse(struct sparse_io_params *params, in io_manager_import_sparse()
86 errcode_t retval; in io_manager_import_sparse()
126 static errcode_t io_manager_configure(struct sparse_io_params *params, in io_manager_configure()
129 errcode_t retval; in io_manager_configure()
185 static errcode_t sparse_open_channel(struct sparse_io_params *sparse_params, in sparse_open_channel()
198 static errcode_t read_sparse_argv(const char *name, bool is_fd, in read_sparse_argv()
229 static errcode_t sparse_open(const char *name, int flags, io_channel *channel) in sparse_open()
[all …]
Dfileio.c24 errcode_t magic;
43 errcode_t ext2fs_file_open2(ext2_filsys fs, ext2_ino_t ino, in ext2fs_file_open2()
48 errcode_t retval; in ext2fs_file_open2()
90 errcode_t ext2fs_file_open(ext2_filsys fs, ext2_ino_t ino, in ext2fs_file_open()
128 errcode_t ext2fs_file_flush(ext2_file_t file) in ext2fs_file_flush()
130 errcode_t retval; in ext2fs_file_flush()
183 static errcode_t sync_buffer_position(ext2_file_t file) in sync_buffer_position()
186 errcode_t retval; in sync_buffer_position()
208 static errcode_t load_buffer(ext2_file_t file, int dontfill) in load_buffer()
211 errcode_t retval; in load_buffer()
[all …]
Ddirblock.c23 errcode_t ext2fs_read_dir_block4(ext2_filsys fs, blk64_t block, in ext2fs_read_dir_block4()
27 errcode_t retval; 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()
70 errcode_t retval; 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()
Dalloc.c88 errcode_t ext2fs_new_inode(ext2_filsys fs, ext2_ino_t dir, in ext2fs_new_inode()
94 errcode_t retval; in ext2fs_new_inode()
147 errcode_t ext2fs_new_block3(ext2_filsys fs, blk64_t goal, in ext2fs_new_block3()
151 errcode_t retval; 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()
213 errcode_t retval; in ext2fs_new_block()
225 errcode_t ext2fs_alloc_block3(ext2_filsys fs, blk64_t goal, char *block_buf, in ext2fs_alloc_block3()
[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()
35 errcode_t retval; in follow_link()
83 static errcode_t dir_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, in dir_namei()
93 errcode_t retval; in dir_namei()
121 static errcode_t open_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t base, in open_namei()
128 errcode_t retval; in open_namei()
158 errcode_t ext2fs_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, in ext2fs_namei()
162 errcode_t retval; in ext2fs_namei()
177 errcode_t ext2fs_namei_follow(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, in ext2fs_namei_follow()
[all …]
Dbmap64.h41 errcode_t magic;
50 errcode_t base_error_code;
69 errcode_t (*new_bmap)(ext2_filsys fs, ext2fs_generic_bitmap bmap);
71 errcode_t (*copy_bmap)(ext2fs_generic_bitmap src,
73 errcode_t (*resize_bmap)(ext2fs_generic_bitmap bitmap,
86 errcode_t (*set_bmap_range)(ext2fs_generic_bitmap bitmap,
88 errcode_t (*get_bmap_range)(ext2fs_generic_bitmap bitmap,
95 errcode_t (*find_first_zero)(ext2fs_generic_bitmap bitmap,
99 errcode_t (*find_first_set)(ext2fs_generic_bitmap bitmap,
Dbrel.h37 errcode_t (*put)(ext2_brel brel, blk64_t old,
43 errcode_t (*get)(ext2_brel brel, blk64_t old,
49 errcode_t (*start_iter)(ext2_brel brel);
55 errcode_t (*next)(ext2_brel brel, blk64_t *old,
62 errcode_t (*move)(ext2_brel brel, blk64_t old, blk_t new);
67 errcode_t (*delete)(ext2_brel brel, blk64_t old);
73 errcode_t (*free)(ext2_brel brel);
76 errcode_t ext2fs_brel_memarray_create(char *name, blk64_t max_block,
Ddblist.c31 static errcode_t make_dblist(ext2_filsys fs, ext2_ino_t size, in make_dblist()
37 errcode_t retval; in make_dblist()
87 errcode_t ext2fs_init_dblist(ext2_filsys fs, ext2_dblist *ret_dblist) in ext2fs_init_dblist()
90 errcode_t retval; in ext2fs_init_dblist()
108 errcode_t ext2fs_copy_dblist(ext2_dblist src, ext2_dblist *dest) in ext2fs_copy_dblist()
111 errcode_t retval; in ext2fs_copy_dblist()
132 errcode_t ext2fs_add_dir_block2(ext2_dblist dblist, ext2_ino_t ino, in ext2fs_add_dir_block2()
136 errcode_t retval; in ext2fs_add_dir_block2()
165 errcode_t ext2fs_set_dir_block2(ext2_dblist dblist, ext2_ino_t ino, in ext2fs_set_dir_block2()
197 errcode_t ext2fs_dblist_iterate3(ext2_dblist dblist, in ext2fs_dblist_iterate3()
[all …]
Dgen_bitmap.c32 errcode_t magic;
38 errcode_t base_error_code;
68 static errcode_t check_magic(ext2fs_generic_bitmap bitmap) in check_magic()
77 errcode_t ext2fs_make_generic_bitmap(errcode_t magic, ext2_filsys fs, in ext2fs_make_generic_bitmap()
83 errcode_t retval; in ext2fs_make_generic_bitmap()
134 errcode_t ext2fs_allocate_generic_bitmap(__u32 start, in ext2fs_allocate_generic_bitmap()
144 errcode_t ext2fs_copy_generic_bitmap(ext2fs_generic_bitmap src, in ext2fs_copy_generic_bitmap()
289 errcode_t ext2fs_fudge_generic_bitmap_end(ext2fs_inode_bitmap bitmap, in ext2fs_fudge_generic_bitmap_end()
290 errcode_t magic, errcode_t neq, in ext2fs_fudge_generic_bitmap_end()
303 errcode_t ext2fs_resize_generic_bitmap(errcode_t magic, in ext2fs_resize_generic_bitmap()
[all …]
Dundo_io.c168 errcode_t set_undo_io_backing_manager(io_manager manager) in set_undo_io_backing_manager()
177 errcode_t set_undo_io_backup_file(char *file_name) in set_undo_io_backup_file()
188 static errcode_t write_undo_indexes(struct undo_private_data *data, int flush) in write_undo_indexes()
190 errcode_t retval; in write_undo_indexes()
269 static errcode_t undo_setup_tdb(struct undo_private_data *data) in undo_setup_tdb()
272 errcode_t retval; in undo_setup_tdb()
320 static errcode_t undo_write_tdb(io_channel channel, in undo_write_tdb()
326 errcode_t retval = 0; in undo_write_tdb()
480 static errcode_t undo_io_read_error(io_channel channel ATTR((unused)), in undo_io_read_error()
486 errcode_t error ATTR((unused))) in undo_io_read_error()
[all …]
Dext_attr.c61 static errcode_t check_ext_attr_header(struct ext2_ext_attr_header *header) in check_ext_attr_header()
74 errcode_t ext2fs_read_ext_attr3(ext2_filsys fs, blk64_t block, void *buf, in ext2fs_read_ext_attr3()
78 errcode_t retval; in ext2fs_read_ext_attr3()
99 errcode_t ext2fs_read_ext_attr2(ext2_filsys fs, blk64_t block, void *buf) in ext2fs_read_ext_attr2()
104 errcode_t ext2fs_read_ext_attr(ext2_filsys fs, blk_t block, void *buf) in ext2fs_read_ext_attr()
109 errcode_t ext2fs_write_ext_attr3(ext2_filsys fs, blk64_t block, void *inbuf, in ext2fs_write_ext_attr3()
112 errcode_t retval; in ext2fs_write_ext_attr3()
138 errcode_t ext2fs_write_ext_attr2(ext2_filsys fs, blk64_t block, void *inbuf) in ext2fs_write_ext_attr2()
143 errcode_t ext2fs_write_ext_attr(ext2_filsys fs, blk_t block, void *inbuf) in ext2fs_write_ext_attr()
151 errcode_t ext2fs_adjust_ea_refcount3(ext2_filsys fs, blk64_t blk, in ext2fs_adjust_ea_refcount3()
[all …]
/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/lib/support/
Dprofile.c138 errcode_t magic;
166 static errcode_t parse_line(char *line, struct parse_state *state);
169 static errcode_t profile_write_tree_file
172 static errcode_t profile_write_tree_to_buffer
180 static errcode_t profile_create_node
185 static errcode_t profile_verify_node
189 static errcode_t profile_add_node
194 static errcode_t profile_find_node
200 static errcode_t profile_node_iterator
204 static errcode_t profile_open_file
[all …]
/external/e2fsprogs/e2fsck/
De2fsck.h431 extern errcode_t e2fsck_allocate_context(e2fsck_t *ret);
432 extern errcode_t e2fsck_reset_context(e2fsck_t ctx);
466 extern errcode_t ea_refcount_create(int size, ext2_refcount_t *ret);
468 extern errcode_t ea_refcount_fetch(ext2_refcount_t refcount, blk64_t blk, int *ret);
469 extern errcode_t ea_refcount_increment(ext2_refcount_t refcount,
471 extern errcode_t ea_refcount_decrement(ext2_refcount_t refcount,
473 extern errcode_t ea_refcount_store(ext2_refcount_t refcount,
485 errcode_t e2fsck_rebuild_extents_later(e2fsck_t ctx, ext2_ino_t ino);
488 errcode_t e2fsck_check_rebuild_extents(e2fsck_t ctx, ext2_ino_t ino,
491 errcode_t e2fsck_should_rebuild_extents(e2fsck_t ctx,
[all …]
/external/e2fsprogs/resize/
Dresize2fs.h127 errcode_t (*progress)(ext2_resize_t rfs, int pass,
144 extern errcode_t resize_fs(ext2_filsys fs, blk64_t *new_size, int flags,
145 errcode_t (*progress)(ext2_resize_t rfs,
149 extern errcode_t adjust_fs_info(ext2_filsys fs, ext2_filsys old_fs,
156 extern errcode_t ext2fs_create_extent_table(ext2_extent *ret_extent,
159 extern errcode_t ext2fs_add_extent_entry(ext2_extent extent,
163 extern errcode_t ext2fs_iterate_extent(ext2_extent extent, __u64 *old_loc,
170 extern errcode_t online_resize_fs(ext2_filsys fs, const char *mtpt,
181 extern errcode_t ext2fs_progress_init(ext2_sim_progmeter *ret_prog,
/external/e2fsprogs/tests/progs/
Dtest_rel.c108 errcode_t retval; in display_irel_entry()
147 errcode_t retval; in do_brel_ma_create()
176 errcode_t retval; in do_brel_put()
217 errcode_t retval; in do_brel_get()
240 errcode_t retval; in do_brel_start_iter()
255 errcode_t retval; in do_brel_next()
277 errcode_t retval; in do_brel_dump()
307 errcode_t retval; in do_brel_move()
332 errcode_t retval; in do_brel_delete()
354 errcode_t retval; in do_irel_ma_create()
[all …]

12345678