Defined in 3 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_migrate.c test_copy_sysmem() -> test_copy()

Type Parameter Key Value
PARAM_VALUE 0 m 4096-ptr_max
PARAM_VALUE 0 m->fence 4096-ptr_max
PARAM_VALUE 0 m->job_mutex.dep_map->name 0-255
PARAM_VALUE 0 m->job_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 m->job_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 m->job_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 m->job_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 m->pt_bo->ttm.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 m->pt_bo->ttm.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 m->pt_bo->ttm.bdev->pool.dev->dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 m->pt_bo->ttm.resource 4096-ptr_max
PARAM_VALUE 0 m->q->gt 4096-ptr_max
PARAM_VALUE 0 m->q->last_fence 0
PARAM_VALUE 0 m->q->pxp.link.next 4096-ptr_max
PARAM_VALUE 0 m->q->pxp.link.next->next 4096-ptr_max
PARAM_VALUE 0 m->q->pxp.link.next->prev 4096-ptr_max
PARAM_VALUE 0 m->q->pxp.link.prev 4096-ptr_max
PARAM_VALUE 0 m->q->pxp.link.prev->next 4096-ptr_max
PARAM_VALUE 0 m->q->pxp.link.prev->prev 4096-ptr_max
PARAM_VALUE 0 m->q->pxp.type 0-1
PARAM_VALUE 0 m->q->sched_props.job_timeout_ms 1-10000
PARAM_VALUE 0 m->q->ufence_syncobj->fence->rcu.entry.next s64max
PARAM_VALUE 0 m->q->ufence_syncobj->fence->rcu.flags 0-4294967295
PARAM_VALUE 0 m->q->ufence_syncobj->fence->rcu.is_hard 0-1
PARAM_VALUE 0 m->q->ufence_syncobj->fence->rcu.is_lazy 0-1
PARAM_VALUE 0 m->q->ufence_syncobj->fence->rcu.is_queued 0-1
PARAM_VALUE 0 m->q->ufence_syncobj->fence->rcu.is_soft 0-1
PARAM_VALUE 0 m->q->ufence_syncobj->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 m->q->ufence_syncobj->refcount.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 m->q->user_vm 0
PARAM_VALUE 0 m->q->user_vm->gpuvm.kernel_alloc_node.rb.entry.next 4096-ptr_max
PARAM_VALUE 0 m->q->user_vm->gpuvm.kernel_alloc_node.rb.entry.next->next 4096-ptr_max
PARAM_VALUE 0 m->q->user_vm->gpuvm.kernel_alloc_node.rb.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 m->q->user_vm->gpuvm.kernel_alloc_node.rb.entry.prev 4096-ptr_max
PARAM_VALUE 0 m->q->user_vm->gpuvm.kernel_alloc_node.rb.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 m->q->user_vm->gpuvm.kernel_alloc_node.rb.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 m->q->vm 0,4096-ptr_max
PARAM_VALUE 0 m->q->vm->pt_ops 4096-ptr_max
PARAM_VALUE 0 m->q->vm->pt_root 4096-ptr_max
PARAM_VALUE 0 m->q->vm->svm.gpusvm.notifier_size 0-u32max
PARAM_VALUE 0 m->q->vm->svm.gpusvm.num_chunks 0,3
PARAM_VALUE 0 m->tile 4096-ptr_max
PARAM_VALUE 0 m->tile->primary_gt 4096-ptr_max
PARAM_VALUE 0 m->tile->primary_gt->tile 4096-ptr_max
PARAM_VALUE 0 m->tile->xe->drm.mode_config.helper_private->atomic_commit_tail 0,113,234517204248432640,264416658693812224,1002985563129995264,1135616218159751168,1435312838172803072,1559742614509715456,1682444203744997376,2792895115794366464,3649211429048074240,4264110321136541696,4348468181405868032-s64max
PARAM_VALUE 0 m->tile->xe->ttm.dev_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 0 m->tile->xe->ttm.dev_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864
PARAM_VALUE 0 m->tile->xe->ttm.dev_mapping->host->i_sb->s_export_op->fh_to_parent 0,148606482432692224,436469935444291584,467281172929331200
PARAM_VALUE 1 bo 4096-ptr_max
PARAM_VALUE 1 bo->ccs_cleared 1
PARAM_VALUE 1 bo->ttm.bdev->dev_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864
PARAM_VALUE 1 bo->ttm.resource 4096-ptr_max
PARAM_VALUE 2 test 4096-ptr_max
PARAM_VALUE 2 test->log->lock.rlock.dep_map->name 0-255
PARAM_VALUE 3 region 2
PARAM_VALUE 4 exec (-12)
PARAM_VALUE 4 exec->contended->resv->fences->max_fences 0-4294967295
BUF_SIZE 1 bo (-1),1344
BUF_SIZE 1 bo (-1),1344
CAPPED_DATA 1 bo 1
CAPPED_DATA 1 bo->ttm.base.resv 1
CAPPED_DATA 1 bo->ttm.base.resv->fences 1
DATA_SOURCE 0 m $0
DATA_SOURCE 1 bo $1
DATA_SOURCE 2 test $3
DATA_SOURCE 4 exec $2
STR_LEN 2 test->last_seen.file (-1)
NOCHECK_CALL

drivers/gpu/drm/xe/xe_migrate.c test_copy_vram() -> test_copy()

Type Parameter Key Value
PARAM_VALUE 0 m 4096-ptr_max
PARAM_VALUE 0 m->job_mutex.dep_map->name 0-255
PARAM_VALUE 0 m->job_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 m->job_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 m->pt_bo->ttm.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 m->pt_bo->ttm.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 m->pt_bo->ttm.bdev->pool.dev->dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 m->pt_bo->ttm.resource 4096-ptr_max
PARAM_VALUE 0 m->q->gt 4096-ptr_max
PARAM_VALUE 0 m->q->last_fence 0
PARAM_VALUE 0 m->q->pxp.link.next 4096-ptr_max
PARAM_VALUE 0 m->q->pxp.link.next->next 4096-ptr_max
PARAM_VALUE 0 m->q->pxp.link.next->prev 4096-ptr_max
PARAM_VALUE 0 m->q->pxp.link.prev 4096-ptr_max
PARAM_VALUE 0 m->q->pxp.link.prev->next 4096-ptr_max
PARAM_VALUE 0 m->q->pxp.link.prev->prev 4096-ptr_max
PARAM_VALUE 0 m->q->pxp.type 0-1
PARAM_VALUE 0 m->q->sched_props.job_timeout_ms 1-10000
PARAM_VALUE 0 m->q->ufence_syncobj->fence->rcu.entry.next s64max
PARAM_VALUE 0 m->q->ufence_syncobj->fence->rcu.flags 0-4294967295
PARAM_VALUE 0 m->q->ufence_syncobj->fence->rcu.is_hard 0-1
PARAM_VALUE 0 m->q->ufence_syncobj->fence->rcu.is_lazy 0-1
PARAM_VALUE 0 m->q->ufence_syncobj->fence->rcu.is_queued 0-1
PARAM_VALUE 0 m->q->ufence_syncobj->fence->rcu.is_soft 0-1
PARAM_VALUE 0 m->q->ufence_syncobj->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 m->q->ufence_syncobj->refcount.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 m->q->user_vm 0
PARAM_VALUE 0 m->q->vm 0,4096-ptr_max
PARAM_VALUE 0 m->q->vm->pt_ops 4096-ptr_max
PARAM_VALUE 0 m->q->vm->pt_root 4096-ptr_max
PARAM_VALUE 0 m->q->vm->svm.gpusvm.notifier_size 0-u32max
PARAM_VALUE 0 m->q->vm->svm.gpusvm.num_chunks 0,3
PARAM_VALUE 0 m->tile->primary_gt 4096-ptr_max
PARAM_VALUE 0 m->tile->primary_gt->tile 4096-ptr_max
PARAM_VALUE 0 m->tile->xe->drm.mode_config.helper_private->atomic_commit_tail 0,113,234517204248432640,264416658693812224,1002985563129995264
PARAM_VALUE 0 m->tile->xe->ttm.dev_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 0 m->tile->xe->ttm.dev_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864
PARAM_VALUE 0 m->tile->xe->ttm.dev_mapping->host->i_sb->s_export_op->fh_to_parent 0,148606482432692224,436469935444291584,467281172929331200
PARAM_VALUE 1 bo 4096-ptr_max
PARAM_VALUE 1 bo->ttm.bdev->dev_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864
PARAM_VALUE 1 bo->ttm.resource 4096-ptr_max
PARAM_VALUE 1 bo->ttm.resource->mem_type 1-u32max
PARAM_VALUE 2 test 4096-ptr_max
PARAM_VALUE 2 test->last_seen.file 8090938237943001088
PARAM_VALUE 2 test->last_seen.line 99
PARAM_VALUE 2 test->log->lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 test->status 1
PARAM_VALUE 3 region 4,8
PARAM_VALUE 4 exec (-12)
PARAM_VALUE 4 exec->contended->resv->fences->max_fences 0-4294967295
BUF_SIZE 1 bo (-1),1344
BUF_SIZE 1 bo (-1),1344
CAPPED_DATA 1 bo 1
DATA_SOURCE 0 m $0
DATA_SOURCE 1 bo $1
DATA_SOURCE 2 test $3
DATA_SOURCE 4 exec $2
FUZZY_MAX 1 bo->ttm.resource->mem_type 2
FUZZY_MAX 3 region 8
STR_LEN 2 test->last_seen.file (-1)
BIT_INFO 3 region 0x0,0xc
HARD_MAX 3 region 8
NOCHECK_CALL

lib/test_bitmap.c selftest() -> test_copy()

Type Parameter Key Value
NOCHECK_CALL