Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/dma/idxd/device.c idxd_device_disable() -> idxd_cmd_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idxd | 4096-ptr_max |
| PARAM_VALUE | 0 | idxd->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | idxd->reg_base | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd_code | 2 |
| PARAM_VALUE | 2 | operand | 0 |
| PARAM_VALUE | 3 | status | 965112364287750144 |
| BUF_SIZE | 0 | idxd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | idxd | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | idxd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | idxd->cmd_status | 0-255 |
| UNITS | 0 | idxd | unit_byte |
| HALF_LOCKED2 | &dev->mutex |
drivers/dma/idxd/device.c idxd_device_drain_pasid() -> idxd_cmd_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idxd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd_code | 11 |
| PARAM_VALUE | 3 | status | 0 |
| DATA_SOURCE | 0 | idxd | $0 |
| DATA_SOURCE | 2 | operand | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &subsys->su_mutex |
drivers/dma/idxd/device.c idxd_device_enable() -> idxd_cmd_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idxd | 4096-ptr_max |
| PARAM_VALUE | 0 | idxd->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | idxd->reg_base | 4096-ptr_max |
| PARAM_VALUE | 0 | idxd->state | 0 |
| PARAM_VALUE | 1 | cmd_code | 1 |
| PARAM_VALUE | 2 | operand | 0 |
| PARAM_VALUE | 3 | status | 10379148579487744 |
| DATA_SOURCE | 0 | idxd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | idxd->cmd_status | 0-255 |
drivers/dma/idxd/device.c idxd_device_request_int_handle() -> idxd_cmd_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idxd | 4096-ptr_max |
| PARAM_VALUE | 0 | idxd->request_int_handles | 1 |
| PARAM_VALUE | 1 | cmd_code | 13 |
| PARAM_VALUE | 2 | operand | 0-131071 |
| PARAM_VALUE | 3 | status | 2132592599361269760 |
| DATA_SOURCE | 0 | idxd | $0 |
| BIT_INFO | 0 | idxd->hw.cmd_cap | 0x2000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | idxd->cmd_status | 0-255 |
| HALF_LOCKED2 | &wq->wq_lock |
drivers/dma/idxd/device.c idxd_device_reset() -> idxd_cmd_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idxd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd_code | 5 |
| PARAM_VALUE | 2 | operand | 0 |
| PARAM_VALUE | 3 | status | 0 |
| DATA_SOURCE | 0 | idxd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | idxd->cmd_status | 0-255 |
| HALF_LOCKED2 | &dev->mutex |
drivers/dma/idxd/device.c idxd_wq_disable() -> idxd_cmd_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idxd | 4096-ptr_max |
| PARAM_VALUE | 0 | idxd->reg_base | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd_code | 10 |
| PARAM_VALUE | 3 | status | 5420897001785823232 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &wq->wq_lock |
drivers/dma/idxd/device.c idxd_wq_drain() -> idxd_cmd_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idxd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd_code | 8 |
| PARAM_VALUE | 3 | status | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | idxd->cmd_status | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | idxd->max_wqs | |
| HALF_LOCKED2 | &wq->wq_lock |
drivers/dma/idxd/device.c idxd_wq_enable() -> idxd_cmd_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idxd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd_code | 6 |
| PARAM_VALUE | 3 | status | 5048032557364256768 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | idxd->cmd_status | 0-255 |
| HALF_LOCKED2 | &wq->wq_lock |
drivers/dma/idxd/device.c idxd_wq_reset() -> idxd_cmd_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idxd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd_code | 10 |
| PARAM_VALUE | 3 | status | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | idxd->cmd_status | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | idxd->max_wqs | |
| LOCK2 | &wq->wq_lock | ||
| HALF_LOCKED2 | global &iaa_devices_lock | ||
| TYPE_LOCK | (struct idxd_wq)->wq_lock |