Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/drm_pagemap_util.c drm_pagemap_cache_fini() -> drm_pagemap_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dpagemap | 4096-ptr_max |
| PARAM_VALUE | 0 | dpagemap->cache | 4096-ptr_max |
| PARAM_VALUE | 0 | dpagemap->cache->shrinker | 4096-ptr_max |
| PARAM_VALUE | 0 | dpagemap->cache->shrinker->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dpagemap->shrink_link.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dpagemap->shrink_link.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | is_atomic_or_reclaim | 0 |
| NOCHECK_CALL |
drivers/gpu/drm/drm_pagemap_util.c drm_pagemap_get_from_cache() -> drm_pagemap_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dpagemap | 4096-ptr_max |
| PARAM_VALUE | 0 | dpagemap->cache | 4096-ptr_max |
| PARAM_VALUE | 0 | dpagemap->cache->shrinker | 4096-ptr_max |
| PARAM_VALUE | 0 | dpagemap->cache->shrinker->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dpagemap->dev_hold | (-12) |
| PARAM_VALUE | 0 | dpagemap->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | dpagemap->shrink_link.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dpagemap->shrink_link.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | is_atomic_or_reclaim | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &cache->lookup_mutex | ||
| HALF_LOCKED2 | &vm->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct drm_pagemap_cache)->lookup_mutex |
drivers/gpu/drm/drm_pagemap_util.c drm_pagemap_shrinker_add() -> drm_pagemap_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dpagemap | 4096-ptr_max |
| PARAM_VALUE | 0 | dpagemap->dev_hold | 0 |
| PARAM_VALUE | 0 | dpagemap->drm | 4096-ptr_max |
| PARAM_VALUE | 1 | is_atomic_or_reclaim | 1 |
| DATA_SOURCE | 0 | dpagemap | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &cache->lookup_mutex | ||
| HALF_LOCKED2 | &gpusvm->notifier_lock | ||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/drm_pagemap_util.c drm_pagemap_shrinker_scan() -> drm_pagemap_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dpagemap | 4096-ptr_max |
| PARAM_VALUE | 0 | dpagemap->cache | 4096-ptr_max |
| PARAM_VALUE | 0 | dpagemap->cache->dpagemap | 0 |
| PARAM_VALUE | 0 | dpagemap->cache->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dpagemap->drm | 0,4096-ptr_max |
| PARAM_VALUE | 1 | is_atomic_or_reclaim | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &bch_register_lock |