Home
last modified time | relevance | path

Searched refs:f_flags (Results 1 – 25 of 191) sorted by relevance

12345678

/drivers/char/pcmcia/
Dcm4000_cs.c951 ((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 …]
Dcm4040_cs.c233 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/
Dav7110_av.c934 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 …]
Dav7110_ca.c137 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/
Ddmxdev.c145 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/
Dhmcdrv_dev.c120 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/
Daxis-fifo.c688 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/
Dcard_base.h506 struct genwqe_ddcb_cmd *cmd, unsigned int f_flags);
519 unsigned int f_flags);
522 unsigned int f_flags);
Dcard_dev.c610 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()
Dcard_ddcb.c755 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/
Dmost_cdev.c125 ((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/
Duleds.c147 } 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/
Dem28xx-audio.c232 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/
Dkgdb_nmi.c273 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/
Dvivid-radio-rx.c78 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()
Dvivid-radio-tx.c63 if (file->f_flags & O_NONBLOCK) in vivid_radio_tx_write()
/drivers/char/
Dppdev.c142 (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()
Dnvram.c355 if ((nvram_open_cnt && (file->f_flags & O_EXCL)) || in nvram_misc_open()
370 if (file->f_flags & O_EXCL) in nvram_misc_open()
Ddtlk.c149 if (file->f_flags & O_NONBLOCK) in dtlk_read()
214 if (file->f_flags & O_NONBLOCK) in dtlk_write()
/drivers/xen/
Dmcelog.c79 (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/
Dacpi_dbg.c476 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/
Dacpi_thermal_rel.c34 (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/
Dserio_raw.c171 (file->f_flags & O_NONBLOCK)) in serio_raw_read()
186 if (!(file->f_flags & O_NONBLOCK)) { in serio_raw_read()
/drivers/usb/gadget/legacy/
Dinode.c291 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/
Dsaa7164-vbi.c529 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()

12345678