Defined in 2 files as a function:
- mm/kfence/kfence_test.c, line 245 (as a function)
- tools/testing/nvdimm/test/nfit.c, line 1652 (as a function)
Referenced in 2 files:
Smatch caller information:
mm/kfence/kfence_test.c test_corruption() -> test_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 32 |
| PARAM_VALUE | 2 | gfp | 3264 |
| PARAM_VALUE | 3 | policy | 1 |
| DATA_SOURCE | 0 | test | $0 |
mm/kfence/kfence_test.c test_corruption() -> test_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 3565297194361905152,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,452 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->status | 1 |
| PARAM_VALUE | 1 | size | 32 |
| PARAM_VALUE | 2 | gfp | 3264 |
| PARAM_VALUE | 3 | policy | 2 |
| BUF_SIZE | 0 | test->last_seen.file | (-1),24 |
| DATA_SOURCE | 0 | test | $0 |
| FUZZY_MAX | 0 | test->last_seen.line | 452 |
| STR_LEN | 0 | test->last_seen.file | (-1),23 |
mm/kfence/kfence_test.c test_double_free() -> test_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 32 |
| PARAM_VALUE | 2 | gfp | 3264 |
| PARAM_VALUE | 3 | policy | 0 |
| DATA_SOURCE | 0 | test | $0 |
mm/kfence/kfence_test.c test_free_bulk() -> test_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 0-u32max |
| PARAM_VALUE | 2 | gfp | 3264 |
| PARAM_VALUE | 3 | policy | 2 |
| BUF_SIZE | 0 | test->last_seen.file | (-1),24 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | size | r setup_test_cache |
| STR_LEN | 0 | test->last_seen.file | (-1),23 |
mm/kfence/kfence_test.c test_free_bulk() -> test_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 3565297194361905152,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,298 |
| PARAM_VALUE | 1 | size | 0-u32max |
| PARAM_VALUE | 2 | gfp | 3264 |
| PARAM_VALUE | 3 | policy | 3 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | size | r setup_test_cache |
| STR_LEN | 0 | test->last_seen.file | (-1) |
mm/kfence/kfence_test.c test_free_bulk() -> test_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 3565297194361905152,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,298 |
| PARAM_VALUE | 1 | size | 0-u32max |
| PARAM_VALUE | 2 | gfp | 3264 |
| PARAM_VALUE | 3 | policy | 1 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | size | r setup_test_cache |
| STR_LEN | 0 | test->last_seen.file | (-1) |
mm/kfence/kfence_test.c test_free_bulk() -> test_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 3565297194361905152,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,298 |
| PARAM_VALUE | 1 | size | 0-u32max |
| PARAM_VALUE | 2 | gfp | 3264 |
| PARAM_VALUE | 3 | policy | 3 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | size | r setup_test_cache |
| STR_LEN | 0 | test->last_seen.file | (-1) |
mm/kfence/kfence_test.c test_free_bulk() -> test_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 3565297194361905152,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,298 |
| PARAM_VALUE | 1 | size | 0-u32max |
| PARAM_VALUE | 2 | gfp | 3264 |
| PARAM_VALUE | 3 | policy | 3 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | size | r setup_test_cache |
| STR_LEN | 0 | test->last_seen.file | (-1) |
mm/kfence/kfence_test.c test_gfpzero() -> test_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 4096 |
| PARAM_VALUE | 2 | gfp | 3264 |
| PARAM_VALUE | 3 | policy | 0 |
| DATA_SOURCE | 0 | test | $0 |
| UNITS | 1 | size | unit_byte |
mm/kfence/kfence_test.c test_gfpzero() -> test_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 3565297194361905152,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,298 |
| PARAM_VALUE | 0 | test->status | 1 |
| PARAM_VALUE | 1 | size | 4096 |
| PARAM_VALUE | 2 | gfp | 3520 |
| PARAM_VALUE | 3 | policy | 0 |
| DATA_SOURCE | 0 | test | $0 |
| UNITS | 1 | size | unit_byte |
mm/kfence/kfence_test.c test_init_on_free() -> test_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 32 |
| PARAM_VALUE | 2 | gfp | 3264 |
| PARAM_VALUE | 3 | policy | 0 |
| DATA_SOURCE | 0 | test | $0 |
mm/kfence/kfence_test.c test_invalid_addr_free() -> test_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 32 |
| PARAM_VALUE | 2 | gfp | 3264 |
| PARAM_VALUE | 3 | policy | 0 |
| DATA_SOURCE | 0 | test | $0 |
mm/kfence/kfence_test.c test_kmalloc_aligned_oob_read() -> test_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 73 |
| PARAM_VALUE | 2 | gfp | 3264 |
| PARAM_VALUE | 3 | policy | 2 |
| DATA_SOURCE | 0 | test | $0 |
mm/kfence/kfence_test.c test_kmalloc_aligned_oob_write() -> test_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 73 |
| PARAM_VALUE | 2 | gfp | 3264 |
| PARAM_VALUE | 3 | policy | 2 |
| DATA_SOURCE | 0 | test | $0 |
mm/kfence/kfence_test.c test_krealloc() -> test_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 32 |
| PARAM_VALUE | 2 | gfp | 3264 |
| PARAM_VALUE | 3 | policy | 0 |
| DATA_SOURCE | 0 | test | $0 |
mm/kfence/kfence_test.c test_memcache_ctor() -> test_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 32 |
| PARAM_VALUE | 2 | gfp | 3264 |
| PARAM_VALUE | 3 | policy | 0 |
| DATA_SOURCE | 0 | test | $0 |
mm/kfence/kfence_test.c test_memcache_typesafe_by_rcu() -> test_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 3565297194361905152,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,683 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->status | 1 |
| PARAM_VALUE | 1 | size | 32 |
| PARAM_VALUE | 2 | gfp | 3264 |
| PARAM_VALUE | 3 | policy | 0 |
| BUF_SIZE | 0 | test->last_seen.file | (-1),24 |
| DATA_SOURCE | 0 | test | $0 |
| FUZZY_MAX | 0 | test->last_seen.line | 683 |
| STR_LEN | 0 | test->last_seen.file | (-1),23 |
mm/kfence/kfence_test.c test_out_of_bounds_read() -> test_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 0-u32max |
| PARAM_VALUE | 2 | gfp | 3264 |
| PARAM_VALUE | 3 | policy | 1 |
| DATA_SOURCE | 0 | test | $0 |
| FUZZY_MAX | 1 | size | 32 |
mm/kfence/kfence_test.c test_out_of_bounds_read() -> test_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 3565297194361905152,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,343 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->status | 1 |
| PARAM_VALUE | 1 | size | 0-u32max |
| PARAM_VALUE | 2 | gfp | 3264 |
| PARAM_VALUE | 3 | policy | 2 |
| BUF_SIZE | 0 | test->last_seen.file | (-1),24 |
| DATA_SOURCE | 0 | test | $0 |
| FUZZY_MAX | 0 | test->last_seen.line | 343 |
| FUZZY_MAX | 1 | size | 32 |
| STR_LEN | 0 | test->last_seen.file | (-1),23 |
mm/kfence/kfence_test.c test_out_of_bounds_write() -> test_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 32 |
| PARAM_VALUE | 2 | gfp | 3264 |
| PARAM_VALUE | 3 | policy | 1 |
| DATA_SOURCE | 0 | test | $0 |
mm/kfence/kfence_test.c test_shrink_memcache() -> test_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 3565297194361905152,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,534 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->status | 1 |
| PARAM_VALUE | 1 | size | 32 |
| PARAM_VALUE | 2 | gfp | 3264 |
| PARAM_VALUE | 3 | policy | 0 |
| BUF_SIZE | 0 | test->last_seen.file | (-1),24 |
| DATA_SOURCE | 0 | test | $0 |
| FUZZY_MAX | 0 | test->last_seen.line | 534 |
| STR_LEN | 0 | test->last_seen.file | (-1),23 |
mm/kfence/kfence_test.c test_use_after_free_read() -> test_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 32 |
| PARAM_VALUE | 2 | gfp | 3264 |
| PARAM_VALUE | 3 | policy | 0 |
| DATA_SOURCE | 0 | test | $0 |
mm/kfence/kfence_test.c test_use_after_free_read_nofault() -> test_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 32 |
| PARAM_VALUE | 2 | gfp | 3264 |
| PARAM_VALUE | 3 | policy | 0 |
| DATA_SOURCE | 0 | test | $0 |