Searched refs:match_free (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_frees_param_strict.c | 65 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 D | check_freeing_null.c | 22 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 D | check_type.c | 33 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 D | check_frees_param.c | 52 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 D | check_free_strict.c | 221 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 D | check_free.c | 207 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 D | kernel.implicit_dependencies.no_structs | 430 …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…
|