Home
last modified time | relevance | path

Searched refs:allocation_funcs (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/
H A Dgen_allocation_list.sh16 remove=$(echo ${bin_dir}/../smatch_data/kernel.allocation_funcs.remove)
20 > kernel.allocation_funcs
21 echo '// generated by `gen_allocation_list.sh`' >> kernel.allocation_funcs
29 >> kernel.allocation_funcs
H A Dadd_gfp_to_allocations.sh3 if ! test -e kernel.allocation_funcs || ! test -e kernel.gfp_flags ; then
14 for i in $(grep -v "//" kernel.allocation_funcs) ; do
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_allocation_funcs.c32 static const char *allocation_funcs[] = { variable
102 for (i = 0; allocation_funcs[i]; i++) { in check_allocation_funcs()
103 add_function_assign_hook(allocation_funcs[i], in check_allocation_funcs()
H A Dcheck_leaks.c49 static const char *allocation_funcs[] = { variable
260 for (i = 0; i < ARRAY_SIZE(allocation_funcs); i++) in check_leaks()
261 add_function_assign_hook(allocation_funcs[i], &match_alloc, NULL); in check_leaks()
H A Dsmatch_buf_size.c32 static struct hashtable *allocation_funcs; variable
51 if (search_func(allocation_funcs, func)) in is_allocation_function()
59 insert_func(allocation_funcs, (char *)func, (int *)1); in add_allocation_function()
926 allocation_funcs = create_function_hashtable(100); in register_buf_size()