Lines Matching defs:buf
49 const char *buf, size_t count)
55 ret = kstrtouint(buf, 0, &num_vfs);
84 struct device_attribute *attr, char *buf)
88 return sprintf(buf, "%u\n", nsim_bus_dev->num_vfs);
97 const char *buf, size_t count)
108 ret = kstrtouint(buf, 0, &port_index);
126 const char *buf, size_t count)
137 ret = kstrtouint(buf, 0, &port_index);
185 new_device_store(struct bus_type *bus, const char *buf, size_t count)
192 err = sscanf(buf, "%u %u", &id, &port_count);
237 del_device_store(struct bus_type *bus, const char *buf, size_t count)
243 err = sscanf(buf, "%u", &id);