Home
last modified time | relevance | path

Searched refs:FNONBLOCK (Results 1 – 25 of 73) sorted by relevance

123

/illumos-gate/usr/src/boot/sys/sys/
H A Dfcntl.h153 #define FMASK (FREAD|FWRITE|FAPPEND|FASYNC|FFSYNC|FNONBLOCK|O_DIRECT|FEXEC)
155 #define FCNTLFLAGS (FAPPEND|FASYNC|FFSYNC|FNONBLOCK|FRDAHEAD|O_DIRECT)
166 #define FCNTLFLAGS (FAPPEND|FASYNC|FFSYNC|FNONBLOCK|FPOSIXSHM|FRDAHEAD| \
180 #define FNONBLOCK O_NONBLOCK /* kernel */ macro
/illumos-gate/usr/src/uts/common/syscall/
H A Dpipe.c119 if ((flags & ~(FCLOEXEC|FNONBLOCK)) != 0) { in pipe()
160 if (flags & FNONBLOCK) { in pipe()
163 iflags = flags & FNONBLOCK; in pipe()
H A Dopen.c207 if ((filemode & (FNONBLOCK|FNDELAY)) == (FNONBLOCK|FNDELAY)) in copen()
H A Dfcntl.c240 if ((iarg & (FNONBLOCK|FNDELAY)) == (FNONBLOCK|FNDELAY)) in fcntl()
/illumos-gate/usr/src/uts/common/io/
H A Dtty_pty.c483 if (uio->uio_fmode & FNONBLOCK) { in ptcread()
548 if (uio->uio_fmode & FNONBLOCK) { in ptcwrite()
586 if (uio->uio_fmode & FNONBLOCK) { in ptcwrite()
620 !(uio->uio_fmode & FNONBLOCK)) { in ptcwrite()
622 uio->uio_fmode |= FNONBLOCK; in ptcwrite()
632 if (uio->uio_fmode & FNONBLOCK) { in ptcwrite()
H A Deventfd.c103 if (uio->uio_fmode & (FNDELAY|FNONBLOCK)) { in eventfd_read()
174 if (uio->uio_fmode & (FNDELAY|FNONBLOCK)) { in eventfd_write()
H A Drandom.c244 uiop->uio_fmode & (FNDELAY|FNONBLOCK)); in rnd_read()
H A Dufmtest.c192 const int inv_flags = FWRITE | FEXCL | FNDELAY | FNONBLOCK; in ufmtest_open()
H A Dtimerfd.c156 if (uio->uio_fmode & (FNDELAY|FNONBLOCK)) { in timerfd_read()
H A Dufm.c159 const int inv_flags = FWRITE | FEXCL | FNDELAY | FNONBLOCK; in ufm_open()
/illumos-gate/usr/src/ucbhead/sys/
H A Dfile.h87 #define FNONBLOCK 0x80 /* Non-blocking flag (POSIX). */ macro
H A Dfcntl.h130 #define FNONBLOCK 0x80 macro
/illumos-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_event.c60 if ((flag & ~FNONBLOCK) != (FREAD | FOFFMAX)) in ctfs_endpoint_open()
66 if (flag & FNONBLOCK) in ctfs_endpoint_open()
/illumos-gate/usr/src/uts/common/sys/
H A Dfile.h91 #define FNONBLOCK 0x80 macro
/illumos-gate/usr/src/uts/common/fs/fifofs/
H A Dfifovnops.c349 if (flag & (FNDELAY|FNONBLOCK)) { in fifo_open()
385 if ((flag & (FNDELAY|FNONBLOCK)) && fnp->fn_rcnt == 0) { in fifo_open()
696 if (uiop->uio_fmode & (FNDELAY|FNONBLOCK)) { in fifo_read()
698 if (uiop->uio_fmode & FNONBLOCK) in fifo_read()
759 if (uiop->uio_fmode & (FNDELAY|FNONBLOCK)) in fifo_read()
898 fmode = uiop->uio_fmode & (FNDELAY|FNONBLOCK); in fifo_write()
/illumos-gate/usr/src/uts/common/ktli/
H A Dt_kutil.c98 if (fmode & (FNDELAY|FNONBLOCK)) in tli_recv()
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsocksdp.c196 error = so_acceptq_dequeue(lso, (fflag & (FNONBLOCK|FNDELAY)), &nso); in sosdp_accept()
453 uiop->uio_fmode | ((flags & MSG_DONTWAIT) ? FNONBLOCK : 0)); in sosdp_recvmsg()
462 if (uiop->uio_fmode & (FNDELAY|FNONBLOCK)) { in sosdp_recvmsg()
514 if (uiop->uio_fmode & (FNDELAY|FNONBLOCK)) in sosdp_sendmsg()
H A Dsocksctp.c253 error = so_acceptq_dequeue(so, (fflag & (FNONBLOCK|FNDELAY)), nsop); in sosctp_accept()
560 uiop->uio_fmode | ((flags & MSG_DONTWAIT) ? FNONBLOCK : 0)); in sosctp_recvmsg()
704 if ((uiop->uio_fmode & (FNDELAY|FNONBLOCK)) || in sosctp_uiomove()
830 if ((uiop->uio_fmode & (FNDELAY|FNONBLOCK)) || in sosctp_sendmsg()
1070 if ((uiop->uio_fmode & (FNDELAY|FNONBLOCK)) || in sosctp_seq_sendmsg()
/illumos-gate/usr/src/uts/common/io/ksensor/
H A Dksensor_drv.c64 if ((flags & (FEXCL | FNDELAY | FNONBLOCK | FWRITE)) != 0) { in ksensor_open()
/illumos-gate/usr/src/uts/intel/io/amdzen/
H A Dusmn.c55 if ((flags & (FEXCL | FNDELAY | FNONBLOCK)) != 0) { in usmn_open()
H A Dzen_udf.c55 if ((flags & (FEXCL | FNDELAY | FNONBLOCK)) != 0) { in zen_udf_open()
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_sops.c298 fflag & (FNONBLOCK|FNDELAY), id); in so_connect()
321 if ((error = so_acceptq_dequeue(so, (fflag & (FNONBLOCK|FNDELAY)), in so_accept()
355 (uiop->uio_fmode & (FNONBLOCK|FNDELAY)); in so_sendmsg()
472 (fflag & (FNONBLOCK|FNDELAY)); in so_sendmblk_impl()
1667 uiop->uio_fmode | ((flags & MSG_DONTWAIT) ? FNONBLOCK : 0)); in so_recvmsg()
H A Dsockcommon_vnops.c238 if (nflags & FNONBLOCK) in socket_vop_setfl()
/illumos-gate/usr/src/uts/common/io/vio9p/
H A Dvio9p.c693 bool blocking = (uio->uio_fmode & (FNDELAY | FNONBLOCK)) == 0; in vio9p_read()
762 bool blocking = (uio->uio_fmode & (FNDELAY | FNONBLOCK)) == 0; in vio9p_write()
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dmqueue.c524 mqdnp->mqdn_flags = (oflag - FOPEN) & (FNONBLOCK); in mq_open()
1101 flag = FNONBLOCK; in mq_setattr()

123