Home
last modified time | relevance | path

Searched refs:tbuf (Results 1 – 4 of 4) sorted by relevance

/net/dccp/
Dprobe.c57 char tbuf[256]; in printl() local
64 len = sprintf(tbuf, "%lu.%06lu ", in printl()
67 len += vscnprintf(tbuf+len, sizeof(tbuf)-len, fmt, args); in printl()
70 kfifo_put(dccpw.fifo, tbuf, len); in printl()
122 unsigned char *tbuf; in dccpprobe_read() local
130 tbuf = vmalloc(len); in dccpprobe_read()
131 if (!tbuf) in dccpprobe_read()
139 cnt = kfifo_get(dccpw.fifo, tbuf, len); in dccpprobe_read()
140 error = copy_to_user(buf, tbuf, cnt) ? -EFAULT : 0; in dccpprobe_read()
143 vfree(tbuf); in dccpprobe_read()
/net/ipv4/
Dtcp_probe.c148 static int tcpprobe_sprint(char *tbuf, int n) in tcpprobe_sprint() argument
155 return snprintf(tbuf, n, in tcpprobe_sprint()
174 char tbuf[128]; in tcpprobe_read() local
190 width = tcpprobe_sprint(tbuf, sizeof(tbuf)); in tcpprobe_read()
202 if (copy_to_user(buf + cnt, tbuf, width)) in tcpprobe_read()
Darp.c1291 char tbuf[16]; in arp_format_neigh_entry() local
1311 sprintf(tbuf, "%pI4", n->primary_key); in arp_format_neigh_entry()
1313 tbuf, hatype, arp_state_to_flags(n), hbuffer, dev->name); in arp_format_neigh_entry()
1322 char tbuf[16]; in arp_format_pneigh_entry() local
1324 sprintf(tbuf, "%pI4", n->key); in arp_format_pneigh_entry()
1326 tbuf, hatype, ATF_PUBL | ATF_PERM, "00:00:00:00:00:00", in arp_format_pneigh_entry()
/net/sunrpc/
Dcache.c1273 char tbuf[20]; in read_flush() local
1277 sprintf(tbuf, "%lu\n", cd->flush_time); in read_flush()
1278 len = strlen(tbuf); in read_flush()
1284 if (copy_to_user(buf, (void*)(tbuf+p), len)) in read_flush()
1294 char tbuf[20]; in write_flush() local
1297 if (*ppos || count > sizeof(tbuf)-1) in write_flush()
1299 if (copy_from_user(tbuf, buf, count)) in write_flush()
1301 tbuf[count] = 0; in write_flush()
1302 flushtime = simple_strtoul(tbuf, &ep, 0); in write_flush()