Lines Matching defs:of_buf
211 ofio.of_buf = NULL;
215 if (ofio.of_buf != NULL)
216 free(ofio.of_buf);
217 ofio.of_buf = malloc(ofio.of_buflen);
218 if (ofio.of_buf == NULL)
226 free(ofio.of_buf);
229 obj = prop_data_create_copy(ofio.of_buf, ofio.of_buflen);
230 free(ofio.of_buf);
248 ofio.of_buf = newnamebuf;
402 ofio.of_buf = NULL;
492 u_long of_buf[256];
543 oflist(phandle, device_type, 0, of_buf, sizeof(of_buf));
557 oflist(phandle, device_type, 0, of_buf, sizeof(of_buf));
696 void *of_buf, size_t of_buflen)
702 len = ofname(node, of_buf, of_buflen-1);
704 (char *) of_buf);
706 len = offullname(node, of_buf, of_buflen-1);
707 printf("%08x: %s", node, (char *) of_buf);
727 oflist(child, device_type, depth, of_buf, of_buflen);
920 u_int8_t of_buf[4097];
924 len = OF_getprop(node, name, of_buf, sizeof(of_buf) - 1);
927 of_buf[len] = '\0';
939 (*formatters[i].prop_format)(node, of_buf, len);
945 (*formatters[i].prop_format)(node, of_buf, len);
949 (*formatters[i].prop_format)(node, of_buf, len);