fdarray
int fdarray__filter(struct fdarray *fda, short revents,
void (*entry_destructor)(struct fdarray *fda, int fd, void *arg),
void fdarray__init(struct fdarray *fda, int nr_autogrow)
int fdarray__poll(struct fdarray *fda, int timeout)
int fdarray__fprintf(struct fdarray *fda, FILE *fp)
int fdarray__grow(struct fdarray *fda, int nr)
struct fdarray *fdarray__new(int nr_alloc, int nr_autogrow)
struct fdarray *fda = calloc(1, sizeof(*fda));
void fdarray__exit(struct fdarray *fda)
void fdarray__delete(struct fdarray *fda)
int fdarray__add(struct fdarray *fda, int fd, short revents, enum fdarray_flags flags)
int fdarray__dup_entry_from(struct fdarray *fda, int pos, struct fdarray *from)
void fdarray__init(struct fdarray *fda, int nr_autogrow);
void fdarray__exit(struct fdarray *fda);
struct fdarray *fdarray__new(int nr_alloc, int nr_autogrow);
void fdarray__delete(struct fdarray *fda);
int fdarray__add(struct fdarray *fda, int fd, short revents, enum fdarray_flags flags);
int fdarray__dup_entry_from(struct fdarray *fda, int pos, struct fdarray *from);
int fdarray__poll(struct fdarray *fda, int timeout);
int fdarray__filter(struct fdarray *fda, short revents,
void (*entry_destructor)(struct fdarray *fda, int fd, void *arg),
int fdarray__grow(struct fdarray *fda, int extra);
int fdarray__fprintf(struct fdarray *fda, FILE *fp);
static inline int fdarray__available_entries(struct fdarray *fda)
static void perf_evlist__munmap_filtered(struct fdarray *fda, int fd,
struct fdarray pollfd;
struct fdarray fda;
struct fdarray *fda = &kvm->evlist->core.pollfd;
struct fdarray pollfd;
struct fdarray *fda = &evlist->core.pollfd;
static void record__thread_munmap_filtered(struct fdarray *fda, int fd,
struct fdarray *pollfd;
static int fdarray__fprintf_prefix(struct fdarray *fda, const char *prefix, FILE *fp)
struct fdarray *fda = fdarray__new(5, 5);
static void fdarray__init_revents(struct fdarray *fda, short revents)
struct fdarray *fda = fdarray__new(2, 2);