Lines Matching defs:size
22 void *data, uint size)
27 buf = kmalloc(size, GFP_KERNEL);
35 0, buf, size, USB_CTRL_SET_TIMEOUT);
37 memcpy(data, buf, size);
39 return ((len < 0) ? len : ((len != size) ? -EIO : 0));
44 void const *data, uint size)
49 buf = kmemdup(data, size, GFP_KERNEL);
57 0, buf, size, USB_CTRL_SET_TIMEOUT);
60 return ((len < 0) ? len : ((len != size) ? -EIO : 0));
108 uint command, void const *buf, uint size)
112 retval = roccat_common2_send(usb_dev, command, buf, size);