Lines Matching +full:a +full:- +full:f

1 // SPDX-License-Identifier: GPL-2.0-only
9 // Options: --no-includes --include-headers
64 position a != alloc.kok;
65 position f != free.fok;
70 * kcalloc_node\)(...)@a
74 * \(vfree\|vfree_atomic\|kvfree\)(E)@f
78 position a != alloc.kok;
79 position f != free.fok;
84 kcalloc_node\)(...)@a
88 - \(vfree\|vfree_atomic\|kvfree\)(E)@f
93 position a != alloc.vok;
94 position f != free.fok;
99 * __vmalloc_node_range\|__vmalloc_node\)(...)@a
102 * \(kfree\|kfree_sensitive\|kvfree\)(E)@f
106 position a != alloc.vok;
107 position f != free.fok;
112 __vmalloc_node_range\|__vmalloc_node\)(...)@a
115 - \(kfree\|kvfree\)(E)@f
120 position a, f;
124 * kvmalloc_array\)(...)@a
127 * \(kfree\|kfree_sensitive\|vfree\|vfree_atomic\)(E)@f
137 - \(kfree\|vfree\)(E)
142 position f;
147 * \(kfree\|kfree_sensitive\|vfree\|vfree_atomic\)(E)@f
151 position f;
157 - \(kfree\|vfree\)(E)@f
160 - kfree_sensitive(E)@f
165 a << vfree.a;
166 f << vfree.f;
169 msg = "WARNING kmalloc is used to allocate this memory at line %s" % (a[0].line)
170 coccilib.report.print_report(f[0], msg)
173 a << vfree.a;
174 f << vfree.f;
177 msg = "WARNING kmalloc is used to allocate this memory at line %s" % (a[0].line)
178 coccilib.org.print_todo(f[0], msg)
181 a << kfree.a;
182 f << kfree.f;
185 msg = "WARNING vmalloc is used to allocate this memory at line %s" % (a[0].line)
186 coccilib.report.print_report(f[0], msg)
189 a << kfree.a;
190 f << kfree.f;
193 msg = "WARNING vmalloc is used to allocate this memory at line %s" % (a[0].line)
194 coccilib.org.print_todo(f[0], msg)
197 a << kvfree.a;
198 f << kvfree.f;
201 msg = "WARNING kvmalloc is used to allocate this memory at line %s" % (a[0].line)
202 coccilib.report.print_report(f[0], msg)
205 a << kvfree.a;
206 f << kvfree.f;
209 msg = "WARNING kvmalloc is used to allocate this memory at line %s" % (a[0].line)
210 coccilib.org.print_todo(f[0], msg)
215 f << kvfree_switch.f;
219 coccilib.report.print_report(f[0], msg)
224 f << kvfree_switch.f;
228 coccilib.org.print_todo(f[0], msg)