HomeSort by: relevance | last modified time | path
    Searched defs:rfd (Results 1 - 25 of 49) sorted by relevancy

1 2

  /src/lib/libc/db/recno/
rec_open.c 67 int rfd = -1; /* pacify gcc */ local
73 if ((rfd = __dbopen(fname, flags, mode, NULL)) == -1)
118 t->bt_rfd = rfd;
127 if (lseek(rfd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE) {
135 slow: if ((t->bt_rfp = fdopen(rfd, "r")) == NULL)
151 if (fstat(rfd, &sb))
175 PROT_READ, MAP_FILE | MAP_PRIVATE, rfd,
220 (void)close(rfd);
  /src/crypto/external/apache2/openssl/dist/include/internal/
rio_notifier.h 37 int rfd, wfd; member in struct:rio_notifier_st
66 return nfy->rfd;
  /src/external/gpl3/gcc/dist/gcc/
opts-jobserver.h 49 int rfd = -1; member in struct:jobserver_info
  /src/external/gpl3/gcc.old/dist/gcc/
opts-jobserver.h 37 int rfd = -1; member in struct:jobserver_info
  /src/tests/kernel/kqueue/read/
t_fifo.c 78 int rfd, wfd, kq; local
84 ATF_REQUIRE((rfd = open(fifo_path, O_RDONLY | O_NONBLOCK)) >= 0);
95 EV_SET(&event[0], rfd, EVFILT_READ, EV_ADD|EV_ENABLE, 0, 0, 0);
106 ATF_REQUIRE(event[0].ident == (uintptr_t)rfd);
111 ATF_REQUIRE(read(rfd, buf, 1) == 1);
119 ATF_REQUIRE(event[0].ident == (uintptr_t)rfd);
131 (void)close(rfd);
  /src/tests/kernel/kqueue/write/
t_fifo.c 78 int rfd, wfd, kq; local
84 ATF_REQUIRE((rfd = open(fifo_path, O_RDONLY | O_NONBLOCK)) >= 0);
117 ATF_REQUIRE(read(rfd, buf, 1) == 1);
130 ATF_REQUIRE(read(rfd, buf, pipe_buf - 1) == pipe_buf - 1);
136 (void)close(rfd);
  /src/tests/lib/libc/sys/
t_posix_fadvise.c 127 int rfd, ret; local
130 RL(rfd = rump_sys_open("/a_file", O_CREAT, 0666));
132 CE(rump_sys_posix_fadvise(rfd, 0, 0, POSIX_FADV_NORMAL), 0);
133 CE(rump_sys_posix_fadvise(rfd, 0, 0, POSIX_FADV_SEQUENTIAL), 0);
134 CE(rump_sys_posix_fadvise(rfd, 0, 0, POSIX_FADV_RANDOM), 0);
135 CE(rump_sys_posix_fadvise(rfd, 0, 0, POSIX_FADV_WILLNEED), 0);
136 CE(rump_sys_posix_fadvise(rfd, 0, 0, POSIX_FADV_NOREUSE), 0);
138 CE(rump_sys_posix_fadvise(rfd,
140 CE(rump_sys_posix_fadvise(rfd,
142 CE(rump_sys_posix_fadvise(rfd,
    [all...]
t_poll.c 275 int rfd, wfd; local
283 RL(rfd = open(fifo_path, O_RDONLY | O_NONBLOCK));
293 pfd[0].fd = rfd;
319 RL(nread = read(rfd, buf, 1));
341 RL(nread = read(rfd, buf, 1));
361 RL(nread = read(rfd, buf, pipe_buf - 1));
373 while (read(rfd, buf, pipe_buf) != -1) {
386 RL(close(rfd));
404 int rfd, wfd; local
410 RL(rfd = open(fifo_path, O_RDONLY | O_NONBLOCK))
454 int rfd, wfd; local
    [all...]
  /src/usr.sbin/wsmuxctl/
wsmuxctl.c 82 int i, rfd; local
101 rfd = open(buf, O_WRONLY, 0);
102 if (rfd < 0)
104 listdevs(rfd, rec, ind+2);
105 close(rfd);
  /src/tests/include/sys/
t_socket.c 90 int rfd, fd[2], storage; local
170 rfd = *(int *)CMSG_DATA(cmp);
174 if (rump_sys_read(rfd, buf, sizeof(buf)) == -1)
175 atf_tc_fail_errno("read rfd");
  /src/sys/dev/ic/
i82596.c 183 * list already processed / the number of the RFD that has to be checked for
186 * cluster is allocated and the RFD / RBD are reinitialized accordingly.
188 * When a RFD list overrun occurred the whole RFD and RBD lists are
196 struct iee_rfd *rfd; local
214 rfd = SC_RFD(sc, sc->sc_rx_done);
217 status = rfd->rfd_status;
222 rfd->rfd_status = 0;
296 rfd = SC_RFD(sc, n);
298 rfd->rfd_cmd = IEE_RFD_SF
    [all...]
  /src/usr.sbin/mdsetimage/
mdsetimage.c 187 int rfd; local
192 rfd = kfd;
197 rfd = fsfd;
204 if ((rv = read(rfd, buf, todo)) != todo) {
  /src/crypto/external/apache2/openssl/dist/ssl/quic/
quic_reactor.c 225 * Usage: rfd and wfd may be the same or different. Either or both may also be
226 * -1. If rfd_want_read is 1, rfd is polled for readability, and if
245 static int poll_two_fds(int rfd, int rfd_want_read,
262 if (rfd >= FD_SETSIZE || wfd >= FD_SETSIZE)
270 if (rfd != INVALID_SOCKET && rfd_want_read)
271 openssl_fdset(rfd, &rfd_set);
276 if (rfd != INVALID_SOCKET)
277 openssl_fdset(rfd, &efd_set);
287 maxfd = rfd;
293 if (!ossl_assert(rfd != INVALID_SOCKET || wfd != INVALID_SOCKE
429 int rfd, wfd; local
    [all...]
  /src/crypto/external/apache2/openssl/dist/ssl/rio/
rio_notifier.c 149 int rc, lfd = -1, rfd = -1, wfd = -1; local
225 rfd = accept(lfd, (struct sockaddr *)&accept_sa, &accept_sa_len);
226 if (rfd == INVALID_SOCKET) {
254 if (!BIO_socket_nbio(rfd, 1)) {
266 nfy->rfd = rfd;
275 if (rfd != INVALID_SOCKET)
276 BIO_closesocket(rfd);
323 nfy->rfd = fds[0];
337 if (nfy->rfd < 0
    [all...]
  /src/external/bsd/wpa/dist/src/common/
wpa_helpers.c 104 fd_set rfd; local
118 FD_ZERO(&rfd);
119 FD_SET(fd, &rfd);
122 ret = select(fd + 1, &rfd, NULL, NULL, &tv);
  /src/usr.sbin/pf/pfs/
pfs.c 176 int rfd; local
183 rfd = open(filename, O_RDONLY, 0600);
184 if (rfd == -1)
187 if (read(rfd, &nb_states, sizeof(nb_states)) != sizeof(nb_states)) {
189 close(rfd);
198 close(rfd);
206 if (read(rfd, &p[i], sizeof(*p)) != sizeof(*p)) {
208 close(rfd);
217 close(rfd);
224 close(rfd);
    [all...]
  /src/external/bsd/nvi/dist/common/
recover.c 824 int nr, nw, off, rfd; local
827 if ((rfd = open(fname, O_RDONLY, 0)) == -1)
829 while ((nr = read(rfd, buf, sizeof(buf))) > 0)
exf.c 1037 int flags, maxnum, nr, num, nw, rfd, wfd, version; local
1045 rfd = wfd = -1;
1056 if ((rfd = open(name, O_RDONLY, 0)) < 0) {
1092 (void)close(rfd);
1176 while ((nr = read(rfd, buf, sizeof(buf))) > 0)
1187 if (close(rfd)) {
1202 err: if (rfd != -1)
1203 (void)close(rfd);
  /src/external/bsd/unbound/dist/testcode/
dohclient.c 262 fd_set rfd; variable
274 memset(&rfd, 0, sizeof(rfd));
275 FD_ZERO(&rfd); variable
276 FD_SET(h2_session->fd, &rfd);
277 r = select(h2_session->fd+1, &rfd, NULL, NULL, waittv);
streamtcp.c 383 fd_set rfd; local
385 memset(&rfd, 0, sizeof(rfd));
387 FD_ZERO(&rfd);
388 FD_SET(fd, &rfd);
391 ret = select(fd+1, &rfd, NULL, NULL, waittv);
  /src/external/bsd/ipf/dist/l4check/
l4check.c 279 fd_set rfd, wfd; local
331 FD_ZERO(&rfd);
348 FD_SET(l4->l4_fd, &rfd);
373 i = select(mfd + 1, &rfd, &wfd, NULL, &tv);
384 if (FD_ISSET(l4->l4_fd, &rfd)) {
  /src/sys/kern/
uipc_syscalls.c 1275 unsigned rfd, wfd; local
1289 error = fsocreate(AF_LOCAL, &rso, SOCK_STREAM|soflags, 0, &rfd, &rf,
1329 fd_affix(p, rf, rfd);
1330 fildes[0] = rfd;
1338 fd_abort(p, rf, rfd);
  /src/sys/arch/acorn32/podulebus/
if_ie.c 760 struct ie_recv_frame_desc rfd; local
761 memset( &rfd, 0, sizeof rfd );
765 rfd.ie_fd_next = ptr + sizeof rfd;
766 host2ie(sc, (char *)&rfd, ptr, sizeof rfd); local
767 ptr += sizeof rfd;
769 rfd.ie_fd_next = sc->rframes[0];
770 rfd.ie_fd_last |= IE_FD_LAST
771 host2ie(sc, (char *)&rfd, sc->rframes[NFRAMES-1], sizeof rfd ); local
775 host2ie(sc, (char *)&rfd, sc->rframes[0], sizeof rfd ); local
1239 struct ie_recv_frame_desc rfd; local
    [all...]
  /src/crypto/external/bsd/openssh/dist/
channels.h 140 int rfd; /* read fd */ member in struct:Channel
146 int pfds[4]; /* pollfd entries for rfd/wfd/efd/sock */
151 int isatty; /* rfd is a tty */
  /src/external/gpl3/binutils/dist/include/coff/
sym.h 294 * If the rfd field is 4095, the index field indexes into the global symbol
299 unsigned rfd : 12; /* index into the file indirect table */ member in struct:__anon10400
306 * a rfd of 0xffffffff is an index into the global table.
309 unsigned long rfd; /* index into the file table */ member in struct:__anon10401

Completed in 64 milliseconds

1 2