Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/net/vrf.c ip_neigh_for_gw() -> ip_neigh_gw4()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
UNITS 1 daddr unit_byte
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/vrf.c ip_neigh_for_gw() -> ip_neigh_gw4()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
UNITS 1 daddr unit_byte
LOCK2 rcu_read
HALF_LOCKED2 bh

net/core/filter.c bpf_out_neigh_v4() -> ip_neigh_gw4()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
CAPPED_DATA 0 dev->ifindex 1
CAPPED_DATA 0 dev->nd_net.net 1
DATA_SOURCE 0 dev $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

net/core/filter.c ip_neigh_for_gw() -> ip_neigh_gw4()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
UNITS 1 daddr unit_byte
LOCK2 rcu_read
HALF_LOCKED2 bh

net/core/filter.c ip_neigh_for_gw() -> ip_neigh_gw4()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
UNITS 1 daddr unit_byte
LOCK2 rcu_read
HALF_LOCKED2 bh

net/netfilter/nf_flow_table_ip.c nf_flow_offload_ip_hook() -> ip_neigh_gw4()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
HALF_LOCKED2 rcu_read

net/ipv4/route.c ipv4_neigh_lookup() -> ip_neigh_gw4()

Type Parameter Key Value
DATA_SOURCE 0 dev r dst_dev_rcu
RX_PATH
TASK_NOT_RUNNING
UNITS 1 daddr unit_byte
LOCK2 rcu_read
HALF_LOCKED2 &esw->offloads.encap_tbl_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tc_info->lock
HALF_LOCKED2 global &rx_queue_mutex

net/ipv4/route.c ipv4_neigh_lookup() -> ip_neigh_gw4()

Type Parameter Key Value
DATA_SOURCE 0 dev r dst_dev_rcu
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 daddr 0-u32max
UNITS 1 daddr unit_byte
LOCK2 rcu_read
HALF_LOCKED2 &esw->offloads.encap_tbl_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tc_info->lock
HALF_LOCKED2 global &rx_queue_mutex

net/ipv4/ip_output.c ip_neigh_for_gw() -> ip_neigh_gw4()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
UNITS 1 daddr unit_byte
LOCK2 rcu_read
HALF_LOCKED2 &net->ipv4.mfc_mutex
HALF_LOCKED2 &net->ipv6.mfc_mutex
HALF_LOCKED2 &sk->sk_callback_lock
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 sk

net/ipv4/ip_output.c ip_neigh_for_gw() -> ip_neigh_gw4()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
UNITS 1 daddr unit_byte
LOCK2 rcu_read
HALF_LOCKED2 &net->ipv4.mfc_mutex
HALF_LOCKED2 &net->ipv6.mfc_mutex
HALF_LOCKED2 &sk->sk_callback_lock
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 sk