Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/gpu/drm/drm_gem_vram_helper.c drm_gem_vram_create() -> ttm_bo_init_validate()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
PARAM_VALUE 1 bo 4096-ptr_max
PARAM_VALUE 1 bo->bdev 4096-ptr_max
PARAM_VALUE 2 type 0
PARAM_VALUE 3 placement 4096-ptr_max
PARAM_VALUE 3 placement->num_placement 0-2
PARAM_VALUE 3 placement->placement 4096-ptr_max
PARAM_VALUE 4 alignment 0
PARAM_VALUE 5 interruptible 0
PARAM_VALUE 6 sg 0
PARAM_VALUE 7 resv 0
BUF_SIZE 0 bdev 5760
DATA_SOURCE 4 alignment $2
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/radeon/radeon_object.c radeon_bo_create() -> ttm_bo_init_validate()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
PARAM_VALUE 1 bo 4096-ptr_max
PARAM_VALUE 1 bo->base._resv.fences 0
PARAM_VALUE 1 bo->base._resv.lock.base.magic 4096-ptr_max
PARAM_VALUE 1 bo->base._resv.lock.base.owner.counter 0
PARAM_VALUE 1 bo->base._resv.lock.ctx 0
PARAM_VALUE 1 bo->base._resv.lock.ww_class 8825623990767841280
PARAM_VALUE 1 bo->base.dev 4096-ptr_max
PARAM_VALUE 1 bo->base.filp 0
PARAM_VALUE 1 bo->base.funcs 4919632343371948032
PARAM_VALUE 1 bo->base.gpuva.lock.magic 4096-ptr_max
PARAM_VALUE 1 bo->base.lru_node.next 4096-ptr_max
PARAM_VALUE 1 bo->base.lru_node.prev 4096-ptr_max
PARAM_VALUE 1 bo->base.refcount.refcount.refs.counter 1
PARAM_VALUE 1 bo->base.resv 1-u64max
PARAM_VALUE 1 bo->base.size 0,4096-u64max
PARAM_VALUE 1 bo->base.vma_node.vm_lock.magic 3736018669
PARAM_VALUE 1 bo->base.vma_node.vm_lock.owner (-1)
PARAM_VALUE 1 bo->base.vma_node.vm_lock.owner_cpu u32max
PARAM_VALUE 1 bo->base.vma_node.vm_node.__subtree_last 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.color 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.flags 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.hole_size 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.hole_stack.next 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.hole_stack.prev 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.mm 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.node_list.next 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.node_list.prev 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.rb.__rb_parent_color 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.rb.rb_left 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.rb.rb_right 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.rb_hole_addr.__rb_parent_color 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.rb_hole_addr.rb_left 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.rb_hole_addr.rb_right 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.rb_hole_size.__rb_parent_color 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.rb_hole_size.rb_left 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.rb_hole_size.rb_right 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.size 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.stack 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.start 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.subtree_max_hole 0
PARAM_VALUE 2 type 0-2
PARAM_VALUE 3 placement 4096-ptr_max
PARAM_VALUE 3 placement->num_placement 1-4
PARAM_VALUE 3 placement->placement 4096-ptr_max
PARAM_VALUE 4 alignment 0-524288
PARAM_VALUE 6 sg 0,4096-ptr_max
PARAM_VALUE 6 sg->nents 0
PARAM_VALUE 6 sg->orig_nents 0
PARAM_VALUE 6 sg->sgl 0
PARAM_VALUE 7 resv->lock.base.dep_map->name 0-255
PARAM_VALUE 7 resv->lock.base.first_waiter 0,4096-ptr_max
PARAM_VALUE 7 resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 7 resv->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 7 resv->lock.ctx 0
PARAM_VALUE 8 destroy 6191209843067871232
DATA_SOURCE 6 sg $6
DATA_SOURCE 7 resv $7
FUZZY_MAX 2 type 2
NOSPEC 1 bo->base.size
HARD_MAX 2 type 2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 bo->base.size 0,4096-u64max[c]
USER_DATA 4 alignment 1-524288[c]
UNITS 4 alignment unit_page
LOCK2 &rdev->pm.mclk_lock
HALF_LOCKED2 &dev->object_name_lock
HALF_LOCKED2 &file_priv->prime.lock
HALF_LOCKED2 vram_obj->tbo.base.resv
HALF_LOCKED2 7 resv
TYPE_LOCK (struct radeon_pm)->mclk_lock

drivers/gpu/drm/loongson/lsdc_ttm.c lsdc_bo_create() -> ttm_bo_init_validate()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
PARAM_VALUE 1 bo 4096-ptr_max
PARAM_VALUE 1 bo->base._resv.fences 0
PARAM_VALUE 1 bo->base._resv.lock.base.dep_map->name 0-255
PARAM_VALUE 1 bo->base._resv.lock.base.first_waiter 0
PARAM_VALUE 1 bo->base._resv.lock.base.magic 4096-ptr_max
PARAM_VALUE 1 bo->base._resv.lock.base.owner.counter 0
PARAM_VALUE 1 bo->base._resv.lock.ctx 0
PARAM_VALUE 1 bo->base._resv.lock.ww_class 8825623990767841280
PARAM_VALUE 1 bo->base._resv.lock.ww_class->acquire_name 4096-ptr_max
PARAM_VALUE 1 bo->base._resv.lock.ww_class->is_wait_die 0-s32max
PARAM_VALUE 1 bo->base._resv.lock.ww_class->mutex_name 4096-ptr_max
PARAM_VALUE 1 bo->base.dev 4096-ptr_max
PARAM_VALUE 1 bo->base.filp 4096-ptr_max
PARAM_VALUE 1 bo->base.gpuva.list.next 4096-ptr_max
PARAM_VALUE 1 bo->base.gpuva.list.next->next 4096-ptr_max
PARAM_VALUE 1 bo->base.gpuva.list.prev 4096-ptr_max
PARAM_VALUE 1 bo->base.gpuva.list.prev->next 4096-ptr_max
PARAM_VALUE 1 bo->base.gpuva.list.prev->prev 4096-ptr_max
PARAM_VALUE 1 bo->base.gpuva.lock.dep_map->name 0-255
PARAM_VALUE 1 bo->base.gpuva.lock.first_waiter 0
PARAM_VALUE 1 bo->base.gpuva.lock.magic 4096-ptr_max
PARAM_VALUE 1 bo->base.gpuva.lock.osq.tail.counter 0
PARAM_VALUE 1 bo->base.gpuva.lock.owner.counter 0
PARAM_VALUE 1 bo->base.handle_count 0
PARAM_VALUE 1 bo->base.lru_node.next 4096-ptr_max
PARAM_VALUE 1 bo->base.lru_node.next->next 4096-ptr_max
PARAM_VALUE 1 bo->base.lru_node.prev 4096-ptr_max
PARAM_VALUE 1 bo->base.lru_node.prev->next 4096-ptr_max
PARAM_VALUE 1 bo->base.lru_node.prev->prev 4096-ptr_max
PARAM_VALUE 1 bo->base.refcount.refcount.refs.counter 1
PARAM_VALUE 1 bo->base.resv 1-u64max
PARAM_VALUE 1 bo->base.resv->fences 0
PARAM_VALUE 1 bo->base.resv->lock.base.first_waiter 0
PARAM_VALUE 1 bo->base.resv->lock.base.magic 4096-ptr_max
PARAM_VALUE 1 bo->base.resv->lock.base.owner.counter 0
PARAM_VALUE 1 bo->base.resv->lock.ctx 0
PARAM_VALUE 1 bo->base.resv->lock.ww_class 8825623990767841280
PARAM_VALUE 1 bo->base.size 0,4096-9223372036854775807
PARAM_VALUE 1 bo->base.vma_node.driver_private 0
PARAM_VALUE 1 bo->base.vma_node.vm_files.rb_node 0
PARAM_VALUE 1 bo->base.vma_node.vm_lock.magic 3736018669
PARAM_VALUE 1 bo->base.vma_node.vm_lock.owner (-1)
PARAM_VALUE 1 bo->base.vma_node.vm_lock.owner_cpu u32max
PARAM_VALUE 1 bo->base.vma_node.vm_node.__subtree_last 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.color 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.flags 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.hole_size 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.hole_stack.next 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.hole_stack.prev 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.mm 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.node_list.next 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.node_list.prev 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.rb.__rb_parent_color 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.rb.rb_left 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.rb.rb_right 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.rb_hole_addr.__rb_parent_color 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.rb_hole_addr.rb_left 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.rb_hole_addr.rb_right 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.rb_hole_size.__rb_parent_color 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.rb_hole_size.rb_left 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.rb_hole_size.rb_right 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.size 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.stack 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.start 0
PARAM_VALUE 1 bo->base.vma_node.vm_node.subtree_max_hole 0
PARAM_VALUE 1 bo->bdev 4096-ptr_max
PARAM_VALUE 2 type 0-2
PARAM_VALUE 3 placement 4096-ptr_max
PARAM_VALUE 3 placement->num_placement 1-3
PARAM_VALUE 3 placement->placement 4096-ptr_max
PARAM_VALUE 4 alignment 0
PARAM_VALUE 5 interruptible 0
PARAM_VALUE 6 sg 0,4096-ptr_max
PARAM_VALUE 6 sg->nents 0
PARAM_VALUE 6 sg->orig_nents 0
PARAM_VALUE 7 resv->lock.base.dep_map->name 0-255
PARAM_VALUE 7 resv->lock.base.first_waiter 0,4096-ptr_max
PARAM_VALUE 7 resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 7 resv->lock.base.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 7 resv->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 7 resv->lock.ctx 0
BUF_SIZE 0 bdev 5760
BUF_SIZE 1 bo 864
BUF_SIZE 1 bo->bdev 5760
DATA_SOURCE 6 sg $4
DATA_SOURCE 7 resv $5
FUZZY_MAX 2 type 2
HARD_MAX 2 type 2
MEM_ZERO 1 &bo->base.vma_node
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 bo->base.filp->f_flags 0-18433,32770
USER_DATA 1 bo->base.filp->f_mode 33554432,34078720-571342855[c]
USER_DATA 1 bo->base.size 0,4096-9223372036854775807[c]
NO_OVERFLOW_SIMPLE 1 bo->base.dev->num_crtcs
HALF_LOCKED2 &m->lock
HALF_LOCKED2 7 resv