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/common/command_buffer.c hl_cb_get() -> hl_mmap_mem_buf_get()

Type Parameter Key Value
PARAM_VALUE 0 mmg 4096-ptr_max
DATA_SOURCE 0 mmg $0
DATA_SOURCE 1 handle $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 handle 0-u64max[u]
UNITS 1 handle unit_byte
HALF_LOCKED2 &ctx->ts_reg_lock

drivers/accel/habanalabs/common/memory_mgr.c hl_mem_mgr_mmap() -> hl_mmap_mem_buf_get()

Type Parameter Key Value
PARAM_VALUE 0 mmg 4096-ptr_max
PARAM_VALUE 1 handle 0,4096-18446744073709547520
DATA_SOURCE 0 mmg $0
BIT_INFO 1 handle 0x0,0xfffffffffffff000
BIT_INFO 1 handle 0x0,0xfffffffffffff000
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 handle 0,4096-18446744073709547520[c]
UNITS 1 handle unit_byte
HALF_LOCKED2 &ipcp->lock

drivers/accel/habanalabs/common/command_submission.c _hl_interrupt_ts_reg_ioctl() -> hl_mmap_mem_buf_get()

Type Parameter Key Value
PARAM_VALUE 0 mmg 4096-ptr_max
PARAM_VALUE 0 mmg->lock.rlock.dep_map->name 0-255
USER_DATA 1 handle 0-u64max[u]
LOCK2 &ctx->ts_reg_lock
TYPE_LOCK (struct hl_ctx)->ts_reg_lock