Home
last modified time | relevance | path

Searched refs:fdarray (Results 1 – 8 of 8) sorted by relevance

/linux/tools/lib/api/fd/
A Darray.h19 struct fdarray { struct
38 void fdarray__init(struct fdarray *fda, int nr_autogrow); argument
39 void fdarray__exit(struct fdarray *fda);
41 struct fdarray *fdarray__new(int nr_alloc, int nr_autogrow);
42 void fdarray__delete(struct fdarray *fda);
45 int fdarray__poll(struct fdarray *fda, int timeout);
46 int fdarray__filter(struct fdarray *fda, short revents,
47 void (*entry_destructor)(struct fdarray *fda, int fd, void *arg),
49 int fdarray__grow(struct fdarray *fda, int extra);
50 int fdarray__fprintf(struct fdarray *fda, FILE *fp);
[all …]
A Darray.c13 void fdarray__init(struct fdarray *fda, int nr_autogrow) in fdarray__init()
21 int fdarray__grow(struct fdarray *fda, int nr) in fdarray__grow()
47 struct fdarray *fdarray__new(int nr_alloc, int nr_autogrow) in fdarray__new()
49 struct fdarray *fda = calloc(1, sizeof(*fda)); in fdarray__new()
63 void fdarray__exit(struct fdarray *fda) in fdarray__exit()
70 void fdarray__delete(struct fdarray *fda) in fdarray__delete()
76 int fdarray__add(struct fdarray *fda, int fd, short revents, enum fdarray_flags flags) in fdarray__add()
91 int fdarray__filter(struct fdarray *fda, short revents, in fdarray__filter()
92 void (*entry_destructor)(struct fdarray *fda, int fd, void *arg), in fdarray__filter()
119 int fdarray__poll(struct fdarray *fda, int timeout) in fdarray__poll()
[all …]
/linux/tools/perf/tests/
A Dfdarray.c7 static void fdarray__init_revents(struct fdarray *fda, short revents) in fdarray__init_revents()
20 static int fdarray__fprintf_prefix(struct fdarray *fda, const char *prefix, FILE *fp) in fdarray__fprintf_prefix()
34 struct fdarray *fda = fdarray__new(5, 5); in test__fdarray__filter()
95 struct fdarray *fda = fdarray__new(2, 2); in test__fdarray__add()
A DBuild15 perf-y += fdarray.o
/linux/tools/lib/perf/include/internal/
A Devlist.h26 struct fdarray pollfd;
/linux/tools/lib/perf/
A Devlist.c329 static void perf_evlist__munmap_filtered(struct fdarray *fda, int fd, in perf_evlist__munmap_filtered()
/linux/tools/perf/
A Dbuiltin-daemon.c1257 struct fdarray fda; in __cmd_start()
A Dbuiltin-kvm.c985 struct fdarray *fda = &kvm->evlist->core.pollfd; in kvm_events_live_report()

Completed in 15 milliseconds