/scripts/ |
H A D | checkincludes.pl | 57 foreach my $filename (keys %includedfiles) { 58 if ($includedfiles{$filename} > 1) { 59 print "$file: $filename is included more than once.\n"; 71 foreach my $filename (keys %includedfiles) { 72 if ($1 eq $filename) { 73 if ($includedfiles{$filename} > 1) { 74 $includedfiles{$filename}--;
|
H A D | headerdep.pl | 62 my $filename = shift; 65 my $stripped = $filename; 68 return $stripped if $stripped ne $filename; 71 return $filename; 76 my $filename = shift; 77 return $filename if -f $filename; 80 my $path = "$i/$filename";
|
H A D | headers_check.pl | 28 my $filename; 31 $filename = $file; 33 open(my $fh, '<', $filename) 34 or die "$filename: $!\n"; 59 printf STDERR "$filename:$lineno: included file '$inc' is not exported\n"; 68 printf STDERR "$filename:$lineno: " . 77 printf STDERR "$filename:$lineno: leaks CONFIG_$1 to userspace where it is not valid\n"; 84 if ($filename =~ /types.h|int-l64.h|int-ll64.h/o) { 94 printf STDERR "$filename:$lineno: " . 104 if ($filename [all...] |
H A D | docproc.c | 145 char *filename; member in struct:symfile 160 /* Add a filename to the list */ 161 static struct symfile * add_new_file(char * filename) argument 163 symfilelist[symfilecnt++].filename = strdup(filename); 168 static struct symfile * filename_exist(char * filename) argument 172 if (strcmp(symfilelist[i].filename, filename) == 0) 190 * Find all symbols in filename that are exported with EXPORT_SYMBOL & 194 static void find_export_symbols(char * filename) argument 250 docfunctions(char * filename, char * type) argument 282 intfunc(char * filename) argument 283 extfunc(char * filename) argument 290 singfunc(char * filename, char * line) argument 326 docsect(char *filename, char *line) argument 351 find_all_symbols(char *filename) argument [all...] |
H A D | recordmcount.pl | 377 my $filename; 383 $filename = $2; 386 $filename = $inputfile; 389 if ($filename =~ m,^(.*)(\.\S),) { 393 $prefix = $filename; 560 my $globalobj = $dirname . "/.tmp_gl_" . $filename; 561 my $globalmix = $dirname . "/.tmp_mx_" . $filename; 583 my $mix = $dirname . "/.tmp_mx_" . $filename;
|
H A D | pnmtologo.c | 25 static const char *filename; variable 91 die("%s: end of file\n", filename); 97 die("%s: end of file\n", filename); 108 die("%s: end of file\n", filename); 127 fp = fopen(filename, "r"); 129 die("Cannot open file %s: %s\n", filename, strerror(errno)); 134 die("%s is not a PNM file\n", filename); 148 "Use pnmnoraw(1) to convert it to ASCII PNM\n", filename); 151 die("%s is not a PNM file\n", filename); 235 fprintf(out, " * It was automatically generated from %s\n", filename); [all...] |
H A D | markup_oops.pl | 36 my $filename = $vmlinux_name; 196 $modulefile = `modinfo -F filename $module`; 199 $filename = $modulefile; 200 if ($filename eq "") { 205 open(FILE, $cross_compile."objdump -dS $filename |") || die "Cannot start objdump"; 238 open(FILE, $cross_compile."objdump -dS --adjust-vma=$vmaoffset --start-address=$decodestart --stop-address=$decodestop $filename |") || die "Cannot start objdump"; 365 -m, --module MODULE_DIRNAME Specify the module filename.
|
H A D | unifdef.c | 183 static const char *filename; /* input file name */ variable 318 filename = *argv; 319 input = fopen(filename, "rb"); 321 err(2, "can't open %s", filename); 323 filename = "[stdin]"; 610 errx(2, "%s unchanged", filename); 1219 warnx("%s: %d: %s", filename, linenum, msg); 1222 filename, linenum, msg, stifline[depth], depth);
|
H A D | get_maintainer.pl | 435 my $filename = $1; 436 $filename =~ s@^[^/]*/@@; 437 $filename =~ s@\n@@; 438 $lastfile = $filename; 439 push(@files, $filename);
|
H A D | checkpatch.pl | 58 --summary-file include the filename in summary 374 for my $filename (@ARGV) { 377 open($FILE, '-|', "diff -u /dev/null $filename") || 378 die "$P: $filename: diff failed - $!\n"; 379 } elsif ($filename eq '-') { 382 open($FILE, '<', "$filename") || 383 die "$P: $filename: open failed - $!\n"; 385 if ($filename eq '-') { 388 $vname = $filename; 395 if (!process($filename)) { [all...] |
/scripts/dtc/ |
H A D | dtc-lexer.l | 62 static void push_input_file(const char *filename); 170 static void push_input_file(const char *filename) 172 assert(filename); 174 srcfile_push(filename);
|
/scripts/mod/ |
H A D | file2alias.c | 335 static int do_hid_entry(const char *filename, argument 351 static int do_ieee1394_entry(const char *filename, argument 376 static int do_pci_entry(const char *filename, argument 407 filename, id->class_mask); 420 static int do_ccw_entry(const char *filename, argument 444 static int do_ap_entry(const char *filename, argument 453 static int do_css_entry(const char *filename, argument 462 static int do_serio_entry(const char *filename, argument 482 static int do_acpi_entry(const char *filename, argument 576 static int do_pcmcia_entry(const char *filename, argument 613 do_of_entry(const char *filename, struct of_device_id *of, char *alias) argument 636 do_vio_entry(const char *filename, struct vio_device_id *vio, char *alias) argument 667 do_input_entry(const char *filename, struct input_device_id *id, char *alias) argument 710 do_eisa_entry(const char *filename, struct eisa_device_id *eisa, char *alias) argument 722 do_parisc_entry(const char *filename, struct parisc_device_id *id, char *alias) argument 742 do_sdio_entry(const char *filename, struct sdio_device_id *id, char *alias) argument 759 do_ssb_entry(const char *filename, struct ssb_device_id *id, char *alias) argument 776 do_bcma_entry(const char *filename, struct bcma_device_id *id, char *alias) argument 795 do_virtio_entry(const char *filename, struct virtio_device_id *id, char *alias) argument 816 do_vmbus_entry(const char *filename, struct hv_vmbus_device_id *id, char *alias) argument 833 do_i2c_entry(const char *filename, struct i2c_device_id *id, char *alias) argument 843 do_spi_entry(const char *filename, struct spi_device_id *id, char *alias) argument 882 do_dmi_entry(const char *filename, struct dmi_system_id *id, char *alias) argument 907 do_platform_entry(const char *filename, struct platform_device_id *id, char *alias) argument 915 do_mdio_entry(const char *filename, struct mdio_device_id *id, char *alias) argument 939 do_zorro_entry(const char *filename, struct zorro_device_id *id, char *alias) argument 950 do_isapnp_entry(const char *filename, struct isapnp_device_id *id, char *alias) argument 1011 do_amba_entry(const char *filename, struct amba_id *id, char *alias) argument [all...] |
H A D | sumversion.c | 455 static void write_version(const char *filename, const char *sum, argument 460 fd = open(filename, O_RDWR); 463 filename, strerror(errno)); 469 filename, offset, strerror(errno)); 475 filename, strerror(errno));
|
H A D | modpost.h | 180 void *grab_file(const char *filename, unsigned long *size);
|
H A D | modpost.c | 335 void *grab_file(const char *filename, unsigned long *size) argument 341 fd = open(filename, O_RDONLY); 393 static int parse_elf(struct elf_info *info, const char *filename) argument 402 hdr = grab_file(filename, &info->size); 404 perror(filename); 441 filename, info->size); 483 "sizeof(*hrd)=%zu\n", filename, 491 fatal("%s has NOBITS .modinfo\n", filename); 527 fatal("%s has no symtab?\n", filename); 541 filename, sechdr [all...] |
/scripts/kconfig/ |
H A D | mconf.c | 218 "Enter a filename to which this configuration should be saved " 287 static char filename[PATH_MAX+1]; variable 299 size = snprintf(filename, sizeof(filename), "%s", config_filename); 300 if (size >= sizeof(filename)) 301 filename[sizeof(filename)-1] = '\0'; 750 11, 55, filename); 777 11, 55, filename); 814 if (conf_write(filename)) { [all...] |
H A D | nconf.c | 201 "Enter a filename to which this configuration should be saved\n" 632 static char filename[PATH_MAX+1]; variable 643 size = snprintf(filename, sizeof(filename), "%s", config_filename); 644 if (size >= sizeof(filename)) 645 filename[sizeof(filename)-1] = '\0'; 673 res = conf_write(filename); 1398 filename, 1429 filename, [all...] |
H A D | confdata.c | 643 int conf_write_defconfig(const char *filename) argument 649 out = fopen(filename, "w");
|
/scripts/basic/ |
H A D | fixdep.c | 134 * Print out the commandline prefixed with cmd_<target filename> := 281 static void do_config_file(const char *filename) argument 287 fd = open(filename, O_RDONLY); 290 perror(filename);
|