projects
/
xeon-phi-kernel-module
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c34c9df
)
Minor formatting changes in host/vhost/vhost.h.
author
Aaron Taylor
<ataylor@subgeniuskitty.com>
Fri, 30 Apr 2021 21:23:50 +0000
(14:23 -0700)
committer
Aaron Taylor
<ataylor@subgeniuskitty.com>
Fri, 30 Apr 2021 21:23:50 +0000
(14:23 -0700)
host/vhost/vhost.h
patch
|
blob
|
blame
|
history
diff --git
a/host/vhost/vhost.h
b/host/vhost/vhost.h
index
365667e
..
0b7fcc1
100644
(file)
--- a/
host/vhost/vhost.h
+++ b/
host/vhost/vhost.h
@@
-32,23
+32,23
@@
struct vhost_work;
typedef void (*vhost_work_fn_t)(struct vhost_work *work);
struct vhost_work {
typedef void (*vhost_work_fn_t)(struct vhost_work *work);
struct vhost_work {
- struct list_head
node;
- vhost_work_fn_t
fn;
- wait_queue_head_t
done;
- int
flushing;
- unsigned
queue_seq;
- unsigned
done_seq;
+ struct list_head node;
+ vhost_work_fn_t fn;
+ wait_queue_head_t done;
+ int flushing;
+ unsigned queue_seq;
+ unsigned done_seq;
};
/* Poll a file (eventfd or socket) */
/* Note: there's nothing vhost specific about this structure. */
struct vhost_poll {
};
/* Poll a file (eventfd or socket) */
/* Note: there's nothing vhost specific about this structure. */
struct vhost_poll {
- poll_table
table;
- wait_queue_head_t
*wqh;
- wait_queue_entry_t
wait;
- struct vhost_work
work;
- unsigned long
mask;
- struct vhost_dev
*dev;
+ poll_table table;
+ wait_queue_head_t *wqh;
+ wait_queue_entry_t wait;
+ struct vhost_work work;
+ unsigned long mask;
+ struct vhost_dev *dev;
};
void vhost_poll_init(struct vhost_poll *poll, vhost_work_fn_t fn,
};
void vhost_poll_init(struct vhost_poll *poll, vhost_work_fn_t fn,