Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/usbhid/hid-core.c hid_post_reset() -> hid_get_class_descriptor()

Type Parameter Key Value
PARAM_VALUE 2 type 34
PARAM_VALUE 3 buf 16,4096-ptr_max
PARAM_VALUE 4 size 0-4000000
BUF_SIZE 3 buf 0-u32max
DATA_SOURCE 3 buf r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 4 size unit_byte
BYTE_COUNT 3 ==buf4 8050

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

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 2 type 34
PARAM_VALUE 3 buf 4096-ptr_max
PARAM_VALUE 4 size 1-4096
BUF_SIZE 3 buf 1-4096
DATA_SOURCE 3 buf r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 4 size unit_byte
BYTE_COUNT 3 ==buf4 8050
HALF_LOCKED2 &hdev->driver_input_lock
HALF_LOCKED2 &pool->lock