Lines Matching refs:err
366 int err = fdt_begin_node(fdtp, ufdt_node_name(node)); in _ufdt_output_node_to_fdt() local
367 if (err < 0) return -1; in _ufdt_output_node_to_fdt()
371 err = _ufdt_output_node_to_fdt(tree, fdtp, *it, dict); in _ufdt_output_node_to_fdt()
372 if (err < 0) return -1; in _ufdt_output_node_to_fdt()
376 err = _ufdt_output_node_to_fdt(tree, fdtp, *it, dict); in _ufdt_output_node_to_fdt()
377 if (err < 0) return -1; in _ufdt_output_node_to_fdt()
380 err = fdt_end_node(fdtp); in _ufdt_output_node_to_fdt()
381 if (err < 0) return -1; in _ufdt_output_node_to_fdt()
419 int err; in ufdt_to_fdt() local
420 err = fdt_create(buf, buf_size); in ufdt_to_fdt()
421 if (err < 0) return -1; in ufdt_to_fdt()
432 err = fdt_finish_reservemap(buf); in ufdt_to_fdt()
433 if (err < 0) return -1; in ufdt_to_fdt()
435 err = _ufdt_output_strtab_to_fdt(tree, buf); in ufdt_to_fdt()
436 if (err < 0) return -1; in ufdt_to_fdt()
439 err = ufdt_prop_dict_construct(&dict, buf); in ufdt_to_fdt()
440 if (err < 0) return -1; in ufdt_to_fdt()
442 err = _ufdt_output_node_to_fdt(tree, buf, tree->root, &dict); in ufdt_to_fdt()
443 if (err < 0) return -1; in ufdt_to_fdt()
447 err = fdt_finish(buf); in ufdt_to_fdt()
448 if (err < 0) return -1; in ufdt_to_fdt()