summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/xen/evtchn.h
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-25 19:24:38 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-25 20:35:03 +0100
commita984eb367c032dbe2577f01238c3d1268526be70 (patch)
tree437fef40379b2758b129ccea39df3570fa2d145e /include/arch/x86_64/xen/evtchn.h
parent8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff)
Clang-tidy fixes
Diffstat (limited to 'include/arch/x86_64/xen/evtchn.h')
-rw-r--r--include/arch/x86_64/xen/evtchn.h21
1 files changed, 7 insertions, 14 deletions
diff --git a/include/arch/x86_64/xen/evtchn.h b/include/arch/x86_64/xen/evtchn.h
index fbba8441..959bac91 100644
--- a/include/arch/x86_64/xen/evtchn.h
+++ b/include/arch/x86_64/xen/evtchn.h
@@ -38,8 +38,7 @@
* Bind a fresh port to VIRQ @virq.
* Return allocated port.
*/
-#define IOCTL_EVTCHN_BIND_VIRQ \
- _IOC(_IOC_NONE, 'E', 0, sizeof(struct ioctl_evtchn_bind_virq))
+#define IOCTL_EVTCHN_BIND_VIRQ _IOC(_IOC_NONE, 'E', 0, sizeof(struct ioctl_evtchn_bind_virq))
struct ioctl_evtchn_bind_virq {
unsigned int virq;
};
@@ -48,8 +47,7 @@ struct ioctl_evtchn_bind_virq {
* Bind a fresh port to remote <@remote_domain, @remote_port>.
* Return allocated port.
*/
-#define IOCTL_EVTCHN_BIND_INTERDOMAIN \
- _IOC(_IOC_NONE, 'E', 1, sizeof(struct ioctl_evtchn_bind_interdomain))
+#define IOCTL_EVTCHN_BIND_INTERDOMAIN _IOC(_IOC_NONE, 'E', 1, sizeof(struct ioctl_evtchn_bind_interdomain))
struct ioctl_evtchn_bind_interdomain {
unsigned int remote_domain, remote_port;
};
@@ -58,8 +56,7 @@ struct ioctl_evtchn_bind_interdomain {
* Allocate a fresh port for binding to @remote_domain.
* Return allocated port.
*/
-#define IOCTL_EVTCHN_BIND_UNBOUND_PORT \
- _IOC(_IOC_NONE, 'E', 2, sizeof(struct ioctl_evtchn_bind_unbound_port))
+#define IOCTL_EVTCHN_BIND_UNBOUND_PORT _IOC(_IOC_NONE, 'E', 2, sizeof(struct ioctl_evtchn_bind_unbound_port))
struct ioctl_evtchn_bind_unbound_port {
unsigned int remote_domain;
};
@@ -67,8 +64,7 @@ struct ioctl_evtchn_bind_unbound_port {
/*
* Unbind previously allocated @port.
*/
-#define IOCTL_EVTCHN_UNBIND \
- _IOC(_IOC_NONE, 'E', 3, sizeof(struct ioctl_evtchn_unbind))
+#define IOCTL_EVTCHN_UNBIND _IOC(_IOC_NONE, 'E', 3, sizeof(struct ioctl_evtchn_unbind))
struct ioctl_evtchn_unbind {
unsigned int port;
};
@@ -76,8 +72,7 @@ struct ioctl_evtchn_unbind {
/*
* Unbind previously allocated @port.
*/
-#define IOCTL_EVTCHN_NOTIFY \
- _IOC(_IOC_NONE, 'E', 4, sizeof(struct ioctl_evtchn_notify))
+#define IOCTL_EVTCHN_NOTIFY _IOC(_IOC_NONE, 'E', 4, sizeof(struct ioctl_evtchn_notify))
struct ioctl_evtchn_notify {
unsigned int port;
};
@@ -94,8 +89,7 @@ struct ioctl_evtchn_notify {
* which were bound before restricting remain bound afterwards, and
* can be notified as usual.
*/
-#define IOCTL_EVTCHN_RESTRICT_DOMID \
- _IOC(_IOC_NONE, 'E', 6, sizeof(struct ioctl_evtchn_restrict_domid))
+#define IOCTL_EVTCHN_RESTRICT_DOMID _IOC(_IOC_NONE, 'E', 6, sizeof(struct ioctl_evtchn_restrict_domid))
struct ioctl_evtchn_restrict_domid {
domid_t domid;
};
@@ -103,8 +97,7 @@ struct ioctl_evtchn_restrict_domid {
/*
* Bind statically allocated @port.
*/
-#define IOCTL_EVTCHN_BIND_STATIC \
- _IOC(_IOC_NONE, 'E', 7, sizeof(struct ioctl_evtchn_bind))
+#define IOCTL_EVTCHN_BIND_STATIC _IOC(_IOC_NONE, 'E', 7, sizeof(struct ioctl_evtchn_bind))
struct ioctl_evtchn_bind {
unsigned int port;
};