Home
last modified time | relevance | path

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

/linux-6.1.9/sound/core/
Dpcm_compat.c500 struct __snd_pcm_mmap_control64_buggy *sync_cp; in snd_pcm_ioctl_sync_ptr_buggy() local
506 sync_cp = (struct __snd_pcm_mmap_control64_buggy *)&sync_ptr.c.control; in snd_pcm_ioctl_sync_ptr_buggy()
509 if (copy_from_user(sync_cp, &(_sync_ptr->c.control), sizeof(*sync_cp))) in snd_pcm_ioctl_sync_ptr_buggy()
520 err = pcm_lib_apply_appl_ptr(substream, sync_cp->appl_ptr); in snd_pcm_ioctl_sync_ptr_buggy()
526 sync_cp->appl_ptr = control->appl_ptr; in snd_pcm_ioctl_sync_ptr_buggy()
529 control->avail_min = sync_cp->avail_min; in snd_pcm_ioctl_sync_ptr_buggy()
531 sync_cp->avail_min = control->avail_min; in snd_pcm_ioctl_sync_ptr_buggy()