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