Documented in 3 files:

Defined in 3 files as a member:

Defined in 5 files as a function:

Referenced in 11 files:

Smatch caller information:

drivers/scsi/cxgbi/cxgb4i/cxgb4i.c calc_tx_flits_ofld() -> sgl_len()

Type Parameter Key Value
PARAM_VALUE 0 n 0-255
RX_PATH
TASK_NOT_RUNNING
LOCK2 &csk->lock
LOCK2 bh
TYPE_LOCK (struct cxgbi_sock)->lock

drivers/net/ethernet/chelsio/cxgb3/sge.c calc_tx_descs() -> sgl_len()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/chelsio/cxgb3/sge.c calc_tx_descs_ofld() -> sgl_len()

Type Parameter Key Value
PARAM_VALUE 0 n 0-255
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh

drivers/net/ethernet/chelsio/cxgb3/sge.c t3_sge_alloc_qset() -> sgl_len()

Type Parameter Key Value
PARAM_VALUE 0 n 18
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/chelsio/cxgb4/sge.c calc_tx_flits() -> sgl_len()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &adap->ptp_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/chelsio/cxgb4/sge.c calc_tx_flits_ofld() -> sgl_len()

Type Parameter Key Value
PARAM_VALUE 0 n 0-255
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 bh

drivers/net/ethernet/chelsio/cxgb4/sge.c ethofld_calc_tx_flits() -> sgl_len()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &eosw_txq->lock
HALF_LOCKED2 &eohw_txq->lock
HALF_LOCKED2 bh
TYPE_LOCK (struct sge_eosw_txq)->lock

drivers/net/ethernet/chelsio/cxgb4/sge.c ethofld_calc_tx_flits() -> sgl_len()

Type Parameter Key Value
PARAM_VALUE 0 n 0-255
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &eosw_txq->lock
HALF_LOCKED2 &eohw_txq->lock
HALF_LOCKED2 bh
TYPE_LOCK (struct sge_eosw_txq)->lock

drivers/net/ethernet/chelsio/cxgb4/sge.c ethofld_calc_tx_flits() -> sgl_len()

Type Parameter Key Value
PARAM_VALUE 0 n 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &eosw_txq->lock
HALF_LOCKED2 &eohw_txq->lock
HALF_LOCKED2 bh
TYPE_LOCK (struct sge_eosw_txq)->lock

drivers/net/ethernet/chelsio/cxgb4/sge.c t4vf_calc_tx_flits() -> sgl_len()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/chelsio/cxgb4vf/sge.c calc_tx_flits() -> sgl_len()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c calc_tx_sec_flits() -> sgl_len()

Type Parameter Key Value
TASK_NOT_RUNNING
HALF_LOCKED2 &adap->ptp_lock
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/crypto/chelsio/chcr_algo.c create_aead_ccm_wr() -> sgl_len()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 n 1-2097215[c][u]

drivers/crypto/chelsio/chcr_algo.c create_authenc_wr() -> sgl_len()

Type Parameter Key Value
DATA_SOURCE 0 n r sg_nents_xlen
BIT_INFO 0 n 0x0,0x7fffffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 n 0-2097214[c][u]

drivers/crypto/chelsio/chcr_algo.c create_cipher_wr() -> sgl_len()

Type Parameter Key Value
DATA_SOURCE 0 n r sg_nents_xlen
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 n 0-2097214[c][u]

drivers/crypto/chelsio/chcr_algo.c create_gcm_wr() -> sgl_len()

Type Parameter Key Value
DATA_SOURCE 0 n r sg_nents_xlen
BIT_INFO 0 n 0x0,0x7fffffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 n 0-2097214[c][u]

drivers/crypto/chelsio/chcr_algo.c create_hash_wr() -> sgl_len()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 n 0-2097215[c][u]