Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/amd/xgbe/xgbe-drv.c xgbe_alloc_memory() -> xgbe_calc_rx_buf_size()

Type Parameter Key Value
PARAM_VALUE 0 netdev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 1 mtu unit_byte

drivers/net/ethernet/amd/xgbe/xgbe-drv.c xgbe_change_mtu() -> xgbe_calc_rx_buf_size()

Type Parameter Key Value
PARAM_VALUE 0 netdev 4096-ptr_max
BUF_SIZE 0 netdev->ethtool_ops (-1),656
BUF_SIZE 0 netdev->name_node (-1),64
BUF_SIZE 0 netdev->name_node->name (-1),16
BUF_SIZE 0 netdev->nd_net.net (-1),10304,10432
BUF_SIZE 0 netdev->rtnl_link_ops (-1),288
CAPPED_DATA 0 netdev 1
DATA_SOURCE 0 netdev $0
DATA_SOURCE 1 mtu $1
STR_LEN 0 netdev (-1),9-10
STR_LEN 0 netdev (-1),9-10
NOSPEC 0 netdev->flags
NOSPEC 0 netdev->ifindex
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 netdev->flags 0-527362[c]
USER_DATA 0 netdev->group s32min-s32max
USER_DATA 0 netdev->ifindex 0-s32max
USER_DATA 0 netdev->mtu 0-s32max[c]
USER_DATA 0 netdev->num_tc 2-16[c]
USER_DATA 0 *netdev->dev_addr 0-255
USER_DATA 1 mtu 0-s32max[c]
NO_OVERFLOW_SIMPLE 0 netdev->group
NO_OVERFLOW_SIMPLE 0 netdev->name
NO_OVERFLOW_SIMPLE 0 netdev->num_napi_configs
NO_OVERFLOW_SIMPLE 0 netdev->num_rx_queues
NO_OVERFLOW_SIMPLE 0 netdev->num_tx_queues
NO_OVERFLOW_SIMPLE 0 netdev->proto_down
NO_OVERFLOW_SIMPLE 0 netdev->real_num_rx_queues
NO_OVERFLOW_SIMPLE 0 netdev->real_num_tx_queues
NO_OVERFLOW_SIMPLE 0 netdev->tx_queue_len