Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/accel/habanalabs/common/context.c hl_ctx_fini() -> hl_fence_put()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ctx->ts_reg_lock
HALF_LOCKED2 &s->lock

drivers/accel/habanalabs/gaudi/gaudi.c gaudi_collective_wait_init_cs() -> hl_fence_put()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->completion.done 0
NOCHECK_CALL
LOCK2 &hdev->asic_specific->hw_queues_lock

drivers/accel/habanalabs/common/hw_queue.c init_wait_cs() -> hl_fence_put()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->completion.done 0
PREEMPT_ADD
NOCHECK_CALL
LOCK2 &hdev->asic_specific->hw_queues_lock

drivers/accel/habanalabs/common/command_submission.c _hl_cs_wait_ioctl() -> hl_fence_put()

Type Parameter Key Value
PARAM_VALUE 0 fence 0,4096-ptr_max,(-22)
PARAM_VALUE 0 fence->completion.done 0-4294967293,u32max
PARAM_VALUE 0 fence->completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 fence->completion.wait.lock.owner (-1)
PARAM_VALUE 0 fence->completion.wait.lock.owner_cpu u32max
PARAM_VALUE 0 fence->completion.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 fence->completion.wait.task_list.prev->next->next 4096-ptr_max
DATA_SOURCE 0 fence r hl_ctx_get_fence
NOCHECK_CALL

drivers/accel/habanalabs/common/command_submission.c allocate_cs() -> hl_fence_put()

Type Parameter Key Value
PARAM_VALUE 0 fence 0,4096-ptr_max
PARAM_VALUE 0 fence->completion.done 1-u32max
PARAM_VALUE 0 fence->completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 fence->completion.wait.lock.owner (-1)
PARAM_VALUE 0 fence->completion.wait.lock.owner_cpu u32max
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &ctx->cs_lock
TYPE_LOCK (struct hl_ctx)->cs_lock

drivers/accel/habanalabs/common/command_submission.c cs_do_release() -> hl_fence_put()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/accel/habanalabs/common/command_submission.c cs_do_release() -> hl_fence_put()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->completion.done u32max
PARAM_VALUE 0 fence->completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 fence->completion.wait.lock.owner (-1)
PARAM_VALUE 0 fence->completion.wait.lock.owner_cpu u32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/accel/habanalabs/common/command_submission.c cs_ioctl_signal_wait() -> hl_fence_put()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
DATA_SOURCE 0 fence r hl_ctx_get_fence
NOCHECK_CALL

drivers/accel/habanalabs/common/command_submission.c cs_ioctl_signal_wait() -> hl_fence_put()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->completion.done 1-u32max
PARAM_VALUE 0 fence->completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 fence->completion.wait.lock.owner (-1)
PARAM_VALUE 0 fence->completion.wait.lock.owner_cpu u32max
DATA_SOURCE 0 fence r hl_ctx_get_fence
NOCHECK_CALL

drivers/accel/habanalabs/common/command_submission.c cs_ioctl_signal_wait() -> hl_fence_put()

Type Parameter Key Value
PARAM_VALUE 0 fence 4096-ptr_max
PARAM_VALUE 0 fence->completion.done 0
DATA_SOURCE 0 fence r hl_ctx_get_fence
NOCHECK_CALL

drivers/accel/habanalabs/common/command_submission.c hl_fences_put() -> hl_fence_put()

Type Parameter Key Value
NOCHECK_CALL