Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/intel/igb/igb_main.c igb_configure_clsflower() -> igb_add_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->netdev->num_tc | s16min-(-1),1-s16max |
| PARAM_VALUE | 0 | adapter->nfc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | input | 4096-ptr_max |
| PARAM_VALUE | 1 | input->action | 0-31 |
| PARAM_VALUE | 1 | input->filter.vlan_tci | 0-7 |
| PARAM_VALUE | 1 | *input->filter.dst_addr | 0-255 |
| PARAM_VALUE | 1 | *input->filter.src_addr | 0-255 |
| BUF_SIZE | 0 | adapter | 16,32,40,48,88,208,544,936 |
| BUF_SIZE | 0 | adapter | 16,32,40,48,88,208,544,936 |
| BUF_SIZE | 1 | input | 56 |
| DATA_SOURCE | 0 | adapter | $0 |
| DATA_SOURCE | 1 | input | r _kzalloc_noprof |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &adapter->nfc_lock | |
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct igb_adapter)->nfc_lock |
drivers/net/ethernet/intel/igb/igb_main.c igb_nfc_filter_restore() -> igb_add_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->hw.hw_addr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->hw.mac.type | 1-7 |
| PARAM_VALUE | 0 | adapter->msix_entries->vector | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->netdev->priv->flags | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->netdev->priv->pdev->is_virtfn | 0-1 |
| PARAM_VALUE | 0 | adapter->netdev->uc.tree.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->nfc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->pdev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->pdev->subordinate->self->link_bwctrl->cdev | 0-s64max |
| PARAM_VALUE | 0 | *adapter->etype_bitmap | 0-1 |
| PARAM_VALUE | 0 | *adapter->netdev->name | 0-255 |
| PARAM_VALUE | 0 | *adapter->netdev->priv->hw->back->shadow_vfta | 0-4294967295 |
| PARAM_VALUE | 0 | *adapter->netdev->priv->hw->mac.mta_shadow | 0-4294967295 |
| PARAM_VALUE | 0 | *adapter->rss_indir_tbl | 0-255 |
| PARAM_VALUE | 1 | input | 1-u64max |
| CAPPED_DATA | 0 | adapter | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | adapter | unit_byte |
| LOCK2 | 0 | &adapter->nfc_lock | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct igb_adapter)->nfc_lock |
drivers/net/ethernet/intel/igb/igb_ethtool.c igb_add_ethtool_nfc_entry() -> igb_add_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->nfc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->num_rx_queues | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | input | 4096-ptr_max |
| PARAM_VALUE | 1 | input->sw_idx | 0-15 |
| BUF_SIZE | 1 | input | 56 |
| CAPPED_DATA | 1 | input->action | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| DATA_SOURCE | 1 | input | r _kzalloc_noprof |
| NOSPEC | 1 | input->action | |
| NOSPEC | 1 | input->sw_idx | |
| PREEMPT_ADD | <- disables preempt | ||
| USER_DATA | 1 | input->action | 0-u16max[c] |
| USER_DATA | 1 | input->filter.etype | 0-u16max |
| USER_DATA | 1 | input->filter.vlan_tci | 0-u16max |
| USER_DATA | 1 | input->sw_idx | 0-15 |
| LOCK2 | 0 | &adapter->nfc_lock | |
| TYPE_LOCK | (struct igb_adapter)->nfc_lock |