Lines Matching defs:opio1
204 struct opiocdesc opio1, opio2;
215 memset(&opio1, 0, sizeof(opio1));
221 opio1.op_nodeid = opio2.op_nodeid = optnode;
223 opio1.op_name = buf1;
224 opio1.op_buf = buf2;
230 * For reference: opio1 is for obtaining the name. Pass the
241 opio1.op_namelen = strlen(opio1.op_name);
242 opio1.op_buflen = sizeof(buf2);
244 if (ioctl(fd, OPIOCNEXTPROP, (char *)&opio1) < 0)
250 * of opio1. If the length of the name is 0, there
253 strcpy(opio2.op_name, opio1.op_buf); /* XXX strcpy is safe */
278 * opio1 so that we may obtain the next name.
280 memset(opio1.op_name, 0, sizeof(buf1));
281 memset(opio1.op_buf, 0, sizeof(buf2));
282 strcpy(opio1.op_name, opio2.op_name); /* XXX strcpy is safe */