Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/loongson/lsdc_plane.c lsdc_plane_prepare_fb() -> lsdc_bo_pin()

Type Parameter Key Value
PARAM_VALUE 0 lbo 4096-ptr_max
PARAM_VALUE 0 lbo->tbo.base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 0 lbo->tbo.base.resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 lbo->tbo.base.resv->lock.base.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 lbo->tbo.base.resv->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 1 domain 4
PARAM_VALUE 2 gpu_addr 4440802524770754560
DATA_SOURCE 0 lbo r gem_to_lsdc_bo
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 lbo->tbo.base.resv

drivers/gpu/drm/loongson/lsdc_ttm.c lsdc_bo_create_kernel_pinned() -> lsdc_bo_pin()

Type Parameter Key Value
PARAM_VALUE 0 lbo 4096-ptr_max
PARAM_VALUE 0 lbo->initial_domain 2,4
PARAM_VALUE 0 lbo->list.next 4096-ptr_max
PARAM_VALUE 0 lbo->list.next->next 4096-ptr_max
PARAM_VALUE 0 lbo->list.prev 4096-ptr_max
PARAM_VALUE 0 lbo->list.prev->next 4096-ptr_max
PARAM_VALUE 0 lbo->list.prev->prev 4096-ptr_max
PARAM_VALUE 0 lbo->placement.num_placement 1-3
PARAM_VALUE 0 lbo->placement.placement 4096-ptr_max
PARAM_VALUE 0 lbo->size 0,4096-u64max
PARAM_VALUE 0 lbo->tbo.base._resv.fences 0
PARAM_VALUE 0 lbo->tbo.base._resv.lock.base.dep_map->name 0-255
PARAM_VALUE 0 lbo->tbo.base._resv.lock.ctx 0
PARAM_VALUE 0 lbo->tbo.base._resv.lock.ww_class 8825623990767841280
PARAM_VALUE 0 lbo->tbo.base._resv.lock.ww_class->acquire_name 4096-ptr_max
PARAM_VALUE 0 lbo->tbo.base._resv.lock.ww_class->is_wait_die 0-s32max
PARAM_VALUE 0 lbo->tbo.base._resv.lock.ww_class->mutex_name 4096-ptr_max
PARAM_VALUE 0 lbo->tbo.base.filp 4096-ptr_max
PARAM_VALUE 0 lbo->tbo.base.gpuva.lock.dep_map->name 0-255
PARAM_VALUE 0 lbo->tbo.base.gpuva.lock.first_waiter 0
PARAM_VALUE 0 lbo->tbo.base.gpuva.lock.magic 4096-ptr_max
PARAM_VALUE 0 lbo->tbo.base.gpuva.lock.owner.counter 0
PARAM_VALUE 0 lbo->tbo.base.handle_count 0
PARAM_VALUE 0 lbo->tbo.base.import_attach->dev->iommu_group->default_domain 0-s64max
PARAM_VALUE 0 lbo->tbo.base.lru_node.next 4096-ptr_max
PARAM_VALUE 0 lbo->tbo.base.lru_node.next->next 4096-ptr_max
PARAM_VALUE 0 lbo->tbo.base.lru_node.prev 4096-ptr_max
PARAM_VALUE 0 lbo->tbo.base.lru_node.prev->next 4096-ptr_max
PARAM_VALUE 0 lbo->tbo.base.lru_node.prev->prev 4096-ptr_max
PARAM_VALUE 0 lbo->tbo.base.refcount.refcount.refs.counter 1
PARAM_VALUE 0 lbo->tbo.base.resv 1-u64max
PARAM_VALUE 0 lbo->tbo.base.resv->fences 0
PARAM_VALUE 0 lbo->tbo.base.resv->fences->max_fences 0-4294967295
PARAM_VALUE 0 lbo->tbo.base.resv->fences->num_fences 0-4294967295
PARAM_VALUE 0 lbo->tbo.base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 0 lbo->tbo.base.resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 lbo->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 lbo->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 lbo->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 lbo->tbo.base.resv->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 0 lbo->tbo.base.resv->lock.ctx 0
PARAM_VALUE 0 lbo->tbo.base.resv->lock.ww_class 8825623990767841280
PARAM_VALUE 0 lbo->tbo.base.vma_node.driver_private 0
PARAM_VALUE 0 lbo->tbo.base.vma_node.vm_lock.magic 3736018669
PARAM_VALUE 0 lbo->tbo.base.vma_node.vm_lock.owner (-1)
PARAM_VALUE 0 lbo->tbo.base.vma_node.vm_lock.owner_cpu u32max
PARAM_VALUE 0 lbo->tbo.base.vma_node.vm_node.hole_stack.next->prev 4096-ptr_max
PARAM_VALUE 0 lbo->tbo.base.vma_node.vm_node.mm->hole_stack.next 4096-ptr_max
PARAM_VALUE 0 lbo->tbo.base.vma_node.vm_node.mm->hole_stack.next->next 4096-ptr_max
PARAM_VALUE 0 lbo->tbo.base.vma_node.vm_node.mm->hole_stack.next->prev 4096-ptr_max
PARAM_VALUE 0 lbo->tbo.base.vma_node.vm_node.mm->holes_addr.rb_node 4096-ptr_max
PARAM_VALUE 0 lbo->tbo.base.vma_node.vm_node.mm->holes_size.rb_leftmost 4096-ptr_max
PARAM_VALUE 0 lbo->tbo.base.vma_node.vm_node.mm->holes_size.rb_root.rb_node 4096-ptr_max
PARAM_VALUE 0 lbo->tbo.base.vma_node.vm_node.node_list.next->prev 4096-ptr_max
PARAM_VALUE 0 lbo->tbo.bdev 4096-ptr_max
PARAM_VALUE 0 lbo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 lbo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 lbo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 lbo->tbo.bdev->lru_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 lbo->tbo.bulk_move 0
PARAM_VALUE 0 lbo->tbo.pin_count 0
PARAM_VALUE 0 lbo->tbo.resource 0,4096-ptr_max
PARAM_VALUE 0 lbo->tbo.resource->bo->bdev->unevictable.prev 4096-ptr_max
PARAM_VALUE 0 lbo->tbo.resource->bo->bdev->unevictable.prev->next 4096-ptr_max
PARAM_VALUE 0 lbo->tbo.resource->bo->bdev->unevictable.prev->next->next 4096-ptr_max
PARAM_VALUE 0 lbo->tbo.resource->bus.addr 0
PARAM_VALUE 0 lbo->tbo.resource->bus.offset 0
PARAM_VALUE 0 lbo->tbo.resource->lru.link.next->prev 4096-ptr_max
PARAM_VALUE 0 lbo->tbo.ttm->backup 0,4096-ptr_max
PARAM_VALUE 0 lbo->tbo.ttm->caching 0-2
PARAM_VALUE 0 lbo->tbo.ttm->dma_address 0,16,4096-ptr_max
PARAM_VALUE 0 lbo->tbo.ttm->page_flags 0,2,4,6,12,14,16,18,20,22,28,30
PARAM_VALUE 0 lbo->tbo.ttm->restore 0
PARAM_VALUE 0 lbo->tbo.ttm->restore->alloced_page 0-s64max
PARAM_VALUE 0 lbo->tbo.ttm->restore->alloced_page->_refcount.counter s32min-s32max
PARAM_VALUE 0 lbo->tbo.ttm->restore->alloced_page->page_type 0-4294967295
PARAM_VALUE 0 lbo->tbo.ttm->restore->alloced_pages 0-s64max
PARAM_VALUE 0 lbo->tbo.ttm->restore->first_dma 0-s64max
PARAM_VALUE 0 lbo->tbo.ttm->restore->order 0-4294967295
PARAM_VALUE 0 lbo->tbo.ttm->restore->page_caching 0-4294967295
PARAM_VALUE 0 lbo->tbo.ttm->restore->restored_pages 0-s64max
PARAM_VALUE 0 lbo->tbo.ttm->sg 0
PARAM_VALUE 0 lbo->tbo.ttm->sg->orig_nents 0-s32max
PARAM_VALUE 0 lbo->tbo.ttm->swap_storage 0
PARAM_VALUE 0 lbo->tbo.ttm->swap_storage->f_mapping->host->i_mapping 4096-ptr_max
PARAM_VALUE 1 domain 2,4
PARAM_VALUE 2 gpu_addr 0
BUF_SIZE 0 lbo 1080
DATA_SOURCE 0 lbo r lsdc_bo_create
DATA_SOURCE 1 domain $1
HARD_MAX 1 domain 4
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
LOCK2 0 lbo->tbo.base.resv
TYPE_LOCK (struct seq_file)->lock

drivers/gpu/drm/loongson/lsdc_gem.c lsdc_gem_object_vmap() -> lsdc_bo_pin()

Type Parameter Key Value
PARAM_VALUE 0 lbo 4096-ptr_max
PARAM_VALUE 0 lbo->vmap_count 0
PARAM_VALUE 1 domain 0
PARAM_VALUE 2 gpu_addr 0
DATA_SOURCE 0 lbo r to_lsdc_bo
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 obj->resv

drivers/gpu/drm/loongson/lsdc_gem.c lsdc_gem_prime_pin() -> lsdc_bo_pin()

Type Parameter Key Value
PARAM_VALUE 0 lbo 4096-ptr_max
PARAM_VALUE 1 domain 2
PARAM_VALUE 2 gpu_addr 0
DATA_SOURCE 0 lbo r gem_to_lsdc_bo
RX_PATH
TASK_NOT_RUNNING
LOCK2 obj->resv
HALF_LOCKED2 &dev->object_name_lock
HALF_LOCKED2 &file_priv->prime.lock