Defined in 1 files as a prototype:
Defined in 2 files as a function:
- include/linux/io_uring/cmd.h, line 96 (as a function)
- io_uring/uring_cmd.c, line 293 (as a function)
Referenced in 3 files:
Smatch caller information:
drivers/scsi/scsi_bsg.c scsi_bsg_map_user_buffer() -> io_uring_cmd_import_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | len | 0-u32max |
| PARAM_VALUE | 2 | rw | 0-1 |
| PARAM_VALUE | 3 | iter | 6944560901205405696 |
| PARAM_VALUE | 4 | ioucmd | 4096-ptr_max |
| PARAM_VALUE | 4 | ioucmd->file | 4096-ptr_max |
| PARAM_VALUE | 4 | ioucmd->sqe | 4096-ptr_max |
| PARAM_VALUE | 5 | issue_flags | 10,266,522,778,1034-2147489553 |
| DATA_SOURCE | 4 | ioucmd | $1 |
| DATA_SOURCE | 5 | issue_flags | $2 |
| FUZZY_MAX | 2 | rw | 1 |
| FUZZY_MAX | 5 | issue_flags | 2147483665 |
| BIT_INFO | 4 | ioucmd->flags | 0x1,0xffffffff |
| BIT_INFO | 5 | issue_flags | 0x0,0x80001f1f |
| HARD_MAX | 2 | rw | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock |
drivers/nvme/host/ioctl.c nvme_uring_cmd_io() -> io_uring_cmd_import_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | len | 1-u32max |
| PARAM_VALUE | 2 | rw | 0-1 |
| PARAM_VALUE | 3 | iter | 1619417322542931968 |
| PARAM_VALUE | 4 | ioucmd | 4096-ptr_max |
| PARAM_VALUE | 4 | ioucmd->cmd_op | 3225964160,3225964162 |
| PARAM_VALUE | 4 | ioucmd->file | 4096-ptr_max |
| PARAM_VALUE | 4 | ioucmd->sqe | 4096-ptr_max |
| PARAM_VALUE | 5 | issue_flags | 10,266,522,778,1034-2147489553 |
| BUF_SIZE | 4 | ioucmd | (-1),64 |
| BUF_SIZE | 4 | ioucmd | (-1),64 |
| DATA_SOURCE | 4 | ioucmd | $2 |
| DATA_SOURCE | 5 | issue_flags | $3 |
| FUZZY_MAX | 2 | rw | 1 |
| FUZZY_MAX | 5 | issue_flags | 2147483665 |
| BIT_INFO | 4 | ioucmd->flags | 0x1,0xffffffff |
| BIT_INFO | 5 | issue_flags | 0x0,0x80001f1f |
| HARD_MAX | 2 | rw | 1 |
| HARD_MAX | 4 | ioucmd->cmd_op | 3225964162 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock |