/illumos-gate/usr/src/cmd/Adm/sun/ |
H A D | Makefile | 26 ETCFILES= ioctl.syscon passwd shadow motd
|
/illumos-gate/usr/src/cmd/fs.d/ufs/lockfs/ |
H A D | lockfs.c | 275 if (ioctl(fd, _FIOLFSS, &lf) == -1) { 357 if (ioctl(fd, _FIOFFS, NULL) == -1) { 385 if (ioctl(fd, _FIOLFSS, &lf) == -1) { 407 if (ioctl(fd, _FIOLFS, &lf) == -1) {
|
/illumos-gate/usr/src/cmd/hal/probing/acpi/ |
H A D | probe-acpi.c | 22 #include <sys/ioctl.h>
|
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | ipf_dotuning.c | 8 #include <sys/ioctl.h> 29 perror("ioctl(SIOCIPFGETNEXT)"); 44 perror("ioctl(SIOCIPFSET)"); 55 perror("ioctl(SIOCIPFGET)");
|
H A D | load_hashnode.c | 15 #include <sys/ioctl.h>
|
H A D | load_pool.c | 15 #include <sys/ioctl.h>
|
H A D | load_poolnode.c | 12 #include <sys/ioctl.h>
|
H A D | remove_hashnode.c | 10 #include <sys/ioctl.h>
|
H A D | remove_poolnode.c | 10 #include <sys/ioctl.h>
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipfzone.c | 142 if (ioctl(fd, SIOCIPFZONESET, &ipzo) == -1) {
|
/illumos-gate/usr/src/cmd/srptsvc/ |
H A D | srptsvc.c | 96 ret = ioctl(fd, srpt_ioctl, NULL);
|
/illumos-gate/usr/src/uts/common/ktli/ |
H A D | t_kspoll.c | 65 #include <sys/ioctl.h>
|
/illumos-gate/usr/src/ucbhead/ |
H A D | unistd.h | 159 extern int ioctl(int, int, ...);
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | ioccom.h | 41 #define IOCPARM_SHIFT 13 /* number of bits for ioctl size */ 47 #define IOCPARM_MAX (1 << IOCPARM_SHIFT) /* max size of ioctl */ 75 int ioctl(int, unsigned long, ...);
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelDigest.c | 29 #include <sys/crypto/ioctl.h> 95 * If pParameter is NULL, set cm_param_len to be 0, so that ioctl call 103 while ((r = ioctl(kernel_fd, CRYPTO_DIGEST_INIT, &digest_init)) < 0) { 243 while ((r = ioctl(kernel_fd, CRYPTO_DIGEST, &digest)) < 0) { 355 while ((r = ioctl(kernel_fd, CRYPTO_DIGEST_UPDATE, 460 * ioctl. Otherwise, call CRYPTO_DIGEST_UPDATE ioctl and pass the key 478 while ((r = ioctl(kernel_fd, CRYPTO_DIGEST_KEY, 517 while ((r = ioctl(kernel_fd, CRYPTO_DIGEST_UPDATE, 656 while ((r = ioctl(kernel_f [all...] |
H A D | kernelDecrypt.c | 29 #include <sys/crypto/ioctl.h> 112 while ((r = ioctl(kernel_fd, CRYPTO_DECRYPT_INIT, &decrypt_init)) < 0) { 248 while ((r = ioctl(kernel_fd, CRYPTO_DECRYPT, &decrypt)) < 0) { 390 while ((r = ioctl(kernel_fd, CRYPTO_DECRYPT_UPDATE, 469 while ((r = ioctl(kernel_fd, CRYPTO_DECRYPT_FINAL,
|
H A D | kernelEncrypt.c | 29 #include <sys/crypto/ioctl.h> 131 while ((r = ioctl(kernel_fd, CRYPTO_ENCRYPT_INIT, &encrypt_init)) < 0) { 253 while ((r = ioctl(kernel_fd, CRYPTO_ENCRYPT, &encrypt)) < 0) { 360 while ((r = ioctl(kernel_fd, CRYPTO_ENCRYPT_UPDATE, 439 while ((r = ioctl(kernel_fd, CRYPTO_ENCRYPT_FINAL,
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | tty.c | 208 ioctl(0, TIOCSTI, &ch); 211 ioctl(0, TIOCSTI, &ch); 315 if (ioctl(fileno(stdout), TCGETA, &savtty) < 0) 316 { perror("ioctl"); 343 if (ioctl(Out, TCSETAW, &ttybuf) < 0) { 344 perror("ioctl"); 353 if (ioctl(Out, TCSETAW, &savtty) < 0) 354 perror("ioctl"); 587 ioctl(0, TIOCSTI, &ch); 590 ioctl( [all...] |
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/ |
H A D | adm_kef_ioctl.c | 47 * Prepare the argument for the LOAD_SOFT_CONFIG ioctl call for the 92 * Prepare the argument for the LOAD_SOFT_DISABLED ioctl call for the 137 * Prepare the argument for the LOAD_DEV_DISABLED ioctl call for the 192 * Prepare the calling argument of the UNLOAD_SOFT_MODULE ioctl call for the 273 if (ioctl(fd, CRYPTO_GET_DEV_LIST, pdevlist) == -1) { 274 cryptodebug("CRYPTO_GET_DEV_LIST ioctl failed: %s", 293 if (ioctl(fd, CRYPTO_GET_DEV_LIST, pdevlist) == -1) { 294 cryptodebug("CRYPTO_GET_DEV_LIST ioctl failed: %s", 303 cryptodebug("CRYPTO_GET_DEV_LIST ioctl failed, " 336 /* Set up the argument for the CRYPTO_GET_DEV_INFO ioctl cal [all...] |
/illumos-gate/usr/src/lib/libds/common/ |
H A D | libds.c | 397 * Format args for VLDS_SVC_REG ioctl. 414 if (ioctl(ds_fd, VLDS_SVC_REG, &vlds_arg) < 0) { 425 (void) ioctl(ds_fd, VLDS_UNREG_HDL, &vlds_arg); 493 if (ioctl(ds_fd, VLDS_HDL_LOOKUP, &vlds_arg) < 0) { 517 if (ioctl(ds_fd, VLDS_DMN_LOOKUP, &vlds_arg) < 0) { 546 (void) ioctl(ds_fd, VLDS_UNREG_HDL, &vlds_arg); 575 if (ioctl(ds_fd, VLDS_SEND_MSG, &vlds_arg) < 0) { 602 if (ioctl(ds_fd, VLDS_RECV_MSG, &vlds_arg) < 0) { 629 if (ioctl(ds_fd, VLDS_HDL_ISREADY, &vlds_arg) < 0) { 653 if (ioctl(ds_f [all...] |
/illumos-gate/usr/src/ucbcmd/stty/ |
H A D | sttyparse.c | 343 if(ioctl(fd, STGET, stermio) == -1) { 345 if(ioctl(fd, TCGETS, termios) == -1) { 346 if(ioctl(fd, TCGETA, termio) == -1) 364 if(ioctl(fd, TCGETX, termiox) == 0) 367 if(ioctl(fd, TIOCGWINSZ, winsize) == 0) 385 if(ioctl(fd, TCSETSW, termios) == -1) 394 if(ioctl(fd, TCSETAW, termio) == -1) 403 if (ioctl(fd, STSET, stermio) == -1) 407 if(ioctl(fd, TCSETXW, termiox) == -1) 412 && ioctl( [all...] |
/illumos-gate/usr/src/lib/efcode/fcdriver/ |
H A D | get_req.c | 79 if (ioctl(cdp->fcode_fd, FC_GET_PARAMETERS, &cdp->fc) < 0) { 80 log_perror(MSG_FATAL, "ioctl(FC_GET_PARAMETERS) failed"); 102 if (ioctl(cdp->fcode_fd, FC_GET_MY_ARGS, buffer) < 0) { 149 if (ioctl(cdp->fcode_fd, FC_GET_FCODE_DATA, &fcode_info) < 0) { 150 log_perror(MSG_FATAL, "ioctl(FC_GET_FCODE_DATA) failed"); 308 if (ioctl(cdp->fcode_fd, FC_SET_FCODE_ERROR, &error) < 0) { 309 log_perror(MSG_FATAL, "ioctl(FC_SET_FCODE_ERROR) failed"); 353 if (ioctl(cdp->fcode_fd, FC_GET_PARAMETERS, &cdp->fc) < 0) { 354 log_perror(MSG_FATAL, "ioctl(FC_GET_PARAMETERS) failed");
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/ |
H A D | piclenvd.c | 657 else if (ioctl(fd, I2C_GET_TEMPERATURE, temp) == -1) { 687 else if (ioctl(fd, I2C_GET_TEMPERATURE, temp) == -1) { 717 else if (ioctl(fan_fd, I2C_GET_FAN_SPEED, fanspeedp) == -1) { 737 else if (ioctl(fan_fd, I2C_GET_FAN_SPEED, &tach) == -1) { 776 if (ioctl(fan_fd, I2C_SET_FAN_SPEED, &speed) == -1) { 844 if (ioctl(fd, ADM1031_GET_FAN_FEATURE, &n) != -1) { 903 if (ioctl(sensorp->fd, ADM1031_GET_TEMP_MIN_RANGE, 1014 if (ioctl(sensorp->fd, ADM1031_GET_TEMP_MIN_RANGE, 1018 "read tminrange ioctl failed"); 1029 if (ioctl(sysf [all...] |
/illumos-gate/usr/src/cmd/th_tools/ |
H A D | th_manage.c | 195 if (ioctl(fd, command, &get_handles) == -1) { 217 if (ioctl(fd, BOFI_GET_HANDLE_INFO, &hdli) == -1) { 230 if (ioctl(fd, BOFI_GET_HANDLE_INFO, &hdli) == -1) { 250 if (ioctl(fd, command, &errctl) == -1) { 258 if (ioctl(fd, command, &errctl) == -1) {
|
/illumos-gate/usr/src/lib/libsun_ima/common/ |
H A D | ima.c | 284 if (ioctl(fd, ISCSI_PARAM_GET, &pg) == -1) { 302 if (ioctl(fd, ISCSI_PARAM_GET, &pg) == -1) { 336 if (ioctl(fd, ISCSI_INIT_NODE_NAME_SET, &ps)) { 338 "ISCSI_PARAM_SET ioctl failed, errno: %d", errno); 374 if (ioctl(fd, ISCSI_PARAM_SET, &ps)) { 376 "ISCSI_PARAM_SET ioctl failed, errno: %d", errno); 428 if (ioctl(fd, ISCSI_DISCOVERY_PROPS, &discoveryProps) != 0) { 430 "ISCSI_DISCOVERY_PROPS ioctl failed, errno: %d", errno); 800 * Issue ioctl to obtain the number of targets. 802 if (ioctl(f [all...] |