Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/accel/habanalabs/gaudi2/gaudi2.c gaudi2_debugfs_read_dma() -> hl_mmu_invalidate_cache_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dma_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->dma_pool->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->dma_pool->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | hdev->dma_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | hdev->dma_pool->lock.rlock.dep_map->name | 0-255 |
| 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->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->mmu_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->mmu_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->mmu_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->mmu_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->mmu_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hdev->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->pdev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->pdev->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->pdev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | hdev->reset_info.in_reset | 0 |
| PARAM_VALUE | 1 | is_hard | 0 |
| PARAM_VALUE | 2 | flags | 9 |
| PARAM_VALUE | 4 | va | 1-18446744073709551614 |
| PARAM_VALUE | 5 | size | 2097152 |
| CAPPED_DATA | 0 | hdev->asic_prop.dmmu.start_addr | 1 |
| CAPPED_DATA | 0 | &hdev->mmu_lock | 1 |
| CAPPED_DATA | 4 | va | 1 |
| CAPPED_DATA | 4 | va | 1 |
| DATA_SOURCE | 0 | hdev | $0 |
| DATA_SOURCE | 4 | va | r hl_reserve_va_block |
| LOCK2 | 0 | &hdev->mmu_lock | |
| TYPE_LOCK | (struct hl_device)->mmu_lock |
drivers/accel/habanalabs/gaudi2/gaudi2.c gaudi2_debugfs_read_dma() -> hl_mmu_invalidate_cache_range()
| 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->mmu_invalidate_cache_range | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs->wreg | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dma_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->dma_pool->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->dma_pool->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | hdev->dma_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | hdev->dma_pool->lock.rlock.dep_map->name | 0-255 |
| 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->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->mmu_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->mmu_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->mmu_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->mmu_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->mmu_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hdev->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->pdev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->pdev->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->pdev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | hdev->reset_info.in_reset | 0 |
| PARAM_VALUE | 1 | is_hard | 0 |
| PARAM_VALUE | 2 | flags | 1 |
| PARAM_VALUE | 4 | va | 1-18446744073709551614 |
| PARAM_VALUE | 5 | size | 2097152 |
| CAPPED_DATA | 0 | hdev->asic_prop.dmmu.start_addr | 1 |
| CAPPED_DATA | 0 | &hdev->mmu_lock | 1 |
| CAPPED_DATA | 4 | va | 1 |
| CAPPED_DATA | 4 | va | 1 |
| DATA_SOURCE | 0 | hdev | $0 |
| DATA_SOURCE | 4 | va | r hl_reserve_va_block |
| LOCK2 | 0 | &hdev->mmu_lock | |
| TYPE_LOCK | (struct hl_device)->mmu_lock |
drivers/accel/habanalabs/common/memory.c map_device_va() -> hl_mmu_invalidate_cache_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->mmu_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->mmu_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->mmu_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->mmu_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->mmu_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hdev->vm.idr_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | is_hard | 0 |
| PARAM_VALUE | 2 | flags | 0,8-u32max |
| PARAM_VALUE | 4 | va | 1-u64max |
| CAPPED_DATA | 0 | hdev->asic_prop.dmmu.start_addr | 1 |
| CAPPED_DATA | 0 | &hdev->mmu_lock | 1 |
| CAPPED_DATA | 4 | va | 1 |
| CAPPED_DATA | 4 | va | 1 |
| CAPPED_DATA | 5 | size | 1 |
| CAPPED_DATA | 5 | size | 1 |
| DATA_SOURCE | 4 | va | r get_va_block |
| BIT_INFO | 2 | flags | 0x8,0xffffffff |
| USER_DATA | 4 | va | 1-u64max[c] |
| UNITS | 0 | hdev | unit_byte |
| UNITS | 5 | size | unit_byte |
| LOCK2 | 0 | &hdev->mmu_lock | |
| TYPE_LOCK | (struct hl_device)->mmu_lock |
drivers/accel/habanalabs/common/memory.c unmap_device_va() -> hl_mmu_invalidate_cache_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->mmu_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->mmu_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->mmu_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->mmu_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->mmu_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | is_hard | 1 |
| PARAM_VALUE | 2 | flags | 1-2 |
| CAPPED_DATA | 0 | &hdev->mmu_lock | 1 |
| RX_PATH | |||
| USER_DATA | 4 | va | 0-u64max[c] |
| UNITS | 0 | hdev | unit_byte |
| UNITS | 4 | va | unit_byte |
| UNITS | 5 | size | unit_byte |
| LOCK2 | 0 | &hdev->mmu_lock | |
| TYPE_LOCK | (struct hl_device)->mmu_lock |