Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/etnaviv/etnaviv_mmu.c etnaviv_context_map() -> etnaviv_context_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | context | 4096-ptr_max |
| PARAM_VALUE | 0 | context->global | 4096-ptr_max |
| PARAM_VALUE | 0 | context->global->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | context->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | context->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | context->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | context->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | context->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | context->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | context->lock.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 0 | context | (-1),688 |
| BUF_SIZE | 0 | context | (-1),688 |
| DATA_SOURCE | 0 | context | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
| LOCK2 | 0 | &context->lock | |
| HALF_LOCKED2 | &etnaviv_obj->lock | ||
| TYPE_LOCK | (struct etnaviv_iommu_context)->lock |
drivers/gpu/drm/etnaviv/etnaviv_mmu.c etnaviv_iommu_map() -> etnaviv_context_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | context | 4096-ptr_max |
| PARAM_VALUE | 0 | context->global | 4096-ptr_max |
| PARAM_VALUE | 0 | context->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | context->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | context->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | context->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | context->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | context->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | context->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | size | 0 |
| CAPPED_DATA | 0 | context | 1 |
| DATA_SOURCE | 0 | context | $0 |
| DATA_SOURCE | 1 | iova | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &etnaviv_obj->lock | ||
| LOCK2 | 0 | &context->lock | |
| TYPE_LOCK | (struct etnaviv_gem_object)->lock | ||
| TYPE_LOCK | (struct etnaviv_iommu_context)->lock |
drivers/gpu/drm/etnaviv/etnaviv_mmu.c etnaviv_iommu_put_suballoc_va() -> etnaviv_context_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | context | 4096-ptr_max |
| PARAM_VALUE | 0 | context->global | 4096-ptr_max |
| PARAM_VALUE | 0 | context->global->version | 1-u32max |
| PARAM_VALUE | 0 | context->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | context->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | context->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | context->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | context->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | context->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | context->lock.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 0 | context | (-1),688 |
| BUF_SIZE | 0 | context | (-1),688 |
| CAPPED_DATA | 0 | &context->lock | 1 |
| DATA_SOURCE | 0 | context | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
| LOCK2 | 0 | &context->lock | |
| TYPE_LOCK | (struct etnaviv_iommu_context)->lock |
drivers/gpu/drm/etnaviv/etnaviv_mmu.c etnaviv_iommu_unmap() -> etnaviv_context_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | context | $0 |
| DATA_SOURCE | 1 | iova | $1 |
| DATA_SOURCE | 2 | size | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 0 | &context->lock | |
| TYPE_LOCK | (struct etnaviv_iommu_context)->lock |