Lines Matching defs:attribute
562 static struct attribute *vmbus_dev_attrs[] = {
597 * each attribute, and returns 0 if an attribute is not visible.
600 struct attribute *attr, int idx)
625 /* Set up the attribute for /sys/bus/vmbus/hibernation */
633 static struct attribute *vmbus_bus_attrs[] = {
811 static struct attribute *vmbus_drv_attrs[] = {
1475 struct attribute attr;
1491 struct attribute *attr, char *buf)
1493 const struct vmbus_chan_attribute *attribute
1498 if (!attribute->show)
1501 return attribute->show(chan, buf);
1505 struct attribute *attr, const char *buf,
1508 const struct vmbus_chan_attribute *attribute
1513 if (!attribute->store)
1516 return attribute->store(chan, buf, count);
1777 static struct attribute *vmbus_chan_attrs[] = {
1798 * each attribute, and returns 0 if an attribute is not visible.
1801 struct attribute *attr, int idx)
1862 * vmbus_remove_channel_attr_group - remove the channel's attribute group