Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/ethernet/mscc/ocelot_devlink.c ocelot_devlink_sb_register() -> devlink_sb_register()

Type Parameter Key Value
PARAM_VALUE 1 sb_index 0
PARAM_VALUE 2 size 0-15728400
PARAM_VALUE 3 ingress_pools_count 1
PARAM_VALUE 4 egress_pools_count 1
PARAM_VALUE 5 ingress_tc_count 8
PARAM_VALUE 6 egress_tc_count 8
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/mscc/ocelot_devlink.c ocelot_devlink_sb_register() -> devlink_sb_register()

Type Parameter Key Value
PARAM_VALUE 0 devlink 4096-ptr_max
PARAM_VALUE 0 devlink->lock.dep_map->name 0-255
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 sb_index 1
PARAM_VALUE 2 size 0-u16max
PARAM_VALUE 3 ingress_pools_count 1
PARAM_VALUE 4 egress_pools_count 1
PARAM_VALUE 5 ingress_tc_count 8
PARAM_VALUE 6 egress_tc_count 8
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/netronome/nfp/nfp_shared_buf.c nfp_shared_buf_register() -> devlink_sb_register()

Type Parameter Key Value
PARAM_VALUE 0 devlink 4096-ptr_max
DATA_SOURCE 0 devlink r priv_to_devlink
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 sb_index 0-u32max
HOST_DATA 2 size 0-u32max
HOST_DATA 3 ingress_pools_count 0-u16max
HOST_DATA 4 egress_pools_count 0-u16max
HOST_DATA 5 ingress_tc_count 0-u16max
HOST_DATA 6 egress_tc_count 0-u16max
HALF_LOCKED2 &pool->lock