Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/gpu/drm/drm_gem.c, line 730
- drivers/gpu/drm/drm_gem_shmem_helper.c, line 242
- drivers/gpu/drm/etnaviv/etnaviv_gem.c, line 63
- drivers/gpu/drm/gma500/gem.c, line 46
- drivers/gpu/drm/msm/msm_gem.c, line 199
- drivers/gpu/drm/omapdrm/omap_gem.c, line 248
- drivers/gpu/drm/panthor/panthor_gem.c, line 249
- drivers/gpu/drm/rockchip/rockchip_drm_gem.c, line 86
- drivers/gpu/drm/tegra/gem.c, line 350
- drivers/gpu/drm/xen/xen_drm_front_gem.c, line 176
Smatch caller information:
drivers/gpu/drm/panthor/panthor_gem.c panthor_gem_backing_get_pages_locked() -> drm_gem_get_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| 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] |
| HALF_LOCKED2 | bo->base.resv |
drivers/gpu/drm/tegra/gem.c tegra_bo_get_pages() -> drm_gem_get_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->_resv.lock.base.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->_resv.lock.ww_class | 8825623990767841280 |
| PARAM_VALUE | 0 | obj->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->filp | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs | 1760598068160946176 |
| PARAM_VALUE | 0 | obj->gpuva.lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->lru_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->lru_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | obj->resv | 1-u64max |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.magic | 3736018669 |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.hole_size | 0-1 |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.hole_stack.next | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.hole_stack.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.mm | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.rb_hole_size.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.rb_hole_size.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.rb_hole_size.rb_right | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.subtree_max_hole | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | obj->size | 0-u64max[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] |
| HALF_LOCKED2 | &dev->clientlist_mutex | ||
| HALF_LOCKED2 | &helper->lock |
drivers/gpu/drm/gma500/gem.c psb_gem_pin() -> drm_gem_get_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter | 0,4096-5159360019465732095,5159360019465732097-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 |
| BUF_SIZE | 0 | obj | 704 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | obj->resv | |
| HALF_LOCKED2 | &crtc->mutex | ||
| HALF_LOCKED2 | &dev_priv->mmap_mutex |
drivers/gpu/drm/xen/xen_drm_front_gem.c gem_create() -> drm_gem_get_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->_resv.lock.base.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->_resv.lock.ww_class | 8825623990767841280 |
| PARAM_VALUE | 0 | obj->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->filp | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs | 7841167688512135168 |
| PARAM_VALUE | 0 | obj->gpuva.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->gpuva.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->gpuva.lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->lru_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->lru_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | obj->resv | 1-u64max |
| PARAM_VALUE | 0 | obj->size | 0-9223372036854775807 |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.magic | 3736018669 |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.owner_cpu | u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/etnaviv/etnaviv_gem.c etnaviv_gem_shmem_get_pages() -> drm_gem_get_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &etnaviv_obj->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | obj->resv | ||
| TYPE_LOCK | (struct etnaviv_gem_object)->lock |
drivers/gpu/drm/omapdrm/omap_gem.c omap_gem_attach_pages() -> drm_gem_get_pages()
| 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 |
| BUF_SIZE | 0 | obj | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | obj | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | obj | $0 |
| 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 | |
| UNITS | 0 | obj | unit_byte |
| LOCK2 | &omap_obj->lock | ||
| HALF_LOCKED2 | &dev->clientlist_mutex | ||
| HALF_LOCKED2 | &helper->lock | ||
| TYPE_LOCK | (struct omap_gem_object)->lock |
drivers/gpu/drm/rockchip/rockchip_drm_gem.c rockchip_gem_get_pages() -> drm_gem_get_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->_resv.lock.base.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->_resv.lock.ww_class | 8825623990767841280 |
| PARAM_VALUE | 0 | obj->filp | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs | 3677677793095483392 |
| PARAM_VALUE | 0 | obj->gpuva.lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->lru_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->lru_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | obj->resv | 1-u64max |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.magic | 3736018669 |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.owner_cpu | u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/drm_gem_shmem_helper.c drm_gem_shmem_get_pages_locked() -> drm_gem_get_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| BUF_SIZE | 0 | obj | 704 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | obj->vma_node.vm_node.size | 1-s32max[c] |
| USER_DATA | 0 | obj->vma_node.vm_node.start | 0-s32max[c] |
| HALF_LOCKED2 | shmem->base.resv |
drivers/gpu/drm/msm/msm_gem.c get_pages() -> drm_gem_get_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 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 |
| 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 | |||
| 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 |
| HALF_LOCKED2 | 0 | obj->resv |