Searched refs:f_flags (Results 1 – 14 of 14) sorted by relevance
286 if ((file->f_flags & O_ACCMODE) != O_RDONLY) in translate_mode()288 if ((file->f_flags & O_ACCMODE) != O_WRONLY) in translate_mode()290 if (file->f_flags & O_NONBLOCK) in translate_mode()
388 if ((file->f_flags & O_APPEND) && !(file->f_flags & O_NONBLOCK)) in snd_rawmidi_open()420 if ((file->f_flags & O_APPEND) || maj == SOUND_MAJOR) /* OSS emul? */ in snd_rawmidi_open()435 if (file->f_flags & O_NONBLOCK) { in snd_rawmidi_open()1040 if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { in snd_rawmidi_read()1371 if (file->f_flags & O_NONBLOCK) { in snd_rawmidi_write()1397 if ((size_t)count1 < count && (file->f_flags & O_NONBLOCK)) in snd_rawmidi_write()1401 if (file->f_flags & O_DSYNC) { in snd_rawmidi_write()
1743 int f_flags) in snd_pcm_pre_prepare() argument1751 substream->f_flags = f_flags; in snd_pcm_pre_prepare()1787 int f_flags; in snd_pcm_prepare() local1790 f_flags = file->f_flags; in snd_pcm_prepare()1792 f_flags = substream->f_flags; in snd_pcm_prepare()1806 substream, f_flags); in snd_pcm_prepare()1903 if (file->f_flags & O_NONBLOCK) in snd_pcm_drain()1905 } else if (substream->f_flags & O_NONBLOCK) in snd_pcm_drain()2634 if (file->f_flags & O_NONBLOCK) { in snd_pcm_open()
918 if (file->f_flags & O_APPEND) { in snd_pcm_attach_substream()979 substream->f_flags = file->f_flags; in snd_pcm_attach_substream()
247 mode = file->f_flags & O_ACCMODE; in snd_info_entry_open()278 entry->c.ops->release(entry, file->f_flags & O_ACCMODE, in snd_info_entry_release()
88 if ((f->f_flags & O_ACCMODE) == O_WRONLY) in snd_compr_open()90 else if ((f->f_flags & O_ACCMODE) == O_RDONLY) in snd_compr_open()
109 if (file->f_flags & O_NONBLOCK) { in snd_hwdep_open()
318 if ((file->f_flags & FASYNC) && df->disconnected_f_op->fasync) in snd_disconnect_release()
1605 if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { in snd_ctl_read()
2073 if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { in snd_timer_user_read()
2162 nonblock = !!(substream->f_flags & O_NONBLOCK); in __snd_pcm_lib_xfer()
1435 else if ((substream->f_flags & O_NONBLOCK) != 0) { in snd_pcm_oss_write1()1450 if ((substream->f_flags & O_NONBLOCK) != 0 && in snd_pcm_oss_write1()1718 saved_f_flags = substream->f_flags; in snd_pcm_oss_sync()1719 substream->f_flags &= ~O_NONBLOCK; in snd_pcm_oss_sync()1721 substream->f_flags = saved_f_flags; in snd_pcm_oss_sync()2004 file->f_flags |= O_NONBLOCK; in snd_pcm_oss_nonblock()2362 substream->f_flags |= O_NONBLOCK; in snd_pcm_oss_init_substream()2364 substream->f_flags &= ~O_NONBLOCK; in snd_pcm_oss_init_substream()2424 file->f_flags &= ~O_APPEND; in snd_pcm_oss_open_file()2510 nonblock = !!(file->f_flags & O_NONBLOCK); in snd_pcm_oss_open()[all …]
720 if (file->f_flags & O_NONBLOCK) in sq_open2()749 sq->non_blocking = file->f_flags & O_NONBLOCK; in sq_open2()
436 nonblock = (file->f_flags & O_NONBLOCK) || result > 0; in snd_seq_read()1092 !(file->f_flags & O_NONBLOCK), in snd_seq_write()