Home
last modified time | relevance | path

Searched refs:O_NONBLOCK (Results 1 – 25 of 134) sorted by relevance

123456

/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dfcntl.c250 #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 Dfcntl.h90 #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 Dattropen.c58 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 Dbasic_args.c56 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 Dlists_delete.c129 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 Dread_requeue.c85 if (fcntl(pipefds[0], F_SETFL, O_NONBLOCK) != 0) { in main()
/illumos-gate/usr/src/lib/libbsm/common/
H A Ddevalloc.h77 #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 Dutil.c307 (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 Dttymon.c346 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 Dtmhandler.c533 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 DsoftKeystoreUtil.c360 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 Dsignalfd.c36 oflags |= O_NONBLOCK; in signalfd()
H A Deventfd.c36 oflags |= O_NONBLOCK; in eventfd()
H A Dtimerfd.c34 oflags |= O_NONBLOCK; in timerfd_create()
/illumos-gate/usr/src/cmd/hal/tools/sunos/
H A Dhal-system-lcd-get-brightness-sunos.c47 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) { in main()
H A Dhal-system-lcd-set-brightness-sunos.c48 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) { in main()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dlocal.h170 ret & ~O_NONBLOCK) == -1) \
186 ret | O_NONBLOCK) == -1) \
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/chat/
H A Dchat.c138 #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 Dbootadm_digest.c55 if ((fd = open(filename, O_RDONLY | O_NONBLOCK)) == -1) { in bootadm_digest()
/illumos-gate/usr/src/cmd/hal/probing/acpi/
H A Dprobe-acpi.c57 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) { in main()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/io/
H A Dtst.fds.c82 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 Ddb.c57 (O_CREAT | O_EXCL | O_EXLOCK | O_NONBLOCK | O_RDONLY | \
/illumos-gate/usr/src/test/os-tests/tests/ksensor/
H A Dksensor_err.c92 O_RDONLY | O_NONBLOCK }; in main()
/illumos-gate/usr/src/cmd/backup/restore/
H A Drestore.c954 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 Duart_emul.c751 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()

123456