Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/netdevsim/fib.c nsim_nexthop_bucket_activity_write() -> nexthop_res_grp_activity_update()

Type Parameter Key Value
PARAM_VALUE 3 activity 16,4096-ptr_max
BUF_SIZE 0 net (-1),10432,10496
BUF_SIZE 0 net (-1),10432,10496
DATA_SOURCE 0 net r devlink_net
DATA_SOURCE 3 activity r bitmap_zalloc
MEM_ZERO 3 activity
NOCHECK_CALL
UNITS 2 num_buckets unit_array_size
LOCK2 global &rtnl_mutex

drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_nh_grp_activity_update() -> nexthop_res_grp_activity_update()

Type Parameter Key Value
PARAM_VALUE 3 activity 16,4096-ptr_max
BUF_SIZE 0 net (-1),10432,10496
DATA_SOURCE 3 activity r bitmap_zalloc
MEM_ZERO 3 activity
NOCHECK_CALL
UNITS 2 num_buckets unit_array_size
LOCK2 &router->lock
TYPE_LOCK (struct mlxsw_sp_router)->lock