Lines Matching refs:fdevent
70 static void dump_fde(fdevent *fde, const char *info) in dump_fde()
92 static void fdevent_plist_enqueue(fdevent *node);
93 static void fdevent_plist_remove(fdevent *node);
94 static fdevent *fdevent_plist_dequeue(void);
97 static fdevent list_pending = {
102 static fdevent **fd_table = 0;
126 static void fdevent_connect(fdevent *fde) in fdevent_connect()
142 static void fdevent_disconnect(fdevent *fde) in fdevent_disconnect()
158 static void fdevent_update(fdevent *fde, unsigned events) in fdevent_update()
207 fdevent *fde; in fdevent_process()
260 static void fdevent_connect(fdevent *fde) in fdevent_connect()
267 static void fdevent_disconnect(fdevent *fde) in fdevent_disconnect()
281 static void fdevent_update(fdevent *fde, unsigned events) in fdevent_update()
308 fdevent *fde; in fdevent_fd_check()
329 fdevent *fde; in dump_all_fds()
368 fdevent *fde; in fdevent_process()
428 static void fdevent_register(fdevent *fde) in fdevent_register()
446 fd_table = realloc(fd_table, sizeof(fdevent*) * fd_table_max); in fdevent_register()
456 static void fdevent_unregister(fdevent *fde) in fdevent_unregister()
474 static void fdevent_plist_enqueue(fdevent *node) in fdevent_plist_enqueue()
476 fdevent *list = &list_pending; in fdevent_plist_enqueue()
484 static void fdevent_plist_remove(fdevent *node) in fdevent_plist_remove()
492 static fdevent *fdevent_plist_dequeue(void) in fdevent_plist_dequeue()
494 fdevent *list = &list_pending; in fdevent_plist_dequeue()
495 fdevent *node = list->next; in fdevent_plist_dequeue()
507 static void fdevent_call_fdfunc(fdevent* fde) in fdevent_call_fdfunc()
526 fdevent *fde = fd_table[fd]; in fdevent_subproc_event_func()
540 fdevent *subproc_fde = fd_table[subproc_fd]; in fdevent_subproc_event_func()
575 fdevent *fdevent_create(int fd, fd_func func, void *arg) in fdevent_create()
577 fdevent *fde = (fdevent*) malloc(sizeof(fdevent)); in fdevent_create()
584 void fdevent_destroy(fdevent *fde) in fdevent_destroy()
593 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg) in fdevent_install()
595 memset(fde, 0, sizeof(fdevent)); in fdevent_install()
611 void fdevent_remove(fdevent *fde) in fdevent_remove()
628 void fdevent_set(fdevent *fde, unsigned events) in fdevent_set()
654 void fdevent_add(fdevent *fde, unsigned events) in fdevent_add()
660 void fdevent_del(fdevent *fde, unsigned events) in fdevent_del()
674 fdevent *fde; in fdevent_subproc_setup()
683 fdevent *fde; in fdevent_loop()