Home
last modified time | relevance | path

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

1234

/scripts/
A Ddocumentation-file-ref-check66 $f = "$f.rst";
69 $f = "$d$f.rst";
88 my $f = $1;
187 my $f="";
192 if (!$f) {
195 $f=$new_ref if (-f $new_ref);
198 if (!$f) {
211 if (!$f) {
217 if (!$f) {
223 if (!$f) {
[all …]
A 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 …]
A Dgen-crc-consts.py44 return f'0x{poly:0{2*num_bits//8}x}'
72 print(f' * {what} generated for {s} using')
92 print_header(v, f'Slice-by-{n} CRC table')
101 print(f'\t{s}')
105 print(f'\t{s}')
126 desc = f'G - x^{n}'
229 desc = f'floor(x^{63+n} / G)'
232 desc = f'({desc} * x) - x^64'
236 desc = f'G - x^{n}'
240 desc = f'({desc} - x^0) / x'
[all …]
A Drust_is_available_test.py38 return cls.generate_executable(f"""#!/usr/bin/env python3
48 return cls.generate_executable(f"""#!/usr/bin/env python3
61 libclang_case = f"print({repr(libclang_stderr)}, file=sys.stderr)"
73 return cls.generate_executable(f"""#!/usr/bin/env python3
335 f"rustc {self.rustc_default_version} (a8314ef7d 2022-06-27)",
345 f"bindgen {self.bindgen_default_version}",
346 f"bindgen {self.bindgen_default_version}-dev",
347 f"bindgen {self.bindgen_default_version}-0.999.0",
358 f"""
362 f"""
[all …]
A 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);
A 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 …]
A 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";
A 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 ]
167 f=$1/driver
168 if [ -e $f ]
177 f=$1/firmware_node
178 if [ ! -e $f ]
180 f=$1/of_node
[all …]
A 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)
A Dcheckdeclares.pl30 open(my $f, '<', $file)
35 while (<$f>) {
41 close($f);
A Dtest_doc_build.py27 p = f"python3.{i}"
280 venv_dir = f"Sphinx_{ver}"
281 req_file = f"requirements_{ver}.txt"
283 cmd.log(f"\nSphinx {ver} with {python_bin}", verbose=True)
293 reqs.append(f"{pkg}=={verstr}")
295 reqs.append(f"Sphinx=={ver}")
324 make += [f"O={args.output}", f"SPHINXBUILD={sphinx_build}"]
332 cmd.log(f". {bin_dir}/activate", verbose=True)
396 cmd.log(f"\tSphinx {ver} elapsed time: {elapsed_time}",
409 DEFAULT_VERS += "\n - ".join(map(lambda v: f"{v[0]}.{v[1]}.{v[2]}",
[all …]
/scripts/dtc/
A Dtreesource.c39 fputc('\t', f); in write_prefix()
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()
99 fprintf(f, "\""); in write_propval_string()
123 fputc(' ', f); in write_propval_int()
208 fprintf(f, ";"); in write_propval()
220 fprintf(f, " ="); in write_propval()
[all …]
A Dflattree.c125 FILE *f = e; in asm_emit_cell() local
135 FILE *f = e; in asm_emit_string() local
145 FILE *f = e; in asm_emit_align() local
152 FILE *f = e; in asm_emit_data() local
174 FILE *f = e; in asm_emit_beginnode() local
187 FILE *f = e; in asm_emit_endnode() local
200 FILE *f = e; in asm_emit_property() local
795 FILE *f; in dt_from_blob() local
818 if (feof(f)) in dt_from_blob()
832 if (feof(f)) in dt_from_blob()
[all …]
A Ddt-extract-compatibles60 data = f.read().replace('\n', '')
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):
113 yield f
129 for f in files_to_parse(args.cfile):
132 for f in files_to_parse(args.cfile):
[all …]
A 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/
A Dkfree_mismatch.cocci120 position a, f;
142 position f;
151 position f;
166 f << vfree.f;
174 f << vfree.f;
182 f << kfree.f;
190 f << kfree.f;
198 f << kvfree.f;
206 f << kvfree.f;
215 f << kvfree_switch.f;
[all …]
A 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/
A Dbadzero.cocci28 identifier f;
32 (E = f(...)) ==
52 identifier f;
85 identifier f;
89 E = f(...)
94 f << s.f;
102 identifier f;
105 E = f(...)
114 f << r.f;
128 E = f(...)
[all …]
A Dderef_null.cocci22 identifier f;
30 identifier f;
56 identifier f;
85 E->f@p // bad use
117 identifier f;
146 E->f@p // bad use
177 identifier f;
206 * E->f@p // bad use
218 identifier f;
226 identifier f;
[all …]
/scripts/lib/kdoc/
A Dkdoc_output.py277 self.data += f".. LINENO {ln}\n"
392 self.data += f".. c:macro:: {name}\n\n"
401 self.data += f"``{signature}``\n\n"
448 self.data += f"\n\n.. c:enum:: {name}\n\n"
458 self.data += f"{outer}**Constants**\n\n"
477 self.data += f"\n\n.. c:type:: {name}\n\n"
624 self.data += f'.SH "{section}"' + "\n"
639 self.data += f'.B "{name}' + "\n"
680 self.data += f"enum {name}" + " {\n"
700 self.data += f'.SH "{section}"' + "\n"
[all …]
/scripts/coccinelle/misc/
A 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/gdb/linux/
A Dtimerlist.py86 text += "\n".join([s.format(f, cpu_base[f]) for s, f in fmts])
93 text += f" .{'last_tick':15s}: {ts['last_tick']}\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"
103 text += f" .{'last_jiffies':15s}: {ts['last_jiffies']}\n"
104 text += f" .{'next_timer':15s}: {ts['next_timer']}\n"
[all …]
/scripts/lib/abi/
A Dsystem_symbols.py153 f"^{sysfs}/kernel/debug",
154 f"^{sysfs}/kernel/tracing",
155 f"^{sysfs}/fs/pstore",
156 f"^{sysfs}/fs/bpf",
157 f"^{sysfs}/fs/fuse",
160 f"^{sysfs}/module",
193 self.abi.log.warning(f"missing rules for {fname}")
203 res["msg"] += f" {fname}: regex:\n\t"
362 self.abi.log.warning(f"Future: {e}")
377 for f in sorted(not_found):
[all …]
A Dabi_parser.py287 ref = f"abi_file_{path}_{basename}"
299 f = fname[pos:]
301 f = fname
303 fdata.file_ref = (f, ref)
304 self.file_refs[f] = ref
498 msg += f".. _{key}:\n\n"
564 f = []
567 f.append(f"{fname}")
569 f.append(f"{fname}:{lines[0]}")
573 f.append(m)
[all …]
/scripts/crypto/
A Dgen-hash-testvecs.py73 line = prefix + ''.join(f'0x{b:02x}, ' for b in value[i:i+bytes_per_line])
74 print(f'{line.rstrip()}')
78 print(f'static const u8 {name} = {{')
83 print(f'\t\t.{name} = {{')
91 print(f'\tu8 digest[{alg.upper()}_DIGEST_SIZE];')
96 print(f'\t\t.data_len = {data_len},')
106 f'hash_testvec_consolidated[{alg.upper()}_DIGEST_SIZE]',
119 f'hmac_testvec_consolidated[{alg.upper()}_DIGEST_SIZE]',
142 print(f'/* This file was generated by: {sys.argv[0]} {" ".join(sys.argv[1:])} */')

Completed in 26 milliseconds

1234