Lines Matching defs:buf
65 * and stores into local @buf. It will start reading file @ppos and
66 * copy up to @cnt of data to @ubuf from @buf.
78 char buf[64];
81 len = sprintf(buf, "%u\n", snic->reset_stats);
83 return simple_read_from_buffer(ubuf, cnt, ppos, buf, len);
94 * This routine writes data from user buffer @ubuf to buffer @buf and
110 char buf[64];
114 if (cnt >= sizeof(buf))
117 if (copy_from_user(&buf, ubuf, cnt))
120 buf[cnt] = '\0';
122 ret = kstrtoul(buf, 10, &val);
402 char buf[SNIC_TRC_PBLEN];
404 if (snic_get_trc_data(buf, SNIC_TRC_PBLEN) > 0)
405 seq_printf(sfp, "%s\n", buf);