Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/lag/lag.c mlx5_lag_register_hca_devcom_comp() -> mlx5_devcom_register_component()

Type Parameter Key Value
PARAM_VALUE 1 id 2
PARAM_VALUE 2 attr 4951962431339220992
PARAM_VALUE 2 attr->flags 1
PARAM_VALUE 2 attr->key.val 0
PARAM_VALUE 3 handler 2095218095745884160
PARAM_VALUE 4 data 4096-ptr_max
BUF_SIZE 4 data s32min-(-1),1-s32max
DATA_SOURCE 4 data $0
RX_PATH
TASK_NOT_RUNNING
UNITS 4 data unit_byte
LOCK2 &dev->intf_state_mutex
HALF_LOCKED2 &devlink->lock
TYPE_LOCK (struct mlx5_core_dev)->intf_state_mutex

drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c mlx5_shared_clock_register() -> mlx5_devcom_register_component()

Type Parameter Key Value
PARAM_VALUE 0 devc 0,4096-ptr_max
PARAM_VALUE 0 devc->dev->caps.embedded_cpu 0-1
PARAM_VALUE 0 devc->dev->cmd.alloc_size 4096,8191
PARAM_VALUE 0 devc->dev->cmd.cmd_alloc_buf s64min-(-4096),1-s64max
PARAM_VALUE 0 devc->dev->cmd.dbg.dbg_root s64min-(-1),4096-s64max
PARAM_VALUE 0 devc->dev->cmd.pool s64min-(-4096),4096-s64max
PARAM_VALUE 0 devc->dev->cmd.state 1
PARAM_VALUE 0 devc->dev->cmd.token 1-255
PARAM_VALUE 0 devc->dev->cmd.vars.cmdif_rev 5
PARAM_VALUE 0 devc->dev->cmd.vars.log_stride 0-12
PARAM_VALUE 0 devc->dev->cmd.vars.log_sz 0-15
PARAM_VALUE 0 devc->dev->cmd.vars.throttle_sem.lock.owner (-1)
PARAM_VALUE 0 devc->dev->cmd.vars.throttle_sem.lock.owner_cpu 4294967295
PARAM_VALUE 0 devc->dev->cmd.vars.throttle_sem.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 devc->dev->cmd.vars.unprivileged_sem.lock.owner (-1)
PARAM_VALUE 0 devc->dev->cmd.vars.unprivileged_sem.lock.owner_cpu 4294967295
PARAM_VALUE 0 devc->dev->cmd.vars.unprivileged_sem.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 devc->dev->device s64min-(-4096),0,4096-s64max
PARAM_VALUE 0 devc->dev->intf_state_mutex.first_waiter s64min-(-4096),0,4096-s64max
PARAM_VALUE 0 devc->dev->intf_state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 devc->dev->intf_state_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 devc->dev->intf_state_mutex.wait_lock.owner_cpu 4294967295
PARAM_VALUE 0 devc->dev->issi 0-1
PARAM_VALUE 0 devc->dev->priv.flags 2-4294967295
PARAM_VALUE 0 devc->dev->priv.free_list.next s64min-(-4096),4096-s64max
PARAM_VALUE 0 devc->dev->priv.health.fw_fatal_reporter s64min-(-4096),(-22),(-17),(-12),4096-s64max
PARAM_VALUE 0 devc->dev->priv.health.fw_reporter s64min-(-4096),(-22),(-17),(-12),4096-s64max
PARAM_VALUE 0 devc->dev->priv.health.health s64min-(-4096),4096-s64max
PARAM_VALUE 0 devc->dev->priv.health.health_counter s64min-(-4096),4096-s64max
PARAM_VALUE 0 devc->dev->priv.health.timer.entry.pprev s64min-(-4096),0,4096-s64max
PARAM_VALUE 0 devc->dev->priv.page_mgt_mode 0-1
PARAM_VALUE 0 devc->dev->profile.log_max_qp 0-31
PARAM_VALUE 0 devc->dev->state 1
PARAM_VALUE 0 devc->dev->timeouts s64min-(-4096),4096-s64max
PARAM_VALUE 0 devc->list.next 2202456717089468416
PARAM_VALUE 0 devc->ref.refcount.refs.counter 1
PARAM_VALUE 1 id 4
PARAM_VALUE 2 attr 8340230617218367488
PARAM_VALUE 2 attr->flags 0
PARAM_VALUE 2 attr->key.val 0
PARAM_VALUE 2 attr->net 0
PARAM_VALUE 3 handler 0
PARAM_VALUE 4 data 4096-ptr_max
BUF_SIZE 0 devc (-1)-0,32
BUF_SIZE 0 devc (-1)-0,32
DATA_SOURCE 4 data $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &mdev->intf_state_mutex
HALF_LOCKED2 &devlink->lock
TYPE_LOCK (struct mlx5_core_dev)->intf_state_mutex

drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_esw_offloads_devcom_init() -> mlx5_devcom_register_component()

Type Parameter Key Value
PARAM_VALUE 1 id 0
PARAM_VALUE 2 attr 8533489618296537088
PARAM_VALUE 2 attr->flags 1
PARAM_VALUE 2 attr->key.val 0
PARAM_VALUE 3 handler 5778169820518674432
PARAM_VALUE 4 data 4096-ptr_max
DATA_SOURCE 2 attr $1
DATA_SOURCE 4 data $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &esw->offloads.reps_lock
HALF_LOCKED2 &devlink->lock
TYPE_LOCK (struct mlx5_esw_offload)->reps_lock

drivers/net/ethernet/mellanox/mlx5/core/lib/sd.c sd_register() -> mlx5_devcom_register_component()

Type Parameter Key Value
PARAM_VALUE 1 id 3
PARAM_VALUE 2 attr 1211907842657820672
PARAM_VALUE 2 attr->flags 1
PARAM_VALUE 2 attr->key.val 0-u32max
PARAM_VALUE 3 handler 1957677859457052672
PARAM_VALUE 4 data 4096-ptr_max
DATA_SOURCE 4 data $0
RX_PATH
TASK_NOT_RUNNING
UNITS 4 data unit_byte

drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_devcom_init_mpv() -> mlx5_devcom_register_component()

Type Parameter Key Value
PARAM_VALUE 1 id 1
PARAM_VALUE 2 attr 8436773932262797312
PARAM_VALUE 2 attr->flags 0
PARAM_VALUE 2 attr->net 0
PARAM_VALUE 3 handler 8104463043848658944
PARAM_VALUE 4 data 4096-ptr_max
DATA_SOURCE 4 data $0