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()
201 usbm->size + sizeof(struct usb_memory)); in dec_usb_memory_use_count()
210 struct usb_memory *usbm = vma->vm_private_data; in usbdev_vm_open()
220 struct usb_memory *usbm = vma->vm_private_data; in usbdev_vm_close()
232 struct usb_memory *usbm = NULL; in usbdev_mmap()
241 ret = usbfs_increase_memory_usage(size + sizeof(struct usb_memory)); in usbdev_mmap()
245 usbm = kzalloc(sizeof(struct usb_memory), GFP_KERNEL); in usbdev_mmap()
303 usbfs_decrease_memory_usage(size + sizeof(struct usb_memory)); in usbdev_mmap()
1591 static struct usb_memory *
1594 struct usb_memory *usbm = NULL, *iter; in find_memory_area()