Home
last modified time | relevance | path

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

/linux-6.6.21/tools/lib/api/fd/
Darray.h19 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),
[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__dup_entry_from(struct fdarray *fda, int pos, struct fdarray *from) in fdarray__dup_entry_from()
108 int fdarray__filter(struct fdarray *fda, short revents, in fdarray__filter()
109 void (*entry_destructor)(struct fdarray *fda, int fd, void *arg), in fdarray__filter()
[all …]
/linux-6.6.21/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()
DBuild16 perf-y += fdarray.o
/linux-6.6.21/tools/lib/perf/include/internal/
Devlist.h32 struct fdarray pollfd;
/linux-6.6.21/tools/lib/perf/
Devlist.c353 static void perf_evlist__munmap_filtered(struct fdarray *fda, int fd, in perf_evlist__munmap_filtered()
/linux-6.6.21/tools/perf/
Dbuiltin-record.c108 struct fdarray pollfd;
1130 struct fdarray *fda = &evlist->core.pollfd; in record__dup_non_perf_events()
1617 static void record__thread_munmap_filtered(struct fdarray *fda, int fd, in record__thread_munmap_filtered()
1630 struct fdarray *pollfd; in record__thread()
Dbuiltin-daemon.c1257 struct fdarray fda; in __cmd_start()
Dbuiltin-kvm.c1506 struct fdarray *fda = &kvm->evlist->core.pollfd; in kvm_events_live_report()