Lines Matching refs:xbuff
48 unsigned char *xbuff; /* transmitter buffer */ member
359 unsigned char *xbuff, *rbuff, *oxbuff, *orbuff; in ax_changedmtu() local
372 xbuff = kmalloc(len + 4, GFP_ATOMIC); in ax_changedmtu()
375 if (xbuff == NULL || rbuff == NULL) { in ax_changedmtu()
380 kfree(xbuff); in ax_changedmtu()
387 oxbuff = ax->xbuff; in ax_changedmtu()
388 ax->xbuff = xbuff; in ax_changedmtu()
394 memcpy(ax->xbuff, ax->xhead, ax->xleft); in ax_changedmtu()
401 ax->xhead = ax->xbuff; in ax_changedmtu()
477 count = kiss_esc(p, ax->xbuff, len); in ax_encaps()
489 count = kiss_esc_crc(p, ax->xbuff, crc, len+2); in ax_encaps()
498 count = kiss_esc_crc(p, ax->xbuff, crc, len+2); in ax_encaps()
502 count = kiss_esc(p, ax->xbuff, len); in ax_encaps()
508 actual = ax->tty->ops->write(ax->tty, ax->xbuff, count); in ax_encaps()
514 ax->xhead = ax->xbuff + actual; in ax_encaps()
595 if ((ax->xbuff = kmalloc(len + 4, GFP_KERNEL)) == NULL) in ax_open()
762 kfree(ax->xbuff); in mkiss_open()
797 kfree(ax->xbuff); in mkiss_close()