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/ixgbe/ixgbe_main.c ixgbe_configure_clsu32() -> ixgbe_update_ethtool_fdir_entry()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->fdir_perfect_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->jump_tables 4096-ptr_max
PARAM_VALUE 0 adapter->netdev 4096-ptr_max
PARAM_VALUE 1 input 4096-ptr_max
PARAM_VALUE 1 input->action 0,127,4294967296-18446744069414584320
PARAM_VALUE 1 input->filter->dword_stream 0-4294967295
PARAM_VALUE 1 input->filter.formatted.bkt_hash 0-8191
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 72
CAPPED_DATA 1 input->sw_idx 1
CAPPED_DATA 2 sw_idx 1
DATA_SOURCE 0 adapter $0
DATA_SOURCE 1 input r _kzalloc_noprof
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 sw_idx unit_array_size
LOCK2 &block->cb_lock
LOCK2 0 &adapter->fdir_perfect_lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct ixgbe_adapter)->fdir_perfect_lock
TYPE_LOCK (struct tcf_block)->cb_lock

drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ixgbe_delete_clsu32() -> ixgbe_update_ethtool_fdir_entry()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->fdir_perfect_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->jump_tables 4096-ptr_max
PARAM_VALUE 0 adapter->netdev 4096-ptr_max
PARAM_VALUE 1 input 0
PARAM_VALUE 2 sw_idx 1-2045
BUF_SIZE 0 adapter 16,32,40,48,88,208,544,936
BUF_SIZE 0 adapter 16,32,40,48,88,208,544,936
DATA_SOURCE 0 adapter $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &block->cb_lock
LOCK2 0 &adapter->fdir_perfect_lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct ixgbe_adapter)->fdir_perfect_lock
TYPE_LOCK (struct tcf_block)->cb_lock

drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ixgbe_delete_clsu32() -> ixgbe_update_ethtool_fdir_entry()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->fdir_perfect_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->jump_tables 4096-ptr_max
PARAM_VALUE 0 adapter->netdev 4096-ptr_max
PARAM_VALUE 1 input 0
PARAM_VALUE 2 sw_idx 0-2045
BUF_SIZE 0 adapter 16,32,40,48,88,208,544,936
BUF_SIZE 0 adapter 16,32,40,48,88,208,544,936
DATA_SOURCE 0 adapter $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &block->cb_lock
LOCK2 0 &adapter->fdir_perfect_lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct ixgbe_adapter)->fdir_perfect_lock
TYPE_LOCK (struct tcf_block)->cb_lock

drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c ixgbe_add_ethtool_fdir_entry() -> ixgbe_update_ethtool_fdir_entry()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->fdir_perfect_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 input 4096-ptr_max
PARAM_VALUE 1 input->action 0-18446744073709551614
PARAM_VALUE 1 input->filter->dword_stream 0-4294967295
PARAM_VALUE 1 input->filter.formatted.bkt_hash 0-8191
PARAM_VALUE 1 input->filter.formatted.dst_ip 4096-ptr_max
PARAM_VALUE 1 input->filter.formatted.flow_type 0-3
PARAM_VALUE 1 input->filter.formatted.src_ip 4096-ptr_max
BUF_SIZE 1 input 72
CAPPED_DATA 1 input->sw_idx 1
CAPPED_DATA 2 sw_idx 1
DATA_SOURCE 0 adapter $0
DATA_SOURCE 1 input r _kzalloc_noprof
FUZZY_MAX 1 input->action 127
BIT_INFO 0 adapter->flags 0x80000,0xffffffff
NOSPEC 1 input->sw_idx
NOSPEC 2 sw_idx
NOSPEC 2 sw_idx
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
USER_DATA 0 adapter->fdir_mask.formatted.dst_port 0-u16max
USER_DATA 0 adapter->fdir_mask.formatted.flex_bytes 0-u16max
USER_DATA 0 adapter->fdir_mask.formatted.src_port 0-u16max
USER_DATA 0 adapter->fdir_mask.formatted.vlan_id 0-u16max
USER_DATA 0 adapter->fdir_mask.formatted.vm_pool 0-255
USER_DATA 1 input->action 0-18446744073709551614
USER_DATA 1 input->filter.formatted.bkt_hash 0-8191[c]
USER_DATA 1 input->filter.formatted.dst_port 0-u16max
USER_DATA 1 input->filter.formatted.flex_bytes 0-u16max
USER_DATA 1 input->filter.formatted.src_port 0-u16max
USER_DATA 1 input->filter.formatted.vlan_id 0-u16max
USER_DATA 1 input->filter.formatted.vm_pool 0-255
USER_DATA 1 input->sw_idx 0-u16max[c]
USER_DATA 2 sw_idx 0-u16max[c]
UNITS 2 sw_idx unit_array_size
LOCK2 0 &adapter->fdir_perfect_lock
TYPE_LOCK (struct ixgbe_adapter)->fdir_perfect_lock

drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c ixgbe_del_ethtool_fdir_entry() -> ixgbe_update_ethtool_fdir_entry()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->fdir_perfect_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 input 0
DATA_SOURCE 0 adapter $0
NOSPEC 2 sw_idx
NOSPEC 2 sw_idx
PREEMPT_ADD <- disables preempt
USER_DATA 2 sw_idx 0-u16max
UNITS 2 sw_idx unit_array_size
LOCK2 0 &adapter->fdir_perfect_lock
TYPE_LOCK (struct ixgbe_adapter)->fdir_perfect_lock