Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_dma_buf.c xe_test_dmabuf_import_same_driver() -> check_residency()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->log->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 exported 4096-ptr_max
PARAM_VALUE 1 exported->dma_buf->file->f_cred->process_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 1 exported->dma_buf->file->f_cred->process_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 1 exported->dma_buf->file->f_cred->request_key_auth->user->qnbytes s32min-s32max
PARAM_VALUE 1 exported->dma_buf->file->f_cred->request_key_auth->user->qnkeys s32min-s32max
PARAM_VALUE 1 exported->dma_buf->file->f_cred->session_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 1 exported->dma_buf->file->f_cred->session_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 1 exported->dma_buf->file->f_cred->thread_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 1 exported->dma_buf->file->f_cred->thread_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 1 exported->ttm.base._resv.lock.ww_class->is_wait_die 0-s32max
PARAM_VALUE 1 exported->ttm.base.dev->anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864
PARAM_VALUE 1 exported->ttm.base.dev->anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200
PARAM_VALUE 1 exported->ttm.base.dev->anon_inode->i_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 1 exported->ttm.base.dev->huge_mnt->mnt_sb->s_cop->inode_info_offs 1632,1808,2632,2648
PARAM_VALUE 1 exported->ttm.base.dev->mode_config.helper_private->atomic_commit_tail 0,113,234517204248432640,264416658693812224,1002985563129995264
PARAM_VALUE 1 exported->ttm.base.dma_buf 4096-ptr_max
PARAM_VALUE 1 exported->ttm.base.dma_buf->ops 4359953397821382656
PARAM_VALUE 1 exported->ttm.base.funcs->close 0,4096-ptr_max
PARAM_VALUE 1 exported->ttm.base.funcs->evict 0
PARAM_VALUE 1 exported->ttm.base.funcs->export 0,4096-ptr_max
PARAM_VALUE 1 exported->ttm.base.funcs->free 0,4096-ptr_max
PARAM_VALUE 1 exported->ttm.base.funcs->get_sg_table 0,4096-ptr_max
PARAM_VALUE 1 exported->ttm.base.funcs->mmap 0,4096-ptr_max
PARAM_VALUE 1 exported->ttm.base.funcs->open 0,4096-ptr_max
PARAM_VALUE 1 exported->ttm.base.funcs->pin 0,4096-ptr_max
PARAM_VALUE 1 exported->ttm.base.funcs->print_info 0,4096-ptr_max
PARAM_VALUE 1 exported->ttm.base.funcs->rss 0,7796836804503863296
PARAM_VALUE 1 exported->ttm.base.funcs->status 0,2206473683877605376,4732760284336451584,5734366281981706240,5836107275532460032,6072073946299289600,6713341571981008896
PARAM_VALUE 1 exported->ttm.base.funcs->unpin 0,4096-ptr_max
PARAM_VALUE 1 exported->ttm.base.funcs->vm_ops 0,4096-ptr_max
PARAM_VALUE 1 exported->ttm.base.funcs->vmap 0,4096-ptr_max
PARAM_VALUE 1 exported->ttm.base.funcs->vunmap 0,4096-ptr_max
PARAM_VALUE 1 exported->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 1 exported->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 1 exported->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 1 exported->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 1 exported->ttm.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 exported->ttm.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 exported->ttm.bdev->pool.dev->iommu->attach_deferred 0-1
PARAM_VALUE 1 exported->ttm.bdev->pool.dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 1 exported->ttm.ttm->restore->alloced_page 0-s64max
PARAM_VALUE 1 exported->ttm.ttm->restore->alloced_pages 0-s64max
PARAM_VALUE 1 exported->ttm.ttm->restore->first_dma 0-s64max
PARAM_VALUE 1 exported->ttm.ttm->restore->order 0-4294967295
PARAM_VALUE 1 exported->ttm.ttm->restore->page_caching 0-4294967295
PARAM_VALUE 1 exported->ttm.ttm->restore->restored_pages 0-s64max
PARAM_VALUE 1 exported->vm->svm.gpusvm.chunk_sizes 0,326957153881444352
PARAM_VALUE 1 exported->vm->svm.gpusvm.mm_start 0
PARAM_VALUE 1 exported->vm->svm.gpusvm.name 0,3247675261583343616,8321627992709902336
PARAM_VALUE 1 exported->vm->svm.gpusvm.notifier_size 0-u32max,9157251904928550912
PARAM_VALUE 1 exported->vm->svm.gpusvm.num_chunks 0,3
PARAM_VALUE 1 exported->vm->svm.gpusvm.ops 0,9157251904928550912
PARAM_VALUE 2 imported 4096-ptr_max
PARAM_VALUE 2 imported->ttm.base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 2 imported->ttm.base.resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 2 imported->ttm.base.resv->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 2 imported->ttm.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 2 imported->ttm.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 imported->ttm.bdev->pool.dev->dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 2 imported->ttm.pin_count 0-1
PARAM_VALUE 3 dmabuf 4096-ptr_max
PARAM_VALUE 3 dmabuf->ops 4359953397821382656
PARAM_VALUE 4 exec (-12)
BUF_SIZE 1 exported (-1)-s32max
BUF_SIZE 1 exported (-1)-s32max
BUF_SIZE 1 exported->ttm.base.dma_buf 361,536
BUF_SIZE 3 dmabuf 361,536
BUF_SIZE 3 dmabuf 361,536
DATA_SOURCE 0 test r kunit_get_current_test
DATA_SOURCE 1 exported r xe_bo_create_user
DATA_SOURCE 2 imported r gem_to_xe_bo
DATA_SOURCE 3 dmabuf r xe_gem_prime_export
STR_LEN 0 test->last_seen.file (-1)
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 exported->ttm.base.dev->mode_config.num_colorop
NO_OVERFLOW_SIMPLE 1 exported->ttm.base.dev->mode_config.num_crtc
NO_OVERFLOW_SIMPLE 1 exported->ttm.base.dev->mode_config.num_total_plane
NO_OVERFLOW_SIMPLE 1 exported->ttm.base.dev->num_crtcs
LOCK2 2 imported->ttm.base.resv