/drivers/char/pcmcia/ |
D | cm4000_cs.c | 951 ((filp->f_flags & O_NONBLOCK) in cmm_read() 953 if (filp->f_flags & O_NONBLOCK) in cmm_read() 964 ((filp->f_flags & O_NONBLOCK) || (dev->rpos < dev->rlen)))) { in cmm_read() 965 if (filp->f_flags & O_NONBLOCK) in cmm_read() 973 ((filp->f_flags & O_NONBLOCK) in cmm_read() 975 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 | 233 if (filp->f_flags & O_NONBLOCK) { in cm4040_read() 337 if (filp->f_flags & O_NONBLOCK) { in cm4040_write() 459 if (filp->f_flags & O_NONBLOCK) { in cm4040_open()
|
/drivers/staging/media/deprecated/saa7146/av7110/ |
D | av7110_av.c | 934 if ((file->f_flags & O_ACCMODE) != O_RDONLY) in dvb_video_poll() 942 if ((file->f_flags & O_ACCMODE) != O_RDONLY) { in dvb_video_poll() 964 if ((file->f_flags & O_ACCMODE) == O_RDONLY) in dvb_video_write() 973 return ts_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 1); in dvb_video_write() 975 return dvb_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 1); in dvb_video_write() 1014 return ts_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 0); in dvb_audio_write() 1016 return dvb_aplay(av7110, buf, count, file->f_flags & O_NONBLOCK, 0); in dvb_audio_write() 1131 if ((file->f_flags & O_ACCMODE) == O_RDONLY) { in dvb_video_ioctl() 1211 ret = dvb_compat_video_get_event(av7110, parg, file->f_flags); in dvb_video_ioctl() 1216 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 | 145 if ((file->f_flags & O_ACCMODE) == O_RDONLY) in dvb_dvr_open() 147 else if ((file->f_flags & O_ACCMODE) == O_RDWR) { in dvb_dvr_open() 174 file->f_flags & O_NONBLOCK); in dvb_dvr_open() 178 if ((file->f_flags & O_ACCMODE) == O_WRONLY) { in dvb_dvr_open() 207 if ((file->f_flags & O_ACCMODE) == O_WRONLY) { in dvb_dvr_release() 213 if (((file->f_flags & O_ACCMODE) == O_RDONLY) || in dvb_dvr_release() 251 if ((file->f_flags & O_ACCMODE) != O_WRONLY) in dvb_dvr_write() 275 file->f_flags & O_NONBLOCK, in dvb_dvr_read() 819 file->f_flags & O_NONBLOCK); in dvb_demux_open() 979 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/staging/axis-fifo/ |
D | axis-fifo.c | 688 if (((f->f_flags & O_ACCMODE) == O_WRONLY) || in axis_fifo_open() 689 ((f->f_flags & O_ACCMODE) == O_RDWR)) { in axis_fifo_open() 691 fifo->write_flags = f->f_flags; in axis_fifo_open() 698 if (((f->f_flags & O_ACCMODE) == O_RDONLY) || in axis_fifo_open() 699 ((f->f_flags & O_ACCMODE) == O_RDWR)) { in axis_fifo_open() 701 fifo->read_flags = f->f_flags; in axis_fifo_open()
|
/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/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 | 232 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_em28xx_capture_open() 423 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_put() 462 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_get() 498 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_put_mute() 540 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/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/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/acpi/ |
D | acpi_dbg.c | 476 if ((file->f_flags & O_ACCMODE) != O_WRONLY) { in acpi_aml_open() 614 if (file->f_flags & O_NONBLOCK) in acpi_aml_read() 684 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() 583 if ((value = get_ready_ep(file->f_flags, epdata, false)) < 0) in ep_read_iter() 643 if ((value = get_ready_ep(file->f_flags, epdata, true)) < 0) in ep_write_iter() 964 if ((fd->f_flags & O_NONBLOCK) != 0 in ep0_read() 1049 if (fd->f_flags & O_NONBLOCK) { in ep0_read()
|
/drivers/media/pci/saa7164/ |
D | saa7164-vbi.c | 529 if ((file->f_flags & O_NONBLOCK) == 0) { in fops_read() 581 if ((file->f_flags & O_NONBLOCK) == 0) { in fops_read() 626 if ((file->f_flags & O_NONBLOCK) == 0) { in fops_poll()
|