Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/msm/msm_gem.c msm_gem_madvise() -> update_lru_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | obj->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->resv->lock.base.osq.tail.counter | 0-s32max |
| DATA_SOURCE | 0 | obj | $0 |
| NOCHECK_CALL | |||
| LOCK2 | &dev->gem_lru_mutex | ||
| LOCK2 | 0 | obj->resv | |
| TYPE_LOCK | (struct drm_device)->gem_lru_mutex |
drivers/gpu/drm/msm/msm_gem.c msm_gem_unpin_locked() -> update_lru_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->_resv.lock.ww_class->acquire_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->_resv.lock.ww_class->is_wait_die | 0-s32max |
| PARAM_VALUE | 0 | obj->_resv.lock.ww_class->mutex_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | obj->funcs->close | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs->evict | 0 |
| PARAM_VALUE | 0 | obj->funcs->export | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs->free | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs->get_sg_table | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs->mmap | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs->open | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs->pin | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs->print_info | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs->rss | 0,7796836804503863296 |
| PARAM_VALUE | 0 | obj->funcs->status | 0,2206473683877605376,4732760284336451584,5734366281981706240,5836107275532460032,6072073946299289600,6713341571981008896 |
| PARAM_VALUE | 0 | obj->funcs->unpin | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs->vm_ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs->vmap | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs->vunmap | 0,4096-ptr_max |
| BUF_SIZE | 0 | obj | (-1),1-4064 |
| BUF_SIZE | 0 | obj | (-1),1-4064 |
| DATA_SOURCE | 0 | obj | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | obj->size | 0,4096-9223372036854775807[c] |
| USER_DATA | 0 | obj->vma_node.vm_node.size | 1-s32max[c] |
| USER_DATA | 0 | obj->vma_node.vm_node.start | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | obj->dev->mode_config.num_colorop | |
| NO_OVERFLOW_SIMPLE | 0 | obj->dev->mode_config.num_crtc | |
| NO_OVERFLOW_SIMPLE | 0 | obj->dev->mode_config.num_total_plane | |
| NO_OVERFLOW_SIMPLE | 0 | obj->dev->num_crtcs | |
| LOCK2 | &dev->gem_lru_mutex | ||
| HALF_LOCKED2 | &queue->lock | ||
| HALF_LOCKED2 | 0 | obj->resv | |
| TYPE_LOCK | (struct drm_device)->gem_lru_mutex |
drivers/gpu/drm/msm/msm_gem.c update_lru() -> update_lru_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->_resv.lock.ww_class->acquire_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->_resv.lock.ww_class->is_wait_die | 0-s32max |
| PARAM_VALUE | 0 | obj->_resv.lock.ww_class->mutex_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->dev->anon_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | obj->dev->anon_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | obj->dev->dev_private | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | obj->filp | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs->free | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs->get_sg_table | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs->pin | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs->vmap | 0,4096-ptr_max |
| BUF_SIZE | 0 | obj | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | obj | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | obj | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | obj->size | 0,4096-9223372036854775807[c] |
| USER_DATA | 0 | obj->vma_node.vm_node.size | 1-s32max[c] |
| USER_DATA | 0 | obj->vma_node.vm_node.start | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | obj->dev->num_crtcs | |
| UNITS | 0 | obj | unit_byte |
| LOCK2 | &dev->gem_lru_mutex | ||
| HALF_LOCKED2 | 0 | obj->resv | |
| TYPE_LOCK | (struct drm_device)->gem_lru_mutex |