| /scripts/ |
| A D | leaking_addresses.pl | 269 chomp $file; 460 my ($file) = @_; 477 my ($file) = @_; 496 my ($file) = @_; 498 if (! -R $file) { 546 next if ($file eq '.' or $file eq '..'); 572 my ($file) = @_; 599 my ($file) = @_; 601 open (my $fh, '<', $file) or die "$0: $file: $!\n"; 615 my ($file) = @_; [all …]
|
| A D | checkversion.pl | 15 foreach my $file (@ARGV) { 16 next if $file =~ "include/generated/uapi/linux/version\.h"; 17 next if $file =~ "usr/include/linux/version\.h"; 19 open( my $f, '<', $file ) 20 or die "Can't open $file: $!\n"; 57 print "$file: $.: need linux/version.h\n"; 62 print "$file: $iLinuxVersion linux/version.h not needed.\n"; 68 print "$file: version use is OK ($iLinuxVersion)\n"; 71 print "$file: version use is OK (none)\n";
|
| A D | install.sh | 12 for file in "${KBUILD_IMAGE}" System.map 14 if [ ! -f "${file}" ]; then 16 echo >&2 " *** Missing file: ${file}" 28 for file in "${HOME}/bin/${INSTALLKERNEL}" \ 33 if [ ! -x "${file}" ]; then 40 exec "${file}" "${KERNELRELEASE}" "${KBUILD_IMAGE}" System.map "${INSTALL_PATH}"
|
| A D | checkincludes.pl | 43 foreach my $file (@ARGV) { 44 open(my $f, '<', $file) 45 or die "Cannot open $file: $!.\n"; 62 print "$file: $filename is included more than once.\n"; 69 open($f, '>', $file) 70 or die("Cannot write to $file: $!"); 91 print "$file: removed $dups duplicate includes\n";
|
| A D | kernel-doc.pl | 402 my $file = shift; 438 my $file = shift; 1045 my $file = shift; 1257 my $file = shift; 1337 my $file = shift; 1409 my $file = shift; 1497 my $file = shift; 1614 my $file = shift; 1917 my $file; 1926 return $file; [all …]
|
| A D | parse-maintainers.pl | 113 open(my $file, '>', "$filename") or die "$P: $filename: open failed - $!\n"; 117 print $file $$hashref{$key}; 122 print $file $separator; 124 print $file $key . "\n"; 127 print $file ($pattern . "\n"); 131 print $file ($pattern . "\n"); 136 close($file); 146 open(my $file, '<', "$filename") or die "$P: $filename: open failed - $!\n"; 148 while (<$file>) { 174 close($file);
|
| A D | checkdeclares.pl | 29 foreach my $file (@ARGV) { 30 open(my $f, '<', $file) 31 or die "Cannot open $file: $!.\n"; 45 print "$file: struct $structname is declared more than once.\n";
|
| A D | find-unused-docs.sh | 52 for file in `find $1 -name '*.c'`; do 54 if [[ ${FILES_INCLUDED[$file]+_} ]]; then 57 str=$(PYTHONDONTWRITEBYTECODE=1 scripts/kernel-doc -export "$file" 2>/dev/null) 59 echo "$file"
|
| A D | checkstack.pl | 134 my ($func, $file, $lastslash, $total_size, $addr, $intro); 146 $intro = "$addr $func [$file]:"; 155 elsif ($line =~ m/(.*):\s*file format/) { 156 $file = $1; 157 $file =~ s/\.ko//; 158 $lastslash = rindex($file, "/"); 160 $file = substr($file, $lastslash + 1);
|
| A D | get_feat.pl | 58 my ($file, $ln, $msg, $data) = @_; 62 print STDERR "Warning: file $file#$ln:\n\t$msg"; 93 my $file = $File::Find::name; 95 my $mode = (stat($file))[2]; 97 return if ($file =~ m,($prefix)/arch-support.txt,); 98 return if (!($file =~ m,arch-support.txt$,)); 101 printf ".. FILE %s\n", abs_path($file); 119 print STDERR "Opening $file\n" if ($debug > 1); 120 open IN, $file; 180 parse_error($file, $ln, "line is invalid", $_); [all …]
|
| A D | get_maintainer.pl | 362 my ($file) = @_; 392 push(@self_test_info, {file=>$file, linenr=>$i, line=>$line}); 400 my ($file) = $_; 433 push(@mfiles, "$path$file") if ($file !~ /^\./); 448 my ($file) = @_; 452 if (-f $file && ($email_file_emails || $file =~ /\.yaml$/)) { 549 $file = canonpath($file); 551 if ((-d $file)) { 560 if ($from_filename || ($file ne "&STDIN" && vcs_file_exists($file))) { 563 push(@files, $file); [all …]
|
| A D | generate_initcall_order.pl | 98 my ($index, $file) = @_; 100 die "$0: ERROR: file $file doesn't exist?" if (! -f $file); 102 open(my $fh, "\"$nm\" --defined-only \"$file\" 2>/dev/null |") 138 die "$0: ERROR: invalid initcall name $symbol in $file($path)" 193 while (my $file = shift(@ARGV)) { 206 find_initcalls($index, "$objtree/$file");
|
| A D | setlocalversion | 158 local file res= 160 for file; do 161 case "$file" in 166 if test -e "$file"; then 167 res="$res$(cat "$file")"
|
| A D | ssl-common.h | 8 const char *file; in drain_openssl_errors() local 17 while ((e = ERR_peek_error_line(&file, &line))) { in drain_openssl_errors() 20 fprintf(stderr, "- SSL %s: %s:%d\n", buf, file, line); in drain_openssl_errors()
|
| A D | check-uapi.sh | 247 while read -r file; do 257 check_individual_file "$base_ref" "$past_ref" "$file" & 300 local -r file="$3" 308 "$file" "$past_ref" "$base_ref" \ 318 local -r file="$1" 323 local -r log="${TMP_DIR}/log/${file}.log" 324 local -r error_log="${TMP_DIR}/log/${file}.error" 331 "$file" "$base_ref") 342 "$file" "$past_ref") 357 "$file" "$past_ref" "$base_ref" [all …]
|
| A D | coccicheck | 244 $FLAGS --cocci-file $COCCI $OPT $OPTIONS || \ 246 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff || \ 248 $FLAGS --cocci-file $COCCI $OPT $OPTIONS || \ 250 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff || exit 1 253 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff && \ 255 $FLAGS --cocci-file $COCCI $OPT $OPTIONS || exit 1 257 run_cmd $SPATCH -D $MODE $FLAGS --cocci-file $COCCI $OPT $OPTIONS || exit 1
|
| A D | stackdelta | 25 my ($file, $func, $size, $type) = split; 40 $file =~ s/:[0-9]+$//; 41 $su{"${file}\t${func}"} = {size => $size, type => $type};
|
| A D | config | 15 Manipulate options in a .config file from the command line. 40 --file config-file .config file to change (default .config)
|
| A D | rustdoc_test_gen.rs | 48 fn find_real_path<'a>(srctree: &Path, valid_paths: &'a mut Vec<PathBuf>, file: &str) -> &'a str { in find_real_path() 51 let potential_components: Vec<&str> = file.strip_suffix("_rs").unwrap().split('_').collect(); in find_real_path() 135 let (file, line) = name.rsplit_once('_').unwrap().0.rsplit_once('_').unwrap(); in main() 138 if file == last_file { in main() 142 last_file = file.to_string(); in main() 145 real_path = find_real_path(srctree, &mut valid_paths, file); in main()
|
| /scripts/kconfig/ |
| A D | util.c | 19 struct file { struct 27 struct file *file; in file_lookup() local 31 hash_for_each_possible(file_hashtable, file, node, hash) in file_lookup() 32 if (!strcmp(name, file->name)) in file_lookup() 33 return file->name; in file_lookup() 36 file = xmalloc(sizeof(*file) + len + 1); in file_lookup() 37 memset(file, 0, sizeof(*file)); in file_lookup() 38 memcpy(file->name, name, len); in file_lookup() 39 file->name[len] = '\0'; in file_lookup() 41 hash_add(file_hashtable, &file->node, hash); in file_lookup() [all …]
|
| /scripts/mod/ |
| A D | sumversion.c | 237 add_char(file[0], md); in parse_string() 240 if (file[i] == '"' && file[i-1] != '\\') in parse_string() 251 if (file[i-1] == '*' && file[i] == '/') in parse_comment() 260 char *file; in parse_file() local 264 len = strlen(file); in parse_file() 268 if (file[i] == '\\' && (i+1 < len) && file[i+1] == '\n') { in parse_file() 274 if (isspace(file[i])) in parse_file() 284 if (file[i] == '/' && file[i+1] == '*') { in parse_file() 291 free(file); in parse_file() 322 pos = file; in parse_source_files() [all …]
|
| A D | Makefile | 9 devicetable-offsets-file := devicetable-offsets.h 11 $(obj)/$(devicetable-offsets-file): $(obj)/devicetable-offsets.s FORCE 14 targets += $(devicetable-offsets-file) devicetable-offsets.s 19 $(obj)/file2alias.o: $(obj)/$(devicetable-offsets-file)
|
| /scripts/dtc/ |
| A D | srcpos.h | 62 struct srcfile_state *file; member 75 (Current).file = YYRHSLOC(Rhs, N).file; \ 81 (Current).file = YYRHSLOC (Rhs, 0).file; \
|
| A D | srcpos.c | 238 pos->file = current_srcfile; in srcpos_update() 270 memcpy(srcfile_state, pos->file, sizeof(struct srcfile_state)); in srcpos_copy() 271 pos_new->file = srcfile_state; in srcpos_copy() 294 if (pos->file && pos->file->name) in srcpos_string() 295 fname = pos->file->name; in srcpos_string() 328 if (!pos->file) in srcpos_string_comment() 330 else if (!pos->file->name) in srcpos_string_comment() 333 fname = pos->file->name; in srcpos_string_comment() 335 fresh_fname = shorten_to_initial_path(pos->file->name); in srcpos_string_comment() 339 fname = pos->file->name; in srcpos_string_comment()
|
| /scripts/clang-tools/ |
| A D | run-clang-tools.py | 64 file = entry["file"] 65 if not file.endswith(".c") and not file.endswith(".cpp"): 67 print(f"Skipping non-C file: '{file}'", file=sys.stderr) 72 pargs.append(file)
|