Searched refs:of_buflen (Results 1 – 3 of 3) sorted by relevance
164 of->of_buflen = len; in openfirm_ioctl()167 if (len > of->of_buflen) { in openfirm_ioctl()171 of->of_buflen = len; in openfirm_ioctl()192 if ((u_int)of->of_buflen > OFIOCMAXVALUE) in openfirm_ioctl()197 value = malloc(of->of_buflen, M_TEMP, M_WAITOK); in openfirm_ioctl()198 error = copyin(of->of_buf, value, of->of_buflen); in openfirm_ioctl()201 len = OF_setprop(node, name, value, of->of_buflen); in openfirm_ioctl()204 of->of_buflen = len; in openfirm_ioctl()208 if (node == 0 || of->of_buflen < 0) in openfirm_ioctl()226 if (len > of->of_buflen) { in openfirm_ioctl()[all …]
51 int of_buflen; /* length of of_buf (value-result) */ member
112 d.of_buflen = 0; in ofw_finddevice()139 d.of_buflen = buflen; in ofw_nextprop()147 return (d.of_buflen); in ofw_nextprop()168 d.of_buflen = buflen; in ofw_getprop()171 return (d.of_buflen); in ofw_getprop()183 d.of_buflen = buflen; in ofw_setprop()188 return (d.of_buflen); in ofw_setprop()200 return (d.of_buflen); in ofw_getproplen()223 d.of_buflen = *buflen - reserve; in ofw_getprop_alloc()229 return (d.of_buflen); in ofw_getprop_alloc()