Defined in 2 files as a function:
- drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c, line 61 (as a function)
- drivers/vfio/platform/vfio_platform_irq.c, line 182 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/vfio/platform/vfio_platform_irq.c vfio_platform_set_irq_trigger() -> vfio_set_trigger()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->igate.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vdev->igate.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vdev->igate.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vdev->igate.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | vdev->igate.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vdev->igate.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vdev->igate.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vdev->igate.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vdev->irqs | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->num_irqs | 1-s32max |
| PARAM_VALUE | 1 | index | s32min-(-2),0-s32max |
| PARAM_VALUE | 2 | fd | (-1) |
| CAPPED_DATA | 0 | vdev->num_irqs | 1 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | vdev | $0 |
| DATA_SOURCE | 1 | index | $1 |
| USER_DATA | 1 | index | 0-s32max[c] |
| UNITS | 1 | index | unit_array_size |
| LOCK2 | 0 | &vdev->igate | |
| TYPE_LOCK | (struct vfio_platform_device)->igate |
drivers/vfio/platform/vfio_platform_irq.c vfio_platform_set_irq_trigger() -> vfio_set_trigger()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->igate.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vdev->igate.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vdev->igate.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vdev->igate.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | vdev->igate.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vdev->igate.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vdev->igate.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vdev->igate.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vdev->irqs | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->num_irqs | 1-s32max |
| PARAM_VALUE | 1 | index | s32min-(-2),0-s32max |
| CAPPED_DATA | 0 | vdev->num_irqs | 1 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | vdev | $0 |
| DATA_SOURCE | 1 | index | $1 |
| USER_DATA | 1 | index | 0-s32max[c] |
| USER_DATA | 2 | fd | s32min-s32max |
| UNITS | 1 | index | unit_array_size |
| LOCK2 | 0 | &vdev->igate | |
| TYPE_LOCK | (struct vfio_platform_device)->igate |
drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c vfio_fsl_mc_irqs_cleanup() -> vfio_set_trigger()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->mc_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->mc_dev->mc_io->spinlock.owner | (-1) |
| PARAM_VALUE | 0 | vdev->mc_dev->mc_io->spinlock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vdev->mc_irqs | 1-u64max |
| PARAM_VALUE | 0 | vdev->regions | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0-254 |
| PARAM_VALUE | 2 | fd | (-1) |
| CAPPED_DATA | 0 | vdev->mc_dev->obj_desc.region_count | 1 |
| CAPPED_DATA | 0 | vdev->regions | 1 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | vdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | index | unit_array_size |
| LOCK2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &device->group->group_lock | ||
| TYPE_LOCK | (struct vfio_device_set)->lock |
drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c vfio_fsl_mc_set_irq_trigger() -> vfio_set_trigger()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->igate.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vdev->igate.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vdev->igate.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vdev->igate.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | vdev->igate.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vdev->igate.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vdev->igate.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vdev->igate.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vdev->mc_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | s32min-(-2),0-s32max |
| PARAM_VALUE | 2 | fd | (-1) |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | vdev | $0 |
| DATA_SOURCE | 1 | index | $1 |
| USER_DATA | 1 | index | 0-s32max[c] |
| UNITS | 1 | index | unit_array_size |
| LOCK2 | 0 | &vdev->igate | |
| TYPE_LOCK | (struct vfio_fsl_mc_device)->igate |
drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c vfio_fsl_mc_set_irq_trigger() -> vfio_set_trigger()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->igate.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vdev->igate.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vdev->igate.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vdev->igate.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | vdev->igate.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vdev->igate.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vdev->igate.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vdev->igate.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vdev->mc_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->vdev.dev_set | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->vdev.dev_set->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vdev->vdev.dev_set->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vdev->vdev.dev_set->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vdev->vdev.dev_set->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vdev->vdev.dev_set->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | vdev->vdev.dev_set->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | vdev->vdev.dev_set->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | vdev->vdev.dev_set->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | vdev->vdev.dev_set->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vdev->vdev.dev_set->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | index | s32min-(-2),0-s32max |
| CAPPED_DATA | 0 | &vdev->vdev.dev_set->lock | 1 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | vdev | $0 |
| DATA_SOURCE | 1 | index | $1 |
| NOSPEC | 1 | index | |
| NOSPEC | 1 | index | |
| USER_DATA | 1 | index | 0-s32max[c] |
| USER_DATA | 2 | fd | s32min-s32max |
| UNITS | 1 | index | unit_array_size |
| LOCK2 | 0 | &vdev->igate | |
| TYPE_LOCK | (struct vfio_fsl_mc_device)->igate |