uref_multi        431 drivers/hid/usbhid/hiddev.c 	struct hiddev_usage_ref_multi *uref_multi = NULL;
uref_multi        437 drivers/hid/usbhid/hiddev.c 	uref_multi = kmalloc(sizeof(struct hiddev_usage_ref_multi), GFP_KERNEL);
uref_multi        438 drivers/hid/usbhid/hiddev.c 	if (!uref_multi)
uref_multi        440 drivers/hid/usbhid/hiddev.c 	uref = &uref_multi->uref;
uref_multi        442 drivers/hid/usbhid/hiddev.c 		if (copy_from_user(uref_multi, user_arg,
uref_multi        443 drivers/hid/usbhid/hiddev.c 				   sizeof(*uref_multi)))
uref_multi        509 drivers/hid/usbhid/hiddev.c 			if (uref_multi->num_values > HID_MAX_MULTI_USAGES ||
uref_multi        510 drivers/hid/usbhid/hiddev.c 			    uref->usage_index + uref_multi->num_values >
uref_multi        517 drivers/hid/usbhid/hiddev.c 						   uref_multi->num_values);
uref_multi        533 drivers/hid/usbhid/hiddev.c 			kfree(uref_multi);
uref_multi        536 drivers/hid/usbhid/hiddev.c 			for (i = 0; i < uref_multi->num_values; i++)
uref_multi        537 drivers/hid/usbhid/hiddev.c 				uref_multi->values[i] =
uref_multi        539 drivers/hid/usbhid/hiddev.c 			if (copy_to_user(user_arg, uref_multi,
uref_multi        540 drivers/hid/usbhid/hiddev.c 					 sizeof(*uref_multi)))
uref_multi        544 drivers/hid/usbhid/hiddev.c 			for (i = 0; i < uref_multi->num_values; i++)
uref_multi        546 drivers/hid/usbhid/hiddev.c 				    uref_multi->values[i];
uref_multi        551 drivers/hid/usbhid/hiddev.c 		kfree(uref_multi);
uref_multi        554 drivers/hid/usbhid/hiddev.c 		kfree(uref_multi);
uref_multi        557 drivers/hid/usbhid/hiddev.c 		kfree(uref_multi);