Home
last modified time | relevance | path

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

12

/scripts/coccinelle/api/
Dkstrdup.cocci17 expression from,to;
22 - to = kmalloc(strlen(from) + 1,flag);
23 + to = kstrdup(from, flag);
24 ... when != \(from = E1 \| to = E1 \)
26 ... when != \(from = E2 \| to = E2 \)
27 - strcpy(to, from);
30 expression x,from,to;
35 - x = strlen(from) + 1;
36 ... when != \( x = E1 \| from = E1 \)
38 + to = kstrdup(from, flag);
[all …]
Dmemdup.cocci17 expression from,to;
22 to = \(kmalloc@p\|kzalloc@p\)(strlen(from) + 1,flag);
25 expression x,from,to;
30 x = strlen(from) + 1;
31 ... when != \( x = E1 \| from = E1 \)
35 expression from,to,size,flag;
41 + to = kmemdup(from,size,flag);
43 - memcpy(to, from, size);
46 expression from,to,size,flag;
52 to = kmemdup(from,size,flag);
[all …]
Dmemdup_user.cocci18 expression from,to,size,flag;
23 + to = memdup_user(from,size);
33 - if (copy_from_user(to, from, size) != 0) {
40 expression from,to,size,flag;
47 if (copy_from_user(to, from, size) != 0)
/scripts/coccinelle/iterators/
Dlist_entry_update.cocci1 /// list_for_each_entry uses its first argument to get from one element of
4 /// that there is a path from the reassignment back to the top of the loop.
Duse_after_iter.cocci2 /// variable ends up pointing to an address at an offset from the list head,
/scripts/kconfig/
Dzconf.l324 printf(" included from: '%s:%d'\n",
329 printf(" included from: '%s:%d'\n",
Dzconf.lex.c_shipped257 * shouldn't try reading from the input source any more. We might
1469 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
1872 * called from zconfrestart() or through yy_get_next_buffer.
1925 /* This block is copied from zconf_switch_to_buffer. */
1939 /* copied from zconf_switch_to_buffer. */
2010 /** Setup the input buffer state to scan directly from a user-specified character buffer.
2046 * scan from a @e copy of @a str.
2060 * scan from a @e copy of @a bytes.
2206 * This function is called from zconflex_destroy(), so don't allocate here.
2287 * because both ANSI C and C++ allow castless assignment from
[all …]
DMakefile60 --from-code=UTF-8 \
61 --files-from=$(srctree)/scripts/kconfig/POTFILES.in \
Dzconf.tab.c_shipped379 /* Relocate STACK from its old location to the new one. The
398 /* Copy COUNT objects from FROM to TO. The source and destination do
818 /* This is here to suppress warnings from the GCC cpp's
821 YYFAIL uses, which will produce warnings from Bison 2.5. */
847 /* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].
973 | yy_stack_print -- Print the state stack from its BOTTOM up to its |
1127 backslash-backslash). YYSTR is taken from yytname. If YYRES is
1214 to perform extra reductions after fetching a lookahead from the
1216 (from LALR or IELR) and default reductions corrupt the expected
1369 /* Prevent warnings from -Wmissing-prototypes. */
[all …]
/scripts/kconfig/lxdialog/
DBIG.FAT.WARNING2 significantly modified from the original. It is for use by the Linux
/scripts/ksymoops/
DREADME1 ksymoops has been removed from the kernel. It was always meant to be a
/scripts/mod/
Dmodpost.c1310 const char *from, *from_p; in report_sec_mismatch() local
1316 case 0: from = "variable"; from_p = ""; break; in report_sec_mismatch()
1317 case 1: from = "function"; from_p = "()"; break; in report_sec_mismatch()
1318 default: from = "(unknown reference)"; from_p = ""; break; in report_sec_mismatch()
1332 modname, fromsec, fromaddr, from, fromsym, from_p, to, tosec, in report_sec_mismatch()
1394 from, prl_from, fromsym, from_p, in report_sec_mismatch()
1411 from, prl_from, fromsym, from_p, in report_sec_mismatch()
1428 from, prl_from, fromsym, from_p, in report_sec_mismatch()
1457 Elf_Sym *from; in check_section_mismatch() local
1461 from = find_elf_symbol2(elf, r->r_offset, fromsec); in check_section_mismatch()
[all …]
/scripts/
Dconfig11 Manipulate options in a .config file from the command line.
Dcheckpatch.pl3152 my ($ident, $from, $to) = ($1, $2, $2);
3163 if ($from ne $to) {
3165 "\"(foo$from)\" should be \"(foo$to)\"\n" . $herecurr) &&
3169 $sub_to =~ s/\Q$from\E/$to/;
3177 my ($match, $from, $to, $ident) = ($1, $2, $2, $3);
3190 if ($from ne $to && $ident !~ /^$Modifier$/) {
3192 "\"foo${from}bar\" should be \"foo${to}bar\"\n" . $herecurr) &&
3197 $sub_to =~ s/\Q$from\E/$to/;
DKbuild.include52 # - stdin is piped in from the first prerequisite ($<) so one has
266 # differed from actual command line. This happens when compiler
/scripts/coccinelle/locks/
Dflags.cocci79 msg="ERROR: nested lock+irqsave that reuses flags from line %s." % (p1[0].line)
Dmini_lock.cocci2 /// where the unlock is missing from an if branch, and there is a lock
/scripts/dtc/
Ddtc-lexer.l88 /* strip trailing " from filename */
Ddtc-lexer.lex.c_shipped248 * shouldn't try reading from the input source any more. We might
965 /* strip trailing " from filename */
1346 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
1740 * called from yyrestart() or through yy_get_next_buffer.
1793 /* This block is copied from yy_switch_to_buffer. */
1807 /* copied from yy_switch_to_buffer. */
1878 /** Setup the input buffer state to scan directly from a user-specified character buffer.
1914 * scan from a @e copy of @a str.
1928 * scan from a @e copy of @a bytes.
2074 * This function is called from yylex_destroy(), so don't allocate here.
[all …]
Ddtc-parser.tab.c_shipped391 /* Relocate STACK from its old location to the new one. The
410 /* Copy COUNT objects from SRC to DST. The source and destination do
750 /* This is here to suppress warnings from the GCC cpp's
753 YYFAIL uses, which will produce warnings from Bison 2.5. */
876 | yy_stack_print -- Print the state stack from its BOTTOM up to its |
1030 backslash-backslash). YYSTR is taken from yytname. If YYRES is
1116 to perform extra reductions after fetching a lookahead from the
1118 (from LALR or IELR) and default reductions corrupt the expected
1314 /* The variables used to return semantic value and location from the
2117 /* If not already recovering from an error, report this error. */
/scripts/coccinelle/free/
Ddevm_free.cocci8 /// function might be called from a different function than the one
/scripts/genksyms/
Dparse.tab.c_shipped389 /* Relocate STACK from its old location to the new one. The
408 /* Copy COUNT objects from SRC to DST. The source and destination do
890 /* This is here to suppress warnings from the GCC cpp's
893 YYFAIL uses, which will produce warnings from Bison 2.5. */
920 /* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].
1048 | yy_stack_print -- Print the state stack from its BOTTOM up to its |
1202 backslash-backslash). YYSTR is taken from yytname. If YYRES is
1289 to perform extra reductions after fetching a lookahead from the
1291 (from LALR or IELR) and default reductions corrupt the expected
1414 /* Prevent warnings from -Wmissing-prototypes. */
[all …]
Dlex.lex.c_shipped238 * shouldn't try reading from the input source any more. We might
545 Taken from Linux modutils 2.4.22.
1042 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
1477 * called from yyrestart() or through yy_get_next_buffer.
1530 /* This block is copied from yy_switch_to_buffer. */
1544 /* copied from yy_switch_to_buffer. */
1615 /** Setup the input buffer state to scan directly from a user-specified character buffer.
1651 * scan from a @e copy of @a str.
1665 * scan from a @e copy of @a bytes.
1811 * This function is called from yylex_destroy(), so don't allocate here.
[all …]
/scripts/package/
Dbuilddeb325 This package contains firmware from the Linux kernel, version $version.
338 This package provides userspaces headers from the Linux kernel. These headers
/scripts/coccinelle/misc/
Dboolinit.cocci2 /// comparisons. Based on contributions from Joe Perches, Rusty Russell

12