Home
last modified time | relevance | path

Searched refs:cocci (Results 1 – 25 of 44) sorted by relevance

12

/linux-6.15/scripts/
H A Dcoccicheck244 $FLAGS --cocci-file $COCCI $OPT $OPTIONS || \
246 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff || \
248 $FLAGS --cocci-file $COCCI $OPT $OPTIONS || \
250 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff || exit 1
253 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff && \
255 $FLAGS --cocci-file $COCCI $OPT $OPTIONS || exit 1
257 run_cmd $SPATCH -D $MODE $FLAGS --cocci-file $COCCI $OPT $OPTIONS || exit 1
/linux-6.15/scripts/coccinelle/free/
H A Diounmap.cocci57 cocci.print_main("ioremap",p1)
58 cocci.print_secs("if",p2)
59 cocci.print_secs("needed iounmap",p3)
H A Dclk_put.cocci57 cocci.print_main("clk_get",p1)
58 cocci.print_secs("if",p2)
59 cocci.print_secs("needed clk_put",p3)
H A Difnulldev_put.cocci5 /// Based on ifnullfree.cocci by Fabian Frederick.
48 cocci.print_main("NULL check before dev_{put, hold} functions is not needed", p)
H A Difnullfree.cocci6 /// and kfreeaddr.cocci by Julia Lawall.
60 cocci.print_main("NULL check before that freeing function is not needed", p)
H A Dput_device.cocci54 cocci.print_main("of_find_device_by_node", p1)
55 cocci.print_secs("needed put_device", p2)
H A Dpci_free_consistent.cocci52 cocci.print_main(msg,p1)
53 cocci.print_secs("",p2)
/linux-6.15/scripts/coccinelle/api/alloc/
H A Dalloc_cast.cocci50 cocci.include_match(False)
73 cocci.include_match(False)
110 cocci.include_match(False)
120 cocci.include_match(False)
/linux-6.15/scripts/coccinelle/api/
H A Dkstrdup.cocci80 cocci.print_main("WARNING opportunity for kstrdup",p1)
81 cocci.print_secs("strcpy",p2)
88 cocci.print_main("WARNING opportunity for kstrdup",p1)
89 cocci.print_secs("memcpy",p2)
H A Dd_find_alias.cocci61 cocci.print_main("Missing call to dput()",p1)
62 cocci.print_secs("",p2)
H A Dpm_runtime.cocci104 cocci.print_main(pm_runtime_api,p1)
105 cocci.print_secs("IS_ERR_VALUE",p2)
/linux-6.15/scripts/coccinelle/misc/
H A Ddoubleinit.cocci41 cocci.print_main(fld,p0)
42 cocci.print_secs("s",ps)
43 cocci.print_secs("r",pr)
H A Dcstptr.cocci33 cocci.print_main("PTR_ERR",p2)
34 cocci.print_secs("assignment",p1)
H A Dsemicolon.cocci64 cocci.include_match(False)
84 cocci.print_main("Unneeded semicolon",p)
H A Difcol.cocci39 cocci.print_main("branch",p1)
40 cocci.print_secs("after",p2)
H A Dreturnvar.cocci66 cocci.print_main("unneeded \"" + ret + "\" variable", p1)
67 cocci.print_sec("return " + C + " here", p2)
H A Dwarn.cocci35 cocci.print_main("printk + WARN_ON can be just WARN",p)
84 cocci.print_main("printk + WARN_ON_ONCE can be just WARN_ONCE",p)
/linux-6.15/scripts/coccinelle/locks/
H A Dcall_kern.cocci94 cocci.print_main("lock",p1)
95 cocci.print_secs("call",p2)
96 cocci.print_secs("GFP_KERNEL",p)
H A Dflags.cocci72 cocci.print_main("original lock",p1)
73 cocci.print_secs("nested lock+irqsave that reuses flags",p2)
H A Ddouble_lock.cocci83 cocci.print_main(lock,p1)
84 cocci.print_secs("second lock",p2)
/linux-6.15/scripts/coccinelle/null/
H A Deno.cocci40 cocci.print_main("alloc call",p1)
41 cocci.print_secs("IS_ERR that should be NULL tests",p2)
H A Dderef_null.cocci100 cocci.include_match(False)
110 cocci.print_main(msg_safe,p)
111 cocci.include_match(False)
169 cocci.print_main(msg_safe,p)
H A Dkmerr.cocci64 cocci.print_main("alloc call",p1)
65 cocci.print_secs("possible model",p2)
/linux-6.15/Documentation/dev-tools/
H A Dcoccinelle.rst160 make coccicheck COCCI=<my_SP.cocci> MODE=patch
164 make coccicheck COCCI=<my_SP.cocci> MODE=report
217 rm -f cocci.err
218 make coccicheck COCCI=scripts/coccinelle/free/kfree.cocci MODE=report DEBUG_FILE=cocci.err
219 cat cocci.err
226 export COCCI=scripts/coccinelle/misc/irqf_oneshot.cocci
319 one of these tools, and according to the cocci file used,
361 make coccicheck MODE=report COCCI=scripts/coccinelle/api/err_cast.cocci
401 make coccicheck MODE=patch COCCI=scripts/coccinelle/api/err_cast.cocci
447 make coccicheck MODE=context COCCI=scripts/coccinelle/api/err_cast.cocci
[all …]
/linux-6.15/scripts/coccinelle/iterators/
H A Dlist_entry_update.cocci54 cocci.print_main("iterator",p1)
55 cocci.print_secs("update",p2)

12