Home
last modified time | relevance | path

Searched refs:ioch (Results 1 – 1 of 1) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Ddosio.c152 io_channel ioch; in alloc_io_channel() local
154 ioch = (io_channel)malloc(sizeof(struct struct_io_channel)); in alloc_io_channel()
155 if (!ioch) in alloc_io_channel()
157 memset(ioch, 0, sizeof(struct struct_io_channel)); in alloc_io_channel()
158 ioch->magic = EXT2_ET_MAGIC_IO_CHANNEL; in alloc_io_channel()
159 ioch->manager = dos_io_manager; in alloc_io_channel()
160 ioch->name = (char *)malloc(strlen(part->dev)+1); in alloc_io_channel()
161 if (!ioch->name) { in alloc_io_channel()
162 free(ioch); in alloc_io_channel()
165 strcpy(ioch->name, part->dev); in alloc_io_channel()
[all …]