Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/accel/ethosu/ethosu_gem.c, line 18
- drivers/gpu/drm/armada/armada_gem.c, line 49
- drivers/gpu/drm/drm_gem.c
- drivers/gpu/drm/drm_gem_shmem_helper.c, line 548
- drivers/gpu/drm/i915/gem/i915_gem_object.c, line 397
- drivers/gpu/drm/msm/msm_gem.c, line 847
- drivers/gpu/drm/virtio/virtgpu_object.c, line 91
Smatch caller information:
drivers/accel/ethosu/ethosu_gem.c ethosu_gem_free_object() -> drm_gem_free_mmap_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| NOCHECK_CALL |
drivers/gpu/drm/i915/gem/i915_gem_object.c __i915_gem_free_object() -> drm_gem_free_mmap_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/drm_gem.c drm_gem_object_release() -> drm_gem_free_mmap_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->_resv.lock.base.magic | 0 |
| 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->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->filp | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->filp->f_cred->process_keyring->user->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->filp->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | obj->filp->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | obj->filp->f_cred->rcu.func | 1-u64max |
| PARAM_VALUE | 0 | obj->filp->f_cred->request_key_auth->user->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->filp->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | obj->filp->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | obj->filp->f_cred->session_keyring->user->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->filp->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | obj->filp->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | obj->filp->f_cred->thread_keyring->user->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->filp->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | obj->filp->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | obj->filp->f_cred->ucounts->ns->work.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->filp->f_cred->user->uidhash_node->next->pprev | 1-u64max |
| PARAM_VALUE | 0 | obj->filp->f_cred->user->uidhash_node.next->pprev | 1-u64max |
| PARAM_VALUE | 0 | obj->filp->f_cred->user_ns->work.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->filp->f_cred->user_ns->work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->filp->f_task_work.func | 5179756662909861888 |
| PARAM_VALUE | 0 | obj->filp->f_task_work.next | 0-7661163036167163903,7661163036167163905-u64max |
| PARAM_VALUE | 0 | obj->funcs->free | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->gpuva.lock.magic | 0 |
| BUF_SIZE | 0 | obj | (-1),704 |
| BUF_SIZE | 0 | obj | (-1),704 |
| BUF_SIZE | 0 | obj->funcs | (-1),120 |
| CAPPED_DATA | 0 | obj->_resv.fences | 1 |
| CAPPED_DATA | 0 | obj->filp | 1 |
| DATA_SOURCE | 0 | obj | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | obj->filp->f_mode | 33554432,34078720-571342855[c] |
| 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] |
| 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 | &dev->object_name_lock | ||
| HALF_LOCKED2 | &drm->object_name_lock | ||
| HALF_LOCKED2 | &file_priv->prime.lock | ||
| HALF_LOCKED2 | robj |
drivers/gpu/drm/virtio/virtgpu_object.c virtio_gpu_cleanup_object() -> drm_gem_free_mmap_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/drm_gem_shmem_helper.c drm_gem_shmem_purge_locked() -> drm_gem_free_mmap_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->dev->anon_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->dev->anon_inode->i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792 |
| PARAM_VALUE | 0 | obj->dev->anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200 |
| PARAM_VALUE | 0 | obj->dev->anon_inode->i_mapping->i_mmap_rwsem.dep_map->name | 0-255 |
| 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->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | obj->dev->anon_inode->i_mapping->i_mmap_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | obj->dev->anon_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | obj->dev->dev | 4096-ptr_max |
| BUF_SIZE | 0 | obj | 704 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bo->mappings.lock | ||
| HALF_LOCKED2 | &pfdev->shrinker_lock | ||
| HALF_LOCKED2 | obj->resv | ||
| HALF_LOCKED2 | shmem->base.resv |
drivers/gpu/drm/msm/msm_gem.c msm_gem_purge() -> drm_gem_free_mmap_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->dev->anon_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->dev->anon_inode->i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792 |
| PARAM_VALUE | 0 | obj->dev->anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200 |
| PARAM_VALUE | 0 | obj->dev->anon_inode->i_mapping->i_mmap_rwsem.dep_map->name | 0-255 |
| 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->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | obj->dev->anon_inode->i_mapping->i_mmap_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | obj->dev->anon_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| 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.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| 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->lru | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->lru->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->lru_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->resv->fences | 0,4096-ptr_max |
| DATA_SOURCE | 0 | obj | $0 |
| NOCHECK_CALL |