Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/nvme/host/core.c
- drivers/nvme/host/ioctl.c, line 62
- drivers/nvme/target/passthru.c, line 347
Smatch caller information:
drivers/nvme/host/core.c nvme_passthru_start() -> nvme_command_effects()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | ns | 736,792,816,1000-s32max |
| BUF_SIZE | 1 | ns | 736,792,816,1000-s32max |
| DATA_SOURCE | 0 | ctrl | $0 |
| DATA_SOURCE | 1 | ns | $1 |
| DATA_SOURCE | 2 | opcode | $2 |
| USER_DATA | 2 | opcode | 0-255 |
drivers/nvme/host/ioctl.c nvme_cmd_allowed() -> nvme_command_effects()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ns | 4096-ptr_max |
| PARAM_VALUE | 2 | opcode | 0-126 |
| BUF_SIZE | 1 | ns | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | ns | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | ns | 1 |
| DATA_SOURCE | 1 | ns | $0 |
| HARD_MAX | 2 | opcode | 126 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | opcode | 0-126 |
| UNITS | 1 | ns | unit_byte |
drivers/nvme/target/passthru.c nvmet_passthru_execute_cmd() -> nvme_command_effects()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 1 | ns | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ns->head | 4096-ptr_max |
| PARAM_VALUE | 1 | ns->kref.refcount.refs.counter | (-1073741824),0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |