Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c, line 1641
- drivers/gpu/drm/nouveau/nvkm/engine/fifo/g84.c, line 65
- drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c, line 98
- drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c, line 1701
- drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c, line 221
- drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c, line 190
Smatch caller information:
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c nv40_instmem_oneinit() -> nvkm_ramht_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->imem | 4096-ptr_max |
| PARAM_VALUE | 0 | device->imem->reserved | 0-29532158 |
| PARAM_VALUE | 0 | device->pri | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 32768 |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | parent | 0 |
| PARAM_VALUE | 4 | pramht | 784852273757753920 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c nv50_disp_oneinit() -> nvkm_ramht_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->imem | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 1-u16max |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | parent | 4096-ptr_max |
| PARAM_VALUE | 3 | parent->func | 1452543410995273728,5743475173220380672 |
| PARAM_VALUE | 3 | parent->func->acquire | 5351045347342757888,6099861650541039616 |
| PARAM_VALUE | 3 | parent->func->map | 4314142577791733760,5813302368079769600 |
| PARAM_VALUE | 3 | parent->heap.block_size | 0-1048575 |
| PARAM_VALUE | 3 | parent->heap.heap_nodes | 1-2 |
| PARAM_VALUE | 3 | parent->node->type | 1 |
| PARAM_VALUE | 3 | parent->parent->func | 0-9223372036854775807 |
| PARAM_VALUE | 3 | parent->parent->func->acquire | 0,5351045347342757888,6099861650541039616 |
| PARAM_VALUE | 3 | parent->parent->func->map | 4314142577791733760,5813302368079769600 |
| PARAM_VALUE | 3 | parent->parent->func->rd32 | 0,1412466373555200000,1477639721399631872,5213892458862817280 |
| PARAM_VALUE | 3 | parent->parent->func->release | 0,4707012781462945792,6930913848629039104 |
| PARAM_VALUE | 3 | parent->parent->func->wr32 | 0,2354007479838035968,5464638249898913792,8529216654203256832 |
| PARAM_VALUE | 3 | parent->parent->ptrs | 0-s64max |
| PARAM_VALUE | 3 | parent->ptrs | 1452543410995273728,5743475173220380672 |
| PARAM_VALUE | 3 | *parent->map | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 3 | *parent->parent->map | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 4 | pramht | 1557461564642264864 |
| FUZZY_MAX | 1 | size | 4096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c nv50_chan_ramfc_write() -> nvkm_ramht_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device->imem | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 32768 |
| PARAM_VALUE | 2 | align | 16 |
| PARAM_VALUE | 3 | parent | 4096-ptr_max |
| PARAM_VALUE | 3 | parent->func | 1452543410995273728,5743475173220380672 |
| PARAM_VALUE | 3 | parent->func->acquire | 5351045347342757888,6099861650541039616 |
| PARAM_VALUE | 3 | parent->func->map | 4314142577791733760,5813302368079769600 |
| PARAM_VALUE | 3 | parent->heap.block_size | 0-1048575 |
| PARAM_VALUE | 3 | parent->heap.heap_nodes | 1-2 |
| PARAM_VALUE | 3 | parent->node->type | 1 |
| PARAM_VALUE | 3 | parent->parent->func | 0,1035656602627661824,1452543410995273728,4466070809617317888,5743475173220380672,7069646133586837504,8585047317601656832 |
| PARAM_VALUE | 3 | parent->parent->func->acquire | 0,5351045347342757888,6099861650541039616 |
| PARAM_VALUE | 3 | parent->parent->func->map | 4314142577791733760,5813302368079769600 |
| PARAM_VALUE | 3 | parent->parent->func->rd32 | 0,1412466373555200000,1477639721399631872,5213892458862817280 |
| PARAM_VALUE | 3 | parent->parent->func->release | 0,4707012781462945792,6930913848629039104 |
| PARAM_VALUE | 3 | parent->parent->func->wr32 | 0,2354007479838035968,5464638249898913792,8529216654203256832 |
| PARAM_VALUE | 3 | parent->parent->ptrs | 0,1035656602627661824,1452543410995273728,4466070809617317888,5743475173220380672,7069646133586837504,8585047317601656832 |
| PARAM_VALUE | 3 | parent->ptrs | 1452543410995273728,5743475173220380672 |
| PARAM_VALUE | 4 | pramht | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &svmm->mutex |
drivers/gpu/drm/nouveau/nvkm/engine/fifo/g84.c g84_chan_ramfc_write() -> nvkm_ramht_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device->imem | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 32768 |
| PARAM_VALUE | 2 | align | 16 |
| PARAM_VALUE | 3 | parent | 4096-ptr_max |
| PARAM_VALUE | 3 | parent->func | 1452543410995273728,5743475173220380672 |
| PARAM_VALUE | 3 | parent->func->acquire | 5351045347342757888,6099861650541039616 |
| PARAM_VALUE | 3 | parent->func->map | 4314142577791733760,5813302368079769600 |
| PARAM_VALUE | 3 | parent->heap.block_size | 0-1048575 |
| PARAM_VALUE | 3 | parent->heap.heap_nodes | 1-2 |
| PARAM_VALUE | 3 | parent->node->type | 1 |
| PARAM_VALUE | 3 | parent->parent->func | 0,1035656602627661824,1452543410995273728,4466070809617317888,5743475173220380672,7069646133586837504,8585047317601656832 |
| PARAM_VALUE | 3 | parent->parent->func->acquire | 0,5351045347342757888,6099861650541039616 |
| PARAM_VALUE | 3 | parent->parent->func->map | 4314142577791733760,5813302368079769600 |
| PARAM_VALUE | 3 | parent->parent->func->rd32 | 0,1412466373555200000,1477639721399631872,5213892458862817280 |
| PARAM_VALUE | 3 | parent->parent->func->release | 0,4707012781462945792,6930913848629039104 |
| PARAM_VALUE | 3 | parent->parent->func->wr32 | 0,2354007479838035968,5464638249898913792,8529216654203256832 |
| PARAM_VALUE | 3 | parent->parent->ptrs | 0,1035656602627661824,1452543410995273728,4466070809617317888,5743475173220380672,7069646133586837504,8585047317601656832 |
| PARAM_VALUE | 3 | parent->ptrs | 1452543410995273728,5743475173220380672 |
| PARAM_VALUE | 4 | pramht | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &svmm->mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c r535_disp_oneinit() -> nvkm_ramht_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->gsp | 4096-ptr_max |
| PARAM_VALUE | 0 | device->gsp->client_id.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->gsp->client_id.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | device->gsp->client_id.mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->gsp->client_id.mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | device->gsp->client_id.mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | device->gsp->client_id.mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | device->gsp->client_id.mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | device->gsp->client_id.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | device->gsp->internal.device.subdevice.client | 4096-ptr_max |
| PARAM_VALUE | 0 | device->gsp->internal.device.subdevice.client->gsp | 4096-ptr_max |
| PARAM_VALUE | 0 | device->gsp->rm | 4096-ptr_max |
| PARAM_VALUE | 0 | device->imem | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 1-u16max |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | parent | 4096-ptr_max |
| PARAM_VALUE | 3 | parent->func | 1452543410995273728,5743475173220380672 |
| PARAM_VALUE | 3 | parent->func->acquire | 5351045347342757888,6099861650541039616 |
| PARAM_VALUE | 3 | parent->func->map | 4314142577791733760,5813302368079769600 |
| PARAM_VALUE | 3 | parent->heap.block_size | 0-1048575 |
| PARAM_VALUE | 3 | parent->heap.heap_nodes | 1-2 |
| PARAM_VALUE | 3 | parent->memory | 4096-ptr_max |
| PARAM_VALUE | 3 | parent->node->type | 1 |
| PARAM_VALUE | 3 | parent->parent->func | 0-9223372036854775807 |
| PARAM_VALUE | 3 | parent->parent->func->acquire | 0,5351045347342757888,6099861650541039616 |
| PARAM_VALUE | 3 | parent->parent->func->map | 4314142577791733760,5813302368079769600 |
| PARAM_VALUE | 3 | parent->parent->func->rd32 | 0,1412466373555200000,1477639721399631872,5213892458862817280 |
| PARAM_VALUE | 3 | parent->parent->func->release | 0,4707012781462945792,6930913848629039104 |
| PARAM_VALUE | 3 | parent->parent->func->wr32 | 0,2354007479838035968,5464638249898913792,8529216654203256832 |
| PARAM_VALUE | 3 | parent->parent->ptrs | 0-s64max |
| PARAM_VALUE | 3 | parent->ptrs | 1452543410995273728,5743475173220380672 |
| PARAM_VALUE | 3 | *parent->map | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 3 | *parent->parent->map | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 4 | pramht | 1557461564642264864 |
| FUZZY_MAX | 1 | size | 4096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c nv04_instmem_oneinit() -> nvkm_ramht_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->imem | 4096-ptr_max |
| PARAM_VALUE | 0 | device->imem->reserved | 0-29532158 |
| PARAM_VALUE | 1 | size | 32768 |
| PARAM_VALUE | 2 | align | 0 |
| PARAM_VALUE | 3 | parent | 0 |
| PARAM_VALUE | 4 | pramht | 784852273757753920 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |