Defined in 3 files as a function:
- drivers/hid/hid-lenovo-go-s.c, line 380 (as a function)
- drivers/hid/hid-lenovo-go.c, line 639 (as a function)
- drivers/hid/hid-msi.c, line 377 (as a function)
Referenced in 3 files:
Smatch caller information:
drivers/hid/hid-msi.c msi_probe() -> get_endpoint_address()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| BUF_SIZE | 0 | hdev->bpf_rdesc | (-1)-s32max |
| BUF_SIZE | 0 | hdev->devres_group_id | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | hdev | 1 |
| DATA_SOURCE | 0 | hdev | $0 |
| BIT_INFO | 0 | hdev->quirks | 0x840,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &hdev->driver_input_lock | |
| TYPE_LOCK | (struct hid_device)->driver_input_lock |
drivers/hid/hid-msi.c msi_remove() -> get_endpoint_address()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| DATA_SOURCE | 0 | hdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &hdev->driver_input_lock | |
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct hid_device)->driver_input_lock |
drivers/hid/hid-msi.c msi_resume() -> get_endpoint_address()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| BUF_SIZE | 0 | hdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hdev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hid/hid-msi.c msi_suspend() -> get_endpoint_address()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| BUF_SIZE | 0 | hdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hdev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hid/hid-lenovo-go-s.c hid_gos_probe() -> get_endpoint_address()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| BUF_SIZE | 0 | hdev->bpf_rdesc | (-1)-s32max |
| BUF_SIZE | 0 | hdev->devres_group_id | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | hdev | 1 |
| DATA_SOURCE | 0 | hdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &hdev->driver_input_lock | |
| TYPE_LOCK | (struct hid_device)->driver_input_lock |
drivers/hid/hid-lenovo-go-s.c hid_gos_raw_event() -> get_endpoint_address()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| BUF_SIZE | 0 | hdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hdev->bpf_rdesc | (-1)-s32max |
| BUF_SIZE | 0 | hdev->devres_group_id | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hdev->name | |
| NO_OVERFLOW_SIMPLE | 0 | hdev->uniq | |
| HALF_LOCKED2 | 0 | &hdev->dev.driver_data->dyn_callback_lock | |
| HALF_LOCKED2 | 0 | &hdev->dev.driver_data->mutex | |
| HALF_LOCKED2 | 0 | &hdev->driver_data->mutex | |
| HALF_LOCKED2 | 0 | &hdev->driver_input_lock | |
| HALF_LOCKED2 | 0 | &hdev->ll_open_lock |
drivers/hid/hid-lenovo-go-s.c hid_gos_remove() -> get_endpoint_address()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| DATA_SOURCE | 0 | hdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &hdev->driver_input_lock | |
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct hid_device)->driver_input_lock |
drivers/hid/hid-lenovo-go-s.c hid_gos_reset_resume() -> get_endpoint_address()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| BUF_SIZE | 0 | hdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hdev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hid/hid-lenovo-go.c hid_go_probe() -> get_endpoint_address()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| BUF_SIZE | 0 | hdev->bpf_rdesc | (-1)-s32max |
| BUF_SIZE | 0 | hdev->devres_group_id | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | hdev | 1 |
| DATA_SOURCE | 0 | hdev | $0 |
| BIT_INFO | 0 | hdev->quirks | 0x840,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &hdev->driver_input_lock | |
| TYPE_LOCK | (struct hid_device)->driver_input_lock |
drivers/hid/hid-lenovo-go.c hid_go_raw_event() -> get_endpoint_address()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| BUF_SIZE | 0 | hdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hdev->bpf_rdesc | (-1)-s32max |
| BUF_SIZE | 0 | hdev->devres_group_id | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hdev->name | |
| NO_OVERFLOW_SIMPLE | 0 | hdev->uniq | |
| HALF_LOCKED2 | 0 | &hdev->dev.driver_data->dyn_callback_lock | |
| HALF_LOCKED2 | 0 | &hdev->dev.driver_data->mutex | |
| HALF_LOCKED2 | 0 | &hdev->driver_data->mutex | |
| HALF_LOCKED2 | 0 | &hdev->driver_input_lock | |
| HALF_LOCKED2 | 0 | &hdev->ll_open_lock |
drivers/hid/hid-lenovo-go.c hid_go_remove() -> get_endpoint_address()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| DATA_SOURCE | 0 | hdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &hdev->driver_input_lock | |
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct hid_device)->driver_input_lock |