Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/accel/habanalabs/common/command_buffer.c, line 441
- drivers/accel/habanalabs/common/command_submission.c
- drivers/accel/habanalabs/common/irq.c
- drivers/accel/habanalabs/common/memory_mgr.c
Smatch caller information:
drivers/accel/habanalabs/common/irq.c hl_ts_free_objects() -> hl_mmap_mem_buf_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/accel/habanalabs/common/irq.c hl_ts_free_objects() -> hl_mmap_mem_buf_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/accel/habanalabs/common/command_buffer.c hl_cb_put() -> hl_mmap_mem_buf_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctx->ts_reg_lock | ||
| HALF_LOCKED2 | &hdev->fpriv_list_lock | ||
| HALF_LOCKED2 | &interrupt->ts_list_lock | ||
| HALF_LOCKED2 | flags |
drivers/accel/habanalabs/common/memory_mgr.c hl_mem_mgr_fini() -> hl_mmap_mem_buf_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | buf->behavior | 4096-ptr_max |
| PARAM_VALUE | 0 | buf->behavior->mem_id | 281474976710656,2251799813685248 |
| PARAM_VALUE | 0 | buf->behavior->topic | 346324075909804032,3689766850755989504 |
| DATA_SOURCE | 0 | buf | r idr_get_next |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/accel/habanalabs/common/memory_mgr.c hl_mem_mgr_mmap() -> hl_mmap_mem_buf_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | buf->behavior | 4096-ptr_max |
| DATA_SOURCE | 0 | buf | r hl_mmap_mem_buf_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ipcp->lock |
drivers/accel/habanalabs/common/memory_mgr.c hl_mmap_mem_buf_vm_close() -> hl_mmap_mem_buf_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | buf->mmap.counter | 0 |
| BUF_SIZE | 0 | buf | (-1),1-s32max |
| BUF_SIZE | 0 | buf | (-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | buf | unit_byte |
drivers/accel/habanalabs/common/command_submission.c _hl_interrupt_ts_reg_ioctl() -> hl_mmap_mem_buf_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | buf->mmg | 4096-ptr_max |
| PARAM_VALUE | 0 | buf->private | 4096-ptr_max |
| DATA_SOURCE | 0 | buf | r hl_mmap_mem_buf_get |
| NOCHECK_CALL | |||
| LOCK2 | &ctx->ts_reg_lock | ||
| TYPE_LOCK | (struct hl_ctx)->ts_reg_lock |
drivers/accel/habanalabs/common/command_submission.c unregister_timestamp_node() -> hl_mmap_mem_buf_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | &ctx->ts_reg_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &data->interrupt->ts_list_lock | ||
| TYPE_LOCK | (struct hl_ctx)->ts_reg_lock |
drivers/accel/habanalabs/common/command_submission.c wake_pending_user_interrupt_threads() -> hl_mmap_mem_buf_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &interrupt->ts_list_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct hl_user_interrupt)->ts_list_lock |