Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 1 userptr 4096-ptr_max
PARAM_VALUE 1 userptr->dma_mapped 0
PARAM_VALUE 1 userptr->job_node.next 4096-ptr_max
PARAM_VALUE 1 userptr->job_node.next->next 4096-ptr_max
PARAM_VALUE 1 userptr->job_node.prev 4096-ptr_max
PARAM_VALUE 1 userptr->job_node.prev->next 4096-ptr_max
PARAM_VALUE 1 userptr->job_node.prev->prev 4096-ptr_max
PARAM_VALUE 1 userptr->pages 16,4096-ptr_max
PARAM_VALUE 1 userptr->sgt 4096-ptr_max
PARAM_VALUE 1 userptr->sgt->sgl 0,16,4096-ptr_max
PARAM_VALUE 1 userptr->size 1-u64max
BUF_SIZE 1 userptr 104
BUF_SIZE 1 userptr->sgt 16
CAPPED_DATA 1 userptr->addr 1
DATA_SOURCE 0 hdev $0
DATA_SOURCE 1 userptr $3
NOSPEC 1 userptr->addr
NOCHECK_CALL
USER_DATA 1 userptr->addr 0-s32max[c]
USER_DATA 1 userptr->npages 0-u32max[c]
USER_DATA 1 userptr->size 1-u64max[u]
NO_OVERFLOW_SIMPLE 1 userptr->addr
NO_OVERFLOW_SIMPLE 1 userptr->size
UNITS 0 hdev unit_byte