Home
last modified time | relevance | path

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

12345

/linux-4.19.296/include/uapi/asm-generic/
Dfcntl.h38 #ifndef O_NONBLOCK
39 #define O_NONBLOCK 00004000 macro
97 #define O_NDELAY O_NONBLOCK
/linux-4.19.296/include/linux/
Deventfd.h27 #define EFD_NONBLOCK O_NONBLOCK
29 #define EFD_SHARED_FCNTL_FLAGS (O_CLOEXEC | O_NONBLOCK)
Duserfaultfd_k.h26 #define UFFD_NONBLOCK O_NONBLOCK
28 #define UFFD_SHARED_FCNTL_FLAGS (O_CLOEXEC | O_NONBLOCK)
Dfcntl.h10 O_APPEND | O_NDELAY | O_NONBLOCK | O_NDELAY | __O_SYNC | O_DSYNC | \
/linux-4.19.296/drivers/char/pcmcia/
Dcm4000_cs.c948 ((filp->f_flags & O_NONBLOCK) in cmm_read()
950 if (filp->f_flags & O_NONBLOCK) in cmm_read()
961 ((filp->f_flags & O_NONBLOCK) || (dev->rpos < dev->rlen)))) { in cmm_read()
962 if (filp->f_flags & O_NONBLOCK) in cmm_read()
970 ((filp->f_flags & O_NONBLOCK) in cmm_read()
972 if (filp->f_flags & O_NONBLOCK) in cmm_read()
1100 ((filp->f_flags & O_NONBLOCK) in cmm_write()
1102 if (filp->f_flags & O_NONBLOCK) in cmm_write()
1115 ((filp->f_flags & O_NONBLOCK) in cmm_write()
1117 if (filp->f_flags & O_NONBLOCK) in cmm_write()
[all …]
Dcm4040_cs.c234 if (filp->f_flags & O_NONBLOCK) { in cm4040_read()
338 if (filp->f_flags & O_NONBLOCK) { in cm4040_write()
460 if (filp->f_flags & O_NONBLOCK) { in cm4040_open()
/linux-4.19.296/include/uapi/linux/
Dtimerfd.h33 #define TFD_NONBLOCK O_NONBLOCK
Dsignalfd.h18 #define SFD_NONBLOCK O_NONBLOCK
Dinotify.h73 #define IN_NONBLOCK O_NONBLOCK
/linux-4.19.296/drivers/char/
Dsnsc.c171 if (file->f_flags & O_NONBLOCK) { in scdrv_read()
190 if (file->f_flags & O_NONBLOCK) { in scdrv_read()
263 if (file->f_flags & O_NONBLOCK) { in scdrv_write()
287 if (file->f_flags & O_NONBLOCK) { in scdrv_write()
Dppdev.c146 (file->f_flags & O_NONBLOCK) ? in pp_read()
174 if (file->f_flags & O_NONBLOCK) { in pp_read()
222 (file->f_flags & O_NONBLOCK) ? in pp_write()
255 if (file->f_flags & O_NONBLOCK) { in pp_write()
Ddtlk.c148 if (file->f_flags & O_NONBLOCK) in dtlk_read()
213 if (file->f_flags & O_NONBLOCK) in dtlk_write()
Dlp.c303 int nonblock = ((file->f_flags & O_NONBLOCK) || in lp_write()
420 int nonblock = ((file->f_flags & O_NONBLOCK) || in lp_read()
514 if ((LP_F(minor) & LP_ABORTOPEN) && !(file->f_flags & O_NONBLOCK)) { in lp_open()
/linux-4.19.296/fs/
Deventfd.c230 else if (!(file->f_flags & O_NONBLOCK)) { in eventfd_read()
280 else if (!(file->f_flags & O_NONBLOCK)) { in eventfd_write()
408 BUILD_BUG_ON(EFD_NONBLOCK != O_NONBLOCK); in do_eventfd()
Dsignalfd.c206 int nonblock = file->f_flags & O_NONBLOCK; in signalfd_read()
258 BUILD_BUG_ON(SFD_NONBLOCK != O_NONBLOCK); in do_signalfd4()
278 O_RDWR | (flags & (O_CLOEXEC | O_NONBLOCK))); in do_signalfd4()
Dpipe.c348 if (filp->f_flags & O_NONBLOCK) { in pipe_read()
484 if (filp->f_flags & O_NONBLOCK) { in pipe_write()
780 O_WRONLY | (flags & (O_NONBLOCK | O_DIRECT)), in create_pipe_files()
790 res[0] = alloc_file_clone(f, O_RDONLY | (flags & O_NONBLOCK), in create_pipe_files()
807 if (flags & ~(O_CLOEXEC | O_NONBLOCK | O_DIRECT)) in __do_pipe_flags()
951 if ((filp->f_flags & O_NONBLOCK)) { in fifo_open()
969 if (!is_pipe && (filp->f_flags & O_NONBLOCK) && !pipe->readers) in fifo_open()
Danon_inodes.c88 flags & (O_ACCMODE | O_NONBLOCK), fops); in anon_inode_getfile()
Dfcntl.c33 #define SETFL_MASK (O_APPEND | O_NONBLOCK | O_NDELAY | O_DIRECT | O_NOATIME)
53 if (O_NONBLOCK != O_NDELAY) in setfl()
55 arg |= O_NONBLOCK; in setfl()
1039 (VALID_OPEN_FLAGS & ~(O_NONBLOCK | O_NDELAY)) | in fcntl_init()
/linux-4.19.296/fs/proc/
Dkmsg.c37 if ((file->f_flags & O_NONBLOCK) && in kmsg_read()
/linux-4.19.296/drivers/media/dvb-core/
Ddmxdev.c184 file->f_flags & O_NONBLOCK); in dvb_dvr_open()
285 file->f_flags & O_NONBLOCK, in dvb_dvr_read()
829 file->f_flags & O_NONBLOCK); in dvb_demux_open()
989 file->f_flags & O_NONBLOCK, in dvb_dmxdev_read_sec()
1010 file->f_flags & O_NONBLOCK, in dvb_dmxdev_read_sec()
1032 file->f_flags & O_NONBLOCK, in dvb_demux_read()
/linux-4.19.296/drivers/char/hw_random/
Dcore.c228 !(filp->f_flags & O_NONBLOCK)); in rng_dev_read()
237 if (filp->f_flags & O_NONBLOCK) { in rng_dev_read()
/linux-4.19.296/drivers/iio/
Dindustrialio-event.c134 if (filep->f_flags & O_NONBLOCK) in iio_event_chrdev_read()
160 if (copied == 0 && (filep->f_flags & O_NONBLOCK)) in iio_event_chrdev_read()
/linux-4.19.296/fs/notify/fanotify/
Dfanotify_user.c40 O_ACCMODE | O_APPEND | O_NONBLOCK | \
284 if (file->f_flags & O_NONBLOCK) in fanotify_read()
724 f_flags |= O_NONBLOCK; in SYSCALL_DEFINE2()
/linux-4.19.296/drivers/misc/mei/
Dmain.c139 bool nonblock = !!(file->f_flags & O_NONBLOCK); in mei_read()
295 if (file->f_flags & O_NONBLOCK) { in mei_write()
436 bool block = (file->f_flags & O_NONBLOCK) == 0; in mei_ioctl_client_notify_get()
/linux-4.19.296/drivers/media/radio/si470x/
Dradio-si470x-common.c481 if (file->f_flags & O_NONBLOCK) { in si470x_fops_read()
742 if (file->f_flags & O_NONBLOCK) in si470x_vidioc_s_hw_freq_seek()

12345