Documented in 1 files:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_vm_madvise.c madvise_purgeable() -> xe_bo_willneed_get_locked()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->purgeable.state 0-1,3-u32max
DATA_SOURCE 0 bo r xe_vma_bo
NOCHECK_CALL
LOCK2 &vm->lock
HALF_LOCKED2 &vm->svm.gpusvm.notifier_lock
TYPE_LOCK (struct xe_vm)->lock

drivers/gpu/drm/xe/xe_vm.c xe_vma_create() -> xe_bo_willneed_get_locked()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->purgeable.state 0,3-u32max
DATA_SOURCE 0 bo $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &vm->lock
HALF_LOCKED2 0 bo->ttm.base.resv
TYPE_LOCK (struct xe_vm)->lock

drivers/gpu/drm/xe/xe_dma_buf.c xe_gem_prime_export() -> xe_bo_willneed_get_locked()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->purgeable.state 0,3-u32max
PARAM_VALUE 0 bo->ttm.base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 0 bo->ttm.base.resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bo->ttm.base.resv->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 0 bo->ttm.bdev->dev_mapping->host->i_sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648
PARAM_VALUE 0 bo->ttm.bdev->dev_mapping->host->i_sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576
PARAM_VALUE 0 bo->ttm.bdev->dev_mapping->host->i_sb->s_cop->inode_info_offs 1632,1720,2632,2648
PARAM_VALUE 0 bo->ttm.bdev->dev_mapping->host->i_sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360
PARAM_VALUE 0 bo->ttm.bdev->dev_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 0 bo->ttm.bdev->dev_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864
PARAM_VALUE 0 bo->ttm.bdev->dev_mapping->host->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200
PARAM_VALUE 0 bo->ttm.bdev->dev_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 0 bo->vm 0
DATA_SOURCE 0 bo r gem_to_xe_bo
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bo->ttm.base.size
LOCK2 0 bo->ttm.base.resv
HALF_LOCKED2 &dev->object_name_lock
HALF_LOCKED2 &file_priv->prime.lock