Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c nvkm_vmm_ctor_managed() -> nvkm_vmm_node_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vmm | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->func | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->join.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->join.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->join.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->join.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->join.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | vmm->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->mmu | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->mmu->func | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->mutex.map.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vmm->mutex.map.first_waiter | 0 |
| PARAM_VALUE | 0 | vmm->mutex.map.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->mutex.map.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | vmm->mutex.map.owner.counter | 0 |
| PARAM_VALUE | 0 | vmm->mutex.ref.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vmm->mutex.ref.first_waiter | 0 |
| PARAM_VALUE | 0 | vmm->mutex.ref.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->mutex.ref.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | vmm->mutex.ref.owner.counter | 0 |
| PARAM_VALUE | 0 | vmm->mutex.vmm.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vmm->mutex.vmm.first_waiter | 0 |
| PARAM_VALUE | 0 | vmm->mutex.vmm.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->mutex.vmm.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | vmm->mutex.vmm.owner.counter | 0 |
| PARAM_VALUE | 0 | vmm->name | 572916574821515264,1259478317585096704,1589294372859043840,3855178936993570816,7242409991763337216,7398912313877254144,8270121927594450944 |
| PARAM_VALUE | 0 | vmm->pd | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->pd->page | 0,12,16-17,21,27,29,38,47,56 |
| PARAM_VALUE | 0 | vmm->pd->refs | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->pd->sparse | 0 |
| PARAM_VALUE | 0 | vmm->start | 0 |
| PARAM_VALUE | 1 | vma | 4096-ptr_max |
| PARAM_VALUE | 1 | vma->mapref | 1 |
| PARAM_VALUE | 1 | vma->page | 7 |
| PARAM_VALUE | 1 | vma->refd | 7 |
| PARAM_VALUE | 1 | vma->size | 1-u64max |
| PARAM_VALUE | 1 | vma->sparse | 0 |
| PARAM_VALUE | 1 | vma->used | 1 |
| BUF_SIZE | 0 | vmm->name | 4-5,12,14 |
| BUF_SIZE | 0 | vmm->pd | 40-s32max |
| BUF_SIZE | 1 | vma | 80 |
| CAPPED_DATA | 1 | vma->size | 1 |
| DATA_SOURCE | 0 | vmm | $0 |
| DATA_SOURCE | 1 | vma | r nvkm_vma_new |
| STR_LEN | 0 | vmm->func | (-1),4 |
| BIT_INFO | 0 | vmm->free | 0x0,0x7fffffffffffffff |
| BIT_INFO | 0 | vmm->root | 0x0,0x7fffffffffffffff |
| POWER_OF_TWO | 0 | *vmm | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | vmm->managed.p.size | |
| NO_OVERFLOW_SIMPLE | 1 | vma->addr | |
| NO_OVERFLOW_SIMPLE | 1 | vma->size |
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c nvkm_vmm_get_locked() -> nvkm_vmm_node_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vmm | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->free.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->func | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->func->flush | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vmm->func->page | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->func->page->shift | 0,12,16-17,21,27,29,38,47,56 |
| PARAM_VALUE | 0 | vmm->func->page->type | 0-7,10-13 |
| PARAM_VALUE | 0 | vmm->func->page_block | 0,536870912 |
| PARAM_VALUE | 0 | vmm->mmu->subdev.device->dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | vmm->mmu->subdev.device->gsp->rm->api->fbsr | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->mmu->subdev.device->gsp->rm->api->gsp | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->mmu->user.ctor | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vmm->mutex.vmm.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vmm->mutex.vmm.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vmm->mutex.vmm.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vmm->mutex.vmm.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vmm->mutex.vmm.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vmm->mutex.vmm.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vmm->mutex.vmm.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vmm->rm.device.object.client->gsp->rm->api->alloc | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->rm.device.object.client->gsp->rm->api->alloc->get | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->rm.device.subdevice.client->gsp->rm->api->ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->rm.device.subdevice.client->gsp->rm->api->ctrl->get | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->rm.object.client->gsp->rm->api->alloc | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->rm.object.client->gsp->rm->api->alloc->push | 4096-ptr_max |
| PARAM_VALUE | 1 | vma | 4096-ptr_max |
| PARAM_VALUE | 1 | vma->used | 1 |
| BUF_SIZE | 1 | vma | (-1),80 |
| BUF_SIZE | 1 | vma | (-1),80 |
| DATA_SOURCE | 0 | vmm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | vmm->managed.n.addr | |
| NO_OVERFLOW_SIMPLE | 0 | vmm->managed.n.size | |
| NO_OVERFLOW_SIMPLE | 0 | vmm->managed.p.size | |
| NO_OVERFLOW_SIMPLE | 0 | vmm->rm.client.gsp->sr.fbsr.nents | |
| NO_OVERFLOW_SIMPLE | 0 | vmm->rm.client.gsp->sr.meta.size | |
| NO_OVERFLOW_SIMPLE | 0 | vmm->rm.client.gsp->sr.radix3.lvl0.size | |
| NO_OVERFLOW_SIMPLE | 0 | vmm->rm.client.gsp->sr.radix3.lvl1.size | |
| NO_OVERFLOW_SIMPLE | 0 | vmm->rm.client.gsp->sr.sgt.nents | |
| UNITS | 1 | vma | unit_byte |
| LOCK2 | 0 | &vmm->mutex.vmm | |
| TYPE_LOCK | (struct nvkm_vmm)->mutex.vmm |
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c nvkm_vmm_node_merge() -> nvkm_vmm_node_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vmm | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->func->flush | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vmm->func->page->shift | 0,12,16-17,21,27,29,38,47,56 |
| PARAM_VALUE | 0 | vmm->func->page->type | 0-7,10-13 |
| PARAM_VALUE | 0 | vmm->func->page_block | 0,536870912 |
| PARAM_VALUE | 0 | vmm->mmu->subdev.device->dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | vmm->mmu->user.ctor | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vmm->mutex.vmm.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vmm->mutex.vmm.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vmm->mutex.vmm.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vmm->mutex.vmm.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | vmm->mutex.vmm.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vmm->mutex.vmm.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vmm->mutex.vmm.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vmm->mutex.vmm.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vmm->rm.device.subdevice.client->gsp->rm->api->ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->rm.device.subdevice.client->gsp->rm->api->ctrl->get | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 1 | vma | 4096-ptr_max |
| PARAM_VALUE | 1 | vma->part | 1 |
| PARAM_VALUE | 1 | vma->tree.rb_left | 0,4096-ptr_max |
| PARAM_VALUE | 1 | vma->tree.rb_right | 0,4096-ptr_max |
| DATA_SOURCE | 0 | vmm | $0 |
| DATA_SOURCE | 1 | vma | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | vmm->managed.n.addr | |
| NO_OVERFLOW_SIMPLE | 0 | vmm->managed.n.size | |
| NO_OVERFLOW_SIMPLE | 0 | vmm->managed.p.size | |
| NO_OVERFLOW_SIMPLE | 0 | vmm->rm.client.gsp->sr.meta.size | |
| NO_OVERFLOW_SIMPLE | 0 | vmm->rm.client.gsp->sr.radix3.lvl0.size | |
| NO_OVERFLOW_SIMPLE | 0 | vmm->rm.client.gsp->sr.radix3.lvl1.size | |
| NO_OVERFLOW_SIMPLE | 0 | vmm->rm.client.gsp->sr.radix3.lvl2.nents | |
| NO_OVERFLOW_SIMPLE | 0 | vmm->rm.client.gsp->sr.sgt.nents | |
| LOCK2 | 0 | &vmm->mutex.vmm | |
| TYPE_LOCK | (struct nvkm_vmm)->mutex.vmm |
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c nvkm_vmm_node_merge() -> nvkm_vmm_node_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vmm | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->func->flush | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vmm->func->page->shift | 0,12,16-17,21,27,29,38,47,56 |
| PARAM_VALUE | 0 | vmm->func->page->type | 0-7,10-13 |
| PARAM_VALUE | 0 | vmm->func->page_block | 0,536870912 |
| PARAM_VALUE | 0 | vmm->mmu->subdev.device->dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | vmm->mmu->user.ctor | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vmm->mutex.vmm.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vmm->mutex.vmm.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vmm->mutex.vmm.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vmm->mutex.vmm.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | vmm->mutex.vmm.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vmm->mutex.vmm.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vmm->mutex.vmm.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vmm->mutex.vmm.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vmm->rm.device.subdevice.client->gsp->rm->api->ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->rm.device.subdevice.client->gsp->rm->api->ctrl->get | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 1 | vma | 4096-ptr_max |
| PARAM_VALUE | 1 | vma->tree.rb_left | 0,4096-ptr_max |
| PARAM_VALUE | 1 | vma->tree.rb_right | 0,4096-ptr_max |
| BUF_SIZE | 1 | vma | (-1)-0,40-s32max |
| BUF_SIZE | 1 | vma | (-1)-0,40-s32max |
| CAPPED_DATA | 1 | vma | 1 |
| DATA_SOURCE | 0 | vmm | $0 |
| DATA_SOURCE | 1 | vma | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | vmm->managed.n.addr | |
| NO_OVERFLOW_SIMPLE | 0 | vmm->managed.n.size | |
| NO_OVERFLOW_SIMPLE | 0 | vmm->managed.p.size | |
| NO_OVERFLOW_SIMPLE | 0 | vmm->rm.client.gsp->sr.meta.size | |
| NO_OVERFLOW_SIMPLE | 0 | vmm->rm.client.gsp->sr.radix3.lvl0.size | |
| NO_OVERFLOW_SIMPLE | 0 | vmm->rm.client.gsp->sr.radix3.lvl1.size | |
| NO_OVERFLOW_SIMPLE | 0 | vmm->rm.client.gsp->sr.radix3.lvl2.nents | |
| NO_OVERFLOW_SIMPLE | 0 | vmm->rm.client.gsp->sr.sgt.nents | |
| LOCK2 | 0 | &vmm->mutex.vmm | |
| TYPE_LOCK | (struct nvkm_vmm)->mutex.vmm |
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c nvkm_vmm_node_split() -> nvkm_vmm_node_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vmm | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->func->page->shift | 0,12,16-17,21,27,29,38,47,56 |
| PARAM_VALUE | 0 | vmm->mutex.vmm.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vmm->mutex.vmm.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vmm->mutex.vmm.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vmm->mutex.vmm.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vmm->mutex.vmm.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vmm->mutex.vmm.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vmm->mutex.vmm.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | vma | 4096-ptr_max |
| PARAM_VALUE | 1 | vma->head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | vma->head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | vma->head.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | vma->head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | vma->part | 1 |
| BUF_SIZE | 1 | vma | 80 |
| CAPPED_DATA | 0 | vmm->managed.p.addr | 1 |
| DATA_SOURCE | 0 | vmm | $0 |
| DATA_SOURCE | 1 | vma | r nvkm_vma_tail |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &vmm->mutex.vmm | |
| TYPE_LOCK | (struct nvkm_vmm)->mutex.vmm |
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c nvkm_vmm_node_split() -> nvkm_vmm_node_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vmm | 4096-ptr_max |
| PARAM_VALUE | 0 | vmm->func->page->shift | 0,12,16-17,21,27,29,38,47,56 |
| PARAM_VALUE | 0 | vmm->mutex.vmm.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vmm->mutex.vmm.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vmm->mutex.vmm.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vmm->mutex.vmm.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vmm->mutex.vmm.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vmm->mutex.vmm.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vmm->mutex.vmm.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | vma | 4096-ptr_max |
| PARAM_VALUE | 1 | vma->head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | vma->head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | vma->part | 1 |
| BUF_SIZE | 1 | vma | 80 |
| CAPPED_DATA | 0 | vmm->managed.p.addr | 1 |
| DATA_SOURCE | 0 | vmm | $0 |
| DATA_SOURCE | 1 | vma | r nvkm_vma_tail |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &vmm->mutex.vmm | |
| TYPE_LOCK | (struct nvkm_vmm)->mutex.vmm |