Home
last modified time | relevance | path

Searched refs:match_free (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_frees_param_strict.c65 static void match_free(const char *fn, struct expression *expr, void *param) in match_free() function
150 add_function_hook("kfree", &match_free, INT_PTR(0)); in check_frees_param_strict()
151 add_function_hook("kmem_cache_free", &match_free, INT_PTR(1)); in check_frees_param_strict()
152 add_function_hook("kfree_skb", &match_free, INT_PTR(0)); in check_frees_param_strict()
153 add_function_hook("kfree_skbmem", &match_free, INT_PTR(0)); in check_frees_param_strict()
154 add_function_hook("dma_pool_free", &match_free, INT_PTR(1)); in check_frees_param_strict()
155 add_function_hook("spi_unregister_controller", &match_free, INT_PTR(0)); in check_frees_param_strict()
H A Dcheck_freeing_null.c22 static void match_free(const char *fn, struct expression *expr, void *data) in match_free() function
44 add_function_hook("kfree", &match_free, NULL); in check_freeing_null()
46 add_function_hook("free", &match_free, NULL); in check_freeing_null()
H A Dcheck_type.c33 static void match_free(const char *fn, struct expression *expr, void *data) in match_free() function
63 add_function_hook("kfree", &match_free, NULL); in check_type()
H A Dcheck_frees_param.c52 static void match_free(const char *fn, struct expression *expr, void *param) in match_free() function
99 add_function_hook("free", &match_free, INT_PTR(0)); in check_frees_param()
H A Dcheck_free_strict.c221 static void match_free(const char *fn, struct expression *expr, void *param) in match_free() function
350 add_function_hook("kfree", &match_free, INT_PTR(0)); in check_free_strict()
351 add_function_hook("kmem_cache_free", &match_free, INT_PTR(1)); in check_free_strict()
H A Dcheck_free.c207 static void match_free(const char *fn, struct expression *expr, void *param) in match_free() function
291 add_function_hook("free", &match_free, INT_PTR(0)); in check_free()
/illumos-gate/usr/src/tools/smatch/src/smatch_data/
H A Dkernel.implicit_dependencies.no_structs430 …y_type)->update, (struct key_type)->match_preparse, (struct key_type)->match_free, (struct key_typ…
431 …y_type)->update, (struct key_type)->match_preparse, (struct key_type)->match_free, (struct key_typ…