Home
last modified time | relevance | path

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

/scripts/dtc/libfdt/
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 …]
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 …]
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 …]
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 …]
Dfdt_overlay.c840 goto err; in fdt_overlay_apply()
844 goto err; in fdt_overlay_apply()
848 goto err; in fdt_overlay_apply()
852 goto err; in fdt_overlay_apply()
856 goto err; in fdt_overlay_apply()
860 goto err; in fdt_overlay_apply()
869 err: in fdt_overlay_apply()
Dlibfdt.h388 int err; in fdt_get_max_phandle() local
390 err = fdt_find_max_phandle(fdt, &phandle); in fdt_get_max_phandle()
391 if (err < 0) in fdt_get_max_phandle()
/scripts/coccinelle/locks/
Dmini_lock.cocci62 @err exists@
83 lock << err.lock;
84 unlock << err.unlock;
85 p2 << err.r;
93 lock << err.lock;
94 unlock << err.unlock;
95 p2 << err.r;
/scripts/dtc/
Dfdtget.c37 static void report_error(const char *where, int err) in report_error() argument
39 fprintf(stderr, "Error at '%s': %s\n", where, fdt_strerror(err)); in report_error()
196 int len, err = 0; in show_data_for_item() local
200 err = list_properties(blob, node); in show_data_for_item()
204 err = list_subnodes(blob, node); in show_data_for_item()
212 err = -1; in show_data_for_item()
219 err = -1; in show_data_for_item()
224 return err; in show_data_for_item()
Dfdtput.c39 static void report_error(const char *name, int namelen, int err) in report_error() argument
44 fdt_strerror(err)); in report_error()
124 int err; in store_key_value() local
132 err = fdt_setprop(blob, node, property, buf, len); in store_key_value()
133 if (err) { in store_key_value()
134 report_error(property, -1, err); in store_key_value()
/scripts/
Dinsert-sys-cert.c35 #define err(format, args...) fprintf(stderr, "ERROR: " format, ## args) macro
109 err("Missing line ending.\n"); in get_symbol_from_map()
117 err("Unable to find symbol: %s\n", name); in get_symbol_from_map()
153 err("Unable to find symbol: %s\n", name); in find_elf_symbol()
319 err("Invalid ELF file.\n"); in main()
327 err("Invalid ELF magic.\n"); in main()
332 err("ELF class mismatch.\n"); in main()
337 err("ELF endian mismatch.\n"); in main()
342 err("Could not find section header.\n"); in main()
350 err("Please provide a System.map file.\n"); in main()
[all …]
Dcleanpatch138 $err = 0;
184 $err = 1;
190 $err = 1;
243 $err = 1;
246 if (!$err) {
Dextract-cert.c76 err(1, fmt, ## __VA_ARGS__); \
161 unsigned long err = ERR_peek_last_error(); in main() local
162 if (ERR_GET_LIB(err) == ERR_LIB_PEM && in main()
163 ERR_GET_REASON(err) == PEM_R_NO_START_LINE) { in main()
Dsphinx-pre-install185 my $err = system("perl -M$prog -e 1 2>/dev/null /dev/null");
186 return if ($err == 0);
198 my $err = system("$python_cmd -c 'import $prog' 2>/dev/null /dev/null");
199 return if ($err == 0);
210 my $err = system("rpm -q '$prog' 2>/dev/null >/dev/null");
211 add_package($prog, $is_optional) if ($err);
221 my $err = system("pacman -Q '$prog' 2>/dev/null >/dev/null");
222 add_package($prog, $is_optional) if ($err);
Dcoccicheck142 err=$?
143 if [[ $err -ne 0 ]]; then
145 exit $err
Dkernel-doc1663 my $err;
1668 $err = 1;
1683 $err = 0;
1687 if ($err) {
Dsign-file.c117 err(1, fmt, ## __VA_ARGS__); \
Dunifdef.c321 err(2, "can't open %s", filename); in main()
351 err(2, "can't create temporary file"); in main()
356 err(2, "can't open %s", ofilename); in main()
Dcheckpatch.pl4288 my $err = '';
4296 $err .= "$sep$ctx\n";
4302 if ($err ne '') {
4304 "switch and case should be at the same indent\n$hereline$err");
/scripts/kconfig/
Dparser.y23 static void yyerror(const char *err);
24 static void zconfprint(const char *err, ...);
25 static void zconf_error(const char *err, ...);
544 static void zconfprint(const char *err, ...) in zconfprint() argument
549 va_start(ap, err); in zconfprint()
550 vfprintf(stderr, err, ap); in zconfprint()
555 static void zconf_error(const char *err, ...) in zconf_error() argument
561 va_start(ap, err); in zconf_error()
562 vfprintf(stderr, err, ap); in zconf_error()
567 static void yyerror(const char *err) in yyerror() argument
[all …]
/scripts/clang-tools/
Dgen_compile_commands.py228 except ValueError as err:
230 cmdfile, err)