Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/misc/phantom.c phantom_ioctl() -> phantom_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BIT_INFO | 1 | newstat | 0x1,0xffffffffffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &dev->regs_lock | |
| TYPE_LOCK | (struct phantom_device)->regs_lock |
drivers/misc/phantom.c phantom_ioctl() -> phantom_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->iaddr | 0-ptr_max |
| PARAM_VALUE | 1 | newstat | 0,2-u64max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BIT_INFO | 1 | newstat | 0x0,0xfffffffffffffffe |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| USER_DATA | 0 | dev->ctl_reg | 0-u32max[c] |
| LOCK2 | flags | ||
| LOCK2 | 0 | &dev->regs_lock | |
| TYPE_LOCK | (struct phantom_device)->regs_lock |
drivers/misc/phantom.c phantom_release() -> phantom_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->open_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->open_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->open_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->open_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->open_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->open_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->open_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->opened | 0 |
| PARAM_VALUE | 1 | newstat | 0,2-u64max |
| BUF_SIZE | 0 | dev | (-1),26 |
| BUF_SIZE | 0 | dev | (-1),26 |
| CAPPED_DATA | 0 | &dev->open_lock | 1 |
| BIT_INFO | 1 | newstat | 0x0,0xfffffffffffffffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &dev->open_lock | |
| TYPE_LOCK | (struct phantom_device)->open_lock |