/scripts/dtc/ |
D | treesource.c | 37 yyin = current_srcfile->f; in dt_from_source() 49 static void write_prefix(FILE *f, int level) in write_prefix() argument 54 fputc('\t', f); in write_prefix() 64 static void write_propval_string(FILE *f, struct data val) in write_propval_string() argument 74 fprintf(f, "%s: ", m->ref); in write_propval_string() 77 fprintf(f, "\""); in write_propval_string() 84 fprintf(f, "\\a"); in write_propval_string() 87 fprintf(f, "\\b"); in write_propval_string() 90 fprintf(f, "\\t"); in write_propval_string() 93 fprintf(f, "\\n"); in write_propval_string() [all …]
|
D | flattree.c | 117 static void emit_label(FILE *f, const char *prefix, const char *label) in emit_label() argument 119 fprintf(f, "\t.globl\t%s_%s\n", prefix, label); in emit_label() 120 fprintf(f, "%s_%s:\n", prefix, label); in emit_label() 121 fprintf(f, "_%s_%s:\n", prefix, label); in emit_label() 124 static void emit_offset_label(FILE *f, const char *label, int offset) in emit_offset_label() argument 126 fprintf(f, "\t.globl\t%s\n", label); in emit_offset_label() 127 fprintf(f, "%s\t= . + %d\n", label, offset); in emit_offset_label() 130 #define ASM_EMIT_BELONG(f, fmt, ...) \ argument 132 fprintf((f), "\t.byte\t((" fmt ") >> 24) & 0xff\n", __VA_ARGS__); \ 133 fprintf((f), "\t.byte\t((" fmt ") >> 16) & 0xff\n", __VA_ARGS__); \ [all …]
|
D | update-dtc-source.sh | 46 for f in $DTC_SOURCE; do 47 cp ${DTC_UPSTREAM_PATH}/${f} ${f} 48 git add ${f} 50 for f in $DTC_GENERATED; do 51 cp ${DTC_UPSTREAM_PATH}/$f ${f}_shipped 52 git add ${f}_shipped 54 for f in $LIBFDT_SOURCE; do 55 cp ${DTC_UPSTREAM_PATH}/libfdt/${f} libfdt/${f} 56 git add libfdt/${f}
|
D | srcpos.c | 119 FILE *f; in srcfile_relative_open() local 123 f = stdin; in srcfile_relative_open() 126 fullname = fopen_any_on_path(fname, &f); in srcfile_relative_open() 127 if (!f) in srcfile_relative_open() 140 return f; in srcfile_relative_open() 152 srcfile->f = srcfile_relative_open(fname, &srcfile->name); in srcfile_push() 170 if (fclose(srcfile->f)) in srcfile_pop() 317 void srcpos_set_line(char *f, int l) in srcpos_set_line() argument 319 current_srcfile->name = f; in srcpos_set_line()
|
D | dtc.c | 127 FILE *f; in guess_input_format() local 138 f = fopen(fname, "r"); in guess_input_format() 139 if (f == NULL) in guess_input_format() 141 if (fread(&magic, 4, 1, f) != 1) { in guess_input_format() 142 fclose(f); in guess_input_format() 145 fclose(f); in guess_input_format()
|
D | dtc-parser.y | 236 FILE *f = srcfile_relative_open($4.val, NULL); variable 240 if (fseek(f, $6, SEEK_SET) != 0) 245 d = data_copy_file(f, $8); 248 fclose(f); 252 FILE *f = srcfile_relative_open($4.val, NULL); variable 255 d = data_copy_file(f, -1); 258 fclose(f);
|
D | dtc.h | 105 struct data data_copy_file(FILE *f, size_t len); 255 void dt_to_blob(FILE *f, struct boot_info *bi, int version); 256 void dt_to_asm(FILE *f, struct boot_info *bi, int version); 262 void dt_to_source(FILE *f, struct boot_info *bi); 263 struct boot_info *dt_from_source(const char *f);
|
/scripts/ |
D | prune-kernel | 7 for f in "$@" 9 if rpm -qf "/lib/modules/$f" >/dev/null; then 10 echo "keeping $f (installed from rpm)" 11 elif [ $(uname -r) = "$f" ]; then 12 echo "keeping $f (running kernel) " 14 echo "removing $f" 15 rm -f "/boot/initramfs-$f.img" "/boot/System.map-$f" 16 rm -f "/boot/vmlinuz-$f" "/boot/config-$f" 17 rm -rf "/lib/modules/$f" 18 new-kernel-pkg --remove $f
|
D | checkincludes.pl | 41 open(my $f, '<', $file) 47 while (<$f>) { 54 close($f); 65 open($f, '>', $file) 77 print {$f} $_; 82 print {$f} $_; 88 close($f);
|
D | cleanpatch | 95 foreach $f ( @files ) { 96 print STDERR "$name: $f\n"; 98 if (! -f $f) { 99 print STDERR "$f: not a file\n"; 103 if (!open(FILE, '+<', $f)) { 104 print STDERR "$name: Cannot open file: $f: $!\n"; 123 print STDERR "$name: $f: binary file\n"; 168 "$f:$lineno: adds line exceeds $max_width ", 181 print STDERR "$name: $f: malformed patch\n"; 187 print STDERR "$name: $f: malformed patch\n"; [all …]
|
D | cleanfile | 95 foreach $f ( @files ) { 96 print STDERR "$name: $f\n"; 98 if (! -f $f) { 99 print STDERR "$f: not a file\n"; 103 if (!open(FILE, '+<', $f)) { 104 print STDERR "$name: Cannot open file: $f: $!\n"; 123 print STDERR "$name: $f: binary file\n"; 158 "$f:$lineno: line exceeds $max_width characters ($l_width)\n"; 171 die "$name: Failed to truncate modified file: $f: $!\n";
|
D | checkversion.pl | 17 open( my $f, '<', $file ) 24 while (<$f>) { 70 close($f);
|
D | stackdelta | 19 my $f = shift; 20 open(my $fh, '<', $f) 21 or die "cannot open $f: $!";
|
D | Makefile.headersinst | 95 cmd_check = for f in $(all-files); do \ 96 echo "$(installdir)/$${f}"; done \ 131 $(foreach f,$(targets),$(dir $(f)).$(notdir $(f)).cmd))
|
D | Makefile.fwinst | 66 cmd_files := $(wildcard $(foreach f,$(targets),$(dir $(f)).$(notdir $(f)).cmd))
|
D | extract-cert.c | 110 FILE *f = fopen(cert_dst, "wb"); in main() local 111 ERR(!f, "%s", cert_dst); in main() 112 fclose(f); in main()
|
D | Kbuild.include | 61 rm -f $@.tmp; \ 64 mv -f $@.tmp $@; \ 97 rm -f "$$TMP" "$$TMPO") 234 # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.build obj= 237 build := -f $(srctree)/scripts/Makefile.build obj 240 # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.modbuiltin obj= 243 modbuiltin := -f $(srctree)/scripts/Makefile.modbuiltin obj 246 # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.dtbinst obj= 249 dtbinst := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.dtbinst obj 252 # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.clean obj= [all …]
|
/scripts/coccinelle/null/ |
D | badzero.cocci | 27 identifier f; 31 (E = f(...)) == 35 (E = f(...)) != 41 == (E = f(...)) 45 != (E = f(...)) 51 identifier f; 56 (E = f(...)) == 59 (E = f(...)) != 63 == (E = f(...)) 66 != (E = f(...)) [all …]
|
D | deref_null.cocci | 29 identifier f; 33 (E != NULL && ...) ? <+...E->f@p1...+> : ... 37 identifier f; 42 (E != NULL) && ... && <+...E->f@p2...+> 44 (E == NULL) || ... || <+...E->f@p2...+> 46 sizeof(<+...E->f@p2...+>) 55 identifier f; 84 E->f@p // bad use 116 identifier f; 145 E->f@p // bad use [all …]
|
D | kmerr.cocci | 22 identifier f,fld; 25 x@p = f(...); 34 identifier f; 39 *x1@p = f(...); 50 identifier f; 55 x1@p = f@p2(...);
|
/scripts/coccinelle/misc/ |
D | noderef.cocci | 18 expression f; 29 f(...,(T)(x),...,sizeof( 34 f(...,sizeof( 39 f(...,(T)(x),...,i*sizeof( 44 f(...,i*sizeof( 52 expression f; 61 *f(...,(T)(x),...,sizeof@p(x),...) 63 *f(...,sizeof@p(x),...,(T)(x),...) 65 *f(...,(T)(x),...,i*sizeof@p(x),...) 67 *f(...,i*sizeof@p(x),...,(T)(x),...)
|
/scripts/coccinelle/api/ |
D | simple_open.cocci | 14 identifier i, f; 16 -int open_f(struct inode *i, struct file *f) 20 -f->private_data = i->i_private; 22 -f->private_data = i->i_private; 40 identifier i, f; 43 int open_f@p(struct inode *i, struct file *f) 47 f->private_data = i->i_private; 49 f->private_data = i->i_private;
|
/scripts/genksyms/ |
D | genksyms.c | 69 static void print_list(FILE * f, struct string_list *list); 420 static struct string_list *read_node(FILE *f) in read_node() argument 428 while ((c = fgetc(f)) != EOF) { in read_node() 438 ungetc(c, f); in read_node() 468 static void read_reference(FILE *f) in read_reference() argument 470 while (!feof(f)) { in read_reference() 476 sym = read_node(f); in read_reference() 481 sym = read_node(f); in read_reference() 485 def = read_node(f); in read_reference() 490 def = read_node(f); in read_reference() [all …]
|
/scripts/coccinelle/free/ |
D | kfreeaddr.cocci | 15 identifier f; 20 * kfree@p(&e->f) 22 * kzfree@p(&e->f)
|
/scripts/kconfig/ |
D | streamline_config.pl | 107 next if ( ! -f "$file"); 355 if ( ! -f $lsmod_file) { 356 if ( -f $ENV{'objtree'}."/".$lsmod_file) { 623 } elsif ($orig_cert ne $default_cert && ! -f $orig_cert) { 637 if (! -f $orig_keys) {
|