Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/amd/xgbe/xgbe-dev.c xgbe_calculate_dcb_fifo() -> xgbe_get_max_frame()

Type Parameter Key Value
PARAM_VALUE 0 pdata 4096-ptr_max
BUF_SIZE 0 pdata->an_workqueue (-1),512,8712
BUF_SIZE 0 pdata->dev_workqueue (-1),512,8712
BUF_SIZE 0 pdata->pfc (-1),136
DATA_SOURCE 0 pdata $0
STR_LEN 0 pdata->an_name (-1),46
STR_LEN 0 pdata->ecc_name (-1),46
STR_LEN 0 pdata->i2c_name (-1),46
NOSPEC 0 pdata->channel_count
NOSPEC 0 pdata->tx_q_count
NOSPEC 0 pdata->tx_ring_count
MEM_ZERO 0 pdata->pfcq
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 pdata->channel_count 1-s32max[c]
USER_DATA 0 pdata->new_tx_ring_count 0[c]
USER_DATA 0 pdata->pfc->delay 0-u16max
USER_DATA 0 pdata->pfc->mbc 0-255
USER_DATA 0 pdata->pfc->pfc_cap 0-255
USER_DATA 0 pdata->pfc->pfc_en 0-255
USER_DATA 0 pdata->rx_buf_size 1536-4096[c]
USER_DATA 0 pdata->tx_q_count 1-u32max[c]
USER_DATA 0 pdata->tx_ring_count 1-u32max[c]
USER_PTR 0 pdata->pfc->indications
USER_PTR 0 pdata->pfc->requests

drivers/net/ethernet/amd/xgbe/xgbe-dev.c xgbe_get_pfc_delay() -> xgbe_get_max_frame()

Type Parameter Key Value
PARAM_VALUE 0 pdata 4096-ptr_max
PARAM_VALUE 0 pdata->netdev 4096-ptr_max
BUF_SIZE 0 pdata->an_workqueue (-1),512,8712
BUF_SIZE 0 pdata->dev_workqueue (-1),512,8712
BUF_SIZE 0 pdata->pfc (-1),136
DATA_SOURCE 0 pdata $0
STR_LEN 0 pdata->an_name (-1),46
STR_LEN 0 pdata->ecc_name (-1),46
STR_LEN 0 pdata->i2c_name (-1),46
NOSPEC 0 pdata->channel_count
NOSPEC 0 pdata->tx_q_count
NOSPEC 0 pdata->tx_ring_count
MEM_ZERO 0 pdata->pfcq
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 pdata->channel_count 1-s32max[c]
USER_DATA 0 pdata->new_tx_ring_count 0[c]
USER_DATA 0 pdata->pfc->delay 0
USER_DATA 0 pdata->pfc->mbc 0-255
USER_DATA 0 pdata->pfc->pfc_cap 0-255
USER_DATA 0 pdata->pfc->pfc_en 1-255
USER_DATA 0 pdata->rx_buf_size 1536-4096[c]
USER_DATA 0 pdata->tx_q_count 1-u32max[c]
USER_DATA 0 pdata->tx_ring_count 1-u32max[c]
NO_OVERFLOW_SIMPLE 0 pdata->napi.thread->dl.pi_se->dl_runtime
USER_PTR 0 pdata->pfc->indications
USER_PTR 0 pdata->pfc->requests

drivers/net/ethernet/amd/xgbe/xgbe-dev.c xgbe_queue_flow_control_threshold() -> xgbe_get_max_frame()

Type Parameter Key Value
PARAM_VALUE 0 pdata 4096-ptr_max
BUF_SIZE 0 pdata->an_workqueue (-1),512,8712
BUF_SIZE 0 pdata->dev_workqueue (-1),512,8712
BUF_SIZE 0 pdata->pfc (-1),136
CAPPED_DATA 0 pdata->pfc_rfa 1
CAPPED_DATA 0 pdata->rx_q_count 1
DATA_SOURCE 0 pdata $0
STR_LEN 0 pdata->an_name (-1),46
STR_LEN 0 pdata->ecc_name (-1),46
STR_LEN 0 pdata->i2c_name (-1),46
NOSPEC 0 pdata->channel_count
NOSPEC 0 pdata->tx_q_count
NOSPEC 0 pdata->tx_ring_count
MEM_ZERO 0 pdata->pfcq
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 pdata->channel_count 1-s32max[c]
USER_DATA 0 pdata->new_tx_ring_count 0[c]
USER_DATA 0 pdata->pfc->delay 0-u16max
USER_DATA 0 pdata->pfc->mbc 0-255
USER_DATA 0 pdata->pfc->pfc_cap 0-255
USER_DATA 0 pdata->pfc->pfc_en 0-255
USER_DATA 0 pdata->rx_buf_size 1536-4096[c]
USER_DATA 0 pdata->tx_q_count 1-u32max[c]
USER_DATA 0 pdata->tx_ring_count 1-u32max[c]
NO_OVERFLOW_SIMPLE 0 pdata->napi.thread->dl.pi_se->dl_runtime
USER_PTR 0 pdata->pfc->indications
USER_PTR 0 pdata->pfc->requests