Lines Matching refs:rbuff
134 char *rbuff = NULL; in sl_alloc_bufs() local
157 rbuff = kmalloc(len + 4, GFP_KERNEL); in sl_alloc_bufs()
158 if (rbuff == NULL) in sl_alloc_bufs()
181 rbuff = xchg(&sl->rbuff, rbuff); in sl_alloc_bufs()
201 kfree(rbuff); in sl_alloc_bufs()
209 kfree(xchg(&sl->rbuff, NULL)); in sl_free_bufs()
225 unsigned char *xbuff, *rbuff; local
240 rbuff = kmalloc(len + 4, GFP_ATOMIC);
247 if (xbuff == NULL || rbuff == NULL || cbuff == NULL) {
249 if (xbuff == NULL || rbuff == NULL) {
265 rbuff = xchg(&sl->rbuff, rbuff);
281 memcpy(sl->rbuff, rbuff, sl->rcount);
298 kfree(rbuff);
329 unsigned char c = sl->rbuff[0];
342 count = slhc_uncompress(sl->slcomp, sl->rbuff, count);
352 sl->rbuff[0] &= 0x4f;
353 if (slhc_remember(sl->slcomp, sl->rbuff, count) <= 0)
368 skb_put_data(skb, sl->rbuff, count);
987 sl->rbuff[sl->rcount++] = s;
1063 sl->rbuff[sl->rcount++] = c;