Lines Matching refs:fdarray
19 struct fdarray { struct
39 void fdarray__init(struct fdarray *fda, int nr_autogrow); argument
40 void fdarray__exit(struct fdarray *fda);
42 struct fdarray *fdarray__new(int nr_alloc, int nr_autogrow);
43 void fdarray__delete(struct fdarray *fda);
45 int fdarray__add(struct fdarray *fda, int fd, short revents, enum fdarray_flags flags);
46 int fdarray__dup_entry_from(struct fdarray *fda, int pos, struct fdarray *from);
47 int fdarray__poll(struct fdarray *fda, int timeout);
48 int fdarray__filter(struct fdarray *fda, short revents,
49 void (*entry_destructor)(struct fdarray *fda, int fd, void *arg),
51 int fdarray__grow(struct fdarray *fda, int extra);
52 int fdarray__fprintf(struct fdarray *fda, FILE *fp);
54 static inline int fdarray__available_entries(struct fdarray *fda) in fdarray__available_entries()