Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/accel/habanalabs/gaudi/gaudi.c gaudi_patch_dma_packet() -> hl_userptr_is_pinned()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 3 userptr_list 4096-ptr_max
PARAM_VALUE 4 userptr 1803599841876004864
BUF_SIZE 3 userptr_list 16
CAPPED_DATA 0 hdev->kernel_mem_mgr.handles.idr_base 1
DATA_SOURCE 0 hdev $0
UNITS 1 addr unit_byte
UNITS 2 size unit_byte
HALF_LOCKED2 &hpriv->restore_phase_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 2 size 1-u32max
PARAM_VALUE 3 userptr_list 4096-ptr_max
PARAM_VALUE 4 userptr 3083075716543275008
BUF_SIZE 3 userptr_list 16
DATA_SOURCE 0 hdev $0
DATA_SOURCE 1 addr $3
UNITS 1 addr unit_byte
UNITS 2 size unit_byte
HALF_LOCKED2 &hpriv->restore_phase_mutex

drivers/accel/habanalabs/goya/goya.c goya_patch_dma_packet() -> hl_userptr_is_pinned()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 2 size 1-u32max
PARAM_VALUE 3 userptr_list 4096-ptr_max
PARAM_VALUE 4 userptr 100877680283537408
BUF_SIZE 3 userptr_list 16
CAPPED_DATA 0 hdev->kernel_mem_mgr.handles.idr_base 1
CAPPED_DATA 3 userptr_list 1
DATA_SOURCE 0 hdev $0
UNITS 1 addr unit_byte
UNITS 2 size unit_byte
HALF_LOCKED2 &hpriv->restore_phase_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 2 size 1-u32max
PARAM_VALUE 3 userptr_list 4096-ptr_max
PARAM_VALUE 4 userptr 8447680954155499520
BUF_SIZE 3 userptr_list 16
CAPPED_DATA 3 userptr_list 1
DATA_SOURCE 0 hdev $0
DATA_SOURCE 1 addr $3
UNITS 1 addr unit_byte
UNITS 2 size unit_byte
HALF_LOCKED2 &hpriv->restore_phase_mutex