Lines Matching refs:usb_memory
83 struct usb_memory { struct
105 struct usb_memory *usbm; argument
186 static void dec_usb_memory_use_count(struct usb_memory *usbm, int *count) in dec_usb_memory_use_count()
200 usbm->size + sizeof(struct usb_memory)); in dec_usb_memory_use_count()
209 struct usb_memory *usbm = vma->vm_private_data; in usbdev_vm_open()
219 struct usb_memory *usbm = vma->vm_private_data; in usbdev_vm_close()
231 struct usb_memory *usbm = NULL; in usbdev_mmap()
240 ret = usbfs_increase_memory_usage(size + sizeof(struct usb_memory)); in usbdev_mmap()
244 usbm = kzalloc(sizeof(struct usb_memory), GFP_KERNEL); in usbdev_mmap()
296 usbfs_decrease_memory_usage(size + sizeof(struct usb_memory)); in usbdev_mmap()
1582 static struct usb_memory *
1585 struct usb_memory *usbm = NULL, *iter; in find_memory_area()