Lines Matching refs:len
219 int offset, len;
225 len = -1;
226 prop = fdt_get_property(fdtp, offset, propname, &len);
230 fdt_get_name(fdtp, offset, &len);
231 return (len + 1);
244 return (len);
254 int len, offset;
261 prop = fdt_getprop(fdtp, offset, propname, &len);
265 name = fdt_get_name(fdtp, offset, &len);
267 if (len + 1 > buflen)
268 len = buflen;
269 return (len + 1);
275 len = sizeof(cpuid);
280 len = sizeof(uint64_t)*2*fdt_num_mem_rsv(fdtp);
287 if (len > buflen)
288 len = buflen;
289 bcopy(prop, buf, len);
290 return (len);
345 const void *buf, size_t len)
353 return (fdt_setprop_inplace(fdtp, offset, propname, buf, len));
358 ofw_fdt_canon(ofw_t ofw, const char *device, char *buf, size_t len)
378 ofw_fdt_instance_to_path(ofw_t ofw, ihandle_t instance, char *buf, size_t len)
386 return (OF_package_to_path(phandle, buf, len));
391 ofw_fdt_package_to_path(ofw_t ofw, phandle_t package, char *buf, size_t len)
404 ssize_t len;
410 if ((len = ofw_fdt_getproplen(ofw, root, "model")) <= 0)