Home
last modified time | relevance | path

Searched refs:outfd (Results 1 – 15 of 15) sorted by relevance

/titanic_51/usr/src/test/zfs-tests/tests/functional/threadsappend/
H A Dthreadsappend.c61 static int outfd = 0; variable
71 (void) write(outfd, buf, sizeof (buf)); in go()
108 outfd = open(argv[optind++], O_RDWR|O_CREAT|O_APPEND|O_TRUNC, 0777); in main()
109 if (outfd == -1) { in main()
/titanic_51/usr/src/cmd/cmd-crypto/decrypt/
H A Ddecrypt.c190 int infd, int outfd, off_t insize);
437 int outfd = 1; /* output file, stdout default */ in execute_cmd() local
713 if ((outfd = mkstemp(tmpnam)) == -1) { in execute_cmd()
721 if ((outfd = open(outfilename, in execute_cmd()
914 if (write(outfd, &netversion, sizeof (netversion)) in execute_cmd()
926 if (write(outfd, &netiter, in execute_cmd()
932 if (ivlen > 0 && write(outfd, pivbuf, ivlen) != ivlen) { in execute_cmd()
938 if (write(outfd, salt, sizeof (salt)) != sizeof (salt)) { in execute_cmd()
945 if (crypt_multipart(cmd, hSession, infd, outfd, insbuf.st_size) == -1) { in execute_cmd()
976 if (oflag && (outfd ! in execute_cmd()
1048 crypt_multipart(struct CommandInfo * cmd,CK_SESSION_HANDLE hSession,int infd,int outfd,off_t insize) crypt_multipart() argument
[all...]
/titanic_51/usr/src/uts/common/fs/zfs/sys/
H A Ddmu_send.h45 boolean_t large_block_ok, int outfd, uint64_t resumeobj, uint64_t resumeoff,
53 int outfd, struct vnode *vp, offset_t *off);
/titanic_51/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c189 zio_cksum_t *zc, int outfd) in dump_record() argument
202 if (write(outfd, drr, sizeof (*drr)) == -1) in dump_record()
206 if (write(outfd, payload, payload_len) == -1) in dump_record()
214 int featureflags, void *payload, int payload_len, int outfd) in zfs_send_compoundstream_begin() argument
239 err = dump_record(&drr, payload, payload_len, &zc, outfd); in zfs_send_compoundstream_begin()
246 err = write(outfd, &drr, sizeof (drr)); in zfs_send_compoundstream_begin()
256 zfs_send_compoundstream_end(int outfd) in zfs_send_compoundstream_end() argument
261 if (write(outfd, &drr, sizeof (drr)) == -1) in zfs_send_compoundstream_end()
292 int outfd; in cksummer() local
318 outfd in cksummer()
873 int outfd; global() member
952 dump_ioctl(zfs_handle_t * zhp,const char * fromsnap,uint64_t fromsnap_obj,boolean_t fromorigin,int outfd,enum lzc_send_flags flags,nvlist_t * debugnv) dump_ioctl() argument
1507 zfs_send_resume(libzfs_handle_t * hdl,sendflags_t * flags,int outfd,const char * resume_token) zfs_send_resume() argument
1672 zfs_send(zfs_handle_t * zhp,const char * fromsnap,const char * tosnap,sendflags_t * flags,int outfd,snapfilter_cb_t filter_func,void * cb_arg,nvlist_t ** debugnvp) zfs_send() argument
[all...]
H A Dlibzfs_diff.c743 zfs_show_diffs(zfs_handle_t *zhp, int outfd, const char *fromsnap, in zfs_show_diffs() argument
771 di.outputfd = outfd; in zfs_show_diffs()
H A Dlibzfs.h608 extern int zfs_send_resume(libzfs_handle_t *, sendflags_t *, int outfd,
/titanic_51/usr/src/lib/libcurses/screen/
H A Dtgetch.c569 int *outfd, *exfd; in _fpk() local
574 outfd = exfd = (int *)NULL; in _fpk()
577 rc = select(20, &infd, outfd, exfd, &t); in _fpk()
/titanic_51/usr/src/cmd/boot/installboot/sparc/
H A Dinstallboot.c110 goto outfd; in read_bootblock_from_file()
121 goto outfd; in read_bootblock_from_file()
148 goto outfd; in read_bootblock_from_file()
155 goto outfd; in read_bootblock_from_file()
173 outfd: in read_bootblock_from_file()
/titanic_51/usr/src/cmd/boot/installboot/i386/
H A Dinstallboot.c179 goto outfd; in read_bootblock_from_file()
199 goto outfd; in read_bootblock_from_file()
206 goto outfd; in read_bootblock_from_file()
229 outfd: in read_bootblock_from_file()
/titanic_51/usr/src/cmd/svc/configd/
H A Dbackend.c1006 int infd, outfd; in backend_create_backup_locked() local
1108 outfd = mkstemp(tmppath); in backend_create_backup_locked()
1109 if (outfd < 0) { in backend_create_backup_locked()
1118 outfd, NULL)) != REP_PROTOCOL_SUCCESS) in backend_create_backup_locked()
1165 (void) close(outfd); in backend_create_backup_locked()
/titanic_51/usr/src/uts/common/fs/zfs/
H A Ddmu_send.c690 boolean_t is_clone, boolean_t embedok, boolean_t large_block_ok, int outfd, in dmu_send_impl() argument
770 dsp->dsa_outfd = outfd; in dmu_send_impl()
882 int outfd, vnode_t *vp, offset_t *off) in dmu_send_obj() argument
918 embedok, large_block_ok, outfd, 0, 0, vp, off); in dmu_send_obj()
921 embedok, large_block_ok, outfd, 0, 0, vp, off); in dmu_send_obj()
929 boolean_t large_block_ok, int outfd, uint64_t resumeobj, uint64_t resumeoff, in dmu_send() argument
998 outfd, resumeobj, resumeoff, vp, off); in dmu_send()
1002 outfd, resumeobj, resumeoff, vp, off); in dmu_send()
/titanic_51/usr/src/cmd/zlogin/
H A Dzlogin.c601 * If the write to outfd fails, we'll try to read from infd in an attempt
608 process_user_input(int outfd, int infd) in process_user_input() argument
648 if (write(outfd, &c, 1) <= 0) { in process_user_input()
/titanic_51/usr/src/lib/libshell/common/sh/
H A Dxec.c2829 int outfd; in coproc_init() local
2838 if((outfd=shp->cpipe[1]) < 10) in coproc_init()
2843 shp->fdstatus[fd] = (shp->fdstatus[outfd]&~IOCLEX); in coproc_init()
2844 close(outfd); in coproc_init()
2845 shp->fdstatus[outfd] = IOCLOSE; in coproc_init()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dxec.c3634 int outfd; in coproc_init() local
3643 if((outfd=shp->cpipe[1]) < 10) in coproc_init()
3646 VALIDATE_FD(shp, outfd); in coproc_init()
3650 shp->fdstatus[fd] = (shp->fdstatus[outfd]&~IOCLEX); in coproc_init()
3651 close(outfd); in coproc_init()
3652 shp->fdstatus[outfd] = IOCLOSE; in coproc_init()
/titanic_51/usr/src/cmd/sendmail/src/
H A Dsrvrsmtp.c4012 int inchfd, outchfd, outfd; in setup_smtpd_io() local
4016 outfd = sm_io_getinfo(smioout, SM_IO_WHAT_FD, NULL); in setup_smtpd_io()
4017 if (outchfd != outfd) in setup_smtpd_io()
4020 (void) dup2(outchfd, outfd); in setup_smtpd_io()