Home | History | Annotate | Download | only in qemu

Lines Matching defs:IoLooper

1 #include "iolooper.h"
4 /* An implementation of iolooper.h based on Unix select() */
13 struct IoLooper {
22 IoLooper*
25 IoLooper* iol = malloc(sizeof(*iol));
31 iolooper_free( IoLooper* iol )
37 iolooper_reset( IoLooper* iol )
46 iolooper_add_fd( IoLooper* iol, int fd )
54 iolooper_del_fd( IoLooper* iol, int fd )
61 iolooper_modify( IoLooper* iol, int fd, int oldflags, int newflags )
84 iolooper_fd_count( IoLooper* iol )
106 iolooper_add_read( IoLooper* iol, int fd )
115 iolooper_add_write( IoLooper* iol, int fd )
124 iolooper_del_read( IoLooper* iol, int fd )
133 iolooper_del_write( IoLooper* iol, int fd )
142 iolooper_poll( IoLooper* iol )
168 iolooper_wait( IoLooper* iol, int64_t duration )
204 iolooper_is_read( IoLooper* iol, int fd )
210 iolooper_is_write( IoLooper* iol, int fd )
216 iolooper_has_operations( IoLooper* iol )
230 iolooper_wait_absolute(IoLooper* iol, int64_t deadline)