Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/accel/habanalabs/common/device.c hl_device_fini() -> take_release_locks()

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->send_cpu_message 4096-ptr_max
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_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.flags 0-4194302
PARAM_VALUE 0 hdev->disabled 1
PARAM_VALUE 0 hdev->pdev 4096-ptr_max
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.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 0-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
UNITS 0 hdev unit_byte
HALF_LOCKED2 &dev->mutex

drivers/accel/habanalabs/common/device.c hl_device_suspend() -> take_release_locks()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->disabled 1
PARAM_VALUE 0 hdev->pdev 4096-ptr_max
PARAM_VALUE 0 hdev->pdev->error_state 0-2,4-u32max
PARAM_VALUE 0 hdev->pdev->state_saved 1
PARAM_VALUE 0 hdev->reset_info.in_reset 1
PARAM_VALUE 0 hdev->reset_info.lock.rlock.dep_map->name 0-255
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
UNITS 0 hdev unit_byte
HALF_LOCKED2 &fsm->lock