Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/mellanox/mlx5/core/cq.c, line 83
- drivers/net/ethernet/mellanox/mlx5/core/eq.c, line 100
Smatch caller information:
drivers/net/ethernet/mellanox/mlx5/core/cq.c mlx5_add_cq_to_tasklet() -> mlx5_cq_hold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cq | 4096-ptr_max |
| CAPPED_DATA | 0 | cq->tasklet_ctx.list.next | 1 |
| CAPPED_DATA | 0 | &cq->tasklet_ctx.list | 1 |
| DATA_SOURCE | 0 | cq | $0 |
| PARAM_COMPARE | 0 | cq->tasklet_ctx.list.next | == $0->tasklet_ctx.list.prev |
| PARAM_COMPARE | 0 | &cq->tasklet_ctx.list | == $0->tasklet_ctx.list.next |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tasklet_ctx->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &ibdev->reset_flow_resource_lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct mlx5_eq_tasklet)->lock |
drivers/net/ethernet/mellanox/mlx5/core/eq.c mlx5_eq_cq_get() -> mlx5_cq_hold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cq | 1-u64max |
| DATA_SOURCE | 0 | cq | r radix_tree_lookup |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read |