Home
last modified time | relevance | path

Searched refs:err (Results 1 – 8 of 8) sorted by relevance

/DragonStub/apps/lib/libfdt/
H A Dfdt_empty_tree.c15 int err; in fdt_create_empty_tree() local
17 err = fdt_create(buf, bufsize); in fdt_create_empty_tree()
18 if (err) in fdt_create_empty_tree()
19 return err; in fdt_create_empty_tree()
21 err = fdt_finish_reservemap(buf); in fdt_create_empty_tree()
22 if (err) in fdt_create_empty_tree()
23 return err; in fdt_create_empty_tree()
25 err = fdt_begin_node(buf, ""); in fdt_create_empty_tree()
26 if (err) in fdt_create_empty_tree()
27 return err; in fdt_create_empty_tree()
[all …]
H A Dfdt_rw.c74 int err; in fdt_splice_mem_rsv_() local
75 err = fdt_splice_(fdt, p, oldn * sizeof(*p), newn * sizeof(*p)); in fdt_splice_mem_rsv_()
76 if (err) in fdt_splice_mem_rsv_()
77 return err; in fdt_splice_mem_rsv_()
87 int err; in fdt_splice_struct_() local
89 if ((err = fdt_splice_(fdt, p, oldlen, newlen))) in fdt_splice_struct_()
90 return err; in fdt_splice_struct_()
109 int err; in fdt_splice_string_() local
111 if ((err = fdt_splice_(fdt, p, 0, newlen))) in fdt_splice_string_()
112 return err; in fdt_splice_string_()
[all …]
H A Dfdt_sw.c27 int err; \
28 if ((err = fdt_sw_probe_(fdt)) != 0) \
29 return err; \
40 int err = fdt_sw_probe_(fdt); in fdt_sw_probe_memrsv_() local
41 if (err) in fdt_sw_probe_memrsv_()
42 return err; in fdt_sw_probe_memrsv_()
51 int err; \
52 if ((err = fdt_sw_probe_memrsv_(fdt)) != 0) \
53 return err; \
66 int err = fdt_sw_probe_(fdt); in fdt_sw_probe_struct_() local
[all …]
H A Dfdt_ro.c39 int err; in fdt_get_string() local
50 err = totalsize; in fdt_get_string()
54 err = -FDT_ERR_BADOFFSET; in fdt_get_string()
78 err = -FDT_ERR_INTERNAL; in fdt_get_string()
86 err = -FDT_ERR_TRUNCATED; in fdt_get_string()
96 *lenp = err; in fdt_get_string()
145 int err; in fdt_generate_phandle() local
147 err = fdt_find_max_phandle(fdt, &max); in fdt_generate_phandle()
148 if (err < 0) in fdt_generate_phandle()
149 return err; in fdt_generate_phandle()
[all …]
H A Dfdt_overlay.c825 goto err; in fdt_overlay_apply()
829 goto err; in fdt_overlay_apply()
833 goto err; in fdt_overlay_apply()
837 goto err; in fdt_overlay_apply()
841 goto err; in fdt_overlay_apply()
845 goto err; in fdt_overlay_apply()
854 err: in fdt_overlay_apply()
H A Dlibfdt.h401 int err; in fdt_get_max_phandle() local
403 err = fdt_find_max_phandle(fdt, &phandle); in fdt_get_max_phandle()
404 if (err < 0) in fdt_get_max_phandle()
/DragonStub/apps/
H A Dfdt.c35 int err; in update_fdt_memmap() local
42 err = fdt_setprop_inplace_var(fdt, node, "linux,uefi-mmap-start", in update_fdt_memmap()
44 if (err) in update_fdt_memmap()
49 err = fdt_setprop_inplace_var(fdt, node, "linux,uefi-mmap-size", in update_fdt_memmap()
51 if (err) in update_fdt_memmap()
56 err = fdt_setprop_inplace_var(fdt, node, "linux,uefi-mmap-desc-size", in update_fdt_memmap()
58 if (err) in update_fdt_memmap()
63 err = fdt_setprop_inplace_var(fdt, node, "linux,uefi-mmap-desc-ver", in update_fdt_memmap()
65 if (err) in update_fdt_memmap()
/DragonStub/apps/lib/
H A Dvsprintf.c649 int err = PTR_ERR(ptr); in err_ptr() local
662 return number(buf, end, err, spec); in err_ptr()