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_add()

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 101
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->priv 4096-ptr_max
PARAM_VALUE 1 pdev 1-ptr_max
BUF_SIZE 0 test->last_seen.file 33
BUF_SIZE 0 test->priv 144
BUF_SIZE 1 pdev s32min,(-10),1-s32max
BUF_SIZE 1 pdev s32min,(-10),1-s32max
DATA_SOURCE 0 test $0
DATA_SOURCE 1 pdev r kunit_platform_device_alloc
STR_LEN 0 test->last_seen.file 32

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

Type Parameter Key Value
PARAM_VALUE 0 test->last_seen.file 4521726187253084160
PARAM_VALUE 0 test->last_seen.line 651
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 pdev 1-ptr_max
PARAM_VALUE 1 pdev->dev.fwnode 0,4096-ptr_max
PARAM_VALUE 1 pdev->dev.fwnode->secondary 0,4096-ptr_max
BUF_SIZE 0 test->last_seen.file 29
BUF_SIZE 1 pdev s32min,(-10),1-s32max
BUF_SIZE 1 pdev s32min,(-10),1-s32max
DATA_SOURCE 0 test $0
DATA_SOURCE 1 pdev r kunit_platform_device_alloc
STR_LEN 0 test->last_seen.file 28

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

Type Parameter Key Value
PARAM_VALUE 0 test->last_seen.file 3113111990925307904
PARAM_VALUE 0 test->last_seen.line 299
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 pdev 4096-ptr_max
PARAM_VALUE 1 pdev->dev.driver_data 16,4096-ptr_max
PARAM_VALUE 1 pdev->dev.fwnode 0,4096-ptr_max
PARAM_VALUE 1 pdev->dev.fwnode->secondary 0,4096-ptr_max
BUF_SIZE 0 test->last_seen.file 40
BUF_SIZE 1 pdev s32min,(-10),1-s32max
BUF_SIZE 1 pdev s32min,(-10),1-s32max
DATA_SOURCE 0 test $0
DATA_SOURCE 1 pdev r kunit_platform_device_alloc
STR_LEN 0 test->last_seen.file 39

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

Type Parameter Key Value
PARAM_VALUE 0 test->last_seen.file 3113111990925307904
PARAM_VALUE 0 test->last_seen.line 302
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 pdev 4096-ptr_max
PARAM_VALUE 1 pdev->dev.driver_data 16,4096-ptr_max
BUF_SIZE 0 test->last_seen.file 40
BUF_SIZE 1 pdev s32min,(-10),1-s32max
BUF_SIZE 1 pdev s32min,(-10),1-s32max
DATA_SOURCE 0 test $0
DATA_SOURCE 1 pdev r kunit_platform_device_alloc
STR_LEN 0 test->last_seen.file 39

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

Type Parameter Key Value
PARAM_VALUE 0 test->last_seen.file 626550868778676224
PARAM_VALUE 0 test->last_seen.line 3450
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 pdev 1-u64max
BUF_SIZE 0 test->last_seen.file 23
BUF_SIZE 1 pdev s32min,(-10),1-s32max
BUF_SIZE 1 pdev s32min,(-10),1-s32max
DATA_SOURCE 0 test $0
DATA_SOURCE 1 pdev r kunit_platform_device_alloc
STR_LEN 0 test->last_seen.file 22

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

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->status 0
PARAM_VALUE 1 pdev 1-ptr_max
BUF_SIZE 1 pdev s32min,(-10),1-s32max
BUF_SIZE 1 pdev s32min,(-10),1-s32max
DATA_SOURCE 1 pdev r kunit_platform_device_alloc
TERMINATED 0 test->name 1
TERMINATED 0 test->status_comment 1

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

Type Parameter Key Value
PARAM_VALUE 0 test->last_seen.file 8065063714399641600
PARAM_VALUE 0 test->last_seen.line 31
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 pdev 1-ptr_max
BUF_SIZE 0 test->last_seen.file 26
BUF_SIZE 1 pdev s32min,(-10),1-s32max
BUF_SIZE 1 pdev s32min,(-10),1-s32max
DATA_SOURCE 0 test $0
DATA_SOURCE 1 pdev r kunit_platform_device_alloc
STR_LEN 0 test->last_seen.file 25

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

Type Parameter Key Value
PARAM_VALUE 0 test->last_seen.file 8065063714399641600
PARAM_VALUE 0 test->last_seen.line 50
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 pdev 1-ptr_max
BUF_SIZE 0 test->last_seen.file 26
BUF_SIZE 1 pdev s32min,(-10),1-s32max
BUF_SIZE 1 pdev s32min,(-10),1-s32max
DATA_SOURCE 0 test $0
DATA_SOURCE 1 pdev r kunit_platform_device_alloc
STR_LEN 0 test->last_seen.file 25

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

Type Parameter Key Value
PARAM_VALUE 0 test->last_seen.file 8065063714399641600
PARAM_VALUE 0 test->last_seen.line 54
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 pdev 1-ptr_max
PARAM_VALUE 1 pdev->dev.bus->bus_groups 0
PARAM_VALUE 1 pdev->dev.bus->dev_groups 890666487010902016
PARAM_VALUE 1 pdev->dev.bus->dev_name 0
PARAM_VALUE 1 pdev->dev.bus->dma_cleanup 2567693292227600384
PARAM_VALUE 1 pdev->dev.bus->dma_configure 7339647197731467264
PARAM_VALUE 1 pdev->dev.bus->driver_override 0
PARAM_VALUE 1 pdev->dev.bus->drv_groups 0
PARAM_VALUE 1 pdev->dev.bus->irq_get_affinity 0
PARAM_VALUE 1 pdev->dev.bus->match 1790182723300528128
PARAM_VALUE 1 pdev->dev.bus->need_parent_lock 0
PARAM_VALUE 1 pdev->dev.bus->num_vf 0
PARAM_VALUE 1 pdev->dev.bus->offline 0
PARAM_VALUE 1 pdev->dev.bus->online 0
PARAM_VALUE 1 pdev->dev.bus->pm 5393334728557981696
PARAM_VALUE 1 pdev->dev.bus->probe 3034367972688941056
PARAM_VALUE 1 pdev->dev.bus->remove 3664030250746302464
PARAM_VALUE 1 pdev->dev.bus->resume 0
PARAM_VALUE 1 pdev->dev.bus->shutdown 4550783666758901760
PARAM_VALUE 1 pdev->dev.bus->suspend 0
PARAM_VALUE 1 pdev->dev.bus->sync_state 0
PARAM_VALUE 1 pdev->dev.bus->uevent 7642397512928026624
PARAM_VALUE 1 pdev->dev.fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 1 pdev->dev.kobj->name 0-255
PARAM_VALUE 1 pdev->dev.kobj.parent->sd->__parent 0
PARAM_VALUE 1 pdev->dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 1 pdev->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 1 pdev->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 1 pdev->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 1 pdev->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 1 pdev->dev.kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 1 pdev->dev.kobj.sd->active.counter (-2147483647)
PARAM_VALUE 1 pdev->dev.kobj.sd->attr.notify_next 0,426918848001064960
PARAM_VALUE 1 pdev->dev.p->klist_children.get 2213798222526185472
PARAM_VALUE 1 pdev->dev.p->klist_children.put 3126867300421632000
PARAM_VALUE 1 pdev->dev.p->knode_bus.n_ref.refcount.refs.counter 1
PARAM_VALUE 1 pdev->dev.p->knode_class.n_ref.refcount.refs.counter 1
PARAM_VALUE 1 pdev->dev.p->knode_parent.n_ref.refcount.refs.counter 1
PARAM_VALUE 1 pdev->dev.parent->devt 0-s32max
PARAM_VALUE 1 pdev->dev.parent->id 0-s32max
PARAM_VALUE 1 pdev->dev.parent->links.status 0-s32max
PARAM_VALUE 1 pdev->dev.parent->removable 0-s32max
PARAM_VALUE 1 pdev->dev.physical_location->dock 0
PARAM_VALUE 1 pdev->dev.physical_location->horizontal_position 0
PARAM_VALUE 1 pdev->dev.physical_location->lid 0
PARAM_VALUE 1 pdev->dev.physical_location->panel 0
PARAM_VALUE 1 pdev->dev.physical_location->vertical_position 0
BUF_SIZE 0 test->last_seen.file 26
BUF_SIZE 1 pdev s32min,(-10),1-s32max
BUF_SIZE 1 pdev s32min,(-10),1-s32max
DATA_SOURCE 0 test $0
DATA_SOURCE 1 pdev r kunit_platform_device_alloc
STR_LEN 0 test->last_seen.file 25

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

Type Parameter Key Value
PARAM_VALUE 0 test->last_seen.file 8065063714399641600
PARAM_VALUE 0 test->last_seen.line 186
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 pdev 1-ptr_max
BUF_SIZE 0 test->last_seen.file 26
BUF_SIZE 1 pdev s32min,(-10),1-s32max
BUF_SIZE 1 pdev s32min,(-10),1-s32max
DATA_SOURCE 0 test $0
DATA_SOURCE 1 pdev r kunit_platform_device_alloc
STR_LEN 0 test->last_seen.file 25

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

Type Parameter Key Value
PARAM_VALUE 0 test->last_seen.file 8065063714399641600
PARAM_VALUE 0 test->last_seen.line 157
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 pdev 1-ptr_max
BUF_SIZE 0 test->last_seen.file 26
BUF_SIZE 1 pdev s32min,(-10),1-s32max
BUF_SIZE 1 pdev s32min,(-10),1-s32max
DATA_SOURCE 0 test $0
DATA_SOURCE 1 pdev r kunit_platform_device_alloc
STR_LEN 0 test->last_seen.file 25

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

Type Parameter Key Value
PARAM_VALUE 0 test->last_seen.file 5633985818145140736
PARAM_VALUE 0 test->last_seen.line 232
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 pdev 1-ptr_max
BUF_SIZE 0 test->last_seen.file 41
BUF_SIZE 1 pdev s32min,(-10),1-s32max
BUF_SIZE 1 pdev s32min,(-10),1-s32max
DATA_SOURCE 0 test $0
DATA_SOURCE 1 pdev r kunit_platform_device_alloc
STR_LEN 0 test->last_seen.file 40