Lines Matching defs:oio
159 struct openpromio *oio;
164 oio = malloc(sizeof (struct openpromio) + sizeof (struct wankeyio));
165 if (oio == NULL) {
171 oio->oprom_size = sizeof (struct wankeyio);
172 bcopy(&wkio, oio->oprom_array, sizeof (struct wankeyio));
179 if (ioctl(fd, WANBOOT_SETKEY, oio) == -1) {
193 struct openpromio *oio;
214 oio = malloc(sizeof (struct openpromio) +
216 if (oio == NULL) {
222 oio->oprom_size = sizeof (struct wankeyio);
223 bcopy(&wkio, oio->oprom_array, sizeof (struct wankeyio));
230 if (ioctl(fd, WANBOOT_SETKEY, oio) == -1) {