Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/net/ethernet/chelsio/cxgb4/sge.c, line 4839 (as a function)
- drivers/net/ethernet/chelsio/cxgb4vf/sge.c, line 2511 (as a function)
Referenced in 6 files:
- drivers/net/ethernet/alacritech/slicoss.c
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
- drivers/net/ethernet/chelsio/cxgb4/sge.c
- drivers/net/ethernet/chelsio/cxgb4vf/sge.c, line 2577
- drivers/net/wireless/ath/ath10k/htt_tx.c
- net/mac80211/sta_info.c
Smatch caller information:
drivers/net/ethernet/chelsio/cxgb4/sge.c t4_free_sge_resources() -> free_txq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->fatal_err_notify_task.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->mbox_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->mlist.list.prev | 6161797322780819456 |
| PARAM_VALUE | 0 | adapter->mlist.list.prev->next | 6161797322780819456 |
| PARAM_VALUE | 0 | adapter->mlist.list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev_dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | adapter->sge.ethqsets | 1-u16max |
| PARAM_VALUE | 0 | adapter->sge.ethrxq | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->sge.ethtxq | 4096-ptr_max |
| PARAM_VALUE | 1 | tq->desc | 1-u64max |
| BUF_SIZE | 0 | adapter | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | adapter | 1 |
| CAPPED_DATA | 0 | adapter->params.nports | 1 |
| CAPPED_DATA | 0 | adapter->sge.ethqsets | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | adapter->sge.fl_pg_order | 0-19,4294967284-u32max[c] |
| HOST_DATA | 0 | adapter->sge.fl_starve_thres | 1-511[c] |
| HOST_DATA | 0 | adapter->sge.pktshift | 0-7 |
| HOST_DATA | 0 | adapter->sge.ptptxq.q.bar2_qid | 0-u16max[c] |
| HOST_DATA | 0 | adapter->t4_bar0 | 0,16-4294967280[c] |
| UNITS | 0 | adapter | unit_byte |
| HALF_LOCKED2 | global &uld_mutex |
drivers/net/ethernet/chelsio/cxgb4/sge.c t4_free_sge_resources() -> free_txq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->fatal_err_notify_task.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->mbox_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->mlist.list.prev | 6161797322780819456 |
| PARAM_VALUE | 0 | adapter->mlist.list.prev->next | 6161797322780819456 |
| PARAM_VALUE | 0 | adapter->mlist.list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev_dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | adapter->sge.ctrlq | 4096-ptr_max |
| PARAM_VALUE | 1 | tq | 4096-ptr_max |
| PARAM_VALUE | 1 | tq->desc | 1-u64max |
| BUF_SIZE | 0 | adapter | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | adapter | 1 |
| CAPPED_DATA | 0 | adapter->params.nports | 1 |
| CAPPED_DATA | 0 | adapter->sge.ethqsets | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | adapter->sge.fl_pg_order | 0-19,4294967284-u32max[c] |
| HOST_DATA | 0 | adapter->sge.fl_starve_thres | 1-511[c] |
| HOST_DATA | 0 | adapter->sge.pktshift | 0-7 |
| HOST_DATA | 0 | adapter->sge.ptptxq.q.bar2_qid | 0-u16max[c] |
| HOST_DATA | 0 | adapter->t4_bar0 | 0,16-4294967280[c] |
| UNITS | 0 | adapter | unit_byte |
| HALF_LOCKED2 | global &uld_mutex |
drivers/net/ethernet/chelsio/cxgb4/sge.c t4_free_sge_resources() -> free_txq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->fatal_err_notify_task.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->mbox_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->mlist.list.prev | 6161797322780819456 |
| PARAM_VALUE | 0 | adapter->mlist.list.prev->next | 6161797322780819456 |
| PARAM_VALUE | 0 | adapter->mlist.list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev_dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | adapter->ptp_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->sge.ctrlq | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->sge.fw_evtq.desc | 0 |
| PARAM_VALUE | 0 | adapter->sge.intrq.desc | 0 |
| PARAM_VALUE | 0 | adapter->sge.ptptxq.q.desc | 1-u64max |
| PARAM_VALUE | 1 | tq->desc | 1-u64max |
| BUF_SIZE | 0 | adapter | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | adapter | 1 |
| CAPPED_DATA | 0 | adapter->params.nports | 1 |
| CAPPED_DATA | 0 | adapter->sge.ethqsets | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | adapter->sge.fl_pg_order | 0-19,4294967284-u32max[c] |
| HOST_DATA | 0 | adapter->sge.fl_starve_thres | 1-511[c] |
| HOST_DATA | 0 | adapter->sge.pktshift | 0-7 |
| HOST_DATA | 0 | adapter->sge.ptptxq.q.bar2_qid | 0-u16max[c] |
| HOST_DATA | 0 | adapter->t4_bar0 | 0,16-4294967280[c] |
| HOST_DATA | 1 | tq->bar2_qid | 0-u16max[c] |
| UNITS | 0 | adapter | unit_byte |
| HALF_LOCKED2 | global &uld_mutex |
drivers/net/ethernet/chelsio/cxgb4/sge.c t4_sge_free_ethofld_txq() -> free_txq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->fatal_err_notify_task.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->mbox_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->mlist.list.prev | 6161797322780819456 |
| PARAM_VALUE | 0 | adapter->mlist.list.prev->next | 6161797322780819456 |
| PARAM_VALUE | 0 | adapter->mlist.list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->sge.eohw_rxq | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->sge.eohw_txq | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->tc_mqprio | 4096-ptr_max |
| PARAM_VALUE | 1 | tq | 4096-ptr_max |
| PARAM_VALUE | 1 | tq->desc | 1-u64max |
| BUF_SIZE | 0 | adapter->sge.eohw_rxq | (-1)-62913600 |
| BUF_SIZE | 0 | adapter->sge.eohw_txq | (-1)-19398360 |
| DATA_SOURCE | 0 | adapter | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | adapter->sge.eoqsets | |
| NO_OVERFLOW_SIMPLE | 1 | tq->size | |
| LOCK2 | &adap->tc_mqprio->mqprio_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct cxgb4_tc_mqprio)->mqprio_mutex |
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c free_sge_txq_uld() -> free_txq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->fatal_err_notify_task.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->mbox_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->mlist.list.prev | 6161797322780819456 |
| PARAM_VALUE | 0 | adapter->mlist.list.prev->next | 6161797322780819456 |
| PARAM_VALUE | 0 | adapter->mlist.list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev_dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | adapter->pdev_dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | adapter->sge.uld_txq_info | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->uld | 4096-ptr_max |
| PARAM_VALUE | 1 | tq | 4096-ptr_max |
| PARAM_VALUE | 1 | tq->desc | 1-u64max |
| BUF_SIZE | 0 | adapter | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | adapter | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | adapter | unit_byte |
| LOCK2 | global &uld_mutex |
drivers/net/ethernet/chelsio/cxgb4vf/sge.c t4vf_free_sge_resources() -> free_txq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->mbox_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->mlist.list.prev | 6401626615959056384 |
| PARAM_VALUE | 0 | adapter->mlist.list.prev->next | 6401626615959056384 |
| PARAM_VALUE | 0 | adapter->mlist.list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev_dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | adapter->sge.ethqsets | 1-u16max |
| PARAM_VALUE | 1 | tq->desc | 1-u64max |
| BUF_SIZE | 0 | adapter | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | adapter | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | adapter | unit_byte |
| HALF_LOCKED2 | &dev->mutex |