Lines Matching refs:in_kernel
1157 snd_pcm_sframes_t snd_pcm_oss_write3(struct snd_pcm_substream *substream, const char *ptr, snd_pcm_uframes_t frames, int in_kernel)
1176 if (in_kernel) {
1194 snd_pcm_sframes_t snd_pcm_oss_read3(struct snd_pcm_substream *substream, char *ptr, snd_pcm_uframes_t frames, int in_kernel)
1221 if (in_kernel) {
1243 snd_pcm_sframes_t snd_pcm_oss_writev3(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames, int in_kernel)
1262 if (in_kernel) {
1281 snd_pcm_sframes_t snd_pcm_oss_readv3(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames, int in_kernel)
1304 if (in_kernel) {
1318 static ssize_t snd_pcm_oss_write2(struct snd_pcm_substream *substream, const char *buf, size_t bytes, int in_kernel)
1326 if (!in_kernel) {
1343 frames1 = snd_pcm_oss_write3(substream, buf, frames, in_kernel);
1418 static ssize_t snd_pcm_oss_read2(struct snd_pcm_substream *substream, char *buf, size_t bytes, int in_kernel)
1427 if (!in_kernel)
1437 if (!in_kernel && copy_to_user(final_dst, buf, bytes))
1443 frames1 = snd_pcm_oss_read3(substream, buf, frames, in_kernel);