Home
last modified time | relevance | path

Searched refs:from (Results 1 – 25 of 27) sorted by relevance

12

/scripts/coccinelle/api/
Dkstrdup.cocci18 expression from,to;
23 - to = kmalloc(strlen(from) + 1,flag);
24 + to = kstrdup(from, flag);
25 ... when != \(from = E1 \| to = E1 \)
27 ... when != \(from = E2 \| to = E2 \)
28 - strcpy(to, from);
31 expression x,from,to;
36 - x = strlen(from) + 1;
37 ... when != \( x = E1 \| from = E1 \)
39 + to = kstrdup(from, flag);
[all …]
Dmemdup.cocci18 expression from,to;
23 to = \(kmalloc@p\|kzalloc@p\)(strlen(from) + 1,flag);
26 expression x,from,to;
31 x = strlen(from) + 1;
32 ... when != \( x = E1 \| from = E1 \)
36 expression from,to,size,flag;
42 + to = kmemdup(from,size,flag);
44 - memcpy(to, from, size);
47 expression from,to,size,flag;
54 * memcpy(to, from, size);
Dmemdup_user.cocci26 expression from,to,size;
34 + to = memdup_user(from,size);
44 - if (copy_from_user(to, from, size) != 0) {
51 expression from,to,size;
57 + to = vmemdup_user(from,size);
67 - if (copy_from_user(to, from, size) != 0) {
74 expression from,to,size;
83 if (copy_from_user(to, from, size) != 0)
87 expression from,to,size;
94 if (copy_from_user(to, from, size) != 0)
Dstream_open.cocci48 // XXX wait_* can be called not directly from current function (e.g. func -> f -> g -> wait())
/scripts/kconfig/tests/err_recursive_inc/
Dexpected_stderr4 included from: Kconfig.inc3:2
5 included from: Kconfig.inc2:4
6 included from: Kconfig.inc1:5
/scripts/atomic/fallbacks/
Dsub_and_test3 * arch_${atomic}_sub_and_test - subtract value from variable and test result
7 * Atomically subtracts @i from @v and returns
/scripts/gcc-plugins/
DKconfig28 basic blocks. It supports all gcc versions with plugin support (from
36 extract some entropy from both original and artificially created
45 This plugin was ported from grsecurity/PaX. More information at:
/scripts/kconfig/lxdialog/
DBIG.FAT.WARNING2 significantly modified from the original. It is for use by the Linux
/scripts/coccinelle/iterators/
Dlist_entry_update.cocci2 /// list_for_each_entry uses its first argument to get from one element of
5 /// that there is a path from the reassignment back to the top of the loop.
Duse_after_iter.cocci3 /// variable ends up pointing to an address at an offset from the list head,
/scripts/ksymoops/
DREADME1 ksymoops has been removed from the kernel. It was always meant to be a
/scripts/dtc/
Ddtx_diff52 If this script is not run from the root of the linux source tree,
301 Preferred 'dtc' (built from Linux kernel source tree) was not found or
306 If it does not exist, create it from the root of the Linux source tree:
317 this script from the root of the Linux kernel source tree is required.
Dupdate-dtc-source.sh74 This adds the following commits from upstream:
/scripts/coccinelle/misc/
Dadd_namespace.cocci5 /// This script is usually called from scripts/nsdeps with -D ns=<namespace> to
Duninitialized_var.cocci18 /// this kind were cleaned-up from the kernel. This cocci rule checks that
Dcond_no_effect.cocci23 // have to come from a module built for SHcompact. */
/scripts/
Dconfig15 Manipulate options in a .config file from the command line.
Dhead-object-list.txt12 # the entry from this file.
Dget_dvb_firmware863 my ($from, $to) = @_;
865 system("cp -f \"$from\" \"$to\"") and die ("cp failed");
Dcheckpatch.pl4773 my ($ident, $from, $to) = ($1, $2, $2);
4784 if ($from ne $to) {
4786 "\"(foo$from)\" should be \"(foo$to)\"\n" . $herecurr) &&
4790 $sub_to =~ s/\Q$from\E/$to/;
4798 my ($match, $from, $to, $ident) = ($1, $2, $2, $3);
4811 if ($from ne $to && $ident !~ /^$Modifier$/) {
4813 "\"foo${from}bar\" should be \"foo${to}bar\"\n" . $herecurr) &&
4818 $sub_to =~ s/\Q$from\E/$to/;
DKbuild.include199 # differed from actual command line. This happens when compiler
/scripts/coccinelle/locks/
Dflags.cocci80 msg="ERROR: nested lock+irqsave that reuses flags from line %s." % (p1[0].line)
Dmini_lock.cocci3 /// where the unlock is missing from an if branch, and there is a lock
/scripts/gdb/linux/
Dconstants.py.in4 * Kernel constants derived from include files.
/scripts/coccinelle/free/
Ddevm_free.cocci9 /// function might be called from a different function than the one

12