Lines Matching refs:evtchn
1621 u32 port = data->u.evtchn.send_port; in kvm_xen_eventfd_update()
1635 if (evtchnfd->type != data->u.evtchn.type) in kvm_xen_eventfd_update()
1643 evtchnfd->deliver.port.port != data->u.evtchn.deliver.port.port) in kvm_xen_eventfd_update()
1647 if (data->u.evtchn.deliver.port.priority != KVM_IRQ_ROUTING_XEN_EVTCHN_PRIO_2LEVEL) in kvm_xen_eventfd_update()
1651 evtchnfd->deliver.port.priority = data->u.evtchn.deliver.port.priority; in kvm_xen_eventfd_update()
1652 if (evtchnfd->deliver.port.vcpu_id != data->u.evtchn.deliver.port.vcpu) { in kvm_xen_eventfd_update()
1653 evtchnfd->deliver.port.vcpu_id = data->u.evtchn.deliver.port.vcpu; in kvm_xen_eventfd_update()
1667 u32 port = data->u.evtchn.send_port; in kvm_xen_eventfd_assign()
1679 switch(data->u.evtchn.type) { in kvm_xen_eventfd_assign()
1682 if (data->u.evtchn.deliver.port.port != data->u.evtchn.send_port) in kvm_xen_eventfd_assign()
1687 if (data->u.evtchn.deliver.port.port) { in kvm_xen_eventfd_assign()
1688 if (data->u.evtchn.deliver.port.port >= max_evtchn_port(kvm)) in kvm_xen_eventfd_assign()
1691 eventfd = eventfd_ctx_fdget(data->u.evtchn.deliver.eventfd.fd); in kvm_xen_eventfd_assign()
1707 evtchnfd->send_port = data->u.evtchn.send_port; in kvm_xen_eventfd_assign()
1708 evtchnfd->type = data->u.evtchn.type; in kvm_xen_eventfd_assign()
1713 if (data->u.evtchn.deliver.port.priority != KVM_IRQ_ROUTING_XEN_EVTCHN_PRIO_2LEVEL) in kvm_xen_eventfd_assign()
1716 evtchnfd->deliver.port.port = data->u.evtchn.deliver.port.port; in kvm_xen_eventfd_assign()
1717 evtchnfd->deliver.port.vcpu_id = data->u.evtchn.deliver.port.vcpu; in kvm_xen_eventfd_assign()
1719 evtchnfd->deliver.port.priority = data->u.evtchn.deliver.port.priority; in kvm_xen_eventfd_assign()
1778 u32 port = data->u.evtchn.send_port; in kvm_xen_setattr_evtchn()
1780 if (data->u.evtchn.flags == KVM_XEN_EVTCHN_RESET) in kvm_xen_setattr_evtchn()
1786 if (data->u.evtchn.flags == KVM_XEN_EVTCHN_DEASSIGN) in kvm_xen_setattr_evtchn()
1788 if (data->u.evtchn.flags == KVM_XEN_EVTCHN_UPDATE) in kvm_xen_setattr_evtchn()
1790 if (data->u.evtchn.flags) in kvm_xen_setattr_evtchn()