Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

drivers/gpu/drm/i915/gt/intel_ggtt.c init_ggtt() -> drm_mm_reserve_node()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 1 node 4096-ptr_max
PARAM_VALUE 1 node->color u64max
PARAM_VALUE 1 node->size 8192
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/i915/i915_gem_gtt.c i915_gem_gtt_reserve() -> drm_mm_reserve_node()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 1 node 4096-ptr_max
BUF_SIZE 1 node (-1),176,352,528,704
BUF_SIZE 1 node (-1),176,352,528,704
DATA_SOURCE 1 node $2
NOSPEC 1 node->size
NOSPEC 1 node->start
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 node->size 1-u32max[c]
HOST_DATA 1 node->start 0-s32max[c]
USER_DATA 1 node->size 1-2149580798[c]
USER_DATA 1 node->start 0-u64max[c]
HALF_LOCKED2 &vm->mutex

drivers/gpu/drm/i915/i915_gem_gtt.c i915_gem_gtt_reserve() -> drm_mm_reserve_node()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 1 node 4096-ptr_max
BUF_SIZE 1 node (-1),176,352,528,704
BUF_SIZE 1 node (-1),176,352,528,704
DATA_SOURCE 1 node $2
NOSPEC 1 node->size
NOSPEC 1 node->start
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 node->size 1-u32max[c]
HOST_DATA 1 node->start 0-s32max[c]
USER_DATA 1 node->size 1-2149580798[c]
USER_DATA 1 node->start 0-u64max[c]
HALF_LOCKED2 &vm->mutex

drivers/gpu/drm/tests/drm_mm_test.c drm_test_mm_debug() -> drm_mm_reserve_node()

Type Parameter Key Value
PARAM_VALUE 0 mm 7639464118902853632
PARAM_VALUE 0 mm->color_adjust 0
PARAM_VALUE 0 mm->head_node.hole_size 1
PARAM_VALUE 0 mm->head_node.hole_stack.next 4096-ptr_max
PARAM_VALUE 0 mm->head_node.hole_stack.prev 4096-ptr_max
PARAM_VALUE 0 mm->head_node.mm 4096-ptr_max
PARAM_VALUE 0 mm->head_node.node_list.next 4096-ptr_max
PARAM_VALUE 0 mm->head_node.node_list.prev 4096-ptr_max
PARAM_VALUE 0 mm->head_node.rb_hole_size.__rb_parent_color 1
PARAM_VALUE 0 mm->head_node.rb_hole_size.rb_left 4096-ptr_max
PARAM_VALUE 0 mm->head_node.rb_hole_size.rb_right 4096-ptr_max
PARAM_VALUE 0 mm->head_node.start 4096
PARAM_VALUE 0 mm->head_node.subtree_max_hole 1
PARAM_VALUE 0 mm->hole_stack.next 4096-ptr_max
PARAM_VALUE 0 mm->hole_stack.prev 4096-ptr_max
PARAM_VALUE 1 node 6126734953585537024
PARAM_VALUE 1 node->size 1024
PARAM_VALUE 1 node->start 512
BUF_SIZE 1 node 352

drivers/gpu/drm/tests/drm_mm_test.c drm_test_mm_debug() -> drm_mm_reserve_node()

Type Parameter Key Value
PARAM_VALUE 0 mm 7639464118902853632
PARAM_VALUE 0 mm->color_adjust 0
PARAM_VALUE 0 mm->head_node.hole_size 1
PARAM_VALUE 0 mm->head_node.hole_stack.next 4096-ptr_max
PARAM_VALUE 0 mm->head_node.hole_stack.prev 4096-ptr_max
PARAM_VALUE 0 mm->head_node.mm 4096-ptr_max
PARAM_VALUE 0 mm->head_node.node_list.next 4096-ptr_max
PARAM_VALUE 0 mm->head_node.node_list.prev 4096-ptr_max
PARAM_VALUE 0 mm->head_node.rb_hole_size.__rb_parent_color 1
PARAM_VALUE 0 mm->head_node.rb_hole_size.rb_left 4096-ptr_max
PARAM_VALUE 0 mm->head_node.rb_hole_size.rb_right 4096-ptr_max
PARAM_VALUE 0 mm->head_node.start 4096
PARAM_VALUE 0 mm->head_node.subtree_max_hole 1
PARAM_VALUE 0 mm->hole_stack.next 4096-ptr_max
PARAM_VALUE 0 mm->hole_stack.prev 4096-ptr_max
PARAM_VALUE 0 mm->holes_addr.rb_node 1-u64max
PARAM_VALUE 1 node 6126734953585537032
PARAM_VALUE 1 node->size 1024
PARAM_VALUE 1 node->start 2560

drivers/gpu/drm/tests/drm_mm_test.c drm_test_mm_init() -> drm_mm_reserve_node()

Type Parameter Key Value
PARAM_VALUE 0 mm 3320776367265980416
PARAM_VALUE 0 mm->color_adjust 0
PARAM_VALUE 0 mm->head_node.hole_size 1
PARAM_VALUE 0 mm->head_node.hole_stack.next 4096-ptr_max
PARAM_VALUE 0 mm->head_node.hole_stack.prev 4096-ptr_max
PARAM_VALUE 0 mm->head_node.mm 4096-ptr_max
PARAM_VALUE 0 mm->head_node.node_list.next 4096-ptr_max
PARAM_VALUE 0 mm->head_node.node_list.prev 4096-ptr_max
PARAM_VALUE 0 mm->head_node.rb_hole_size.__rb_parent_color 1
PARAM_VALUE 0 mm->head_node.rb_hole_size.rb_left 4096-ptr_max
PARAM_VALUE 0 mm->head_node.rb_hole_size.rb_right 4096-ptr_max
PARAM_VALUE 0 mm->head_node.start 4096
PARAM_VALUE 0 mm->head_node.subtree_max_hole 1
PARAM_VALUE 0 mm->hole_stack.next 4096-ptr_max
PARAM_VALUE 0 mm->hole_stack.prev 4096-ptr_max
PARAM_VALUE 1 node 1736471555074723840
PARAM_VALUE 1 node->size 4096
PARAM_VALUE 1 node->start 0
MEM_ZERO 0 mm
MEM_ZERO 1 node
NO_OVERFLOW_SIMPLE 1 node->size

drivers/gpu/drm/tests/drm_mm_test.c drm_test_mm_once() -> drm_mm_reserve_node()

Type Parameter Key Value
PARAM_VALUE 0 mm 173250437256478720
PARAM_VALUE 0 mm->color_adjust 0
PARAM_VALUE 0 mm->head_node.hole_size 1
PARAM_VALUE 0 mm->head_node.hole_stack.next 4096-ptr_max
PARAM_VALUE 0 mm->head_node.hole_stack.prev 4096-ptr_max
PARAM_VALUE 0 mm->head_node.mm 4096-ptr_max
PARAM_VALUE 0 mm->head_node.node_list.next 4096-ptr_max
PARAM_VALUE 0 mm->head_node.node_list.prev 4096-ptr_max
PARAM_VALUE 0 mm->head_node.rb_hole_size.__rb_parent_color 1
PARAM_VALUE 0 mm->head_node.rb_hole_size.rb_left 4096-ptr_max
PARAM_VALUE 0 mm->head_node.rb_hole_size.rb_right 4096-ptr_max
PARAM_VALUE 0 mm->head_node.start 7
PARAM_VALUE 0 mm->head_node.subtree_max_hole 1
PARAM_VALUE 0 mm->hole_stack.next 4096-ptr_max
PARAM_VALUE 0 mm->hole_stack.prev 4096-ptr_max
PARAM_VALUE 1 node 3322753572996878336
PARAM_VALUE 1 node->size 1
PARAM_VALUE 1 node->start 1
MEM_ZERO 1 node

drivers/gpu/drm/tests/drm_mm_test.c drm_test_mm_once() -> drm_mm_reserve_node()

Type Parameter Key Value
PARAM_VALUE 0 mm 173250437256478720
PARAM_VALUE 0 mm->color_adjust 0
PARAM_VALUE 0 mm->head_node.hole_size 1
PARAM_VALUE 0 mm->head_node.hole_stack.next 4096-ptr_max
PARAM_VALUE 0 mm->head_node.hole_stack.prev 4096-ptr_max
PARAM_VALUE 0 mm->head_node.mm 4096-ptr_max
PARAM_VALUE 0 mm->head_node.node_list.next 4096-ptr_max
PARAM_VALUE 0 mm->head_node.node_list.prev 4096-ptr_max
PARAM_VALUE 0 mm->head_node.rb_hole_size.__rb_parent_color 1
PARAM_VALUE 0 mm->head_node.rb_hole_size.rb_left 4096-ptr_max
PARAM_VALUE 0 mm->head_node.rb_hole_size.rb_right 4096-ptr_max
PARAM_VALUE 0 mm->head_node.start 7
PARAM_VALUE 0 mm->head_node.subtree_max_hole 1
PARAM_VALUE 0 mm->hole_stack.next 4096-ptr_max
PARAM_VALUE 0 mm->hole_stack.prev 4096-ptr_max
PARAM_VALUE 0 mm->holes_addr.rb_node 1-u64max
PARAM_VALUE 1 node 2216415020129800192
PARAM_VALUE 1 node->size 1
PARAM_VALUE 1 node->start 5
MEM_ZERO 1 node

drivers/gpu/drm/i915/gem/i915_gem_stolen.c _i915_gem_object_stolen_init() -> drm_mm_reserve_node()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 0 mm->hole_stack.next 1
PARAM_VALUE 1 node 4096-ptr_max
BUF_SIZE 1 node 176
DATA_SOURCE 1 node r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 node->size
LOCK2 &i915->mm.stolen_lock
TYPE_LOCK (struct i915_gem_mm)->stolen_lock

drivers/gpu/drm/i915/gem/i915_gem_mman.c igt_mmap_offset_exhaustion() -> drm_mm_reserve_node()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 1 node 4096-ptr_max
PARAM_VALUE 1 node->color u64max
PARAM_VALUE 1 node->size 1
BUF_SIZE 0 mm 248
BUF_SIZE 1 node 176
CAPPED_DATA 0 &mm->hole_stack 1
DATA_SOURCE 1 node r _kzalloc_noprof
LOCK2 &i915->drm.vma_offset_manager->vm_lock
TYPE_LOCK (struct drm_vma_offset_manager)->vm_lock

drivers/gpu/drm/panthor/panthor_mmu.c panthor_vm_alloc_va() -> drm_mm_reserve_node()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 1 node 4096-ptr_max
PARAM_VALUE 1 node->size 1-u64max
PARAM_VALUE 1 node->start 0-u32max
CAPPED_DATA 1 node->size 1
CAPPED_DATA 1 node->start 1
DATA_SOURCE 1 node $3
NOSPEC 1 node->size
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 node->size 1-u64max[c]
LOCK2 &vm->mm_lock
HALF_LOCKED2 &vm->heaps.lock
TYPE_LOCK (struct panthor_vm)->mm_lock