Lines Matching refs:create2

500 	rd_size = ev->u.create2.rd_size;  in uhid_dev_create2()
504 rd_data = kmemdup(ev->u.create2.rd_data, rd_size, GFP_KERNEL); in uhid_dev_create2()
518 len = min(sizeof(hid->name), sizeof(ev->u.create2.name)) - 1; in uhid_dev_create2()
519 strncpy(hid->name, ev->u.create2.name, len); in uhid_dev_create2()
520 len = min(sizeof(hid->phys), sizeof(ev->u.create2.phys)) - 1; in uhid_dev_create2()
521 strncpy(hid->phys, ev->u.create2.phys, len); in uhid_dev_create2()
522 len = min(sizeof(hid->uniq), sizeof(ev->u.create2.uniq)) - 1; in uhid_dev_create2()
523 strncpy(hid->uniq, ev->u.create2.uniq, len); in uhid_dev_create2()
526 hid->bus = ev->u.create2.bus; in uhid_dev_create2()
527 hid->vendor = ev->u.create2.vendor; in uhid_dev_create2()
528 hid->product = ev->u.create2.product; in uhid_dev_create2()
529 hid->version = ev->u.create2.version; in uhid_dev_create2()
530 hid->country = ev->u.create2.country; in uhid_dev_create2()
561 if (copy_from_user(&ev->u.create2.rd_data, orig.rd_data, orig.rd_size)) in uhid_dev_create()
564 memcpy(ev->u.create2.name, orig.name, sizeof(orig.name)); in uhid_dev_create()
565 memcpy(ev->u.create2.phys, orig.phys, sizeof(orig.phys)); in uhid_dev_create()
566 memcpy(ev->u.create2.uniq, orig.uniq, sizeof(orig.uniq)); in uhid_dev_create()
567 ev->u.create2.rd_size = orig.rd_size; in uhid_dev_create()
568 ev->u.create2.bus = orig.bus; in uhid_dev_create()
569 ev->u.create2.vendor = orig.vendor; in uhid_dev_create()
570 ev->u.create2.product = orig.product; in uhid_dev_create()
571 ev->u.create2.version = orig.version; in uhid_dev_create()
572 ev->u.create2.country = orig.country; in uhid_dev_create()