Searched refs:fdarray__add (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/tools/lib/api/fd/ |
D | array.c | 76 int fdarray__add(struct fdarray *fda, int fd, short revents, enum fdarray_flags flags) in fdarray__add() function 101 npos = fdarray__add(fda, entry->fd, entry->events, from->priv[pos].flags); in fdarray__dup_entry_from()
|
D | array.h | 45 int fdarray__add(struct fdarray *fda, int fd, short revents, enum fdarray_flags flags);
|
/linux-6.1.9/tools/perf/tests/ |
D | fdarray.c | 115 if (fdarray__add(fda, _fd, _revents, fdarray_flag__default) < 0) { \ in test__fdarray__add() 163 DEFINE_SUITE("Add fd to a fdarray, making it autogrow", fdarray__add);
|
D | tests.h | 113 DECLARE_SUITE(fdarray__add);
|
/linux-6.1.9/tools/perf/ |
D | builtin-daemon.c | 1307 sock_pos = fdarray__add(&fda, sock_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start() 1311 file_pos = fdarray__add(&fda, conf_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start() 1315 signal_pos = fdarray__add(&fda, signal_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start()
|
D | builtin-record.c | 1192 ret = fdarray__add(&thread_data[t].pollfd, thread_data[t].pipes.msg[0], in record__alloc_thread_data()
|
/linux-6.1.9/tools/lib/perf/ |
D | evlist.c | 328 int pos = fdarray__add(&evlist->pollfd, fd, revent | POLLERR | POLLHUP, flags); in perf_evlist__add_pollfd()
|