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

1 2

  /src/crypto/external/apache2/openssl/dist/include/internal/
rio_notifier.h 37 int rfd, wfd; member in struct:rio_notifier_st
  /src/external/gpl3/gcc/dist/gcc/
opts-jobserver.h 51 int wfd = -1; member in struct:jobserver_info
  /src/external/gpl3/gcc.old/dist/gcc/
opts-jobserver.h 39 int wfd = -1; member in struct:jobserver_info
  /src/tests/kernel/kqueue/read/
t_fifo.c 78 int rfd, wfd, kq; local
85 ATF_REQUIRE((wfd = open(fifo_path, O_WRONLY | O_NONBLOCK)) >= 0);
89 pipe_buf = fpathconf(wfd, _PC_PIPE_BUF);
102 ATF_REQUIRE(write(wfd, buf, 1) == 1);
117 (void)close(wfd);
127 ATF_REQUIRE((wfd = open(fifo_path, O_WRONLY | O_NONBLOCK)) >= 0);
130 (void)close(wfd);
  /src/tests/kernel/kqueue/write/
t_fifo.c 78 int rfd, wfd, kq; local
85 ATF_REQUIRE((wfd = open(fifo_path, O_WRONLY | O_NONBLOCK)) >= 0);
89 pipe_buf = fpathconf(wfd, _PC_PIPE_BUF);
95 EV_SET(&event[0], wfd, EVFILT_WRITE, EV_ADD|EV_ENABLE, 0, 0, 0);
100 ATF_REQUIRE(event[0].ident == (uintptr_t)wfd);
108 while (write(wfd, buf, pipe_buf) != -1) {
132 ATF_REQUIRE(event[0].ident == (uintptr_t)wfd);
135 (void)close(wfd);
  /src/external/bsd/ipf/dist/ipsend/
resend.c 81 int fd, wfd = initdevice(dev, 5), len, i; local
84 if (wfd == -1)
137 if (sendip(wfd, (char *)eh, len) == -1)
ipsend.c 156 int wfd; local
158 wfd = initdevice(dev, 5);
159 if (wfd == -1)
161 return send_packet(wfd, mtu, ip, gwip);
  /src/bin/cat/
cat.c 288 int wfd; local
290 wfd = fileno(stdout);
291 if (wfd < 0)
297 if (fstat(wfd, &sbuf) == 0 && sbuf.st_blksize > 0 &&
313 if ((nw = write(wfd, buf + off, (size_t)nr)) < 0)
  /src/usr.bin/last/
want.c 74 int wfd; local
91 wfd = STDIN_FILENO;
93 } else if ((wfd = open(file, O_RDONLY, 0)) < 0) {
97 if (lseek(wfd, 0, SEEK_CUR) < 0) {
115 tlen = read(wfd, buf, len);
126 wfd = tempfd;
129 if (fstat(wfd, &stb) == -1)
148 ret = pread(wfd, buf, size, offset);
  /src/usr.sbin/mdsetimage/
mdsetimage.c 188 int wfd; local
194 wfd = fsfd;
199 wfd = kfd;
210 if ((rv = write(wfd, 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
227 * wfd_want_write is 1, wfd is polled for writability. Note that since any
246 int wfd, int wfd_want_write,
262 if (rfd >= FD_SETSIZE || wfd >= FD_SETSIZE)
272 if (wfd != INVALID_SOCKET && wfd_want_write)
273 openssl_fdset(wfd, &wfd_set);
278 if (wfd != INVALID_SOCKET)
279 openssl_fdset(wfd, &efd_set);
288 if (wfd > maxfd)
289 maxfd = wfd;
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
195 wfd = create_socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
196 if (wfd == INVALID_SOCKET) {
206 if (!BIO_set_tcp_ndelay(wfd, 1)) {
215 rc = connect(wfd, (struct sockaddr *)&sa, sizeof(sa));
232 rc = getsockname(wfd, (struct sockaddr *)&sa, &sa_len);
260 if (!BIO_socket_nbio(wfd, 1)) {
267 nfy->wfd = wfd;
273 if (wfd != INVALID_SOCKET
    [all...]
  /src/usr.sbin/pf/pfs/
pfs.c 124 int wfd; local
132 wfd = open(filename, O_WRONLY|O_TRUNC|O_CREAT, 0600);
133 if (wfd == -1)
138 close(wfd);
146 if (write(wfd, &nb_states, sizeof(nb_states)) != sizeof(nb_states)) {
154 if (write(wfd, &p[i], sizeof(*p)) != sizeof(*p)) {
163 close(wfd);
  /src/external/bsd/ipf/dist/tools/
ipfs.c 398 int wfd = -1; local
403 wfd = open(file, O_WRONLY|O_TRUNC|O_CREAT, 0600);
404 if (wfd == -1) {
427 close(wfd);
432 if (write(wfd, ipsp, sizeof(ips)) != sizeof(ips)) {
434 close(wfd);
438 close(wfd);
  /src/usr.bin/sed/
defs.h 68 int wfd; /* Cached file descriptor */ member in struct:s_subst
  /src/external/bsd/ipf/dist/l4check/
l4check.c 279 fd_set rfd, wfd; local
332 FD_ZERO(&wfd);
365 FD_SET(l4->l4_fd, &wfd);
373 i = select(mfd + 1, &rfd, &wfd, NULL, &tv);
392 if ((l4->l4_fd >= 0) && FD_ISSET(l4->l4_fd, &wfd)) {
  /src/external/bsd/nvi/dist/common/
exf.c 1037 int flags, maxnum, nr, num, nw, rfd, wfd, version; local
1045 rfd = wfd = -1;
1170 if ((wfd = open(wfname, flags | O_WRONLY, S_IRUSR | S_IWUSR)) < 0) {
1178 if ((nw = write(wfd, buf + off, nr)) < 0) {
1191 if (close(wfd)) {
1204 if (wfd != -1) {
1206 (void)close(wfd);
  /src/sys/kern/
uipc_syscalls.c 1275 unsigned rfd, wfd; local
1293 error = fsocreate(AF_LOCAL, &wso, SOCK_STREAM|soflags, 0, &wfd, &wf,
1328 fd_affix(p, wf, wfd);
1331 fildes[1] = wfd;
1335 fd_abort(p, wf, wfd);
  /src/external/bsd/wpa/dist/src/p2p/
p2p_group.c 340 wpabuf_put_data(buf, dev_info, 2); /* WFD Device Info */
341 wpabuf_put_data(buf, dev_info + 4, 2); /* WFD Device Max Throughput */
379 /* Build WFD Session Info */
395 p2p_dbg(group->p2p, "WFD: WFD Session Info: %u descriptors",
473 struct wpabuf *wfd = wpabuf_dup(group->wfd_ie); local
474 ie = wpabuf_concat(wfd, ie);
632 " to group (p2p=%d wfd=%d client_info=%d); num_members=%u/%u",
  /src/external/gpl2/rcs/dist/src/
ci.c 672 int wfd = Ifileno(workptr); variable
706 wfd_off = lseek(wfd, (off_t)0, SEEK_CUR);
709 && lseek(wfd, (off_t)0, SEEK_SET) != 0))
722 switch (runv(wfd, diffname, diffv)) {
727 if (lseek(wfd, wfd_off, SEEK_CUR) == -1)
746 fstat(wfd, &checkworkstat) != 0
  /src/tests/lib/libc/sys/
t_poll.c 275 int rfd, wfd; local
284 RL(wfd = open(fifo_path, O_WRONLY | O_NONBLOCK));
287 pipe_buf = fpathconf(wfd, _PC_PIPE_BUF);
295 pfd[1].fd = wfd;
307 RL(nwrit = write(wfd, buf, 1));
327 while (write(wfd, buf, pipe_buf) != -1) {
385 RL(close(wfd));
404 int rfd, wfd; local
411 RL(wfd = open(fifo_path, O_WRONLY));
417 RL(close(wfd));
454 int rfd, wfd; local
    [all...]
  /src/crypto/external/bsd/openssh/dist/
channels.h 141 int wfd; /* write fd */ member in struct:Channel
146 int pfds[4]; /* pollfd entries for rfd/wfd/efd/sock */
channels.c 446 channel_register_fds(struct ssh *ssh, Channel *c, int rfd, int wfd, int efd,
453 if (wfd != -1 && wfd != rfd)
454 (void)fcntl(wfd, F_SETFD, FD_CLOEXEC);
455 if (efd != -1 && efd != rfd && efd != wfd)
459 c->wfd = wfd;
460 c->sock = (rfd == wfd) ? rfd : -1;
482 if (wfd != -1 && !isatty(wfd) &
632 int sock = c->sock, rfd = c->rfd, wfd = c->wfd, efd = c->efd; local
    [all...]
  /src/sbin/fdisk/
fdisk.c 210 static int fd = -1, wfd = -1, *rfd = &fd; variable
493 rfd = &wfd;
2519 wfd = open(disk_file, update ? O_RDWR|O_CREAT : O_RDONLY, 0777);
2520 if (wfd == -1) {
2527 wfd = fd;
2565 if (wfd == -1)
2566 errx(1, "write_disk(); wfd == -1");
2572 if (lseek(wfd, rnd, SEEK_SET) == (off_t)-1)
2576 return write(wfd, buf, 512);
2578 if ((nr = read(wfd, iobuf, secsize)) != secsize
    [all...]
  /src/external/bsd/wpa/dist/src/common/
ieee802_11_common.h 68 const u8 *wfd; member in struct:ieee802_11_elems

Completed in 56 milliseconds

1 2