Home
last modified time | relevance | path

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

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