Lines Matching refs:bufs
2851 void __user **bufs; in snd_pcm_playback_ioctl1() local
2862 bufs = memdup_user(xfern.bufs, in snd_pcm_playback_ioctl1()
2864 if (IS_ERR(bufs)) in snd_pcm_playback_ioctl1()
2865 return PTR_ERR(bufs); in snd_pcm_playback_ioctl1()
2866 result = snd_pcm_lib_writev(substream, bufs, xfern.frames); in snd_pcm_playback_ioctl1()
2867 kfree(bufs); in snd_pcm_playback_ioctl1()
2931 void *bufs; in snd_pcm_capture_ioctl1() local
2942 bufs = memdup_user(xfern.bufs, in snd_pcm_capture_ioctl1()
2944 if (IS_ERR(bufs)) in snd_pcm_capture_ioctl1()
2945 return PTR_ERR(bufs); in snd_pcm_capture_ioctl1()
2946 result = snd_pcm_lib_readv(substream, bufs, xfern.frames); in snd_pcm_capture_ioctl1()
2947 kfree(bufs); in snd_pcm_capture_ioctl1()
3090 void __user **bufs; in snd_pcm_readv() local
3107 bufs = kmalloc(sizeof(void *) * to->nr_segs, GFP_KERNEL); in snd_pcm_readv()
3108 if (bufs == NULL) in snd_pcm_readv()
3111 bufs[i] = to->iov[i].iov_base; in snd_pcm_readv()
3112 result = snd_pcm_lib_readv(substream, bufs, frames); in snd_pcm_readv()
3115 kfree(bufs); in snd_pcm_readv()
3126 void __user **bufs; in snd_pcm_writev() local
3142 bufs = kmalloc(sizeof(void *) * from->nr_segs, GFP_KERNEL); in snd_pcm_writev()
3143 if (bufs == NULL) in snd_pcm_writev()
3146 bufs[i] = from->iov[i].iov_base; in snd_pcm_writev()
3147 result = snd_pcm_lib_writev(substream, bufs, frames); in snd_pcm_writev()
3150 kfree(bufs); in snd_pcm_writev()