Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/infiniband/sw/rxe/rxe_req.c req_check_sq_drain_done() -> queue_get_consumer()

Type Parameter Key Value
PARAM_VALUE 1 type 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &qp->state_lock
LOCK2 flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rxe_qp)->state_lock

drivers/infiniband/sw/rxe/rxe_req.c req_retry() -> queue_get_consumer()

Type Parameter Key Value
PARAM_VALUE 1 type 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/infiniband/sw/rxe/rxe_req.c rxe_requester() -> queue_get_consumer()

Type Parameter Key Value
PARAM_VALUE 1 type 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &qp->state_lock
LOCK2 flags
TYPE_LOCK (struct rxe_qp)->state_lock

drivers/infiniband/sw/rxe/rxe_req.c rxe_wqe_is_fenced() -> queue_get_consumer()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 1 type 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/infiniband/sw/rxe/rxe_comp.c queue_consumer_addr() -> queue_get_consumer()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
DATA_SOURCE 0 q $0
DATA_SOURCE 1 type $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &qp->state_lock
HALF_LOCKED2 flags

drivers/infiniband/sw/rxe/rxe_comp.c queue_empty() -> queue_get_consumer()

Type Parameter Key Value
DATA_SOURCE 0 q $0
DATA_SOURCE 1 type $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &qp->state_lock
HALF_LOCKED2 flags

drivers/infiniband/sw/rxe/rxe_cq.c queue_full() -> queue_get_consumer()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 1 type 0
DATA_SOURCE 0 q $0
DATA_SOURCE 1 type $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cq->cq_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &qp->state_lock
HALF_LOCKED2 flags
TYPE_LOCK (struct rxe_cq)->cq_lock

drivers/infiniband/sw/rxe/rxe_queue.c queue_count() -> queue_get_consumer()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
DATA_SOURCE 0 q $0
DATA_SOURCE 1 type $1
PREEMPT_ADD
LOCK2 consumer_flags
LOCK2 consumer_lock
HALF_LOCKED2 producer_flags
HALF_LOCKED2 producer_lock

drivers/infiniband/sw/rxe/rxe_queue.c queue_empty() -> queue_get_consumer()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
DATA_SOURCE 0 q $0
DATA_SOURCE 1 type $1
PREEMPT_ADD
LOCK2 consumer_flags
LOCK2 consumer_lock
HALF_LOCKED2 producer_flags
HALF_LOCKED2 producer_lock

drivers/infiniband/sw/rxe/rxe_queue.c resize_finish() -> queue_get_consumer()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
DATA_SOURCE 0 q $0
PREEMPT_ADD
LOCK2 consumer_flags
LOCK2 consumer_lock
HALF_LOCKED2 producer_flags
HALF_LOCKED2 producer_lock

drivers/infiniband/sw/rxe/rxe_resp.c queue_consumer_addr() -> queue_get_consumer()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
DATA_SOURCE 0 q $0
DATA_SOURCE 1 type $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &qp->state_lock
HALF_LOCKED2 &srq->rq.consumer_lock
HALF_LOCKED2 flags

drivers/infiniband/sw/rxe/rxe_resp.c queue_count() -> queue_get_consumer()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 1 type 1
DATA_SOURCE 0 q $0
DATA_SOURCE 1 type $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &srq->rq.consumer_lock
LOCK2 flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rxe_rq)->consumer_lock

drivers/infiniband/sw/rxe/rxe_resp.c queue_empty() -> queue_get_consumer()

Type Parameter Key Value
DATA_SOURCE 0 q $0
DATA_SOURCE 1 type $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &qp->state_lock
HALF_LOCKED2 &srq->rq.consumer_lock
HALF_LOCKED2 flags

drivers/infiniband/sw/rxe/rxe_verbs.c queue_consumer_addr() -> queue_get_consumer()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 1 type 3
DATA_SOURCE 0 q $0
DATA_SOURCE 1 type $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cq->cq_lock
LOCK2 flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rxe_cq)->cq_lock

drivers/infiniband/sw/rxe/rxe_verbs.c queue_count() -> queue_get_consumer()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 1 type 0,3
DATA_SOURCE 0 q $0
DATA_SOURCE 1 type $1
HARD_MAX 1 type 3

drivers/infiniband/sw/rxe/rxe_verbs.c queue_empty() -> queue_get_consumer()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 1 type 3
DATA_SOURCE 0 q $0
DATA_SOURCE 1 type $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cq->cq_lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq_flags
TYPE_LOCK (struct rxe_cq)->cq_lock

drivers/infiniband/sw/rxe/rxe_verbs.c queue_full() -> queue_get_consumer()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 1 type 2
DATA_SOURCE 0 q $0
DATA_SOURCE 1 type $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &qp->sq.sq_lock
HALF_LOCKED2 flags