Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/usb/core/hub.c usb_enumerate_device_otg() -> __usb_get_extra_descriptor()

Type Parameter Key Value
PARAM_VALUE 1 size 0-u16max
PARAM_VALUE 2 type 9
PARAM_VALUE 3 ptr 4775989626705031168
PARAM_VALUE 3 *ptr 0
PARAM_VALUE 3 *(*ptr) 0
PARAM_VALUE 4 minsize 3
BUF_SIZE 0 buffer 9-u16max
UNITS 1 size unit_byte
UNITS 4 minsize unit_byte
HALF_LOCKED2 &hdev->dev.mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &port_dev->status_lock
HALF_LOCKED2 global &usb_bus_idr_lock

drivers/video/fbdev/udlfb.c dlfb_parse_vendor_descriptor() -> __usb_get_extra_descriptor()

Type Parameter Key Value
PARAM_VALUE 2 type 95
PARAM_VALUE 3 ptr 8308125856861089792
PARAM_VALUE 3 *ptr 4096-ptr_max
PARAM_VALUE 4 minsize 1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 size unit_array_size
UNITS 4 minsize unit_byte

drivers/hid/usbhid/hid-core.c usbhid_parse() -> __usb_get_extra_descriptor()

Type Parameter Key Value
PARAM_VALUE 2 type 33
PARAM_VALUE 3 ptr 460808161231179776
PARAM_VALUE 4 minsize 9
RX_PATH
TASK_NOT_RUNNING
UNITS 1 size unit_array_size
UNITS 4 minsize unit_byte
HALF_LOCKED2 &hdev->driver_input_lock
HALF_LOCKED2 &pool->lock

drivers/hid/usbhid/hid-core.c usbhid_parse() -> __usb_get_extra_descriptor()

Type Parameter Key Value
PARAM_VALUE 2 type 33
PARAM_VALUE 3 ptr 460808161231179776
PARAM_VALUE 4 minsize 9
RX_PATH
TASK_NOT_RUNNING
UNITS 1 size unit_array_size
UNITS 4 minsize unit_byte
HALF_LOCKED2 &hdev->driver_input_lock
HALF_LOCKED2 &pool->lock