/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | fcntl.c | 250 #ifndef O_NONBLOCK in main() 255 if (O_NONBLOCK > o_local) o_local = O_NONBLOCK; in main() 298 #ifndef O_NONBLOCK in main() 315 #ifndef O_NONBLOCK in main()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | fcntl.h | 90 #define O_NONBLOCK 0x0004 /* no delay */ macro 180 #define FNONBLOCK O_NONBLOCK /* kernel */ 181 #define FNDELAY O_NONBLOCK /* compat */ 182 #define O_NDELAY O_NONBLOCK /* compat */
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | attropen.c | 58 if ((fd = open64(file, O_RDONLY|O_NONBLOCK)) == -1) { in attropen64() 89 if ((fd = open(file, O_RDONLY|O_NONBLOCK)) == -1) { in attropen()
|
/illumos-gate/usr/src/test/os-tests/tests/signalfd/ |
H A D | basic_args.c | 56 if ((res & O_NONBLOCK) != 0) { in main() 76 if ((res & O_NONBLOCK) == 0) { in main()
|
/illumos-gate/usr/src/cmd/bhyve/test/tests/mevent/ |
H A D | lists_delete.c | 129 if (fcntl(unused_pipe[0], F_SETFL, O_NONBLOCK) != 0) { in main() 143 if (fcntl(flush_pipe[0], F_SETFL, O_NONBLOCK) != 0) { in main()
|
H A D | read_requeue.c | 85 if (fcntl(pipefds[0], F_SETFL, O_NONBLOCK) != 0) { in main()
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | devalloc.h | 77 #define DA_RDWR O_RDWR|O_CREAT|O_NONBLOCK 78 #define DA_RDONLY O_RDONLY|O_NONBLOCK
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | util.c | 307 (void) fcntl(fd, F_SETFL, (flags & ~O_NONBLOCK)); in enable_blocking() 314 (void) fcntl(fd, F_SETFL, (flags | O_NONBLOCK)); in disable_blocking()
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | ttymon.c | 346 if ((fd = open(pmptr->p_device, O_RDONLY|O_NONBLOCK|O_NOCTTY)) < 0) { in set_softcar() 394 } else if ((fd = open(pmptr->p_device, O_RDWR|O_NONBLOCK)) in open_device() 467 if ((tmpfd = open(pmptr->p_device, O_RDWR|O_NONBLOCK)) == -1) { in open_device() 730 flag |= O_NONBLOCK; in setup_PCpipe()
|
H A D | tmhandler.c | 533 fd = open(pmptr->p_device, O_RDWR | O_NONBLOCK); in sigalarm() 550 fd = open(pmptr->p_device, O_RDWR | O_NONBLOCK); in sigalarm() 568 fd = open(pmptr->p_device, O_RDWR | O_NONBLOCK); in sigalarm()
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystoreUtil.c | 360 O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in create_keystore() 558 *fd = open_nointr(fname, mode|O_NONBLOCK); in acquire_file_lock() 593 fd = open_nointr(fname, mode|O_NONBLOCK); in open_and_lock_keystore_desc() 599 fd = open_nointr(fname, mode|O_NONBLOCK); in open_and_lock_keystore_desc() 693 fd = open_nointr(obj_fname, oflag|O_NONBLOCK); in open_and_lock_object_file() 735 O_WRONLY|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in create_updated_keystore_version() 1254 old_fd = open_nointr(orig_obj_name, O_RDONLY|O_NONBLOCK); in reencrypt_obj() 1267 O_WRONLY|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in reencrypt_obj() 1473 O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in soft_keystore_setpin() 2229 O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in soft_keystore_put_new_obj() [all …]
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | signalfd.c | 36 oflags |= O_NONBLOCK; in signalfd()
|
H A D | eventfd.c | 36 oflags |= O_NONBLOCK; in eventfd()
|
H A D | timerfd.c | 34 oflags |= O_NONBLOCK; in timerfd_create()
|
/illumos-gate/usr/src/cmd/hal/tools/sunos/ |
H A D | hal-system-lcd-get-brightness-sunos.c | 47 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) { in main()
|
H A D | hal-system-lcd-set-brightness-sunos.c | 48 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) { in main()
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | local.h | 170 ret & ~O_NONBLOCK) == -1) \ 186 ret | O_NONBLOCK) == -1) \
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/chat/ |
H A D | chat.c | 138 #ifndef O_NONBLOCK 139 #define O_NONBLOCK O_NDELAY macro 541 if (fcntl(0, F_SETFL, flags | O_NONBLOCK) == -1) 555 if (fcntl(0, F_SETFL, flags & ~O_NONBLOCK) == -1) in unalarm() 1215 if (fcntl(0, F_SETFL, status & ~O_NONBLOCK) == -1) in get_char() 1244 if (fcntl(0, F_SETFL, status & ~O_NONBLOCK) == -1)
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_digest.c | 55 if ((fd = open(filename, O_RDONLY | O_NONBLOCK)) == -1) { in bootadm_digest()
|
/illumos-gate/usr/src/cmd/hal/probing/acpi/ |
H A D | probe-acpi.c | 57 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) { in main()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/io/ |
H A D | tst.fds.c | 82 O_LARGEFILE | O_NOCTTY | O_NONBLOCK | O_NDELAY | O_RSYNC | in main()
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/db/ |
H A D | db.c | 57 (O_CREAT | O_EXCL | O_EXLOCK | O_NONBLOCK | O_RDONLY | \
|
/illumos-gate/usr/src/test/os-tests/tests/ksensor/ |
H A D | ksensor_err.c | 92 O_RDONLY | O_NONBLOCK }; in main()
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | restore.c | 954 if ((fromfd = openat64(tfd, from, O_RDONLY|O_NONBLOCK)) == -1) { in movexattrs() 967 O_RDONLY|O_NONBLOCK|O_XATTR)) == -1) { in movexattrs() 978 if ((tofd = openat64(tfd, to, O_RDONLY|O_NONBLOCK)) == -1 || in movexattrs() 979 (todir = openat64(tofd, ".", O_RDONLY|O_NONBLOCK|O_XATTR)) == -1) { in movexattrs()
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | uart_emul.c | 751 if (fcntl(connfd, F_SETFL, O_NONBLOCK) < 0) { in uart_sock_accept() 904 if (fcntl(sc->tty.rfd, F_SETFL, O_NONBLOCK) != 0) in uart_stdio_backend() 906 if (fcntl(sc->tty.wfd, F_SETFL, O_NONBLOCK) != 0) in uart_stdio_backend() 931 fd = open(path, O_RDWR | O_NONBLOCK); in uart_tty_backend()
|