Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/sun/niu.c niu_change_mtu() -> niu_enable_napi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | np->num_rx_rings | 0 |
| PARAM_VALUE | 0 | np->num_tx_rings | 0 |
| PARAM_VALUE | 0 | np->reset_task.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | np->rx_rings | 0 |
| PARAM_VALUE | 0 | np->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | np->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | np->timer.function | 0 |
| PARAM_VALUE | 0 | np->tx_rings | 0 |
| PARAM_VALUE | 0 | *np->dev->name | 0-255 |
| CAPPED_DATA | 0 | np->num_ldg | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->lock | ||
| TYPE_LOCK | (struct net_device)->lock |
drivers/net/ethernet/sun/niu.c niu_netif_start() -> niu_enable_napi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | np->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | np->parent->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *np->dev->name | 0-255 |
| CAPPED_DATA | 0 | np->clas.num_alt_mac_mappings | 1 |
| CAPPED_DATA | 0 | np->dev->num_tx_queues | 1 |
| CAPPED_DATA | 0 | np->num_rx_rings | 1 |
| CAPPED_DATA | 0 | np->num_tx_rings | 1 |
| DATA_SOURCE | 0 | np | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &np->lock | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | 0 | &np->dev->lock | |
| TYPE_LOCK | (struct net_device)->lock | ||
| TYPE_LOCK | (struct niu)->lock |
drivers/net/ethernet/sun/niu.c niu_open() -> niu_enable_napi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | np->dev->num_tc | 0 |
| PARAM_VALUE | 0 | np->dev->real_num_rx_queues | 0-255 |
| PARAM_VALUE | 0 | np->dev->real_num_tx_queues | 0-255 |
| PARAM_VALUE | 0 | np->device->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | np->device->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | np->device->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | np->device->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | np->device->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | np->num_rx_rings | 0-255 |
| PARAM_VALUE | 0 | np->num_tx_rings | 0-255 |
| PARAM_VALUE | 0 | np->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | np->rx_rings | 16,4096-ptr_max |
| PARAM_VALUE | 0 | np->tx_rings | 16,4096-ptr_max |
| PARAM_VALUE | 0 | *np->dev->name | 0-255 |
| PARAM_VALUE | 0 | *np->dev->prio_tc_map | 0 |
| CAPPED_DATA | 0 | np->num_ldg | 1 |
| CAPPED_DATA | 0 | np->num_rx_rings | 1 |
| CAPPED_DATA | 0 | np->port | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | np->dev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | np->dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | np->num_rx_rings | |
| NO_OVERFLOW_SIMPLE | 0 | np->num_tx_rings | |
| LOCK2 | &dev->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net_device)->lock |