Lines Matching refs:name
56 .name = "virtio-ports",
215 /* The 'name' of the port that we expose via sysfs properties */
216 char *name;
1279 return sprintf(buffer, "%s\n", port->name);
1282 static DEVICE_ATTR(name, S_IRUGO, show_port_name, NULL);
1290 .name = NULL, /* put in device directory */
1298 seq_printf(s, "name: %s\n", port->name ? port->name : "");
1372 port->name = NULL;
1451 * configuration parameters for this port (eg, port name,
1548 kfree(port->name);
1655 if (port->name)
1660 * of the name that was sent
1664 port->name = kmalloc(name_size, GFP_KERNEL);
1665 if (!port->name) {
1667 "Not enough space to store port name\n");
1670 strscpy(port->name, buf->buf + buf->offset + sizeof(*cpkt),
1674 * Since we only have one sysfs attribute, 'name',
1675 * create it only if we have a name for the port.
2223 .driver.name = KBUILD_MODNAME,
2238 .driver.name = "virtio_rproc_serial",