Home
last modified time | relevance | path

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

/freebsd/sys/sys/
H A Dfcntl.h165 #define FMASK (FREAD|FWRITE|FAPPEND|FASYNC|FFSYNC|FDSYNC|FNONBLOCK| \
168 #define FCNTLFLAGS (FAPPEND|FASYNC|FFSYNC|FDSYNC|FNONBLOCK|FRDAHEAD|O_DIRECT)
179 #define FCNTLFLAGS (FAPPEND|FASYNC|FFSYNC|FNONBLOCK|FPOSIXSHM|FRDAHEAD| \
194 #define FNONBLOCK O_NONBLOCK /* kernel */ macro
/freebsd/sys/kern/
H A Dsys_eventfd.c122 fflags |= FNONBLOCK; in eventfd_create_file()
156 if ((fp->f_flag & FNONBLOCK) != 0) { in eventfd_read()
204 if ((fp->f_flag & FNONBLOCK) != 0) { in eventfd_write()
H A Dsys_timerfd.c205 if ((fp->f_flag & FNONBLOCK) != 0) { in timerfd_read()
241 atomic_set_int(&fp->f_flag, FNONBLOCK); in timerfd_ioctl()
243 atomic_clear_int(&fp->f_flag, FNONBLOCK); in timerfd_ioctl()
456 fflags |= FNONBLOCK; in kern_timerfd_create()
H A Duipc_syscalls.c155 fflag |= FNONBLOCK; in kern_socket()
172 if ((fflag & FNONBLOCK) != 0) in kern_socket()
379 fflag &= ~(FNONBLOCK | FASYNC); in kern_accept4()
381 fflag |= FNONBLOCK; in kern_accept4()
386 tmp = fflag & FNONBLOCK; in kern_accept4()
561 fflag |= FNONBLOCK; in kern_socketpair()
611 if ((fflag & FNONBLOCK) != 0) { in kern_socketpair()
H A Dsys_pipe.c501 fflags |= FNONBLOCK; in kern_pipe()
767 if ((fp->f_flag & FNONBLOCK) != 0 && !mac_pipe_check_read_enabled()) { in pipe_read()
887 if (fp->f_flag & FNONBLOCK) { in pipe_read()
1223 (fp->f_flag & FNONBLOCK) == 0) { in pipe_write()
1338 if (fp->f_flag & FNONBLOCK) { in pipe_write()
H A Dsys_generic.c792 atomic_set_int(&fp->f_flag, FNONBLOCK); in kern_ioctl()
794 atomic_clear_int(&fp->f_flag, FNONBLOCK); in kern_ioctl()
H A Dvfs_vnops.c375 if ((fmode & FNONBLOCK) == 0) in vn_open_vnode_advlock()
1084 if (fp->f_flag & FNONBLOCK) in vn_read()
1161 if ((fp->f_flag & FNONBLOCK) != 0) in vn_write()
H A Dkern_descrip.c571 tmp = fp->f_flag & FNONBLOCK; in kern_fcntl()
581 atomic_clear_int(&fp->f_flag, FNONBLOCK); in kern_fcntl()
4530 { FNONBLOCK, KF_FLAG_NONBLOCK }, in xlate_fflags()
H A Dvfs_subr.c4415 VOP_CLOSE(vp, FNONBLOCK, NOCRED, td); in vgonel()
/freebsd/sys/dev/tcp_log/
H A Dtcp_log_dev.c297 if (priv->tldi_head == NULL && (flags & FNONBLOCK)) { in tcp_log_dev_read()
/freebsd/contrib/tcsh/
H A Dtc.func.c1700 # ifndef FNONBLOCK in fixio()
1701 # define FNONBLOCK 0 in fixio() macro
1718 e &= ~(O_NDELAY|O_NONBLOCK|FNBIO|_FNBIO|FNONBIO|FNONBLOCK|_FNONBLOCK| in fixio()
/freebsd/sys/compat/linux/
H A Dlinux_socket.c1004 if (atomic_load_int(&fp->f_flag) & FNONBLOCK) { in linux_connect()
1234 if (atomic_load_int(&fp->f_flag) & FNONBLOCK) in linux_send()
2596 if (error == ENOBUFS && (ofp->f_flag & FNONBLOCK) != 0) in linux_sendfile_common()
H A Dlinux_file.c1845 if (fp->f_type == DTYPE_SOCKET && (fp->f_flag & FNONBLOCK) != 0) in linux_enobufs2eagain()
/freebsd/sys/fs/nfsclient/
H A Dnfs_clvnops.c853 if (VN_IS_DOOMED(vp) && ap->a_fflag != FNONBLOCK) in nfs_close()
880 if (VN_IS_DOOMED(vp) && ap->a_fflag != FNONBLOCK) in nfs_close()
891 FNONBLOCK) in nfs_close()
906 FNONBLOCK) in nfs_close()
/freebsd/sys/fs/devfs/
H A Ddevfs_vnops.c752 dflags |= FREVOKE | FNONBLOCK; in devfs_close()