Lines Matching refs:buff
30 * @buff: string buffer to parse
36 bool batadv_parse_throughput(struct net_device *net_dev, char *buff,
44 if (strlen(buff) > 4) {
45 tmp_ptr = buff + strlen(buff) - 4;
55 ret = kstrtou64(buff, 10, <hroughput);
59 description, buff);
69 description, buff);
84 description, buff);
97 * @buff: string buffer to parse
103 static bool batadv_parse_gw_bandwidth(struct net_device *net_dev, char *buff,
109 slash_ptr = strchr(buff, '/');
113 ret = batadv_parse_throughput(net_dev, buff, "download gateway speed",
162 * @buff: the buffer containing the user data
167 ssize_t batadv_gw_bandwidth_set(struct net_device *net_dev, char *buff,
180 ret = batadv_parse_gw_bandwidth(net_dev, buff, &down_new, &up_new);