Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/chelsio/cxgb3/sge.c ofld_xmit() -> write_ofld_wr()

Type Parameter Key Value
PARAM_VALUE 0 adap 4096-ptr_max
PARAM_VALUE 0 adap->sge.qs 4096-ptr_max
PARAM_VALUE 1 skb 4096-ptr_max
PARAM_VALUE 2 q 4096-ptr_max
PARAM_VALUE 2 q->lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 q->sendq.next 4096-ptr_max
PARAM_VALUE 5 ndesc 0-4
BUF_SIZE 1 skb (-1),16,24,32,40,80
BUF_SIZE 1 skb (-1),16,24,32,40,80
BUF_SIZE 2 q 704
BUF_SIZE 2 q 704
BUF_SIZE 6 addr 1-4000000
CAPPED_DATA 2 q->sendq.next 1
CAPPED_DATA 2 q->size 1
CAPPED_DATA 5 ndesc 1
DATA_SOURCE 0 adap $0
DATA_SOURCE 1 skb $2
DATA_SOURCE 2 q $1
DATA_SOURCE 5 ndesc r calc_tx_descs_ofld
PARAM_COMPARE 2 &q->sendq == $2->sendq.next
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 skb->prev->len
NO_OVERFLOW_SIMPLE 1 skb->prev->tail
UNITS 3 pidx unit_array_size
UNITS 6 addr unit_byte
HALF_LOCKED2 bh

drivers/net/ethernet/chelsio/cxgb3/sge.c restart_offloadq() -> write_ofld_wr()

Type Parameter Key Value
PARAM_VALUE 1 skb 4096-ptr_max
PARAM_VALUE 1 skb->next 0
PARAM_VALUE 1 skb->prev 0
PARAM_VALUE 2 q 4096-ptr_max
PARAM_VALUE 2 q->lock.rlock.dep_map->name 0-255
BUF_SIZE 2 q 704
BUF_SIZE 2 q 704
BUF_SIZE 6 addr 1-4000000
CAPPED_DATA 2 &q->sendq 1
CAPPED_DATA 5 ndesc 1
DATA_SOURCE 1 skb r skb_peek
PARAM_COMPARE 3 pidx == $2->pidx
NOCHECK_CALL
UNITS 0 adap unit_byte
UNITS 3 pidx unit_array_size
UNITS 5 ndesc unit_array_size
UNITS 6 addr unit_byte
HALF_LOCKED2 &pool->lock