Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 32 files:
- arch/x86/kvm/hyperv.c
- arch/x86/kvm/xen.c
- drivers/accel/habanalabs/common/device.c, line 537
- drivers/accel/habanalabs/common/habanalabs_ioctl.c, line 801
- drivers/fpga/dfl.c
- drivers/gpu/drm/drm_syncobj.c
- drivers/gpu/drm/i915/gvt/kvmgt.c, line 696
- drivers/hv/mshv_eventfd.c
- drivers/hv/mshv_vtl_main.c, line 996
- drivers/infiniband/hw/mlx5/devx.c
- drivers/misc/ocxl/file.c
- drivers/s390/cio/vfio_ccw_ops.c
- drivers/s390/crypto/vfio_ap_ops.c
- drivers/usb/gadget/function/f_fs.c, line 2304
- drivers/vdpa/vdpa_user/vduse_dev.c
- drivers/vfio/cdx/intr.c
- drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c
- drivers/vfio/pci/vfio_pci_core.c
- drivers/vfio/pci/vfio_pci_intrs.c
- drivers/vfio/platform/vfio_platform_irq.c
- drivers/vfio/virqfd.c
- drivers/vhost/vdpa.c
- drivers/vhost/vhost.c
- drivers/virt/acrn/ioeventfd.c
- drivers/virt/acrn/irqfd.c
- drivers/xen/privcmd.c
- fs/aio.c, line 1159
- fs/eventfd.c
- io_uring/eventfd.c, line 32
- mm/memcontrol-v1.c
- samples/vfio-mdev/mtty.c
- virt/kvm/eventfd.c
Smatch caller information:
drivers/vfio/pci/vfio_pci_intrs.c vfio_intx_disable() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &vdev->igate |
drivers/vfio/pci/vfio_pci_intrs.c vfio_intx_set_signal() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &vdev->igate |
drivers/vfio/pci/vfio_pci_intrs.c vfio_msi_set_vector_signal() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ctx | unit_byte |
| HALF_LOCKED2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &vdev->igate |
drivers/vfio/pci/vfio_pci_intrs.c vfio_msi_set_vector_signal() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fdget |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &vdev->igate |
drivers/vfio/pci/vfio_pci_intrs.c vfio_pci_set_ctx_trigger_single() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fdget |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &vdev->igate |
drivers/vfio/pci/vfio_pci_intrs.c vfio_pci_set_intx_trigger() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fdget |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &vdev->igate |
drivers/vfio/pci/vfio_pci_core.c __vfio_pci_runtime_pm_exit() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &vdev->memory_lock | ||
| TYPE_LOCK | (struct vfio_pci_core_device)->memory_lock |
drivers/vfio/pci/vfio_pci_core.c vfio_pci_core_pm_entry_with_wakeup() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fdget |
| NOCHECK_CALL |
drivers/vfio/pci/vfio_pci_core.c vfio_pci_eventfd_rcu_free() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu |
drivers/accel/habanalabs/common/device.c hpriv_release() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/vfio/platform/vfio_platform_irq.c vfio_platform_irq_cleanup() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| 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_irq.c vfio_set_trigger() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| NOCHECK_CALL | |||
| LOCK2 | &vdev->igate | ||
| TYPE_LOCK | (struct vfio_platform_device)->igate |
drivers/vhost/vhost.c vhost_dev_cleanup() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/vhost/vhost.c vhost_dev_cleanup() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/vhost/vhost.c vhost_dev_cleanup() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/vhost/vhost.c vhost_dev_ioctl() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &n->dev.mutex | ||
| HALF_LOCKED2 | &vs->dev.mutex | ||
| HALF_LOCKED2 | &vsock->dev.mutex | ||
| TYPE_LOCK | (struct vhost_dev)->mutex |
drivers/vhost/vhost.c vhost_vring_ioctl() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &vq->mutex | ||
| HALF_LOCKED2 | &d->mutex | ||
| HALF_LOCKED2 | &n->dev.mutex | ||
| HALF_LOCKED2 | &vs->dev.mutex | ||
| HALF_LOCKED2 | &vsock->dev.mutex | ||
| TYPE_LOCK | (struct vhost_dev)->mutex | ||
| TYPE_LOCK | (struct vhost_virtqueue)->mutex |
drivers/virt/acrn/ioeventfd.c acrn_ioeventfd_assign() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fdget |
| NOCHECK_CALL |
drivers/virt/acrn/ioeventfd.c acrn_ioeventfd_deassign() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ctx | 1 |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fdget |
| NOCHECK_CALL |
drivers/virt/acrn/ioeventfd.c acrn_ioeventfd_shutdown() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &vm->ioeventfds_lock | ||
| TYPE_LOCK | (struct acrn_vm)->ioeventfds_lock |
drivers/vhost/vdpa.c vhost_vdpa_config_put() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &d->mutex | ||
| TYPE_LOCK | (struct vhost_dev)->mutex |
drivers/vhost/vdpa.c vhost_vdpa_set_config_call() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &d->mutex | ||
| TYPE_LOCK | (struct vhost_dev)->mutex |
fs/aio.c iocb_destroy() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c vfio_set_trigger() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &vdev->igate |
drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c vfio_set_trigger() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fdget |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &vdev->igate | ||
| TYPE_LOCK | (struct vfio_fsl_mc_device)->igate |
drivers/fpga/dfl.c do_set_irq_trigger() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fdata->lock | ||
| TYPE_LOCK | (struct dfl_feature_dev_data)->lock |
drivers/fpga/dfl.c do_set_irq_trigger() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fdget |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fdata->lock | ||
| TYPE_LOCK | (struct dfl_feature_dev_data)->lock |
drivers/gpu/drm/i915/gvt/kvmgt.c intel_vgpu_release_msi_eventfd_ctx() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &device->dev_set->lock |
drivers/virt/acrn/irqfd.c acrn_irqfd_assign() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fileget |
| NOCHECK_CALL |
drivers/virt/acrn/irqfd.c acrn_irqfd_deassign() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ctx | 1 |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fdget |
| NOCHECK_CALL |
drivers/virt/acrn/irqfd.c hsm_irqfd_shutdown_work() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
arch/x86/kvm/xen.c kvm_xen_destroy_vm() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &kvm->lock |
arch/x86/kvm/xen.c kvm_xen_eventfd_assign() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fdget |
| NOCHECK_CALL |
arch/x86/kvm/xen.c kvm_xen_eventfd_deassign() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
arch/x86/kvm/xen.c kvm_xen_eventfd_reset() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
arch/x86/kvm/../../../virt/kvm/eventfd.c ioeventfd_release() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &kvm->lock |
arch/x86/kvm/../../../virt/kvm/eventfd.c irqfd_shutdown() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
arch/x86/kvm/../../../virt/kvm/eventfd.c irqfd_shutdown() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
arch/x86/kvm/../../../virt/kvm/eventfd.c kvm_assign_ioeventfd_idx() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fdget |
| NOCHECK_CALL |
arch/x86/kvm/../../../virt/kvm/eventfd.c kvm_deassign_ioeventfd_idx() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ctx | 1 |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fdget |
| NOCHECK_CALL |
arch/x86/kvm/../../../virt/kvm/eventfd.c kvm_irqfd_assign() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fdget |
| NOCHECK_CALL |
arch/x86/kvm/../../../virt/kvm/eventfd.c kvm_irqfd_assign() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fileget |
| NOCHECK_CALL |
arch/x86/kvm/../../../virt/kvm/eventfd.c kvm_irqfd_deassign() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ctx | 1 |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fdget |
| NOCHECK_CALL |
arch/x86/kvm/hyperv.c kvm_hv_destroy_vm() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| DATA_SOURCE | 0 | ctx | r idr_get_next |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &kvm->lock |
arch/x86/kvm/hyperv.c kvm_hv_eventfd_assign() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fdget |
| NOCHECK_CALL |
arch/x86/kvm/hyperv.c kvm_hv_eventfd_deassign() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| DATA_SOURCE | 0 | ctx | r idr_remove |
| NOCHECK_CALL |
fs/eventfd.c eventfd_release() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->wqh.lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | ctx | (-1),26 |
| BUF_SIZE | 0 | ctx | (-1),26 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
io_uring/eventfd.c io_eventfd_free() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu |
drivers/vdpa/vdpa_user/vduse_dev.c vduse_dev_reset() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &vq->kick_lock | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &vdpa->cf_lock | ||
| HALF_LOCKED2 | global &vduse_lock | ||
| TYPE_LOCK | (struct vduse_virtqueue)->kick_lock |
drivers/vdpa/vdpa_user/vduse_dev.c vduse_kickfd_setup() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &vq->kick_lock | ||
| TYPE_LOCK | (struct vduse_virtqueue)->kick_lock |
drivers/xen/privcmd.c ioeventfd_free() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &kioreq->lock | ||
| LOCK2 | flags | ||
| LOCK2 | global &ioreq_lock | ||
| TYPE_LOCK | (struct privcmd_kernel_ioreq)->lock |
drivers/xen/privcmd.c irqfd_shutdown() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/xen/privcmd.c privcmd_ioeventfd_assign() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ctx | 1 |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fdget |
| NOCHECK_CALL |
drivers/xen/privcmd.c privcmd_ioeventfd_deassign() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ctx | 1 |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fdget |
| NOCHECK_CALL |
drivers/xen/privcmd.c privcmd_irqfd_assign() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ctx | 1 |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fileget |
| NOCHECK_CALL |
drivers/xen/privcmd.c privcmd_irqfd_deassign() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ctx | 1 |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fdget |
| NOCHECK_CALL |
drivers/vfio/virqfd.c vfio_virqfd_enable() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fileget |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &vdev->igate | ||
| HALF_LOCKED2 | &vdev->ioeventfds_lock |
drivers/vfio/virqfd.c virqfd_shutdown() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/vfio/cdx/intr.c vfio_cdx_msi_set_vector_signal() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &device->dev_set->lock |
drivers/vfio/cdx/intr.c vfio_cdx_msi_set_vector_signal() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fdget |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &device->dev_set->lock |
drivers/gpu/drm/drm_syncobj.c drm_syncobj_eventfd_ioctl() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fdget |
| NOCHECK_CALL |
drivers/gpu/drm/drm_syncobj.c syncobj_eventfd_entry_free() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &syncobj->lock |
drivers/infiniband/hw/mlx5/devx.c devx_free_subscription() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu |
drivers/infiniband/hw/mlx5/devx.c mlx5_ib_handler_MLX5_IB_METHOD_DEVX_SUBSCRIBE_EVENT() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| NOCHECK_CALL | |||
| LOCK2 | &devx_event_table->event_xa_lock | ||
| TYPE_LOCK | (struct mlx5_devx_event_table)->event_xa_lock |
drivers/usb/gadget/function/f_fs.c ffs_data_clear() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
samples/vfio-mdev/mtty.c mtty_disable_intx() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &mdev_state->ops_lock |
samples/vfio-mdev/mtty.c mtty_disable_msi() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &mdev_state->ops_lock |
drivers/accel/habanalabs/common/habanalabs_ioctl.c eventfd_unregister() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| NOCHECK_CALL | |||
| LOCK2 | &hpriv->notifier_event.lock | ||
| TYPE_LOCK | (struct hl_notifier_event)->lock |
mm/memcontrol-v1.c memcg_event_remove() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
mm/memcontrol-v1.c memcg_write_event_control() -> eventfd_ctx_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctx | r eventfd_ctx_fileget |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |