Searched defs:bufs (Results 1 - 6 of 6) sorted by relevance
/sound/core/oss/ |
H A D | io.c | 50 void **bufs = (void**)plugin->extra_data; local 51 if (snd_BUG_ON(!bufs)) 55 bufs[channel] = src_channels[channel].area.addr; 57 bufs[channel] = NULL; 59 return pcm_writev(plugin->plug, bufs, frames); 76 void **bufs = (void**)plugin->extra_data; local 77 if (snd_BUG_ON(!bufs)) 81 bufs[channel] = dst_channels[channel].area.addr; 83 bufs[channel] = NULL; 85 return pcm_readv(plugin->plug, bufs, frame [all...] |
H A D | pcm_oss.c | 1256 snd_pcm_sframes_t snd_pcm_oss_writev3(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames, int in_kernel) argument 1278 ret = snd_pcm_lib_writev(substream, (void __user **)bufs, frames); 1281 ret = snd_pcm_lib_writev(substream, (void __user **)bufs, frames); 1294 snd_pcm_sframes_t snd_pcm_oss_readv3(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames, int in_kernel) argument 1320 ret = snd_pcm_lib_readv(substream, (void __user **)bufs, frames); 1323 ret = snd_pcm_lib_readv(substream, (void __user **)bufs, frames);
|
/sound/core/ |
H A D | pcm_compat.c | 303 /* snd_xfern needs remapping of bufs */ 306 u32 bufs; /* this is void **; */ member in struct:snd_xfern32 322 void __user **bufs; local 332 if (get_user(buf, &data32->bufs) || 336 bufs = kmalloc(sizeof(void __user *) * ch, GFP_KERNEL); 337 if (bufs == NULL) 342 kfree(bufs); 345 bufs[i] = compat_ptr(ptr); 349 err = snd_pcm_lib_writev(substream, bufs, frames); 351 err = snd_pcm_lib_readv(substream, bufs, frame [all...] |
H A D | pcm_lib.c | 2000 void __user **bufs = (void __user **)data; local 2006 for (c = 0; c < channels; ++c, ++bufs) { 2007 if (*bufs == NULL) { 2011 char __user *buf = *bufs + samples_to_bytes(runtime, off); 2019 for (c = 0; c < channels; ++c, ++bufs) { 2021 if (*bufs == NULL) { 2024 char __user *buf = *bufs + samples_to_bytes(runtime, off); 2034 void __user **bufs, 2049 return snd_pcm_lib_write1(substream, (unsigned long)bufs, frames, 2208 void __user **bufs local 2033 snd_pcm_lib_writev(struct snd_pcm_substream *substream, void __user **bufs, snd_pcm_uframes_t frames) argument 2237 snd_pcm_lib_readv(struct snd_pcm_substream *substream, void __user **bufs, snd_pcm_uframes_t frames) argument [all...] |
H A D | pcm_native.c | 2605 void __user **bufs; local 2616 bufs = memdup_user(xfern.bufs, 2618 if (IS_ERR(bufs)) 2619 return PTR_ERR(bufs); 2620 result = snd_pcm_lib_writev(substream, bufs, xfern.frames); 2621 kfree(bufs); 2685 void *bufs; local 2696 bufs = memdup_user(xfern.bufs, 2846 void __user **bufs; local 2881 void __user **bufs; local [all...] |
/sound/oss/dmasound/ |
H A D | dmasound_core.c | 946 static int set_queue_frags(struct sound_queue *sq, int bufs, int size) argument 961 if (bufs <= 0) 963 if (bufs > sq->numBufs) /* the user is allowed say "don't care" with 0x7fff */ 964 bufs = sq->numBufs ; 972 sq->max_active = bufs ;
|
Completed in 774 milliseconds