Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c nv50_instobj_kmap() -> (struct nvkm_memory_func)->map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | memory | 4096-ptr_max |
| PARAM_VALUE | 0 | memory->func | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 2 | vmm | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->free.rb_node | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 3 | vma | 4096-ptr_max |
| PARAM_VALUE | 3 | vma->tree.__rb_parent_color | 1 |
| PARAM_VALUE | 3 | vma->used | 1 |
| PARAM_VALUE | 4 | argv | 0 |
| PARAM_VALUE | 5 | argc | 0 |
| BUF_SIZE | 0 | memory | 32 |
| DATA_SOURCE | 2 | vmm | $1 |
| STR_LEN | 0 | memory | (-1),3,5,9-10,12-13 |
| STR_LEN | 2 | vmm | (-1),3,5,9-10,12-13 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &imem->mutex | ||
| HALF_LOCKED2 | &subdev->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c nv50_instobj_map() -> (struct nvkm_memory_func)->map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | memory | 4096-ptr_max |
| PARAM_VALUE | 0 | memory->func | 4096-ptr_max |
| BUF_SIZE | 3 | vma | (-1)-0,40-s32max |
| BUF_SIZE | 3 | vma | (-1)-0,40-s32max |
| BUF_SIZE | 4 | argv | (-1)-s32max |
| BUF_SIZE | 4 | argv | (-1)-s32max |
| DATA_SOURCE | 0 | memory | $0 [m] |
| DATA_SOURCE | 1 | offset | $1 |
| DATA_SOURCE | 2 | vmm | $2 |
| DATA_SOURCE | 3 | vma | $3 |
| DATA_SOURCE | 4 | argv | $4 |
| DATA_SOURCE | 5 | argc | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | vmm->managed.n.addr | |
| NO_OVERFLOW_SIMPLE | 2 | vmm->managed.n.size | |
| NO_OVERFLOW_SIMPLE | 2 | vmm->managed.p.size | |
| HALF_LOCKED2 | &cgrp->mutex | ||
| HALF_LOCKED2 | &gr->fecs.mutex | ||
| HALF_LOCKED2 | &imem->mutex | ||
| HALF_LOCKED2 | &subdev->use.mutex |
drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c nvkm_gpuobj_heap_map() -> (struct nvkm_memory_func)->map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | memory | 4096-ptr_max |
| BUF_SIZE | 4 | argv | (-1),5 |
| BUF_SIZE | 4 | argv | (-1),5 |
| DATA_SOURCE | 1 | offset | $1 |
| DATA_SOURCE | 2 | vmm | $2 |
| DATA_SOURCE | 3 | vma | $3 |
| DATA_SOURCE | 4 | argv | $4 |
| DATA_SOURCE | 5 | argc | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cgrp->mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c nvkm_uvmm_mthd_map() -> (struct nvkm_memory_func)->map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | memory | 4096-ptr_max |
| PARAM_VALUE | 0 | memory->func | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->mutex.vmm.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 2 | vmm->mutex.vmm.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 3 | vma | 4096-ptr_max |
| PARAM_VALUE | 3 | vma->busy | 1 |
| PARAM_VALUE | 5 | argc | 0-4294967255 |
| BUF_SIZE | 3 | vma | (-1)-0,40-s32max |
| BUF_SIZE | 3 | vma | (-1)-0,40-s32max |
| BUF_SIZE | 4 | argv | (-1)-s32max |
| BUF_SIZE | 4 | argv | (-1)-s32max |
| CAPPED_DATA | 2 | vmm->managed.p.addr | 1 |
| CAPPED_DATA | 2 | &vmm->mutex.vmm | 1 |
| CAPPED_DATA | 3 | vma | 1 |
| DATA_SOURCE | 0 | memory | r nvkm_umem_search |
| DATA_SOURCE | 4 | argv | $1 |
| DATA_SOURCE | 5 | argc | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c nvkm_uvmm_mthd_raw_map() -> (struct nvkm_memory_func)->map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | memory | 4096-ptr_max |
| PARAM_VALUE | 0 | memory->func | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->managed.raw | 1 |
| PARAM_VALUE | 3 | vma | 6101054999734460416 |
| PARAM_VALUE | 3 | vma->busy | 0 |
| PARAM_VALUE | 3 | vma->head.next | 0 |
| PARAM_VALUE | 3 | vma->head.prev | 0 |
| PARAM_VALUE | 3 | vma->mapped | 0 |
| PARAM_VALUE | 3 | vma->mapref | 0 |
| PARAM_VALUE | 3 | vma->memory | 0 |
| PARAM_VALUE | 3 | vma->no_comp | 1 |
| PARAM_VALUE | 3 | vma->page | 0 |
| PARAM_VALUE | 3 | vma->part | 0 |
| PARAM_VALUE | 3 | vma->refd | 0 |
| PARAM_VALUE | 3 | vma->sparse | 0 |
| PARAM_VALUE | 3 | vma->tags | 0 |
| PARAM_VALUE | 3 | vma->tree.__rb_parent_color | 0 |
| PARAM_VALUE | 3 | vma->tree.rb_left | 0 |
| PARAM_VALUE | 3 | vma->tree.rb_right | 0 |
| PARAM_VALUE | 3 | vma->used | 1 |
| CAPPED_DATA | 2 | vmm->managed.p.addr | 1 |
| DATA_SOURCE | 0 | memory | r nvkm_umem_search |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/nouveau/nvkm/falcon/fw.c nvkm_falcon_fw_oneinit() -> (struct nvkm_memory_func)->map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | memory | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 2 | vmm | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->free.rb_node | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 3 | vma | 4096-ptr_max |
| PARAM_VALUE | 3 | vma->tree.__rb_parent_color | 1 |
| PARAM_VALUE | 3 | vma->used | 1 |
| PARAM_VALUE | 4 | argv | 0 |
| PARAM_VALUE | 5 | argc | 0 |
| DATA_SOURCE | 2 | vmm | r nvkm_vmm_ref |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &subdev->use.mutex |
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gf100_gr_chan_new() -> (struct nvkm_memory_func)->map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | memory | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 2 | vmm | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->free.rb_node | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 3 | vma | 4096-ptr_max |
| PARAM_VALUE | 3 | vma->tree.__rb_parent_color | 1 |
| PARAM_VALUE | 3 | vma->used | 1 |
| PARAM_VALUE | 4 | argv | 1765508210487296000 |
| PARAM_VALUE | 5 | argc | 5 |
| BUF_SIZE | 4 | argv | 5 |
| DATA_SOURCE | 2 | vmm | r nvkm_vmm_ref |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cgrp->mutex | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &svmm->mutex | ||
| TYPE_LOCK | (struct nvkm_cgrp)->mutex |
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gf100_gr_chan_new() -> (struct nvkm_memory_func)->map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | memory | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 2 | vmm | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->free.rb_node | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 3 | vma | 4096-ptr_max |
| PARAM_VALUE | 3 | vma->tree.__rb_parent_color | 1 |
| PARAM_VALUE | 3 | vma->used | 1 |
| PARAM_VALUE | 4 | argv | 1765508210487296000 |
| PARAM_VALUE | 5 | argc | 5 |
| BUF_SIZE | 4 | argv | 5 |
| DATA_SOURCE | 2 | vmm | r nvkm_vmm_ref |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cgrp->mutex | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &svmm->mutex | ||
| TYPE_LOCK | (struct nvkm_cgrp)->mutex |
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gf100_gr_chan_new() -> (struct nvkm_memory_func)->map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | memory | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 2 | vmm | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->free.rb_node | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 3 | vma | 4096-ptr_max |
| PARAM_VALUE | 3 | vma->tree.__rb_parent_color | 1 |
| PARAM_VALUE | 3 | vma->used | 1 |
| PARAM_VALUE | 4 | argv | 0 |
| PARAM_VALUE | 5 | argc | 0 |
| DATA_SOURCE | 2 | vmm | r nvkm_vmm_ref |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cgrp->mutex | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &svmm->mutex | ||
| TYPE_LOCK | (struct nvkm_cgrp)->mutex |
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gf100_gr_chan_new() -> (struct nvkm_memory_func)->map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | memory | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 2 | vmm | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->free.rb_node | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 3 | vma | 4096-ptr_max |
| PARAM_VALUE | 3 | vma->tree.__rb_parent_color | 1 |
| PARAM_VALUE | 3 | vma->used | 1 |
| PARAM_VALUE | 4 | argv | 1765508210487296000 |
| PARAM_VALUE | 5 | argc | 5 |
| BUF_SIZE | 4 | argv | 5 |
| DATA_SOURCE | 2 | vmm | r nvkm_vmm_ref |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cgrp->mutex | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &svmm->mutex | ||
| TYPE_LOCK | (struct nvkm_cgrp)->mutex |
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gf100_gr_chan_new() -> (struct nvkm_memory_func)->map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | memory | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 2 | vmm | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->free.rb_node | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 3 | vma | 4096-ptr_max |
| PARAM_VALUE | 3 | vma->tree.__rb_parent_color | 1 |
| PARAM_VALUE | 3 | vma->used | 1 |
| PARAM_VALUE | 4 | argv | 1765508210487296000 |
| PARAM_VALUE | 5 | argc | 5 |
| BUF_SIZE | 4 | argv | 5 |
| DATA_SOURCE | 2 | vmm | r nvkm_vmm_ref |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cgrp->mutex | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &svmm->mutex | ||
| TYPE_LOCK | (struct nvkm_cgrp)->mutex |
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gf100_gr_chan_new() -> (struct nvkm_memory_func)->map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 2 | vmm | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->free.rb_node | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 3 | vma | 4096-ptr_max |
| PARAM_VALUE | 3 | vma->tree.__rb_parent_color | 1 |
| PARAM_VALUE | 3 | vma->used | 1 |
| PARAM_VALUE | 4 | argv | 1765508210487296000 |
| PARAM_VALUE | 5 | argc | 5 |
| BUF_SIZE | 4 | argv | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cgrp->mutex | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &svmm->mutex | ||
| TYPE_LOCK | (struct nvkm_cgrp)->mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gr.c r535_gr_promote_ctx() -> (struct nvkm_memory_func)->map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | memory | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 2 | vmm | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->free.rb_node | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->mutex.vmm.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 2 | vmm->mutex.vmm.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | vmm->rm.device.subdevice.client | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 4 | argv | 6921856400243838976 |
| PARAM_VALUE | 5 | argc | 5 |
| BUF_SIZE | 4 | argv | 5 |
| CAPPED_DATA | 2 | &vmm->mutex.vmm | 1 |
| DATA_SOURCE | 2 | vmm | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cgrp->mutex | ||
| HALF_LOCKED2 | &subdev->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c gf100_mem_map() -> (struct nvkm_memory_func)->map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | memory | 4096-ptr_max |
| PARAM_VALUE | 0 | memory->func | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 2 | vmm | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->free.rb_node | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 3 | vma | 4096-ptr_max |
| PARAM_VALUE | 3 | vma->tree.__rb_parent_color | 1 |
| PARAM_VALUE | 3 | vma->used | 1 |
| PARAM_VALUE | 4 | argv | 6754783346358771712 |
| PARAM_VALUE | 5 | argc | 5 |
| BUF_SIZE | 4 | argv | 5 |
| DATA_SOURCE | 0 | memory | $1 |
| DATA_SOURCE | 2 | vmm | r nvkm_bar_bar1_vmm |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c nv50_mem_map() -> (struct nvkm_memory_func)->map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | memory | 4096-ptr_max |
| PARAM_VALUE | 0 | memory->func | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 2 | vmm | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->free.rb_node | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 3 | vma | 4096-ptr_max |
| PARAM_VALUE | 3 | vma->tree.__rb_parent_color | 1 |
| PARAM_VALUE | 3 | vma->used | 1 |
| PARAM_VALUE | 4 | argv | 2352337762090004480 |
| PARAM_VALUE | 5 | argc | 5 |
| BUF_SIZE | 4 | argv | 5 |
| DATA_SOURCE | 0 | memory | $1 |
| DATA_SOURCE | 2 | vmm | r nvkm_bar_bar1_vmm |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c gf100_grctx_generate() -> (struct nvkm_memory_func)->map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | memory->func | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 2 | vmm | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->free.rb_node | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 3 | vma | 4096-ptr_max |
| PARAM_VALUE | 3 | vma->tree.__rb_parent_color | 1 |
| PARAM_VALUE | 3 | vma->used | 1 |
| PARAM_VALUE | 4 | argv | 0 |
| PARAM_VALUE | 5 | argc | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cgrp->mutex | ||
| LOCK2 | &gr->fecs.mutex | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &svmm->mutex | ||
| TYPE_LOCK | (struct gf100_gr)->fecs.mutex | ||
| TYPE_LOCK | (struct nvkm_cgrp)->mutex |
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c nvkm_fifo_oneinit() -> (struct nvkm_memory_func)->map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 2 | vmm | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->free.rb_node | 4096-ptr_max |
| PARAM_VALUE | 2 | vmm->root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 3 | vma | 4096-ptr_max |
| PARAM_VALUE | 3 | vma->tree.__rb_parent_color | 1 |
| PARAM_VALUE | 3 | vma->used | 1 |
| PARAM_VALUE | 4 | argv | 0 |
| PARAM_VALUE | 5 | argc | 0 |
| DATA_SOURCE | 2 | vmm | r nvkm_bar_bar1_vmm |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |