Lines Matching refs:cbuff
138 char * cbuff = NULL; in sl_alloc_bufs() local
165 cbuff = kmalloc(len + 4, GFP_KERNEL); in sl_alloc_bufs()
166 if (cbuff == NULL) in sl_alloc_bufs()
185 cbuff = xchg(&sl->cbuff, cbuff); in sl_alloc_bufs()
198 if (cbuff) in sl_alloc_bufs()
199 kfree(cbuff); in sl_alloc_bufs()
222 if ((tmp = xchg(&sl->cbuff, NULL)) != NULL) in sl_free_bufs()
239 unsigned char *cbuff; local
254 cbuff = (unsigned char *) kmalloc (len + 4, GFP_ATOMIC);
259 if (xbuff == NULL || rbuff == NULL || cbuff == NULL) {
280 cbuff = xchg(&sl->cbuff, cbuff);
315 if (cbuff)
316 kfree(cbuff);
412 len = slhc_compress(sl->slcomp, p, len, sl->cbuff, &p, 1);