Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/media/deprecated/meye/
Dmeye.h294 int vma_use_count[MEYE_MAX_BUFNBRS]; /* mmap count */ member
Dmeye.c1225 if (meye.vma_use_count[i]) { in vidioc_reqbufs()
1244 meye.vma_use_count[i] = 0; in vidioc_reqbufs()
1423 meye.vma_use_count[idx]++; in meye_vm_open()
1429 meye.vma_use_count[idx]--; in meye_vm_close()
1460 meye.vma_use_count[i] = 0; in meye_mmap()
/linux-6.1.9/drivers/usb/core/
Ddevio.c85 int vma_use_count; member
193 if (usbm->urb_use_count == 0 && usbm->vma_use_count == 0) { in dec_usb_memory_use_count()
213 ++usbm->vma_use_count; in usbdev_vm_open()
221 dec_usb_memory_use_count(usbm, &usbm->vma_use_count); in usbdev_vm_close()
264 usbm->vma_use_count = 1; in usbdev_mmap()
271 dec_usb_memory_use_count(usbm, &usbm->vma_use_count); in usbdev_mmap()
277 dec_usb_memory_use_count(usbm, &usbm->vma_use_count); in usbdev_mmap()