Lines Matching defs:buf
22 struct device_attribute *attr, char *buf) \
26 return sprintf(buf, fmt, zdev->member); \
44 struct device_attribute *attr, char *buf)
48 return sprintf(buf, zpci_use_mio(zdev) ? "1\n" : "0\n");
53 const char *buf, size_t count)
124 struct bin_attribute *attr, char *buf,
131 return memory_read_from_buffer(buf, count, &off, zdev->util_str,
137 struct bin_attribute *attr, char *buf,
140 struct zpci_report_error_header *report = (void *) buf;
156 struct device_attribute *attr, char *buf)
158 return sysfs_emit(buf, "%d\n", zpci_unique_uid ? 1 : 0);
165 struct device_attribute *attr, char *buf)
173 return sysfs_emit(buf, "%u\n", index);