Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/tee/qcomtee/call.c, line 621
- drivers/tee/tee_core.c
- drivers/tee/tee_heap.c
- drivers/tee/tee_shm.c
Smatch caller information:
drivers/tee/qcomtee/call.c qcomtee_release() -> tee_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | teedev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->desc->ops | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/tee/tee_shm.c register_shm_helper() -> tee_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | teedev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->desc->ops | 4096-ptr_max |
| NOCHECK_CALL |
drivers/tee/tee_shm.c shm_alloc_helper() -> tee_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | teedev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->desc | 1-u64max |
| PARAM_VALUE | 0 | teedev->pool->ops | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/tee/tee_shm.c tee_shm_alloc_dma_mem() -> tee_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | teedev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->desc | 1-u64max |
| PARAM_VALUE | 0 | teedev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | teedev->dev.cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | teedev->dev.cma_area->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | teedev->dev.dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | teedev->dev.dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | teedev->dev.flags | 4096-ptr_max |
| CAPPED_DATA | 0 | &teedev->dev | 1 |
| NOCHECK_CALL |
drivers/tee/tee_shm.c tee_shm_register_fd() -> tee_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | teedev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->desc | 1-u64max |
| CAPPED_DATA | 0 | teedev | 1 |
| NOCHECK_CALL |
drivers/tee/tee_shm.c tee_shm_release() -> tee_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | teedev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->desc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | teedev->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | teedev->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | teedev->mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | teedev->mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | teedev->mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | teedev->mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | teedev->mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | teedev->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | teedev->mutex.wait_lock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | teedev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/tee/tee_heap.c tee_device_register_dma_heap() -> tee_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | teedev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->desc | 1-u64max |
| DATA_SOURCE | 0 | teedev | $0 |
| NOCHECK_CALL |
drivers/tee/tee_heap.c tee_heap_release() -> tee_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &h->mu | ||
| TYPE_LOCK | (struct tee_dma_heap)->mu |
drivers/tee/tee_core.c tee_device_unregister() -> tee_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | teedev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | teedev->dev.power.wakeirq->status | 0-4294967295 |
| BUF_SIZE | 0 | teedev | (-1),2312 |
| BUF_SIZE | 0 | teedev | (-1),2312 |
| CAPPED_DATA | 0 | teedev | 1 |
| DATA_SOURCE | 0 | teedev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | teedev->cdev.count | |
| HALF_LOCKED2 | &_dev->mutex |
drivers/tee/tee_core.c teedev_close_context() -> tee_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | teedev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->desc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->desc->ops->close_context | 0,5317449187263631360 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/tee/tee_core.c teedev_open() -> tee_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | teedev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->desc | 1-u64max |
| PARAM_VALUE | 0 | teedev->desc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| BUF_SIZE | 0 | teedev | (-1),2312 |
| BUF_SIZE | 0 | teedev | (-1),2312 |
| DATA_SOURCE | 0 | teedev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | teedev->cdev.count |