Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/usbhid/hid-core.c usbhid_start() -> hid_find_max_report()

Type Parameter Key Value
PARAM_VALUE 0 hid 4096-ptr_max
PARAM_VALUE 1 type 0
PARAM_VALUE 2 max 4096-ptr_max
PARAM_VALUE 2 *max 64
BUF_SIZE 0 hid->bpf_rdesc (-1)-s32max
BUF_SIZE 0 hid->devres_group_id s32min-(-1),1-s32max
DATA_SOURCE 0 hid $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &usbhid->mutex
HALF_LOCKED2 0 &hid->driver_input_lock
TYPE_LOCK (struct usbhid_device)->mutex

drivers/hid/usbhid/hid-core.c usbhid_start() -> hid_find_max_report()

Type Parameter Key Value
PARAM_VALUE 0 hid 4096-ptr_max
PARAM_VALUE 1 type 1
PARAM_VALUE 2 max 4096-ptr_max
PARAM_VALUE 2 *max 64-536870913
BUF_SIZE 0 hid->bpf_rdesc (-1)-s32max
BUF_SIZE 0 hid->devres_group_id s32min-(-1),1-s32max
DATA_SOURCE 0 hid $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &usbhid->mutex
HALF_LOCKED2 0 &hid->driver_input_lock
TYPE_LOCK (struct usbhid_device)->mutex

drivers/hid/usbhid/hid-core.c usbhid_start() -> hid_find_max_report()

Type Parameter Key Value
PARAM_VALUE 0 hid 4096-ptr_max
PARAM_VALUE 1 type 2
PARAM_VALUE 2 max 4096-ptr_max
PARAM_VALUE 2 *max 64-536870913
BUF_SIZE 0 hid->bpf_rdesc (-1)-s32max
BUF_SIZE 0 hid->devres_group_id s32min-(-1),1-s32max
DATA_SOURCE 0 hid $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &usbhid->mutex
HALF_LOCKED2 0 &hid->driver_input_lock
TYPE_LOCK (struct usbhid_device)->mutex

drivers/hid/usbhid/hid-core.c usbhid_start() -> hid_find_max_report()

Type Parameter Key Value
PARAM_VALUE 0 hid 4096-ptr_max
PARAM_VALUE 1 type 0
PARAM_VALUE 2 max 3095682280221671424
PARAM_VALUE 2 *max 0
BUF_SIZE 0 hid->bpf_rdesc (-1)-s32max
BUF_SIZE 0 hid->devres_group_id s32min-(-1),1-s32max
DATA_SOURCE 0 hid $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &usbhid->mutex
HALF_LOCKED2 0 &hid->driver_input_lock
TYPE_LOCK (struct usbhid_device)->mutex