Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/net/ethernet/brocade/bna/bfa_ioc.c, line 1893 (as a function)
- drivers/scsi/bfa/bfa_ioc.c, line 1765 (as a function)
Referenced in 3 files:
Smatch caller information:
drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_ioc_mbox_poll() -> bfa_ioc_mbox_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->ioc_hwif->ioc_lpu_read_stat | 0,1050778127933374464 |
| PARAM_VALUE | 0 | ioc->ioc_regs.hfn_mbox_cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 32 |
| BUF_SIZE | 1 | ioc_msg | 32 |
| DATA_SOURCE | 0 | ioc | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ioc->hb_count | 0-u32max |
| UNITS | 2 | len | unit_byte |
| LOCK2 | &bnad->bna_lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct bnad)->bna_lock |
drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_ioc_send_disable() -> bfa_ioc_mbox_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 1 | ioc_msg | 3211150847356948480 |
| PARAM_VALUE | 2 | len | 12 |
| BUF_SIZE | 1 | ioc_msg | 12 |
| DATA_SOURCE | 0 | ioc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &bnad->bna_lock | ||
| HALF_LOCKED2 | &bnad->conf_mutex | ||
| HALF_LOCKED2 | flags |
drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_ioc_send_enable() -> bfa_ioc_mbox_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->cbfn | 4096-ptr_max |
| PARAM_VALUE | 1 | ioc_msg | 8539742871272345600 |
| PARAM_VALUE | 2 | len | 12 |
| BUF_SIZE | 1 | ioc_msg | 12 |
| DATA_SOURCE | 0 | ioc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &bnad->bna_lock | ||
| HALF_LOCKED2 | flags |
drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_ioc_send_getattr() -> bfa_ioc_mbox_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->fsm | 1960940192825139200 |
| PARAM_VALUE | 0 | ioc->ioc_regs.ioc_sem_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->ioc_timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->ioc_timer.entry.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ioc->iocpf_timer.entry.pprev | 0 |
| PARAM_VALUE | 1 | ioc_msg | 934266497206222848 |
| PARAM_VALUE | 2 | len | 12 |
| BUF_SIZE | 1 | ioc_msg | 12 |
| DATA_SOURCE | 0 | ioc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | &bnad->bna_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct bnad)->bna_lock |
drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_nw_ioc_mbox_queue() -> bfa_ioc_mbox_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->ioc_regs.hfn_mbox_cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->mbox_mod.cmd_q.next | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 32 |
| BUF_SIZE | 1 | ioc_msg | 32 |
| DATA_SOURCE | 0 | ioc | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &bnad->bna_lock | ||
| HALF_LOCKED2 | &bnad->conf_mutex | ||
| HALF_LOCKED2 | flags |
drivers/scsi/bfa/bfa_ioc.c bfa_ioc_mbox_poll() -> bfa_ioc_mbox_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->ioc_hwif->ioc_lpu_read_stat | 0,5244971099680157696 |
| PARAM_VALUE | 0 | ioc->ioc_regs.hfn_mbox_cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 32 |
| BUF_SIZE | 0 | ioc | (-1),136,160,376,584,720 |
| BUF_SIZE | 0 | ioc | (-1),136,160,376,584,720 |
| BUF_SIZE | 1 | ioc_msg | 32 |
| DATA_SOURCE | 0 | ioc | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ioc->hb_count | 0-u32max |
| UNITS | 2 | len | unit_byte |
| LOCK2 | &bfad->bfad_lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct bfad_s)->bfad_lock |
drivers/scsi/bfa/bfa_ioc.c bfa_ioc_mbox_queue() -> bfa_ioc_mbox_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->ioc_regs.hfn_mbox_cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->mbox_mod.cmd_q.next | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 32 |
| BUF_SIZE | 1 | ioc_msg | 32 |
| DATA_SOURCE | 0 | ioc | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &bfad->bfad_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &bfad_mutex |
drivers/scsi/bfa/bfa_ioc.c bfa_ioc_send_disable() -> bfa_ioc_mbox_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->trcmod | 4096-ptr_max |
| PARAM_VALUE | 1 | ioc_msg | 2591877480632160256 |
| PARAM_VALUE | 2 | len | 12 |
| BUF_SIZE | 1 | ioc_msg | 12 |
| DATA_SOURCE | 0 | ioc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &bfad->bfad_lock | ||
| HALF_LOCKED2 | flags |
drivers/scsi/bfa/bfa_ioc.c bfa_ioc_send_enable() -> bfa_ioc_mbox_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->bfa->intr_enabled | 1 |
| PARAM_VALUE | 0 | ioc->bfa->ioc.trcmod->head | 0-4095 |
| PARAM_VALUE | 0 | ioc->bfa->ioc.trcmod->tail | 0-4095 |
| PARAM_VALUE | 0 | ioc->bfa->iocfc.hwif.hw_reqq_ack | 0,5723141702983507968 |
| PARAM_VALUE | 0 | ioc->bfa->iocfc.hwif.hw_rspq_ack | 3991379198896197632,4978106008701480960 |
| PARAM_VALUE | 0 | ioc->cbfn | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->trcmod | 4096-ptr_max |
| PARAM_VALUE | 1 | ioc_msg | 235071383677337600 |
| PARAM_VALUE | 2 | len | 12 |
| BUF_SIZE | 1 | ioc_msg | 12 |
| DATA_SOURCE | 0 | ioc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &bfad->bfad_lock | ||
| HALF_LOCKED2 | flags |
drivers/scsi/bfa/bfa_ioc.c bfa_ioc_send_getattr() -> bfa_ioc_mbox_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->fsm | 2674495278471462912 |
| PARAM_VALUE | 0 | ioc->ioc_regs.ioc_sem_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->ioc_timer.arg | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->ioc_timer.qe.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->ioc_timer.timeout | 3000 |
| PARAM_VALUE | 0 | ioc->ioc_timer.timercb | 4231822751390892032 |
| PARAM_VALUE | 0 | ioc->timer_mod | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->timer_mod->timer_q.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->timer_mod->timer_q.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->timer_mod->timer_q.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->timer_mod->timer_q.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->trcmod | 4096-ptr_max |
| PARAM_VALUE | 1 | ioc_msg | 1255480667797245952 |
| PARAM_VALUE | 2 | len | 12 |
| BUF_SIZE | 1 | ioc_msg | 12 |
| CAPPED_DATA | 0 | ioc->timer_mod->timer_q.next | 1 |
| DATA_SOURCE | 0 | ioc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | &bfad->bfad_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct bfad_s)->bfad_lock |
drivers/scsi/bfa/bfa_core.c bfa_faa_query() -> bfa_ioc_mbox_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->attr | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->clscode | 0-511,513-u32max |
| PARAM_VALUE | 0 | ioc->fsm | 4096-ptr_max |
| PARAM_VALUE | 1 | ioc_msg | 4845294626378219520 |
| PARAM_VALUE | 2 | len | 16 |
| BUF_SIZE | 1 | ioc_msg | 16 |
| MEM_ZERO | 1 | ioc_msg | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | &bfad->bfad_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct bfad_s)->bfad_lock |
drivers/scsi/bfa/bfa_core.c bfa_iocfc_send_cfg() -> bfa_ioc_mbox_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 1 | ioc_msg | 2440258942980464640 |
| PARAM_VALUE | 2 | len | 12 |
| BUF_SIZE | 1 | ioc_msg | 12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &bfad->bfad_lock | ||
| HALF_LOCKED2 | flags |