Home
last modified time | relevance | path

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

1234

/scripts/
Ddocumentation-file-ref-check60 my $f = $doc_ref;
63 $f =~ s,.*\<([^\>]+)\>,$1,;
65 if ($f =~ m,^/,) {
66 $f = "$f.rst";
67 $f =~ s,^/,Documentation/,;
69 $f = "$d$f.rst";
72 next if (grep -e, glob("$f"));
88 my $f = $1;
92 next if ($f =~ m,^Next/,);
95 next if ($f =~ m/Makefile/ || $f =~ m/\.sh$/);
[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"
20 new-kernel-pkg --remove $f
[all …]
Drust_is_available_test.py38 return cls.generate_executable(f"""#!/usr/bin/env python3
48 return cls.generate_executable(f"""#!/usr/bin/env python3
59 … libclang_case = f"raise SystemExit({cls.bindgen_default_bindgen_libclang_failure_exit_code})"
61 libclang_case = f"print({repr(libclang_stderr)}, file=sys.stderr)"
68 return cls.generate_executable(f"""#!/usr/bin/env python3
107 cls.bindgen_default_bindgen_version_stdout = f"bindgen {cls.bindgen_default_version}"
109 …cls.bindgen_default_bindgen_libclang_stderr = f"scripts/rust_is_available_bindgen_libclang.h:2:9: …
111 cls.default_rustc = cls.generate_rustc(f"rustc {cls.rustc_default_version}")
113 cls.default_cc = cls.generate_clang(f"clang version {cls.llvm_default_version}")
179 self.assertIn(f"Rust compiler '{self.missing}' could not be found.", result.stderr)
[all …]
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";
Ddev-needs.sh147 f=$1/of_node/compatible
148 if [ -e $f ]
150 echo -n $(cat $f)
157 f=$1/driver/module
158 if [ -e $f ]
160 echo -n $(basename $(realpath $f))
167 f=$1/driver
168 if [ -e $f ]
170 echo -n $(basename $(realpath $f))
177 f=$1/firmware_node
[all …]
DMakefile.asm-headers37 redundant += $(foreach f, $(generic-y), $(if $(wildcard $(src)/$(f)),$(f)))
44 generic-y += $(foreach f, $(mandatory-y), $(if $(wildcard $(src)/$(f)),,$(f)))
104 -include $(foreach f,$(existing-targets),$(dir $(f)).$(notdir $(f)).cmd)
Dcheckdeclares.pl30 open(my $f, '<', $file)
35 while (<$f>) {
41 close($f);
Dcheckversion.pl19 open( my $f, '<', $file )
26 while (<$f>) {
75 close($f);
Dstackdelta20 my $f = shift;
21 open(my $fh, '<', $f)
22 or die "cannot open $f: $!";
Dmake_fit.py104 fsw.property_string('description', f'{name} with devicetree set')
152 with fsw.add_node(f'conf-{seq}'):
155 fsw.property('fdt', bytes(''.join(f'fdt-{x}\x00' for x in files), "ascii"))
175 raise ValueError(f"Unknown compression algorithm '{compress}'")
188 raise ValueError(f'Missing tool(s): {comp.tools}\n')
204 with fsw.add_node(f'fdt-{seq}'):
237 cmd_fname = os.path.join(path, f'.{basename}.cmd')
322 print(f'FIT size {comp_size:#x}/{comp_size / 1024 / 1024:.1f} MB',
325 print(f', header {ext_fit_size:#x}/{ext_fit_size / 1024:.1f} KB',
327 print(f', {count} files, uncompressed {size / 1024 / 1024:.1f} MB')
/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 …]
Ddt-extract-compatibles59 with open(file, 'r', encoding='utf-8') as f:
60 data = f.read().replace('\n', '')
80 with open(file, 'r', encoding='utf-8') as f:
81 data = f.read().replace('\n', '')
103 for f in files:
104 if fnmatch.fnmatch(f, glob):
105 yield os.path.join(path, f)
108 for f in path_args:
109 if os.path.isdir(f):
110 for filename in glob_without_symlinks(f, "*.c"):
[all …]
Dupdate-dtc-source.sh58 for f in $DTC_SOURCE $FDTOVERLAY_SOURCE; do
59 cp ${DTC_UPSTREAM_PATH}/${f} ${f}
60 git add ${f}
62 for f in $LIBFDT_SOURCE; do
63 cp ${DTC_UPSTREAM_PATH}/libfdt/${f} libfdt/${f}
64 git add libfdt/${f}
/scripts/coccinelle/api/
Dkfree_mismatch.cocci65 position f != free.fok;
74 * \(vfree\|vfree_atomic\|kvfree\)(E)@f
79 position f != free.fok;
88 - \(vfree\|vfree_atomic\|kvfree\)(E)@f
94 position f != free.fok;
102 * \(kfree\|kfree_sensitive\|kvfree\)(E)@f
107 position f != free.fok;
115 - \(kfree\|kvfree\)(E)@f
120 position a, f;
127 * \(kfree\|kfree_sensitive\|vfree\|vfree_atomic\)(E)@f
[all …]
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/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),...)
Ddo_div.cocci66 expression f;
74 * do_div(f, l);
76 * do_div(f, ul);
78 * do_div(f, ul64);
80 * do_div(f, sl64);
84 expression f;
92 do_div@p(f, l);
94 do_div@p(f, ul);
96 do_div@p(f, ul64);
98 do_div@p(f, sl64);
/scripts/gdb/linux/
Dtimerlist.py86 text += "\n".join([s.format(f, cpu_base[f]) for s, f in fmts])
92 text += f" .{'nohz':15s}: {int(bool(ts['flags'] & TS_FLAG_NOHZ))}\n"
93 text += f" .{'last_tick':15s}: {ts['last_tick']}\n"
94 text += f" .{'tick_stopped':15s}: {int(bool(ts['flags'] & TS_FLAG_STOPPED))}\n"
95 text += f" .{'idle_jiffies':15s}: {ts['idle_jiffies']}\n"
96 text += f" .{'idle_calls':15s}: {ts['idle_calls']}\n"
97 text += f" .{'idle_sleeps':15s}: {ts['idle_sleeps']}\n"
98 text += f" .{'idle_entrytime':15s}: {ts['idle_entrytime']} nsecs\n"
99 text += f" .{'idle_waketime':15s}: {ts['idle_waketime']} nsecs\n"
100 text += f" .{'idle_exittime':15s}: {ts['idle_exittime']} nsecs\n"
[all …]
Dpgtable.py29 raise Exception(f'Unknown page level: {level}')
59 raise Exception(f'Unknown level {level}')
78 return f"""\
146 return f"""\
155 return "" if level == 1 else f"{'bit': <3} {ps_bit: <5} {'page size': <30} {ps}"
157 return f"""\
179 return f"""\
209 vm_address = gdb.parse_and_eval(f'{arg}')

1234