Home
last modified time | relevance | path

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

12345678

/drivers/char/pcmcia/
Dcm4000_cs.c950 ((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 …]
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()
/drivers/media/pci/ttpci/
Dav7110_av.c933 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 …]
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.c155 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/
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/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/staging/axis-fifo/
Daxis-fifo.c691 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/
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.c242 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/
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/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/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/acpi/
Dacpi_dbg.c483 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/
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()
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/
Dsaa7164-vbi.c530 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()

12345678