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.cocci19 expression from,to,size;
24 + to = memdup_user(from,size);
34 - if (copy_from_user(to, from, size) != 0) {
41 expression from,to,size;
48 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 * ${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/
DKconfig50 basic blocks. It supports all gcc versions with plugin support (from
58 extract some entropy from both original and artificially created
67 This plugin was ported from grsecurity/PaX. More information at:
96 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_diff49 If this script is not run from the root of the linux source tree,
294 Preferred 'dtc' (built from Linux kernel source tree) was not found or
299 If it does not exist, create it from the root of the Linux source tree:
310 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/
Dconfig12 Manipulate options in a .config file from the command line.
DKbuild.include55 # - stdin is piped in from the first prerequisite ($<) so one has
249 # differed from actual command line. This happens when compiler
283 # surrounding quotes and the escaping from quotes and backslashes, and
Dget_dvb_firmware863 my ($from, $to) = @_;
865 system("cp -f \"$from\" \"$to\"") and die ("cp failed");
Dcheckpatch.pl4028 my ($ident, $from, $to) = ($1, $2, $2);
4039 if ($from ne $to) {
4041 "\"(foo$from)\" should be \"(foo$to)\"\n" . $herecurr) &&
4045 $sub_to =~ s/\Q$from\E/$to/;
4053 my ($match, $from, $to, $ident) = ($1, $2, $2, $3);
4066 if ($from ne $to && $ident !~ /^$Modifier$/) {
4068 "\"foo${from}bar\" should be \"foo${to}bar\"\n" . $herecurr) &&
4073 $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.c1471 const char *from, *from_p; in report_sec_mismatch() local
1478 get_pretty_name(from_is_func, &from, &from_p); in report_sec_mismatch()
1483 modname, fromsec, fromaddr, from, fromsym, from_p, to, tosec, in report_sec_mismatch()
1545 from, prl_from, fromsym, from_p, in report_sec_mismatch()
1562 from, prl_from, fromsym, from_p, in report_sec_mismatch()
1579 from, prl_from, fromsym, from_p, in report_sec_mismatch()
1608 Elf_Sym *from; in default_mismatch_handler() local
1612 from = find_elf_symbol2(elf, r->r_offset, fromsec); in default_mismatch_handler()
1613 fromsym = sym_name(elf, from); in default_mismatch_handler()
1627 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