Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/interconnect/icc-kunit.c icc_test_init() -> kunit_platform_device_alloc()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 3816104602900295680
PARAM_VALUE 0 test->last_seen.line 97
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->priv 16,4096-ptr_max
PARAM_VALUE 1 name 5040776920663166976
PARAM_VALUE 2 id (-1)
BUF_SIZE 0 test->last_seen.file 33
BUF_SIZE 0 test->priv 144
BUF_SIZE 1 name 13
DATA_SOURCE 0 test $0
STR_LEN 0 test 12
STR_LEN 0 test->last_seen.file 32
TERMINATED 1 name 1

drivers/gpio/gpiolib-kunit.c gpio_unbind_with_consumers() -> kunit_platform_device_alloc()

Type Parameter Key Value
PARAM_VALUE 0 test->last_seen.file 4521726187253084160
PARAM_VALUE 0 test->last_seen.line 633
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 name 165126097601613824
PARAM_VALUE 2 id (-1)
BUF_SIZE 0 test->last_seen.file 29
BUF_SIZE 1 name 26
DATA_SOURCE 0 test $0
STR_LEN 0 test 25
STR_LEN 0 test->last_seen.file 28
TERMINATED 1 name 1

drivers/base/test/swnode-devlink-test.c swnode_devlink_test_probe_order() -> kunit_platform_device_alloc()

Type Parameter Key Value
PARAM_VALUE 0 test->last_seen.file 3113111990925307904
PARAM_VALUE 0 test->last_seen.line 283
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 name 6281945685535432704
PARAM_VALUE 2 id (-1)
BUF_SIZE 0 test->last_seen.file 40
BUF_SIZE 1 name 21
DATA_SOURCE 0 test $0
STR_LEN 0 test 20
STR_LEN 0 test->last_seen.file 39
TERMINATED 1 name 1

drivers/base/test/swnode-devlink-test.c swnode_devlink_test_probe_order() -> kunit_platform_device_alloc()

Type Parameter Key Value
PARAM_VALUE 0 test->last_seen.file 3113111990925307904
PARAM_VALUE 0 test->last_seen.line 287
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 name 4866341051506241536
PARAM_VALUE 2 id (-1)
BUF_SIZE 0 test->last_seen.file 40
BUF_SIZE 1 name 21
DATA_SOURCE 0 test $0
STR_LEN 0 test 20
STR_LEN 0 test->last_seen.file 39
TERMINATED 1 name 1

drivers/clk/clk_test.c clk_hw_register_dev_no_node_get_dev_returns_dev() -> kunit_platform_device_alloc()

Type Parameter Key Value
PARAM_VALUE 1 name 3022737611333378048
PARAM_VALUE 2 id (-1)
BUF_SIZE 1 name 28
DATA_SOURCE 0 test $0
STR_LEN 0 test 27
TERMINATED 1 name 1

lib/kunit/platform-test.c kunit_platform_device_add_cleans_up() -> kunit_platform_device_alloc()

Type Parameter Key Value
PARAM_VALUE 0 test 2147073698939576320
PARAM_VALUE 0 test->log 0
PARAM_VALUE 0 test->name 9121292206643535872
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 name 4997766319932424192
PARAM_VALUE 2 id (-1)
BUF_SIZE 1 name 21
BUF_SIZE 1 name 21
STR_LEN 0 test 20
STR_LEN 1 name 20
TERMINATED 0 test->name 1
TERMINATED 0 test->status_comment 1
TERMINATED 1 name 1

lib/kunit/platform-test.c kunit_platform_device_add_test() -> kunit_platform_device_alloc()

Type Parameter Key Value
PARAM_VALUE 1 name 1426916343003807744
PARAM_VALUE 2 id (-1)
BUF_SIZE 1 name 19
BUF_SIZE 1 name 19
DATA_SOURCE 0 test $0
STR_LEN 0 test 18
STR_LEN 1 name 18
TERMINATED 1 name 1

lib/kunit/platform-test.c kunit_platform_device_add_twice_fails_test() -> kunit_platform_device_alloc()

Type Parameter Key Value
PARAM_VALUE 1 name 6500841209110556672
PARAM_VALUE 2 id (-1)
BUF_SIZE 1 name 21
BUF_SIZE 1 name 21
DATA_SOURCE 0 test $0
STR_LEN 0 test 20
STR_LEN 1 name 20
TERMINATED 1 name 1

lib/kunit/platform-test.c kunit_platform_device_add_twice_fails_test() -> kunit_platform_device_alloc()

Type Parameter Key Value
PARAM_VALUE 0 test->last_seen.file 8065063714399641600
PARAM_VALUE 0 test->last_seen.line 51
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 name 6500841209110556672
PARAM_VALUE 2 id (-1)
BUF_SIZE 0 test->last_seen.file 26
BUF_SIZE 1 name 21
BUF_SIZE 1 name 21
DATA_SOURCE 0 test $0
STR_LEN 0 test 20
STR_LEN 0 test->last_seen.file 25
STR_LEN 1 name 20
TERMINATED 1 name 1

lib/kunit/platform-test.c kunit_platform_device_alloc_test() -> kunit_platform_device_alloc()

Type Parameter Key Value
PARAM_VALUE 1 name 3158859563522772992
PARAM_VALUE 2 id 1
BUF_SIZE 1 name 15
DATA_SOURCE 0 test $0
STR_LEN 0 test 14
TERMINATED 1 name 1

lib/kunit/platform-test.c kunit_platform_device_prepare_wait_for_probe_completes_when_already_probed() -> kunit_platform_device_alloc()

Type Parameter Key Value
PARAM_VALUE 0 test->last_seen.file 8065063714399641600
PARAM_VALUE 0 test->last_seen.line 183
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 name 1270107501984362496
PARAM_VALUE 2 id (-1)
BUF_SIZE 0 test->last_seen.file 26
BUF_SIZE 1 name 20
BUF_SIZE 1 name 20
DATA_SOURCE 0 test $0
STR_LEN 0 test 19
STR_LEN 0 test->last_seen.file 25
STR_LEN 1 name 19
TERMINATED 1 name 1

lib/kunit/platform-test.c kunit_platform_driver_register_test() -> kunit_platform_device_alloc()

Type Parameter Key Value
PARAM_VALUE 0 test->last_seen.file 8065063714399641600
PARAM_VALUE 0 test->last_seen.line 154
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 name 8231244288748875776
PARAM_VALUE 2 id (-1)
BUF_SIZE 0 test->last_seen.file 26
BUF_SIZE 1 name 24
BUF_SIZE 1 name 24
DATA_SOURCE 0 test $0
STR_LEN 0 test 23
STR_LEN 0 test->last_seen.file 25
STR_LEN 1 name 23
TERMINATED 1 name 1

drivers/base/test/platform-device-test.c platform_device_find_by_null_test() -> kunit_platform_device_alloc()

Type Parameter Key Value
PARAM_VALUE 1 name 1455218716475985920
PARAM_VALUE 2 id (-1)
BUF_SIZE 1 name 5
DATA_SOURCE 0 test $0
STR_LEN 0 test 4
TERMINATED 1 name 1