Home
last modified time | relevance | path

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

123456

/external/e2fsprogs/lib/ext2fs/
Dext2fs.h211 errcode_t magic;
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,
647 extern errcode_t ext2fs_new_inode(ext2_filsys fs, ext2_ino_t dir, int mode,
649 extern errcode_t ext2fs_new_block(ext2_filsys fs, blk_t goal,
651 extern errcode_t ext2fs_new_block2(ext2_filsys fs, blk64_t goal,
[all …]
Dext2_io.h38 errcode_t magic;
42 errcode_t (*read_error)(io_channel channel,
48 errcode_t error);
49 errcode_t (*write_error)(io_channel channel,
55 errcode_t error);
72 errcode_t magic;
74 errcode_t (*open)(const char *name, int flags, io_channel *channel);
75 errcode_t (*close)(io_channel channel);
76 errcode_t (*set_blksize)(io_channel channel, int blksize);
77 errcode_t (*read_blk)(io_channel channel, unsigned long block,
[all …]
Dtest_io.c57 void (*read_blk)(unsigned long block, int count, errcode_t err);
58 void (*write_blk)(unsigned long block, int count, errcode_t err);
59 void (*set_blksize)(int blksize, errcode_t err);
60 void (*write_byte)(unsigned long block, int count, errcode_t err);
61 void (*read_blk64)(unsigned long long block, int count, errcode_t err);
62 void (*write_blk64)(unsigned long long block, int count, errcode_t err);
65 static errcode_t test_open(const char *name, int flags, io_channel *channel);
66 static errcode_t test_close(io_channel channel);
67 static errcode_t test_set_blksize(io_channel channel, int blksize);
68 static errcode_t test_read_blk(io_channel channel, unsigned long block,
[all …]
Dinode_io.c49 static errcode_t inode_open(const char *name, int flags, io_channel *channel);
50 static errcode_t inode_close(io_channel channel);
51 static errcode_t inode_set_blksize(io_channel channel, int blksize);
52 static errcode_t inode_read_blk(io_channel channel, unsigned long block,
54 static errcode_t inode_write_blk(io_channel channel, unsigned long block,
56 static errcode_t inode_flush(io_channel channel);
57 static errcode_t inode_write_byte(io_channel channel, unsigned long offset,
59 static errcode_t inode_read_blk64(io_channel channel,
61 static errcode_t inode_write_blk64(io_channel channel,
82 errcode_t ext2fs_inode_io_intern2(ext2_filsys fs, ext2_ino_t ino, in ext2fs_inode_io_intern2()
[all …]
Dundo_io.c73 static errcode_t undo_open(const char *name, int flags, io_channel *channel);
74 static errcode_t undo_close(io_channel channel);
75 static errcode_t undo_set_blksize(io_channel channel, int blksize);
76 static errcode_t undo_read_blk64(io_channel channel, unsigned long long block,
78 static errcode_t undo_write_blk64(io_channel channel, unsigned long long block,
80 static errcode_t undo_read_blk(io_channel channel, unsigned long block,
82 static errcode_t undo_write_blk(io_channel channel, unsigned long block,
84 static errcode_t undo_flush(io_channel channel);
85 static errcode_t undo_write_byte(io_channel channel, unsigned long offset,
87 static errcode_t undo_set_option(io_channel channel, const char *option,
[all …]
Dbitmaps.c42 errcode_t ext2fs_copy_bitmap(ext2fs_generic_bitmap src, in ext2fs_copy_bitmap()
52 errcode_t ext2fs_allocate_inode_bitmap(ext2_filsys fs, in ext2fs_allocate_inode_bitmap()
84 errcode_t ext2fs_allocate_block_bitmap(ext2_filsys fs, in ext2fs_allocate_block_bitmap()
121 errcode_t ext2fs_allocate_subcluster_bitmap(ext2_filsys fs, in ext2fs_allocate_subcluster_bitmap()
127 errcode_t retval; in ext2fs_allocate_subcluster_bitmap()
164 errcode_t ext2fs_fudge_inode_bitmap_end(ext2fs_inode_bitmap bitmap, in ext2fs_fudge_inode_bitmap_end()
178 errcode_t ext2fs_fudge_block_bitmap_end(ext2fs_block_bitmap bitmap, in ext2fs_fudge_block_bitmap_end()
187 errcode_t ext2fs_fudge_block_bitmap_end2(ext2fs_block_bitmap bitmap, in ext2fs_fudge_block_bitmap_end2()
205 errcode_t ext2fs_resize_inode_bitmap(__u32 new_end, __u32 new_real_end, in ext2fs_resize_inode_bitmap()
212 errcode_t ext2fs_resize_inode_bitmap2(__u64 new_end, __u64 new_real_end, in ext2fs_resize_inode_bitmap2()
[all …]
Direl_ma.c26 static errcode_t ima_put(ext2_irel irel, ext2_ino_t old,
28 static errcode_t ima_get(ext2_irel irel, ext2_ino_t old,
30 static errcode_t ima_get_by_orig(ext2_irel irel, ext2_ino_t orig, ext2_ino_t *old,
32 static errcode_t ima_start_iter(ext2_irel irel);
33 static errcode_t ima_next(ext2_irel irel, ext2_ino_t *old,
35 static errcode_t ima_add_ref(ext2_irel irel, ext2_ino_t ino,
37 static errcode_t ima_start_iter_ref(ext2_irel irel, ext2_ino_t ino);
38 static errcode_t ima_next_ref(ext2_irel irel, struct ext2_inode_reference *ref);
39 static errcode_t ima_move(ext2_irel irel, ext2_ino_t old, ext2_ino_t new);
40 static errcode_t ima_delete(ext2_irel irel, ext2_ino_t old);
[all …]
Dbrel_ma.c29 static errcode_t bma_put(ext2_brel brel, blk64_t old,
31 static errcode_t bma_get(ext2_brel brel, blk64_t old,
33 static errcode_t bma_start_iter(ext2_brel brel);
34 static errcode_t bma_next(ext2_brel brel, blk64_t *old,
36 static errcode_t bma_move(ext2_brel brel, blk64_t old, blk64_t new);
37 static errcode_t bma_delete(ext2_brel brel, blk64_t old);
38 static errcode_t bma_free(ext2_brel brel);
46 errcode_t ext2fs_brel_memarray_create(char *name, blk64_t max_block, in ext2fs_brel_memarray_create()
50 errcode_t retval; in ext2fs_brel_memarray_create()
104 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 …]
Dfileio.c23 errcode_t magic;
36 errcode_t ext2fs_file_open2(ext2_filsys fs, ext2_ino_t ino, in ext2fs_file_open2()
41 errcode_t retval; in ext2fs_file_open2()
83 errcode_t ext2fs_file_open(ext2_filsys fs, ext2_ino_t ino, in ext2fs_file_open()
121 errcode_t ext2fs_file_flush(ext2_file_t file) in ext2fs_file_flush()
123 errcode_t retval; in ext2fs_file_flush()
158 static errcode_t sync_buffer_position(ext2_file_t file) in sync_buffer_position()
161 errcode_t retval; in sync_buffer_position()
183 static errcode_t load_buffer(ext2_file_t file, int dontfill) in load_buffer()
186 errcode_t retval; in load_buffer()
[all …]
Dunix_io.c99 static errcode_t unix_open(const char *name, int flags, io_channel *channel);
100 static errcode_t unix_close(io_channel channel);
101 static errcode_t unix_set_blksize(io_channel channel, int blksize);
102 static errcode_t unix_read_blk(io_channel channel, unsigned long block,
104 static errcode_t unix_write_blk(io_channel channel, unsigned long block,
106 static errcode_t unix_flush(io_channel channel);
107 static errcode_t unix_write_byte(io_channel channel, unsigned long offset,
109 static errcode_t unix_set_option(io_channel channel, const char *option,
111 static errcode_t unix_get_stats(io_channel channel, io_stats *stats)
115 static errcode_t unix_read_blk64(io_channel channel, unsigned long long block,
[all …]
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()
34 errcode_t retval; in follow_link()
82 static errcode_t dir_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, in dir_namei()
92 errcode_t retval; in dir_namei()
120 static errcode_t open_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t base, in open_namei()
127 errcode_t retval; in open_namei()
157 errcode_t ext2fs_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, in ext2fs_namei()
161 errcode_t retval; in ext2fs_namei()
176 errcode_t ext2fs_namei_follow(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, in ext2fs_namei_follow()
[all …]
Dext2fsP.h61 errcode_t errcode;
112 extern errcode_t ext2fs_alloc_generic_bmap(ext2_filsys fs, errcode_t magic,
120 extern errcode_t ext2fs_copy_generic_bmap(ext2fs_generic_bitmap src,
123 extern errcode_t ext2fs_resize_generic_bmap(ext2fs_generic_bitmap bmap,
126 extern errcode_t ext2fs_fudge_generic_bmap_end(ext2fs_generic_bitmap bitmap,
127 errcode_t neq,
135 extern errcode_t ext2fs_set_generic_bmap_range(ext2fs_generic_bitmap bitmap,
138 extern errcode_t ext2fs_get_generic_bmap_range(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 errcode_t ext2fs_get_num_dirs(ext2_filsys fs, ext2_ino_t *ret_num_dirs) in ext2fs_get_num_dirs()
58 static errcode_t make_dblist(ext2_filsys fs, ext2_ino_t size, in make_dblist()
64 errcode_t retval; in make_dblist()
114 errcode_t ext2fs_init_dblist(ext2_filsys fs, ext2_dblist *ret_dblist) in ext2fs_init_dblist()
117 errcode_t retval; in ext2fs_init_dblist()
135 errcode_t ext2fs_copy_dblist(ext2_dblist src, ext2_dblist *dest) in ext2fs_copy_dblist()
138 errcode_t retval; in ext2fs_copy_dblist()
159 errcode_t ext2fs_add_dir_block2(ext2_dblist dblist, ext2_ino_t ino, in ext2fs_add_dir_block2()
163 errcode_t retval; in ext2fs_add_dir_block2()
192 errcode_t ext2fs_set_dir_block2(ext2_dblist dblist, ext2_ino_t ino, in ext2fs_set_dir_block2()
[all …]
Dgen_bitmap.c31 errcode_t magic;
37 errcode_t base_error_code;
67 static errcode_t check_magic(ext2fs_generic_bitmap bitmap) in check_magic()
76 errcode_t ext2fs_make_generic_bitmap(errcode_t magic, ext2_filsys fs, in ext2fs_make_generic_bitmap()
82 errcode_t retval; in ext2fs_make_generic_bitmap()
133 errcode_t ext2fs_allocate_generic_bitmap(__u32 start, in ext2fs_allocate_generic_bitmap()
143 errcode_t ext2fs_copy_generic_bitmap(ext2fs_generic_bitmap src, in ext2fs_copy_generic_bitmap()
288 errcode_t ext2fs_fudge_generic_bitmap_end(ext2fs_inode_bitmap bitmap, in ext2fs_fudge_generic_bitmap_end()
289 errcode_t magic, errcode_t neq, in ext2fs_fudge_generic_bitmap_end()
302 errcode_t ext2fs_resize_generic_bitmap(errcode_t magic, in ext2fs_resize_generic_bitmap()
[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,
Dext_attr.c63 errcode_t ext2fs_read_ext_attr2(ext2_filsys fs, blk64_t block, void *buf) in ext2fs_read_ext_attr2()
65 errcode_t retval; 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()
83 errcode_t retval; 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()
117 errcode_t retval; in ext2fs_adjust_ea_refcount2()
151 errcode_t ext2fs_adjust_ea_refcount(ext2_filsys fs, blk_t blk, in ext2fs_adjust_ea_refcount()
Dbadblocks.c32 static errcode_t make_u32_list(int size, int num, __u32 *list, in make_u32_list()
36 errcode_t retval; in make_u32_list()
62 errcode_t ext2fs_u32_list_create(ext2_u32_list *ret, int size) in ext2fs_u32_list_create()
70 errcode_t ext2fs_badblocks_list_create(ext2_badblocks_list *ret, int size) in ext2fs_badblocks_list_create()
79 errcode_t ext2fs_u32_copy(ext2_u32_list src, ext2_u32_list *dest) in ext2fs_u32_copy()
81 errcode_t retval; in ext2fs_u32_copy()
90 errcode_t ext2fs_badblocks_copy(ext2_badblocks_list src, in ext2fs_badblocks_copy()
107 errcode_t ext2fs_u32_list_add(ext2_u32_list bb, __u32 blk) in ext2fs_u32_list_add()
109 errcode_t retval; in ext2fs_u32_list_add()
153 errcode_t ext2fs_badblocks_list_add(ext2_badblocks_list bb, blk_t blk) in ext2fs_badblocks_list_add()
[all …]
Dmmp.c33 errcode_t ext2fs_mmp_read(ext2_filsys fs, blk64_t mmp_blk, void *buf) in ext2fs_mmp_read()
36 errcode_t retval = 0; in ext2fs_mmp_read()
93 errcode_t ext2fs_mmp_write(ext2_filsys fs, blk64_t mmp_blk, void *buf) in ext2fs_mmp_write()
97 errcode_t retval = 0; in ext2fs_mmp_write()
149 static errcode_t ext2fs_mmp_reset(ext2_filsys fs) in ext2fs_mmp_reset()
152 errcode_t retval = 0; in ext2fs_mmp_reset()
183 errcode_t ext2fs_mmp_clear(ext2_filsys fs) in ext2fs_mmp_clear()
185 errcode_t retval = 0; in ext2fs_mmp_clear()
195 errcode_t ext2fs_mmp_init(ext2_filsys fs) in ext2fs_mmp_init()
199 errcode_t retval; in ext2fs_mmp_init()
[all …]
Dinode.c33 errcode_t magic;
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()
76 errcode_t retval; in create_icache()
106 errcode_t ext2fs_open_inode_scan(ext2_filsys fs, int buffer_blocks, in ext2fs_open_inode_scan()
110 errcode_t retval; 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()
228 static errcode_t get_next_blockgroup(ext2_inode_scan scan) in get_next_blockgroup()
[all …]
/external/e2fsprogs/resize/
Dresize2fs.h124 errcode_t (*progress)(ext2_resize_t rfs, int pass,
141 extern errcode_t resize_fs(ext2_filsys fs, blk64_t *new_size, int flags,
142 errcode_t (*progress)(ext2_resize_t rfs,
146 extern errcode_t adjust_fs_info(ext2_filsys fs, ext2_filsys old_fs,
153 extern errcode_t ext2fs_create_extent_table(ext2_extent *ret_extent,
156 extern errcode_t ext2fs_add_extent_entry(ext2_extent extent,
160 extern errcode_t ext2fs_iterate_extent(ext2_extent extent, __u64 *old_loc,
167 extern errcode_t online_resize_fs(ext2_filsys fs, const char *mtpt,
178 extern errcode_t ext2fs_progress_init(ext2_sim_progmeter *ret_prog,
/external/e2fsprogs/e2fsck/
Dprofile.c136 errcode_t magic;
164 static errcode_t parse_line(char *line, struct parse_state *state);
167 static errcode_t profile_write_tree_file
170 static errcode_t profile_write_tree_to_buffer
178 static errcode_t profile_create_node
183 static errcode_t profile_verify_node
187 static errcode_t profile_add_node
192 static errcode_t profile_find_node
198 static errcode_t profile_node_iterator
202 static errcode_t profile_open_file
[all …]
/external/e2fsprogs/tests/progs/
Dtest_rel.c107 errcode_t retval; in display_irel_entry()
146 errcode_t retval; in do_brel_ma_create()
175 errcode_t retval; in do_brel_put()
216 errcode_t retval; in do_brel_get()
239 errcode_t retval; in do_brel_start_iter()
254 errcode_t retval; in do_brel_next()
276 errcode_t retval; in do_brel_dump()
306 errcode_t retval; in do_brel_move()
331 errcode_t retval; in do_brel_delete()
353 errcode_t retval; in do_irel_ma_create()
[all …]
/external/e2fsprogs/lib/quota/
Dmkquota.h46 errcode_t quota_init_context(quota_ctx_t *qctx, ext2_filsys fs, int qtype);
53 errcode_t quota_write_inode(quota_ctx_t qctx, int qtype);
54 errcode_t quota_update_limits(quota_ctx_t qctx, ext2_ino_t qf_ino, int type);
55 errcode_t quota_compute_usage(quota_ctx_t qctx);
58 errcode_t quota_remove_inode(ext2_filsys fs, int qtype);
61 errcode_t quota_compare_and_update(quota_ctx_t qctx, int qtype,

123456