Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/lag/mp.c fib_info_num_path() -> nexthop_num_path()

Type Parameter Key Value
PARAM_VALUE 0 nh 1-u64max
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &pool->lock

net/ipv4/nexthop.c replace_nexthop() -> nexthop_num_path()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &net->rtnl_mutex
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rx_queue_mutex
TYPE_LOCK (struct net)->rtnl_mutex

net/ipv4/fib_frontend.c fib_info_num_path() -> nexthop_num_path()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

net/core/filter.c fib_info_num_path() -> nexthop_num_path()

Type Parameter Key Value
PARAM_VALUE 0 nh 1-u64max

net/ipv4/fib_semantics.c fib_info_num_path() -> nexthop_num_path()

Type Parameter Key Value
PARAM_VALUE 0 nh 1-u64max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_info_num_path() -> nexthop_num_path()

Type Parameter Key Value
LOCK2 &mlxsw_sp->router->lock
LOCK2 &pool->lock
TYPE_LOCK (struct mlxsw_sp_router)->lock

drivers/net/ethernet/marvell/prestera/prestera_router.c fib_info_num_path() -> nexthop_num_path()

Type Parameter Key Value
PARAM_VALUE 0 nh 1-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex

net/ipv4/fib_trie.c fib_info_num_path() -> nexthop_num_path()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 global &lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 rcu_read

net/ipv4/route.c fib_info_num_path() -> nexthop_num_path()

Type Parameter Key Value
PARAM_VALUE 0 nh 1-u64max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read