/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 | 92 my ($hashref, $filename) = (@_); 96 open(my $file, '>', "$filename") or die "$P: $filename: open failed - $!\n"; 117 my ($hashref, $filename) = (@_); 123 open(my $file, '<', "$filename") or die "$P: $filename: open failed - $!\n";
|
D | recordmcount.pl | 413 my $filename; 419 $filename = $2; 422 $filename = $inputfile; 425 if ($filename =~ m,^(.*)(\.\S),) { 429 $prefix = $filename; 604 my $globalobj = $dirname . "/.tmp_gl_" . $filename; 605 my $globalmix = $dirname . "/.tmp_mx_" . $filename; 627 my $mix = $dirname . "/.tmp_mx_" . $filename;
|
D | pnmtologo.c | 25 static const char *filename; variable 92 die("%s: end of file\n", filename); in get_number() 98 die("%s: end of file\n", filename); in get_number() 114 die("%s: end of file\n", filename); in get_number() 133 fp = fopen(filename, "r"); in read_image() 135 die("Cannot open file %s: %s\n", filename, strerror(errno)); in read_image() 140 die("%s is not a PNM file\n", filename); in read_image() 154 "Use pnmnoraw(1) to convert it to ASCII PNM\n", filename); in read_image() 157 die("%s is not a PNM file\n", filename); in read_image() 242 fprintf(out, " * It was automatically generated from %s\n", filename); in write_header() [all …]
|
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 | gen_compile_commands.py | 122 for filename in filenames: 123 if not filename_matcher.match(filename): 125 filepath = os.path.join(dirpath, filename)
|
D | leaking_addresses.pl | 419 my($filename, $dirs, $suffix) = fileparse($path); 421 return 1 if (/^$filename$/); 632 my $filename = basename($path); 635 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') 416 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 | 240 filename = "fdtdump.dtb" 242 filename = arg 266 f = open(filename, 'wb') 273 gdb.write("Dumped fdt blob to " + filename + "\n")
|
/scripts/dtc/ |
D | util.c | 234 int utilfdt_read_err(const char *filename, char **buffp, size_t *len) in utilfdt_read_err() argument 242 if (strcmp(filename, "-") != 0) { in utilfdt_read_err() 243 fd = open(filename, O_RDONLY); in utilfdt_read_err() 276 char *utilfdt_read(const char *filename, size_t *len) in utilfdt_read() argument 279 int ret = utilfdt_read_err(filename, &buff, len); in utilfdt_read() 282 fprintf(stderr, "Couldn't open blob from '%s': %s\n", filename, in utilfdt_read() 290 int utilfdt_write_err(const char *filename, const void *blob) in utilfdt_write_err() argument 298 if (strcmp(filename, "-") != 0) { in utilfdt_write_err() 299 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0666); in utilfdt_write_err() 322 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 | 92 char *utilfdt_read(const char *filename, size_t *len); 104 int utilfdt_read_err(const char *filename, char **buffp, size_t *len); 114 int utilfdt_write(const char *filename, const void *blob); 125 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 | 266 static void push_input_file(const char *filename) 268 assert(filename); 270 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 …]
|
/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 | 266 static void *read_file(const char *filename) in read_file() argument 272 fd = open(filename, O_RDONLY); in read_file() 275 perror(filename); in read_file() 280 perror(filename); in read_file()
|
/scripts/kconfig/ |
D | mconf.c | 295 static char filename[PATH_MAX+1]; variable 307 size = snprintf(filename, sizeof(filename), "%s", config_filename); in set_config_filename() 308 if (size >= sizeof(filename)) in set_config_filename() 309 filename[sizeof(filename)-1] = '\0'; in set_config_filename() 903 11, 55, filename); in conf_load() 930 11, 55, filename); in conf_save() 969 if (conf_write(filename)) { in handle_exit()
|
D | nconf.c | 627 static char filename[PATH_MAX+1]; variable 638 size = snprintf(filename, sizeof(filename), "%s", config_filename); in set_config_filename() 639 if (size >= sizeof(filename)) in set_config_filename() 640 filename[sizeof(filename)-1] = '\0'; in set_config_filename() 668 res = conf_write(filename); in do_exit() 1398 filename, in conf_load() 1429 filename, in conf_save()
|