Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/msm/msm_gem_vma.c vm_bind_job_pin_objects() -> msm_gem_get_pages_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 1-u64max |
| PARAM_VALUE | 1 | madv | 0 |
| LOCK2 | &queue->lock | ||
| TYPE_LOCK | (struct msm_gpu_submitqueue)->lock |
drivers/gpu/drm/msm/msm_gem.c get_vaddr() -> msm_gem_get_pages_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->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 |
| PARAM_VALUE | 0 | obj->import_attach | 0 |
| PARAM_VALUE | 1 | madv | 0,2 |
| BUF_SIZE | 0 | obj | (-1),184 |
| BUF_SIZE | 0 | obj | (-1),184 |
| DATA_SOURCE | 0 | obj | $0 |
| DATA_SOURCE | 1 | madv | $1 |
| HARD_MAX | 1 | madv | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 | |
| HALF_LOCKED2 | 0 | obj->resv |
drivers/gpu/drm/msm/msm_gem.c msm_gem_pin_pages_locked() -> msm_gem_get_pages_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs->get_sg_table | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs->pin | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->import_attach | 0 |
| 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.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | madv | 0 |
| BUF_SIZE | 0 | obj | (-1),1-4064 |
| BUF_SIZE | 0 | obj | (-1),1-4064 |
| DATA_SOURCE | 0 | obj | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | obj->resv | |
| HALF_LOCKED2 | &dev->object_name_lock | ||
| HALF_LOCKED2 | &file_priv->prime.lock |
drivers/gpu/drm/msm/msm_gem.c msm_gem_pin_vma_locked() -> msm_gem_get_pages_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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-1 |
| PARAM_VALUE | 0 | obj->_resv.lock.ww_class->mutex_name | 0,4096-ptr_max |
| 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 |
| PARAM_VALUE | 1 | madv | 0 |
| DATA_SOURCE | 0 | obj | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 | |
| HALF_LOCKED2 | &queue->lock |