Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ipvlan/ipvlan_core.c ipvlan_external_frame() -> ipvlan_addr_lookup()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->mode 0
PARAM_VALUE 1 lyr3h 1-u64max
PARAM_VALUE 2 addr_type 0-3
PARAM_VALUE 3 use_dest 0
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
DATA_SOURCE 0 port $1
DATA_SOURCE 1 lyr3h r ipvlan_get_L3_hdr
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/ipvlan/ipvlan_core.c ipvlan_handle_mode_l3() -> ipvlan_addr_lookup()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->mode 0-1
PARAM_VALUE 1 lyr3h 1-u64max
PARAM_VALUE 2 addr_type 0-3
PARAM_VALUE 3 use_dest 1
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
DATA_SOURCE 0 port $1
DATA_SOURCE 1 lyr3h r ipvlan_get_L3_hdr
HARD_MAX 0 port->mode 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/ipvlan/ipvlan_core.c ipvlan_xmit_mode_l2() -> ipvlan_addr_lookup()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 lyr3h 1-u64max
PARAM_VALUE 2 addr_type 0-3
PARAM_VALUE 3 use_dest 1
DATA_SOURCE 1 lyr3h r ipvlan_get_L3_hdr
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ipvlan/ipvlan_core.c ipvlan_xmit_mode_l3() -> ipvlan_addr_lookup()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 lyr3h 1-u64max
PARAM_VALUE 2 addr_type 0-3
PARAM_VALUE 3 use_dest 1
DATA_SOURCE 1 lyr3h r ipvlan_get_L3_hdr
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ipvlan/ipvlan_l3s.c ipvlan_skb_to_addr() -> ipvlan_addr_lookup()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->mode 2
PARAM_VALUE 1 lyr3h 1-u64max
PARAM_VALUE 2 addr_type 0-3
PARAM_VALUE 3 use_dest 1
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
DATA_SOURCE 1 lyr3h r ipvlan_get_L3_hdr
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read