Lines Matching refs:buflen
198 int buflen; in solos_param_show() local
200 buflen = strlen(attr->attr.name) + 10; in solos_param_show()
202 skb = alloc_skb(sizeof(*header) + buflen, GFP_KERNEL); in solos_param_show()
210 buflen = snprintf((void *)&header[1], buflen - 1, in solos_param_show()
212 skb_put(skb, buflen); in solos_param_show()
214 header->size = cpu_to_le16(buflen); in solos_param_show()
238 buflen = prm.response->len; in solos_param_show()
239 memcpy(buf, prm.response->data, buflen); in solos_param_show()
242 return buflen; in solos_param_show()
253 int buflen; in solos_param_store() local
256 buflen = strlen(attr->attr.name) + 11 + count; in solos_param_store()
258 skb = alloc_skb(sizeof(*header) + buflen, GFP_KERNEL); in solos_param_store()
266 buflen = snprintf((void *)&header[1], buflen - 1, in solos_param_store()
269 skb_put(skb, buflen); in solos_param_store()
270 header->size = cpu_to_le16(buflen); in solos_param_store()
296 buflen = skb->len; in solos_param_store()
299 if (skb->data[buflen - 1] == '\n') in solos_param_store()
300 buflen--; in solos_param_store()
302 if (buflen == 2 && !strncmp(skb->data, "OK", 2)) in solos_param_store()
304 else if (buflen == 5 && !strncmp(skb->data, "ERROR", 5)) in solos_param_store()
309 skb->data[buflen] = 0; in solos_param_store()