Documented in 3 files:

Defined in 3 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/ethernet/chelsio/cxgb3/sge.c handle_responses() -> is_new_response()

Type Parameter Key Value
PARAM_VALUE 1 rspq 4096-ptr_max
BUF_SIZE 1 rspq 328
DATA_SOURCE 1 rspq $1
PREEMPT_ADD
LOCK2 1 &rspq->lock
TYPE_LOCK (struct sge_rspq)->lock

drivers/net/ethernet/chelsio/cxgb3/sge.c process_pure_responses() -> is_new_response()

Type Parameter Key Value
PARAM_VALUE 1 rspq 4096-ptr_max
BUF_SIZE 1 rspq 328
DATA_SOURCE 0 rc $2 [m]
PREEMPT_ADD
LOCK2 &q->lock
TYPE_LOCK (struct sge_rspq)->lock

drivers/net/ethernet/chelsio/cxgb3/sge.c process_pure_responses() -> is_new_response()

Type Parameter Key Value
PARAM_VALUE 0 rc 4096-ptr_max
PARAM_VALUE 1 rspq 4096-ptr_max
BUF_SIZE 1 rspq 328
DATA_SOURCE 0 rc $2 [m]
PREEMPT_ADD
LOCK2 &q->lock
TYPE_LOCK (struct sge_rspq)->lock

drivers/net/ethernet/chelsio/cxgb3/sge.c process_responses() -> is_new_response()

Type Parameter Key Value
PARAM_VALUE 1 rspq 4096-ptr_max
BUF_SIZE 1 rspq 328
BUF_SIZE 1 rspq->pg_skb (-1)-256
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_PTR 1 rspq->pg_skb->data
HALF_LOCKED2 &q->lock

drivers/net/ethernet/chelsio/cxgb3/sge.c process_responses() -> is_new_response()

Type Parameter Key Value
PARAM_VALUE 0 rc 4096-u64max
PARAM_VALUE 1 rspq 4096-ptr_max
PARAM_VALUE 1 rspq->gen 0-1
BUF_SIZE 1 rspq 328
BUF_SIZE 1 rspq->pg_skb (-1)-256
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_PTR 1 rspq->pg_skb->data
HALF_LOCKED2 &q->lock

drivers/net/ethernet/chelsio/cxgb3/sge.c rspq_check_napi() -> is_new_response()

Type Parameter Key Value
PARAM_VALUE 1 rspq 4096-ptr_max
BUF_SIZE 1 rspq 328
PREEMPT_ADD
LOCK2 &q->lock
TYPE_LOCK (struct sge_rspq)->lock

drivers/net/ethernet/chelsio/cxgb3/sge.c t3_intr() -> is_new_response()

Type Parameter Key Value
PARAM_VALUE 1 rspq 4096-ptr_max
BUF_SIZE 1 rspq 328
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 1 &rspq->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags
TYPE_LOCK (struct sge_rspq)->lock

drivers/net/ethernet/chelsio/cxgb3/sge.c t3_intr() -> is_new_response()

Type Parameter Key Value
PARAM_VALUE 1 rspq 4096-ptr_max
BUF_SIZE 1 rspq 328
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &q0->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags
TYPE_LOCK (struct sge_rspq)->lock

drivers/net/ethernet/chelsio/cxgb4/sge.c process_intrq() -> is_new_response()

Type Parameter Key Value
PARAM_VALUE 0 rc 4096-ptr_max
PARAM_VALUE 1 rspq 4096-ptr_max
BUF_SIZE 1 rspq 784
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 rc unit_byte
LOCK2 &adap->sge.intrq_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct sge)->intrq_lock

drivers/net/ethernet/chelsio/cxgb4/sge.c process_responses() -> is_new_response()

Type Parameter Key Value
PARAM_VALUE 0 rc 4096-ptr_max
PARAM_VALUE 1 rspq 4096-ptr_max
DATA_SOURCE 1 rspq $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 rc unit_byte
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/chelsio/cxgb4vf/sge.c process_intrq() -> is_new_response()

Type Parameter Key Value
PARAM_VALUE 0 rc 4096-ptr_max
PARAM_VALUE 1 rspq 4096-ptr_max
BUF_SIZE 1 rspq 656
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 rc unit_byte
LOCK2 &adapter->sge.intrq_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct sge)->intrq_lock

drivers/net/ethernet/chelsio/cxgb4vf/sge.c process_responses() -> is_new_response()

Type Parameter Key Value
PARAM_VALUE 0 rc 4096-ptr_max
PARAM_VALUE 1 rspq 4096-ptr_max
DATA_SOURCE 1 rspq $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 rc unit_byte
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read