Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c use_cpu_reloc() -> i915_gem_object_has_cache_level()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
PARAM_VALUE 0 obj->cache_dirty 0
PARAM_VALUE 1 lvl 0
DATA_SOURCE 0 obj $1
HALF_LOCKED2 pool->obj->base.resv

drivers/gpu/drm/i915/gem/i915_gem_domain.c gpu_write_needs_clflush() -> i915_gem_object_has_cache_level()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
PARAM_VALUE 0 obj->base._resv.lock.ww_class->is_wait_die 0-s32max
PARAM_VALUE 0 obj->base.dev->anon_inode->i_mapping->host->i_sb->s_export_op->encode_fh 0,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
PARAM_VALUE 0 obj->base.dev->anon_inode->i_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 obj->base.dev->anon_inode->i_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 obj->base.dev->anon_inode->i_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1293513186369728512,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488-s64max
PARAM_VALUE 0 obj->base.dev->anon_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 obj->base.dev->anon_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 obj->base.dev->dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 obj->base.funcs->evict 0
PARAM_VALUE 0 obj->base.funcs->free 0,4096-ptr_max
PARAM_VALUE 0 obj->base.funcs->mmap 0,4096-ptr_max
PARAM_VALUE 0 obj->base.funcs->open 0,4096-ptr_max
PARAM_VALUE 0 obj->base.funcs->pin 0,4096-ptr_max
PARAM_VALUE 0 obj->base.funcs->rss 0,4096-ptr_max
PARAM_VALUE 0 obj->base.funcs->vmap 0,4096-ptr_max
PARAM_VALUE 0 obj->base.resv->lock.ww_class->is_wait_die 0-s32max
PARAM_VALUE 0 obj->ops->adjust_lru 0,4096-ptr_max
PARAM_VALUE 0 obj->ops->delayed_free 0,5926832556445249536
PARAM_VALUE 0 obj->ops->dmabuf_export 0,2825331963569180672
PARAM_VALUE 0 obj->ops->flags 0,2,6,8,26
PARAM_VALUE 0 obj->ops->get_pages 4096-ptr_max
PARAM_VALUE 0 obj->ops->migrate 0,4096-ptr_max
PARAM_VALUE 0 obj->ops->mmap_offset 0,4096-ptr_max
PARAM_VALUE 0 obj->ops->mmap_ops 0,4096-ptr_max
PARAM_VALUE 0 obj->ops->name 4096-ptr_max
PARAM_VALUE 0 obj->ops->pread 0,4096-ptr_max
PARAM_VALUE 0 obj->ops->put_pages 4096-ptr_max
PARAM_VALUE 0 obj->ops->pwrite 0,4096-ptr_max
PARAM_VALUE 0 obj->ops->release 0,4096-ptr_max
PARAM_VALUE 0 obj->ops->shrink 0,4096-ptr_max
PARAM_VALUE 0 obj->ops->truncate 0,4096-ptr_max
PARAM_VALUE 0 obj->ops->unmap_virtual 0,5981797077985529856
PARAM_VALUE 0 obj->write_domain 2
PARAM_VALUE 0 *obj->mm.tlb 0-4294967295
PARAM_VALUE 1 lvl 0
BUF_SIZE 0 obj (-1)-s32max
BUF_SIZE 0 obj (-1)-s32max
DATA_SOURCE 0 obj $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 obj->base.dev->mode_config.connector_ida.xa.xa_flags 67108869
HOST_DATA 0 obj->base.dev->mode_config.max_height 0-u32max
HOST_DATA 0 obj->base.dev->mode_config.max_width 0-u32max
HOST_DATA 0 obj->base.dev->mode_config.object_idr.idr_rt.xa_flags 0,4-u32max
HOST_DATA 0 obj->base.dev->mode_config.tile_idr.idr_rt.xa_flags 67108868
HOST_DATA 0 obj->base.dev->num_crtcs 2[c]
NO_OVERFLOW_SIMPLE 0 obj->base.dev->mode_config.num_colorop
NO_OVERFLOW_SIMPLE 0 obj->base.dev->mode_config.num_crtc
NO_OVERFLOW_SIMPLE 0 obj->base.dev->mode_config.num_total_plane
NO_OVERFLOW_SIMPLE 0 obj->base.dev->num_crtcs
NO_OVERFLOW_SIMPLE 0 obj->base.size
HALF_LOCKED2 0 obj->base.resv

drivers/gpu/drm/i915/gem/i915_gem_domain.c gpu_write_needs_clflush() -> i915_gem_object_has_cache_level()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
PARAM_VALUE 0 obj->base._resv.lock.ww_class->is_wait_die 0-s32max
PARAM_VALUE 0 obj->base.dev->anon_inode->i_mapping->host->i_sb->s_export_op->encode_fh 0,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
PARAM_VALUE 0 obj->base.dev->anon_inode->i_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 obj->base.dev->anon_inode->i_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 obj->base.dev->anon_inode->i_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1293513186369728512,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488-s64max
PARAM_VALUE 0 obj->base.dev->anon_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 obj->base.dev->anon_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 obj->base.dev->dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 obj->base.funcs->evict 0
PARAM_VALUE 0 obj->base.funcs->free 0,4096-ptr_max
PARAM_VALUE 0 obj->base.funcs->mmap 0,4096-ptr_max
PARAM_VALUE 0 obj->base.funcs->open 0,4096-ptr_max
PARAM_VALUE 0 obj->base.funcs->pin 0,4096-ptr_max
PARAM_VALUE 0 obj->base.funcs->rss 0,4096-ptr_max
PARAM_VALUE 0 obj->base.funcs->vmap 0,4096-ptr_max
PARAM_VALUE 0 obj->base.resv->lock.ww_class->is_wait_die 0-s32max
PARAM_VALUE 0 obj->ops->adjust_lru 0,4096-ptr_max
PARAM_VALUE 0 obj->ops->delayed_free 0,5926832556445249536
PARAM_VALUE 0 obj->ops->dmabuf_export 0,2825331963569180672
PARAM_VALUE 0 obj->ops->flags 0,2,6,8,26
PARAM_VALUE 0 obj->ops->get_pages 4096-ptr_max
PARAM_VALUE 0 obj->ops->migrate 0,4096-ptr_max
PARAM_VALUE 0 obj->ops->mmap_offset 0,4096-ptr_max
PARAM_VALUE 0 obj->ops->mmap_ops 0,4096-ptr_max
PARAM_VALUE 0 obj->ops->name 4096-ptr_max
PARAM_VALUE 0 obj->ops->pread 0,4096-ptr_max
PARAM_VALUE 0 obj->ops->put_pages 4096-ptr_max
PARAM_VALUE 0 obj->ops->pwrite 0,4096-ptr_max
PARAM_VALUE 0 obj->ops->release 0,4096-ptr_max
PARAM_VALUE 0 obj->ops->shrink 0,4096-ptr_max
PARAM_VALUE 0 obj->ops->truncate 0,4096-ptr_max
PARAM_VALUE 0 obj->ops->unmap_virtual 0,5981797077985529856
PARAM_VALUE 0 obj->pat_set_by_user 0
PARAM_VALUE 0 obj->write_domain 2
PARAM_VALUE 0 *obj->mm.tlb 0-4294967295
PARAM_VALUE 1 lvl 3
BUF_SIZE 0 obj (-1)-s32max
BUF_SIZE 0 obj (-1)-s32max
DATA_SOURCE 0 obj $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 obj->base.dev->mode_config.connector_ida.xa.xa_flags 67108869
HOST_DATA 0 obj->base.dev->mode_config.max_height 0-u32max
HOST_DATA 0 obj->base.dev->mode_config.max_width 0-u32max
HOST_DATA 0 obj->base.dev->mode_config.object_idr.idr_rt.xa_flags 0,4-u32max
HOST_DATA 0 obj->base.dev->mode_config.tile_idr.idr_rt.xa_flags 67108868
HOST_DATA 0 obj->base.dev->num_crtcs 2[c]
NO_OVERFLOW_SIMPLE 0 obj->base.dev->mode_config.num_colorop
NO_OVERFLOW_SIMPLE 0 obj->base.dev->mode_config.num_crtc
NO_OVERFLOW_SIMPLE 0 obj->base.dev->mode_config.num_total_plane
NO_OVERFLOW_SIMPLE 0 obj->base.dev->num_crtcs
NO_OVERFLOW_SIMPLE 0 obj->base.size
HALF_LOCKED2 0 obj->base.resv

drivers/gpu/drm/i915/gem/i915_gem_domain.c i915_gem_get_caching_ioctl() -> i915_gem_object_has_cache_level()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
PARAM_VALUE 0 obj->pat_set_by_user 0
PARAM_VALUE 1 lvl 1
DATA_SOURCE 0 obj r i915_gem_object_lookup_rcu
LOCK2 rcu_read

drivers/gpu/drm/i915/gem/i915_gem_domain.c i915_gem_get_caching_ioctl() -> i915_gem_object_has_cache_level()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
PARAM_VALUE 0 obj->pat_set_by_user 0
PARAM_VALUE 1 lvl 2
DATA_SOURCE 0 obj r i915_gem_object_lookup_rcu
LOCK2 rcu_read

drivers/gpu/drm/i915/gem/i915_gem_domain.c i915_gem_get_caching_ioctl() -> i915_gem_object_has_cache_level()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
PARAM_VALUE 0 obj->pat_set_by_user 0
PARAM_VALUE 1 lvl 3
DATA_SOURCE 0 obj r i915_gem_object_lookup_rcu
LOCK2 rcu_read

drivers/gpu/drm/i915/gem/i915_gem_domain.c i915_gem_object_set_cache_level() -> i915_gem_object_has_cache_level()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
PARAM_VALUE 0 obj->base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 0 obj->base.resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 obj->base.resv->lock.base.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 obj->obj_link.next 4096-ptr_max
PARAM_VALUE 0 obj->ops->flags 0,2,6,8,26
PARAM_VALUE 0 obj->ops->migrate 0,4096-ptr_max
PARAM_VALUE 0 *obj->mm.tlb 0-4294967295
PARAM_VALUE 1 lvl 0-1,3
BUF_SIZE 0 obj (-1)-s32max
BUF_SIZE 0 obj (-1)-s32max
DATA_SOURCE 0 obj $0
DATA_SOURCE 1 lvl $1
FUZZY_MAX 1 lvl 3
HARD_MAX 1 lvl 3
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 obj->base.resv

drivers/gpu/drm/i915/gem/i915_gem_mman.c vm_fault_gtt() -> i915_gem_object_has_cache_level()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
PARAM_VALUE 0 obj->base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 0 obj->base.resv->lock.base.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 obj->base.resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 obj->base.resv->lock.base.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 obj->base.resv->lock.base.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 obj->base.resv->lock.base.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 obj->base.resv->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 0 obj->base.resv->lock.ctx 0
PARAM_VALUE 0 obj->obj_link.next 882918402365345944,1882010709114056856,3754542896867967128,3820547981149724824
PARAM_VALUE 1 lvl 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ggtt->vm.gt->reset.backoff_srcu
LOCK2 0 obj->base.resv
TYPE_LOCK (struct intel_reset)->backoff_srcu