Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/lib/api/fd/
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);
44 int fdarray__add(struct fdarray *fda, int fd, short revents, enum fdarray_flags flags);
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);
[all …]
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 …]
/kernel/linux/linux-5.10/tools/perf/tests/
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()
DBuild15 perf-y += fdarray.o
/kernel/linux/linux-5.10/tools/lib/perf/include/internal/
Devlist.h25 struct fdarray pollfd;
/kernel/linux/linux-5.10/tools/lib/perf/
Devlist.c323 static void perf_evlist__munmap_filtered(struct fdarray *fda, int fd, in perf_evlist__munmap_filtered()
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-kvm.c985 struct fdarray *fda = &kvm->evlist->core.pollfd; in kvm_events_live_report()