Searched refs:xbuff (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/wan/ |
D | x25_asy.c | 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 128 xbuff = kmalloc(len + 4, GFP_ATOMIC); in x25_asy_change_mtu() 131 if (xbuff == NULL || rbuff == NULL) { in x25_asy_change_mtu() 132 kfree(xbuff); in x25_asy_change_mtu() 138 xbuff = xchg(&sl->xbuff, xbuff); in x25_asy_change_mtu() 141 memcpy(sl->xbuff, sl->xhead, sl->xleft); in x25_asy_change_mtu() 147 sl->xhead = sl->xbuff; in x25_asy_change_mtu() 165 kfree(xbuff); in x25_asy_change_mtu() [all …]
|
D | x25_asy.h | 29 unsigned char *xbuff; /* transmitter buffer */ member
|
/kernel/linux/linux-5.10/drivers/net/hamradio/ |
D | mkiss.c | 50 unsigned char *xbuff; /* transmitter buffer */ member 361 unsigned char *xbuff, *rbuff, *oxbuff, *orbuff; in ax_changedmtu() local 374 xbuff = kmalloc(len + 4, GFP_ATOMIC); in ax_changedmtu() 377 if (xbuff == NULL || rbuff == NULL) { in ax_changedmtu() 382 kfree(xbuff); in ax_changedmtu() 389 oxbuff = ax->xbuff; in ax_changedmtu() 390 ax->xbuff = xbuff; in ax_changedmtu() 396 memcpy(ax->xbuff, ax->xhead, ax->xleft); in ax_changedmtu() 403 ax->xhead = ax->xbuff; in ax_changedmtu() 479 count = kiss_esc(p, ax->xbuff, len); in ax_encaps() [all …]
|
D | 6pack.c | 93 unsigned char *xbuff; /* transmitter buffer */ member 151 actual = sp->tty->ops->write(sp->tty, sp->xbuff, sp->status2); in sp_xmit_on_air() 194 count = encode_sixpack(p, sp->xbuff, len, sp->tx_delay); in sp_encaps() 223 actual = sp->tty->ops->write(sp->tty, sp->xbuff, count); in sp_encaps() 225 sp->xhead = sp->xbuff + actual; in sp_encaps() 230 sp->xhead = sp->xbuff; in sp_encaps() 551 char *rbuff = NULL, *xbuff = NULL; in sixpack_open() local 581 xbuff = kmalloc(len + 4, GFP_KERNEL); in sixpack_open() 583 if (rbuff == NULL || xbuff == NULL) { in sixpack_open() 593 sp->xbuff = xbuff; in sixpack_open() [all …]
|
/kernel/linux/linux-5.10/drivers/net/slip/ |
D | slip.c | 134 char *xbuff = NULL; in sl_alloc_bufs() local 159 xbuff = kmalloc(len + 4, GFP_KERNEL); in sl_alloc_bufs() 160 if (xbuff == NULL) in sl_alloc_bufs() 181 xbuff = xchg(&sl->xbuff, xbuff); in sl_alloc_bufs() 199 kfree(xbuff); in sl_alloc_bufs() 209 kfree(xchg(&sl->xbuff, NULL)); in sl_free_bufs() 224 unsigned char *xbuff, *rbuff; local 238 xbuff = kmalloc(len + 4, GFP_ATOMIC); 246 if (xbuff == NULL || rbuff == NULL || cbuff == NULL) { 248 if (xbuff == NULL || rbuff == NULL) { [all …]
|
D | slip.h | 67 unsigned char *xbuff; /* transmitter buffer */ member
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/dvs/dvs_1.0/ |
D | ia_css_dvs.host.c | 90 unsigned int *xbuff = NULL; in convert_coords_to_ispparams() local 103 xbuff = config->xcoords_y; in convert_coords_to_ispparams() 108 xbuff = config->xcoords_uv; in convert_coords_to_ispparams() 125 x00 = xbuff[j * width + i]; in convert_coords_to_ispparams() 126 x01 = xbuff[j * width + (i + 1)]; in convert_coords_to_ispparams() 127 x10 = xbuff[(j + 1) * width + i]; in convert_coords_to_ispparams() 128 x11 = xbuff[(j + 1) * width + (i + 1)]; in convert_coords_to_ispparams()
|
/kernel/linux/linux-5.10/drivers/net/can/ |
D | slcan.c | 92 unsigned char xbuff[SLC_MTU]; /* transmitter buffer */ member 259 pos = sl->xbuff; in slc_encaps() 304 actual = sl->tty->ops->write(sl->tty, sl->xbuff, pos - sl->xbuff); in slc_encaps() 305 sl->xleft = (pos - sl->xbuff) - actual; in slc_encaps() 306 sl->xhead = sl->xbuff + actual; in slc_encaps()
|