/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_connmgmt.c | 410 int fd; local 413 if ((fd = open(fname, O_RDONLY)) >= 0) { 414 ret = read(fd, &pinfo, sizeof (psinfo_t)); 415 (void) close(fd);
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | auth_time.c | 510 msg("unable to open fd to network."); 515 msg("unable to bind an endpoint to fd."); 538 pfd.fd = rtime_fd;
|
/osnet-11/usr/src/lib/libntfs/common/libntfs/ |
H A D | device.c | 60 #include <linux/fd.h>
|
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | llib-lcurses | 1043 void tinputfd(int fd); 1070 int typeahead(int fd);
|
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | libdlwlan.c | 1096 int fd, rc; local 1119 if ((fd = open(linkname, O_RDWR)) < 0) 1131 if ((rc = ioctl(fd, I_STR, &stri)) != 0) { 1146 (void) close(fd);
|
/osnet-11/usr/src/cmd/sendmail/db/lock/ |
H A D | lock_deadlock.c | 457 (void)__db_mutex_unlock(&lockp->mutex, lt->reginfo.fd);
|
/osnet-11/usr/src/lib/libast/common/sfio/ |
H A D | sfsetbuf.c | 56 #define sysfstatf(fd,st) (-1)
|
/osnet-11/usr/src/lib/libstmf/common/ |
H A D | libstmf.h | 406 int stmfInitProxyDoor(int *hdl, int fd);
|
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_set_drv.c | 522 int fd = -1; local 559 if ((fd = open(np->rname, O_RDWR)) >= 0) { 560 meta_mkdummymaster(sp, fd, 16); 561 (void) close(fd);
|
H A D | meta_name.c | 1819 int fd; local 1851 if ((fd = open(rname, (O_RDONLY|O_NDELAY), 0)) < 0) { 1856 if (ioctl(fd, DKIOCINFO, &cinfo) != 0) { 1865 (void) close(fd); 1868 (void) close(fd); /* sd/ssd bug */
|
H A D | meta_sp.c | 6553 int mnum, fd; local 6597 if ((fd = open(fname, O_RDWR, 0)) < 0) { 6606 if (ioctl(fd, DKIOCGETVOLCAP, &vc) < 0) { 6607 (void) close(fd); 6612 if (ioctl(fd, DKIOCSETVOLCAP, &vc) < 0) { 6613 (void) close(fd); 6617 (void) close(fd);
|
/osnet-11/usr/src/lib/libzfs/common/ |
H A D | libzfs_sendrecv.c | 185 * the output fd specified by the caller of zfs_send()), the 194 * The output of this function then goes to the output fd requested 1701 recv_read(libzfs_handle_t *hdl, int fd, void *buf, int ilen, argument 1709 rv = read(fd, cp, len); 1731 recv_read_nvlist(libzfs_handle_t *hdl, int fd, int len, nvlist_t **nvp, argument 1739 err = recv_read(hdl, fd, buf, len, byteswap, zc); 2636 recv_skip(libzfs_handle_t *hdl, int fd, boolean_t byteswap) argument 2648 while (recv_read(hdl, fd, drr, sizeof (dmu_replay_record_t), 2674 (void) recv_read(hdl, fd, buf, 2684 (void) recv_read(hdl, fd, bu [all...] |
/osnet-11/usr/src/lib/libscf/common/ |
H A D | lowlevel.c | 758 * Like make_door_call(), but takes an fd instead of a handle, and expects 764 make_door_call_retfd(int fd, const void *req, size_t req_sz, void *res, argument 773 if (fd == -1) 783 while ((r = door_call(fd, &arg)) < 0) { 1184 int fd; local 1197 /* wait until any active fd users have cleared out */ 1218 fd = open(door_name, O_RDONLY, 0); 1219 if (fd == -1) { 1231 res = make_door_call_retfd(fd, &request, sizeof (request), 1234 (void) close(fd); 3983 int fd; local [all...] |
/osnet-11/usr/src/lib/libkmf/plugins/kmf_openssl/common/ |
H A D | openssl_spi.c | 4649 int fd = -1; local 4694 fd = open(fullpath, O_CREAT|O_TRUNC|O_RDWR, 0400); 4695 if (fd == -1) { 4762 (void) write(fd, (const void *) rkey->keydata.val, rkey->keydata.len); 4771 if (fd != -1) 4772 (void) close(fd); 4890 int fd; local 4896 fd = open(filename, O_WRONLY|O_CREAT|O_EXCL, mode); 4897 if (fd == -1 && errno == EEXIST) 4899 else if (fd [all...] |
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | queue.c | 407 syserr("!queueup: cannot create queue file %s, euid=%d, fd=%d, fp=%p", 6795 int fd; local 6797 fd = keyf->f_file; 6798 if (fd >= 0 && fchown(fd, RunAsUid, -1) < 0) 8492 int fd; local 8531 fd = open(tempqf, flags, QueueFileMode); 8536 if (fd < 0) 8546 if (!lockfile(fd, tempqf, NULL, LOCK_EX|LOCK_NB)) 8551 (void) close(fd); [all...] |
/osnet-11/usr/src/lib/libradproto/common/ |
H A D | radclient.c | 274 rc_connect_fd(int fd) argument 276 adr_stream_t *str = adr_stream_create_fd(fd);
|
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_subr.c | 511 dt_write(dtrace_hdl_t *dtp, int fd, const void *buf, size_t n) argument 517 if ((len = write(fd, buf, resid)) <= 0)
|
/osnet-11/usr/src/lib/libfcoe/common/ |
H A D | libfcoe.c | 56 * fd - pointer to integer. On success, contains the fcoe file descriptor 59 openFcoe(int flag, int *fd) argument 63 if ((*fd = open(FCOE_DEV_PATH, O_NDELAY | O_RDONLY | flag)) != -1) {
|
/osnet-11/usr/src/lib/fm/topo/modules/common/ses/common/ |
H A D | ses.c | 490 fds.fd = efd; 3109 int fd, rv; local 3116 fd = open("/dev/fm", O_RDONLY); 3117 if (fd < 0) { 3127 close(fd); 3138 rv = ioctl(fd, FM_IOC_GENTOPO_LEGACY, &fid); 3141 (void) close(fd); 3146 (void) close(fd);
|
/osnet-11/usr/src/lib/auditd_plugins/binfile/ |
H A D | binfile.c | 438 write_file_token(int fd, char *name, plg_ctrl_t *ctrl) argument 462 if (write(fd, for_adr, adr_count(&adr)) < 0) { 646 "(%s, %s [fd: %d])\n",
|
/osnet-11/usr/src/lib/libvscan/common/ |
H A D | libvscan.c | 1435 vs_door_call(int fd, door_arg_t *arg) argument 1443 if ((rc = door_call(fd, arg)) == 0)
|
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | loadsave.c | 319 lockfile(int fd, int op) argument 322 return (fcntl(fd, F_SETLKW, &fl));
|
/osnet-11/usr/src/lib/pybootmgmt/common/bootmgmt/ |
H A D | pysol.py | 927 def fstyp_init(fd, offset=0, module_dir=None): 930 r = _libfstyp.fstyp_init(fd, offset, module_dir, byref(handle))
|
/osnet-11/usr/src/lib/libproc/common/ |
H A D | Psymtab.c | 862 int fd; local 877 if ((fd = open(auxfile, O_RDONLY)) < 0) 880 if (fstat(fd, &statb) == 0 && 883 if ((naux = read(fd, P->auxv, statb.st_size)) < 0 || 894 (void) close(fd);
|
/osnet-11/usr/src/lib/libkmf/plugins/kmf_nss/common/ |
H A D | nss_spi.c | 790 int fd; local 793 fd = open(filename, O_RDONLY); 794 if (!fd) 797 count = read(fd, buf, sizeof (buf)); 802 (void) close(fd);
|