Home
last modified time | relevance | path

Searched refs:use (Results 1 – 23 of 23) sorted by relevance

/scripts/coccinelle/api/
Ddevice_attr_show.cocci4 /// show() must not use snprintf() when formatting the value to be
6 /// will never happen you can use sprintf() otherwise you must use
49 coccilib.report.print_report(p[0], "WARNING: use scnprintf or sprintf")
55 coccilib.org.print_todo(p[0], "WARNING: use scnprintf or sprintf")
Dstream_open.cocci5 // them to stream_open. A stream-like file is a file that does not use ppos in
186 // use mmap and other methods that assume @offset access to file.
205 // under that conditions we can use stream_open instead of nonseekable_open.
Dpm_runtime.cocci2 /// Make sure pm_runtime_* calls does not use unnecessary IS_ERR_VALUE
Dkvmalloc.cocci4 /// Suggest to use kvmalloc instead. Same for kvfree.
/scripts/coccinelle/null/
Dderef_null.cocci67 iter(subE,...) S4 // no use
85 E->f@p // bad use
128 iter(subE,...) S4 // no use
146 E->f@p // bad use
188 iter(subE,...) S4 // no use
206 * E->f@p // bad use
261 iter(subE,...) S4 // no use
279 * E->f@p // bad use
/scripts/gdb/linux/
Dmodules.py86 for use in lists.list_for_each_entry(sources, t, "source_list"):
89 name=use['source']['name'].string()))
/scripts/coccinelle/free/
Dkfree.cocci2 /// Find a use after free.
93 iter(...,subE,...) S // no use
117 E@p2 // bad use
Ddevm_free.cocci4 /// the device is detached, and thus the use of the standard freeing
/scripts/coccinelle/misc/
Dflexible_array.cocci80 msg = "WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/de…
87 msg = "WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/de…
Dboolreturn.cocci2 /// Return statements in functions returning bool should use
Dbugon.cocci55 coccilib.org.print_todo(p[0], "WARNING use BUG_ON")
Darray_size.cocci80 coccilib.org.print_todo(p[0], "WARNING should use ARRAY_SIZE")
Dcond_no_effect.cocci8 // Unfortunately there also seems to be a tendency to use
Dboolinit.cocci2 /// Bool initializations should use true and false. Bool tests don't need
Darray_size_dup.cocci8 /// perform arithmetic overflow check. Thus, if we use an opencoded expression
/scripts/kconfig/lxdialog/
DBIG.FAT.WARNING2 significantly modified from the original. It is for use by the Linux
/scripts/kconfig/tests/preprocess/variable/
DKconfig37 # You can use variable references for the lefthand side of assignment statement.
/scripts/kconfig/tests/preprocess/escape/
DKconfig7 # delimiters. You can use the following trick to do so.
/scripts/coccinelle/locks/
Dflags.cocci2 /// Find nested lock+irqsave functions that use the same flags variables
/scripts/kconfig/
Dmenu.c246 char *use; in sym_check_prop() local
278 use = prop->type == P_SELECT ? "select" : "imply"; in sym_check_prop()
283 "not bool or tristate", sym->name, use); in sym_check_prop()
290 "tristate type", sym2->name, use); in sym_check_prop()
/scripts/
DKbuild.include32 # Escape single quote for use in echo statements
219 # This is no use for dependencies or $(wildcard). We need to strip the
226 # transformed as described above to be suitable for use within the
Dcheckpatch.pl54 my @use = ();
307 'types=s' => \@use,
426 hash_save_array_words(\%use_type, \@use);
6921 my $use = "";
6923 $use = " - use %pS instead";
6924 $use =~ s/pS/ps/ if ($bad_specifier =~ /pf/);
6926 $use = " - '%pA' is only intended to be used from Rust code";
6931 "$ext_type vsprintf pointer extension '$bad_specifier'$use\n" . "$here\n$stat_real\n");
/scripts/gcc-plugins/
DKconfig76 slightly increase memory usage, and prevent the use of forensic