/external/e2fsprogs/lib/ext2fs/ |
H A D | ext2_io.h | 30 typedef struct struct_io_channel *io_channel; typedef in typeref:struct:struct_io_channel 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 channe [all...] |
H A D | inode_io.c | 50 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 *channe [all...] |
H A D | io_manager.c | 23 errcode_t io_channel_set_options(io_channel channel, const char *opts) 60 errcode_t io_channel_write_byte(io_channel channel, unsigned long offset, 72 errcode_t io_channel_read_blk64(io_channel channel, unsigned long long block, 88 errcode_t io_channel_write_blk64(io_channel channel, unsigned long long block, 104 errcode_t io_channel_discard(io_channel channel, unsigned long long block, 115 errcode_t io_channel_zeroout(io_channel channel, unsigned long long block, 126 errcode_t io_channel_alloc_buf(io_channel io, int count, void *ptr) 143 errcode_t io_channel_cache_readahead(io_channel io, unsigned long long block,
|
H A D | dosio.c | 55 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) 152 io_channel ioch; 154 ioch = (io_channel)malloc(sizeof(struct struct_io_channel)); 181 static errcode_t dos_open(const char *dev, int flags, io_channel *channe [all...] |
H A D | sparse_io.c | 13 io_channel *channel EXT2FS_ATTR((unused))) 17 static errcode_t sparse_close(io_channel channel EXT2FS_ATTR((unused))) 43 io_channel channel; 53 static errcode_t sparse_write_blk(io_channel channel, unsigned long block, 79 struct sparse_map *sm, io_channel io) 123 int flags, io_channel io) 182 int flags, io_channel *channel) 184 io_channel io; 225 static errcode_t sparse_open(const char *name, int flags, io_channel *channel) 242 static errcode_t sparsefd_open(const char *name, int flags, io_channel *channe [all...] |
H A D | test_io.c | 47 io_channel real; 91 static void test_dump_block(io_channel channel, 114 static errcode_t test_flush(io_channel channel) 133 static void test_abort(io_channel channel, unsigned long block) 172 static errcode_t test_open(const char *name, int flags, io_channel *channel) 174 io_channel io = NULL; 254 static errcode_t test_close(io_channel channel) 279 static errcode_t test_set_blksize(io_channel channel, int blksize) 303 static errcode_t test_read_blk(io_channel channel, unsigned long block, 330 static errcode_t test_write_blk(io_channel channe [all...] |
H A D | undo_io.c | 130 io_channel undo_file; 139 io_channel real; 192 io_channel channel; 320 static errcode_t undo_write_tdb(io_channel channel, 480 static errcode_t undo_io_read_error(io_channel channel ATTR((unused)), 492 static void undo_err_handler_init(io_channel channel) 497 static int check_filesystem(struct undo_header *hdr, io_channel undo_file, 499 io_channel channel) 694 static errcode_t undo_open(const char *name, int flags, io_channel *channel) 696 io_channel i [all...] |
H A D | unix_io.c | 109 static errcode_t unix_get_stats(io_channel channel, io_stats *stats) 128 static errcode_t raw_read_blk(io_channel channel, 212 static errcode_t raw_write_blk(io_channel channel, 319 static errcode_t alloc_cache(io_channel channel, 401 static void reuse_cache(io_channel channel, struct unix_private_data *data, 416 static errcode_t flush_cached_blocks(io_channel channel, 487 int flags, io_channel *channel, 490 io_channel io = NULL; 637 io_channel *channel) 663 io_channel *channe [all...] |
H A D | nt_io.c | 223 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) 1076 io_channel io = NULL; 1095 io = (io_channel) malloc(sizeof(struct struct_io_channel)); 1220 nt_close(io_channel channe [all...] |
H A D | openfs.c | 489 errcode_t ext2fs_get_data_io(ext2_filsys fs, io_channel *old_io) 499 errcode_t ext2fs_set_data_io(ext2_filsys fs, io_channel new_io) 507 errcode_t ext2fs_rewrite_to_io(ext2_filsys fs, io_channel new_io)
|
H A D | ext2fs.h | 217 io_channel io; 261 io_channel image_io; 290 io_channel journal_io; 1585 errcode_t ext2fs_get_data_io(ext2_filsys fs, io_channel *old_io); 1586 errcode_t ext2fs_set_data_io(ext2_filsys fs, io_channel new_io); 1587 errcode_t ext2fs_rewrite_to_io(ext2_filsys fs, io_channel new_io);
|
H A D | inode.c | 739 io_channel io;
|
/external/libbrillo/brillo/message_loops/ |
H A D | glib_message_loop.cc | 78 GIOChannel* io_channel = g_io_channel_unix_new(fd); local 79 if (!io_channel) 82 GIOStatus status = g_io_channel_set_encoding(io_channel, nullptr, &error); 88 // valid in this context (a new io_channel), but enforce the check in 98 io_channel, 105 // io_channel, so we can dereference it now and it will be free'd once the 107 g_io_channel_unref(io_channel);
|
/external/e2fsprogs/e2fsck/ |
H A D | ehandler.c | 23 static errcode_t e2fsck_handle_read_error(io_channel channel, 75 static errcode_t e2fsck_handle_write_error(io_channel channel, 129 void ehandler_init(io_channel channel)
|
H A D | e2fsck.h | 322 io_channel journal_io; 481 extern void ehandler_init(io_channel channel); 596 io_channel channel); 598 io_channel channel);
|
H A D | jfs_user.h | 39 io_channel b_io;
|
H A D | util.c | 361 void init_resource_track(struct resource_track *track, io_channel channel) 405 struct resource_track *track, io_channel channel) 541 io_channel io = NULL;
|
H A D | journal.c | 149 io_channel io;
|
/external/e2fsprogs/resize/ |
H A D | resize2fs.h | 175 io_channel channel); 178 io_channel channel);
|
H A D | resource_track.c | 22 io_channel channel) 61 io_channel channel)
|
/external/e2fsprogs/misc/ |
H A D | e2undo.c | 97 io_channel undo_file; 155 static int check_filesystem(struct undo_context *ctx, io_channel channel) 292 io_channel channel;
|
H A D | e2image.c | 1381 io_channel io;
|
H A D | mke2fs.c | 2482 io_channel channel;
|
/external/e2fsprogs/debugfs/ |
H A D | journal.c | 155 io_channel io;
|
H A D | debugfs.c | 135 io_channel data_io = 0;
|