/scripts/ |
D | headers_check.pl | 31 my $filename; 34 $filename = $file; 36 open(my $fh, '<', $filename) 37 or die "$filename: $!\n"; 62 printf STDERR "$filename:$lineno: included file '$inc' is not exported\n"; 79 printf STDERR "$filename:$lineno: " . 88 printf STDERR "$filename:$lineno: leaks CONFIG_$1 to userspace where it is not valid\n"; 95 if ($filename =~ /types.h|int-l64.h|int-ll64.h/o) { 105 printf STDERR "$filename:$lineno: " . 120 my @file_paths = ($path, $dir . "/" . $path, dirname($filename) . "/" . $path); [all …]
|
D | checkincludes.pl | 60 foreach my $filename (keys %includedfiles) { 61 if ($includedfiles{$filename} > 1) { 62 print "$file: $filename is included more than once.\n"; 75 foreach my $filename (keys %includedfiles) { 76 if ($1 eq $filename) { 77 if ($includedfiles{$filename} > 1) { 78 $includedfiles{$filename}--;
|
D | headerdep.pl | 63 my $filename = shift; 66 my $stripped = $filename; 69 return $stripped if $stripped ne $filename; 72 return $filename; 77 my $filename = shift; 78 return $filename if -f $filename; 81 my $path = "$i/$filename";
|
D | parse-maintainers.pl | 109 my ($hashref, $filename) = (@_); 113 open(my $file, '>', "$filename") or die "$P: $filename: open failed - $!\n"; 140 my ($hashref, $filename) = (@_); 146 open(my $file, '<', "$filename") or die "$P: $filename: open failed - $!\n";
|
D | recordmcount.pl | 417 my $filename; 423 $filename = $2; 426 $filename = $inputfile; 429 if ($filename =~ m,^(.*)(\.\S),) { 433 $prefix = $filename; 608 my $globalobj = $dirname . "/.tmp_gl_" . $filename; 609 my $globalmix = $dirname . "/.tmp_mx_" . $filename; 631 my $mix = $dirname . "/.tmp_mx_" . $filename;
|
D | markup_oops.pl | 33 my $filename = $vmlinux_name; 196 $filename = $modulefile; 197 if ($filename eq "") { 202 open(FILE, $cross_compile."objdump -dS $filename |") || die "Cannot start objdump"; 235 …vma=$vmaoffset --start-address=$decodestart --stop-address=$decodestop $filename |") || die "Canno…
|
D | asn1_compiler.c | 200 static const char *filename; variable 535 filename, lineno, *p); in tokenise() 590 filename = argv[1]; in main() 594 fd = open(filename, O_RDONLY); in main() 596 perror(filename); in main() 601 perror(filename); in main() 611 perror(filename); in main() 616 perror(filename); in main() 621 fprintf(stderr, "%s: Short read\n", filename); in main() 758 fprintf(stderr, "%s: No defined types\n", filename); in build_type_list() [all …]
|
D | leaking_addresses.pl | 419 my($filename, $dirs, $suffix) = fileparse($path); 421 return 1 if (/^$filename$/); 633 my $filename = basename($path); 636 add_to_cache($files, $filename, substr($line, $index));
|
D | bpf_helpers_doc.py | 71 def __init__(self, filename): argument 72 self.reader = open(filename, 'r') 599 headerParser = HeaderParser(args.filename)
|
/scripts/gdb/linux/ |
D | config.py | 22 filename = "config.txt" 24 filename = arg 38 with open(filename, 'wb') as f: 41 gdb.write("Dumped config to " + filename + "\n")
|
D | symbols.py | 127 addr=module_addr, filename=module_file)) 129 filename=module_file, 151 if obj.filename.endswith('vmlinux'): 152 orig_vmlinux = obj.filename
|
D | proc.py | 239 filename = "fdtdump.dtb" 241 filename = arg 265 f = open(filename, 'wb') 272 gdb.write("Dumped fdt blob to " + filename + "\n")
|
/scripts/dtc/ |
D | util.c | 235 int utilfdt_read_err(const char *filename, char **buffp, size_t *len) in utilfdt_read_err() argument 243 if (strcmp(filename, "-") != 0) { in utilfdt_read_err() 244 fd = open(filename, O_RDONLY); in utilfdt_read_err() 277 char *utilfdt_read(const char *filename, size_t *len) in utilfdt_read() argument 280 int ret = utilfdt_read_err(filename, &buff, len); in utilfdt_read() 283 fprintf(stderr, "Couldn't open blob from '%s': %s\n", filename, in utilfdt_read() 291 int utilfdt_write_err(const char *filename, const void *blob) in utilfdt_write_err() argument 299 if (strcmp(filename, "-") != 0) { in utilfdt_write_err() 300 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0666); in utilfdt_write_err() 323 int utilfdt_write(const char *filename, const void *blob) in utilfdt_write() argument [all …]
|
D | fdtput.c | 221 static int do_fdtput(struct display_info *disp, const char *filename, in do_fdtput() argument 228 blob = utilfdt_read(filename); in do_fdtput() 255 ret = utilfdt_write(filename, blob); in do_fdtput() 289 char *filename = NULL; in main() local 331 filename = argv[optind++]; in main() 332 if (!filename) in main() 345 if (do_fdtput(&disp, filename, argv, argc)) in main()
|
D | util.h | 97 char *utilfdt_read(const char *filename, size_t *len); 109 int utilfdt_read_err(const char *filename, char **buffp, size_t *len); 119 int utilfdt_write(const char *filename, const void *blob); 130 int utilfdt_write_err(const char *filename, const void *blob);
|
D | fdtget.c | 236 static int do_fdtget(struct display_info *disp, const char *filename, in do_fdtget() argument 243 blob = utilfdt_read(filename); in do_fdtget() 293 char *filename = NULL; in main() local 334 filename = argv[optind++]; in main() 335 if (!filename) in main() 349 if (do_fdtget(&disp, filename, argv, argc, args_per_step)) in main()
|
D | dtc-lexer.l | 265 static void push_input_file(const char *filename) 267 assert(filename); 269 srcfile_push(filename);
|
/scripts/mod/ |
D | file2alias.c | 59 int (*do_entry)(const char *filename, void *symval, char *alias); 388 static int do_hid_entry(const char *filename, in do_hid_entry() argument 406 static int do_ieee1394_entry(const char *filename, in do_ieee1394_entry() argument 430 static int do_pci_entry(const char *filename, in do_pci_entry() argument 461 filename, class_mask); in do_pci_entry() 473 static int do_ccw_entry(const char *filename, in do_ccw_entry() argument 496 static int do_ap_entry(const char *filename, in do_ap_entry() argument 506 static int do_css_entry(const char *filename, in do_css_entry() argument 516 static int do_serio_entry(const char *filename, in do_serio_entry() argument 541 static int do_acpi_entry(const char *filename, in do_acpi_entry() argument [all …]
|
D | modpost.c | 96 char *read_text_file(const char *filename) in read_text_file() argument 103 fd = open(filename, O_RDONLY); in read_text_file() 105 perror(filename); in read_text_file() 110 perror(filename); in read_text_file() 123 perror(filename); in read_text_file() 451 static void *grab_file(const char *filename, size_t *size) in grab_file() argument 457 fd = open(filename, O_RDONLY); in grab_file() 478 static int parse_elf(struct elf_info *info, const char *filename) in parse_elf() argument 487 hdr = grab_file(filename, &info->size); in parse_elf() 490 fprintf(stderr, "%s: %s (ignored)\n", filename, in parse_elf() [all …]
|
/scripts/kconfig/tests/preprocess/builtin_func/ |
D | Kconfig | 24 # 'filename' is expanded to the currently parsed file name, 26 $(warning,filename=$(filename))
|
D | expected_stderr | 4 Kconfig:26: filename=Kconfig
|
/scripts/basic/ |
D | fixdep.c | 261 static void *read_file(const char *filename) in read_file() argument 267 fd = open(filename, O_RDONLY); in read_file() 270 perror(filename); in read_file() 275 perror(filename); in read_file()
|
/scripts/kconfig/ |
D | mconf.c | 296 static char filename[PATH_MAX+1]; variable 308 size = snprintf(filename, sizeof(filename), "%s", config_filename); in set_config_filename() 309 if (size >= sizeof(filename)) in set_config_filename() 310 filename[sizeof(filename)-1] = '\0'; in set_config_filename() 904 11, 55, filename); in conf_load() 931 11, 55, filename); in conf_save() 970 if (conf_write(filename)) { in handle_exit()
|
D | nconf.c | 628 static char filename[PATH_MAX+1]; variable 639 size = snprintf(filename, sizeof(filename), "%s", config_filename); in set_config_filename() 640 if (size >= sizeof(filename)) in set_config_filename() 641 filename[sizeof(filename)-1] = '\0'; in set_config_filename() 669 res = conf_write(filename); in do_exit() 1398 filename, in conf_load() 1429 filename, in conf_save()
|
/scripts/clang-tools/ |
D | gen_compile_commands.py | 86 for filename in filenames: 87 if filename_matcher.match(filename): 88 yield os.path.join(dirpath, filename)
|