Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 13 files:
- drivers/gpu/drm/nouveau/nouveau_abi16.c, line 524
- drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c, line 211
- drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c, line 149
- drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c, line 134
- drivers/gpu/drm/nouveau/nvkm/subdev/fb/r535.c, line 49
- drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c, line 247
- drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c
- drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgp102.c, line 26
- drivers/gpu/drm/nouveau/nvkm/subdev/fb/rammcp77.c, line 82
- drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c, line 578
- drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c, line 210
- drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c, line 179
- drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c, line 204
Smatch caller information:
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c nv50_ram_ctor() -> nvkm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->block_size | 0-1048575 |
| PARAM_VALUE | 0 | mm->free.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->heap_nodes | 0-1 |
| PARAM_VALUE | 0 | mm->nodes.next | 4096-ptr_max |
| PARAM_VALUE | 1 | heap | 1 |
| PARAM_VALUE | 2 | offset | 64 |
| PARAM_VALUE | 4 | block | 0-1048575 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | length | 0-u32max[c] |
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c nv40_instmem_oneinit() -> nvkm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 784852273757753944 |
| PARAM_VALUE | 1 | heap | 0 |
| PARAM_VALUE | 2 | offset | 0 |
| PARAM_VALUE | 3 | length | 1576959-8564735 |
| PARAM_VALUE | 4 | block | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | length | unit_byte |
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c nvkm_fb_oneinit() -> nvkm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 8824728657771549400 |
| PARAM_VALUE | 1 | heap | 0 |
| PARAM_VALUE | 2 | offset | 0 |
| PARAM_VALUE | 4 | block | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c nvkm_gpuobj_ctor() -> nvkm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | heap | 0 |
| PARAM_VALUE | 2 | offset | 0 |
| PARAM_VALUE | 4 | block | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | length | unit_page |
| HALF_LOCKED2 | &cgrp->mutex | ||
| HALF_LOCKED2 | &subdev->use.mutex |
drivers/gpu/drm/nouveau/nouveau_abi16.c nouveau_abi16_ioctl_channel_alloc() -> nvkm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | heap | 0 |
| PARAM_VALUE | 2 | offset | 0 |
| PARAM_VALUE | 3 | length | 4096 |
| PARAM_VALUE | 4 | block | 1 |
| UNITS | 3 | length | unit_byte |
| LOCK2 | &file_priv->driver_priv->mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/fb/rammcp77.c mcp77_ram_new() -> nvkm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->block_size | 0-1048575 |
| PARAM_VALUE | 0 | mm->free.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->heap_nodes | 0-1 |
| PARAM_VALUE | 0 | mm->nodes.next | 4096-ptr_max |
| PARAM_VALUE | 1 | heap | 1 |
| PARAM_VALUE | 2 | offset | 64 |
| PARAM_VALUE | 4 | block | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | length | 0-u32max[c] |
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/fb/r535.c r535_fb_ram_new() -> nvkm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | heap | 1 |
| PARAM_VALUE | 4 | block | 1 |
| 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_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 784852273757753944 |
| PARAM_VALUE | 1 | heap | 0 |
| PARAM_VALUE | 2 | offset | 0 |
| PARAM_VALUE | 3 | length | 524288 |
| PARAM_VALUE | 4 | block | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | length | unit_byte |
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgp102.c gp102_ram_new() -> nvkm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->heap_nodes | 0-1 |
| PARAM_VALUE | 1 | heap | 1 |
| PARAM_VALUE | 2 | offset | 64 |
| PARAM_VALUE | 4 | block | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | length | 0-u32max[c] |
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c gf100_ram_ctor() -> nvkm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->block_size | 0-1048575 |
| PARAM_VALUE | 0 | mm->free.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->heap_nodes | 0-1 |
| PARAM_VALUE | 0 | mm->nodes.next | 4096-ptr_max |
| PARAM_VALUE | 1 | heap | 1 |
| PARAM_VALUE | 2 | offset | 64 |
| PARAM_VALUE | 4 | block | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | length | 0-u32max[c] |
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c gf100_ram_ctor() -> nvkm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->block_size | 0-1048575 |
| PARAM_VALUE | 0 | mm->free.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->heap_nodes | 1-2 |
| PARAM_VALUE | 0 | mm->nodes.next | 4096-ptr_max |
| PARAM_VALUE | 1 | heap | 3 |
| PARAM_VALUE | 4 | block | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | offset | 0-u32max[c] |
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c gf100_ram_ctor() -> nvkm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->block_size | 0-1048575 |
| PARAM_VALUE | 0 | mm->free.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->heap_nodes | 0-1 |
| PARAM_VALUE | 0 | mm->nodes.next | 4096-ptr_max |
| PARAM_VALUE | 1 | heap | 1 |
| PARAM_VALUE | 2 | offset | 64 |
| PARAM_VALUE | 3 | length | 4294966976 |
| PARAM_VALUE | 4 | block | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | length | 4294966976[c] |
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c nvkm_ram_ctor() -> nvkm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->heap_nodes | 0 |
| PARAM_VALUE | 1 | heap | 1 |
| PARAM_VALUE | 2 | offset | 0 |
| PARAM_VALUE | 4 | block | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | length | 0-u32max[c] |
| HALF_LOCKED2 | &subdev->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c gf100_ltc_oneinit_tag_ram() -> nvkm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->heap_nodes | 0-1 |
| PARAM_VALUE | 1 | heap | 0 |
| PARAM_VALUE | 2 | offset | 0 |
| PARAM_VALUE | 3 | length | 0,64-u32max |
| PARAM_VALUE | 4 | block | 1 |
| CAPPED_DATA | 3 | length | 1 |
| FUZZY_MAX | 3 | length | 0 |
| BIT_INFO | 3 | length | 0x0,0xffffffc0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | length | unit_page |
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |