Home
last modified time | relevance | path

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

123

/scripts/
Ddocumentation-file-ref-check58 my $f = $doc_ref;
61 $f =~ s,.*\<([^\>]+)\>,$1,;
63 $f ="$d$f.rst";
65 next if (grep -e, glob("$f"));
72 print STDERR "$f: :doc:`$doc_ref`\n";
81 my $f = $1;
85 next if ($f =~ m,^Next/,);
88 next if ($f =~ m/Makefile/ || $f =~ m/\.sh$/);
91 next if ($f eq $scriptname);
137 if ($f =~ m/tools/) {
[all …]
Dprune-kernel8 for f in "$@"
10 if rpm -qf "/lib/modules/$f" >/dev/null; then
11 echo "keeping $f (installed from rpm)"
12 elif [ $(uname -r) = "$f" ]; then
13 echo "keeping $f (running kernel) "
15 echo "removing $f"
16 rm -f "/boot/initramfs-$f.img" "/boot/System.map-$f"
17 rm -f "/boot/vmlinuz-$f" "/boot/config-$f"
18 rm -rf "/lib/modules/$f"
19 new-kernel-pkg --remove $f
Dcheckincludes.pl44 open(my $f, '<', $file)
50 while (<$f>) {
57 close($f);
69 open($f, '>', $file)
82 print {$f} $_;
87 print {$f} $_;
93 close($f);
Dcleanpatch97 foreach $f ( @files ) {
98 print STDERR "$name: $f\n";
100 if (! -f $f) {
101 print STDERR "$f: not a file\n";
105 if (!open(FILE, '+<', $f)) {
106 print STDERR "$name: Cannot open file: $f: $!\n";
125 print STDERR "$name: $f: binary file\n";
170 "$f:$lineno: adds line exceeds $max_width ",
183 print STDERR "$name: $f: malformed patch\n";
189 print STDERR "$name: $f: malformed patch\n";
[all …]
Dcleanfile97 foreach $f ( @files ) {
98 print STDERR "$name: $f\n";
100 if (! -f $f) {
101 print STDERR "$f: not a file\n";
105 if (!open(FILE, '+<', $f)) {
106 print STDERR "$name: Cannot open file: $f: $!\n";
125 print STDERR "$name: $f: binary file\n";
160 "$f:$lineno: line exceeds $max_width characters ($l_width)\n";
173 die "$name: Failed to truncate modified file: $f: $!\n";
DMakefile.asm-generic23 redundant += $(foreach f, $(generic-y), $(if $(wildcard $(srctree)/$(src)/$(f)),$(f)))
30 generic-y += $(foreach f, $(mandatory-y), $(if $(wildcard $(srctree)/$(src)/$(f)),,$(f)))
Dcheckversion.pl18 open( my $f, '<', $file )
25 while (<$f>) {
71 close($f);
Dstackdelta20 my $f = shift;
21 open(my $fh, '<', $f)
22 or die "cannot open $f: $!";
Dgen_compile_commands.py127 with open(filepath, 'rt') as f:
128 for line in f:
141 with open(output, 'wt') as f:
142 json.dump(compile_commands, f, indent=2, sort_keys=True)
DMakefile.modfinal75 -include $(foreach f,$(existing-targets),$(dir $(f)).$(notdir $(f)).cmd)
/scripts/dtc/
Dtreesource.c22 yyin = current_srcfile->f; in dt_from_source()
34 static void write_prefix(FILE *f, int level) in write_prefix() argument
39 fputc('\t', f); in write_prefix()
49 static void write_propval_string(FILE *f, const char *s, size_t len) in write_propval_string() argument
58 fprintf(f, "\""); in write_propval_string()
63 fprintf(f, "\\a"); in write_propval_string()
66 fprintf(f, "\\b"); in write_propval_string()
69 fprintf(f, "\\t"); in write_propval_string()
72 fprintf(f, "\\n"); in write_propval_string()
75 fprintf(f, "\\v"); in write_propval_string()
[all …]
Dflattree.c102 static void emit_label(FILE *f, const char *prefix, const char *label) in emit_label() argument
104 fprintf(f, "\t.globl\t%s_%s\n", prefix, label); in emit_label()
105 fprintf(f, "%s_%s:\n", prefix, label); in emit_label()
106 fprintf(f, "_%s_%s:\n", prefix, label); in emit_label()
109 static void emit_offset_label(FILE *f, const char *label, int offset) in emit_offset_label() argument
111 fprintf(f, "\t.globl\t%s\n", label); in emit_offset_label()
112 fprintf(f, "%s\t= . + %d\n", label, offset); in emit_offset_label()
115 #define ASM_EMIT_BELONG(f, fmt, ...) \ argument
117 fprintf((f), "\t.byte\t((" fmt ") >> 24) & 0xff\n", __VA_ARGS__); \
118 fprintf((f), "\t.byte\t((" fmt ") >> 16) & 0xff\n", __VA_ARGS__); \
[all …]
Dupdate-dtc-source.sh57 for f in $DTC_SOURCE; do
58 cp ${DTC_UPSTREAM_PATH}/${f} ${f}
59 git add ${f}
61 for f in $LIBFDT_SOURCE; do
62 cp ${DTC_UPSTREAM_PATH}/libfdt/${f} libfdt/${f}
63 git add libfdt/${f}
Dsrcpos.c148 FILE *f; in srcfile_relative_open() local
152 f = stdin; in srcfile_relative_open()
155 fullname = fopen_any_on_path(fname, &f); in srcfile_relative_open()
156 if (!f) in srcfile_relative_open()
169 return f; in srcfile_relative_open()
181 srcfile->f = srcfile_relative_open(fname, &srcfile->name); in srcfile_push()
202 if (fclose(srcfile->f)) in srcfile_pop()
397 void srcpos_set_line(char *f, int l) in srcpos_set_line() argument
399 current_srcfile->name = f; in srcpos_set_line()
404 set_initial_path(f); in srcpos_set_line()
Ddtc.c134 FILE *f; in guess_input_format() local
145 f = fopen(fname, "r"); in guess_input_format()
146 if (f == NULL) in guess_input_format()
148 if (fread(&magic, 4, 1, f) != 1) { in guess_input_format()
149 fclose(f); in guess_input_format()
152 fclose(f); in guess_input_format()
/scripts/coccinelle/null/
Dbadzero.cocci28 identifier f;
32 (E = f(...)) ==
36 (E = f(...)) !=
42 == (E = f(...))
46 != (E = f(...))
52 identifier f;
57 (E = f(...)) ==
60 (E = f(...)) !=
64 == (E = f(...))
67 != (E = f(...))
[all …]
Dderef_null.cocci22 identifier f;
26 (E != NULL && ...) ? <+...E->f@p1...+> : ...
30 identifier f;
35 (E != NULL) && ... && <+...E->f@p2...+>
37 (E == NULL) || ... || <+...E->f@p2...+>
39 sizeof(<+...E->f@p2...+>)
56 identifier f;
85 E->f@p // bad use
117 identifier f;
146 E->f@p // bad use
[all …]
Dkmerr.cocci23 identifier f,fld;
26 x@p = f(...);
35 identifier f;
40 *x1@p = f(...);
51 identifier f;
56 x1@p = f@p2(...);
/scripts/coccinelle/misc/
Dnoderef.cocci19 expression f;
30 f(...,(T)(x),...,sizeof(
35 f(...,sizeof(
40 f(...,(T)(x),...,i*sizeof(
45 f(...,i*sizeof(
53 expression f;
62 *f(...,(T)(x),...,sizeof@p(x),...)
64 *f(...,sizeof@p(x),...,(T)(x),...)
66 *f(...,(T)(x),...,i*sizeof@p(x),...)
68 *f(...,i*sizeof@p(x),...,(T)(x),...)
/scripts/coccinelle/api/
Dsimple_open.cocci15 identifier i, f;
17 -int open_f(struct inode *i, struct file *f)
21 -f->private_data = i->i_private;
23 -f->private_data = i->i_private;
41 identifier i, f;
44 int open_f@p(struct inode *i, struct file *f)
48 f->private_data = i->i_private;
50 f->private_data = i->i_private;
/scripts/coccinelle/free/
Dkfreeaddr.cocci16 identifier f;
21 * kfree@p(&e->f)
23 * kzfree@p(&e->f)
/scripts/genksyms/
Dgenksyms.c57 static void print_list(FILE * f, struct string_list *list);
408 static struct string_list *read_node(FILE *f) in read_node() argument
416 while ((c = fgetc(f)) != EOF) { in read_node()
426 ungetc(c, f); in read_node()
456 static void read_reference(FILE *f) in read_reference() argument
458 while (!feof(f)) { in read_reference()
464 sym = read_node(f); in read_reference()
469 sym = read_node(f); in read_reference()
473 def = read_node(f); in read_reference()
478 def = read_node(f); in read_reference()
[all …]
/scripts/kconfig/
Dpreprocess.c90 void env_write_dep(FILE *f, const char *autoconfig_name) in env_write_dep() argument
95 fprintf(f, "ifneq \"$(%s)\" \"%s\"\n", e->name, e->value); in env_write_dep()
96 fprintf(f, "%s: FORCE\n", autoconfig_name); in env_write_dep()
97 fprintf(f, "endif\n"); in env_write_dep()
204 const struct function *f; in function_expand() local
208 f = &function_table[i]; in function_expand()
209 if (strcmp(f->name, name)) in function_expand()
212 if (argc < f->min_args) in function_expand()
216 if (argc > f->max_args) in function_expand()
220 return f->func(argc, argv); in function_expand()
/scripts/gdb/linux/
Dtimerlist.py87 text += "\n".join([s.format(f, cpu_base[f]) for s, f in fmts])
105 text += "\n".join([s.format(f, ts[f]) for s, f in fmts])
Dconfig.py38 with open(filename, 'wb') as f:
39 f.write(config_buf)

123