Lines Matching defs:buf
41 static void *buf; /* = NULL */
51 buf = platform_ops.realloc(buf, size);
52 if (!buf)
54 rc = fdt_open_into(fdt, buf, size);
59 fdt = buf;
68 void *buf, const int buflen)
76 memcpy(buf, p, min(len, buflen));
81 const void *buf, const int len)
85 rc = fdt_setprop(fdt, devp_offset(devp), name, buf, len);
88 rc = fdt_setprop(fdt, devp_offset(devp), name, buf, len);
135 static char *fdt_wrapper_get_path(const void *devp, char *buf, int len)
139 rc = fdt_get_path(fdt, devp_offset(devp), buf, len);
142 return buf;
175 buf = malloc(bufsize);
176 if(!buf)
179 err = fdt_open_into(fdt, buf, bufsize);
184 fdt = buf;