Home
last modified time | relevance | path

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

123456

/titanic_44/usr/src/lib/libast/common/features/
H A Dfcntl.c245 #ifndef O_NONBLOCK in main()
250 if (O_NONBLOCK > o_local) o_local = O_NONBLOCK; in main()
293 #ifndef O_NONBLOCK in main()
310 #ifndef O_NONBLOCK in main()
/titanic_44/usr/src/lib/libc/port/gen/
H A Dattropen.c60 if ((fd = open64(file, O_RDONLY|O_NONBLOCK)) == -1) { in attropen64()
91 if ((fd = open(file, O_RDONLY|O_NONBLOCK)) == -1) { in attropen()
/titanic_44/usr/src/lib/libbc/libc/sys/4.2/
H A Dfcntl.c62 #define FLAGS_MASK (O_SYNC|O_NONBLOCK|O_CREAT|O_TRUNC|O_EXCL \
131 if (arg & O_NONBLOCK)
165 narg |= O_NONBLOCK;
H A Dopen.c47 flags |= O_NONBLOCK; in bc_open()
/titanic_44/usr/src/lib/libbc/libc/sys/sys5/
H A Dfcntl.c61 #define FLAGS_MASK (O_SYNC|O_NONBLOCK|O_CREAT|O_TRUNC|O_EXCL \
128 if (arg & O_NONBLOCK)
160 narg |= O_NONBLOCK;
/titanic_44/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
/titanic_44/usr/src/lib/fm/libldom/sparc/
H A Dldom_utils.c43 (void) fcntl(notify_pipe[1], F_SETFL, O_NONBLOCK); in notify_setup()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dutil.c309 (void) fcntl(fd, F_SETFL, (flags & ~O_NONBLOCK)); in enable_blocking()
316 (void) fcntl(fd, F_SETFL, (flags | O_NONBLOCK)); in disable_blocking()
/titanic_44/usr/src/cmd/ttymon/
H A Dttymon.c359 if ((fd = open(pmptr->p_device, O_RDONLY|O_NONBLOCK|O_NOCTTY)) < 0) {
408 } else if ((fd = open(pmptr->p_device, O_RDWR|O_NONBLOCK))
480 if ((tmpfd = open(pmptr->p_device, O_RDWR|O_NONBLOCK)) == -1) {
665 flag |= O_NONBLOCK; in setup_PCpipe()
H A Dtmhandler.c563 if ((fd=open(pmptr->p_device,O_RDWR|O_NONBLOCK)) == -1){
581 if ((fd=open(pmptr->p_device,O_RDWR|O_NONBLOCK)) == -1){
599 if ((fd=open(pmptr->p_device,O_RDWR|O_NONBLOCK)) == -1){
/titanic_44/usr/src/cmd/hal/tools/sunos/
H A Dhal-system-lcd-get-brightness-sunos.c49 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) { in main()
H A Dhal-system-lcd-set-brightness-sunos.c50 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) { in main()
/titanic_44/usr/src/cmd/ssh/libssh/common/
H A Dmisc.c63 if (val & O_NONBLOCK) { in set_nonblock()
68 val |= O_NONBLOCK; in set_nonblock()
84 if (!(val & O_NONBLOCK)) { in unset_nonblock()
89 val &= ~O_NONBLOCK; in unset_nonblock()
/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c359 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()
1474 O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in soft_keystore_setpin()
2233 O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in soft_keystore_put_new_obj()
[all …]
/titanic_44/usr/src/lib/libpkg/common/
H A Dkeystore.c1167 if ((newfd = open(newpath, O_RDWR|O_NONBLOCK, 0)) != -1) { in restore_keystore_file()
1340 if (((fd1 = open(storepath, O_NONBLOCK|O_RDONLY)) == -1) || in resolve_paths()
1351 O_NONBLOCK|O_RDONLY)) != -1) && in resolve_paths()
1379 O_NONBLOCK|O_RDONLY)) != -1) && in resolve_paths()
1471 open(keystore->capath, O_NONBLOCK|O_RDONLY)) == -1) { in lock_keystore()
1482 O_NONBLOCK|O_RDWR|O_CREAT|O_EXCL, in lock_keystore()
1527 O_RDWR|O_NONBLOCK)) == -1) { in lock_keystore()
1532 O_NONBLOCK|O_RDWR|O_CREAT|O_EXCL, in lock_keystore()
2120 fd = open(dest, O_RDWR|O_NONBLOCK); in clear_keystore_file()
2187 if ((fd = open(newpath, O_CREAT|O_EXCL|O_WRONLY|O_NONBLOCK, in write_keystore_file()
[all …]
/titanic_44/usr/src/cmd/sendmail/libsm/
H A Dlocal.h172 ret & ~O_NONBLOCK) == -1) \
188 ret | O_NONBLOCK) == -1) \
/titanic_44/usr/src/lib/krb5/plugins/kdb/db2/libdb2/db/
H A Ddb.c59 (O_CREAT | O_EXCL | O_EXLOCK | O_NONBLOCK | O_RDONLY | \
/titanic_44/usr/src/cmd/hal/probing/acpi/
H A Dprobe-acpi.c57 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) { in main()
/titanic_44/usr/src/cmd/dtrace/test/tst/common/io/
H A Dtst.fds.c84 O_LARGEFILE | O_NOCTTY | O_NONBLOCK | O_NDELAY | O_RSYNC | in main()
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/chat/
H A Dchat.c144 #ifndef O_NONBLOCK
145 #define O_NONBLOCK O_NDELAY macro
547 if (fcntl(0, F_SETFL, flags | O_NONBLOCK) == -1)
561 if (fcntl(0, F_SETFL, flags & ~O_NONBLOCK) == -1) in unalarm()
1220 if (fcntl(0, F_SETFL, status & ~O_NONBLOCK) == -1) in get_char()
1248 if (fcntl(0, F_SETFL, status & ~O_NONBLOCK) == -1)
/titanic_44/usr/src/lib/libbc/inc/include/sys/
H A Dfcntlcom.h78 #define O_NONBLOCK _FNONBLOCK macro
/titanic_44/usr/src/cmd/ssh/include/
H A Ddefines.h91 #ifndef O_NONBLOCK /* Non Blocking Open */
92 #define O_NONBLOCK 00004 macro
/titanic_44/usr/src/lib/libcryptoutil/common/
H A Dkeyfile.c59 if ((fd = open(filename, O_RDONLY | O_NONBLOCK)) == -1) { in pkcs11_read_data()
/titanic_44/usr/src/lib/libnsl/nsl/
H A D_utility.c368 if (cntlflag & (O_NDELAY | O_NONBLOCK)) in _t_is_ok()
369 (void) fcntl(fd, F_SETFL, cntlflag & ~(O_NDELAY | O_NONBLOCK)); in _t_is_ok()
376 if (cntlflag & (O_NDELAY | O_NONBLOCK)) in _t_is_ok()
384 if (cntlflag & (O_NDELAY | O_NONBLOCK)) in _t_is_ok()
395 if (cntlflag & (O_NDELAY | O_NONBLOCK)) in _t_is_ok()
402 if (cntlflag & (O_NDELAY | O_NONBLOCK)) in _t_is_ok()
H A Dt_connect.c123 if (fctlflg & (O_NDELAY | O_NONBLOCK)) { in _tx_connect()

123456