Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 27 files:
- drivers/accel/amdxdna/amdxdna_cbuf.c, line 58
- drivers/accel/amdxdna/amdxdna_pci_drv.c, line 141
- drivers/accel/ivpu/ivpu_mmu_context.c, line 595
- drivers/accel/rocket/rocket_drv.c, line 99
- drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c, line 366
- drivers/gpu/drm/armada/armada_drv.c, line 118
- drivers/gpu/drm/drm_mm.c, line 954
- drivers/gpu/drm/drm_vma_manager.c, line 90
- drivers/gpu/drm/etnaviv/etnaviv_iommu.c, line 165
- drivers/gpu/drm/etnaviv/etnaviv_iommu_v2.c, line 305
- drivers/gpu/drm/i915/gem/i915_gem_stolen.c, line 584
- drivers/gpu/drm/i915/gt/intel_gtt.c, line 301
- drivers/gpu/drm/imagination/pvr_fw.c, line 962
- drivers/gpu/drm/lima/lima_vm.c, line 224
- drivers/gpu/drm/msm/msm_gem_vma.c, line 867
- drivers/gpu/drm/panfrost/panfrost_mmu.c, line 805
- drivers/gpu/drm/panthor/panthor_mmu.c, line 2901
- drivers/gpu/drm/rockchip/rockchip_drm_drv.c, line 128
- drivers/gpu/drm/tegra/drm.c, line 1222
- drivers/gpu/drm/tests/drm_mm_test.c
- drivers/gpu/drm/ttm/ttm_range_manager.c, line 198
- drivers/gpu/drm/v3d/v3d_gem.c, line 341
- drivers/gpu/drm/vc4/vc4_hvs.c
- drivers/gpu/drm/virtio/virtgpu_kms.c, line 237
- drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c, line 1265
- drivers/gpu/drm/xe/xe_ggtt.c, line 361
- drivers/gpu/drm/xe/xe_mem_pool.c, line 161
Smatch caller information:
drivers/gpu/drm/v3d/v3d_gem.c v3d_gem_init() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 1 |
| PARAM_VALUE | 2 | size | 1048575 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/msm/msm_gem_vma.c msm_gem_vm_create() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0,4096,16777216-562949953421311 |
| DATA_SOURCE | 1 | start | $3 |
| DATA_SOURCE | 2 | size | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &init_lock |
drivers/gpu/drm/xe/xe_ggtt.c __xe_ggtt_init_early() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| DATA_SOURCE | 2 | size | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/panfrost/panfrost_mmu.c panfrost_mmu_ctx_create() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 8192 |
| PARAM_VALUE | 2 | size | 1040384 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_page |
| UNITS | 2 | size | unit_page |
drivers/accel/rocket/rocket_drv.c rocket_open() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/etnaviv/etnaviv_iommu_v2.c etnaviv_iommuv2_context_alloc() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 4096 |
| PARAM_VALUE | 2 | size | 4294963200 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/ttm/ttm_range_manager.c ttm_range_man_init_nocheck() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| DATA_SOURCE | 2 | size | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | size | 0-1099511627520[c] |
| UNITS | 2 | size | unit_page |
drivers/gpu/drm/tests/drm_mm_test.c drm_test_mm_align_pot() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 6837542392382337024 |
| PARAM_VALUE | 1 | start | 1 |
| PARAM_VALUE | 2 | size | 18446744073709551613 |
| NOCHECK_CALL |
drivers/gpu/drm/tests/drm_mm_test.c drm_test_mm_debug() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 7639464118902853632 |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | size | 4096 |
| NOCHECK_CALL |
drivers/gpu/drm/tests/drm_mm_test.c drm_test_mm_init() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 3320776367265980416 |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | size | 4096 |
| MEM_ZERO | 0 | mm | |
| NOCHECK_CALL |
drivers/gpu/drm/tests/drm_mm_test.c drm_test_mm_once() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 173250437256478720 |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | size | 7 |
| NOCHECK_CALL |
drivers/gpu/drm/i915/gt/intel_gtt.c i915_address_space_init() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
drivers/gpu/drm/etnaviv/etnaviv_iommu.c etnaviv_iommuv1_context_alloc() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 2147483648 |
| PARAM_VALUE | 2 | size | 2147483648 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &global->lock | ||
| TYPE_LOCK | (struct etnaviv_iommu_global)->lock |
drivers/gpu/drm/i915/gem/i915_gem_stolen.c i915_gem_init_stolen() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | size | 1-u64max |
| DATA_SOURCE | 2 | size | r resource_size |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/lima/lima_vm.c lima_vm_create() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/virtio/virtgpu_kms.c virtio_gpu_init() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 0-18446744073709551614 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | start | 0-u64max[c] |
| UNITS | 2 | size | unit_byte |
drivers/gpu/drm/tegra/drm.c host1x_drm_probe() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 2 | size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c vmw_cmdbuf_set_pool_size() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | size | 256 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_page |
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c amdgpu_gtt_mgr_init() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | size | 0-4503599627370495 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | mm->head_node.size | 0-u64max |
| UNITS | 2 | size | unit_page |
drivers/accel/amdxdna/amdxdna_pci_drv.c amdxdna_drm_open() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/vc4/vc4_hvs.c __vc4_hvs_alloc() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 32 |
| PARAM_VALUE | 2 | size | 0-u32max |
| FUZZY_MAX | 2 | size | 4096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | size | 0-u32max |
drivers/gpu/drm/vc4/vc4_hvs.c __vc4_hvs_alloc() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | size | 1024,49152,61440 |
| FUZZY_MAX | 2 | size | 61440 |
| BIT_INFO | 2 | size | 0x0,0xf400 |
| BIT_INFO | 2 | size | 0x0,0xf400 |
| HARD_MAX | 2 | size | 61440 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/vc4/vc4_hvs.c __vc4_hvs_alloc() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | size | 262144 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/xe/xe_mem_pool.c xe_mem_pool_init() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
drivers/accel/ivpu/ivpu_mmu_context.c ivpu_mmu_context_init() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 2147483648-u64max |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | start | |
| HALF_LOCKED2 | &vdev->context_list_lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/rockchip/rockchip_drm_drv.c rockchip_drm_init_iommu() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &component_mutex |
drivers/gpu/drm/drm_vma_manager.c drm_vma_offset_manager_init() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 1048576 |
| PARAM_VALUE | 2 | size | 268435200 |
| DATA_SOURCE | 1 | start | $1 |
| DATA_SOURCE | 2 | size | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/accel/amdxdna/amdxdna_cbuf.c amdxdna_carveout_init() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 1-u64max |
| DATA_SOURCE | 1 | start | $1 |
| DATA_SOURCE | 2 | size | $2 |
| BIT_INFO | 1 | start | 0x0,0xfffffffffffff000 |
| BIT_INFO | 1 | start | 0x0,0xfffffffffffff000 |
| BIT_INFO | 2 | size | 0x0,0xfffffffffffff000 |
| BIT_INFO | 2 | size | 0x0,0xfffffffffffff000 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-u64max |
| USER_DATA | 2 | size | 1-u64max |
| NO_OVERFLOW_SIMPLE | 1 | start | |
| NO_OVERFLOW_SIMPLE | 2 | size | |
| LOCK2 | _T->lock |
drivers/gpu/drm/panthor/panthor_mmu.c panthor_vm_create() -> drm_mm_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| DATA_SOURCE | 1 | start | $2 |
| DATA_SOURCE | 2 | size | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &drm_unplug_srcu |