Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/accel/habanalabs/gaudi/gaudi.c, line 1690
- drivers/accel/habanalabs/gaudi2/gaudi2.c, line 3704
- drivers/accel/habanalabs/goya/goya.c, line 924
Smatch caller information:
drivers/accel/habanalabs/gaudi2/gaudi2.c gaudi2_late_fini() -> hl_hwmon_release_resources()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs->hw_queues_lock | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs->hw_queues_unlock | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs->late_fini | 3305311228345532416,7042111246547648512,7859451825954545664 |
| PARAM_VALUE | 0 | hdev->asic_funcs->send_cpu_message | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_specific->hw_queues_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->device_cpu_disabled | 1 |
| PARAM_VALUE | 0 | hdev->device_fini_pending | 1 |
| PARAM_VALUE | 0 | hdev->device_release_watchdog_work.reset_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->device_reset_work.reset_work.timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->disabled | 1 |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->hwmon_dev->iommu_group->owner_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->hwmon_dev->kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->hwmon_dev->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->hwmon_dev->p->dead | 0-1 |
| PARAM_VALUE | 0 | hdev->hwmon_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->late_init_done | 1-255 |
| PARAM_VALUE | 0 | hdev->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->reset_info.hard_reset_pending | 1 |
| PARAM_VALUE | 0 | hdev->reset_info.in_reset | 1 |
| PARAM_VALUE | 0 | hdev->reset_info.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | hdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hdev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | hdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/accel/habanalabs/gaudi/gaudi.c gaudi_late_fini() -> hl_hwmon_release_resources()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs->hw_queues_lock | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs->hw_queues_unlock | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs->late_fini | 3305311228345532416,7042111246547648512,7859451825954545664 |
| PARAM_VALUE | 0 | hdev->asic_funcs->send_cpu_message | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_specific->hw_queues_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->device_cpu_disabled | 1 |
| PARAM_VALUE | 0 | hdev->device_fini_pending | 1 |
| PARAM_VALUE | 0 | hdev->device_release_watchdog_work.reset_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->device_reset_work.reset_work.timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->disabled | 1 |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->hwmon_dev->iommu_group->owner_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->hwmon_dev->kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->hwmon_dev->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->hwmon_dev->p->dead | 0-1 |
| PARAM_VALUE | 0 | hdev->hwmon_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->late_init_done | 1-255 |
| PARAM_VALUE | 0 | hdev->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->reset_info.hard_reset_pending | 1 |
| PARAM_VALUE | 0 | hdev->reset_info.in_reset | 1 |
| PARAM_VALUE | 0 | hdev->reset_info.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | hdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hdev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | hdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/accel/habanalabs/goya/goya.c goya_late_fini() -> hl_hwmon_release_resources()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs->hw_queues_lock | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs->hw_queues_unlock | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs->late_fini | 3305311228345532416,7042111246547648512,7859451825954545664 |
| PARAM_VALUE | 0 | hdev->asic_funcs->send_cpu_message | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_specific | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_specific->hw_queues_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->device_cpu_disabled | 1 |
| PARAM_VALUE | 0 | hdev->device_fini_pending | 1 |
| PARAM_VALUE | 0 | hdev->device_release_watchdog_work.reset_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->device_reset_work.reset_work.timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->disabled | 1 |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->fpriv_ctrl_list_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->hwmon_dev->iommu_group->owner_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->hwmon_dev->kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->hwmon_dev->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->hwmon_dev->p->dead | 0-1 |
| PARAM_VALUE | 0 | hdev->hwmon_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->late_init_done | 1-255 |
| PARAM_VALUE | 0 | hdev->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->reset_info.hard_reset_pending | 1 |
| PARAM_VALUE | 0 | hdev->reset_info.in_reset | 1 |
| PARAM_VALUE | 0 | hdev->reset_info.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->send_cpu_message_lock.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | hdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hdev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | hdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |