Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/accel/habanalabs/common/command_submission.c hl_cs_ctx_switch() -> cs_ioctl_default()

Type Parameter Key Value
PARAM_VALUE 0 hpriv 4096-ptr_max
PARAM_VALUE 0 hpriv->hdev 4096-ptr_max
PARAM_VALUE 0 hpriv->hdev->asic_funcs 4096-ptr_max
PARAM_VALUE 0 hpriv->hdev->device_fini_pending 0
PARAM_VALUE 0 hpriv->hdev->disabled 0
PARAM_VALUE 0 hpriv->hdev->pdev->dev.cma_area->available_count 0-s64max
PARAM_VALUE 0 hpriv->hdev->reset_info.in_reset 0
PARAM_VALUE 0 hpriv->hdev->reset_info.needs_reset 0
PARAM_VALUE 0 hpriv->restore_phase_mutex.dep_map->name 0-255
PARAM_VALUE 0 hpriv->restore_phase_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hpriv->restore_phase_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hpriv->restore_phase_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 hpriv->restore_phase_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 hpriv->restore_phase_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 hpriv->restore_phase_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 2 num_chunks 1-u32max
PARAM_VALUE 3 cs_seq 7419723827734200320
PARAM_VALUE 3 *cs_seq u64max
PARAM_VALUE 4 flags 0
PARAM_VALUE 5 encaps_signals_handle 0
PARAM_VALUE 7 signal_initial_sob_count 6982400653309104128
BUF_SIZE 0 hpriv 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184
BUF_SIZE 0 hpriv 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184
CAPPED_DATA 0 &hpriv->restore_phase_mutex 1
DATA_SOURCE 0 hpriv $0
DATA_SOURCE 3 cs_seq $2
USER_DATA 2 num_chunks 1-u32max[u]
LOCK2 0 &hpriv->restore_phase_mutex
TYPE_LOCK (struct hl_fpriv)->restore_phase_mutex

drivers/accel/habanalabs/common/command_submission.c hl_cs_ioctl() -> cs_ioctl_default()

Type Parameter Key Value
PARAM_VALUE 0 hpriv 4096-ptr_max
PARAM_VALUE 0 hpriv->ctx->cs_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hpriv->ctx->hdev->asic_specific->mmu_cache_inv_pi 0-255
PARAM_VALUE 0 hpriv->ctx->hdev->debug_lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 hpriv->ctx->hdev->debug_lock.dep_map->name 0-255
PARAM_VALUE 0 hpriv->ctx->hdev->debug_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hpriv->ctx->hdev->debug_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hpriv->ctx->hdev->debug_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hpriv->ctx->hdev->debug_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hpriv->ctx->hdev->debug_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hpriv->ctx->hdev->debug_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hpriv->ctx->hdev->hl_debugfs.ctx_mem_hash_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 hpriv->ctx->hdev->internal_cb_pool_virt_addr->_refcount.counter s32min-s32max
PARAM_VALUE 0 hpriv->ctx->hdev->internal_cb_pool_virt_addr->memcg_data 0
PARAM_VALUE 0 hpriv->ctx->hdev->internal_cb_pool_virt_addr->page_type 0-4294967295
PARAM_VALUE 0 hpriv->ctx->hdev->mmu_lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 hpriv->ctx->hdev->mmu_lock.dep_map->name 0-255
PARAM_VALUE 0 hpriv->ctx->hdev->mmu_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hpriv->ctx->hdev->mmu_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hpriv->ctx->hdev->mmu_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hpriv->ctx->hdev->mmu_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hpriv->ctx->hdev->mmu_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hpriv->ctx->hdev->mmu_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hpriv->ctx->hdev->vm.idr_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hpriv->ctx->hpriv->ctx 0
PARAM_VALUE 0 hpriv->ctx->hpriv->ctx_lock.dep_map->name 0-255
PARAM_VALUE 0 hpriv->ctx->hpriv->ctx_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hpriv->ctx->hpriv->ctx_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hpriv->ctx->hpriv->ctx_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hpriv->ctx->hpriv->ctx_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hpriv->ctx->hpriv->ctx_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hpriv->ctx->hpriv->ctx_lock.magic 0
PARAM_VALUE 0 hpriv->ctx->hpriv->hdev->compute_ctx_in_release 0
PARAM_VALUE 0 hpriv->ctx->hpriv->hdev->device_cpu_disabled 1
PARAM_VALUE 0 hpriv->ctx->hpriv->hdev->dma_pool->dev->dma_io_tlb_mem->dyn_alloc.flags 0-4294967295
PARAM_VALUE 0 hpriv->ctx->hpriv->hdev->dma_pool->next_block->next_block 0
PARAM_VALUE 0 hpriv->ctx->hpriv->hdev->fpriv_list_lock.dep_map->name 0-255
PARAM_VALUE 0 hpriv->ctx->hpriv->hdev->fpriv_list_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hpriv->ctx->hpriv->hdev->fpriv_list_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hpriv->ctx->hpriv->hdev->fpriv_list_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hpriv->ctx->hpriv->hdev->hl_debugfs.cs_job_list.next 4096-ptr_max
PARAM_VALUE 0 hpriv->ctx->hpriv->hdev->hl_debugfs.cs_job_list.next->next 4096-ptr_max
PARAM_VALUE 0 hpriv->ctx->hpriv->hdev->hl_debugfs.file_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 hpriv->ctx->hpriv->hdev->is_compute_ctx_active 0
PARAM_VALUE 0 hpriv->ctx->hpriv->hdev->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_hard 0-1
PARAM_VALUE 0 hpriv->ctx->hpriv->hdev->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_lazy 0-1
PARAM_VALUE 0 hpriv->ctx->hpriv->hdev->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_queued 0-1
PARAM_VALUE 0 hpriv->ctx->hpriv->hdev->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_soft 0-1
PARAM_VALUE 0 hpriv->ctx->hpriv->hdev->send_cpu_message_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hpriv->ctx->hpriv->mem_mgr.handles.idr_rt.xa_flags 0,33554432-u32max
PARAM_VALUE 0 hpriv->ctx->hpriv->mem_mgr.handles.idr_rt.xa_head 0
PARAM_VALUE 0 hpriv->ctx->hpriv->notifier_event.eventfd->kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 hpriv->ctx->hpriv->notifier_event.lock.magic 0
PARAM_VALUE 0 hpriv->ctx->hpriv->restore_phase_mutex.magic 0
PARAM_VALUE 0 hpriv->ctx->hw_block_list_lock.magic 0
PARAM_VALUE 0 hpriv->ctx->mem_hash_lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 hpriv->ctx->mem_hash_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hpriv->ctx->mem_hash_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hpriv->ctx->mem_hash_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hpriv->ctx->mem_hash_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hpriv->ctx->mem_hash_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hpriv->ctx->mem_hash_lock.magic 0
PARAM_VALUE 0 hpriv->ctx->mem_hash_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hpriv->ctx->outcome_store.db_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hpriv->ctx->outcome_store.free_list.next 4096-ptr_max
PARAM_VALUE 0 hpriv->ctx->outcome_store.free_list.next->next 4096-ptr_max
PARAM_VALUE 0 hpriv->ctx->outcome_store.free_list.next->prev 4096-ptr_max
PARAM_VALUE 0 hpriv->ctx->sig_mgr.handles.idr_rt.xa_flags 0,33554432-u32max
PARAM_VALUE 0 hpriv->ctx->sig_mgr.handles.idr_rt.xa_head 0
PARAM_VALUE 0 hpriv->ctx->thread_ctx_switch_token.counter 0-s32max
PARAM_VALUE 0 hpriv->ctx->thread_ctx_switch_wait_token 1
PARAM_VALUE 0 hpriv->ctx->ts_reg_lock.magic 0
PARAM_VALUE 0 hpriv->hdev 4096-ptr_max
PARAM_VALUE 0 hpriv->hdev->asic_specific->hw_queues_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hpriv->hdev->dma_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hpriv->hdev->dma_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 hpriv->hdev->dma_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 hpriv->hdev->dma_pool->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 hpriv->hdev->dma_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 hpriv->hdev->hl_debugfs.userptr_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hpriv->hdev->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hpriv->hdev->pdev->dev.cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 hpriv->hdev->pdev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 hpriv->hdev->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 hpriv->restore_phase_mutex.dep_map->name 0-255
PARAM_VALUE 0 hpriv->restore_phase_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hpriv->restore_phase_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hpriv->restore_phase_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hpriv->restore_phase_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hpriv->restore_phase_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hpriv->restore_phase_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hpriv->restore_phase_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hpriv->restore_phase_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 *hpriv->ctx->cs_pending 4096-ptr_max
PARAM_VALUE 3 cs_seq 7419723827734200320
PARAM_VALUE 4 flags 64-u32max
PARAM_VALUE 7 signal_initial_sob_count 6468180508608290816
PARAM_VALUE 7 *signal_initial_sob_count 0
BUF_SIZE 0 hpriv 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184
BUF_SIZE 0 hpriv 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184
USER_DATA 2 num_chunks 0-u32max[u]
USER_DATA 3 *cs_seq 0-u64max
USER_DATA 4 flags 64-u32max[u]
USER_DATA 5 encaps_signals_handle 0-u32max[u]
USER_DATA 6 timeout 0-u32max[u]
USER_PTR 3 cs_seq