Defined in 2 files as a function:
- drivers/net/ethernet/brocade/bna/bfa_cs.h, line 104 (as a function)
- drivers/scsi/bfa/bfa_cs.h, line 259 (as a function)
Referenced in 5 files:
- drivers/net/ethernet/brocade/bna/bfa_msgq.c, line 557
- drivers/net/ethernet/brocade/bna/bna_enet.c
- drivers/net/ethernet/brocade/bna/bna_tx_rx.c
- drivers/scsi/bfa/bfa_fcpim.c
- drivers/scsi/bfa/bfa_fcs.c
Smatch caller information:
drivers/scsi/bfa/bfa_fcpim.c bfa_itnim_cleanup() -> bfa_wc_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 2 | wc_cbarg | 4096-ptr_max |
| DATA_SOURCE | 2 | wc_cbarg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/scsi/bfa/bfa_fcpim.c bfa_tskim_cleanup_ios() -> bfa_wc_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 2 | wc_cbarg | 4096-ptr_max |
| DATA_SOURCE | 2 | wc_cbarg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bfad->bfad_lock | ||
| HALF_LOCKED2 | flags |
drivers/scsi/bfa/bfa_fcs.c bfa_fcs_attach() -> bfa_wc_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 2 | wc_cbarg | 4096-ptr_max |
| BUF_SIZE | 2 | wc_cbarg | 1744 |
| MEM_ZERO | 0 | wc | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &bfad->bfad_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct bfad_s)->bfad_lock |
drivers/scsi/bfa/bfa_fcs.c bfa_fcs_exit() -> bfa_wc_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 2 | wc_cbarg | 4096-ptr_max |
| DATA_SOURCE | 2 | wc_cbarg | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &bfad->bfad_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct bfad_s)->bfad_lock |
drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_stop() -> bfa_wc_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 2 | wc_cbarg | 4096-ptr_max |
| BUF_SIZE | 2 | wc_cbarg | 1744 |
| DATA_SOURCE | 2 | wc_cbarg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &bfad->bfad_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct bfad_s)->bfad_lock |
drivers/scsi/bfa/bfa_fcs.c bfa_fcs_stop() -> bfa_wc_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 2 | wc_cbarg | 4096-ptr_max |
| DATA_SOURCE | 2 | wc_cbarg | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &bfad->bfad_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| TYPE_LOCK | (struct bfad_s)->bfad_lock |
drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_msgq_notify() -> bfa_wc_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| DATA_SOURCE | 2 | wc_cbarg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bnad->bna_lock | ||
| HALF_LOCKED2 | flags |
drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna_rx_mod_stop() -> bfa_wc_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 2 | wc_cbarg | 4096-ptr_max |
| DATA_SOURCE | 2 | wc_cbarg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bnad->bna_lock | ||
| HALF_LOCKED2 | &bnad->conf_mutex | ||
| HALF_LOCKED2 | flags |
drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna_tx_mod_stop() -> bfa_wc_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 2 | wc_cbarg | 4096-ptr_max |
| DATA_SOURCE | 2 | wc_cbarg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bnad->bna_lock | ||
| HALF_LOCKED2 | &bnad->conf_mutex | ||
| HALF_LOCKED2 | flags |
drivers/net/ethernet/brocade/bna/bna_enet.c bna_enet_sm_cfg_wait() -> bfa_wc_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 2 | wc_cbarg | 4096-ptr_max |
| BUF_SIZE | 2 | wc_cbarg | (-1),136,224,1744,2152 |
| BUF_SIZE | 2 | wc_cbarg | (-1),136,224,1744,2152 |
| DATA_SOURCE | 2 | wc_cbarg | $0 |
| BIT_INFO | 2 | wc_cbarg->flags | 0x0,0xfffffff3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/brocade/bna/bna_enet.c bna_enet_sm_chld_stop_wait_entry() -> bfa_wc_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 2 | wc_cbarg | 4096-ptr_max |
| BUF_SIZE | 2 | wc_cbarg | (-1),136,224,1744,2152 |
| BUF_SIZE | 2 | wc_cbarg | (-1),136,224,1744,2152 |
| BUF_SIZE | 2 | wc_cbarg->stop_cbarg | (-1),1464 |
| DATA_SOURCE | 2 | wc_cbarg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bnad->bna_lock | ||
| HALF_LOCKED2 | &bnad->conf_mutex | ||
| HALF_LOCKED2 | flags |
drivers/net/ethernet/brocade/bna/bna_enet.c bna_enet_sm_started() -> bfa_wc_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 2 | wc_cbarg | 4096-ptr_max |
| DATA_SOURCE | 2 | wc_cbarg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &bnad->bna_lock | ||
| LOCK2 | &bnad->conf_mutex | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct bnad)->bna_lock | ||
| TYPE_LOCK | (struct bnad)->conf_mutex |