Lines Matching defs:buf
60 const char *buf,
67 ret = kstrtoint(buf, 10, &value);
70 attr->attr.name, buf);
77 attr->attr.name, buf, MIN_MAX_RECONN_ATT,
108 const char *buf,
117 ret = kstrtoint(buf, 10, &value);
124 if (!strncasecmp(buf, "round-robin", 11) ||
125 !strncasecmp(buf, "rr", 2))
127 else if (!strncasecmp(buf, "min-inflight", 12) ||
128 !strncasecmp(buf, "mi", 2))
148 const char *buf, size_t count)
162 nl = strchr(buf, '\n');
164 len = nl - buf;
167 err = rtrs_addr_to_sockaddr(buf, len, clt->port, &addr);
205 const char *buf, size_t count)
211 if (!sysfs_streq(buf, "1")) {
213 attr->attr.name, buf);
237 const char *buf, size_t count)
243 if (!sysfs_streq(buf, "1")) {
245 attr->attr.name, buf);
269 const char *buf, size_t count)
275 if (!sysfs_streq(buf, "1")) {
277 attr->attr.name, buf);