Home
last modified time | relevance | path

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

/sound/core/seq/oss/
Dseq_oss_init.c286 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()
/sound/core/
Drawmidi.c388 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()
Dpcm_native.c1743 int f_flags) in snd_pcm_pre_prepare() argument
1751 substream->f_flags = f_flags; in snd_pcm_pre_prepare()
1787 int f_flags; in snd_pcm_prepare() local
1790 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()
Dpcm.c918 if (file->f_flags & O_APPEND) { in snd_pcm_attach_substream()
979 substream->f_flags = file->f_flags; in snd_pcm_attach_substream()
Dinfo.c247 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()
Dcompress_offload.c88 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()
Dhwdep.c109 if (file->f_flags & O_NONBLOCK) { in snd_hwdep_open()
Dinit.c318 if ((file->f_flags & FASYNC) && df->disconnected_f_op->fasync) in snd_disconnect_release()
Dcontrol.c1605 if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { in snd_ctl_read()
Dtimer.c2073 if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { in snd_timer_user_read()
Dpcm_lib.c2162 nonblock = !!(substream->f_flags & O_NONBLOCK); in __snd_pcm_lib_xfer()
/sound/core/oss/
Dpcm_oss.c1435 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 …]
/sound/oss/dmasound/
Ddmasound_core.c720 if (file->f_flags & O_NONBLOCK) in sq_open2()
749 sq->non_blocking = file->f_flags & O_NONBLOCK; in sq_open2()
/sound/core/seq/
Dseq_clientmgr.c436 nonblock = (file->f_flags & O_NONBLOCK) || result > 0; in snd_seq_read()
1092 !(file->f_flags & O_NONBLOCK), in snd_seq_write()