Home
last modified time | relevance | path

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

/Linux-v5.4/tools/lib/api/fd/
Darray.h19 struct fdarray { struct
30 void fdarray__init(struct fdarray *fda, int nr_autogrow); argument
31 void fdarray__exit(struct fdarray *fda);
33 struct fdarray *fdarray__new(int nr_alloc, int nr_autogrow);
34 void fdarray__delete(struct fdarray *fda);
36 int fdarray__add(struct fdarray *fda, int fd, short revents);
37 int fdarray__poll(struct fdarray *fda, int timeout);
38 int fdarray__filter(struct fdarray *fda, short revents,
39 void (*entry_destructor)(struct fdarray *fda, int fd, void *arg),
41 int fdarray__grow(struct fdarray *fda, int extra);
[all …]
Darray.c12 void fdarray__init(struct fdarray *fda, int nr_autogrow) in fdarray__init()
20 int fdarray__grow(struct fdarray *fda, int nr) in fdarray__grow()
43 struct fdarray *fdarray__new(int nr_alloc, int nr_autogrow) in fdarray__new()
45 struct fdarray *fda = calloc(1, sizeof(*fda)); in fdarray__new()
59 void fdarray__exit(struct fdarray *fda) in fdarray__exit()
66 void fdarray__delete(struct fdarray *fda) in fdarray__delete()
72 int fdarray__add(struct fdarray *fda, int fd, short revents) in fdarray__add()
86 int fdarray__filter(struct fdarray *fda, short revents, in fdarray__filter()
87 void (*entry_destructor)(struct fdarray *fda, int fd, void *arg), in fdarray__filter()
114 int fdarray__poll(struct fdarray *fda, int timeout) in fdarray__poll()
[all …]
/Linux-v5.4/tools/perf/tests/
Dfdarray.c7 static void fdarray__init_revents(struct fdarray *fda, short revents) in fdarray__init_revents()
19 static int fdarray__fprintf_prefix(struct fdarray *fda, const char *prefix, FILE *fp) in fdarray__fprintf_prefix()
33 struct fdarray *fda = fdarray__new(5, 5); in test__fdarray__filter()
111 struct fdarray *fda = fdarray__new(2, 2); in test__fdarray__add()
DBuild15 perf-y += fdarray.o
/Linux-v5.4/tools/perf/lib/include/internal/
Devlist.h23 struct fdarray pollfd;
/Linux-v5.4/tools/perf/
Dbuiltin-kvm.c985 struct fdarray *fda = &kvm->evlist->core.pollfd; in kvm_events_live_report()
/Linux-v5.4/tools/perf/util/
Devlist.c406 static void perf_evlist__munmap_filtered(struct fdarray *fda, int fd, in perf_evlist__munmap_filtered()