Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/core/net-sysfs.c traffic_class_show() -> get_netdev_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | queue | 4096-ptr_max |
| PARAM_VALUE | 0 | queue->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | queue->dev->num_tx_queues | 2-u32max |
| PARAM_VALUE | 0 | queue->dev->refcnt_tracker.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | queue->dev->refcnt_tracker.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | queue->dev->refcnt_tracker.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | queue->dev->refcnt_tracker.quarantine.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | queue->dev->refcnt_tracker.quarantine.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | queue->dev->refcnt_tracker.quarantine.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | queue->dev->reg_state | 0-1 |
| DATA_SOURCE | 0 | queue | $2 |
| HARD_MAX | 0 | queue->dev->reg_state | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
net/core/net-sysfs.c tx_maxrate_store() -> get_netdev_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | queue | 4096-ptr_max |
| DATA_SOURCE | 0 | queue | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
net/core/net-sysfs.c xps_cpus_show() -> get_netdev_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | queue | 4096-ptr_max |
| PARAM_VALUE | 0 | queue->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | queue->dev->num_tx_queues | 2-u32max |
| DATA_SOURCE | 0 | queue | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
net/core/net-sysfs.c xps_cpus_store() -> get_netdev_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | queue | 4096-ptr_max |
| PARAM_VALUE | 0 | queue->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | queue->dev->num_tx_queues | 2-u32max |
| DATA_SOURCE | 0 | queue | $2 |
| CAPABLE | 0 | 12 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
net/core/net-sysfs.c xps_rxqs_show() -> get_netdev_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | queue | 4096-ptr_max |
| DATA_SOURCE | 0 | queue | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
net/core/net-sysfs.c xps_rxqs_store() -> get_netdev_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | queue | 4096-ptr_max |
| PARAM_VALUE | 0 | queue->dev | 4096-ptr_max |
| DATA_SOURCE | 0 | queue | $2 |
| NS_CAPABLE | 0 | 12 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |