Defined in 1 files as a function:
Referenced in 3 files:
- drivers/scsi/cxgbi/cxgb3i/cxgb3i.c, line 438
- drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
- drivers/scsi/cxgbi/libcxgbi.c
Smatch caller information:
drivers/scsi/cxgbi/libcxgbi.c cxgbi_conn_pdu_ready() -> cxgbi_skcb_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 1-ptr_max |
| PARAM_VALUE | 1 | flag | 6 |
| DATA_SOURCE | 0 | skb | r skb_peek |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &csk->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct cxgbi_sock)->lock |
drivers/scsi/cxgbi/libcxgbi.c cxgbi_conn_pdu_ready() -> cxgbi_skcb_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->cb | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 3 |
| DATA_SOURCE | 0 | skb | r skb_peek |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &csk->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct cxgbi_sock)->lock |
drivers/scsi/cxgbi/libcxgbi.c cxgbi_conn_pdu_ready() -> cxgbi_skcb_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->cb | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 5 |
| DATA_SOURCE | 0 | skb | r skb_peek |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &csk->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct cxgbi_sock)->lock |
drivers/scsi/cxgbi/libcxgbi.c cxgbi_prep_iso_info() -> cxgbi_skcb_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 12 |
| DATA_SOURCE | 0 | skb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | bh |
drivers/scsi/cxgbi/libcxgbi.c cxgbi_sock_tx_queue_up() -> cxgbi_skcb_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 12 |
| DATA_SOURCE | 0 | skb | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &csk->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &session->frwd_lock | ||
| TYPE_LOCK | (struct cxgbi_sock)->lock |
drivers/scsi/cxgbi/libcxgbi.c cxgbi_sock_tx_queue_up() -> cxgbi_skcb_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->cb | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 12 |
| DATA_SOURCE | 0 | skb | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &csk->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &session->frwd_lock | ||
| TYPE_LOCK | (struct cxgbi_sock)->lock |
drivers/scsi/cxgbi/libcxgbi.c skb_read_pdu_bhs() -> cxgbi_skcb_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->cb | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 9 |
| DATA_SOURCE | 0 | skb | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &csk->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct cxgbi_sock)->lock |
drivers/scsi/cxgbi/libcxgbi.c skb_read_pdu_bhs() -> cxgbi_skcb_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->cb | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 7 |
| DATA_SOURCE | 0 | skb | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &csk->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct cxgbi_sock)->lock |
drivers/scsi/cxgbi/libcxgbi.c skb_read_pdu_bhs() -> cxgbi_skcb_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->cb | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 8 |
| DATA_SOURCE | 0 | skb | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &csk->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct cxgbi_sock)->lock |
drivers/scsi/cxgbi/libcxgbi.c skb_read_pdu_data() -> cxgbi_skcb_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->cb | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 10 |
| DATA_SOURCE | 0 | skb | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &csk->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct cxgbi_sock)->lock |
drivers/scsi/cxgbi/libcxgbi.c skb_read_pdu_data() -> cxgbi_skcb_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->cb | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 8 |
| CAPPED_DATA | 0 | skb | 1 |
| DATA_SOURCE | 0 | skb | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &csk->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct cxgbi_sock)->lock |
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cxgb4i_make_tx_data_wr() -> cxgbi_skcb_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->cb | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 12 |
| DATA_SOURCE | 0 | skb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &csk->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct cxgbi_sock)->lock |
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cxgb4i_make_tx_data_wr() -> cxgbi_skcb_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->cb | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 12 |
| CAPPED_DATA | 0 | skb->head | 1 |
| DATA_SOURCE | 0 | skb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &csk->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct cxgbi_sock)->lock |
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cxgb4i_process_ddpvld() -> cxgbi_skcb_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->cb | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 5 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &csk->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct cxgbi_sock)->lock |
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c do_rx_iscsi_cmp() -> cxgbi_skcb_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 1-ptr_max |
| PARAM_VALUE | 1 | flag | 5 |
| DATA_SOURCE | 0 | skb | r skb_peek |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &csk->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct cxgbi_sock)->lock |
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c is_ofld_imm() -> cxgbi_skcb_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 0 |
| DATA_SOURCE | 0 | skb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | skb->prev->len | |
| NO_OVERFLOW_SIMPLE | 0 | skb->prev->tail | |
| LOCK2 | &csk->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct cxgbi_sock)->lock |
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c is_ofld_imm() -> cxgbi_skcb_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 12 |
| DATA_SOURCE | 0 | skb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &csk->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct cxgbi_sock)->lock |
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c push_tx_frames() -> cxgbi_skcb_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 12 |
| DATA_SOURCE | 0 | skb | r skb_peek |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &csk->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct cxgbi_sock)->lock |
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c push_tx_frames() -> cxgbi_skcb_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 0 |
| DATA_SOURCE | 0 | skb | r skb_peek |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &csk->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct cxgbi_sock)->lock |
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c push_tx_frames() -> cxgbi_skcb_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->cb | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 0 |
| DATA_SOURCE | 0 | skb | r skb_peek |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &csk->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct cxgbi_sock)->lock |
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c push_tx_frames() -> cxgbi_skcb_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->cb | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 12 |
| DATA_SOURCE | 0 | skb | r skb_peek |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &csk->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct cxgbi_sock)->lock |
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c push_tx_frames() -> cxgbi_skcb_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->cb | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 2 |
| DATA_SOURCE | 0 | skb | r skb_peek |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &csk->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct cxgbi_sock)->lock |
drivers/scsi/cxgbi/cxgb3i/cxgb3i.c push_tx_frames() -> cxgbi_skcb_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->cb | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 0 |
| CAPPED_DATA | 0 | skb->csum | 1 |
| DATA_SOURCE | 0 | skb | r skb_peek |
| BIT_INFO | 0 | skb->csum | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &csk->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct cxgbi_sock)->lock |