Lines Matching refs:lbuf
376 char lbuf[11] = { };
380 if (count > sizeof(lbuf))
383 if (copy_from_user(lbuf, buf, count))
386 lbuf[sizeof(lbuf) - 1] = '\0';
388 if (kstrtou32(lbuf, 0, &var))
402 char lbuf[11];
408 ret = snprintf(lbuf, sizeof(lbuf), "%d\n", var);
412 return simple_read_from_buffer(buf, count, pos, lbuf, ret);