Home
last modified time | relevance | path

Searched refs:io_channel (Results 1 – 25 of 52) sorted by relevance

123

/external/e2fsprogs/lib/ext2fs/
Dext2_io.h30 typedef struct struct_io_channel *io_channel; typedef
45 errcode_t (*read_error)(io_channel channel,
52 errcode_t (*write_error)(io_channel channel,
77 errcode_t (*open)(const char *name, int flags, io_channel *channel);
78 errcode_t (*close)(io_channel channel);
79 errcode_t (*set_blksize)(io_channel channel, int blksize);
80 errcode_t (*read_blk)(io_channel channel, unsigned long block,
82 errcode_t (*write_blk)(io_channel channel, unsigned long block,
84 errcode_t (*flush)(io_channel channel);
85 errcode_t (*write_byte)(io_channel channel, unsigned long offset,
[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,
114 static errcode_t inode_open(const char *name, int flags, io_channel *channel) in inode_open()
[all …]
Dsparse_io.c17 io_channel *channel EXT2FS_ATTR((unused))) in sparse_open()
21 static errcode_t sparse_close(io_channel channel EXT2FS_ATTR((unused))) in sparse_close()
47 io_channel channel;
57 static errcode_t sparse_write_blk(io_channel channel, unsigned long block,
83 struct sparse_map *sm, io_channel io) in io_manager_import_sparse()
127 int flags, io_channel io) in io_manager_configure()
186 int flags, io_channel *channel) in sparse_open_channel()
189 io_channel io; in sparse_open_channel()
237 static errcode_t sparse_open(const char *name, int flags, io_channel *channel) in sparse_open()
254 static errcode_t sparsefd_open(const char *name, int flags, io_channel *channel) in sparsefd_open()
[all …]
Ddosio.c55 static errcode_t dos_open(const char *dev, int flags, io_channel *channel);
56 static errcode_t dos_close(io_channel channel);
57 static errcode_t dos_set_blksize(io_channel channel, int blksize);
58 static errcode_t dos_read_blk(io_channel channel, unsigned long block,
60 static errcode_t dos_write_blk(io_channel channel, unsigned long block,
62 static errcode_t dos_flush(io_channel channel);
150 static io_channel alloc_io_channel(PARTITION *part) in alloc_io_channel()
152 io_channel ioch; in alloc_io_channel()
154 ioch = (io_channel)malloc(sizeof(struct struct_io_channel)); in alloc_io_channel()
181 static errcode_t dos_open(const char *dev, int flags, io_channel *channel) in dos_open()
[all …]
Dio_manager.c23 errcode_t io_channel_set_options(io_channel channel, const char *opts) in io_channel_set_options()
60 errcode_t io_channel_write_byte(io_channel channel, unsigned long offset, in io_channel_write_byte()
72 errcode_t io_channel_read_blk64(io_channel channel, unsigned long long block, in io_channel_read_blk64()
88 errcode_t io_channel_write_blk64(io_channel channel, unsigned long long block, in io_channel_write_blk64()
104 errcode_t io_channel_discard(io_channel channel, unsigned long long block, in io_channel_discard()
115 errcode_t io_channel_zeroout(io_channel channel, unsigned long long block, in io_channel_zeroout()
126 errcode_t io_channel_alloc_buf(io_channel io, int count, void *ptr) in io_channel_alloc_buf()
145 errcode_t io_channel_cache_readahead(io_channel io, unsigned long long block, in io_channel_cache_readahead()
Dtest_io.c47 io_channel real;
91 static void test_dump_block(io_channel channel, in test_dump_block()
114 static errcode_t test_flush(io_channel channel) in test_flush()
133 static void test_abort(io_channel channel, unsigned long block) in test_abort()
172 static errcode_t test_open(const char *name, int flags, io_channel *channel) in test_open()
174 io_channel io = NULL; in test_open()
260 static errcode_t test_close(io_channel channel) in test_close()
285 static errcode_t test_set_blksize(io_channel channel, int blksize) in test_set_blksize()
309 static errcode_t test_read_blk(io_channel channel, unsigned long block, in test_read_blk()
336 static errcode_t test_write_blk(io_channel channel, unsigned long block, in test_write_blk()
[all …]
Dwindows_io.c141 static errcode_t windows_get_stats(io_channel channel, io_stats *stats) in windows_get_stats()
160 static errcode_t raw_read_blk(io_channel channel, in raw_read_blk()
240 static errcode_t raw_write_blk(io_channel channel, in raw_write_blk()
346 static errcode_t alloc_cache(io_channel channel, in alloc_cache()
428 static void reuse_cache(io_channel channel, struct windows_private_data *data, in reuse_cache()
443 static errcode_t flush_cached_blocks(io_channel channel, in flush_cached_blocks()
474 int flags, io_channel *channel, in windows_open_channel()
477 io_channel io = NULL; in windows_open_channel()
618 static errcode_t windows_open(const char *name, int flags, io_channel *channel) in windows_open()
646 static errcode_t windows_close(io_channel channel) in windows_close()
[all …]
Dundo_io.c130 io_channel undo_file;
139 io_channel real;
192 io_channel channel; in write_undo_indexes()
320 static errcode_t undo_write_tdb(io_channel channel, in undo_write_tdb()
480 static errcode_t undo_io_read_error(io_channel channel ATTR((unused)), in undo_io_read_error()
492 static void undo_err_handler_init(io_channel channel) in undo_err_handler_init()
497 static int check_filesystem(struct undo_header *hdr, io_channel undo_file, in check_filesystem()
499 io_channel channel) in check_filesystem()
694 static errcode_t undo_open(const char *name, int flags, io_channel *channel) in undo_open()
696 io_channel io = NULL; in undo_open()
[all …]
Dunix_io.c166 static errcode_t unix_get_stats(io_channel channel, io_stats *stats) in unix_get_stats()
211 static errcode_t raw_read_blk(io_channel channel, in raw_read_blk()
343 static errcode_t raw_write_blk(io_channel channel, in raw_write_blk()
501 static errcode_t alloc_cache(io_channel channel, in alloc_cache()
583 static errcode_t reuse_cache(io_channel channel, in reuse_cache()
612 static errcode_t flush_cached_blocks(io_channel channel, in flush_cached_blocks()
721 int flags, io_channel *channel, in unix_open_channel()
724 io_channel io = NULL; in unix_open_channel()
910 io_channel *channel) in unixfd_open()
936 io_channel *channel) in unix_open()
[all …]
Dnt_io.c223 static errcode_t nt_open(const char *name, int flags, io_channel *channel);
224 static errcode_t nt_close(io_channel channel);
225 static errcode_t nt_set_blksize(io_channel channel, int blksize);
226 static errcode_t nt_read_blk(io_channel channel, unsigned long block,
228 static errcode_t nt_write_blk(io_channel channel, unsigned long block,
230 static errcode_t nt_flush(io_channel channel);
1074 nt_open(const char *name, int flags, io_channel *channel) in nt_open()
1076 io_channel io = NULL; in nt_open()
1095 io = (io_channel) malloc(sizeof(struct struct_io_channel)); in nt_open()
1220 nt_close(io_channel channel) in nt_close()
[all …]
Dext2_err.et.in27 "Wrong magic number for io_channel structure"
30 "Wrong magic number for unix io_channel structure"
45 "Wrong magic number for test io_channel structure"
54 "Wrong magic number for Powerquest io_channel structure"
63 "Wrong magic number for inode io_channel structure"
Dopenfs.c551 errcode_t ext2fs_get_data_io(ext2_filsys fs, io_channel *old_io) in ext2fs_get_data_io()
561 errcode_t ext2fs_set_data_io(ext2_filsys fs, io_channel new_io) in ext2fs_set_data_io()
569 errcode_t ext2fs_rewrite_to_io(ext2_filsys fs, io_channel new_io) in ext2fs_rewrite_to_io()
Dext2fs.h248 io_channel io;
292 io_channel image_io;
321 io_channel journal_io;
1705 errcode_t ext2fs_get_data_io(ext2_filsys fs, io_channel *old_io);
1706 errcode_t ext2fs_set_data_io(ext2_filsys fs, io_channel new_io);
1707 errcode_t ext2fs_rewrite_to_io(ext2_filsys fs, io_channel new_io);
/external/e2fsprogs/e2fsck/
Dehandler.c23 static errcode_t e2fsck_handle_read_error(io_channel channel, in e2fsck_handle_read_error()
75 static errcode_t e2fsck_handle_write_error(io_channel channel, in e2fsck_handle_write_error()
129 void ehandler_init(io_channel channel) in ehandler_init()
Discan.c61 void init_resource_track(struct resource_track *track, io_channel channel) in init_resource_track()
99 struct resource_track *track, io_channel channel) in print_resource_track()
De2fsck.h383 io_channel journal_io;
553 extern void ehandler_init(io_channel channel);
680 io_channel channel);
682 io_channel channel);
Dutil.c371 void init_resource_track(struct resource_track *track, io_channel channel) in init_resource_track()
415 struct resource_track *track, io_channel channel) in print_resource_track()
560 io_channel io = NULL; in get_backup_sb()
Djfs_user.h49 io_channel b_io;
/external/e2fsprogs/resize/
Dresize2fs.h176 io_channel channel);
179 io_channel channel);
Dresource_track.c22 io_channel channel) in init_resource_track()
61 io_channel channel) in print_resource_track()
/external/e2fsprogs/misc/
De2undo.c103 io_channel undo_file;
165 static int check_filesystem(struct undo_context *ctx, io_channel channel) in check_filesystem()
302 io_channel channel; in main()
/external/e2fsprogs/doc/RelNotes/
Dv1.10.txt52 Other structures, such as the io_channel and the inode_cache, now have
Dv1.12.txt146 The io_channel structure has a new element, app_data, which is
Dv1.20.txt191 The io_channel abstraction now has an optional interface,
/external/e2fsprogs/debugfs/
Djournal.c154 io_channel io; in sync_blockdev()

123