/osnet-11/usr/src/lib/librdc/common/ |
H A D | netaddrs.c | 75 if (ioctl(sock, SIOCGLIFNUM, (char *)&lifn) < 0) { 114 if (ioctl(sock, SIOCGIFNUM, (char *)&numifs) < 0) { 133 if (ioctl(sock, SIOCGIFCONF, (char *)ifc) < 0) {
|
H A D | rdcpersist.c | 163 if (ioctl(fd, SVIOC_ENABLE, &svc) < 0) { 220 if (ioctl(fd, SVIOC_ENABLE, &svcv) < 0) { 234 if (ioctl(fd, SVIOC_ENABLE, &svcb) < 0) { 239 if (ioctl(fd, SVIOC_DISABLE, &svcv) < 0)
|
/osnet-11/usr/src/lib/libresolv2/common/isc/ |
H A D | ev_connects.c | 33 #include <sys/ioctl.h> 83 OKFREE(ioctl(fd, FIONBIO, (char *)&on), new); 172 OK(ioctl(this->fd, FIONBIO, (char *)&off));
|
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | jobs.c | 156 # define tcgetpgrp(a) (ioctl(a, TIOCGPGRP, &_i_)>=0?_i_:-1) 162 return(ioctl(fd, TIOCSPGRP, &pgid)); 597 if((job.linedisc = ioctl(JOBTTY, FIOLOOKLD, 0)) <0) 599 if(ioctl(JOBTTY,TIOCGETD,&job.linedisc) !=0) 666 if (ioctl(JOBTTY, FIOPOPLD, 0) < 0) 668 if (ioctl(JOBTTY, FIOPUSHLD, &linedisc) < 0) 670 ioctl(JOBTTY, FIOPUSHLD, &job.linedisc); 675 if(ioctl(JOBTTY,TIOCSETD,&linedisc) !=0) 775 if (ioctl(job.fd, FIOPOPLD, 0) < 0) 777 if (ioctl(jo [all...] |
/osnet-11/usr/src/lib/libkstat/common/ |
H A D | kstat.c | 377 while ((kcid = (kid_t)ioctl(kc->kc_kd, KSTAT_IOC_READ, ksp)) == -1) { 466 while ((kcid = (kid_t)ioctl(kc->kc_kd, KSTAT_IOC_WRITE, ksp)) == -1) { 488 kcid = (kid_t)ioctl(kc->kc_kd, KSTAT_IOC_CHAIN_ID, NULL);
|
/osnet-11/usr/src/lib/libldap4/common/ |
H A D | os-ip.c | 51 #include <sys/ioctl.h> 149 int status; /* for ioctl call */ 185 if (async && ioctl(s, FIONBIO, (caddr_t)&status) == -1) { 187 "FIONBIO ioctl failed on %d\n"), s, 0, 0); 235 if (!async && ioctl(s, FIONBIO, (caddr_t)&on) == -1) { 237 "FIONBIO ioctl failed on %d\n"), s, 0, 0);
|
/osnet-11/usr/src/lib/libnsl/dial/ |
H A D | sysfiles.c | 340 * if name is one we recognize, then call set[file|ioctl] to set up 420 * given the list for a particular ioctl (push, pop) 665 if (ioctl(fd, I_LOOK, onstream) == -1) { 676 if (ioctl(fd, I_POP, 0) == -1) { 686 if (ioctl(fd, I_PUSH, strmod) == -1) {
|
/osnet-11/usr/src/lib/libinstzones/common/ |
H A D | zones_exec.c | 486 (void) ioctl(STDIN_FILENO, I_ANCHOR); 487 (void) ioctl(STDOUT_FILENO, I_ANCHOR); 488 (void) ioctl(STDERR_FILENO, I_ANCHOR);
|
/osnet-11/usr/src/cmd/hal/probing/storage/ |
H A D | probe-storage.c | 21 #include <sys/ioctl.h> 236 status = ioctl(fd, USCSICMD, &ucmd); 397 if ((ioctl(rfd, DKIOCREADONLY, &rdonly) == 0) && rdonly) {
|
/osnet-11/usr/src/lib/libvolmgt/common/ |
H A D | volmgt_on_private.c | 101 if (ioctl(fd, DKIOCINFO, &info) != 0) { 333 * ioctl to see if we have to major/minor pairs that 344 if (ioctl(fd, DKIOCINFO, &dkinfo) < 0) { 440 if (ioctl(fd, DKIOCINFO, &info) != 0) {
|
/osnet-11/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | MP_GetAssociatedPathOidList.c | 247 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); 467 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); 469 "ioctl call returned ioctlStatus: %d", 573 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); 575 "ioctl call returned ioctlStatus: %d",
|
/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelSession.c | 28 #include <sys/crypto/ioctl.h> 515 /* Now make the ioctl call; no need to acquire the session lock. */ 521 while ((r = ioctl(kernel_fd, CRYPTO_LOGIN, &c_login)) < 0) { 575 /* Now make the ioctl call. No need to acquire the session lock. */ 577 while ((r = ioctl(kernel_fd, CRYPTO_LOGOUT, &c_logout)) < 0) {
|
/osnet-11/usr/src/lib/libpool/common/ |
H A D | pool_kernel.c | 733 if (ioctl(prov->pkc_fd, POOL_QUERY, &query) < 0) { 743 if (ioctl(prov->pkc_fd, POOL_QUERY, &query) < 0) { 816 if (ioctl(prov->pkc_fd, POOL_COMMIT, lock) < 0) { 833 assert(ioctl(prov->pkc_fd, POOL_COMMIT, lock) >= 0); 846 assert(ioctl(prov->pkc_fd, POOL_COMMIT, lock) >= 0); 855 assert(ioctl(prov->pkc_fd, POOL_COMMIT, lock) >= 0); 1444 if (ioctl(prov->pkc_fd, POOL_BINDQ, &bindq) < 0) { 1499 while ((ret = ioctl(prov->pkc_fd, POOL_BIND, &bind)) < 0 && 1531 if (ioctl(prov->pkc_fd, POOL_BINDQ, &bindq) < 0) { 1747 * POOL_CREATE ioctl an [all...] |
/osnet-11/usr/src/lib/libshadowfs/common/ |
H A D | shadow_migrate.c | 258 if (ioctl(fd, SHADOW_IOC_FID2PATH, &ioc) != 0) { 553 if (ioctl(fd, SHADOW_IOC_GETPATH, &ioc) == 0 && ioc.si_processed) { 601 * The actual migration is done through the SHADOW_IOC_MIGRATE ioctl(). 613 if (ioctl(fd, SHADOW_IOC_MIGRATE, &ioc) != 0) 759 if (ioctl(fd, SHADOW_IOC_PROCESS, &ioc) != 0) {
|
/osnet-11/usr/src/lib/libnsl/nsl/ |
H A D | t_getname.c | 91 retval = ioctl(fd,
|
H A D | t_snddis.c | 130 retval = ioctl(fd, I_FLUSH, FLUSHW);
|
/osnet-11/usr/src/lib/libntfs/common/include/ntfs/ |
H A D | device.h | 99 int (*ioctl)(struct ntfs_device *dev, int request, void *argp); member in struct:ntfs_device_operations
|
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | slice.c | 226 ioctl(fd, DKIOCINFO, &dkinfo) >= 0) { 426 if (ioctl(fd, DKIOCINFO, &dkinfo) >= 0) { 545 if (ioctl(sfd, DKIOCINFO, 736 if (ioctl(fd, DKIOCINFO, &dkinfo) >= 0) {
|
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | libdlflow.c | 276 rc = ioctl(dladm_dld_fd(handle), DLDIOC_ADDFLOW, &ioc); 297 if (ioctl(dladm_dld_fd(handle), DLDIOC_REMOVEFLOW, &attr) < 0) 313 if (ioctl(dladm_dld_fd(handle), DLDIOC_CREATEKSTAT, &attr) < 0) 560 while (ioctl(dladm_dld_fd(handle), DLDIOC_WALKFLOW, ioc) < 0) {
|
H A D | libdlsim.c | 59 rc = ioctl(dladm_dld_fd(handle), SIMNET_IOC_CREATE, &ioc); 83 rc = ioctl(dladm_dld_fd(handle), SIMNET_IOC_MODIFY, &ioc); 100 rc = ioctl(dladm_dld_fd(handle), SIMNET_IOC_DELETE, &ioc); 120 rc = ioctl(dladm_dld_fd(handle), SIMNET_IOC_INFO, &ioc);
|
H A D | secobj.c | 157 if (ioctl(dladm_dld_fd(handle), DLDIOC_SECOBJ_SET, &secobj_set) < 0) 195 if (ioctl(dladm_dld_fd(handle), DLDIOC_SECOBJ_GET, &secobj_get) < 0) 225 if (ioctl(dladm_dld_fd(handle), DLDIOC_SECOBJ_UNSET, &secobj_unset) < 0) 260 if (ioctl(dladm_dld_fd(handle), DLDIOC_SECOBJ_GET, secobj_getp) < 0) {
|
/osnet-11/usr/src/lib/libipadm/common/ |
H A D | ipadm_addr.c | 107 * ioctl buffers and then invoke ioctl(). 604 if (ioctl(sock, SIOCGLIFDADSTATE, 1087 if (ioctl(s, SIOCSLIFNETMASK, (caddr_t)&lifr) < 0) 1096 (void) ioctl(s, SIOCGLIFADDR, (caddr_t)&lifr); 1097 (void) ioctl(s, SIOCSLIFADDR, (caddr_t)&lifr); 1203 if (ioctl(s, SIOCSLIFZONE, (caddr_t)&lifr) < 0) 1278 if (ioctl(iph->ih_sock, SIOCGLIFADDR, 1307 if (ioctl(iph->ih_sock, SIOCGLIFBRDADDR, 1368 if (ioctl( [all...] |
/osnet-11/usr/src/lib/efcode/fcdriver/ |
H A D | upload.c | 163 error = ioctl(cdp->fcode_fd, FC_VALIDATE);
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/include/ |
H A D | port-sockets.h | 125 #define ioctlsocket ioctl
|
/osnet-11/usr/src/lib/libsuri/common/ |
H A D | suri_aux.c | 444 if (ioctl(lfd, LOFI_GET_BY_FILENAME, &li) == -1) { 452 if (ioctl(lfd, LOFI_MAP_FILE, &li) == -1) { 516 if (ioctl(fd, LOFI_GET_BY_MINOR, &li) == -1) { 555 if (ioctl(fd, LOFI_UNMAP_FILE, &li) == -1) { 558 * exist ioctl() returns ENOENT. As with other unmap functions,
|