/usr/share/doc/coccinelle-doc/examples/iso-kzalloc.cocci is in coccinelle-doc 1.0.0~rc10.deb-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | // A*B is not just a toy isomorphism :) it's really useful sometimes.
@@
expression E;
constant c;
type T;
@@
-kzalloc(c * sizeof(T), E)
+kcalloc(c, sizeof(T), E)
|