Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/vfio/platform/vfio_platform_common.c vfio_platform_close_device() -> vfio_platform_regions_cleanup()

Type Parameter Key Value
PARAM_VALUE 0 vdev 4096-ptr_max
PARAM_VALUE 0 vdev->device 0,4096-ptr_max
PARAM_VALUE 0 vdev->device->bus 0,4096-ptr_max
PARAM_VALUE 0 vdev->device->class 0,4096-ptr_max
PARAM_VALUE 0 vdev->device->driver 0,4096-ptr_max
PARAM_VALUE 0 vdev->device->power.request 0-4
PARAM_VALUE 0 vdev->device->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 vdev->device->power.runtime_status 0,2
PARAM_VALUE 0 vdev->device->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 vdev->of_reset 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &device->dev_set->lock
HALF_LOCKED2 &device->group->group_lock
TYPE_LOCK (struct vfio_device_set)->lock

drivers/vfio/platform/vfio_platform_common.c vfio_platform_open_device() -> vfio_platform_regions_cleanup()

Type Parameter Key Value
PARAM_VALUE 0 vdev 4096-ptr_max
PARAM_VALUE 0 vdev->device 4096-ptr_max
PARAM_VALUE 0 vdev->device->bus 0,4096-ptr_max
PARAM_VALUE 0 vdev->device->class 0,4096-ptr_max
PARAM_VALUE 0 vdev->device->power.request 0-4
PARAM_VALUE 0 vdev->device->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 vdev->device->power.runtime_status 0,2
PARAM_VALUE 0 vdev->device->power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 vdev->device->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 vdev->device->type 0,4096-ptr_max
PARAM_VALUE 0 vdev->get_irq 4096-ptr_max
PARAM_VALUE 0 vdev->get_resource 4096-ptr_max
PARAM_VALUE 0 vdev->irqs 0,16,4096-ptr_max
PARAM_VALUE 0 vdev->num_irqs 0-s32max
PARAM_VALUE 0 vdev->num_regions 0-s32max
PARAM_VALUE 0 vdev->of_reset 0,4096-ptr_max
PARAM_VALUE 0 vdev->regions 16,4096-ptr_max
CAPPED_DATA 0 vdev->regions 1
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 vdev->num_irqs
NO_OVERFLOW_SIMPLE 0 vdev->num_regions
LOCK2 &device->dev_set->lock
HALF_LOCKED2 &device->group->group_lock
TYPE_LOCK (struct vfio_device_set)->lock