Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/i915/gem/i915_gem_shmem.c, line 685
- drivers/gpu/drm/i915/gem/i915_gem_stolen.c
- drivers/gpu/drm/i915/gem/i915_gem_ttm.c, line 1384
- drivers/gpu/drm/i915/gt/intel_gt.c, line 107
Smatch caller information:
drivers/gpu/drm/i915/gem/i915_gem_ttm.c i915_gem_ttm_system_setup() -> intel_memory_region_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mem | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->min_page_size | 4096 |
| PARAM_VALUE | 0 | mem->objects.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->objects.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->objects.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->objects.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->objects.list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->objects.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mem->objects.lock.first_waiter | 0 |
| PARAM_VALUE | 0 | mem->objects.lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->objects.lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | mem->objects.lock.owner.counter | 0 |
| PARAM_VALUE | 0 | mem->ops | 1061311322658967552 |
| PARAM_VALUE | 0 | mem->total | 0,4096-18446744073709547520 |
| PARAM_VALUE | 0 | mem->type | 0 |
| PARAM_VALUE | 1 | fmt | 3127406025302278144 |
| BUF_SIZE | 0 | mem | 424 |
| BUF_SIZE | 0 | mem->ops | 24 |
| BUF_SIZE | 1 | fmt | 11 |
| DATA_SOURCE | 0 | mem | r intel_memory_region_create |
| STR_LEN | 0 | mem | 10 |
| BIT_INFO | 0 | mem->total | 0x0,0xfffffffffffff000 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | mem->total | 0,4096-18446744073709547520 |
drivers/gpu/drm/i915/gem/i915_gem_shmem.c init_shmem() -> intel_memory_region_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mem | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->i915->drm.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->min_page_size | 4096,65536 |
| PARAM_VALUE | 0 | mem->objects.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->objects.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->objects.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->objects.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->objects.list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->objects.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mem->objects.lock.first_waiter | 0 |
| PARAM_VALUE | 0 | mem->objects.lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->objects.lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | mem->objects.lock.owner.counter | 0 |
| PARAM_VALUE | 0 | mem->ops | 1061311322658967552,3252059234875207680,5092711076303699968,6056825745804816384,8335273412569690112,8356267940862754816 |
| PARAM_VALUE | 0 | mem->type | 0-4 |
| PARAM_VALUE | 1 | fmt | 4539742112066576384 |
| BUF_SIZE | 0 | mem | 424 |
| BUF_SIZE | 1 | fmt | 7 |
| DATA_SOURCE | 0 | mem | $0 |
| FUZZY_MAX | 0 | mem->min_page_size | 65536 |
| STR_LEN | 0 | mem | 6 |
| STR_LEN | 0 | mem->uabi_name | 19 |
| BIT_INFO | 0 | mem->min_page_size | 0x0,0x11000 |
| TERMINATED | 1 | fmt | 1 |
| HARD_MAX | 0 | mem->min_page_size | 65536 |
| HARD_MAX | 0 | mem->type | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | mem->total | 0-u64max |
drivers/gpu/drm/i915/gem/i915_gem_stolen.c i915_gem_stolen_lmem_setup() -> intel_memory_region_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mem | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->instance | 0 |
| PARAM_VALUE | 0 | mem->min_page_size | 4096,65536 |
| PARAM_VALUE | 0 | mem->objects.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->objects.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->objects.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->objects.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->objects.list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->objects.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mem->objects.lock.first_waiter | 0 |
| PARAM_VALUE | 0 | mem->objects.lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->objects.lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | mem->objects.lock.owner.counter | 0 |
| PARAM_VALUE | 0 | mem->ops | 3252059234875207680 |
| PARAM_VALUE | 0 | mem->type | 3 |
| PARAM_VALUE | 1 | fmt | 8013383054657421312 |
| BUF_SIZE | 0 | mem | 424 |
| BUF_SIZE | 0 | mem->ops | 24 |
| BUF_SIZE | 1 | fmt | 13 |
| DATA_SOURCE | 0 | mem | r intel_memory_region_create |
| STR_LEN | 0 | mem | 12 |
| BIT_INFO | 0 | mem->min_page_size | 0x0,0x11000 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | mem->total | 0-u64max |
| HALF_LOCKED2 | __flags |
drivers/gpu/drm/i915/gem/i915_gem_stolen.c i915_gem_stolen_smem_setup() -> intel_memory_region_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mem | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->min_page_size | 4096 |
| PARAM_VALUE | 0 | mem->objects.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->objects.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->objects.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->objects.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->objects.list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->objects.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mem->objects.lock.first_waiter | 0 |
| PARAM_VALUE | 0 | mem->objects.lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->objects.lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | mem->objects.lock.owner.counter | 0 |
| PARAM_VALUE | 0 | mem->ops | 8356267940862754816 |
| PARAM_VALUE | 0 | mem->type | 2 |
| PARAM_VALUE | 1 | fmt | 155539491341127680 |
| BUF_SIZE | 0 | mem | 424 |
| BUF_SIZE | 0 | mem->ops | 24 |
| BUF_SIZE | 1 | fmt | 14 |
| DATA_SOURCE | 0 | mem | r intel_memory_region_create |
| STR_LEN | 0 | mem | 13 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | mem->total | 0-u64max |
drivers/gpu/drm/i915/gt/intel_gt.c intel_gt_probe_lmem() -> intel_memory_region_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mem | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 1761564725245771776 |
| BUF_SIZE | 0 | mem | (-1),424 |
| BUF_SIZE | 0 | mem | (-1),424 |
| BUF_SIZE | 1 | fmt | 8 |
| DATA_SOURCE | 0 | mem | r intel_gt_setup_lmem |
| STR_LEN | 0 | mem | 7 |
| BIT_INFO | 0 | mem->id | 0x0,0x7fffffff |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |