Defined in 1 files as a prototype:
Defined in 1 files as a macro:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hid/hid-debug.c hid_dump_field() -> hid_resolv_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | usage | 1-u32max |
| PARAM_VALUE | 1 | f | 4096-ptr_max |
| PARAM_VALUE | 1 | f->buf | 1-u64max |
| PARAM_VALUE | 1 | f->from | 0 |
| PARAM_VALUE | 1 | f->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | f->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | f->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | f->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | f->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | f->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | f->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | f->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | f->op | 4096-ptr_max |
| PARAM_VALUE | 1 | f->private | 4096-ptr_max |
| BUF_SIZE | 1 | f | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | f | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | f->buf | (-1)-2147479552 |
| CAPPED_DATA | 1 | f->size | 1 |
| DATA_SOURCE | 1 | f | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | f->read_pos | 0-11442450941[c] |
| LOCK2 | &device->driver_input_lock | ||
| LOCK2 | 1 | &f->lock | |
| TYPE_LOCK | (struct hid_device)->driver_input_lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/hid/hid-debug.c hid_dump_field() -> hid_resolv_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | usage | 1-u32max |
| PARAM_VALUE | 1 | f | 4096-ptr_max |
| PARAM_VALUE | 1 | f->buf | 1-u64max |
| PARAM_VALUE | 1 | f->from | 0 |
| PARAM_VALUE | 1 | f->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | f->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | f->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | f->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | f->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | f->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | f->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | f->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | f->op | 4096-ptr_max |
| PARAM_VALUE | 1 | f->private | 4096-ptr_max |
| BUF_SIZE | 1 | f | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | f | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | f->buf | (-1)-2147479552 |
| CAPPED_DATA | 1 | f->size | 1 |
| DATA_SOURCE | 1 | f | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | f->read_pos | 0-11442450941[c] |
| LOCK2 | &device->driver_input_lock | ||
| LOCK2 | 1 | &f->lock | |
| TYPE_LOCK | (struct hid_device)->driver_input_lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/hid/hid-debug.c hid_dump_field() -> hid_resolv_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | usage | 1-u32max |
| PARAM_VALUE | 1 | f | 4096-ptr_max |
| PARAM_VALUE | 1 | f->buf | 1-u64max |
| PARAM_VALUE | 1 | f->from | 0 |
| PARAM_VALUE | 1 | f->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | f->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | f->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | f->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | f->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | f->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | f->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | f->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | f->op | 4096-ptr_max |
| PARAM_VALUE | 1 | f->private | 4096-ptr_max |
| BUF_SIZE | 1 | f | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | f | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | f->buf | (-1)-2147479552 |
| CAPPED_DATA | 1 | f->size | 1 |
| DATA_SOURCE | 1 | f | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | f->read_pos | 0-11442450941[c] |
| LOCK2 | &device->driver_input_lock | ||
| LOCK2 | 1 | &f->lock | |
| TYPE_LOCK | (struct hid_device)->driver_input_lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/hid/hid-debug.c hid_dump_field() -> hid_resolv_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | f | 4096-ptr_max |
| PARAM_VALUE | 1 | f->buf | 1-u64max |
| PARAM_VALUE | 1 | f->from | 0 |
| PARAM_VALUE | 1 | f->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | f->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | f->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | f->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | f->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | f->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | f->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | f->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | f->op | 4096-ptr_max |
| PARAM_VALUE | 1 | f->private | 4096-ptr_max |
| BUF_SIZE | 1 | f | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | f | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | f->buf | (-1)-2147479552 |
| CAPPED_DATA | 1 | f->size | 1 |
| DATA_SOURCE | 1 | f | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | f->read_pos | 0-11442450941[c] |
| LOCK2 | &device->driver_input_lock | ||
| LOCK2 | 1 | &f->lock | |
| TYPE_LOCK | (struct hid_device)->driver_input_lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/hid/hid-debug.c hid_dump_input() -> hid_resolv_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | f | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hid/hid-debug.c hid_dump_input_mapping() -> hid_resolv_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | f | 4096-ptr_max |
| PARAM_VALUE | 1 | f->buf | 1-u64max |
| PARAM_VALUE | 1 | f->from | 0 |
| PARAM_VALUE | 1 | f->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | f->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | f->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | f->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | f->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | f->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | f->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | f->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | f->op | 4096-ptr_max |
| PARAM_VALUE | 1 | f->private | 4096-ptr_max |
| BUF_SIZE | 1 | f | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | f | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | f->buf | (-1)-2147479552 |
| CAPPED_DATA | 1 | f->size | 1 |
| DATA_SOURCE | 1 | f | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | f->read_pos | 0-13442450941 |
| LOCK2 | &hid->driver_input_lock | ||
| LOCK2 | 1 | &f->lock | |
| TYPE_LOCK | (struct hid_device)->driver_input_lock | ||
| TYPE_LOCK | (struct seq_file)->lock |