/drivers/char/pcmcia/ |
D | cm4000_cs.c | 950 ((filp->f_flags & O_NONBLOCK) in cmm_read() 952 if (filp->f_flags & O_NONBLOCK) in cmm_read() 963 ((filp->f_flags & O_NONBLOCK) || (dev->rpos < dev->rlen)))) { in cmm_read() 964 if (filp->f_flags & O_NONBLOCK) in cmm_read() 972 ((filp->f_flags & O_NONBLOCK) in cmm_read() 974 if (filp->f_flags & O_NONBLOCK) in cmm_read() 1102 ((filp->f_flags & O_NONBLOCK) in cmm_write() 1104 if (filp->f_flags & O_NONBLOCK) in cmm_write() 1117 ((filp->f_flags & O_NONBLOCK) in cmm_write() 1119 if (filp->f_flags & O_NONBLOCK) in cmm_write() [all …]
|
D | cm4040_cs.c | 234 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()
|
/drivers/media/pci/ttpci/ |
D | av7110_av.c | 933 if ((file->f_flags & O_ACCMODE) != O_RDONLY) in dvb_video_poll() 941 if ((file->f_flags & O_ACCMODE) != O_RDONLY) { in dvb_video_poll() 963 if ((file->f_flags & O_ACCMODE) == O_RDONLY) in dvb_video_write() 972 return ts_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 1); in dvb_video_write() 974 return dvb_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 1); in dvb_video_write() 1013 return ts_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 0); in dvb_audio_write() 1015 return dvb_aplay(av7110, buf, count, file->f_flags & O_NONBLOCK, 0); in dvb_audio_write() 1130 if ((file->f_flags & O_ACCMODE) == O_RDONLY) { in dvb_video_ioctl() 1210 ret = dvb_compat_video_get_event(av7110, parg, file->f_flags); in dvb_video_ioctl() 1215 ret = dvb_video_get_event(av7110, parg, file->f_flags); in dvb_video_ioctl() [all …]
|
D | av7110_ca.c | 137 int non_blocking = file->f_flags & O_NONBLOCK; in ci_ll_write() 176 int non_blocking = file->f_flags & O_NONBLOCK; in ci_ll_read()
|
/drivers/media/dvb-core/ |
D | dmxdev.c | 155 if ((file->f_flags & O_ACCMODE) == O_RDONLY) in dvb_dvr_open() 157 else if ((file->f_flags & O_ACCMODE) == O_RDWR) { in dvb_dvr_open() 184 file->f_flags & O_NONBLOCK); in dvb_dvr_open() 188 if ((file->f_flags & O_ACCMODE) == O_WRONLY) { in dvb_dvr_open() 217 if ((file->f_flags & O_ACCMODE) == O_WRONLY) { in dvb_dvr_release() 223 if (((file->f_flags & O_ACCMODE) == O_RDONLY) || in dvb_dvr_release() 261 if ((file->f_flags & O_ACCMODE) != O_WRONLY) in dvb_dvr_write() 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() [all …]
|
/drivers/s390/char/ |
D | hmcdrv_dev.c | 120 if (fp->f_flags & O_NONBLOCK) in hmcdrv_dev_open() 126 if ((fp->f_flags & O_ACCMODE) == O_RDONLY) in hmcdrv_dev_open() 226 if (((fp->f_flags & O_ACCMODE) == O_WRONLY) || in hmcdrv_dev_read()
|
/drivers/misc/genwqe/ |
D | card_base.h | 506 struct genwqe_ddcb_cmd *cmd, unsigned int f_flags); 519 unsigned int f_flags); 522 unsigned int f_flags);
|
D | card_dev.c | 610 rc = __genwqe_execute_raw_ddcb(cd, req, filp->f_flags); in do_flash_update() 728 rc = __genwqe_execute_raw_ddcb(cd, cmd, filp->f_flags); in do_flash_read() 1005 rc = __genwqe_execute_raw_ddcb(cd, cmd, filp->f_flags); in genwqe_execute_ddcb() 1030 rc = __genwqe_execute_raw_ddcb(cd, cmd, filp->f_flags); in do_execute_ddcb() 1097 if ((filp->f_flags & O_ACCMODE) == O_RDONLY) in genwqe_ioctl() 1133 if ((filp->f_flags & O_ACCMODE) == O_RDONLY) in genwqe_ioctl() 1156 if ((filp->f_flags & O_ACCMODE) == O_RDONLY) in genwqe_ioctl()
|
D | card_ddcb.c | 755 unsigned int f_flags) in __genwqe_enqueue_ddcb() argument 793 if (f_flags & O_NONBLOCK) { in __genwqe_enqueue_ddcb() 913 unsigned int f_flags) in __genwqe_execute_raw_ddcb() argument 929 rc = __genwqe_enqueue_ddcb(cd, req, f_flags); in __genwqe_execute_raw_ddcb()
|
/drivers/staging/axis-fifo/ |
D | axis-fifo.c | 691 if (((f->f_flags & O_ACCMODE) == O_WRONLY) || in axis_fifo_open() 692 ((f->f_flags & O_ACCMODE) == O_RDWR)) { in axis_fifo_open() 694 fifo->write_flags = f->f_flags; in axis_fifo_open() 701 if (((f->f_flags & O_ACCMODE) == O_RDONLY) || in axis_fifo_open() 702 ((f->f_flags & O_ACCMODE) == O_RDWR)) { in axis_fifo_open() 704 fifo->read_flags = f->f_flags; in axis_fifo_open()
|
/drivers/most/ |
D | most_cdev.c | 125 ((filp->f_flags & O_ACCMODE) != O_RDONLY)) || in comp_open() 127 ((filp->f_flags & O_ACCMODE) != O_WRONLY))) { in comp_open() 194 if ((filp->f_flags & O_NONBLOCK)) in comp_write() 246 if (filp->f_flags & O_NONBLOCK) in comp_read()
|
/drivers/leds/ |
D | uleds.c | 147 } else if (!udev->new_data && (file->f_flags & O_NONBLOCK)) { in uleds_read() 161 if (!(file->f_flags & O_NONBLOCK)) in uleds_read()
|
/drivers/media/usb/em28xx/ |
D | em28xx-audio.c | 242 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_em28xx_capture_open() 433 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_put() 472 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_get() 508 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_put_mute() 550 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_get_mute()
|
/drivers/tty/serial/ |
D | kgdb_nmi.c | 273 unsigned int mode = file->f_flags & O_ACCMODE; in kgdb_nmi_tty_open() 286 unsigned int mode = file->f_flags & O_ACCMODE; in kgdb_nmi_tty_close()
|
/drivers/media/test-drivers/vivid/ |
D | vivid-radio-rx.c | 78 if (file->f_flags & O_NONBLOCK) in vivid_radio_rx_read() 166 if (file->f_flags & O_NONBLOCK) in vivid_radio_rx_s_hw_freq_seek()
|
D | vivid-radio-tx.c | 63 if (file->f_flags & O_NONBLOCK) in vivid_radio_tx_write()
|
/drivers/xen/ |
D | mcelog.c | 79 (xen_mce_chrdev_open_count && (file->f_flags & O_EXCL))) { in xen_mce_chrdev_open() 85 if (file->f_flags & O_EXCL) in xen_mce_chrdev_open()
|
/drivers/char/ |
D | ppdev.c | 142 (file->f_flags & O_NONBLOCK) ? in pp_read() 170 if (file->f_flags & O_NONBLOCK) { in pp_read() 218 (file->f_flags & O_NONBLOCK) ? in pp_write() 251 if (file->f_flags & O_NONBLOCK) { in pp_write()
|
D | nvram.c | 355 if ((nvram_open_cnt && (file->f_flags & O_EXCL)) || in nvram_misc_open() 370 if (file->f_flags & O_EXCL) in nvram_misc_open()
|
D | dtlk.c | 149 if (file->f_flags & O_NONBLOCK) in dtlk_read() 214 if (file->f_flags & O_NONBLOCK) in dtlk_write()
|
/drivers/acpi/ |
D | acpi_dbg.c | 483 if ((file->f_flags & O_ACCMODE) != O_WRONLY) { in acpi_aml_open() 621 if (file->f_flags & O_NONBLOCK) in acpi_aml_read() 691 if (file->f_flags & O_NONBLOCK) in acpi_aml_write()
|
/drivers/thermal/intel/int340x_thermal/ |
D | acpi_thermal_rel.c | 34 (acpi_thermal_rel_chrdev_count && (file->f_flags & O_EXCL))) { in acpi_thermal_rel_open() 39 if (file->f_flags & O_EXCL) in acpi_thermal_rel_open()
|
/drivers/input/serio/ |
D | serio_raw.c | 171 (file->f_flags & O_NONBLOCK)) in serio_raw_read() 186 if (!(file->f_flags & O_NONBLOCK)) { in serio_raw_read()
|
/drivers/usb/gadget/legacy/ |
D | inode.c | 291 get_ready_ep (unsigned f_flags, struct ep_data *epdata, bool is_write) in get_ready_ep() argument 295 if (f_flags & O_NONBLOCK) { in get_ready_ep() 402 if ((status = get_ready_ep (fd->f_flags, data, false)) < 0) in ep_ioctl() 585 if ((value = get_ready_ep(file->f_flags, epdata, false)) < 0) in ep_read_iter() 645 if ((value = get_ready_ep(file->f_flags, epdata, true)) < 0) in ep_write_iter() 966 if ((fd->f_flags & O_NONBLOCK) != 0 in ep0_read() 1051 if (fd->f_flags & O_NONBLOCK) { in ep0_read()
|
/drivers/media/pci/saa7164/ |
D | saa7164-vbi.c | 530 if ((file->f_flags & O_NONBLOCK) == 0) { in fops_read() 582 if ((file->f_flags & O_NONBLOCK) == 0) { in fops_read() 627 if ((file->f_flags & O_NONBLOCK) == 0) { in fops_poll()
|