Home
last modified time | relevance | path

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

/scripts/coccinelle/api/
Ddevice_attr_show.cocci4 /// show() should only use sysfs_emit() or sysfs_emit_at() when formatting
48 coccilib.report.print_report(p[0], "WARNING: please use sysfs_emit or sysfs_emit_at")
54 coccilib.org.print_todo(p[0], "WARNING: please use sysfs_emit or sysfs_emit_at")
Dstream_open.cocci5 // them to stream_open. A stream-like file is a file that does not use ppos in
185 // use mmap and other methods that assume @offset access to file.
204 // under that conditions we can use stream_open instead of nonseekable_open.
Dpm_runtime.cocci2 /// Make sure pm_runtime_* calls do not unnecessarily use IS_ERR_VALUE
Dstring_choices.cocci2 /// Find places to use string_choices.h's various helpers.
Dkvmalloc.cocci4 /// Suggest to use kvmalloc instead. Same for kvfree.
/scripts/coccinelle/misc/
Dstruct_size.cocci3 /// Check for code that could use struct_size().
15 // the overflow Kunit tests have some code which intentionally does not use
66 coccilib.org.print_todo(p[0], "WARNING should use struct_size")
Dflexible_array.cocci99 msg = "WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/de…
106 msg = "WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/de…
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
Darray_size_dup.cocci8 /// perform arithmetic overflow check. Thus, if we use an opencoded expression
/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/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/kconfig/lxdialog/
DBIG.FAT.WARNING2 significantly modified from the original. It is for use by the Linux
/scripts/gdb/linux/
Dmodules.py92 for use in lists.list_for_each_entry(sources, t, "source_list"):
95 name=use['source']['name'].string()))
/scripts/kconfig/tests/preprocess/escape/
DKconfig7 # delimiters. You can use the following trick to do so.
/scripts/kconfig/tests/preprocess/variable/
DKconfig37 # You can use variable references for the lefthand side of assignment statement.
/scripts/coccinelle/locks/
Dflags.cocci2 /// Find nested lock+irqsave functions that use the same flags variables
/scripts/
Dhead-object-list.txt3 # The objects listed here are placed at the head of vmlinux. A typical use-case
Dsyscall.tbl7 # should be added, e.g. we don't use lseek when llseek
8 # is present. New architectures should use this file
346 # 295 through 402 are unassigned to sync up with generic numbers don't use
DKbuild.include56 # Escape single quote for use in echo statements
265 # global .NOTINTERMEDIATE does not work. We can use it on Make > 4.4.
Dcheckpatch.pl55 my @use = ();
310 'types=s' => \@use,
429 hash_save_array_words(\%use_type, \@use);
6931 my $use = "";
6933 $use = " - use %pS instead";
6934 $use =~ s/pS/ps/ if ($bad_specifier =~ /pf/);
6936 $use = " - '%pA' is only intended to be used from Rust code";
6941 "$ext_type vsprintf pointer extension '$bad_specifier'$use\n" . "$here\n$stat_real\n");
/scripts/kconfig/
Dmenu.c236 char *use; in sym_check_prop() local
266 use = prop->type == P_SELECT ? "select" : "imply"; in sym_check_prop()
271 "not bool or tristate", sym->name, use); in sym_check_prop()
278 "tristate type", sym2->name, use); in sym_check_prop()
/scripts/package/
DPKGBUILD105 pkgdesc="Kernel headers sanitized for use in userspace"