Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/nvme/host/ioctl.c nvme_ctrl_ioctl() -> nvme_user_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ns | 0 |
| PARAM_VALUE | 3 | flags | 0 |
| DATA_SOURCE | 0 | ctrl | $0 |
| DATA_SOURCE | 2 | ucmd | $2 |
| DATA_SOURCE | 4 | open_for_write | $3 |
| BIT_INFO | 4 | open_for_write | 0x0,0x0 |
drivers/nvme/host/ioctl.c nvme_dev_ioctl() -> nvme_user_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ns | 0 |
| PARAM_VALUE | 3 | flags | 0 |
| BUF_SIZE | 0 | ctrl | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctrl | s32min-(-2),1-s32max |
| DATA_SOURCE | 2 | ucmd | $2 |
| BIT_INFO | 4 | open_for_write | 0x0,0x0 |
drivers/nvme/host/ioctl.c nvme_dev_user_cmd() -> nvme_user_cmd()
| 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 |
| PARAM_VALUE | 0 | ctrl->srcu.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl->srcu.srcu_ctrp | 4096-ptr_max |
| PARAM_VALUE | 1 | ns | 4096-ptr_max |
| PARAM_VALUE | 1 | ns->kref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 3 | flags | 0 |
| BUF_SIZE | 0 | ctrl | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctrl | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ctrl->srcu.srcu_ctrp | 1 |
| CAPPED_DATA | 0 | ctrl->srcu.srcu_reader_flavor | 1 |
| CAPPED_DATA | 0 | &ctrl->namespaces | 1 |
| CAPPED_DATA | 1 | ns | 1 |
| DATA_SOURCE | 0 | ctrl | $0 |
| DATA_SOURCE | 2 | ucmd | $1 |
| DATA_SOURCE | 4 | open_for_write | $2 |
| PARAM_COMPARE | 0 | &ctrl->namespaces | != $0->namespaces.next |
| BIT_INFO | 4 | open_for_write | 0x0,0x0 |
drivers/nvme/host/ioctl.c nvme_ns_ioctl() -> nvme_user_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ns | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 0,2 |
| BUF_SIZE | 1 | ns | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | ns | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | ns | $0 |
| DATA_SOURCE | 2 | ucmd | $2 |
| DATA_SOURCE | 3 | flags | $3 |
| DATA_SOURCE | 4 | open_for_write | $4 |
| BIT_INFO | 3 | flags | 0x0,0x2 |
| BIT_INFO | 4 | open_for_write | 0x0,0x0 |
| UNITS | 1 | ns | unit_byte |
| HALF_LOCKED2 | &head->srcu |