Defined in 3 files as a function:
- drivers/infiniband/hw/hns/hns_roce_hw_v2.c, line 913 (as a function)
- drivers/infiniband/hw/mlx4/qp.c, line 4355 (as a function)
- drivers/infiniband/hw/mlx5/qp.c, line 5844 (as a function)
Referenced in 3 files:
- drivers/infiniband/hw/hns/hns_roce_hw_v2.c
- drivers/infiniband/hw/mlx4/qp.c
- drivers/infiniband/hw/mlx5/qp.c
Smatch caller information:
drivers/infiniband/hw/mlx5/qp.c mlx5_ib_drain_rq() -> handle_drain_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | drain | 2755247306756599808 |
| PARAM_VALUE | 1 | drain->cqe.done | 7050157364270997504 |
| PARAM_VALUE | 1 | drain->done.done | 0 |
| PARAM_VALUE | 1 | drain->done.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 1 | drain->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 1 | drain->done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | drain->done.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | drain->done.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | hr_dev | 4096-ptr_max |
| DATA_SOURCE | 2 | hr_dev | r to_mdev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/hw/mlx5/qp.c mlx5_ib_drain_sq() -> handle_drain_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | drain | 5198353242658512896 |
| PARAM_VALUE | 1 | drain->cqe.done | 7050157364270997504 |
| PARAM_VALUE | 1 | drain->done.done | 0 |
| PARAM_VALUE | 1 | drain->done.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 1 | drain->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 1 | drain->done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | drain->done.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | drain->done.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | hr_dev | 4096-ptr_max |
| DATA_SOURCE | 2 | hr_dev | r to_mdev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/hw/mlx4/qp.c mlx4_ib_drain_rq() -> handle_drain_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | drain | 8312311091742986240 |
| PARAM_VALUE | 1 | drain->cqe.done | 8489449619355729920 |
| PARAM_VALUE | 1 | drain->done.done | 0 |
| PARAM_VALUE | 1 | drain->done.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 1 | drain->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 1 | drain->done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | drain->done.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | drain->done.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | hr_dev | 4096-ptr_max |
| PARAM_VALUE | 2 | hr_dev->dev->persist | 4096-ptr_max |
| DATA_SOURCE | 2 | hr_dev | r to_mdev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/hw/mlx4/qp.c mlx4_ib_drain_sq() -> handle_drain_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | drain | 6397284477605269504 |
| PARAM_VALUE | 1 | drain->cqe.done | 8489449619355729920 |
| PARAM_VALUE | 1 | drain->done.done | 0 |
| PARAM_VALUE | 1 | drain->done.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 1 | drain->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 1 | drain->done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | drain->done.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | drain->done.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | hr_dev | 4096-ptr_max |
| PARAM_VALUE | 2 | hr_dev->dev->persist | 4096-ptr_max |
| DATA_SOURCE | 2 | hr_dev | r to_mdev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/hw/hns/hns_roce_hw_v2.c hns_roce_v2_drain_rq() -> handle_drain_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | drain | 2743751794481885184 |
| PARAM_VALUE | 1 | drain->cqe.done | 1064473908586594304 |
| PARAM_VALUE | 1 | drain->done.done | 0 |
| PARAM_VALUE | 1 | drain->done.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 1 | drain->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 1 | drain->done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | drain->done.wait.lock.raw_lock.val.counter | 0 |
| PARAM_VALUE | 1 | drain->done.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | drain->done.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | hr_dev | 4096-ptr_max |
| DATA_SOURCE | 2 | hr_dev | r to_hr_dev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/hw/hns/hns_roce_hw_v2.c hns_roce_v2_drain_sq() -> handle_drain_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | drain | 2490547402415558656 |
| PARAM_VALUE | 1 | drain->cqe.done | 1064473908586594304 |
| PARAM_VALUE | 1 | drain->done.done | 0 |
| PARAM_VALUE | 1 | drain->done.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 1 | drain->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 1 | drain->done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | drain->done.wait.lock.raw_lock.val.counter | 0 |
| PARAM_VALUE | 1 | drain->done.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | drain->done.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | hr_dev | 4096-ptr_max |
| DATA_SOURCE | 2 | hr_dev | r to_hr_dev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |