Home
last modified time | relevance | path

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

/linux-6.1.9/tools/lib/api/fd/
Darray.c76 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()
Darray.h45 int fdarray__add(struct fdarray *fda, int fd, short revents, enum fdarray_flags flags);
/linux-6.1.9/tools/perf/tests/
Dfdarray.c115 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);
Dtests.h113 DECLARE_SUITE(fdarray__add);
/linux-6.1.9/tools/perf/
Dbuiltin-daemon.c1307 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()
Dbuiltin-record.c1192 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/
Devlist.c328 int pos = fdarray__add(&evlist->pollfd, fd, revent | POLLERR | POLLHUP, flags); in perf_evlist__add_pollfd()