Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_mp6_hash_init() -> ip6_multipath_hash_fields()

Type Parameter Key Value
BUF_SIZE 0 net (-1),10432,10496
HALF_LOCKED2 &pool->lock

net/ipv6/route.c rt6_multipath_custom_hash_fl6() -> ip6_multipath_hash_fields()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
BUF_SIZE 0 net (-1),1-s32max
BUF_SIZE 0 net (-1),1-s32max
DATA_SOURCE 0 net $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
HALF_LOCKED2 rcu_read
HALF_LOCKED2 0 &net->ipv4.mfc_mutex
HALF_LOCKED2 0 &net->ipv6.mfc_mutex
HALF_LOCKED2 0 &net->rtnl_mutex

net/ipv6/route.c rt6_multipath_custom_hash_inner() -> ip6_multipath_hash_fields()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
BUF_SIZE 0 net (-1),1-s32max
BUF_SIZE 0 net (-1),1-s32max
DATA_SOURCE 0 net $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read
HALF_LOCKED2 0 &net->ipv4.mfc_mutex
HALF_LOCKED2 0 &net->ipv6.mfc_mutex
HALF_LOCKED2 0 &net->rtnl_mutex

net/ipv6/route.c rt6_multipath_custom_hash_outer() -> ip6_multipath_hash_fields()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
BUF_SIZE 0 net (-1),1-s32max
BUF_SIZE 0 net (-1),1-s32max
DATA_SOURCE 0 net $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read
HALF_LOCKED2 0 &net->ipv4.mfc_mutex
HALF_LOCKED2 0 &net->ipv6.mfc_mutex
HALF_LOCKED2 0 &net->rtnl_mutex