Lines Matching refs:tmp_buf
141 * tmp_buf is used as a temporary buffer by serial_write. We need to
149 static unsigned char *tmp_buf;
944 if (!tty || !info->xmit.buf || !tmp_buf)
958 c -= copy_from_user(tmp_buf, buf, c);
970 memcpy(info->xmit.buf + info->xmit.head, tmp_buf, c);
1917 if (!tmp_buf) {
1922 if (tmp_buf)
1925 tmp_buf = (unsigned char *) page;
2250 if (tmp_buf) {
2251 free_page((unsigned long) tmp_buf);
2252 tmp_buf = NULL;