Home
last modified time | relevance | path

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

12

/netbsd-src/sys/arch/amigappc/amigappc/
H A Dautoconf.c279 FREAD | FNONBLOCK, 0, curlwp)) in findroot()
282 FREAD | FNONBLOCK, 0, curlwp); in findroot()
351 unit, 0), FREAD|FNONBLOCK, 0, &lwp0)) in findroot()
354 unit, 0), FREAD|FNONBLOCK, 0, &lwp0); in findroot()
/netbsd-src/sys/arch/amiga/amiga/
H A Dautoconf.c439 FREAD | FNONBLOCK, 0, curlwp)) in findroot()
442 FREAD | FNONBLOCK, 0, curlwp); in findroot()
511 FREAD|FNONBLOCK, 0, &lwp0)) in findroot()
514 FREAD|FNONBLOCK, 0, &lwp0); in findroot()
/netbsd-src/sys/sys/
H A Dfcntl.h146 #define FCNTLFLAGS (FAPPEND|FASYNC|FFSYNC|FNONBLOCK|FDSYNC|FRSYNC|FALTIO|\
166 #define FNONBLOCK O_NONBLOCK /* kernel */ macro
/netbsd-src/sys/kern/
H A Dsys_descrip.c435 if (i & FNONBLOCK) { in sys_fcntl()
436 int flgs = tmp & FNONBLOCK; in sys_fcntl()
448 if (i & FNONBLOCK) { in sys_fcntl()
449 tmp = fp->f_flag & FNONBLOCK; in sys_fcntl()
H A Dsys_timerfd.c213 if (fflag & FNONBLOCK) { in timerfd_wait()
517 fp->f_flag |= FNONBLOCK; in do_timerfd_create()
H A Dsys_eventfd.c142 if (fflag & FNONBLOCK) { in eventfd_wait()
566 fp->f_flag |= FNONBLOCK; in do_eventfd()
H A Dsys_pipe.c426 if ((fp->f_flag & FNONBLOCK) != 0) { in pipe_read()
495 if (fp->f_flag & FNONBLOCK) { in pipe_read()
681 if (fp->f_flag & FNONBLOCK) { in pipe_write()
H A Dsys_generic.c659 atomic_or_uint(&fp->f_flag, FNONBLOCK); in sys_ioctl()
661 atomic_and_uint(&fp->f_flag, ~FNONBLOCK); in sys_ioctl()
H A Duipc_syscalls.c241 ((flags & SOCK_NONBLOCK) ? FNONBLOCK : 0)| in do_sys_accept()
245 if (fp2->f_flag & FNONBLOCK) in do_sys_accept()
327 retval, mask, SCARG(uap, flags), FNONBLOCK); in sys_paccept()
H A Dvfs_vnops.c655 if (fflag & FNONBLOCK) in vn_read()
697 if (fflag & FNONBLOCK) in vn_write()
H A Dkern_descrip.c816 fp->f_flag |= flags & (FNONBLOCK|FNOSIGPIPE); in fd_dup2()
/netbsd-src/sys/arch/atari/atari/
H A Dautoconf.c279 unit, 0), FREAD|FNONBLOCK, 0, &lwp0)) in findroot()
282 unit, 0), FREAD|FNONBLOCK, 0, &lwp0); in findroot()
/netbsd-src/sys/arch/atari/dev/
H A Dmd_root.c183 if ((error = bdp->d_open(ld_dev, FREAD | FNONBLOCK, 0, lwp)) != 0) { in loaddisk()
200 bdp->d_close(ld_dev, FREAD | FNONBLOCK, 0, lwp); in loaddisk()
/netbsd-src/sys/external/bsd/drm2/drm/
H A Ddrm_cdevsw.c280 if (!first || ISSET(fp->f_flag, FNONBLOCK)) in drm_read()
281 f |= FNONBLOCK; in drm_read()
343 if (ISSET(flags, FNONBLOCK)) { in drm_dequeue_event()
/netbsd-src/external/gpl3/gdb/dist/readline/readline/examples/rlfe/
H A Dos.h381 #if !defined(FNBLOCK) && defined(FNONBLOCK)
382 # define FNBLOCK FNONBLOCK
/netbsd-src/sys/miscfs/specfs/
H A Dspec_vnops.c624 VOP_CLOSE(vp, FNONBLOCK, NOCRED); in spec_node_revoke()
1025 VOP_CLOSE(vp, FNONBLOCK, NOCRED); in spec_open()
1623 flags |= FNONBLOCK; in spec_close()
1751 if (!(flags & FNONBLOCK)) in spec_close()
1794 if (!(flags & FNONBLOCK)) in spec_print()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/
H A Dfcntl.d654 enum FNONBLOCK = O_NONBLOCK;
659 enum FCNTLFLAGS = (FAPPEND|FASYNC|FFSYNC|FNONBLOCK|FPOSIXSHM|O_DIRECT);
/netbsd-src/sys/miscfs/fifofs/
H A Dfifo_vnops.c490 isrevoke = (ap->a_fflag & (FREAD | FWRITE | FNONBLOCK)) == FNONBLOCK; in fifo_close()
/netbsd-src/sys/dev/dmover/
H A Ddmover_io.c417 if (fp->f_flag & FNONBLOCK) { in dmio_read()
537 if (fp->f_flag & FNONBLOCK) { in dmio_write()
/netbsd-src/sys/arch/xen/xen/
H A Dxenevt.c460 if ((fp->f_flag & FNONBLOCK) == 0) { in xenevt_fread()
/netbsd-src/sys/compat/netbsd32/
H A Dnetbsd32_ioctl.c1437 fp->f_flag |= FNONBLOCK; in netbsd32_ioctl()
1439 fp->f_flag &= ~FNONBLOCK; in netbsd32_ioctl()
/netbsd-src/usr.bin/fstat/
H A Dfstat.c1288 (fp->f_flag & FNONBLOCK) ? "n" : "", in ptrans()
/netbsd-src/sys/compat/linux/common/
H A Dlinux_inotify.c309 fp->f_flag |= FNONBLOCK; in do_inotify_init()
/netbsd-src/sys/dev/usb/
H A Ducom.c570 if (flag & FNONBLOCK) in ucomopen()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/
H A Di915_perf.c3104 if (!(file->f_flag & FNONBLOCK)) in i915_perf_read()
3658 fp->f_flag |= FNONBLOCK; in i915_perf_open_ioctl_locked()

12