Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/renesas/rswitch_main.c rswitch_rx() -> rswitch_next_queue_index()

Type Parameter Key Value
PARAM_VALUE 0 gq 4096-ptr_max
PARAM_VALUE 1 cur 1
PARAM_VALUE 2 num 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 gq->skb_fstart->end
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/renesas/rswitch_main.c rswitch_rx() -> rswitch_next_queue_index()

Type Parameter Key Value
PARAM_VALUE 0 gq 4096-ptr_max
PARAM_VALUE 1 cur 0
CAPPED_DATA 0 gq->dirty 1
CAPPED_DATA 2 num 1
DATA_SOURCE 2 num r rswitch_get_num_cur_queues
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 gq->skb_fstart->end
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/renesas/rswitch_main.c rswitch_start_xmit() -> rswitch_next_queue_index()

Type Parameter Key Value
PARAM_VALUE 0 gq 4096-ptr_max
PARAM_VALUE 1 cur 1
CAPPED_DATA 0 gq->dirty 1
RX_PATH
TASK_NOT_RUNNING
UNITS 2 num unit_array_size
HALF_LOCKED2 &ndev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/renesas/rswitch_main.c rswitch_start_xmit() -> rswitch_next_queue_index()

Type Parameter Key Value
PARAM_VALUE 0 gq 4096-ptr_max
PARAM_VALUE 1 cur 1
CAPPED_DATA 0 gq->dirty 1
RX_PATH
TASK_NOT_RUNNING
UNITS 2 num unit_array_size
HALF_LOCKED2 &ndev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/renesas/rswitch_main.c rswitch_ts() -> rswitch_next_queue_index()

Type Parameter Key Value
PARAM_VALUE 0 gq 4096-ptr_max
PARAM_VALUE 1 cur 1
PARAM_VALUE 2 num 1
BUF_SIZE 0 gq 72
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

drivers/net/ethernet/renesas/rswitch_main.c rswitch_ts() -> rswitch_next_queue_index()

Type Parameter Key Value
PARAM_VALUE 0 gq 4096-ptr_max
PARAM_VALUE 1 cur 0
BUF_SIZE 0 gq 72
CAPPED_DATA 0 gq->dirty 1
CAPPED_DATA 2 num 1
DATA_SOURCE 2 num r rswitch_get_num_cur_queues
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

drivers/net/ethernet/renesas/rswitch_main.c rswitch_tx_free() -> rswitch_next_queue_index()

Type Parameter Key Value
PARAM_VALUE 0 gq 4096-ptr_max
PARAM_VALUE 1 cur 0
PARAM_VALUE 2 num 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read