Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/nvme/host/ioctl.c nvme_dev_ioctl() -> nvme_reset_ctrl_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device->driver | 0,4096-ptr_max |
| BUF_SIZE | 0 | ctrl | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctrl | s32min-(-2),1-s32max |
| CAPABLE | 0 | 21 |
drivers/nvme/host/sysfs.c nvme_sysfs_reset() -> nvme_reset_ctrl_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ctrl | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctrl | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ctrl | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |