Home
last modified time | relevance | path

Searched refs:match_kfree (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_err_ptr_deref.c131 static void match_kfree(const char *fn, struct expression *expr, void *_arg_nr) in match_kfree() function
232 add_function_hook("kfree", &match_kfree, INT_PTR(0)); in check_err_ptr_deref()
233 add_function_hook("brelse", &match_kfree, INT_PTR(0)); in check_err_ptr_deref()
234 add_function_hook("kmem_cache_free", &match_kfree, INT_PTR(1)); in check_err_ptr_deref()
235 add_function_hook("vfree", &match_kfree, INT_PTR(0)); in check_err_ptr_deref()
H A Dcheck_frees_argument.c51 static void match_kfree(const char *fn, struct expression *expr, void *info) in match_kfree() function
138 add_function_hook("kfree", &match_kfree, NULL); in check_frees_argument()
140 add_function_hook("free", &match_kfree, NULL); in check_frees_argument()