Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/infiniband/hw/mlx5/cq.c mlx5_ib_poll_cq() -> poll_soft_wc()

Type Parameter Key Value
PARAM_VALUE 0 cq 4096-ptr_max
PARAM_VALUE 1 num_entries 0-16,32,64
PARAM_VALUE 3 is_fatal_err 1
BUF_SIZE 2 wc (-1),288,576,720,2304,4608
BUF_SIZE 2 wc (-1),288,576,720,2304,4608
CAPPED_DATA 0 &cq->wc_list 1
CAPPED_DATA 1 num_entries 1
DATA_SOURCE 0 cq r to_mcq
DATA_SOURCE 1 num_entries $1
DATA_SOURCE 2 wc $2
PARAM_COMPARE 0 &cq->wc_list != $0->wc_list.next
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &cq->lock
TYPE_LOCK (struct mlx5_ib_cq)->lock

drivers/infiniband/hw/mlx5/cq.c mlx5_ib_poll_cq() -> poll_soft_wc()

Type Parameter Key Value
PARAM_VALUE 0 cq 4096-ptr_max
PARAM_VALUE 1 num_entries 0-16,32,64
PARAM_VALUE 3 is_fatal_err 0
BUF_SIZE 2 wc (-1),288,576,720,2304,4608
BUF_SIZE 2 wc (-1),288,576,720,2304,4608
CAPPED_DATA 0 &cq->wc_list 1
CAPPED_DATA 1 num_entries 1
DATA_SOURCE 0 cq r to_mcq
DATA_SOURCE 1 num_entries $1
DATA_SOURCE 2 wc $2
PARAM_COMPARE 0 &cq->wc_list != $0->wc_list.next
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &cq->lock
TYPE_LOCK (struct mlx5_ib_cq)->lock