Defined in 1 files as a member:

Defined in 2 files as a function:

Referenced in 9 files:

Smatch caller information:

drivers/usb/gadget/legacy/inode.c gadgetfs_setup() -> config_buf()

Type Parameter Key Value
PARAM_VALUE 0 config 4096-ptr_max
PARAM_VALUE 0 config->req 4096-ptr_max
PARAM_VALUE 1 speed 2,7
PARAM_VALUE 2 buf 0-255
BUF_SIZE 0 config s32min-(-2),1-s32max
BUF_SIZE 0 config s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 2 buf 0-255
USER_DATA 2 buf 0-255[c]
UNITS 0 config unit_byte
LOCK2 0 &config->lock
HALF_LOCKED2 &dwc->lock
HALF_LOCKED2 &udc->lock
HALF_LOCKED2 &udc->spi_bus_mutex
HALF_LOCKED2 &vhub->lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
TYPE_LOCK (struct dev_data)->lock

drivers/usb/gadget/composite.c config_desc() -> config_buf()

Type Parameter Key Value
PARAM_VALUE 0 config 4096-ptr_max
PARAM_VALUE 1 speed 0,3,5-u32max
BUF_SIZE 2 buf s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 3 type 0-255[c]
USER_DATA 3 type 0-255[c]
UNITS 1 speed unit_array_size
UNITS 2 buf unit_byte
HALF_LOCKED2 &dwc->lock
HALF_LOCKED2 &gi->spinlock
HALF_LOCKED2 &udc->lock
HALF_LOCKED2 &udc->spi_bus_mutex
HALF_LOCKED2 &vhub->lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags