Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_ggtt.c __xe_ggtt_insert_bo_at() -> (struct xe_ggtt_pt_ops)->pte_encode_flags()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->ccs_cleared 0
PARAM_VALUE 0 bo->client_link.next 4096-ptr_max
PARAM_VALUE 0 bo->client_link.next->next 4096-ptr_max
PARAM_VALUE 0 bo->client_link.prev 4096-ptr_max
PARAM_VALUE 0 bo->client_link.prev->next 4096-ptr_max
PARAM_VALUE 0 bo->client_link.prev->prev 4096-ptr_max
PARAM_VALUE 0 bo->cpu_caching 0-2
PARAM_VALUE 0 bo->created 1
PARAM_VALUE 0 bo->dma_buf 4096-ptr_max
PARAM_VALUE 0 bo->dma_buf->file->f_cred->process_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 bo->dma_buf->file->f_cred->process_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 bo->dma_buf->file->f_cred->request_key_auth->user->qnbytes s32min-s32max
PARAM_VALUE 0 bo->dma_buf->file->f_cred->request_key_auth->user->qnkeys s32min-s32max
PARAM_VALUE 0 bo->dma_buf->file->f_cred->session_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 bo->dma_buf->file->f_cred->session_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 bo->dma_buf->file->f_cred->thread_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 bo->dma_buf->file->f_cred->thread_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 bo->flags 1048576-u32max
PARAM_VALUE 0 bo->ggtt_node 4096-ptr_max
PARAM_VALUE 0 bo->min_align 0,64
PARAM_VALUE 0 bo->pinned_link.next 4096-ptr_max
PARAM_VALUE 0 bo->pinned_link.next->next 4096-ptr_max
PARAM_VALUE 0 bo->pinned_link.prev 4096-ptr_max
PARAM_VALUE 0 bo->pinned_link.prev->next 4096-ptr_max
PARAM_VALUE 0 bo->pinned_link.prev->prev 4096-ptr_max
PARAM_VALUE 0 bo->purgeable.state 0
PARAM_VALUE 0 bo->tile->mem.kernel_bb_pool 4096-u64max
PARAM_VALUE 0 bo->ttm.base._resv.fences 0
PARAM_VALUE 0 bo->ttm.base._resv.lock.base.dep_map->name 0-255
PARAM_VALUE 0 bo->ttm.base._resv.lock.base.magic 4096-ptr_max
PARAM_VALUE 0 bo->ttm.base._resv.lock.ctx 0
PARAM_VALUE 0 bo->ttm.base._resv.lock.ww_class 8825623990767841280
PARAM_VALUE 0 bo->ttm.base._resv.lock.ww_class->acquire_name 4096-ptr_max
PARAM_VALUE 0 bo->ttm.base._resv.lock.ww_class->is_wait_die 0-s32max
PARAM_VALUE 0 bo->ttm.base._resv.lock.ww_class->mutex_name 4096-ptr_max
PARAM_VALUE 0 bo->ttm.base.filp 0
PARAM_VALUE 0 bo->ttm.base.funcs 4427001223801675776
PARAM_VALUE 0 bo->ttm.base.funcs->close 9004106303613251584
PARAM_VALUE 0 bo->ttm.base.funcs->evict 0
PARAM_VALUE 0 bo->ttm.base.funcs->export 7247430385640505344
PARAM_VALUE 0 bo->ttm.base.funcs->free 1763303630761623552
PARAM_VALUE 0 bo->ttm.base.funcs->get_sg_table 0
PARAM_VALUE 0 bo->ttm.base.funcs->mmap 7952911008898662400
PARAM_VALUE 0 bo->ttm.base.funcs->open 0
PARAM_VALUE 0 bo->ttm.base.funcs->pin 0
PARAM_VALUE 0 bo->ttm.base.funcs->print_info 0
PARAM_VALUE 0 bo->ttm.base.funcs->rss 0
PARAM_VALUE 0 bo->ttm.base.funcs->status 0
PARAM_VALUE 0 bo->ttm.base.funcs->unpin 0
PARAM_VALUE 0 bo->ttm.base.funcs->vm_ops 4750168948889964544
PARAM_VALUE 0 bo->ttm.base.funcs->vmap 0
PARAM_VALUE 0 bo->ttm.base.funcs->vunmap 0
PARAM_VALUE 0 bo->ttm.base.gpuva.lock.dep_map->name 0-255
PARAM_VALUE 0 bo->ttm.base.gpuva.lock.first_waiter 0
PARAM_VALUE 0 bo->ttm.base.gpuva.lock.magic 4096-ptr_max
PARAM_VALUE 0 bo->ttm.base.gpuva.lock.owner.counter 0
PARAM_VALUE 0 bo->ttm.base.handle_count 0
PARAM_VALUE 0 bo->ttm.base.lru_node.next 4096-ptr_max
PARAM_VALUE 0 bo->ttm.base.lru_node.next->next 4096-ptr_max
PARAM_VALUE 0 bo->ttm.base.lru_node.prev 4096-ptr_max
PARAM_VALUE 0 bo->ttm.base.lru_node.prev->next 4096-ptr_max
PARAM_VALUE 0 bo->ttm.base.lru_node.prev->prev 4096-ptr_max
PARAM_VALUE 0 bo->ttm.base.refcount.refcount.refs.counter 1
PARAM_VALUE 0 bo->ttm.base.resv 1-u64max
PARAM_VALUE 0 bo->ttm.base.resv->fences->num_fences 0-4294967295
PARAM_VALUE 0 bo->ttm.base.resv->lock.base.magic 4096-ptr_max
PARAM_VALUE 0 bo->ttm.base.resv->lock.ctx 0
PARAM_VALUE 0 bo->ttm.base.resv->lock.ww_class 8825623990767841280
PARAM_VALUE 0 bo->ttm.base.vma_node.driver_private 0
PARAM_VALUE 0 bo->ttm.base.vma_node.vm_lock.magic 3736018669
PARAM_VALUE 0 bo->ttm.base.vma_node.vm_lock.owner (-1)
PARAM_VALUE 0 bo->ttm.base.vma_node.vm_lock.owner_cpu u32max
PARAM_VALUE 0 bo->ttm.base.vma_node.vm_node.flags 0
PARAM_VALUE 0 bo->ttm.base.vma_node.vm_node.hole_stack.next->prev 4096-ptr_max
PARAM_VALUE 0 bo->ttm.base.vma_node.vm_node.mm->hole_stack.next 4096-ptr_max
PARAM_VALUE 0 bo->ttm.base.vma_node.vm_node.mm->hole_stack.next->next 4096-ptr_max
PARAM_VALUE 0 bo->ttm.base.vma_node.vm_node.mm->hole_stack.next->prev 4096-ptr_max
PARAM_VALUE 0 bo->ttm.base.vma_node.vm_node.mm->holes_addr.rb_node 4096-ptr_max
PARAM_VALUE 0 bo->ttm.base.vma_node.vm_node.mm->holes_size.rb_leftmost 4096-ptr_max
PARAM_VALUE 0 bo->ttm.base.vma_node.vm_node.mm->holes_size.rb_root.rb_node 4096-ptr_max
PARAM_VALUE 0 bo->ttm.base.vma_node.vm_node.node_list.next->prev 4096-ptr_max
PARAM_VALUE 0 bo->ttm.bdev 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
PARAM_VALUE 0 bo->ttm.bdev->dev_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
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->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.dep_map->name 0-255
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->list.next 2212933610777083904
PARAM_VALUE 0 bo->ttm.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 bo->ttm.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 bo->ttm.bdev->lru_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bo->ttm.bdev->pool.dev->dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 bo->ttm.bdev->pool.dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 bo->ttm.bulk_move 0,4096-ptr_max
PARAM_VALUE 0 bo->ttm.destroy 776296529397981184
PARAM_VALUE 0 bo->ttm.page_alignment 1,16,512
PARAM_VALUE 0 bo->ttm.pin_count 0
PARAM_VALUE 0 bo->ttm.priority 1
PARAM_VALUE 0 bo->ttm.resource 0,4096-ptr_max
PARAM_VALUE 0 bo->ttm.resource->bo->bdev->unevictable.prev 4096-ptr_max
PARAM_VALUE 0 bo->ttm.resource->bo->bdev->unevictable.prev->next 4096-ptr_max
PARAM_VALUE 0 bo->ttm.resource->bo->bdev->unevictable.prev->next->next 4096-ptr_max
PARAM_VALUE 0 bo->ttm.resource->bo->pin_count 0
PARAM_VALUE 0 bo->ttm.resource->bus.addr 0
PARAM_VALUE 0 bo->ttm.resource->bus.offset 0
PARAM_VALUE 0 bo->ttm.resource->lru.link.next->prev 4096-ptr_max
PARAM_VALUE 0 bo->ttm.resource->lru.link.prev->next 4096-ptr_max
PARAM_VALUE 0 bo->ttm.sg 0
PARAM_VALUE 0 bo->ttm.ttm->backup 0,4096-ptr_max
PARAM_VALUE 0 bo->ttm.ttm->bound 0
PARAM_VALUE 0 bo->ttm.ttm->caching 0-2
PARAM_VALUE 0 bo->ttm.ttm->dma_address 0,16,4096-ptr_max
PARAM_VALUE 0 bo->ttm.ttm->mem 0
PARAM_VALUE 0 bo->ttm.ttm->page_flags 0,2,4,6,12,14,16,18,20,22,28,30
PARAM_VALUE 0 bo->ttm.ttm->pages 0,16,4096-ptr_max
PARAM_VALUE 0 bo->ttm.ttm->restore 0
PARAM_VALUE 0 bo->ttm.ttm->restore->alloced_page 0-s64max
PARAM_VALUE 0 bo->ttm.ttm->restore->alloced_page->_refcount.counter s32min-s32max
PARAM_VALUE 0 bo->ttm.ttm->restore->alloced_page->page_type 0-4294967295
PARAM_VALUE 0 bo->ttm.ttm->restore->alloced_pages 0-s64max
PARAM_VALUE 0 bo->ttm.ttm->restore->first_dma 0-s64max
PARAM_VALUE 0 bo->ttm.ttm->restore->order 0-4294967295
PARAM_VALUE 0 bo->ttm.ttm->restore->page_caching 0-4294967295
PARAM_VALUE 0 bo->ttm.ttm->restore->restored_pages 0-s64max
PARAM_VALUE 0 bo->ttm.ttm->restore->snapshot_alloc.caching_divide 0
PARAM_VALUE 0 bo->ttm.ttm->restore->snapshot_alloc.dma_addr 0
PARAM_VALUE 0 bo->ttm.ttm->restore->snapshot_alloc.pages 0
PARAM_VALUE 0 bo->ttm.ttm->restore->snapshot_alloc.remaining_pages 0-4294967295
PARAM_VALUE 0 bo->ttm.ttm->sg->nents 0
PARAM_VALUE 0 bo->ttm.ttm->sg->sgl 0
PARAM_VALUE 0 bo->ttm.ttm->swap_storage 0
PARAM_VALUE 0 bo->ttm.ttm->swap_storage->f_mapping->host->i_mapping 4096-ptr_max
PARAM_VALUE 0 bo->ttm.type 0-1
PARAM_VALUE 0 bo->vm 0,4096-ptr_max
PARAM_VALUE 0 bo->vram_userfault_link.next 4096-ptr_max
PARAM_VALUE 0 bo->vram_userfault_link.next->next 4096-ptr_max
PARAM_VALUE 0 bo->vram_userfault_link.prev 4096-ptr_max
PARAM_VALUE 0 bo->vram_userfault_link.prev->next 4096-ptr_max
PARAM_VALUE 0 bo->vram_userfault_link.prev->prev 4096-ptr_max
PARAM_VALUE 1 pat_index 0-3,12,15-16,u16max
BUF_SIZE 0 bo 0,1344
BUF_SIZE 0 bo 0,1344
BUF_SIZE 0 bo->vm (-1),2720
CAPPED_DATA 0 bo 1
DATA_SOURCE 0 bo $1
FUZZY_MAX 0 bo->cpu_caching 2
BIT_INFO 0 bo->flags 0x20,0xffffffff
HARD_MAX 0 bo->min_align 64
HARD_MAX 0 bo->ttm.type 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bo->cpu_caching 1-2[u]
USER_DATA 0 bo->flags 1048576-u32max[u]
USER_DATA 0 bo->ttm.base.size 0-u64max[c]
USER_DATA 0 bo->ttm.base.vma_node.vm_node.size 1-s32max[c]
USER_DATA 0 bo->ttm.base.vma_node.vm_node.start 0-s32max[c]
USER_DATA 0 bo->ttm.page_alignment 1,16,512
USER_DATA 0 bo->ttm.ttm->num_pages 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 bo->ttm.base.dev->mode_config.num_colorop
NO_OVERFLOW_SIMPLE 0 bo->ttm.base.dev->mode_config.num_crtc
NO_OVERFLOW_SIMPLE 0 bo->ttm.base.dev->mode_config.num_total_plane
NO_OVERFLOW_SIMPLE 0 bo->ttm.base.dev->num_crtcs
LOCK2 &ggtt->lock
TYPE_LOCK (struct xe_ggtt)->lock

drivers/gpu/drm/xe/xe_ggtt.c xe_ggtt_clear() -> (struct xe_ggtt_pt_ops)->pte_encode_flags()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->ttm.resource 4096-ptr_max
PARAM_VALUE 1 pat_index 0-3,12,15-16,u16max
BUF_SIZE 0 bo (-1)-0,1336
BUF_SIZE 0 bo (-1)-0,1336
CONTAINER 0 *(-0-200+32) $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ggtt->lock
TYPE_LOCK (struct xe_ggtt)->lock

drivers/gpu/drm/xe/xe_ggtt.c xe_ggtt_encode_pte_flags() -> (struct xe_ggtt_pt_ops)->pte_encode_flags()

Type Parameter Key Value
DATA_SOURCE 0 bo $1
DATA_SOURCE 1 pat_index $2

drivers/gpu/drm/xe/xe_ggtt.c xe_ggtt_map_bo_unlocked() -> (struct xe_ggtt_pt_ops)->pte_encode_flags()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->backup_obj 0
PARAM_VALUE 0 bo->backup_obj->kmap.page 0
PARAM_VALUE 0 bo->backup_obj->vmap.is_iomem 0
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->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 1 pat_index 0-3,12,15-16,u16max
CAPPED_DATA 0 bo 1
DATA_SOURCE 0 bo $1
BIT_INFO 0 bo->flags 0x20,0xffffffff
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ggtt->lock
TYPE_LOCK (struct xe_ggtt)->lock