Home
last modified time | relevance | path

Searched refs:from (Results 1 – 25 of 26) 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/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/gcc-plugins/
DKconfig42 basic blocks. It supports all gcc versions with plugin support (from
50 extract some entropy from both original and artificially created
59 This plugin was ported from grsecurity/PaX. More information at:
88 This plugin was ported from grsecurity/PaX. More information at:
/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.sh73 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
Dcond_no_effect.cocci23 // have to come from a module built for SHcompact. */
Dboolinit.cocci3 /// comparisons. Based on contributions from Joe Perches, Rusty Russell
/scripts/
Dconfig15 Manipulate options in a .config file from the command line.
Dget_dvb_firmware863 my ($from, $to) = @_;
865 system("cp -f \"$from\" \"$to\"") and die ("cp failed");
DKbuild.include270 # differed from actual command line. This happens when compiler
304 # surrounding quotes and the escaping from quotes and backslashes, and
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/;
/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/mod/
Dmodpost.c1457 const char *from, *from_p; in report_sec_mismatch() local
1464 get_pretty_name(from_is_func, &from, &from_p); in report_sec_mismatch()
1469 modname, fromsec, fromaddr, from, fromsym, from_p, to, tosec, in report_sec_mismatch()
1531 from, prl_from, fromsym, from_p, in report_sec_mismatch()
1548 from, prl_from, fromsym, from_p, in report_sec_mismatch()
1565 from, prl_from, fromsym, from_p, in report_sec_mismatch()
1594 Elf_Sym *from; in default_mismatch_handler() local
1598 from = find_elf_symbol2(elf, r->r_offset, fromsec); in default_mismatch_handler()
1599 fromsym = sym_name(elf, from); in default_mismatch_handler()
1613 is_function(from), tosec, tosym, in default_mismatch_handler()
/scripts/coccinelle/free/
Ddevm_free.cocci9 /// function might be called from a different function than the one

12