Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/drm_gem.c, line 1634
- drivers/gpu/drm/msm/msm_gem.c
- drivers/gpu/drm/panthor/panthor_gem.c
Smatch caller information:
drivers/gpu/drm/panthor/panthor_gem.c panthor_gem_update_reclaim_state_locked() -> drm_gem_lru_move_tail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lru | 4096-ptr_max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | obj->size | 0,4096-9223372036854775807[c] |
| USER_DATA | 1 | obj->vma_node.vm_node.size | 1-s32max[c] |
| USER_DATA | 1 | obj->vma_node.vm_node.start | 0-s32max[c] |
| LOCK2 | &bo->base.gpuva.lock | ||
| HALF_LOCKED2 | bo->base.resv | ||
| TYPE_LOCK | (struct drm_gem_object)->gpuva.lock |
drivers/gpu/drm/panthor/panthor_gem.c panthor_gem_update_reclaim_state_locked() -> drm_gem_lru_move_tail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lru | 4096-ptr_max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | obj->size | 0,4096-9223372036854775807[c] |
| USER_DATA | 1 | obj->vma_node.vm_node.size | 1-s32max[c] |
| USER_DATA | 1 | obj->vma_node.vm_node.start | 0-s32max[c] |
| LOCK2 | &bo->base.gpuva.lock | ||
| HALF_LOCKED2 | bo->base.resv | ||
| HALF_LOCKED2 | obj->resv | ||
| TYPE_LOCK | (struct drm_gem_object)->gpuva.lock |
drivers/gpu/drm/panthor/panthor_gem.c panthor_gem_update_reclaim_state_locked() -> drm_gem_lru_move_tail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lru | 4096-ptr_max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | obj->size | 0,4096-9223372036854775807[c] |
| USER_DATA | 1 | obj->vma_node.vm_node.size | 1-s32max[c] |
| USER_DATA | 1 | obj->vma_node.vm_node.start | 0-s32max[c] |
| LOCK2 | &bo->base.gpuva.lock | ||
| HALF_LOCKED2 | bo->base.resv | ||
| HALF_LOCKED2 | obj->resv | ||
| TYPE_LOCK | (struct drm_gem_object)->gpuva.lock |
drivers/gpu/drm/msm/msm_gem.c msm_gem_init_bookkeeping() -> drm_gem_lru_move_tail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lru | 4096-ptr_max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->_resv.fences | 0 |
| PARAM_VALUE | 1 | obj->_resv.lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | obj->_resv.lock.base.first_waiter | 0 |
| PARAM_VALUE | 1 | obj->_resv.lock.base.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->_resv.lock.base.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | obj->_resv.lock.base.owner.counter | 0 |
| PARAM_VALUE | 1 | obj->_resv.lock.ctx | 0 |
| PARAM_VALUE | 1 | obj->_resv.lock.ww_class | 8825623990767841280 |
| PARAM_VALUE | 1 | obj->_resv.lock.ww_class->acquire_name | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->_resv.lock.ww_class->is_wait_die | 0-s32max |
| PARAM_VALUE | 1 | obj->_resv.lock.ww_class->mutex_name | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->filp | 0,4096-ptr_max |
| PARAM_VALUE | 1 | obj->filp->f_mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->filp->f_mapping->gfp_mask | 1051842 |
| PARAM_VALUE | 1 | obj->funcs | 5087983624411111424 |
| PARAM_VALUE | 1 | obj->funcs->close | 5929623982670094336 |
| PARAM_VALUE | 1 | obj->funcs->evict | 0 |
| PARAM_VALUE | 1 | obj->funcs->export | 3531667440264126464 |
| PARAM_VALUE | 1 | obj->funcs->free | 6127232841074860032 |
| PARAM_VALUE | 1 | obj->funcs->get_sg_table | 5697414582266654720 |
| PARAM_VALUE | 1 | obj->funcs->mmap | 61060320377487360 |
| PARAM_VALUE | 1 | obj->funcs->open | 3821838207613083648 |
| PARAM_VALUE | 1 | obj->funcs->pin | 4200757751008706560 |
| PARAM_VALUE | 1 | obj->funcs->print_info | 0 |
| PARAM_VALUE | 1 | obj->funcs->rss | 0 |
| PARAM_VALUE | 1 | obj->funcs->status | 5734366281981706240 |
| PARAM_VALUE | 1 | obj->funcs->unpin | 9216817752547971072 |
| PARAM_VALUE | 1 | obj->funcs->vm_ops | 7081306367532695552 |
| PARAM_VALUE | 1 | obj->funcs->vmap | 4970124851484504064 |
| PARAM_VALUE | 1 | obj->funcs->vunmap | 3155453207110467584 |
| PARAM_VALUE | 1 | obj->gpuva.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | obj->gpuva.lock.first_waiter | 0 |
| PARAM_VALUE | 1 | obj->gpuva.lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->gpuva.lock.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | obj->gpuva.lock.owner.counter | 0 |
| PARAM_VALUE | 1 | obj->handle_count | 0 |
| PARAM_VALUE | 1 | obj->import_attach | 1-u64max |
| PARAM_VALUE | 1 | obj->lru_node.next | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->lru_node.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->lru_node.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->lru_node.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->lru_node.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | obj->resv | 1-u64max |
| PARAM_VALUE | 1 | obj->resv->fences | 0 |
| PARAM_VALUE | 1 | obj->resv->lock.base.first_waiter | 0 |
| PARAM_VALUE | 1 | obj->resv->lock.base.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->resv->lock.base.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | obj->resv->lock.base.owner.counter | 0 |
| PARAM_VALUE | 1 | obj->resv->lock.ctx | 0 |
| PARAM_VALUE | 1 | obj->resv->lock.ww_class | 8825623990767841280 |
| PARAM_VALUE | 1 | obj->size | 0,4096-u64max |
| PARAM_VALUE | 1 | obj->vma_node.driver_private | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_lock.magic | 3736018669 |
| PARAM_VALUE | 1 | obj->vma_node.vm_lock.owner | (-1) |
| PARAM_VALUE | 1 | obj->vma_node.vm_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | obj->vma_node.vm_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.__subtree_last | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.color | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.flags | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.hole_size | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.hole_stack.next | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.hole_stack.prev | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.mm | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.node_list.next | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.node_list.prev | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.rb.rb_left | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.rb.rb_right | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.size | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.stack | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.start | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.subtree_max_hole | 0 |
| DATA_SOURCE | 1 | obj | $0 |
| STR_LEN | 1 | obj->dev | (-1) |
| MEM_ZERO | 1 | &obj->vma_node | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | obj->filp->f_mode | 33554432,34078720-571342855[c] |
| USER_DATA | 1 | obj->size | 4096-u64max[c] |
| NO_OVERFLOW_SIMPLE | 1 | obj->dev->mode_config.num_colorop | |
| NO_OVERFLOW_SIMPLE | 1 | obj->dev->mode_config.num_crtc | |
| NO_OVERFLOW_SIMPLE | 1 | obj->dev->mode_config.num_total_plane | |
| NO_OVERFLOW_SIMPLE | 1 | obj->dev->num_crtcs | |
| HALF_LOCKED2 | &dev->object_name_lock | ||
| HALF_LOCKED2 | &file_priv->prime.lock |
drivers/gpu/drm/msm/msm_gem.c msm_gem_init_bookkeeping() -> drm_gem_lru_move_tail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lru | 4096-ptr_max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->_resv.fences | 0 |
| PARAM_VALUE | 1 | obj->_resv.lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | obj->_resv.lock.base.first_waiter | 0 |
| PARAM_VALUE | 1 | obj->_resv.lock.base.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->_resv.lock.base.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | obj->_resv.lock.base.owner.counter | 0 |
| PARAM_VALUE | 1 | obj->_resv.lock.ctx | 0 |
| PARAM_VALUE | 1 | obj->_resv.lock.ww_class | 8825623990767841280 |
| PARAM_VALUE | 1 | obj->_resv.lock.ww_class->acquire_name | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->_resv.lock.ww_class->is_wait_die | 0-s32max |
| PARAM_VALUE | 1 | obj->_resv.lock.ww_class->mutex_name | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->filp | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->filp->f_mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->filp->f_mapping->gfp_mask | 1051842 |
| PARAM_VALUE | 1 | obj->funcs | 5087983624411111424 |
| PARAM_VALUE | 1 | obj->funcs->close | 5929623982670094336 |
| PARAM_VALUE | 1 | obj->funcs->evict | 0 |
| PARAM_VALUE | 1 | obj->funcs->export | 3531667440264126464 |
| PARAM_VALUE | 1 | obj->funcs->free | 6127232841074860032 |
| PARAM_VALUE | 1 | obj->funcs->get_sg_table | 5697414582266654720 |
| PARAM_VALUE | 1 | obj->funcs->mmap | 61060320377487360 |
| PARAM_VALUE | 1 | obj->funcs->open | 3821838207613083648 |
| PARAM_VALUE | 1 | obj->funcs->pin | 4200757751008706560 |
| PARAM_VALUE | 1 | obj->funcs->print_info | 0 |
| PARAM_VALUE | 1 | obj->funcs->rss | 0 |
| PARAM_VALUE | 1 | obj->funcs->status | 5734366281981706240 |
| PARAM_VALUE | 1 | obj->funcs->unpin | 9216817752547971072 |
| PARAM_VALUE | 1 | obj->funcs->vm_ops | 7081306367532695552 |
| PARAM_VALUE | 1 | obj->funcs->vmap | 4970124851484504064 |
| PARAM_VALUE | 1 | obj->funcs->vunmap | 3155453207110467584 |
| PARAM_VALUE | 1 | obj->gpuva.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | obj->gpuva.lock.first_waiter | 0 |
| PARAM_VALUE | 1 | obj->gpuva.lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->gpuva.lock.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | obj->gpuva.lock.owner.counter | 0 |
| PARAM_VALUE | 1 | obj->handle_count | 0 |
| PARAM_VALUE | 1 | obj->import_attach | 0 |
| PARAM_VALUE | 1 | obj->lru_node.next | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->lru_node.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->lru_node.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->lru_node.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->lru_node.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | obj->resv | 1-u64max |
| PARAM_VALUE | 1 | obj->resv->fences | 0 |
| PARAM_VALUE | 1 | obj->resv->lock.base.first_waiter | 0 |
| PARAM_VALUE | 1 | obj->resv->lock.base.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->resv->lock.base.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | obj->resv->lock.base.owner.counter | 0 |
| PARAM_VALUE | 1 | obj->resv->lock.ctx | 0 |
| PARAM_VALUE | 1 | obj->resv->lock.ww_class | 8825623990767841280 |
| PARAM_VALUE | 1 | obj->size | 4096-u64max |
| PARAM_VALUE | 1 | obj->vma_node.driver_private | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_lock.magic | 3736018669 |
| PARAM_VALUE | 1 | obj->vma_node.vm_lock.owner | (-1) |
| PARAM_VALUE | 1 | obj->vma_node.vm_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | obj->vma_node.vm_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.__subtree_last | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.color | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.flags | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.hole_size | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.hole_stack.next | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.hole_stack.prev | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.mm | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.node_list.next | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.node_list.prev | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.rb.rb_left | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.rb.rb_right | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.size | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.stack | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.start | 0 |
| PARAM_VALUE | 1 | obj->vma_node.vm_node.subtree_max_hole | 0 |
| DATA_SOURCE | 1 | obj | $0 |
| STR_LEN | 1 | obj->dev | (-1) |
| MEM_ZERO | 1 | &obj->vma_node | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | obj->filp->f_mode | 33554432,34078720-571342855[c] |
| USER_DATA | 1 | obj->size | 4096-u64max[c] |
| NO_OVERFLOW_SIMPLE | 1 | obj->dev->mode_config.num_colorop | |
| NO_OVERFLOW_SIMPLE | 1 | obj->dev->mode_config.num_crtc | |
| NO_OVERFLOW_SIMPLE | 1 | obj->dev->mode_config.num_total_plane | |
| NO_OVERFLOW_SIMPLE | 1 | obj->dev->num_crtcs | |
| HALF_LOCKED2 | &dev->clientlist_mutex | ||
| HALF_LOCKED2 | &helper->lock |