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

1 2 3 4

  /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);
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;
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
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
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);
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);
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_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...]
  /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);
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");
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...]
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) {
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/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...]
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);

Completed in 108 milliseconds

1 2 3 4