Lines Matching defs:xbuff
113 kfree(sl->xbuff);
114 sl->xbuff = NULL;
124 unsigned char *xbuff, *rbuff;
127 xbuff = kmalloc(len + 4, GFP_ATOMIC);
130 if (xbuff == NULL || rbuff == NULL) {
133 kfree(xbuff);
139 xbuff = xchg(&sl->xbuff, xbuff);
142 memcpy(sl->xbuff, sl->xhead, sl->xleft);
148 sl->xhead = sl->xbuff;
166 kfree(xbuff);
236 count = x25_asy_esc(p, (unsigned char *) sl->xbuff, len);
247 actual = sl->tty->ops->write(sl->tty, sl->xbuff, count);
249 sl->xhead = sl->xbuff + actual;
462 * xbuff Transmit buffer.
470 sl->xbuff = kmalloc(len + 4, GFP_KERNEL);
471 if (sl->xbuff == NULL)
489 kfree(sl->xbuff);