Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hid/surface-hid/surface_hid_core.c surface_hid_load_device_attributes() -> (struct surface_hid_device_ops)->get_descriptor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shid | 4096-ptr_max |
| PARAM_VALUE | 0 | shid->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | shid->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | shid->notif.base.fn | 334385082073350144,4712122320881598464 |
| PARAM_VALUE | 0 | shid->notif.base.priority | 1 |
| PARAM_VALUE | 0 | shid->notif.event.flags | 0 |
| PARAM_VALUE | 0 | shid->notif.event.mask | 0,3 |
| PARAM_VALUE | 0 | shid->ops.get_descriptor | 583076119547789312,752073217509769216 |
| PARAM_VALUE | 0 | shid->ops.get_feature_report | 4391090065674854400,8063917983166808064 |
| PARAM_VALUE | 0 | shid->ops.output_report | 5128294220299837440,8907287827658706944 |
| PARAM_VALUE | 0 | shid->ops.set_feature_report | 7382080085751091200,8084973540998139904 |
| PARAM_VALUE | 1 | entry | 2 |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 32 |
| BUF_SIZE | 0 | shid | 160 |
| BUF_SIZE | 0 | shid->dev | 1616 |
| BUF_SIZE | 2 | buf | 32 |
| DATA_SOURCE | 0 | shid | $0 |
| CONTAINER | 0 | -0-128+0 | $(-1) |
| CONTAINER | 2 | -0-128+30 | $(-1) |
| BIT_INFO | 0 | shid->notif.event.reg | 0x0,0x7fffffff |
| HARD_MAX | 0 | shid->notif.event.mask | 3 |
| MEM_ZERO | 0 | shid | |
| MEM_ZERO | 2 | buf | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hid/surface-hid/surface_hid_core.c surface_hid_load_hid_descriptor() -> (struct surface_hid_device_ops)->get_descriptor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shid | 4096-ptr_max |
| PARAM_VALUE | 0 | shid->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | shid->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | shid->notif.base.fn | 334385082073350144,4712122320881598464 |
| PARAM_VALUE | 0 | shid->notif.base.priority | 1 |
| PARAM_VALUE | 0 | shid->notif.event.flags | 0 |
| PARAM_VALUE | 0 | shid->notif.event.mask | 0,3 |
| PARAM_VALUE | 0 | shid->ops.get_descriptor | 583076119547789312,752073217509769216 |
| PARAM_VALUE | 0 | shid->ops.get_feature_report | 4391090065674854400,8063917983166808064 |
| PARAM_VALUE | 0 | shid->ops.output_report | 5128294220299837440,8907287827658706944 |
| PARAM_VALUE | 0 | shid->ops.set_feature_report | 7382080085751091200,8084973540998139904 |
| PARAM_VALUE | 1 | entry | 0 |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 9 |
| BUF_SIZE | 0 | shid | 160 |
| BUF_SIZE | 0 | shid->dev | 1616 |
| BUF_SIZE | 2 | buf | 9 |
| DATA_SOURCE | 0 | shid | $0 |
| CONTAINER | 0 | -0-128+0 | $(-1) |
| CONTAINER | 2 | -0-128+21 | $(-1) |
| BIT_INFO | 0 | shid->notif.event.reg | 0x0,0x7fffffff |
| HARD_MAX | 0 | shid->notif.event.mask | 3 |
| MEM_ZERO | 0 | shid | |
| MEM_ZERO | 2 | buf | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hid/surface-hid/surface_hid_core.c surface_hid_parse() -> (struct surface_hid_device_ops)->get_descriptor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shid | 4096-ptr_max |
| PARAM_VALUE | 0 | shid->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | entry | 1 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 3 | len | 0-u16max |
| BUF_SIZE | 0 | shid | (-1),32,104,128,592,968,10880 |
| BUF_SIZE | 0 | shid | (-1),32,104,128,592,968,10880 |
| BUF_SIZE | 2 | buf | 0-u16max |
| BUF_SIZE | 2 | buf | 0-u16max |
| DATA_SOURCE | 2 | buf | r _kzalloc_noprof |
| DATA_SOURCE | 3 | len | r get_unaligned_le16 |
| CONTAINER | 0 | -0-128+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| BYTE_COUNT | 2 | ==buf3 | 8050 |
| HALF_LOCKED2 | &hdev->driver_input_lock | ||
| HALF_LOCKED2 | &pool->lock |