Documented in 1 files:
Defined in 1 files as a function:
Referenced in 13 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c, line 1330
- drivers/gpu/drm/drm_drv.c, line 252
- drivers/gpu/drm/drm_gem.c, line 1281
- drivers/gpu/drm/drm_gem_dma_helper.c, line 359
- drivers/gpu/drm/drm_ioctl.c
- drivers/gpu/drm/i915/gem/i915_gem_mman.c
- drivers/gpu/drm/panthor/panthor_device.c, line 73
- drivers/gpu/drm/xe/xe_bo.c
- drivers/gpu/drm/xe/xe_device.c, line 354
- drivers/gpu/drm/xen/xen_drm_front.c, line 556
- drivers/gpu/drm/xen/xen_drm_front_conn.c, line 53
Smatch caller information:
drivers/gpu/drm/xe/xe_device.c xe_mmap() -> drm_dev_is_unplugged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | &ipcp->lock |
drivers/gpu/drm/xen/xen_drm_front_conn.c connector_detect() -> drm_dev_is_unplugged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->mode_config.helper_private->atomic_commit_tail | 0,113,4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1),3696 |
| BUF_SIZE | 0 | dev | (-1),3696 |
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->num_crtcs | |
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | &dev->mode_config.mutex | ||
| HALF_LOCKED2 | 0 | &dev->mode_config.connection_mutex | |
| TYPE_LOCK | (struct drm_mode_config)->connection_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c amdgpu_bo_release_notify() -> drm_dev_is_unplugged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &bo->base._resv | ||
| TYPE_LOCK | (struct drm_gem_object)->_resv |
drivers/gpu/drm/drm_ioctl.c drm_ioctl() -> drm_dev_is_unplugged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | dev | unit_byte |
drivers/gpu/drm/drm_ioctl.c drm_ioctl_kernel() -> drm_dev_is_unplugged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | dev | unit_byte |
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c amdgpu_fence_driver_hw_fini() -> drm_dev_is_unplugged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c amdgpu_fence_driver_hw_fini() -> drm_dev_is_unplugged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/drm_drv.c drm_minor_acquire() -> drm_dev_is_unplugged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->anon_inode->i_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,2632,2648 |
| PARAM_VALUE | 0 | dev->anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | dev->anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | dev->anon_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->inode_info_offs | 1632,1720,2632,2648 |
| PARAM_VALUE | 0 | dev->mode_config.helper_private->atomic_commit_tail | 0,113,234517204248432640,264416658693812224,1002985563129995264,1135616218159751168,1435312838172803072,1559742614509715456,1682444203744997376,2792895115794366464,3649211429048074240,4264110321136541696,4348468181405868032-s64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/gpu/drm/xe/xe_bo.c xe_bo_move_dmabuf() -> drm_dev_is_unplugged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | ttm_bo->base.resv |
drivers/gpu/drm/xe/xe_bo.c xe_evict_flags() -> drm_dev_is_unplugged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/panthor/panthor_device.c panthor_device_unplug() -> drm_dev_is_unplugged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ptdev->unplug.lock | ||
| HALF_LOCKED2 | &_dev->mutex | ||
| TYPE_LOCK | (struct panthor_device)->unplug.lock |
drivers/gpu/drm/drm_gem.c drm_gem_object_lookup_at_offset() -> drm_dev_is_unplugged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_gem_object_close() -> drm_dev_is_unplugged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->object_name_lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_gem_object_close() -> drm_dev_is_unplugged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->object_name_lock |
drivers/gpu/drm/xen/xen_drm_front.c xen_drm_drv_fini() -> drm_dev_is_unplugged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->reclaim_sem | ||
| HALF_LOCKED2 | global &xenwatch_mutex |
drivers/gpu/drm/i915/gem/i915_gem_mman.c i915_gem_fb_mmap() -> drm_dev_is_unplugged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 3696 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &info->mm_lock | ||
| HALF_LOCKED2 | &ipcp->lock | ||
| TYPE_LOCK | (struct fb_info)->mm_lock |
drivers/gpu/drm/i915/gem/i915_gem_mman.c i915_gem_mmap() -> drm_dev_is_unplugged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | &ipcp->lock |