Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
io_uring/zcrx.c zcrx_register_netdev() -> netdev_queue_get_dma_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | 0-4294967294 |
| PARAM_VALUE | 2 | type | 0 |
| CAPPED_DATA | 0 | dev->nd_net.net | 1 |
| DATA_SOURCE | 0 | dev | r netdev_get_by_index_lock |
| CAPABLE | 0 | 12 | |
| USER_DATA | 1 | idx | 0-4294967294 |
| LOCK2 | &ctx->uring_lock | ||
| LOCK2 | &dev->lock | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct io_ring_ctx)->uring_lock |
net/core/netdev-genl.c netdev_nl_bind_tx_doit() -> netdev_queue_get_dma_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netmem_tx | 1 |
| PARAM_VALUE | 1 | idx | 0 |
| PARAM_VALUE | 2 | type | 1 |
| CAPPED_DATA | 0 | dev | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->lock | ||
| LOCK2 | &priv->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | 0 | &dev->lock | |
| TYPE_LOCK | (struct netdev_nl_sock)->lock |
net/core/netdev-genl.c netdev_nl_get_dma_dev() -> netdev_queue_get_dma_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->real_num_rx_queues | 1-u32max |
| PARAM_VALUE | 1 | idx | 0-64 |
| PARAM_VALUE | 2 | type | 0 |
| CAPPED_DATA | 0 | dev->nd_net.net | 1 |
| CAPPED_DATA | 1 | idx | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | idx | r find_next_bit |
| PARAM_COMPARE | 0 | dev->real_num_rx_queues | > $1 |
| PARAM_COMPARE | 1 | idx | < $0->real_num_rx_queues |
| CONSTRAINT | 1 | idx | <4123 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | idx | unit_array_size |
| LOCK2 | &dev->lock | ||
| LOCK2 | &priv->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct netdev_nl_sock)->lock |