Lines Matching refs:xbuff
114 kfree(sl->xbuff); in x25_asy_free()
115 sl->xbuff = NULL; in x25_asy_free()
124 unsigned char *xbuff, *rbuff; in x25_asy_change_mtu() local
131 xbuff = kmalloc(len + 4, GFP_ATOMIC); in x25_asy_change_mtu()
134 if (xbuff == NULL || rbuff == NULL) { in x25_asy_change_mtu()
135 kfree(xbuff); in x25_asy_change_mtu()
141 xbuff = xchg(&sl->xbuff, xbuff); in x25_asy_change_mtu()
144 memcpy(sl->xbuff, sl->xhead, sl->xleft); in x25_asy_change_mtu()
150 sl->xhead = sl->xbuff; in x25_asy_change_mtu()
168 kfree(xbuff); in x25_asy_change_mtu()
237 count = x25_asy_esc(p, sl->xbuff, len); in x25_asy_encaps()
248 actual = sl->tty->ops->write(sl->tty, sl->xbuff, count); in x25_asy_encaps()
250 sl->xhead = sl->xbuff + actual; in x25_asy_encaps()
471 sl->xbuff = kmalloc(len + 4, GFP_KERNEL); in x25_asy_open()
472 if (sl->xbuff == NULL) in x25_asy_open()
490 kfree(sl->xbuff); in x25_asy_open()