Searched refs:ofio (Results 1 - 2 of 2) sorted by relevance

/netbsd-6-1-5-RELEASE/usr.sbin/eeprom/
H A Dofhandlers.c96 struct ofiocdesc ofio; local
115 memset(&ofio, 0, sizeof(ofio));
116 ofio.of_nodeid = optnode;
117 ofio.of_name = keyword;
118 ofio.of_namelen = strlen(ofio.of_name);
124 ofio.of_buf = &ofio_buf[0];
125 ofio.of_buflen = sizeof(ofio_buf);
126 if (ioctl(fd, OFIOCGET, (char *)&ofio) <
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/ofctl/
H A Dofctl.c200 struct ofiocdesc ofio; local
203 ofio.of_nodeid = nodeid;
204 ofio.of_name = name;
205 ofio.of_namelen = strlen(name);
206 ofio.of_buf = NULL;
207 ofio.of_buflen = 32;
210 if (ofio.of_buf != NULL)
211 free(ofio.of_buf);
212 ofio.of_buf = malloc(ofio
233 struct ofiocdesc ofio; local
[all...]

Completed in 99 milliseconds