Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/hid/bpf/hid_bpf_dispatch.c hid_bpf_connect_device() -> hid_bpf_allocate_event_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->ll_driver->max_buffer_size | 0,4096 |
| PARAM_VALUE | 0 | hdev->ll_driver->start | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *hdev->name | 0-255 |
| 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 | |||
| HALF_LOCKED2 | 0 | &hdev->driver_input_lock |
drivers/hid/bpf/hid_bpf_struct_ops.c hid_bpf_reg() -> hid_bpf_allocate_event_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->bpf.prog_list_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->bpf.prog_list_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->bpf.prog_list_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->bpf.prog_list_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->bpf.prog_list_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->bpf.prog_list_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->bpf.prog_list_lock.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | &hdev->bpf.prog_list | 1 |
| CAPPED_DATA | 0 | &hdev->bpf.prog_list_lock | 1 |
| DATA_SOURCE | 0 | hdev | r hid_get_device |
| LOCK2 | 0 | &hdev->bpf.prog_list_lock | |
| HALF_LOCKED2 | &st_map->lock | ||
| HALF_LOCKED2 | global &update_mutex | ||
| TYPE_LOCK | (struct hid_bpf)->prog_list_lock |