/src/usr.sbin/eeprom/ |
ofhandlers.c | 94 struct ofiocdesc ofio; local in function:of_handler 113 memset(&ofio, 0, sizeof(ofio)); 114 ofio.of_nodeid = optnode; 115 ofio.of_name = keyword; 116 ofio.of_namelen = strlen(ofio.of_name); 122 ofio.of_buf = &ofio_buf[0]; 123 ofio.of_buflen = sizeof(ofio_buf); 124 if (ioctl(fd, OFIOCGET, (char *)&ofio) < 0) [all...] |
ofhandlers.c | 94 struct ofiocdesc ofio; local in function:of_handler 113 memset(&ofio, 0, sizeof(ofio)); 114 ofio.of_nodeid = optnode; 115 ofio.of_name = keyword; 116 ofio.of_namelen = strlen(ofio.of_name); 122 ofio.of_buf = &ofio_buf[0]; 123 ofio.of_buflen = sizeof(ofio_buf); 124 if (ioctl(fd, OFIOCGET, (char *)&ofio) < 0) [all...] |
/src/usr.sbin/ofctl/ |
ofctl.c | 205 struct ofiocdesc ofio; local in function:of_proplib_mkprop 208 ofio.of_nodeid = nodeid; 209 ofio.of_name = name; 210 ofio.of_namelen = strlen(name); 211 ofio.of_buf = NULL; 212 ofio.of_buflen = 32; 215 if (ofio.of_buf != NULL) 216 free(ofio.of_buf); 217 ofio.of_buf = malloc(ofio.of_buflen) 238 struct ofiocdesc ofio; local in function:of_proplib_tree_fill 397 struct ofiocdesc ofio; local in function:OF_finddevice [all...] |
ofctl.c | 205 struct ofiocdesc ofio; local in function:of_proplib_mkprop 208 ofio.of_nodeid = nodeid; 209 ofio.of_name = name; 210 ofio.of_namelen = strlen(name); 211 ofio.of_buf = NULL; 212 ofio.of_buflen = 32; 215 if (ofio.of_buf != NULL) 216 free(ofio.of_buf); 217 ofio.of_buf = malloc(ofio.of_buflen) 238 struct ofiocdesc ofio; local in function:of_proplib_tree_fill 397 struct ofiocdesc ofio; local in function:OF_finddevice [all...] |
/src/usr.sbin/installboot/ |
evboards.c | 978 struct ofiocdesc ofio = { local in function:OF_finddevice 987 if (ioctl(fd, OFIOCFINDDEVICE, &ofio) < 0) { 990 ofio.of_nodeid = -1; 994 return ofio.of_nodeid; 1000 struct ofiocdesc ofio = { local in function:OF_getprop 1014 if (ioctl(fd, OFIOCGET, &ofio) < 0) { 1020 ofio.of_buflen = -1; 1025 return ofio.of_buflen;
|
evboards.c | 978 struct ofiocdesc ofio = { local in function:OF_finddevice 987 if (ioctl(fd, OFIOCFINDDEVICE, &ofio) < 0) { 990 ofio.of_nodeid = -1; 994 return ofio.of_nodeid; 1000 struct ofiocdesc ofio = { local in function:OF_getprop 1014 if (ioctl(fd, OFIOCGET, &ofio) < 0) { 1020 ofio.of_buflen = -1; 1025 return ofio.of_buflen;
|