/scripts/kconfig/ |
D | util.c | 12 struct file *file_lookup(const char *name) in file_lookup() 14 struct file *file; in file_lookup() local 16 for (file = file_list; file; file = file->next) { in file_lookup() 17 if (!strcmp(name, file->name)) in file_lookup() 18 return file; in file_lookup() 21 file = malloc(sizeof(*file)); in file_lookup() 22 memset(file, 0, sizeof(*file)); in file_lookup() 23 file->name = strdup(name); in file_lookup() 24 file->next = file_list; in file_lookup() 25 file_list = file; in file_lookup() [all …]
|
D | kxgettext.c | 62 char* file; member 66 static struct file_line *file_line__new(char *file, int lineno) in file_line__new() argument 73 self->file = file; in file_line__new() 89 static struct message *message__new(const char *msg, char *option, char *file, int lineno) in message__new() argument 96 self->files = file_line__new(file, lineno); in message__new() 129 static int message__add_file_line(struct message *self, char *file, int lineno) in message__add_file_line() argument 132 struct file_line *fl = file_line__new(file, lineno); in message__add_file_line() 144 static int message__add(const char *msg, char *option, char *file, int lineno) in message__add() argument 152 rc = message__add_file_line(m, file, lineno); in message__add() 154 m = message__new(escaped, option, file, lineno); in message__add() [all …]
|
D | expr.h | 18 struct file { struct 19 struct file *next; argument 20 struct file *parent; argument 147 struct file *file; /* what file was this property defined */ member 169 struct file *file; member 179 extern struct file *file_list; 180 extern struct file *current_file; 181 struct file *lookup_file(const char *name);
|
D | zconf.l | 23 struct file *file; member 101 current_pos.file = current_file; 309 printf("%s:%d: can't open file \"%s\"\n", zconf_curname(), zconf_lineno(), name); 322 printf("%s:%d: file '%s' is already sourced from '%s'\n",
|
D | lex.zconf.c_shipped | 130 /* Returned upon end-of-file. */ 156 /* Special action meaning "start processing a new file". */ 264 * just pointing zconfin at a new input file. 308 YY_BUFFER_STATE zconf_create_buffer (FILE *file,int size ); 316 static void zconf_init_buffer (YY_BUFFER_STATE b,FILE *file ); 786 struct file *file; 1031 while ( 1 ) /* loops until end-of-file is reached */ 1092 current_pos.file = current_file; 1349 /* We're scanning a new file or input source. It's 1472 * EOB_ACT_END_OF_FILE - end of file [all …]
|
/scripts/ |
D | kernel-doc | 371 my $file = shift; 392 print STDERR "Error(${file}:$.): duplicate section name '$name'\n"; 404 my $file = shift; 416 dump_section($file, $name, $contents); 1400 my ($prototype, $file) = @_; 1411 my $file = shift; 1429 create_parameterlist($members, ';', $file); 1430 check_sections($file, $declaration_name, "struct", $sectcheck, $struct_actual, $nested); 1446 print STDERR "Error(${file}:$.): Cannot parse struct or union!\n"; 1453 my $file = shift; [all …]
|
D | Makefile.headersinst | 14 kbuild-file := $(srctree)/$(obj)/Kbuild 15 include $(kbuild-file) 26 install-file := $(install)/.install 27 check-file := $(install)/.check 40 unwanted-file := $(addprefix $(install)/, $(unwanted)) 45 file$(if $(word 2, $(all-files)),s)) 52 cmd_remove = rm -f $(unwanted-file) 63 __headersinst: $(subdirs) $(install-file) 66 targets += $(install-file) 67 $(install-file): scripts/headers_install.pl $(input-files) FORCE [all …]
|
D | checkversion.pl | 12 foreach $file (@ARGV) 15 open(FILE, $file) || die "Can't open $file: $!\n"; 52 print "$file: $.: need linux/version.h\n"; 57 print "$file: $iLinuxVersion linux/version.h not needed.\n"; 63 print "$file: version use is OK ($iLinuxVersion)\n"; 66 print "$file: version use is OK (none)\n";
|
D | checkstack.pl | 119 my $file, $lastslash; 125 elsif ($line =~ m/(.*):\s*file format/) { 126 $file = $1; 127 $file =~ s/\.ko//; 128 $lastslash = rindex($file, "/"); 130 $file = substr($file, $lastslash + 1); 149 my $intro = "$addr $func [$file]:"; 166 my $intro = "$addr $func [$file]:";
|
D | headers_install.pl | 25 foreach my $file (@files) { 28 my $tmpfile = "$installdir/$file.tmp"; 29 open(INFILE, "<$readdir/$file") 30 or die "$readdir/$file: $!\n"; 46 system $unifdef . " $tmpfile > $installdir/$file";
|
D | checkincludes.pl | 6 foreach $file (@ARGV) { 7 open(FILE, $file) or die "Cannot open $file: $!.\n"; 19 print "$file: $filename is included more than once.\n";
|
D | export_report.pl | 52 my @file = `cat .tmp_versions/*.mod | grep '.*\.ko\$'`; 53 @file = grep {s/\.ko/.mod.c/} @file; 54 chomp @file; 55 return @file;
|
D | extract-ikconfig | 12 file="$1" 14 start=`$binoffset $file $IKCFG_ST 2>/dev/null` 19 end=`$binoffset $file $IKCFG_ED 2>/dev/null` 24 dd if="$file" ibs=1 skip="$start" count="$size" 2>/dev/null | zcat
|
D | gen_initramfs_list.sh | 18 $0 [-o <file>] [-u <uid>] [-g <gid>] {-d | <cpio_source>} ... 19 -o <file> Create gzipped initramfs file named <file> using 28 If <cpio_source> is a .cpio file it will be used 205 cat "$1" | while read type dir file perm ; do 207 echo "$file \\";
|
D | Kbuild.include | 15 # The temporary file to save gcc -MD generated dependencies must not 35 # filechk is used to check if the content of a generated file is updated. 42 # The rule defined shall write to stdout the content of the new file. 43 # The existing file will be compared with the new one. 44 # - If no file exist it is created 45 # - If the content differ the new file is used 48 # to specify a valid file as first prerequisite (often the kbuild file) 82 # Exit code chooses option. "$$TMP" is can be used as temporary file and 181 # >$< substitution to preserve $ when reloading .cmd file 197 # Execute the command and also postprocess generated .d dependencies file. [all …]
|
D | config | 6 Manipulate options in a .config file from the command line. 25 --file .config file to change (default .config)
|
D | checkpatch.pl | 24 my $file = 0; 38 'file!' => \$file, 206 $chk_signoff = 0 if ($file); 234 if ($file) { 1035 my $file = $absolute; 1040 while ($file =~ s@^[^/]*/@@) { 1041 if (-f "$root/$file") { 1052 substr($prefix, -length($file)) = ''; 1232 $prefix = "$filename:$realline: " if ($emacs && $file); 1233 $prefix = "$filename:$linenr: " if ($emacs && !$file); [all …]
|
D | headerdep.pl | 99 open(my $file, '<', $path) or die($!); 100 chomp(my @lines = <$file>); 101 close($file);
|
D | headers_check.pl | 30 foreach my $file (@files) { 32 $filename = $file;
|
D | bloat-o-meter | 16 def getsizes(file): argument 18 for l in os.popen("nm --size-sort " + file).readlines():
|
D | diffconfig | 97 a = readconfig(file(configa_filename)) 98 b = readconfig(file(configb_filename))
|
/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 | modpost.c | 327 char *get_next_line(unsigned long *pos, void *file, unsigned long size) in get_next_line() argument 332 signed char *p = (signed char *)file + *pos; in get_next_line() 356 void release_file(void *file, unsigned long size) in release_file() argument 358 munmap(file, size); in release_file() 1833 FILE *file; in write_if_changed() local 1836 file = fopen(fname, "r"); in write_if_changed() 1837 if (!file) in write_if_changed() 1840 if (fstat(fileno(file), &st) < 0) in write_if_changed() 1847 if (fread(tmp, 1, b->pos, file) != b->pos) in write_if_changed() 1854 fclose(file); in write_if_changed() [all …]
|
/scripts/basic/ |
D | docproc.c | 53 typedef void FILEONLY(char * file); 58 typedef void FILELINE(char * file, char * line); 159 void adddep(char * file) { printf("\t%s", file); } in adddep() argument 160 void adddep2(char * file, char * line) { line = line; adddep(file); } in adddep2() argument 162 void noaction2(char * file, char * line) { file = file; line = line; } in noaction2() argument
|
/scripts/genksyms/ |
D | lex.l | 150 char *file, *e; 157 file = strchr(yytext, '\"')+1; 158 e = strchr(file, '\"'); 160 cur_filename = memcpy(xmalloc(e-file+1), file, e-file+1);
|