Home
last modified time | relevance | path

Searched refs:tmpbuf (Results 1 – 2 of 2) sorted by relevance

/net/sunrpc/
Dsysctl.c65 char tmpbuf[256]; in proc_do_xprt() local
72 len = svc_print_xprts(tmpbuf, sizeof(tmpbuf)); in proc_do_xprt()
73 len = memory_read_from_buffer(buffer, *lenp, ppos, tmpbuf, len); in proc_do_xprt()
87 char tmpbuf[20], *s = NULL; in proc_dodebug() local
108 if (left > sizeof(tmpbuf) - 1) in proc_dodebug()
110 memcpy(tmpbuf, p, left); in proc_dodebug()
111 tmpbuf[left] = '\0'; in proc_dodebug()
113 value = simple_strtol(tmpbuf, &s, 0); in proc_dodebug()
115 left -= (s - tmpbuf); in proc_dodebug()
129 len = sprintf(tmpbuf, "0x%04x", *(unsigned int *) table->data); in proc_dodebug()
[all …]
/net/rxrpc/
Drxkad.c107 __be32 *tmpbuf; in rxkad_prime_packet_security() local
115 tmpbuf = kmalloc(tmpsize, GFP_KERNEL); in rxkad_prime_packet_security()
116 if (!tmpbuf) in rxkad_prime_packet_security()
121 kfree(tmpbuf); in rxkad_prime_packet_security()
128 tmpbuf[0] = htonl(conn->proto.epoch); in rxkad_prime_packet_security()
129 tmpbuf[1] = htonl(conn->proto.cid); in rxkad_prime_packet_security()
130 tmpbuf[2] = 0; in rxkad_prime_packet_security()
131 tmpbuf[3] = htonl(conn->security_ix); in rxkad_prime_packet_security()
133 sg_init_one(&sg, tmpbuf, tmpsize); in rxkad_prime_packet_security()
140 memcpy(&conn->csum_iv, tmpbuf + 2, sizeof(conn->csum_iv)); in rxkad_prime_packet_security()
[all …]