Searched refs:fdout (Results 1 - 15 of 15) sorted by relevance

/freebsd-current/tools/test/stress2/misc/
H A Dnfs12.sh96 int fdin, fdout;
107 if ((fdout = open(file, O_RDWR | O_CREAT | O_TRUNC, 0600)) < 0)
113 if (lseek(fdout, statbuf.st_size - 1, SEEK_SET) == -1)
117 if (write(fdout, "", 1) != 1)
125 MAP_SHARED, fdout, 0)) == (caddr_t) - 1)
136 close(fdout);
H A Dnfsdelegation.sh106 int fdout;
127 if ((fdout = open(file, O_RDWR)) < 0)
129 if (fstat(fdout, &statbuf) < 0)
133 MAP_PRIVATE, MAP_SHARED, fdout, 0)) == (caddr_t) - 1)
138 close(fdout);
H A Dvunref.sh138 int fdin, fdout;
149 if ((fdout = open(file, O_RDWR | O_CREAT | O_TRUNC, 0600)) < 0)
155 if (lseek(fdout, statbuf.st_size - 1, SEEK_SET) == -1)
159 if (write(fdout, "", 1) != 1)
167 MAP_SHARED, fdout, 0)) == (caddr_t) - 1)
178 close(fdout);
/freebsd-current/tools/test/stress2/testcases/mmap/
H A Dmmap.c101 int fdin, fdout; local
112 if ((fdout = open(file, O_RDWR | O_CREAT | O_TRUNC, 0600)) < 0)
118 if (lseek(fdout, statbuf.st_size - 1, SEEK_SET) == -1)
122 if (write(fdout, "", 1) != 1)
130 MAP_SHARED, fdout, 0)) == (caddr_t) - 1)
141 close(fdout);
/freebsd-current/sbin/nvmecontrol/
H A Dtelemetry.c96 int fd, fdout; local
132 fdout = open(opt.outfn, O_WRONLY | O_CREAT, 0664);
133 if (fdout == -1)
173 if (write(fdout, &buf, chunk) != chunk)
179 close(fdout);
/freebsd-current/sys/dev/fdc/
H A Dfdcvar.h51 int fdout; /* mirror of the w/o digital output reg */ member in struct:fdc_data
H A Dfdc.c516 fdout_wr(fdc, fdc->fdout & ~(FDO_FRST|FDO_FDMAEN));
519 fdout_wr(fdc, fdc->fdout & ~FDO_FDMAEN);
522 fdout_wr(fdc, fdc->fdout);
626 fdc->fdout &= ~FDO_FDSEL;
627 fdc->fdout |= FDO_FDMAEN | FDO_FRST | fd->fdsu;
628 fdout_wr(fdc, fdc->fdout);
665 fdc->fdout |= (FDO_MOEN0 << fd->fdsu);
670 fdc->fdout &= ~(FDO_MOEN0 << fd->fdsu);
672 fdout_wr(fdc, fdc->fdout);
1820 /* reset controller, turn motor off, clear fdout mirro
[all...]
/freebsd-current/contrib/libedit/
H A Del.c72 int fdin, int fdout, int fderr, int flags)
84 el->el_outfd = fdout;
122 int fdin, int fdout, int fderr)
124 return el_init_internal(prog, fin, fout, ferr, fdin, fdout, fderr, 0);
71 el_init_internal(const char *prog, FILE *fin, FILE *fout, FILE *ferr, int fdin, int fdout, int fderr, int flags) argument
121 el_init_fd(const char *prog, FILE *fin, FILE *fout, FILE *ferr, int fdin, int fdout, int fderr) argument
/freebsd-current/contrib/atf/atf-c/detail/
H A Dfs.c220 do_mkstemp(char *tmpl, int *fdout) argument
226 *fdout = mkstemp(tmpl);
227 if (*fdout == -1)
821 atf_fs_mkstemp(atf_fs_path_t *p, int *fdout) argument
841 *fdout = fd;
/freebsd-current/usr.bin/gzip/
H A Dunlz.c321 lz_create(struct lz_decoder *lz, int fin, int fdout, int dict_size) argument
329 lz->fout = fdopen(dup(fdout), "w");
540 lz_decode(int fin, int fdout, unsigned dict_size, off_t *insize) argument
545 if (lz_create(&lz, fin, fdout, dict_size) == -1)
/freebsd-current/crypto/heimdal/appl/rcp/
H A Drcp.c54 int do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout);
714 do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout) argument
785 *fdout = pin[1];
/freebsd-current/crypto/openssh/
H A Dsession.c542 * handle the case that fdin and fdout are the same.
559 int fdout, ptyfd, ttyfd, ptymaster; local
574 if ((fdout = dup(ptyfd)) == -1) {
585 close(fdout);
593 close(fdout);
601 close(fdout);
648 session_set_fds(ssh, s, ptyfd, fdout, -1, 1, 1);
2270 int fdin, int fdout, int fderr, int ignore_fderr, int is_tty)
2279 fdout, fdin, fderr,
2269 session_set_fds(struct ssh *ssh, Session *s, int fdin, int fdout, int fderr, int ignore_fderr, int is_tty) argument
H A Dscp.c280 char *cmd, int *fdin, int *fdout, pid_t *pid)
359 *fdout = pin[1];
364 *fdout = sv[1];
380 int fdin, int fdout)
399 if (dup2(fdout, 1) == -1)
279 do_cmd(char *program, char *host, char *remuser, int port, int subsystem, char *cmd, int *fdin, int *fdout, pid_t *pid) argument
379 do_cmd2(char *host, char *remuser, int port, char *cmd, int fdin, int fdout) argument
/freebsd-current/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h1692 #define __sanitizer_syscall_pre_tee(fdin, fdout, len, flags) \
1693 __sanitizer_syscall_pre_impl_tee((long)(fdin), (long)(fdout), (long)(len), \
1695 #define __sanitizer_syscall_post_tee(res, fdin, fdout, len, flags) \
1696 __sanitizer_syscall_post_impl_tee(res, (long)(fdin), (long)(fdout), \
2984 void __sanitizer_syscall_pre_impl_tee(long fdin, long fdout, long len,
2986 void __sanitizer_syscall_post_impl_tee(long res, long fdin, long fdout,
/freebsd-current/sys/kern/
H A Dvfs_syscalls.c1954 goto fdout;
1987 goto fdout;
2012 fdout:
3918 goto fdout;
3961 goto fdout;
3976 fdout:

Completed in 371 milliseconds