Lines Matching refs:xbuff
114 kfree(sl->xbuff);
115 sl->xbuff = NULL;
124 unsigned char *xbuff, *rbuff;
128 xbuff = kmalloc(len + 4, GFP_ATOMIC);
131 if (xbuff == NULL || rbuff == NULL) {
132 kfree(xbuff);
138 xbuff = xchg(&sl->xbuff, xbuff);
141 memcpy(sl->xbuff, sl->xhead, sl->xleft);
147 sl->xhead = sl->xbuff;
165 kfree(xbuff);
231 count = x25_asy_esc(p, sl->xbuff, len);
242 actual = sl->tty->ops->write(sl->tty, sl->xbuff, count);
244 sl->xhead = sl->xbuff + actual;
472 * xbuff Transmit buffer.
480 sl->xbuff = kmalloc(len + 4, GFP_KERNEL);
481 if (sl->xbuff == NULL)
492 kfree(sl->xbuff);
493 sl->xbuff = NULL;