Defined in 1 files as a function:

Referenced in 10 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_drm_client.c show_meminfo() -> xe_bo_get()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->ttm.base.resv 4096-ptr_max
DATA_SOURCE 0 bo r gem_to_xe_bo
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &file->table_lock
LOCK2 &m->lock
LOCK2 global &drm_unplug_srcu
TYPE_LOCK (struct drm_file)->table_lock
TYPE_LOCK (struct seq_file)->lock

drivers/gpu/drm/xe/xe_vm.c xe_vm_bind_kernel_bo() -> xe_bo_get()

Type Parameter Key Value
BUF_SIZE 0 bo (-1),1344
BUF_SIZE 0 bo (-1),1344
DATA_SOURCE 0 bo $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/xe/xe_vm.c xe_vm_snapshot_capture() -> xe_bo_get()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
LOCK2 &coredump->lock
LOCK2 &pool->lock
LOCK2 &vm->snap_mutex
TYPE_LOCK (struct xe_devcoredump)->lock
TYPE_LOCK (struct xe_vm)->snap_mutex

drivers/gpu/drm/xe/xe_bo.c xe_bo_cpu_fault() -> xe_bo_get()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->ttm.base._resv.lock.ww_class->is_wait_die 0-1
PARAM_VALUE 0 bo->ttm.base.resv->lock.ww_class->is_wait_die 0-1
PARAM_VALUE 0 bo->ttm.bdev->dev_mapping->host->i_sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 0 bo->ttm.bdev->dev_mapping->host->i_sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 0 bo->ttm.bdev->dev_mapping->host->i_sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 0 bo->ttm.bdev->dev_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max
PARAM_VALUE 0 bo->ttm.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 bo->ttm.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
DATA_SOURCE 0 bo r ttm_to_xe_bo
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bo->ttm.base.size
NO_OVERFLOW_SIMPLE 0 bo->ttm.ttm->dma_ttm.sg->orig_nents
LOCK2 global &drm_unplug_srcu

drivers/gpu/drm/xe/xe_bo.c xe_bo_evict_pinned() -> xe_bo_get()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj 0
PARAM_VALUE 0 bo->backup_obj->ccs_cleared 0
PARAM_VALUE 0 bo->backup_obj->client_link.next 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->client_link.next->next 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->client_link.prev 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->client_link.prev->next 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->client_link.prev->prev 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->created 1
PARAM_VALUE 0 bo->backup_obj->pinned_link.next 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->pinned_link.next->next 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->pinned_link.prev 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->pinned_link.prev->next 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->pinned_link.prev->prev 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->placements->flags 0-4294967295
PARAM_VALUE 0 bo->backup_obj->purgeable.state 0
PARAM_VALUE 0 bo->backup_obj->ttm.base._resv.fences 0
PARAM_VALUE 0 bo->backup_obj->ttm.base._resv.lock.base.dep_map->name 0-255
PARAM_VALUE 0 bo->backup_obj->ttm.base._resv.lock.base.magic 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.base._resv.lock.ctx 0
PARAM_VALUE 0 bo->backup_obj->ttm.base._resv.lock.ww_class 8825623990767841280
PARAM_VALUE 0 bo->backup_obj->ttm.base._resv.lock.ww_class->acquire_name 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.base._resv.lock.ww_class->is_wait_die 0-s32max
PARAM_VALUE 0 bo->backup_obj->ttm.base._resv.lock.ww_class->mutex_name 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.base.filp 0
PARAM_VALUE 0 bo->backup_obj->ttm.base.funcs 4427001223801675776
PARAM_VALUE 0 bo->backup_obj->ttm.base.gpuva.list.next 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.base.gpuva.list.next->next 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.base.gpuva.list.prev 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.base.gpuva.list.prev->next 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.base.gpuva.list.prev->prev 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.base.gpuva.lock.dep_map->name 0-255
PARAM_VALUE 0 bo->backup_obj->ttm.base.gpuva.lock.magic 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.base.handle_count 0
PARAM_VALUE 0 bo->backup_obj->ttm.base.lru_node.next 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.base.lru_node.next->next 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.base.lru_node.prev 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.base.lru_node.prev->next 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.base.lru_node.prev->prev 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.base.refcount.refcount.refs.counter 1
PARAM_VALUE 0 bo->backup_obj->ttm.base.resv 1-u64max
PARAM_VALUE 0 bo->backup_obj->ttm.base.resv->fences->num_fences 0-4294967295
PARAM_VALUE 0 bo->backup_obj->ttm.base.resv->lock.base.magic 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.base.resv->lock.ww_class 8825623990767841280
PARAM_VALUE 0 bo->backup_obj->ttm.base.vma_node.vm_lock.magic 3736018669
PARAM_VALUE 0 bo->backup_obj->ttm.base.vma_node.vm_lock.owner (-1)
PARAM_VALUE 0 bo->backup_obj->ttm.base.vma_node.vm_lock.owner_cpu u32max
PARAM_VALUE 0 bo->backup_obj->ttm.base.vma_node.vm_node.mm->hole_stack.next 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.base.vma_node.vm_node.mm->hole_stack.next->next 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.base.vma_node.vm_node.mm->hole_stack.next->prev 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.base.vma_node.vm_node.mm->holes_addr.rb_node 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.base.vma_node.vm_node.mm->holes_size.rb_leftmost 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.base.vma_node.vm_node.mm->holes_size.rb_root.rb_node 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.bdev 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 bo->backup_obj->ttm.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 bo->backup_obj->ttm.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 bo->backup_obj->ttm.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 bo->backup_obj->ttm.bulk_move 0,4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.destroy 776296529397981184
PARAM_VALUE 0 bo->backup_obj->ttm.page_alignment 1,16,512,262144
PARAM_VALUE 0 bo->backup_obj->ttm.pin_count 0
PARAM_VALUE 0 bo->backup_obj->ttm.priority 1
PARAM_VALUE 0 bo->backup_obj->ttm.resource 0,4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.sg 0
PARAM_VALUE 0 bo->backup_obj->ttm.ttm->dma_address 0,16,4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.ttm->page_flags 0,2,4,6,12,14,16,18,20,22,28,30
PARAM_VALUE 0 bo->backup_obj->ttm.ttm->pages 0,16,4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->ttm.ttm->restore->alloced_page 0-s64max
PARAM_VALUE 0 bo->backup_obj->ttm.ttm->restore->alloced_page->_refcount.counter s32min-s32max
PARAM_VALUE 0 bo->backup_obj->ttm.ttm->restore->alloced_page->page_type 0-4294967295
PARAM_VALUE 0 bo->backup_obj->ttm.ttm->restore->alloced_pages 0-s64max
PARAM_VALUE 0 bo->backup_obj->ttm.ttm->restore->first_dma 0-s64max
PARAM_VALUE 0 bo->backup_obj->ttm.ttm->restore->order 0-4294967295
PARAM_VALUE 0 bo->backup_obj->ttm.ttm->restore->page_caching 0-4294967295
PARAM_VALUE 0 bo->backup_obj->ttm.ttm->restore->restored_pages 0-s64max
PARAM_VALUE 0 bo->backup_obj->ttm.ttm->restore->snapshot_alloc.remaining_pages 0-4294967295
PARAM_VALUE 0 bo->backup_obj->ttm.ttm->restore->snapshot_alloc.tt_caching 0-4294967295
PARAM_VALUE 0 bo->backup_obj->ttm.ttm->sg->orig_nents 0-s32max
PARAM_VALUE 0 bo->backup_obj->ttm.ttm->swap_storage->f_mapping->host->i_mapping 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->vram_userfault_link.next 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->vram_userfault_link.next->next 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->vram_userfault_link.prev 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->vram_userfault_link.prev->next 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj->vram_userfault_link.prev->prev 4096-ptr_max
PARAM_VALUE 0 bo->pinned_link.next 4096-ptr_max
PARAM_VALUE 0 bo->ttm.bdev->dev_mapping->host->i_sb->s_export_op->fh_to_parent 0,4672,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max
PARAM_VALUE 0 bo->ttm.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 bo->ttm.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 bo->ttm.bdev->pool.dev->dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 bo->ttm.pin_count 1
PARAM_VALUE 0 bo->ttm.resource 4096-ptr_max
PARAM_VALUE 0 bo->ttm.resource->mem_type 2-u32max
DATA_SOURCE 0 bo $0
BIT_INFO 0 bo->flags 0x0,0xfffbffff
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 0 bo->ttm.base.resv

drivers/gpu/drm/xe/xe_bo.c xe_bo_notifier_prepare_pinned() -> xe_bo_get()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->pinned_link.next 4096-ptr_max
PARAM_VALUE 0 bo->ttm.bdev->dev_mapping->host->i_sb->s_export_op->fh_to_parent 0,4672,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max
PARAM_VALUE 0 bo->ttm.pin_count 1
PARAM_VALUE 0 bo->ttm.resource 4096-ptr_max
PARAM_VALUE 0 bo->ttm.resource->mem_type 2-u32max
DATA_SOURCE 0 bo $0
BIT_INFO 0 bo->flags 0x0,0xfffbffff
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 0 bo->ttm.base.resv

drivers/gpu/drm/xe/xe_lrc.c xe_lrc_snapshot_capture() -> xe_bo_get()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->tile 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &coredump->lock
HALF_LOCKED2 &guc->submission_state.lock
HALF_LOCKED2 &m->lock
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c xe_gt_sriov_pf_config_get_lmem_obj() -> xe_bo_get()

Type Parameter Key Value
LOCK2 &pool->lock
LOCK2 _T->lock

drivers/gpu/drm/xe/xe_bo_evict.c xe_bo_apply_to_pinned() -> xe_bo_get()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->ttm.bdev->dev_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &xe->pinned.lock
TYPE_LOCK (struct xe_device)->pinned.lock

drivers/gpu/drm/xe/xe_guc.c g2g_distribute() -> xe_bo_get()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
BUF_SIZE 0 bo (-1)-0,1336
BUF_SIZE 0 bo (-1)-0,1336
DATA_SOURCE 0 bo $2

drivers/gpu/drm/xe/xe_guc.c guc_g2g_alloc() -> xe_bo_get()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_svm.c xe_drm_pagemap_populate_mm() -> xe_bo_get()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->devmem_allocation.detached.done 0
PARAM_VALUE 0 bo->devmem_allocation.detached.wait.lock.magic 3735899821
PARAM_VALUE 0 bo->devmem_allocation.detached.wait.lock.owner (-1)
PARAM_VALUE 0 bo->devmem_allocation.detached.wait.lock.owner_cpu u32max
PARAM_VALUE 0 bo->devmem_allocation.detached.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 bo->devmem_allocation.detached.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 bo->devmem_allocation.detached.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 bo->devmem_allocation.detached.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 bo->devmem_allocation.detached.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 bo->devmem_allocation.dpagemap 8866758029406048256
PARAM_VALUE 0 bo->devmem_allocation.dpagemap->drm 4096-ptr_max
PARAM_VALUE 0 bo->devmem_allocation.dpagemap->ops 3401126510579388416
PARAM_VALUE 0 bo->devmem_allocation.mm 4096-ptr_max
PARAM_VALUE 0 bo->devmem_allocation.mm->mm_users.counter 0-s32max
PARAM_VALUE 0 bo->devmem_allocation.ops 8930995609089142784
PARAM_VALUE 0 bo->devmem_allocation.ops->copy_to_devmem 7377531097234771968
PARAM_VALUE 0 bo->devmem_allocation.ops->copy_to_ram 8587623386923905024
PARAM_VALUE 0 bo->devmem_allocation.ops->devmem_release 4225302913230704640
PARAM_VALUE 0 bo->devmem_allocation.ops->populate_devmem_pfn 3940640190274199552
PARAM_VALUE 0 bo->devmem_allocation.pre_migrate_fence 0,4096-ptr_max
PARAM_VALUE 0 bo->devmem_allocation.pre_migrate_fence->ops->set_deadline 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424
PARAM_VALUE 0 bo->devmem_allocation.pre_migrate_fence->ops->wait 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936
PARAM_VALUE 0 bo->devmem_allocation.pre_migrate_fence->seqno 1
PARAM_VALUE 0 bo->devmem_allocation.size 1-u64max
PARAM_VALUE 0 bo->ttm.base.resv->fences 0,4096-ptr_max
PARAM_VALUE 0 bo->ttm.bdev->dev_mapping->host->i_sb->s_export_op->encode_fh 0,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
BUF_SIZE 0 bo 0,1344
BUF_SIZE 0 bo 0,1344
CAPPED_DATA 0 bo 1
CAPPED_DATA 0 bo->ttm.bulk_move 1
CAPPED_DATA 0 bo->ttm.resource 1
DATA_SOURCE 0 bo r xe_bo_create_locked
NOCHECK_CALL
LOCK2 &driver_migrate_lock
LOCK2 &mm->mmap_lock
LOCK2 &vm->lock
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mm_struct)->mmap_lock
TYPE_LOCK (struct xe_vm)->lock