Defined in 2 files as a prototype:
- drivers/net/fddi/skfp/hwmtm.c, line 138 (as a prototype)
- drivers/net/fddi/skfp/skfddi.c, line 148 (as a prototype)
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/fddi/skfp/hwmtm.c process_receive() -> mac_drv_clear_rx_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smc | 4096-ptr_max |
| PARAM_VALUE | 0 | smc->evcs->evc_code | 0-255 |
| PARAM_VALUE | 0 | smc->evcs->evc_para | 0,4168,8332-8336,16464-16467 |
| PARAM_VALUE | 0 | smc->evcs->evc_rep_required | 0-255 |
| PARAM_VALUE | 0 | smc->hw.fp.rx | 4096-ptr_max |
| PARAM_VALUE | 0 | smc->hw.hw_state | 0 |
| PARAM_VALUE | 0 | smc->mib.p->fddiPORTHardwarePresent | 0-1 |
| PARAM_VALUE | 0 | smc->mib.p->fddiPORTIndex | 1-2 |
| PARAM_VALUE | 0 | smc->mib.p->fddiPORTLer_Alarm | 4-15 |
| PARAM_VALUE | 0 | smc->mib.p->fddiPORTLer_Cutoff | 4-15 |
| PARAM_VALUE | 0 | smc->mib.p->fddiPORTPMDClass | 0-2,4-6 |
| PARAM_VALUE | 0 | smc->os.hwm.detec_count | 0 |
| PARAM_VALUE | 0 | smc->os.hwm.isr_flag | 0-1 |
| PARAM_VALUE | 0 | smc->os.hwm.tx_p->tx_curr_put->txd_txdscr | 1073741824,1207959552-1476395008 |
| PARAM_VALUE | 0 | smc->y->lem.lem_on | 0-1 |
| PARAM_VALUE | 0 | smc->y->ls_flag | 0 |
| PARAM_VALUE | 0 | smc->y->mib->fddiPORTHardwarePresent | 0-1 |
| PARAM_VALUE | 0 | smc->y->mib->fddiPORTLer_Estimate | 0-65 |
| PARAM_VALUE | 0 | smc->y->mib->fddiPORTMy_Type | 0-2,4 |
| PARAM_VALUE | 0 | smc->y->mib->fddiPORTNeighborType | 0-4 |
| PARAM_VALUE | 0 | smc->y->mib->fddiPORTPCMStateX | 0-4,6-u16max |
| PARAM_VALUE | 0 | smc->y->mib->fddiPORTPMDClass | 0-2,4-6 |
| PARAM_VALUE | 0 | smc->y->np | 0-1 |
| PARAM_VALUE | 0 | smc->y->pc_lem_fail | 0-1 |
| PARAM_VALUE | 0 | smc->y->plc.np_err | 0 |
| PARAM_VALUE | 0 | smc->y->plc.p_bits | 0-3 |
| PARAM_VALUE | 0 | smc->y->plc.p_pad | 0 |
| PARAM_VALUE | 0 | smc->y->plc.p_start | 0,3-4,7-8 |
| PARAM_VALUE | 0 | smc->y->plc.p_state | 0-7 |
| PARAM_VALUE | 0 | smc->y->plc.parity_err | 0 |
| PARAM_VALUE | 0 | smc->y->pmd_scramble | 0-1 |
| PARAM_VALUE | 0 | smc->y->rc_flag | 0 |
| PARAM_VALUE | 0 | smc->y->tc_flag | 0 |
| PARAM_VALUE | 0 | smc->y->td_flag | 0-1 |
| PARAM_VALUE | 0 | smc->y->wc_flag | 0-1 |
| BUF_SIZE | 0 | smc->q.ev_get | (-1),256 |
| DATA_SOURCE | 0 | smc | $0 |
| HARD_MAX | 0 | smc->os.hwm.isr_flag | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | smc->hw.fp.s2l | 0-u16max |
| HOST_DATA | 0 | smc->hw.fp.s2u | 0-u16max |
| HOST_DATA | 0 | smc->r.rmt_timer0.tm_smc->hw.fp.s2l | 0-u16max |
| HOST_DATA | 0 | smc->r.rmt_timer0.tm_smc->hw.fp.s2u | 0-u16max |
| HOST_DATA | 0 | smc->r.rmt_timer1.tm_smc->hw.fp.s2l | 0-u16max |
| HOST_DATA | 0 | smc->r.rmt_timer1.tm_smc->hw.fp.s2u | 0-u16max |
| HOST_DATA | 0 | smc->r.rmt_timer2.tm_smc->hw.fp.s2l | 0-u16max |
| HOST_DATA | 0 | smc->r.rmt_timer2.tm_smc->hw.fp.s2u | 0-u16max |
| HOST_DATA | 0 | smc->sm.smt_timer.tm_smc->hw.fp.s2l | 0-u16max |
| HOST_DATA | 0 | smc->sm.smt_timer.tm_smc->hw.fp.s2u | 0-u16max |
| HOST_DATA | 0 | smc->t.st_fast.tm_smc->hw.fp.s2l | 0-u16max |
| HOST_DATA | 0 | smc->t.st_fast.tm_smc->hw.fp.s2u | 0-u16max |
| NO_OVERFLOW_SIMPLE | 0 | smc->os.hwm.tx_len | |
| HALF_LOCKED2 | &bp->DriverLock |
drivers/net/fddi/skfp/skfddi.c ResetAdapter() -> mac_drv_clear_rx_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smc | 4096-ptr_max |
| PARAM_VALUE | 0 | smc->evcs->evc_code | 0-255 |
| PARAM_VALUE | 0 | smc->evcs->evc_rep_required | 0-255 |
| PARAM_VALUE | 0 | smc->hw.hw_state | 0 |
| PARAM_VALUE | 0 | smc->hw.mac_ring_is_up | 0 |
| PARAM_VALUE | 0 | smc->mib.m->fddiMACFrameErrorRatio | 0-u16max |
| PARAM_VALUE | 0 | smc->mib.m->fddiMACNotCopiedRatio | 0-u16max |
| PARAM_VALUE | 0 | smc->os.hwm.mbuf_pool.mb_free | 4096-ptr_max |
| PARAM_VALUE | 0 | smc->os.hwm.tx_p->tx_curr_put->txd_txdscr | 1073741824,1207959552-1476395008 |
| PARAM_VALUE | 0 | smc->y->wc_flag | 0-1 |
| PARAM_VALUE | 0 | *smc->evcs->evc_cond_state | 0-255 |
| PARAM_VALUE | 0 | *smc->evcs->evc_multiple | 0-255 |
| PARAM_VALUE | 0 | *smc->os.hwm.tx_mb->m_data | 0-255 |
| DATA_SOURCE | 0 | smc | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &bp->DriverLock | ||
| HALF_LOCKED2 | Flags | ||
| TYPE_LOCK | (struct s_smt_os)->DriverLock |
drivers/net/fddi/skfp/skfddi.c skfp_close() -> mac_drv_clear_rx_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smc | 4096-ptr_max |
| PARAM_VALUE | 0 | smc->ess.local_sba_active | 0 |
| PARAM_VALUE | 0 | smc->ess.sba_reply_pend | 0 |
| PARAM_VALUE | 0 | smc->hw.hw_state | 0 |
| PARAM_VALUE | 0 | smc->hw.mac_ring_is_up | 0 |
| PARAM_VALUE | 0 | smc->mib.fddiSMTAvailablePaths | 3 |
| PARAM_VALUE | 0 | smc->mib.fddiSMTConfigCapabilities | 0 |
| PARAM_VALUE | 0 | smc->mib.fddiSMTConnectionPolicy | 32801 |
| PARAM_VALUE | 0 | smc->mib.fddiSMTHiVersionId | 2 |
| PARAM_VALUE | 0 | smc->mib.fddiSMTLoVersionId | 2 |
| PARAM_VALUE | 0 | smc->mib.fddiSMTMACIndexes | 1 |
| PARAM_VALUE | 0 | smc->mib.fddiSMTMIBVersionId | 1 |
| PARAM_VALUE | 0 | smc->mib.fddiSMTMac_Ct | 1 |
| PARAM_VALUE | 0 | smc->mib.fddiSMTOpVersionId | 2 |
| PARAM_VALUE | 0 | smc->mib.fddiSMTPeerWrapFlag | 0 |
| PARAM_VALUE | 0 | smc->mib.fddiSMTRemoteDisconnectFlag | 0 |
| PARAM_VALUE | 0 | smc->mib.fddiSMTStatRptPolicy | 1 |
| PARAM_VALUE | 0 | smc->mib.fddiSMTStationStatus | 1 |
| PARAM_VALUE | 0 | smc->mib.fddiSMTTT_Notify | 10 |
| PARAM_VALUE | 0 | smc->mib.fddiSMTTrace_MaxExpiration | 87500000 |
| PARAM_VALUE | 0 | smc->mib.p->fddiPORTAvailablePaths | 1 |
| PARAM_VALUE | 0 | smc->mib.p->fddiPORTHardwarePresent | 1 |
| PARAM_VALUE | 0 | smc->mib.p->fddiPORTIndex | 1-2 |
| PARAM_VALUE | 0 | smc->mib.p->fddiPORTLer_Alarm | 8 |
| PARAM_VALUE | 0 | smc->mib.p->fddiPORTLer_Cutoff | 7 |
| PARAM_VALUE | 0 | smc->mib.p->fddiPORTPMDClass | 0 |
| PARAM_VALUE | 0 | smc->os.hwm.mbuf_pool.mb_free | 4096-ptr_max |
| PARAM_VALUE | 0 | smc->os.smc_version | 1 |
| PARAM_VALUE | 0 | smc->s.attach_s | 0 |
| PARAM_VALUE | 0 | smc->s.build_ring_map | 1 |
| PARAM_VALUE | 0 | smc->s.ecm_check_poll | 1000000 |
| PARAM_VALUE | 0 | smc->s.ecm_i_max | 25000 |
| PARAM_VALUE | 0 | smc->s.ecm_in_max | 40000 |
| PARAM_VALUE | 0 | smc->s.ecm_td_min | 5000 |
| PARAM_VALUE | 0 | smc->s.ecm_test_done | 1000000 |
| PARAM_VALUE | 0 | smc->s.lct_extended | 50 |
| PARAM_VALUE | 0 | smc->s.lct_long | 5 |
| PARAM_VALUE | 0 | smc->s.lct_medium | 3 |
| PARAM_VALUE | 0 | smc->s.lct_short | 1 |
| PARAM_VALUE | 0 | smc->s.mac_d_max | 1617 |
| PARAM_VALUE | 0 | smc->s.numphys | 2 |
| PARAM_VALUE | 0 | smc->s.pcm_c_min | 1600 |
| PARAM_VALUE | 0 | smc->s.pcm_lc_extended | 50050000 |
| PARAM_VALUE | 0 | smc->s.pcm_lc_long | 5050000 |
| PARAM_VALUE | 0 | smc->s.pcm_lc_medium | 520000 |
| PARAM_VALUE | 0 | smc->s.pcm_lc_short | 55000 |
| PARAM_VALUE | 0 | smc->s.pcm_ns_max | 1310 |
| PARAM_VALUE | 0 | smc->s.pcm_t_next_9 | 210000 |
| PARAM_VALUE | 0 | smc->s.pcm_t_out | 105000 |
| PARAM_VALUE | 0 | smc->s.pcm_tb_max | 50000 |
| PARAM_VALUE | 0 | smc->s.pcm_tb_min | 5000 |
| PARAM_VALUE | 0 | smc->s.pcm_tl_min | 30 |
| PARAM_VALUE | 0 | smc->s.rmt_dup_mac_behavior | 0 |
| PARAM_VALUE | 0 | smc->s.rmt_t_announce | 2500000 |
| PARAM_VALUE | 0 | smc->s.rmt_t_direct | 370000 |
| PARAM_VALUE | 0 | smc->s.rmt_t_jam | 370000 |
| PARAM_VALUE | 0 | smc->s.rmt_t_non_op | 1000000 |
| PARAM_VALUE | 0 | smc->s.rmt_t_poll | 50000 |
| PARAM_VALUE | 0 | smc->s.rmt_t_stuck | 8000000 |
| PARAM_VALUE | 0 | smc->s.sas | 0 |
| PARAM_VALUE | 0 | *smc->mib->fddiSMTManufacturerData | 0-255 |
| PARAM_VALUE | 0 | *smc->mib->fddiSMTPORTIndexes | 1-2 |
| PARAM_VALUE | 0 | *smc->mib->fddiSMTUserData | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |