Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/base/bus.c bus_remove_device() -> (struct subsys_interface)->remove_dev()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->bus 1-u64max
PARAM_VALUE 0 dev->groups 0,4096-ptr_max
PARAM_VALUE 0 dev->p 1-u64max
PARAM_VALUE 0 dev->pins->p 0-s64max
PARAM_VALUE 0 dev->type 0,4096-ptr_max
PARAM_VALUE 0 dev->type->groups 0,4096-ptr_max
PARAM_VALUE 1 sif 4096-ptr_max
PARAM_VALUE 1 sif->remove_dev 1-u64max
CAPPED_DATA 0 dev 1
CAPPED_DATA 0 dev->bus 1
CAPPED_DATA 0 dev->physical_location 1
CAPPED_DATA 1 &sif->node 1
DATA_SOURCE 0 dev $0
CONTAINER 1 -40+0 $(-1)
NOCHECK_CALL
LOCK2 &sp->mutex
TYPE_LOCK (struct subsys_private)->mutex

drivers/base/bus.c subsys_interface_unregister() -> (struct subsys_interface)->remove_dev()

Type Parameter Key Value
PARAM_VALUE 0 dev 1-u64max
PARAM_VALUE 1 sif 2361344140824780800,5990670969446395904,9002292094397362176
PARAM_VALUE 1 sif->add_dev 4096-ptr_max
PARAM_VALUE 1 sif->node.next->prev 4096-ptr_max
PARAM_VALUE 1 sif->node.prev->next 4096-ptr_max
PARAM_VALUE 1 sif->remove_dev 2017304711349972992,7376459973783654400,7406394954436788224
PARAM_VALUE 1 sif->subsys 4096-ptr_max
CAPPED_DATA 1 sif->subsys 1
DATA_SOURCE 0 dev r subsys_dev_iter_next
DATA_SOURCE 1 sif $0
CONTAINER 1 -40+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &sp->mutex
TYPE_LOCK (struct subsys_private)->mutex