Lines Matching defs:attribute
615 static struct attribute *vmbus_dev_attrs[] = {
650 * each attribute, and returns 0 if an attribute is not visible.
653 struct attribute *attr, int idx)
847 static struct attribute *vmbus_drv_attrs[] = {
1588 struct attribute attr;
1604 struct attribute *attr, char *buf)
1606 const struct vmbus_chan_attribute *attribute
1611 if (!attribute->show)
1614 return attribute->show(chan, buf);
1618 struct attribute *attr, const char *buf,
1621 const struct vmbus_chan_attribute *attribute
1626 if (!attribute->store)
1629 return attribute->store(chan, buf, count);
1885 static struct attribute *vmbus_chan_attrs[] = {
1906 * each attribute, and returns 0 if an attribute is not visible.
1909 struct attribute *attr, int idx)
1970 * vmbus_remove_channel_attr_group - remove the channel's attribute group