Lines Matching refs:err
378 int err = ufdt_overlay_node(target_node, overlay_node, pool); in ufdt_apply_fragment() local
380 if (err < 0) { in ufdt_apply_fragment()
480 int err = ufdt_local_fixup_prop(sub_target_node, *it_local_fixups, in ufdt_local_fixup_node() local
482 if (err < 0) return -1; in ufdt_local_fixup_node()
492 int err = ufdt_local_fixup_node(sub_target_node, *it_local_fixups, in ufdt_local_fixup_node() local
494 if (err < 0) return -1; in ufdt_local_fixup_node()
527 int err = in ufdt_overlay_do_local_fixups() local
530 if (err < 0) return -1; in ufdt_overlay_do_local_fixups()
544 int err = ufdt_overlay_do_local_fixups(overlay_tree, phandle_offset); in ufdt_overlay_local_ref_update() local
545 if (err < 0) { in ufdt_overlay_local_ref_update()
598 int err; in ufdt_install_blob() local
609 err = fdt_check_header(pHeader); in ufdt_install_blob()
610 if (err < 0) { in ufdt_install_blob()
611 if (err == -FDT_ERR_BADVERSION) { in ufdt_install_blob()
616 dto_error("error validating blob: %s", fdt_strerror(err)); in ufdt_install_blob()
660 int err = ufdt_overlay_apply(main_tree, overlay_tree, overlay_size, &pool); in ufdt_apply_overlay() local
661 if (err < 0) { in ufdt_apply_overlay()
665 err = ufdt_to_fdt(main_tree, out_fdt_header, out_fdt_size); in ufdt_apply_overlay()
666 if (err < 0) { in ufdt_apply_overlay()