Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

net/ipv6/ip6_gre.c __gre6_xmit() -> gre_calc_hlen()

Type Parameter Key Value
PARAM_VALUE 0 o_flags 5655942496943112192
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

net/ipv6/ip6_gre.c ip6gre_calc_hlen() -> gre_calc_hlen()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex

net/netfilter/ipvs/ip_vs_core.c ipvs_gre_decap() -> gre_calc_hlen()

Type Parameter Key Value
PARAM_VALUE 0 o_flags 5711086252743987200
RX_PATH
TASK_NOT_RUNNING

net/netfilter/ipvs/ip_vs_xmit.c __ip_vs_get_out_rt() -> gre_calc_hlen()

Type Parameter Key Value
PARAM_VALUE 0 o_flags 3637423733963100160
RX_PATH
TASK_NOT_RUNNING

net/netfilter/ipvs/ip_vs_xmit.c __ip_vs_get_out_rt_v6() -> gre_calc_hlen()

Type Parameter Key Value
PARAM_VALUE 0 o_flags 7990183486279499776
RX_PATH
TASK_NOT_RUNNING

net/netfilter/ipvs/ip_vs_xmit.c ip_vs_tunnel_xmit() -> gre_calc_hlen()

Type Parameter Key Value
PARAM_VALUE 0 o_flags 6387422982909779968
RX_PATH
TASK_NOT_RUNNING

net/netfilter/ipvs/ip_vs_xmit.c ip_vs_tunnel_xmit_v6() -> gre_calc_hlen()

Type Parameter Key Value
PARAM_VALUE 0 o_flags 8832306513939750912
RX_PATH
TASK_NOT_RUNNING

net/netfilter/ipvs/ip_vs_xmit.c ipvs_gre_encap() -> gre_calc_hlen()

Type Parameter Key Value
PARAM_VALUE 0 o_flags 1561665367789338624
RX_PATH
TASK_NOT_RUNNING

net/ipv4/gre_demux.c gre_parse_header() -> gre_calc_hlen()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

net/ipv4/ip_gre.c __gre_tunnel_init() -> gre_calc_hlen()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

net/ipv4/ip_gre.c gre_fb_xmit() -> gre_calc_hlen()

Type Parameter Key Value
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

net/ipv4/ip_gre.c ipgre_link_update() -> gre_calc_hlen()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_gre.c mlx5e_tc_tun_calc_hlen_gretap() -> gre_calc_hlen()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &esw->offloads.encap_tbl_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct mlx5_esw_offload)->encap_tbl_lock