Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 44 files:

Smatch caller information:

drivers/gpu/drm/xlnx/zynqmp_kms.c zynqmp_dpsub_drm_cleanup() -> drm_dev_unplug()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
BUF_SIZE 0 dev 3696
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex

drivers/gpu/drm/xe/xe_device.c xe_device_remove() -> drm_dev_unplug()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/gpu/drm/sysfb/efidrm.c efidrm_remove() -> drm_dev_unplug()

Type Parameter Key Value
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte
HALF_LOCKED2 &_dev->mutex

drivers/gpu/drm/sysfb/corebootdrm.c corebootdrm_remove() -> drm_dev_unplug()

Type Parameter Key Value
BUF_SIZE 0 dev 3696
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex

drivers/gpu/drm/tiny/ili9486.c ili9486_remove() -> drm_dev_unplug()

Type Parameter Key Value
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte
HALF_LOCKED2 &dev->mutex

drivers/gpu/drm/tiny/appletbdrm.c appletbdrm_disconnect() -> drm_dev_unplug()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
BUF_SIZE 0 dev 3696
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/tiny/cirrus-qemu.c cirrus_pci_remove() -> drm_dev_unplug()

Type Parameter Key Value
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte

drivers/gpu/drm/solomon/ssd130x.c ssd130x_remove() -> drm_dev_unplug()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->mutex
TYPE_LOCK (struct device)->mutex

drivers/gpu/drm/sitronix/st7571.c st7571_remove() -> drm_dev_unplug()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->mutex
TYPE_LOCK (struct device)->mutex

drivers/gpu/drm/tiny/pixpaper.c pixpaper_remove() -> drm_dev_unplug()

Type Parameter Key Value
PARAM_VALUE 0 dev 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/gpu/drm/sitronix/st7735r.c st7735r_remove() -> drm_dev_unplug()

Type Parameter Key Value
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte
HALF_LOCKED2 &dev->mutex

drivers/gpu/drm/tiny/ili9341.c ili9341_remove() -> drm_dev_unplug()

Type Parameter Key Value
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte
HALF_LOCKED2 &dev->mutex

drivers/gpu/drm/sysfb/simpledrm.c simpledrm_remove() -> drm_dev_unplug()

Type Parameter Key Value
BUF_SIZE 0 dev 3696
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex

drivers/gpu/drm/vc4/vc4_drv.c vc4_drm_unbind() -> drm_dev_unplug()

Type Parameter Key Value
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte
LOCK2 global &component_mutex

drivers/gpu/drm/tiny/mi0283qt.c mi0283qt_remove() -> drm_dev_unplug()

Type Parameter Key Value
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte
HALF_LOCKED2 &dev->mutex

drivers/gpu/drm/virtio/virtgpu_drv.c virtio_gpu_remove() -> drm_dev_unplug()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev_private 4096-ptr_max
PARAM_VALUE 0 dev->dev_private->vqs_released 1
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte
HALF_LOCKED2 &_d->mutex

drivers/gpu/drm/virtio/virtgpu_drv.c virtio_gpu_shutdown() -> drm_dev_unplug()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev_private 4096-ptr_max
PARAM_VALUE 0 dev->dev_private->vqs_released 1
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte
LOCK2 &_d->mutex
HALF_LOCKED2 &parent->mutex
HALF_LOCKED2 global &system_transition_mutex
TYPE_LOCK (struct device)->mutex

drivers/gpu/drm/tiny/ili9225.c ili9225_remove() -> drm_dev_unplug()

Type Parameter Key Value
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte
HALF_LOCKED2 &dev->mutex

drivers/gpu/drm/i915/i915_driver.c i915_driver_unregister() -> drm_dev_unplug()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->primary 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/tiny/repaper.c repaper_remove() -> drm_dev_unplug()

Type Parameter Key Value
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte
HALF_LOCKED2 &dev->mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c amdgpu_pci_remove() -> drm_dev_unplug()

Type Parameter Key Value
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte

drivers/gpu/drm/tiny/hx8357d.c hx8357d_remove() -> drm_dev_unplug()

Type Parameter Key Value
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte
HALF_LOCKED2 &dev->mutex

drivers/gpu/drm/sitronix/st7920.c st7920_remove() -> drm_dev_unplug()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/gpu/drm/tiny/bochs.c bochs_pci_remove() -> drm_dev_unplug()

Type Parameter Key Value
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte

drivers/gpu/drm/tiny/ili9163.c ili9163_remove() -> drm_dev_unplug()

Type Parameter Key Value
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte
HALF_LOCKED2 &dev->mutex

drivers/gpu/drm/panthor/panthor_device.c panthor_device_unplug() -> drm_dev_unplug()

Type Parameter Key Value
PARAM_VALUE 0 dev->dev 4096-ptr_max
PARAM_VALUE 0 dev->unplugged 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ptdev->unplug.lock
HALF_LOCKED2 &_dev->mutex
TYPE_LOCK (struct panthor_device)->unplug.lock

drivers/gpu/drm/udl/udl_drv.c udl_usb_disconnect() -> drm_dev_unplug()

Type Parameter Key Value
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte

drivers/accel/ivpu/ivpu_drv.c ivpu_remove() -> drm_dev_unplug()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/hyperv/hyperv_drm_drv.c hv_drm_vmbus_remove() -> drm_dev_unplug()

Type Parameter Key Value
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte
HALF_LOCKED2 &child_device->mutex

drivers/gpu/drm/sitronix/st7586.c st7586_remove() -> drm_dev_unplug()

Type Parameter Key Value
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte
HALF_LOCKED2 &dev->mutex

drivers/gpu/drm/tiny/gm12u320.c gm12u320_usb_disconnect() -> drm_dev_unplug()

Type Parameter Key Value
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte

drivers/accel/amdxdna/amdxdna_pci_drv.c amdxdna_remove() -> drm_dev_unplug()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/sysfb/vesadrm.c vesadrm_remove() -> drm_dev_unplug()

Type Parameter Key Value
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte
HALF_LOCKED2 &_dev->mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c amdgpu_xcp_dev_unplug() -> drm_dev_unplug()

Type Parameter Key Value
PARAM_VALUE 0 dev 1-u64max
PARAM_VALUE 0 dev->anon_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 dev->anon_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 dev->dev->power.wakeirq->status 0-4294967295
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/tiny/panel-mipi-dbi.c panel_mipi_dbi_spi_remove() -> drm_dev_unplug()

Type Parameter Key Value
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte
HALF_LOCKED2 &dev->mutex

drivers/gpu/drm/imx/dc/dc-drv.c dc_drm_unbind() -> drm_dev_unplug()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
BUF_SIZE 0 dev 3696
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &component_mutex

drivers/gpu/drm/sysfb/ofdrm.c ofdrm_remove() -> drm_dev_unplug()

Type Parameter Key Value
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte
HALF_LOCKED2 &_dev->mutex

drivers/gpu/drm/xen/xen_drm_front.c xen_drm_drv_fini() -> drm_dev_unplug()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.poll_enabled 0
PARAM_VALUE 0 dev->unplugged 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->reclaim_sem
HALF_LOCKED2 global &xenwatch_mutex

drivers/gpu/drm/tiny/sharp-memory.c sharp_memory_remove() -> drm_dev_unplug()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/gpu/drm/nouveau/nouveau_drm.c nouveau_drm_device_remove() -> drm_dev_unplug()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_halt() -> drm_dev_unplug()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
BUF_SIZE 0 dev 3696
DATA_SOURCE 0 dev r adev_to_drm
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ctl->lock

drivers/gpu/drm/gud/gud_drv.c gud_disconnect() -> drm_dev_unplug()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.poll_enabled 0
BUF_SIZE 0 dev 3696
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL