Lines Matching refs:ofio2
212 struct ofiocdesc ofio1, ofio2; in of_dump() local
229 ofio1.of_nodeid = ofio2.of_nodeid = optnode; in of_dump()
234 ofio2.of_name = buf3; in of_dump()
235 ofio2.of_buf = buf4; in of_dump()
264 strcpy(ofio2.of_name, ofio1.of_buf); /* XXX strcpy is safe */ in of_dump()
265 ofio2.of_namelen = strlen(ofio2.of_name); in of_dump()
267 if (ofio2.of_namelen == 0) { in of_dump()
272 memset(ofio2.of_buf, 0, sizeof(buf4)); in of_dump()
273 ofio2.of_buflen = sizeof(buf4); in of_dump()
275 if (ioctl(fd, OFIOCGET, (char *)&ofio2) < 0) in of_dump()
279 if (strcmp(ex->ex_keyword, ofio2.of_name) == 0) in of_dump()
283 (*ex->ex_handler)(ex, &ofio2, NULL); in of_dump()
285 printf("%s=%s\n", ofio2.of_name, ofio2.of_buf); in of_dump()
293 strcpy(ofio1.of_name, ofio2.of_name); /* XXX strcpy is safe */ in of_dump()