projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ringtest: commonize implementation of poll_avail/poll_used
[cascardo/linux.git]
/
tools
/
virtio
/
ringtest
/
main.h
diff --git
a/tools/virtio/ringtest/main.h
b/tools/virtio/ringtest/main.h
index
16917ac
..
34e63cc
100644
(file)
--- a/
tools/virtio/ringtest/main.h
+++ b/
tools/virtio/ringtest/main.h
@@
-56,15
+56,15
@@
void alloc_ring(void);
int add_inbuf(unsigned, void *, void *);
void *get_buf(unsigned *, void **);
void disable_call();
int add_inbuf(unsigned, void *, void *);
void *get_buf(unsigned *, void **);
void disable_call();
+bool used_empty();
bool enable_call();
void kick_available();
bool enable_call();
void kick_available();
-void poll_used();
/* host side */
void disable_kick();
/* host side */
void disable_kick();
+bool avail_empty();
bool enable_kick();
bool use_buf(unsigned *, void **);
void call_used();
bool enable_kick();
bool use_buf(unsigned *, void **);
void call_used();
-void poll_avail();
/* implemented by main */
extern bool do_sleep;
/* implemented by main */
extern bool do_sleep;