Lines Matching refs:cbuff
136 char *cbuff = NULL; in sl_alloc_bufs() local
163 cbuff = kmalloc(len + 4, GFP_KERNEL); in sl_alloc_bufs()
164 if (cbuff == NULL) in sl_alloc_bufs()
183 cbuff = xchg(&sl->cbuff, cbuff); in sl_alloc_bufs()
196 kfree(cbuff); in sl_alloc_bufs()
211 kfree(xchg(&sl->cbuff, NULL)); in sl_free_bufs()
226 unsigned char *cbuff; local
241 cbuff = kmalloc(len + 4, GFP_ATOMIC);
246 if (xbuff == NULL || rbuff == NULL || cbuff == NULL) {
266 cbuff = xchg(&sl->cbuff, cbuff);
299 kfree(cbuff);
390 len = slhc_compress(sl->slcomp, p, len, sl->cbuff, &p, 1);