/scripts/kconfig/ |
D | util.c | 13 struct file *file_lookup(const char *name) in file_lookup() 15 struct file *file; in file_lookup() local 17 for (file = file_list; file; file = file->next) { in file_lookup() 18 if (!strcmp(name, file->name)) { in file_lookup() 19 return file; in file_lookup() 23 file = xmalloc(sizeof(*file)); in file_lookup() 24 memset(file, 0, sizeof(*file)); in file_lookup() 25 file->name = xstrdup(name); in file_lookup() 26 file->next = file_list; in file_lookup() 27 file_list = file; in file_lookup() [all …]
|
D | expr.h | 20 struct file { struct 21 struct file *next; argument 22 struct file *parent; argument 202 struct file *file; /* what file was this property defined */ member 263 struct file *file; member 287 extern struct file *file_list; 288 extern struct file *current_file; 289 struct file *lookup_file(const char *name);
|
/scripts/ |
D | leaking_addresses.pl | 239 my $file = '/boot/config-' . `uname -r`; 240 chomp $file; 241 @config_files = ($file, '/boot/config'); 244 foreach my $file (@config_files) { 245 dprint("parsing config file: $file\n"); 246 $value = option_from_file($option, $file); 262 my ($option, $file) = @_; 266 open(my $fh, "<", $file) or return ""; 429 my ($file) = @_; 434 parse_file($file); [all …]
|
D | checkversion.pl | 15 foreach my $file (@ARGV) { 16 next if $file =~ "include/linux/version\.h"; 18 open( my $f, '<', $file ) 19 or die "Can't open $file: $!\n"; 53 print "$file: $.: need linux/version.h\n"; 58 print "$file: $iLinuxVersion linux/version.h not needed.\n"; 64 print "$file: version use is OK ($iLinuxVersion)\n"; 67 print "$file: version use is OK (none)\n";
|
D | kernel-doc | 427 my $file = shift @ARGV; 428 push(@export_file_list, $file); 468 my $file = shift; 488 print STDERR "${file}:$.: warning: duplicate section name '$name'\n"; 505 my $file = shift; 519 dump_section($file, $name, $contents); 1052 my ($prototype, $file) = @_; 1063 my $file = shift; 1158 create_parameterlist($members, ';', $file, $declaration_name); 1159 check_sections($file, $declaration_name, $decl_type, $sectcheck, $struct_actual); [all …]
|
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";
|
D | get_abi.pl | 40 my ($file, $ln, $msg, $data) = @_; 42 print STDERR "file $file#$ln: $msg at\n\t$data"; 49 my $file = $File::Find::name; 51 my $mode = (stat($file))[2]; 53 return if ($file =~ m,/README,); 55 my $name = $file; 61 $data{$nametag}->{file} = $name; 62 $data{$nametag}->{filepath} = $file; 65 my $type = $file; 77 print STDERR "Opening $file\n" if ($debug > 1); [all …]
|
D | checkstack.pl | 112 my ($func, $file, $lastslash); 118 elsif ($line =~ m/(.*):\s*file format/) { 119 $file = $1; 120 $file =~ s/\.ko//; 121 $lastslash = rindex($file, "/"); 123 $file = substr($file, $lastslash + 1); 142 my $intro = "$addr $func [$file]:"; 159 my $intro = "$addr $func [$file]:";
|
D | parse-maintainers.pl | 96 open(my $file, '>', "$filename") or die "$P: $filename: open failed - $!\n"; 100 print $file $$hashref{$key}; 105 print $file $separator; 107 print $file $key . "\n"; 109 print $file ($pattern . "\n"); 113 close($file); 123 open(my $file, '<', "$filename") or die "$P: $filename: open failed - $!\n"; 125 while (<$file>) { 151 close($file);
|
D | find-unused-docs.sh | 52 for file in `find $1 -name '*.c'`; do 54 if [[ ${FILES_INCLUDED[$file]+_} ]]; then 57 str=$(scripts/kernel-doc -text -export "$file" 2>/dev/null) 59 echo "$file"
|
D | get_maintainer.pl | 340 my ($file) = @_; 342 open (my $maint, '<', "$file") 343 or die "$P: Can't open MAINTAINERS file '$file': $!\n"; 370 push(@self_test_info, {file=>$file, linenr=>$i, line=>$line}); 378 my ($file) = $_; 379 return if ($file !~ m@/MAINTAINERS$@); 380 $file = $File::Find::name; 381 return if (! -f $file); 382 push(@mfiles, $file); 410 foreach my $file (@files) { [all …]
|
D | setlocalversion | 129 local file res= 131 for file; do 132 case "$file" in 137 if test -e "$file"; then 138 res="$res$(cat "$file")"
|
D | coccicheck | 229 $FLAGS --cocci-file $COCCI $OPT $OPTIONS || \ 231 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff || \ 233 $FLAGS --cocci-file $COCCI $OPT $OPTIONS || \ 235 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff || exit 1 238 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff && \ 240 $FLAGS --cocci-file $COCCI $OPT $OPTIONS || exit 1 242 run_cmd $SPATCH -D $MODE $FLAGS --cocci-file $COCCI $OPT $OPTIONS || exit 1
|
D | stackdelta | 25 my ($file, $func, $size, $type) = split; 40 $file =~ s/:[0-9]+$//; 41 $su{"${file}\t${func}"} = {size => $size, type => $type};
|
D | config | 12 Manipulate options in a .config file from the command line. 36 --file config-file .config file to change (default .config)
|
D | extract-cert.c | 38 const char *file; in display_openssl_errors() local 46 while ((e = ERR_get_error_line(&file, &line))) { in display_openssl_errors() 48 fprintf(stderr, "- SSL %s: %s:%d\n", buf, file, line); in display_openssl_errors() 54 const char *file; in drain_openssl_errors() local 59 while (ERR_get_error_line(&file, &line)) {} in drain_openssl_errors()
|
D | export_report.pl | 54 my @file; 58 push (@file, $_) 61 chomp @file; 62 return @file;
|
D | Kbuild.include | 19 # The temporary file to save gcc -MD generated dependencies must not 43 # filechk is used to check if the content of a generated file is updated. 50 # The rule defined shall write to stdout the content of the new file. 51 # The existing file will be compared with the new one. 52 # - If no file exist it is created 53 # - If the content differ the new file is used 56 # to specify a valid file as first prerequisite (often the kbuild file) 90 # Exit code chooses option. "$$TMP" serves as a temporary file and is 205 # Replace >$< with >$$< to preserve $ when reloading the .cmd file 207 # Replace >#< with >$(pound)< to avoid starting a comment in the .cmd file [all …]
|
/scripts/mod/ |
D | sumversion.c | 230 static int parse_string(const char *file, unsigned long len, in parse_string() argument 235 add_char(file[0], md); in parse_string() 237 add_char(file[i], md); in parse_string() 238 if (file[i] == '"' && file[i-1] != '\\') in parse_string() 244 static int parse_comment(const char *file, unsigned long len) in parse_comment() argument 249 if (file[i-1] == '*' && file[i] == '/') in parse_comment() 258 char *file; in parse_file() local 261 file = grab_file(fname, &len); in parse_file() 262 if (!file) in parse_file() 267 if (file[i] == '\\' && (i+1 < len) && file[i+1] == '\n') { in parse_file() [all …]
|
D | Makefile | 10 devicetable-offsets-file := devicetable-offsets.h 12 $(obj)/$(devicetable-offsets-file): $(obj)/devicetable-offsets.s FORCE 15 targets += $(devicetable-offsets-file) devicetable-offsets.s 20 $(obj)/file2alias.o: $(obj)/$(devicetable-offsets-file)
|
/scripts/dtc/ |
D | srcpos.h | 62 struct srcfile_state *file; member 75 (Current).file = YYRHSLOC(Rhs, N).file; \ 81 (Current).file = YYRHSLOC (Rhs, 0).file; \
|
D | srcpos.c | 236 pos->file = current_srcfile; in srcpos_update() 268 memcpy(srcfile_state, pos->file, sizeof(struct srcfile_state)); in srcpos_copy() 269 pos_new->file = srcfile_state; in srcpos_copy() 292 if (pos->file && pos->file->name) in srcpos_string() 293 fname = pos->file->name; in srcpos_string() 326 if (!pos->file) in srcpos_string_comment() 328 else if (!pos->file->name) in srcpos_string_comment() 331 fname = pos->file->name; in srcpos_string_comment() 333 fname = shorten_to_initial_path(pos->file->name); in srcpos_string_comment() 337 fname = pos->file->name; in srcpos_string_comment()
|
/scripts/atomic/ |
D | atomic-tbl.sh | 48 local file="" 56 file="${ATOMICDIR}/fallbacks/${base}" 58 if [ -f "${file}" ]; then 59 printf "${file}"
|
/scripts/genksyms/ |
D | lex.l | 146 char *file, *e; 153 file = strchr(yytext, '\"')+1; 154 e = strchr(file, '\"'); 156 cur_filename = memcpy(xmalloc(e-file+1), file, e-file+1);
|
/scripts/coccinelle/api/ |
D | simple_open.cocci | 3 /// and replace file operations references to the function 17 -int open_f(struct inode *i, struct file *f) 44 int open_f@p(struct inode *i, struct file *f)
|