Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

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

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

drivers/infiniband/sw/rxe/rxe_req.c rxe_do_local_ops() -> queue_next_index()

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

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

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/sw/rxe/rxe_req.c update_state() -> queue_next_index()

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

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

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
BUF_SIZE 0 q 56
DATA_SOURCE 0 q $1
PREEMPT_ADD
USER_DATA 0 q->elem_size 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 q->ip->info.size
LOCK2 consumer_flags
LOCK2 consumer_lock
HALF_LOCKED2 producer_flags
HALF_LOCKED2 producer_lock

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

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