Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/renesas/rswitch_main.c rswitch_gwca_queue_alloc() -> rswitch_gwca_queue_alloc_rx_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gq | 4096-ptr_max |
| PARAM_VALUE | 0 | gq->dir_tx | 0 |
| PARAM_VALUE | 0 | gq->index | 0-64 |
| PARAM_VALUE | 0 | gq->ndev | 4096-ptr_max |
| PARAM_VALUE | 0 | gq->ndev->addr_len | 6 |
| PARAM_VALUE | 0 | gq->ndev->base_addr | 4096-18446744073709547520 |
| PARAM_VALUE | 0 | gq->ndev->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | gq->ndev->ethtool_ops | 9132938667617628160 |
| PARAM_VALUE | 0 | gq->ndev->flags | 4098 |
| PARAM_VALUE | 0 | gq->ndev->hard_header_len | 14 |
| PARAM_VALUE | 0 | gq->ndev->header_ops | 6794436230740078592 |
| PARAM_VALUE | 0 | gq->ndev->max_mtu | 9600 |
| PARAM_VALUE | 0 | gq->ndev->min_header_len | 14 |
| PARAM_VALUE | 0 | gq->ndev->min_mtu | 68 |
| PARAM_VALUE | 0 | gq->ndev->mtu | 1500 |
| PARAM_VALUE | 0 | gq->ndev->netdev_ops | 1813224360121008128 |
| PARAM_VALUE | 0 | gq->ndev->priv_flags | 0,2048-u32max |
| PARAM_VALUE | 0 | gq->ndev->threaded | 0 |
| PARAM_VALUE | 0 | gq->ndev->tx_queue_len | 1000 |
| PARAM_VALUE | 0 | gq->ndev->type | 1 |
| PARAM_VALUE | 0 | gq->ring_size | 4096 |
| PARAM_VALUE | 0 | gq->rx_bufs | 4096-ptr_max |
| PARAM_VALUE | 1 | start_index | 0 |
| PARAM_VALUE | 2 | num | 4096 |
| BUF_SIZE | 0 | gq->rx_bufs | 32768 |
| CAPPED_DATA | 0 | gq->index | 1 |
| DATA_SOURCE | 0 | gq | $2 |
| DATA_SOURCE | 2 | num | $4 |
| STR_LEN | 0 | gq->ndev->name | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | gq->ring_size | |
| NO_OVERFLOW_SIMPLE | 2 | num | |
| UNITS | 2 | num | unit_array_size |
drivers/net/ethernet/renesas/rswitch_main.c rswitch_rx() -> rswitch_gwca_queue_alloc_rx_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gq | 4096-ptr_max |
| PARAM_VALUE | 0 | gq->rx_ring | 4096-ptr_max |
| CAPPED_DATA | 0 | gq->dirty | 1 |
| CAPPED_DATA | 1 | start_index | 1 |
| DATA_SOURCE | 2 | num | r rswitch_get_num_cur_queues |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | gq->skb_fstart->end | |
| UNITS | 1 | start_index | unit_array_size |
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |