Lines Matching refs:in_kernel
1224 snd_pcm_sframes_t snd_pcm_oss_write3(struct snd_pcm_substream *substream, const char *ptr, snd_pcm_uframes_t frames, int in_kernel)
1243 frames, in_kernel);
1255 snd_pcm_sframes_t snd_pcm_oss_read3(struct snd_pcm_substream *substream, char *ptr, snd_pcm_uframes_t frames, int in_kernel)
1282 frames, in_kernel);
1357 static ssize_t snd_pcm_oss_write2(struct snd_pcm_substream *substream, const char *buf, size_t bytes, int in_kernel)
1365 if (!in_kernel) {
1382 frames1 = snd_pcm_oss_write3(substream, buf, frames, in_kernel);
1467 static ssize_t snd_pcm_oss_read2(struct snd_pcm_substream *substream, char *buf, size_t bytes, int in_kernel)
1476 if (!in_kernel)
1486 if (!in_kernel && copy_to_user(final_dst, buf, bytes))
1492 frames1 = snd_pcm_oss_read3(substream, buf, frames, in_kernel);