Lines Matching defs:size
54 void *data, uint size)
59 buf = kmalloc(size, GFP_KERNEL);
66 usb_command, 0, buf, size, USB_CTRL_SET_TIMEOUT);
68 memcpy(data, buf, size);
70 return ((len < 0) ? len : ((len != size) ? -EIO : 0));
74 void const *data, uint size)
79 buf = kmemdup(data, size, GFP_KERNEL);
86 usb_command, 0, buf, size, USB_CTRL_SET_TIMEOUT);
89 return ((len < 0) ? len : ((len != size) ? -EIO : 0));
387 .size = sizeof(struct kone_profile), \
470 struct device_attribute *attr, char const *buf, size_t size)
542 retval = size;
560 struct device_attribute *attr, char const *buf, size_t size)
594 return size;
845 u8 *data, int size)
851 if (size != sizeof(struct kone_mouse_event))