Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/usb/core/hub.c hub_port_connect() -> usb_alloc_dev()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->bus 4096-ptr_max
PARAM_VALUE 1 bus 4096-ptr_max
PARAM_VALUE 2 port1 1-s32max
CAPPED_DATA 0 parent->maxchild 1
CAPPED_DATA 2 port1 1
DATA_SOURCE 2 port1 $1 [m]
UNITS 2 port1 unit_array_size
LOCK2 &hdev->dev.mutex
LOCK2 &port_dev->status_lock
LOCK2 &port_dev->status_lock
LOCK2 hcd->address0_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct usb_port)->status_lock

drivers/usb/misc/lvstest.c create_lvs_device() -> usb_alloc_dev()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 2 port1 unit_array_size
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex