Home
last modified time | relevance | path

Searched refs:iol (Results 1 – 2 of 2) sorted by relevance

/external/qemu/
Diolooper-select.c24 IoLooper* iol = qemu_malloc(sizeof(*iol)); in iolooper_new() local
25 iolooper_reset(iol); in iolooper_new()
26 return iol; in iolooper_new()
30 iolooper_free( IoLooper* iol ) in iolooper_free() argument
32 qemu_free(iol); in iolooper_free()
36 iolooper_reset( IoLooper* iol ) in iolooper_reset() argument
38 FD_ZERO(iol->reads); in iolooper_reset()
39 FD_ZERO(iol->writes); in iolooper_reset()
40 iol->max_fd = -1; in iolooper_reset()
41 iol->max_fd_valid = 1; in iolooper_reset()
[all …]
Diolooper.h11 void iolooper_free( IoLooper* iol );
12 void iolooper_reset( IoLooper* iol );
14 void iolooper_add_read( IoLooper* iol, int fd );
15 void iolooper_add_write( IoLooper* iol, int fd );
16 void iolooper_del_read( IoLooper* iol, int fd );
17 void iolooper_del_write( IoLooper* iol, int fd );
19 int iolooper_poll( IoLooper* iol );
20 int iolooper_wait( IoLooper* iol, int64_t duration );
22 int iolooper_is_read( IoLooper* iol, int fd );
23 int iolooper_is_write( IoLooper* iol, int fd );