Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/drm_pagemap_util.c drm_pagemap_get_from_cache() -> drm_pagemap_cache_set_pagemap()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->dpagemap 0
PARAM_VALUE 0 cache->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->lookup_mutex.dep_map->name 0-255
PARAM_VALUE 0 cache->lookup_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cache->lookup_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 cache->lookup_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 cache->queued.done 0-4294967293,u32max
PARAM_VALUE 0 cache->queued.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 cache->queued.wait.lock.owner (-1)
PARAM_VALUE 0 cache->queued.wait.lock.owner_cpu u32max
PARAM_VALUE 1 dpagemap 4096-ptr_max
PARAM_VALUE 1 dpagemap->cache 4096-ptr_max
PARAM_VALUE 1 dpagemap->cache->shrinker 4096-ptr_max
PARAM_VALUE 1 dpagemap->cache->shrinker->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 dpagemap->dev_hold 4096-ptr_max
PARAM_VALUE 1 dpagemap->drm 4096-ptr_max
PARAM_VALUE 1 dpagemap->drm->driver->fops->owner->refcnt.counter 0-s32max
PARAM_VALUE 1 dpagemap->ref.refcount.refs.counter 1
PARAM_VALUE 1 dpagemap->shrink_link.next->prev 4096-ptr_max
PARAM_VALUE 1 dpagemap->shrink_link.prev->next 4096-ptr_max
DATA_SOURCE 0 cache $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &cache->lookup_mutex
HALF_LOCKED2 &vm->lock
HALF_LOCKED2 global &drm_unplug_srcu
TYPE_LOCK (struct drm_pagemap_cache)->lookup_mutex

drivers/gpu/drm/xe/xe_svm.c xe_pagemap_find_or_create() -> drm_pagemap_cache_set_pagemap()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->dpagemap->ref.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 cache->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->lookup_mutex.dep_map->name 0-255
PARAM_VALUE 0 cache->lookup_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cache->lookup_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 dpagemap 4096-ptr_max
PARAM_VALUE 1 dpagemap->cache 0
PARAM_VALUE 1 dpagemap->dev_hold 4096-ptr_max
PARAM_VALUE 1 dpagemap->ref.refcount.refs.counter 1
PARAM_VALUE 1 dpagemap->shrink_link.next 4096-ptr_max
PARAM_VALUE 1 dpagemap->shrink_link.prev 4096-ptr_max
DATA_SOURCE 0 cache $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &cache->lookup_mutex
HALF_LOCKED2 &vm->lock
HALF_LOCKED2 global &drm_unplug_srcu
TYPE_LOCK (struct drm_pagemap_cache)->lookup_mutex