| /linux-6.15/scripts/ |
| H A D | coccicheck | 244 $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 D | iounmap.cocci | 57 cocci.print_main("ioremap",p1) 58 cocci.print_secs("if",p2) 59 cocci.print_secs("needed iounmap",p3)
|
| H A D | clk_put.cocci | 57 cocci.print_main("clk_get",p1) 58 cocci.print_secs("if",p2) 59 cocci.print_secs("needed clk_put",p3)
|
| H A D | ifnulldev_put.cocci | 5 /// Based on ifnullfree.cocci by Fabian Frederick. 48 cocci.print_main("NULL check before dev_{put, hold} functions is not needed", p)
|
| H A D | ifnullfree.cocci | 6 /// and kfreeaddr.cocci by Julia Lawall. 60 cocci.print_main("NULL check before that freeing function is not needed", p)
|
| H A D | put_device.cocci | 54 cocci.print_main("of_find_device_by_node", p1) 55 cocci.print_secs("needed put_device", p2)
|
| H A D | pci_free_consistent.cocci | 52 cocci.print_main(msg,p1) 53 cocci.print_secs("",p2)
|
| /linux-6.15/scripts/coccinelle/api/alloc/ |
| H A D | alloc_cast.cocci | 50 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 D | kstrdup.cocci | 80 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 D | d_find_alias.cocci | 61 cocci.print_main("Missing call to dput()",p1) 62 cocci.print_secs("",p2)
|
| H A D | pm_runtime.cocci | 104 cocci.print_main(pm_runtime_api,p1) 105 cocci.print_secs("IS_ERR_VALUE",p2)
|
| /linux-6.15/scripts/coccinelle/misc/ |
| H A D | doubleinit.cocci | 41 cocci.print_main(fld,p0) 42 cocci.print_secs("s",ps) 43 cocci.print_secs("r",pr)
|
| H A D | cstptr.cocci | 33 cocci.print_main("PTR_ERR",p2) 34 cocci.print_secs("assignment",p1)
|
| H A D | semicolon.cocci | 64 cocci.include_match(False) 84 cocci.print_main("Unneeded semicolon",p)
|
| H A D | ifcol.cocci | 39 cocci.print_main("branch",p1) 40 cocci.print_secs("after",p2)
|
| H A D | returnvar.cocci | 66 cocci.print_main("unneeded \"" + ret + "\" variable", p1) 67 cocci.print_sec("return " + C + " here", p2)
|
| H A D | warn.cocci | 35 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 D | call_kern.cocci | 94 cocci.print_main("lock",p1) 95 cocci.print_secs("call",p2) 96 cocci.print_secs("GFP_KERNEL",p)
|
| H A D | flags.cocci | 72 cocci.print_main("original lock",p1) 73 cocci.print_secs("nested lock+irqsave that reuses flags",p2)
|
| H A D | double_lock.cocci | 83 cocci.print_main(lock,p1) 84 cocci.print_secs("second lock",p2)
|
| /linux-6.15/scripts/coccinelle/null/ |
| H A D | eno.cocci | 40 cocci.print_main("alloc call",p1) 41 cocci.print_secs("IS_ERR that should be NULL tests",p2)
|
| H A D | deref_null.cocci | 100 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 D | kmerr.cocci | 64 cocci.print_main("alloc call",p1) 65 cocci.print_secs("possible model",p2)
|
| /linux-6.15/Documentation/dev-tools/ |
| H A D | coccinelle.rst | 160 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 D | list_entry_update.cocci | 54 cocci.print_main("iterator",p1) 55 cocci.print_secs("update",p2)
|