Searched refs:ioctl (Results 226 - 250 of 901) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/Adm/sun/
H A DMakefile26 ETCFILES= ioctl.syscon passwd shadow motd
/illumos-gate/usr/src/cmd/fs.d/ufs/lockfs/
H A Dlockfs.c275 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 Dprobe-acpi.c22 #include <sys/ioctl.h>
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dipf_dotuning.c8 #include <sys/ioctl.h>
29 perror("ioctl(SIOCIPFGETNEXT)");
44 perror("ioctl(SIOCIPFSET)");
55 perror("ioctl(SIOCIPFGET)");
H A Dload_hashnode.c15 #include <sys/ioctl.h>
H A Dload_pool.c15 #include <sys/ioctl.h>
H A Dload_poolnode.c12 #include <sys/ioctl.h>
H A Dremove_hashnode.c10 #include <sys/ioctl.h>
H A Dremove_poolnode.c10 #include <sys/ioctl.h>
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipfzone.c142 if (ioctl(fd, SIOCIPFZONESET, &ipzo) == -1) {
/illumos-gate/usr/src/cmd/srptsvc/
H A Dsrptsvc.c96 ret = ioctl(fd, srpt_ioctl, NULL);
/illumos-gate/usr/src/uts/common/ktli/
H A Dt_kspoll.c65 #include <sys/ioctl.h>
/illumos-gate/usr/src/ucbhead/
H A Dunistd.h159 extern int ioctl(int, int, ...);
/illumos-gate/usr/src/boot/sys/sys/
H A Dioccom.h41 #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 DkernelDigest.c29 #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 DkernelDecrypt.c29 #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 DkernelEncrypt.c29 #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 Dtty.c208 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 Dadm_kef_ioctl.c47 * 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 Dlibds.c397 * 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 Dsttyparse.c343 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 Dget_req.c79 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 Dpiclenvd.c657 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 Dth_manage.c195 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 Dima.c284 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...]

Completed in 148 milliseconds

1234567891011>>