Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

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

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->reset_info.in_reset 0
PARAM_VALUE 0 hdev->reset_info.needs_reset 0
PARAM_VALUE 2 size 1-u32max
PARAM_VALUE 3 userptr 4096-ptr_max
BUF_SIZE 3 userptr 104
DATA_SOURCE 0 hdev $0
DATA_SOURCE 1 addr $3
DATA_SOURCE 3 userptr r _kzalloc_noprof
UNITS 1 addr unit_byte
UNITS 2 size unit_byte
HALF_LOCKED2 &hpriv->restore_phase_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 3 userptr 4096-ptr_max
BUF_SIZE 3 userptr 104
DATA_SOURCE 0 hdev $0
DATA_SOURCE 1 addr $1
DATA_SOURCE 2 size $2
DATA_SOURCE 3 userptr r _kzalloc_noprof
USER_DATA 1 addr 0-u64max[u]
USER_DATA 2 size 0-u64max[u]
UNITS 0 hdev unit_byte

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

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->reset_info.in_reset 0
PARAM_VALUE 0 hdev->reset_info.needs_reset 0
PARAM_VALUE 2 size 1-u32max
PARAM_VALUE 3 userptr 4096-ptr_max
BUF_SIZE 3 userptr 104
DATA_SOURCE 0 hdev $0
DATA_SOURCE 1 addr $3
DATA_SOURCE 3 userptr r _kzalloc_noprof
UNITS 1 addr unit_byte
UNITS 2 size unit_byte
HALF_LOCKED2 &hpriv->restore_phase_mutex