Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlxsw/core_env.c mlxsw_env_temp_event_set() -> mlxsw_env_module_temp_thresholds_get()

Type Parameter Key Value
PARAM_VALUE 0 core 4096-ptr_max
PARAM_VALUE 0 core->bus_priv->cmd.lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 core->bus_priv->cmd.lock->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 core->bus_priv->cmd.lock.dep_map->name 0-255
PARAM_VALUE 0 core->bus_priv->cmd.lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 core->bus_priv->pdev->dev.dma_uses_io_tlb 1
PARAM_VALUE 0 core->bus_priv->pdev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 core->bus_priv->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 core->emad.trans_list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 module (-64)-65471
PARAM_VALUE 3 off 4
PARAM_VALUE 4 temp 8644072103211147264
DATA_SOURCE 0 core $0
DATA_SOURCE 1 slot_index $1
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c mlxsw_hwmon_module_temp_critical_get() -> mlxsw_env_module_temp_thresholds_get()

Type Parameter Key Value
PARAM_VALUE 3 off 4
PARAM_VALUE 4 temp 1737904630630445056,8848155988010844160
DATA_SOURCE 4 temp $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c mlxsw_hwmon_module_temp_emergency_get() -> mlxsw_env_module_temp_thresholds_get()

Type Parameter Key Value
PARAM_VALUE 3 off 0
PARAM_VALUE 4 temp 3646443098539708416,4595581610674487296,8180933274938175488
DATA_SOURCE 4 temp $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex