Home
last modified time | relevance | path

Searched refs:slcomp (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/slip/
Dslip.c137 struct slcompress *slcomp = NULL; in sl_alloc_bufs() local
166 slcomp = slhc_init(16, 16); in sl_alloc_bufs()
167 if (IS_ERR(slcomp)) in sl_alloc_bufs()
184 slcomp = xchg(&sl->slcomp, slcomp); in sl_alloc_bufs()
197 slhc_free(slcomp); in sl_alloc_bufs()
212 slhc_free(xchg(&sl->slcomp, NULL)); in sl_free_bufs()
341 count = slhc_uncompress(sl->slcomp, sl->rbuff, count);
352 if (slhc_remember(sl->slcomp, sl->rbuff, count) <= 0)
390 len = slhc_compress(sl->slcomp, p, len, sl->cbuff, &p, 1);
579 struct slcompress *comp = sl->slcomp;
Dslip.h60 struct slcompress *slcomp; /* for header compression */ member