Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/hid/uhid.c uhid_dev_input() -> hid_safe_input_report()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 data 0
PARAM_VALUE 3 bufsize 4096
PARAM_VALUE 4 size 0
PARAM_VALUE 5 interrupt 0
BUF_SIZE 2 data 4096
NOCHECK_CALL
USER_DATA 4 size 0
LOCK2 &uhid->devlock
TYPE_LOCK (struct uhid_device)->devlock

drivers/hid/uhid.c uhid_dev_input2() -> hid_safe_input_report()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 data 0
PARAM_VALUE 3 bufsize 4096
PARAM_VALUE 4 size 0
PARAM_VALUE 5 interrupt 0
BUF_SIZE 2 data 4096
NOCHECK_CALL
USER_DATA 4 size 0
LOCK2 &uhid->devlock
TYPE_LOCK (struct uhid_device)->devlock

drivers/hid/usbhid/hid-core.c hid_ctrl() -> hid_safe_input_report()

Type Parameter Key Value
PARAM_VALUE 0 hid 4096-ptr_max
PARAM_VALUE 5 interrupt 0
BUF_SIZE 0 hid s32min-(-1),1-s32max
BUF_SIZE 2 data s32min-(-2),1-s32max
NOSPEC 3 bufsize
NOSPEC 3 bufsize
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 3 bufsize 1-s32max
USER_DATA 4 size 0-u32max[c][u]
NO_OVERFLOW_SIMPLE 4 size
UNITS 0 hid unit_byte
UNITS 2 data unit_byte
UNITS 3 bufsize unit_byte
UNITS 4 size unit_byte
HALF_LOCKED2 &pool->lock

drivers/hid/usbhid/hid-core.c hid_irq_in() -> hid_safe_input_report()

Type Parameter Key Value
PARAM_VALUE 0 hid 4096-ptr_max
PARAM_VALUE 1 type 0
PARAM_VALUE 5 interrupt 1
BUF_SIZE 0 hid s32min-(-1),1-s32max
BUF_SIZE 2 data s32min-(-2),1-s32max
NOSPEC 3 bufsize
NOSPEC 3 bufsize
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 3 bufsize 1-s32max
USER_DATA 4 size 0-u32max[c][u]
NO_OVERFLOW_SIMPLE 4 size
UNITS 0 hid unit_byte
UNITS 2 data unit_byte
UNITS 3 bufsize unit_byte
UNITS 4 size unit_byte
HALF_LOCKED2 &pool->lock

drivers/hid/i2c-hid/i2c-hid-core.c i2c_hid_get_input() -> hid_safe_input_report()

Type Parameter Key Value
PARAM_VALUE 0 hid 4096-ptr_max
PARAM_VALUE 1 type 0
PARAM_VALUE 3 bufsize 0-4294967293,18446744073709551614-u64max
PARAM_VALUE 4 size 0-65533,4294967294-u32max
PARAM_VALUE 5 interrupt 1
CAPPED_DATA 4 size 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 data unit_byte
UNITS 3 bufsize unit_byte
UNITS 4 size unit_byte
HALF_LOCKED2 _T->lock
HALF_LOCKED2 irq