Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c qlcnic_set_channels() -> qlcnic_validate_rings()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->drv_sds_rings 1-255
PARAM_VALUE 0 adapter->flags 4-u32max
PARAM_VALUE 1 ring_cnt 0
PARAM_VALUE 2 queue_type 2
PARAM_COMPARE 0 adapter->drv_sds_rings > $1
PARAM_COMPARE 1 ring_cnt < $0->drv_sds_rings
BIT_INFO 0 adapter->flags 0x4,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
UNITS 1 ring_cnt unit_array_size

drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c qlcnic_set_channels() -> qlcnic_validate_rings()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->drv_tx_rings 1-255
PARAM_VALUE 0 adapter->flags 4-u32max
PARAM_VALUE 0 *adapter->netdev->name 0-255
PARAM_VALUE 1 ring_cnt 0
PARAM_VALUE 2 queue_type 1
PARAM_COMPARE 0 adapter->drv_tx_rings > $1
PARAM_COMPARE 1 ring_cnt < $0->drv_tx_rings
BIT_INFO 0 adapter->flags 0x4,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 ring_cnt 0
UNITS 1 ring_cnt unit_array_size