Home
last modified time | relevance | path

Searched refs:add_allocation_function (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_buf_size.c927 add_allocation_function("malloc", &match_alloc, 0); in register_buf_size()
928 add_allocation_function("calloc", &match_calloc, 0); in register_buf_size()
929 add_allocation_function("memdup", &match_alloc, 1); in register_buf_size()
930 add_allocation_function("realloc", &match_alloc, 1); in register_buf_size()
932 add_allocation_function("kmalloc", &match_alloc, 0); in register_buf_size()
934 add_allocation_function("kzalloc", &match_alloc, 0); in register_buf_size()
936 add_allocation_function("vmalloc", &match_alloc, 0); in register_buf_size()
937 add_allocation_function("vzalloc", &match_alloc, 0); in register_buf_size()
944 add_allocation_function("kmemdup", &match_alloc, 1); in register_buf_size()
954 add_allocation_function("kmap", &match_page, 0); in register_buf_size()
[all …]
H A Dsmatch_constraints_required.c471 add_allocation_function("malloc", &match_alloc, 0); in register_constraints_required()
472 add_allocation_function("memdup", &match_alloc, 1); in register_constraints_required()
473 add_allocation_function("realloc", &match_alloc, 1); in register_constraints_required()
474 add_allocation_function("realloc", &match_calloc, 0); in register_constraints_required()
476 add_allocation_function("kmalloc", &match_alloc, 0); in register_constraints_required()
477 add_allocation_function("kzalloc", &match_alloc, 0); in register_constraints_required()
478 add_allocation_function("vmalloc", &match_alloc, 0); in register_constraints_required()
480 add_allocation_function("vzalloc", &match_alloc, 0); in register_constraints_required()
482 add_allocation_function("kmemdup", &match_alloc, 1); in register_constraints_required()
489 add_allocation_function("kcalloc", &match_calloc, 0); in register_constraints_required()
[all …]
H A Dsmatch_buf_comparison.c806 add_allocation_function("malloc", &match_alloc, 0); in register_buf_comparison()
807 add_allocation_function("memdup", &match_alloc, 1); in register_buf_comparison()
808 add_allocation_function("realloc", &match_alloc, 1); in register_buf_comparison()
810 add_allocation_function("kmalloc", &match_alloc, 0); in register_buf_comparison()
811 add_allocation_function("kzalloc", &match_alloc, 0); in register_buf_comparison()
812 add_allocation_function("vmalloc", &match_alloc, 0); in register_buf_comparison()
813 add_allocation_function("__vmalloc", &match_alloc, 0); in register_buf_comparison()
814 add_allocation_function("sock_kmalloc", &match_alloc, 1); in register_buf_comparison()
815 add_allocation_function("kmemdup", &match_alloc, 1); in register_buf_comparison()
822 add_allocation_function("kcalloc", &match_calloc, 0); in register_buf_comparison()
[all …]