O_NONBLOCK 1418 arch/x86/kernel/apm_32.c if ((queue_empty(as)) && (fp->f_flags & O_NONBLOCK)) O_NONBLOCK 565 block/bsg.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 119 fs/anon_inodes.c file->f_flags = O_RDWR | (flags & O_NONBLOCK); O_NONBLOCK 225 fs/coda/psdev.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 674 fs/dlm/lowcomms.c result = con->sock->ops->accept(con->sock, newsock, O_NONBLOCK); O_NONBLOCK 920 fs/dlm/lowcomms.c O_NONBLOCK); O_NONBLOCK 818 fs/dlm/user.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 100 fs/eventfd.c else if (!(file->f_flags & O_NONBLOCK)) { O_NONBLOCK 150 fs/eventfd.c else if (!(file->f_flags & O_NONBLOCK)) { O_NONBLOCK 208 fs/eventfd.c BUILD_BUG_ON(EFD_NONBLOCK != O_NONBLOCK); O_NONBLOCK 225 fs/eventfd.c flags & (O_CLOEXEC | O_NONBLOCK)); O_NONBLOCK 143 fs/fcntl.c #define SETFL_MASK (O_APPEND | O_NONBLOCK | O_NDELAY | FASYNC | O_DIRECT | O_NOATIME) O_NONBLOCK 163 fs/fcntl.c if (O_NONBLOCK != O_NDELAY) O_NONBLOCK 165 fs/fcntl.c arg |= O_NONBLOCK; O_NONBLOCK 66 fs/fifo.c if ((filp->f_flags & O_NONBLOCK)) { O_NONBLOCK 86 fs/fifo.c if ((filp->f_flags & O_NONBLOCK) && !pipe->readers) O_NONBLOCK 749 fs/fuse/dev.c if ((file->f_flags & O_NONBLOCK) && fc->connected && O_NONBLOCK 453 fs/inotify_user.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 592 fs/inotify_user.c BUILD_BUG_ON(IN_NONBLOCK != O_NONBLOCK); O_NONBLOCK 633 fs/inotify_user.c filp->f_flags = O_RDONLY | (flags & O_NONBLOCK); O_NONBLOCK 377 fs/ioctl.c flag = O_NONBLOCK; O_NONBLOCK 380 fs/ioctl.c if (O_NONBLOCK != O_NDELAY) O_NONBLOCK 1104 fs/locks.c if (filp && !(filp->f_flags & O_NONBLOCK)) O_NONBLOCK 1214 fs/locks.c && ((mode & O_NONBLOCK) == 0)) { O_NONBLOCK 1235 fs/locks.c if (i_have_this_lease || (mode & O_NONBLOCK)) { O_NONBLOCK 343 fs/nfsd/vfs.c host_err = break_lease(inode, FMODE_WRITE | O_NONBLOCK); O_NONBLOCK 709 fs/nfsd/vfs.c host_err = break_lease(inode, O_NONBLOCK | ((access & NFSD_MAY_WRITE) ? FMODE_WRITE : 0)); O_NONBLOCK 1625 fs/ocfs2/cluster/tcp.c O_NONBLOCK); O_NONBLOCK 1773 fs/ocfs2/cluster/tcp.c ret = sock->ops->accept(sock, new_sock, O_NONBLOCK); O_NONBLOCK 103 fs/ocfs2/dlm/dlmfs.c if (open_flags & O_NONBLOCK) O_NONBLOCK 366 fs/pipe.c if (filp->f_flags & O_NONBLOCK) { O_NONBLOCK 537 fs/pipe.c if (filp->f_flags & O_NONBLOCK) { O_NONBLOCK 951 fs/pipe.c f->f_flags = O_WRONLY | (flags & O_NONBLOCK); O_NONBLOCK 987 fs/pipe.c f->f_flags = O_RDONLY | (flags & O_NONBLOCK); O_NONBLOCK 1001 fs/pipe.c if (flags & ~(O_CLOEXEC | O_NONBLOCK)) O_NONBLOCK 38 fs/proc/kmsg.c if ((file->f_flags & O_NONBLOCK) && !do_syslog(9, NULL, 0)) O_NONBLOCK 757 fs/read_write.c if (in_file->f_flags & O_NONBLOCK) O_NONBLOCK 178 fs/signalfd.c int nonblock = file->f_flags & O_NONBLOCK; O_NONBLOCK 216 fs/signalfd.c BUILD_BUG_ON(SFD_NONBLOCK != O_NONBLOCK); O_NONBLOCK 239 fs/signalfd.c flags & (O_CLOEXEC | O_NONBLOCK)); O_NONBLOCK 120 fs/timerfd.c if (!ctx->ticks && !(file->f_flags & O_NONBLOCK)) { O_NONBLOCK 189 fs/timerfd.c BUILD_BUG_ON(TFD_NONBLOCK != O_NONBLOCK); O_NONBLOCK 206 fs/timerfd.c flags & (O_CLOEXEC | O_NONBLOCK)); O_NONBLOCK 690 fs/xfs/linux-2.6/xfs_ioctl.c if (filp->f_flags & (O_NDELAY|O_NONBLOCK)) O_NONBLOCK 1213 fs/xfs/linux-2.6/xfs_ioctl.c if (filp->f_flags & (O_NDELAY|O_NONBLOCK)) O_NONBLOCK 1251 fs/xfs/linux-2.6/xfs_ioctl.c if (filp->f_flags & (O_NDELAY|O_NONBLOCK)) O_NONBLOCK 166 fs/xfs/xfs_dmapi.h #define FILP_DELAY_FLAG(filp) ((filp->f_flags&(O_NDELAY|O_NONBLOCK)) ? \ O_NONBLOCK 27 include/asm-generic/fcntl.h #ifndef O_NONBLOCK O_NONBLOCK 55 include/asm-generic/fcntl.h #define O_NDELAY O_NONBLOCK O_NONBLOCK 18 include/linux/eventfd.h #define EFD_NONBLOCK O_NONBLOCK O_NONBLOCK 70 include/linux/inotify.h #define IN_NONBLOCK O_NONBLOCK O_NONBLOCK 106 include/linux/net.h #define SOCK_NONBLOCK O_NONBLOCK O_NONBLOCK 16 include/linux/signalfd.h #define SFD_NONBLOCK O_NONBLOCK O_NONBLOCK 19 include/linux/timerfd.h #define TFD_NONBLOCK O_NONBLOCK O_NONBLOCK 865 ipc/mqueue.c if (filp->f_flags & O_NONBLOCK) { O_NONBLOCK 939 ipc/mqueue.c if (filp->f_flags & O_NONBLOCK) { O_NONBLOCK 1123 ipc/mqueue.c if (mqstat.mq_flags & (~O_NONBLOCK)) O_NONBLOCK 1140 ipc/mqueue.c omqstat.mq_flags = filp->f_flags & O_NONBLOCK; O_NONBLOCK 1147 ipc/mqueue.c if (mqstat.mq_flags & O_NONBLOCK) O_NONBLOCK 1148 ipc/mqueue.c filp->f_flags |= O_NONBLOCK; O_NONBLOCK 1150 ipc/mqueue.c filp->f_flags &= ~O_NONBLOCK; O_NONBLOCK 678 kernel/module.c if (flags & O_NONBLOCK) { O_NONBLOCK 2529 kernel/trace/trace.c if ((filp->f_flags & O_NONBLOCK)) { O_NONBLOCK 1261 net/9p/trans_fd.c ((struct p9_trans_fd *)trans->priv)->rd->f_flags |= O_NONBLOCK; O_NONBLOCK 1285 net/9p/trans_fd.c if (!(ts->rd->f_flags & O_NONBLOCK)) O_NONBLOCK 1314 net/9p/trans_fd.c if (!(ts->wr->f_flags & O_NONBLOCK)) O_NONBLOCK 205 net/atm/svc.c if (flags & O_NONBLOCK) { O_NONBLOCK 347 net/atm/svc.c if (flags & O_NONBLOCK) { O_NONBLOCK 534 net/atm/svc.c if (flags & O_NONBLOCK) { O_NONBLOCK 1267 net/ax25/af_ax25.c if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { O_NONBLOCK 1346 net/ax25/af_ax25.c if (flags & O_NONBLOCK) { O_NONBLOCK 891 net/bluetooth/l2cap.c sock_sndtimeo(sk, flags & O_NONBLOCK)); O_NONBLOCK 956 net/bluetooth/l2cap.c timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 665 net/bluetooth/rfcomm/core.c *err = kernel_connect(sock, (struct sockaddr *) &addr, sizeof(addr), O_NONBLOCK); O_NONBLOCK 1785 net/bluetooth/rfcomm/core.c err = kernel_accept(sock, &nsock, O_NONBLOCK); O_NONBLOCK 419 net/bluetooth/rfcomm/sock.c sock_sndtimeo(sk, flags & O_NONBLOCK)); O_NONBLOCK 494 net/bluetooth/rfcomm/sock.c timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 527 net/bluetooth/sco.c sock_sndtimeo(sk, flags & O_NONBLOCK)); O_NONBLOCK 571 net/bluetooth/sco.c timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 976 net/decnet/af_decnet.c long timeo = sock_sndtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 1077 net/decnet/af_decnet.c long timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 609 net/ipv4/af_inet.c timeo = sock_sndtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 774 net/ipv4/af_inet.c err = sk->sk_prot->disconnect(sk, O_NONBLOCK); O_NONBLOCK 252 net/ipv4/inet_connection_sock.c long timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 640 net/ipv4/inet_connection_sock.c sk->sk_prot->disconnect(child, O_NONBLOCK); O_NONBLOCK 1445 net/ipv4/udp.c !(file->f_flags & O_NONBLOCK) && O_NONBLOCK 876 net/irda/af_irda.c if (flags & O_NONBLOCK) O_NONBLOCK 1033 net/irda/af_irda.c if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) O_NONBLOCK 260 net/irda/ircomm/ircomm_tty.c if (filp->f_flags & O_NONBLOCK || tty->flags & (1 << TTY_IO_ERROR)){ O_NONBLOCK 316 net/irda/irnet/irnet_ppp.c if(file->f_flags & O_NONBLOCK) O_NONBLOCK 500 net/iucv/af_iucv.c sock_sndtimeo(sk, flags & O_NONBLOCK)); O_NONBLOCK 550 net/iucv/af_iucv.c timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 443 net/llc/af_llc.c const long timeo = sock_sndtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 142 net/mac80211/rc80211_pid_debugfs.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 728 net/netrom/af_netrom.c if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { O_NONBLOCK 805 net/netrom/af_netrom.c if (flags & O_NONBLOCK) { O_NONBLOCK 675 net/phonet/pep.c err = pep_wait_connreq(sk, flags & O_NONBLOCK); O_NONBLOCK 836 net/rose/af_rose.c if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { O_NONBLOCK 921 net/rose/af_rose.c if (flags & O_NONBLOCK) { O_NONBLOCK 1120 net/sctp/socket.c timeo = sock_sndtimeo(sk, f_flags & O_NONBLOCK); O_NONBLOCK 3461 net/sctp/socket.c timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 394 net/socket.c file->f_flags = O_RDWR | (flags & O_NONBLOCK); O_NONBLOCK 694 net/socket.c flags = !(file->f_flags & O_NONBLOCK) ? 0 : MSG_DONTWAIT; O_NONBLOCK 745 net/socket.c msg->msg_flags = (file->f_flags & O_NONBLOCK) ? MSG_DONTWAIT : 0; O_NONBLOCK 785 net/socket.c msg->msg_flags = (file->f_flags & O_NONBLOCK) ? MSG_DONTWAIT : 0; O_NONBLOCK 1236 net/socket.c if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) O_NONBLOCK 1237 net/socket.c flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; O_NONBLOCK 1243 net/socket.c retval = sock_map_fd(sock, flags & (O_CLOEXEC | O_NONBLOCK)); O_NONBLOCK 1273 net/socket.c if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) O_NONBLOCK 1274 net/socket.c flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; O_NONBLOCK 1307 net/socket.c err = sock_attach_fd(sock1, newfile1, flags & O_NONBLOCK); O_NONBLOCK 1312 net/socket.c err = sock_attach_fd(sock2, newfile2, flags & O_NONBLOCK); O_NONBLOCK 1441 net/socket.c if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) O_NONBLOCK 1442 net/socket.c flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; O_NONBLOCK 1468 net/socket.c err = sock_attach_fd(newsock, newfile, flags & O_NONBLOCK); O_NONBLOCK 1713 net/socket.c if (sock->file->f_flags & O_NONBLOCK) O_NONBLOCK 1762 net/socket.c if (sock->file->f_flags & O_NONBLOCK) O_NONBLOCK 1969 net/socket.c if (sock->file->f_flags & O_NONBLOCK) O_NONBLOCK 2055 net/socket.c if (sock->file->f_flags & O_NONBLOCK) O_NONBLOCK 728 net/sunrpc/svcsock.c err = kernel_accept(sock, &newsock, O_NONBLOCK); O_NONBLOCK 1619 net/sunrpc/xprtsock.c return kernel_connect(sock, xs_addr(xprt), xprt->addrlen, O_NONBLOCK); O_NONBLOCK 1379 net/tipc/socket.c if (flags & O_NONBLOCK) { O_NONBLOCK 1517 net/tipc/socket.c if (flags & O_NONBLOCK) { O_NONBLOCK 1026 net/unix/af_unix.c timeo = sock_sndtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 1219 net/unix/af_unix.c skb = skb_recv_datagram(sk, 0, flags&O_NONBLOCK, &err); O_NONBLOCK 737 net/x25/af_x25.c if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) O_NONBLOCK 1242 sound/core/control.c if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { O_NONBLOCK 120 sound/core/hwdep.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 1379 sound/core/oss/pcm_oss.c else if ((substream->f_flags & O_NONBLOCK) != 0) { O_NONBLOCK 1394 sound/core/oss/pcm_oss.c if ((substream->f_flags & O_NONBLOCK) != 0 && O_NONBLOCK 1653 sound/core/oss/pcm_oss.c substream->f_flags &= ~O_NONBLOCK; O_NONBLOCK 1898 sound/core/oss/pcm_oss.c file->f_flags |= O_NONBLOCK; O_NONBLOCK 2238 sound/core/oss/pcm_oss.c substream->f_flags |= O_NONBLOCK; O_NONBLOCK 2240 sound/core/oss/pcm_oss.c substream->f_flags &= ~O_NONBLOCK; O_NONBLOCK 2382 sound/core/oss/pcm_oss.c nonblock = !!(file->f_flags & O_NONBLOCK); O_NONBLOCK 2624 sound/core/oss/pcm_oss.c substream->f_flags = file->f_flags & O_NONBLOCK; O_NONBLOCK 2646 sound/core/oss/pcm_oss.c substream->f_flags = file->f_flags & O_NONBLOCK; O_NONBLOCK 1706 sound/core/pcm_lib.c nonblock = !!(substream->f_flags & O_NONBLOCK); O_NONBLOCK 1769 sound/core/pcm_lib.c nonblock = !!(substream->f_flags & O_NONBLOCK); O_NONBLOCK 1910 sound/core/pcm_lib.c nonblock = !!(substream->f_flags & O_NONBLOCK); O_NONBLOCK 1969 sound/core/pcm_lib.c nonblock = !!(substream->f_flags & O_NONBLOCK); O_NONBLOCK 1348 sound/core/pcm_native.c if (substream->f_flags & O_NONBLOCK) O_NONBLOCK 2140 sound/core/pcm_native.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 401 sound/core/rawmidi.c if ((file->f_flags & O_APPEND) && !(file->f_flags & O_NONBLOCK)) O_NONBLOCK 435 sound/core/rawmidi.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 975 sound/core/rawmidi.c if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { O_NONBLOCK 1216 sound/core/rawmidi.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 1238 sound/core/rawmidi.c if ((size_t)count1 < count && (file->f_flags & O_NONBLOCK)) O_NONBLOCK 305 sound/core/seq/oss/seq_oss_init.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 428 sound/core/seq/seq_clientmgr.c nonblock = (file->f_flags & O_NONBLOCK) || result > 0; O_NONBLOCK 1058 sound/core/seq/seq_clientmgr.c !(file->f_flags & O_NONBLOCK), O_NONBLOCK 1852 sound/core/timer.c if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { O_NONBLOCK 1064 sound/oss/au1550_ac97.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 1143 sound/oss/au1550_ac97.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 1372 sound/oss/au1550_ac97.c return drain_dac(s, file->f_flags & O_NONBLOCK); O_NONBLOCK 1630 sound/oss/au1550_ac97.c file->f_flags |= O_NONBLOCK; O_NONBLOCK 1787 sound/oss/au1550_ac97.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 1797 sound/oss/au1550_ac97.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 1859 sound/oss/au1550_ac97.c drain_dac(s, file->f_flags & O_NONBLOCK); O_NONBLOCK 252 sound/oss/audio.c if ((err = DMAbuf_getwrbuffer(dev, &dma_buf, &buf_size, !!(file->f_flags & O_NONBLOCK))) < 0) O_NONBLOCK 255 sound/oss/audio.c if ((file->f_flags & O_NONBLOCK) && err == -EAGAIN) O_NONBLOCK 326 sound/oss/audio.c if ((buf_no = DMAbuf_getrdbuffer(dev, &dmabuf, &l, !!(file->f_flags & O_NONBLOCK))) < 0) O_NONBLOCK 335 sound/oss/audio.c if ((file->f_flags & O_NONBLOCK) && buf_no == -EAGAIN) O_NONBLOCK 436 sound/oss/audio.c file->f_flags |= O_NONBLOCK; O_NONBLOCK 606 sound/oss/dmasound/dmasound_core.c if (write_sq.open_mode & O_NONBLOCK) O_NONBLOCK 689 sound/oss/dmasound/dmasound_core.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 279 sound/oss/midibuf.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 323 sound/oss/midibuf.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 99 sound/oss/sequencer.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 308 sound/oss/sequencer.c if (!seq_queue(event_rec, (file->f_flags & (O_NONBLOCK) ? 1 : 0))) O_NONBLOCK 315 sound/oss/sequencer.c if (!processed && (file->f_flags & O_NONBLOCK)) O_NONBLOCK 1138 sound/oss/sequencer.c if (mode != OPEN_READ && !(file->f_flags & O_NONBLOCK)) O_NONBLOCK 138 sound/oss/sh_dac_audio.c file->f_flags |= O_NONBLOCK; O_NONBLOCK 1720 sound/oss/swarm_cs4297a.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 1816 sound/oss/swarm_cs4297a.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 2203 sound/oss/swarm_cs4297a.c file->f_flags |= O_NONBLOCK; O_NONBLOCK 2353 sound/oss/swarm_cs4297a.c drain_dac(s, file->f_flags & O_NONBLOCK); O_NONBLOCK 2362 sound/oss/swarm_cs4297a.c drain_adc(s, file->f_flags & O_NONBLOCK); O_NONBLOCK 2417 sound/oss/swarm_cs4297a.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 2434 sound/oss/swarm_cs4297a.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 2283 sound/oss/vwsnd.c file->f_flags & O_NONBLOCK) { O_NONBLOCK 2359 sound/oss/vwsnd.c file->f_flags & O_NONBLOCK) { O_NONBLOCK 2676 sound/oss/vwsnd.c file->f_flags |= O_NONBLOCK; O_NONBLOCK 2934 sound/oss/vwsnd.c if (file->f_flags & O_NONBLOCK) {