/scripts/dtc/libfdt/ |
D | fdt_empty_tree.c | 15 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 …]
|
D | fdt_rw.c | 71 int err; in fdt_splice_mem_rsv_() local 72 err = fdt_splice_(fdt, p, oldn * sizeof(*p), newn * sizeof(*p)); in fdt_splice_mem_rsv_() 73 if (err) in fdt_splice_mem_rsv_() 74 return err; in fdt_splice_mem_rsv_() 84 int err; in fdt_splice_struct_() local 86 if ((err = fdt_splice_(fdt, p, oldlen, newlen))) in fdt_splice_struct_() 87 return err; in fdt_splice_struct_() 106 int err; in fdt_splice_string_() local 108 if ((err = fdt_splice_(fdt, p, 0, newlen))) in fdt_splice_string_() 109 return err; in fdt_splice_string_() [all …]
|
D | fdt_ro.c | 38 int err; in fdt_get_string() local 41 err = fdt_ro_probe_(fdt); in fdt_get_string() 42 if (err != 0) in fdt_get_string() 45 err = -FDT_ERR_BADOFFSET; in fdt_get_string() 66 err = -FDT_ERR_INTERNAL; in fdt_get_string() 74 err = -FDT_ERR_TRUNCATED; in fdt_get_string() 84 *lenp = err; in fdt_get_string() 133 int err; in fdt_generate_phandle() local 135 err = fdt_find_max_phandle(fdt, &max); in fdt_generate_phandle() 136 if (err < 0) in fdt_generate_phandle() [all …]
|
D | fdt_sw.c | 24 int err; \ 25 if ((err = fdt_sw_probe_(fdt)) != 0) \ 26 return err; \ 37 int err = fdt_sw_probe_(fdt); in fdt_sw_probe_memrsv_() local 38 if (err) in fdt_sw_probe_memrsv_() 39 return err; in fdt_sw_probe_memrsv_() 48 int err; \ 49 if ((err = fdt_sw_probe_memrsv_(fdt)) != 0) \ 50 return err; \ 63 int err = fdt_sw_probe_(fdt); in fdt_sw_probe_struct_() local [all …]
|
D | fdt_overlay.c | 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() 849 goto err; in fdt_overlay_apply() 858 err: in fdt_overlay_apply()
|
D | libfdt.h | 383 int err; in fdt_get_max_phandle() local 385 err = fdt_find_max_phandle(fdt, &phandle); in fdt_get_max_phandle() 386 if (err < 0) in fdt_get_max_phandle()
|
/scripts/coccinelle/locks/ |
D | mini_lock.cocci | 62 @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/ |
D | sphinx-pre-install | 158 my $err = system("perl -M$prog -e 1 2>/dev/null /dev/null"); 159 return if ($err == 0); 169 my $err = system("python3 -c 'import $prog' 2>/dev/null /dev/null"); 170 return if ($err == 0); 171 my $err = system("python -c 'import $prog' 2>/dev/null /dev/null"); 172 return if ($err == 0); 183 my $err = system("rpm -q '$prog' 2>/dev/null >/dev/null"); 184 add_package($prog, $is_optional) if ($err); 194 my $err = system("pacman -Q '$prog' 2>/dev/null >/dev/null"); 195 add_package($prog, $is_optional) if ($err);
|
D | insert-sys-cert.c | 35 #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 …]
|
D | extract-cert.c | 67 err(1, fmt, ## __VA_ARGS__); \ 147 unsigned long err = ERR_peek_last_error(); in main() local 148 if (ERR_GET_LIB(err) == ERR_LIB_PEM && in main() 149 ERR_GET_REASON(err) == PEM_R_NO_START_LINE) { in main()
|
D | cleanpatch | 138 $err = 0; 184 $err = 1; 190 $err = 1; 243 $err = 1; 246 if (!$err) {
|
D | coccicheck | 131 err=$? 132 if [[ $err -ne 0 ]]; then 134 exit $err
|
D | gen_compile_commands.py | 137 except ValueError as err: 139 filepath, err)
|
D | kernel-doc | 1502 my $err; 1507 $err = 1; 1522 $err = 0; 1526 if ($err) {
|
D | sign-file.c | 110 err(1, fmt, ## __VA_ARGS__); \
|
D | unifdef.c | 321 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()
|
D | checkpatch.pl | 3566 my $err = ''; 3574 $err .= "$sep$ctx\n"; 3580 if ($err ne '') { 3582 "switch and case should be at the same indent\n$hereline$err");
|
/scripts/dtc/ |
D | fdtget.c | 37 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()
|
D | fdtput.c | 39 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/kconfig/ |
D | parser.y | 23 static void yyerror(const char *err); 24 static void zconfprint(const char *err, ...); 25 static void zconf_error(const char *err, ...); 547 static void zconfprint(const char *err, ...) in zconfprint() argument 552 va_start(ap, err); in zconfprint() 553 vfprintf(stderr, err, ap); in zconfprint() 558 static void zconf_error(const char *err, ...) in zconf_error() argument 564 va_start(ap, err); in zconf_error() 565 vfprintf(stderr, err, ap); in zconf_error() 570 static void yyerror(const char *err) in yyerror() argument [all …]
|
/scripts/mod/ |
D | modpost.c | 2203 int err = 0; in check_exports() local 2216 err = 1; in check_exports() 2243 return err; in check_exports() 2317 int err = 0; in add_versions() local 2329 return err; in add_versions() 2346 err = 1; in add_versions() 2355 return err; in add_versions() 2574 int err; in main() local 2645 err = 0; in main() 2655 err |= check_modname_len(mod); in main() [all …]
|