Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/accel/habanalabs/gaudi/gaudi.c gaudi_pin_memory_before_cs() -> hl_dma_map_sgtable_caller()

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_prop.max_queues 1-u32max
PARAM_VALUE 0 hdev->asic_specific 4096-ptr_max
PARAM_VALUE 0 hdev->device_fini_pending 0
PARAM_VALUE 0 hdev->disabled 0
PARAM_VALUE 0 hdev->hl_debugfs.cs_job_list.next 4096-ptr_max
PARAM_VALUE 0 hdev->hl_debugfs.userptr_list.next 4096-ptr_max
PARAM_VALUE 0 hdev->hl_debugfs.userptr_list.next->next 4096-ptr_max
PARAM_VALUE 0 hdev->hl_debugfs.userptr_list.next->prev 4096-ptr_max
PARAM_VALUE 0 hdev->hl_debugfs.userptr_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hdev->reset_info.in_reset 0
PARAM_VALUE 0 hdev->reset_info.needs_reset 0
PARAM_VALUE 1 sgt 4096-ptr_max
PARAM_VALUE 1 sgt->sgl 0,16,4096-ptr_max
PARAM_VALUE 2 dir 1-2
PARAM_VALUE 3 caller 2618288258910572544
BUF_SIZE 3 caller 27
DATA_SOURCE 0 hdev $0
DATA_SOURCE 2 dir $4
FUZZY_MAX 2 dir 2
HARD_MAX 2 dir 2
HALF_LOCKED2 &hpriv->restore_phase_mutex

drivers/accel/habanalabs/common/memory.c dma_map_host_va() -> hl_dma_map_sgtable_caller()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->hl_debugfs.userptr_list.next 4096-ptr_max
PARAM_VALUE 0 hdev->hl_debugfs.userptr_list.next->next 4096-ptr_max
PARAM_VALUE 0 hdev->hl_debugfs.userptr_list.next->prev 4096-ptr_max
PARAM_VALUE 0 hdev->hl_debugfs.userptr_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 1 sgt 4096-ptr_max
PARAM_VALUE 1 sgt->sgl 0,16,4096-ptr_max
PARAM_VALUE 2 dir 0
PARAM_VALUE 3 caller 4149497664558129152
BUF_SIZE 3 caller 16
DATA_SOURCE 0 hdev $0
UNITS 0 hdev unit_byte

drivers/accel/habanalabs/goya/goya.c goya_pin_memory_before_cs() -> hl_dma_map_sgtable_caller()

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_prop.max_queues 1-u32max
PARAM_VALUE 0 hdev->asic_specific 4096-ptr_max
PARAM_VALUE 0 hdev->device_fini_pending 0
PARAM_VALUE 0 hdev->disabled 0
PARAM_VALUE 0 hdev->hl_debugfs.cs_job_list.next 4096-ptr_max
PARAM_VALUE 0 hdev->hl_debugfs.userptr_list.next 4096-ptr_max
PARAM_VALUE 0 hdev->hl_debugfs.userptr_list.next->next 4096-ptr_max
PARAM_VALUE 0 hdev->hl_debugfs.userptr_list.next->prev 4096-ptr_max
PARAM_VALUE 0 hdev->hl_debugfs.userptr_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hdev->reset_info.in_reset 0
PARAM_VALUE 0 hdev->reset_info.needs_reset 0
PARAM_VALUE 1 sgt 4096-ptr_max
PARAM_VALUE 1 sgt->sgl 0,16,4096-ptr_max
PARAM_VALUE 2 dir 1-2
PARAM_VALUE 3 caller 2940690379784056832
BUF_SIZE 3 caller 26
DATA_SOURCE 0 hdev $0
DATA_SOURCE 2 dir $4
FUZZY_MAX 2 dir 2
HARD_MAX 2 dir 2
HALF_LOCKED2 &hpriv->restore_phase_mutex