usb_class          63 drivers/usb/core/file.c } *usb_class;
usb_class          79 drivers/usb/core/file.c 	if (usb_class != NULL) {
usb_class          80 drivers/usb/core/file.c 		kref_get(&usb_class->kref);
usb_class          84 drivers/usb/core/file.c 	usb_class = kmalloc(sizeof(*usb_class), GFP_KERNEL);
usb_class          85 drivers/usb/core/file.c 	if (!usb_class) {
usb_class          90 drivers/usb/core/file.c 	kref_init(&usb_class->kref);
usb_class          91 drivers/usb/core/file.c 	usb_class->class = class_create(THIS_MODULE, "usbmisc");
usb_class          92 drivers/usb/core/file.c 	if (IS_ERR(usb_class->class)) {
usb_class          93 drivers/usb/core/file.c 		result = PTR_ERR(usb_class->class);
usb_class          95 drivers/usb/core/file.c 		kfree(usb_class);
usb_class          96 drivers/usb/core/file.c 		usb_class = NULL;
usb_class          99 drivers/usb/core/file.c 	usb_class->class->devnode = usb_devnode;
usb_class         108 drivers/usb/core/file.c 	class_destroy(usb_class->class);
usb_class         109 drivers/usb/core/file.c 	kfree(usb_class);
usb_class         110 drivers/usb/core/file.c 	usb_class = NULL;
usb_class         116 drivers/usb/core/file.c 	kref_put(&usb_class->kref, release_usb_class);
usb_class         203 drivers/usb/core/file.c 	intf->usb_dev = device_create(usb_class->class, &intf->dev,
usb_class         237 drivers/usb/core/file.c 	device_destroy(usb_class->class, MKDEV(USB_MAJOR, intf->minor));