Searched refs:vmf (Results 1 – 4 of 4) sorted by relevance
21 static vm_fault_t snd_us428ctls_vm_fault(struct vm_fault *vmf) in snd_us428ctls_vm_fault() argument28 vmf->vma->vm_start, in snd_us428ctls_vm_fault()29 vmf->pgoff); in snd_us428ctls_vm_fault()31 offset = vmf->pgoff << PAGE_SHIFT; in snd_us428ctls_vm_fault()32 vaddr = (char *)((struct usX2Ydev *)vmf->vma->vm_private_data)->us428ctls_sharedmem + offset; in snd_us428ctls_vm_fault()35 vmf->page = page; in snd_us428ctls_vm_fault()
645 static vm_fault_t snd_usX2Y_hwdep_pcm_vm_fault(struct vm_fault *vmf) in snd_usX2Y_hwdep_pcm_vm_fault() argument650 offset = vmf->pgoff << PAGE_SHIFT; in snd_usX2Y_hwdep_pcm_vm_fault()651 vaddr = (char *)((struct usX2Ydev *)vmf->vma->vm_private_data)->hwdep_pcm_shm + offset; in snd_usX2Y_hwdep_pcm_vm_fault()652 vmf->page = virt_to_page(vaddr); in snd_usX2Y_hwdep_pcm_vm_fault()653 get_page(vmf->page); in snd_usX2Y_hwdep_pcm_vm_fault()
129 static vm_fault_t usb_stream_hwdep_vm_fault(struct vm_fault *vmf) in usb_stream_hwdep_vm_fault() argument134 struct us122l *us122l = vmf->vma->vm_private_data; in usb_stream_hwdep_vm_fault()142 offset = vmf->pgoff << PAGE_SHIFT; in usb_stream_hwdep_vm_fault()157 vmf->page = page; in usb_stream_hwdep_vm_fault()
3295 static vm_fault_t snd_pcm_mmap_status_fault(struct vm_fault *vmf) in snd_pcm_mmap_status_fault() argument3297 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; in snd_pcm_mmap_status_fault()3303 vmf->page = virt_to_page(runtime->status); in snd_pcm_mmap_status_fault()3304 get_page(vmf->page); in snd_pcm_mmap_status_fault()3331 static vm_fault_t snd_pcm_mmap_control_fault(struct vm_fault *vmf) in snd_pcm_mmap_control_fault() argument3333 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; in snd_pcm_mmap_control_fault()3339 vmf->page = virt_to_page(runtime->control); in snd_pcm_mmap_control_fault()3340 get_page(vmf->page); in snd_pcm_mmap_control_fault()3420 static vm_fault_t snd_pcm_mmap_data_fault(struct vm_fault *vmf) in snd_pcm_mmap_data_fault() argument3422 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; in snd_pcm_mmap_data_fault()[all …]