Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 39) sorted by relevance

12

/scripts/dtc/
Dtreesource.c36 yyin = current_srcfile->f; in dt_from_source()
47 static void write_prefix(FILE *f, int level) in write_prefix() argument
52 fputc('\t', f); in write_prefix()
62 static void write_propval_string(FILE *f, struct data val) in write_propval_string() argument
72 fprintf(f, "%s: ", m->ref); in write_propval_string()
75 fprintf(f, "\""); in write_propval_string()
82 fprintf(f, "\\a"); in write_propval_string()
85 fprintf(f, "\\b"); in write_propval_string()
88 fprintf(f, "\\t"); in write_propval_string()
91 fprintf(f, "\\n"); in write_propval_string()
[all …]
Dflattree.c117 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 …]
Ddtc-parser.y197 FILE *f = srcfile_relative_open($4.val, NULL); variable
201 if (fseek(f, $6, SEEK_SET) != 0)
207 d = data_copy_file(f, $8);
210 fclose(f);
214 FILE *f = srcfile_relative_open($4.val, NULL); variable
217 d = data_copy_file(f, -1);
220 fclose(f);
Dsrcpos.c52 FILE *f; in srcfile_relative_open() local
56 f = stdin; in srcfile_relative_open()
65 f = fopen(fullname, "r"); in srcfile_relative_open()
66 if (!f) in srcfile_relative_open()
79 return f; in srcfile_relative_open()
91 srcfile->f = srcfile_relative_open(fname, &srcfile->name); in srcfile_push()
109 if (fclose(srcfile->f)) in srcfile_pop()
Ddtc.h105 struct data data_copy_file(FILE *f, size_t len);
231 void dt_to_blob(FILE *f, struct boot_info *bi, int version);
232 void dt_to_asm(FILE *f, struct boot_info *bi, int version);
238 void dt_to_source(FILE *f, struct boot_info *bi);
239 struct boot_info *dt_from_source(const char *f);
Ddata.c170 struct data data_copy_file(FILE *f, size_t maxlen) in data_copy_file() argument
174 while (!feof(f) && (d.len < maxlen)) { in data_copy_file()
183 ret = fread(d.val + d.len, 1, chunksize, f); in data_copy_file()
185 if (ferror(f)) in data_copy_file()
/scripts/coccinelle/null/
Dbadzero.cocci26 identifier f;
30 (E = f(...)) ==
34 (E = f(...)) !=
40 == (E = f(...))
44 != (E = f(...))
50 identifier f;
55 (E = f(...)) ==
58 (E = f(...)) !=
62 == (E = f(...))
65 != (E = f(...))
[all …]
Dderef_null.cocci29 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 …]
Dkmerr.cocci22 identifier f,fld;
25 x@p = f(...);
34 identifier f;
39 *x1@p = f(...);
50 identifier f;
55 x1@p = f@p2(...);
/scripts/
Dcheckincludes.pl41 open(my $f, '<', $file)
47 while (<$f>) {
54 close($f);
65 open($f, '>', $file)
77 print {$f} $_;
82 print {$f} $_;
88 close($f);
Dcleanpatch95 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 …]
Dcleanfile95 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";
Dcheckversion.pl17 open( my $f, '<', $file )
24 while (<$f>) {
70 close($f);
DMakefile.host65 host-objdirs := $(foreach f,$(__hostprogs), $(if $(dir $(f)),$(dir $(f))))
67 host-objdirs += $(foreach f,$(host-cmulti), \
68 $(foreach m,$($(f)-objs), \
71 host-objdirs += $(foreach f,$(host-cxxmulti), \
72 $(foreach m,$($(f)-cxxobjs), \
DMakefile.headersinst72 cmd_check = for f in $(all-files); do \
73 echo "$(install)/$${f}"; done \
109 $(foreach f,$(targets),$(dir $(f)).$(notdir $(f)).cmd))
Dcoccicheck105 for f in `find $srctree/scripts/coccinelle/ -name '*.cocci' -type f | sort`; do
106 coccinelle $f
DMakefile.fwinst68 cmd_files := $(wildcard $(foreach f,$(targets),$(dir $(f)).$(notdir $(f)).cmd))
DMakefile.modpost143 cmd_files := $(wildcard $(foreach f,$(targets),$(dir $(f)).$(notdir $(f)).cmd))
DKbuild.include59 rm -f $@.tmp; \
62 mv -f $@.tmp $@; \
95 rm -f "$$TMP" "$$TMPO")
161 # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.build obj=
164 build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build obj
167 # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.modbuiltin obj=
170 modbuiltin := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.modbuiltin obj
230 rm -f $(depfile); \
231 mv -f $(dot-target).tmp $(dot-target).cmd)
Dget_maintainer.pl156 if (-f $conf) {
315 return if (!$email_use_mailmap || !(-f "${lk_path}.mailmap"));
395 } elsif (!(-f $file)) {
401 if ($file ne "MAINTAINERS" && -f $file && ($keywords || $file_emails)) {
402 open(my $f, '<', $file)
404 my $text = do { local($/) ; <$f> };
405 close($f);
810 if ( (-f "${lk_path}COPYING")
811 && (-f "${lk_path}CREDITS")
812 && (-f "${lk_path}Kbuild")
[all …]
Dheaderdep.pl77 return $filename if -f $filename;
81 return $path if -f $path;
/scripts/coccinelle/api/
Dsimple_open.cocci14 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/
Dgenksyms.c70 static void print_list(FILE * f, struct string_list *list);
421 static struct string_list *read_node(FILE *f) in read_node() argument
429 while ((c = fgetc(f)) != EOF) { in read_node()
437 ungetc(c, f); in read_node()
467 static void read_reference(FILE *f) in read_reference() argument
469 while (!feof(f)) { in read_reference()
475 sym = read_node(f); in read_reference()
480 sym = read_node(f); in read_reference()
484 def = read_node(f); in read_reference()
489 def = read_node(f); in read_reference()
[all …]
/scripts/kconfig/
Dstreamline_config.pl97 next if ( ! -f "$file");
334 if ( ! -f $lsmod_file) {
335 if ( -f $ENV{'objtree'}."/".$lsmod_file) {
/scripts/coccinelle/locks/
Dflags.cocci43 expression f <= r.flags;
55 ... when != f

12