Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 vmf 4096-ptr_max
PARAM_VALUE 0 vmf->flags 4-u32max
PARAM_VALUE 0 vmf->gfp_mask 0,64-u32max
PARAM_VALUE 0 vmf->vma 4096-ptr_max
PARAM_VALUE 0 vmf->vma->vm_mm->mmap_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 vmf->vma->vm_mm->mmap_lock.first_waiter->type 0-1
PARAM_VALUE 0 vmf->vma->vm_mm->vma_writer_wait.task->sched_class->uclamp_enabled 0-1
PARAM_VALUE 0 vmf->vma->vm_private_data 4096-ptr_max
PARAM_VALUE 1 xe 4096-ptr_max
PARAM_VALUE 1 xe->drm.dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 xe->drm.unplugged 0
PARAM_VALUE 1 xe->val.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 xe->val.lock.first_waiter->type 0-1
PARAM_VALUE 1 xe->wedged.flag.counter 0
PARAM_VALUE 2 bo 4096-ptr_max
PARAM_VALUE 2 bo->purgeable.state 0,3-u32max
PARAM_VALUE 2 bo->ttm.base._resv.lock.ww_class->is_wait_die 0-1
PARAM_VALUE 2 bo->ttm.base.resv->lock.ww_class->is_wait_die 0-1
PARAM_VALUE 2 bo->ttm.bdev 4096-ptr_max
PARAM_VALUE 2 bo->ttm.bdev->dev_mapping->host->i_sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 2 bo->ttm.bdev->dev_mapping->host->i_sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 2 bo->ttm.bdev->dev_mapping->host->i_sb->s_cop->inode_info_offs 1632,1720,2632,2648
PARAM_VALUE 2 bo->ttm.bdev->dev_mapping->host->i_sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 2 bo->ttm.bdev->dev_mapping->host->i_sb->s_export_op->fh_to_dentry 0,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 2 bo->ttm.bdev->dev_mapping->host->i_sb->s_export_op->fh_to_parent 0,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max
PARAM_VALUE 2 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 2 bo->ttm.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 2 bo->ttm.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 bo->ttm.bdev->pool.dev->cma_area->nranges s32min-s32max
PARAM_VALUE 2 bo->ttm.resource 4096-ptr_max
BUF_SIZE 0 vmf->cow_page (-1),64
BUF_SIZE 0 vmf->vma (-1),4,24,64,168-s32max
CAPPED_DATA 0 vmf->vma 1
CAPPED_DATA 2 bo->ttm.bdev->pool.dev->cma_area->nranges 1
DATA_SOURCE 0 vmf $0
DATA_SOURCE 1 xe r to_xe_device
DATA_SOURCE 2 bo r ttm_to_xe_bo
NOSPEC 0 vmf->address
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 vmf->address 0-u64max[c]
USER_DATA 0 vmf->pgoff 0-4503599627370495
USER_DATA 0 vmf->pte 4096-ptr_max[u]
USER_DATA 0 vmf->real_address 0-u64max[c]
NO_OVERFLOW_SIMPLE 0 vmf->vma->vm_end
NO_OVERFLOW_SIMPLE 0 vmf->vma->vm_pgoff
NO_OVERFLOW_SIMPLE 0 vmf->vma->vm_start
NO_OVERFLOW_SIMPLE 2 bo->ttm.base.size
NO_OVERFLOW_SIMPLE 2 bo->ttm.ttm->dma_ttm.sg->orig_nents
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 tbo->base.resv

drivers/gpu/drm/xe/xe_bo.c xe_bo_cpu_fault_fastpath() -> __xe_bo_cpu_fault()

Type Parameter Key Value
PARAM_VALUE 0 vmf 4096-ptr_max
PARAM_VALUE 0 vmf->gfp_mask 0,64-u32max
PARAM_VALUE 0 vmf->vma 4096-ptr_max
PARAM_VALUE 0 vmf->vma->vm_mm->mmap_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 vmf->vma->vm_mm->mmap_lock.first_waiter->type 0-1
PARAM_VALUE 0 vmf->vma->vm_mm->vma_writer_wait.task->sched_class->uclamp_enabled 0-1
PARAM_VALUE 0 vmf->vma->vm_private_data 4096-ptr_max
PARAM_VALUE 1 xe 4096-ptr_max
PARAM_VALUE 1 xe->drm.dev 4096-ptr_max
PARAM_VALUE 1 xe->drm.unplugged 0
PARAM_VALUE 1 xe->val.lock.first_waiter->type 0-1
PARAM_VALUE 1 xe->wedged.flag.counter 0
PARAM_VALUE 2 bo 4096-ptr_max
PARAM_VALUE 2 bo->purgeable.state 0,3-u32max
PARAM_VALUE 2 bo->ttm.base._resv.lock.ww_class->is_wait_die 0-1
PARAM_VALUE 2 bo->ttm.base.resv 4096-ptr_max
PARAM_VALUE 2 bo->ttm.base.resv->fences 0,4096-ptr_max
PARAM_VALUE 2 bo->ttm.base.resv->fences->num_fences 0-4294967295
PARAM_VALUE 2 bo->ttm.base.resv->lock.ww_class->is_wait_die 0-1
PARAM_VALUE 2 bo->ttm.bdev 4096-ptr_max
PARAM_VALUE 2 bo->ttm.bdev->dev_mapping->host->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 2 bo->ttm.bdev->dev_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864
PARAM_VALUE 2 bo->ttm.bdev->dev_mapping->host->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200
PARAM_VALUE 2 bo->ttm.bdev->dev_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 2 bo->ttm.bdev->dev_mapping->i_mmap_rwsem.dep_map->name 0-255
PARAM_VALUE 2 bo->ttm.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 2 bo->ttm.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.next 2212933610777083904
PARAM_VALUE 2 bo->ttm.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 2 bo->ttm.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 bo->ttm.bdev->lru_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 bo->ttm.bdev->pool.dev->cma_area->nranges s32min-s32max
PARAM_VALUE 2 bo->ttm.bdev->pool.dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 2 bo->ttm.resource 4096-ptr_max
PARAM_VALUE 2 bo->ttm.resource->bo->bdev->unevictable.prev->next 4096-ptr_max
PARAM_VALUE 2 bo->ttm.resource->bo->bdev->unevictable.prev->next->next 4096-ptr_max
PARAM_VALUE 2 bo->ttm.resource->bus.addr 0
PARAM_VALUE 2 bo->ttm.resource->bus.offset 0
PARAM_VALUE 2 bo->ttm.resource->lru.link.next->prev 4096-ptr_max
PARAM_VALUE 2 bo->ttm.resource->lru.link.prev->next 4096-ptr_max
PARAM_VALUE 2 bo->ttm.ttm->page_flags 0,2-4294967294
PARAM_VALUE 2 bo->ttm.ttm->restore 0
PARAM_VALUE 2 bo->ttm.ttm->restore->alloced_page 0-s64max
PARAM_VALUE 2 bo->ttm.ttm->restore->alloced_pages 0-s64max
PARAM_VALUE 2 bo->ttm.ttm->restore->first_dma 0-s64max
PARAM_VALUE 2 bo->ttm.ttm->restore->order 0-4294967295
PARAM_VALUE 2 bo->ttm.ttm->restore->page_caching 0-4294967295
PARAM_VALUE 2 bo->ttm.ttm->restore->restored_pages 0-s64max
PARAM_VALUE 2 bo->ttm.ttm->restore->snapshot_alloc.remaining_pages 0-4294967295
PARAM_VALUE 2 bo->ttm.ttm->sg 4096-ptr_max
PARAM_VALUE 2 bo->ttm.ttm->swap_storage 0
PARAM_VALUE 2 bo->ttm.ttm->swap_storage->f_mapping->host->i_mapping 4096-ptr_max
BUF_SIZE 0 vmf->cow_page (-1),64
CAPPED_DATA 0 vmf->vma 1
DATA_SOURCE 0 vmf $0
DATA_SOURCE 1 xe $1
DATA_SOURCE 2 bo $2
NOSPEC 0 vmf->address
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 vmf->address 0-u64max[c]
USER_DATA 0 vmf->pgoff 0-4503599627370495
USER_DATA 0 vmf->pte 4096-ptr_max[u]
USER_DATA 0 vmf->real_address 0-u64max[c]
NO_OVERFLOW_SIMPLE 0 vmf->vma->vm_end
NO_OVERFLOW_SIMPLE 0 vmf->vma->vm_pgoff
NO_OVERFLOW_SIMPLE 0 vmf->vma->vm_start
LOCK2 global &drm_unplug_srcu
LOCK2 tbo->base.resv