Searched refs:tmp_buf (Results 1 – 4 of 4) sorted by relevance
/net/atm/ |
D | addr.c | 139 struct sockaddr_atmsvc *tmp_buf, *tmp_bufp; in atm_get_addr() local 148 tmp_buf = tmp_bufp = kmalloc(total, GFP_ATOMIC); in atm_get_addr() 149 if (!tmp_buf) { in atm_get_addr() 157 if (copy_to_user(buf, tmp_buf, total < size ? total : size)) in atm_get_addr() 159 kfree(tmp_buf); in atm_get_addr()
|
D | resources.c | 201 int *tmp_buf, *tmp_p; in atm_dev_ioctl() local 235 tmp_buf = kmalloc(size, GFP_ATOMIC); in atm_dev_ioctl() 236 if (!tmp_buf) { in atm_dev_ioctl() 240 tmp_p = tmp_buf; in atm_dev_ioctl() 246 error = ((copy_to_user(buf, tmp_buf, size)) || in atm_dev_ioctl() 249 kfree(tmp_buf); in atm_dev_ioctl()
|
/net/9p/ |
D | trans_fd.c | 133 char tmp_buf[7]; member 311 m->rbuf = m->tmp_buf; in p9_read_work() 365 memcpy(m->rbuf, m->tmp_buf, m->rsize); in p9_read_work()
|
/net/ |
D | socket.c | 3037 char tmp_buf[IFNAMSIZ]; in compat_ifr_data_ioctl() local 3041 if (copy_from_user(&tmp_buf[0], &(u_ifreq32->ifr_ifrn.ifrn_name[0]), in compat_ifr_data_ioctl() 3050 if (copy_to_user(&u_ifreq64->ifr_ifrn.ifrn_name[0], &tmp_buf[0], in compat_ifr_data_ioctl()
|