Lines Matching refs:tmp_buf
173 * tmp_buf is used as a temporary buffer by serial_write. We need to
181 static unsigned char *tmp_buf;
1470 if (!tty || !info->xmit_buf || !tmp_buf)
1482 c -= copy_from_user(tmp_buf, buf, c);
1492 memcpy(info->xmit_buf + info->xmit_head, tmp_buf, c);
2241 if (!tmp_buf) {
2245 if (tmp_buf)
2248 tmp_buf = (unsigned char *) page;
2722 tmp_buf = 0;
2753 if (tmp_buf) {
2754 free_page((unsigned long) tmp_buf);
2755 tmp_buf = 0;