Documented in 1 files:

Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

lib/kunit/user_alloc.c kunit_vm_mmap() -> kunit_alloc_resource()

Type Parameter Key Value
PARAM_VALUE 0 test->last_seen.file 484267934179975168,1631314395305967616,1834859717821100032,8090938237943001088
PARAM_VALUE 0 test->last_seen.line 99,305,1059,2167
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 init 3844983433334386688
PARAM_VALUE 3 internal_gfp 3264
PARAM_VALUE 4 context 5038186285981683712
BUF_SIZE 0 test->last_seen.file (-1),24,27
BUF_SIZE 0 test->priv (-1),24,400
BUF_SIZE 4 context 48
DATA_SOURCE 0 test $0
STR_LEN 0 test->last_seen.file (-1),23,26
HARD_MAX 0 test->last_seen.line 2167

drivers/clk/clk-fixed-rate_test.c clk_hw_register_fixed_rate_kunit() -> kunit_alloc_resource()

Type Parameter Key Value
PARAM_VALUE 1 init 7994000554384408576
PARAM_VALUE 3 internal_gfp 3264
PARAM_VALUE 4 context 7968629404054155264,7972850754380939264,9041046880537833472
DATA_SOURCE 0 test $0
DATA_SOURCE 4 context $1

drivers/clk/clk-fixed-rate_test.c clk_hw_unregister_fixed_rate_kunit() -> kunit_alloc_resource()

Type Parameter Key Value
PARAM_VALUE 0 test->last_seen.file 3884085797055492096
PARAM_VALUE 0 test->last_seen.line 130,152,194,225,256
PARAM_VALUE 1 init 0
PARAM_VALUE 3 internal_gfp 3264
BUF_SIZE 0 test->last_seen.file 34
DATA_SOURCE 0 test $0
DATA_SOURCE 4 context $1
STR_LEN 0 test->last_seen.file 33
HARD_MAX 0 test->last_seen.line 256

lib/kunit/static_stub.c __kunit_activate_static_stub() -> kunit_alloc_resource()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 3265352354559807488
PARAM_VALUE 0 test->last_seen.line 115
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 init 0
PARAM_VALUE 2 free 1592523802097278976
PARAM_VALUE 3 internal_gfp 3264
PARAM_VALUE 4 context 4096-ptr_max
BUF_SIZE 0 test (-1),496
BUF_SIZE 0 test (-1),496
BUF_SIZE 0 test->last_seen.file 24
BUF_SIZE 0 test->priv s32min,(-10),(-1),1-s32max
BUF_SIZE 4 context 16
DATA_SOURCE 0 test $0
DATA_SOURCE 4 context r _kmalloc_noprof
STR_LEN 0 test->last_seen.file 23
STR_LEN 0 test->name (-1)

lib/kunit/platform.c kunit_platform_device_alloc() -> kunit_alloc_resource()

Type Parameter Key Value
PARAM_VALUE 1 init 7978053800922914816
PARAM_VALUE 3 internal_gfp 3264
PARAM_VALUE 4 context 577557316877299712
BUF_SIZE 0 test->last_seen.file (-1),26,29,33,40
BUF_SIZE 0 test->priv (-1),144
BUF_SIZE 4 context 16
DATA_SOURCE 0 test $0
STR_LEN 0 test 4,12,14,18-20,23,25,27
STR_LEN 0 test 4,12,14,18-20,23,25,27
STR_LEN 0 test->last_seen.file (-1),25,28,32,39

lib/kunit/kunit-example-test.c example_param_init() -> kunit_alloc_resource()

Type Parameter Key Value
PARAM_VALUE 0 test 267708468600430592
PARAM_VALUE 0 test->last_seen.file 0
PARAM_VALUE 0 test->last_seen.line 0
PARAM_VALUE 0 test->log 0,4096-ptr_max
PARAM_VALUE 0 test->param_index 0
PARAM_VALUE 0 test->params_array.elem_size 0
PARAM_VALUE 0 test->params_array.get_description 0
PARAM_VALUE 0 test->params_array.num_params 0
PARAM_VALUE 0 test->params_array.params 0
PARAM_VALUE 0 test->parent 0
PARAM_VALUE 0 test->priv 0
PARAM_VALUE 0 test->resources.next 4096-ptr_max
PARAM_VALUE 0 test->resources.prev 4096-ptr_max
PARAM_VALUE 0 test->status 0
PARAM_VALUE 1 init 8701379341119295488
PARAM_VALUE 3 internal_gfp 3264
PARAM_VALUE 4 context 5064860734228496384
PARAM_VALUE 4 *context 3
BUF_SIZE 4 context 4
DATA_SOURCE 0 test $0
TERMINATED 0 test->status_comment 1
LOCK2 global &kunit_run_lock

net/mac80211/tests/chan-mode.c test_determine_chan_mode() -> kunit_alloc_resource()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 1 init 3068377577140563968
PARAM_VALUE 3 internal_gfp 3264
PARAM_VALUE 4 context 0
DATA_SOURCE 0 test $0

net/wireless/tests/scan.c test_get_bss_miss_reason() -> kunit_alloc_resource()

Type Parameter Key Value
PARAM_VALUE 1 init 5195471996546158592
PARAM_VALUE 3 internal_gfp 3264
PARAM_VALUE 4 context 3986762451729534976
BUF_SIZE 4 context 16
DATA_SOURCE 0 test $0

net/wireless/tests/scan.c test_inform_bss_ml_sta() -> kunit_alloc_resource()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 1 init 5195471996546158592
PARAM_VALUE 3 internal_gfp 3264
PARAM_VALUE 4 context 1593098538061729792
BUF_SIZE 4 context 16
DATA_SOURCE 0 test $0

net/wireless/tests/scan.c test_inform_bss_ssid_only() -> kunit_alloc_resource()

Type Parameter Key Value
PARAM_VALUE 1 init 5195471996546158592
PARAM_VALUE 3 internal_gfp 3264
PARAM_VALUE 4 context 1490136116659294208
BUF_SIZE 4 context 16
DATA_SOURCE 0 test $0

drivers/thunderbolt/test.c kunit_ida_init() -> kunit_alloc_resource()

Type Parameter Key Value
PARAM_VALUE 0 test->last_seen.file 8090938237943001088
PARAM_VALUE 0 test->last_seen.line 99
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 init 5362473912551522304
PARAM_VALUE 3 internal_gfp 3264
PARAM_VALUE 4 context 4096-ptr_max
DATA_SOURCE 0 test $0
DATA_SOURCE 4 context $1
NOCHECK_CALL