Home
last modified time | relevance | path

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

12

/external/e2fsprogs/lib/ext2fs/
Dext2_io.h30 typedef struct struct_io_channel *io_channel; typedef
44 errcode_t (*read_error)(io_channel channel,
51 errcode_t (*write_error)(io_channel channel,
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,
81 errcode_t (*write_blk)(io_channel channel, unsigned long block,
83 errcode_t (*flush)(io_channel channel);
84 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()
143 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()
254 static errcode_t test_close(io_channel channel) in test_close()
279 static errcode_t test_set_blksize(io_channel channel, int blksize) in test_set_blksize()
303 static errcode_t test_read_blk(io_channel channel, unsigned long block, in test_read_blk()
330 static errcode_t test_write_blk(io_channel channel, unsigned long block, in test_write_blk()
[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.c115 static errcode_t unix_get_stats(io_channel channel, io_stats *stats) in unix_get_stats()
157 static errcode_t raw_read_blk(io_channel channel, in raw_read_blk()
261 static errcode_t raw_write_blk(io_channel channel, in raw_write_blk()
390 static errcode_t alloc_cache(io_channel channel, in alloc_cache()
472 static void reuse_cache(io_channel channel, struct unix_private_data *data, in reuse_cache()
487 static errcode_t flush_cached_blocks(io_channel channel, in flush_cached_blocks()
558 int flags, io_channel *channel, in unix_open_channel()
561 io_channel io = NULL; in unix_open_channel()
727 io_channel *channel) in unixfd_open()
753 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.c523 errcode_t ext2fs_get_data_io(ext2_filsys fs, io_channel *old_io) in ext2fs_get_data_io()
533 errcode_t ext2fs_set_data_io(ext2_filsys fs, io_channel new_io) in ext2fs_set_data_io()
541 errcode_t ext2fs_rewrite_to_io(ext2_filsys fs, io_channel new_io) in ext2fs_rewrite_to_io()
Dext2fs.h226 io_channel io;
270 io_channel image_io;
299 io_channel journal_io;
1614 errcode_t ext2fs_get_data_io(ext2_filsys fs, io_channel *old_io);
1615 errcode_t ext2fs_set_data_io(ext2_filsys fs, io_channel new_io);
1616 errcode_t ext2fs_rewrite_to_io(ext2_filsys fs, io_channel new_io);
Dinode.c740 io_channel io; in ext2fs_read_inode_full()
/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()
De2fsck.h337 io_channel journal_io;
501 extern void ehandler_init(io_channel channel);
613 io_channel channel);
615 io_channel channel);
Dutil.c376 void init_resource_track(struct resource_track *track, io_channel channel) in init_resource_track()
420 struct resource_track *track, io_channel channel) in print_resource_track()
556 io_channel io = NULL; in get_backup_sb()
Djfs_user.h48 io_channel b_io;
Djournal.c149 io_channel io; in sync_blockdev()
/external/e2fsprogs/resize/
Dresize2fs.h175 io_channel channel);
178 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;
161 static int check_filesystem(struct undo_context *ctx, io_channel channel) in check_filesystem()
298 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.c155 io_channel io; in sync_blockdev()

12