| /openbsd-src/sys/arch/powerpc64/powerpc64/ |
| H A D | openprom.c | 117 char *name, *value, *nextprop; in openpromioctl() local 177 value = nextprop = malloc(OFMAXPARAM, M_TEMP, in openpromioctl() 179 if (nextprop == NULL) { in openpromioctl() 183 error = OF_nextprop(node, name, nextprop); in openpromioctl() 195 len = strlen(nextprop); in openpromioctl() 200 error = copyout(nextprop, op->op_buf, len); in openpromioctl()
|
| /openbsd-src/sys/arch/octeon/octeon/ |
| H A D | openprom.c | 117 char *name, *value, *nextprop; in openpromioctl() local 177 value = nextprop = malloc(OFMAXPARAM, M_TEMP, in openpromioctl() 179 if (nextprop == NULL) { in openpromioctl() 183 error = OF_nextprop(node, name, nextprop); in openpromioctl() 195 len = strlen(nextprop); in openpromioctl() 200 error = copyout(nextprop, op->op_buf, len); in openpromioctl()
|
| /openbsd-src/sys/arch/arm/arm/ |
| H A D | openprom.c | 115 char *name, *value, *nextprop; in openpromioctl() local 175 value = nextprop = malloc(OFMAXPARAM, M_TEMP, in openpromioctl() 177 if (nextprop == NULL) { in openpromioctl() 181 error = OF_nextprop(node, name, nextprop); in openpromioctl() 193 len = strlen(nextprop); in openpromioctl() 198 error = copyout(nextprop, op->op_buf, len); in openpromioctl()
|
| /openbsd-src/sys/arch/arm64/arm64/ |
| H A D | openprom.c | 117 char *name, *value, *nextprop; in openpromioctl() local 177 value = nextprop = malloc(OFMAXPARAM, M_TEMP, in openpromioctl() 179 if (nextprop == NULL) { in openpromioctl() 183 error = OF_nextprop(node, name, nextprop); in openpromioctl() 195 len = strlen(nextprop); in openpromioctl() 200 error = copyout(nextprop, op->op_buf, len); in openpromioctl()
|
| /openbsd-src/sys/arch/riscv64/riscv64/ |
| H A D | openprom.c | 117 char *name, *value, *nextprop; in openpromioctl() local 177 value = nextprop = malloc(OFMAXPARAM, M_TEMP, in openpromioctl() 179 if (nextprop == NULL) { in openpromioctl() 183 error = OF_nextprop(node, name, nextprop); in openpromioctl() 195 len = strlen(nextprop); in openpromioctl() 200 error = copyout(nextprop, op->op_buf, len); in openpromioctl()
|
| /openbsd-src/sys/arch/macppc/macppc/ |
| H A D | openprom.c | 114 char *name, *value, *nextprop; in openpromioctl() local 209 value = nextprop = malloc(OPROMMAXPARAM, M_TEMP, in openpromioctl() 211 if (nextprop == NULL) { in openpromioctl() 217 error = OF_nextprop(node, buf, nextprop); in openpromioctl() 230 len = strlen(nextprop); in openpromioctl() 235 error = copyout(nextprop, op->op_buf, len); in openpromioctl()
|
| H A D | openfirm.c | 230 OF_nextprop(int handle, char *prop, void *nextprop) in OF_nextprop() argument 255 strlcpy(nextprop, OF_buf, 32); in OF_nextprop()
|
| /openbsd-src/sys/arch/sparc64/sparc64/ |
| H A D | openprom.c | 169 char *name, *value, *nextprop; in openpromioctl() local 261 value = nextprop = malloc(OPROMMAXPARAM, M_TEMP, in openpromioctl() 263 if (nextprop == NULL) { in openpromioctl() 268 error = OF_nextprop(node, name, nextprop); in openpromioctl() 281 len = strlen(nextprop); in openpromioctl() 286 error = copyout(nextprop, op->op_buf, len); in openpromioctl()
|
| /openbsd-src/sys/dev/ofw/ |
| H A D | fdt.c | 1066 OF_nextprop(int handle, char *prop, void *nextprop) in OF_nextprop() argument 1073 return strlcpy(nextprop, "name", OFMAXPARAM); in OF_nextprop() 1079 return strlcpy(nextprop, data, OFMAXPARAM); in OF_nextprop()
|