tag | line | file | source code |
rbuff | 182 | drivers/net/slip.c | if (sl->rbuff) { |
rbuff | 183 | drivers/net/slip.c | kfree(sl->rbuff); |
rbuff | 185 | drivers/net/slip.c | sl->rbuff = NULL; |
rbuff | 219 | drivers/net/slip.c | unsigned char *xbuff, *rbuff, *oxbuff, *orbuff; |
rbuff | 237 | drivers/net/slip.c | rbuff = (unsigned char *) kmalloc (len + 4, GFP_ATOMIC); |
rbuff | 243 | drivers/net/slip.c | if (xbuff == NULL || rbuff == NULL || cbuff == NULL) { |
rbuff | 245 | drivers/net/slip.c | if (xbuff == NULL || rbuff == NULL) { |
rbuff | 253 | drivers/net/slip.c | if (rbuff != NULL) { |
rbuff | 254 | drivers/net/slip.c | kfree(rbuff); |
rbuff | 268 | drivers/net/slip.c | orbuff = sl->rbuff; |
rbuff | 269 | drivers/net/slip.c | sl->rbuff = rbuff; |
rbuff | 286 | drivers/net/slip.c | memcpy(sl->rbuff, orbuff, sl->rcount); |
rbuff | 346 | drivers/net/slip.c | if ((c = sl->rbuff[0]) & SL_TYPE_COMPRESSED_TCP) { |
rbuff | 357 | drivers/net/slip.c | count = slhc_uncompress(sl->slcomp, sl->rbuff, count); |
rbuff | 368 | drivers/net/slip.c | sl->rbuff[0] &= 0x4f; |
rbuff | 369 | drivers/net/slip.c | if (slhc_remember(sl->slcomp, sl->rbuff, count) <= 0) { |
rbuff | 383 | drivers/net/slip.c | memcpy(skb_put(skb,count), sl->rbuff, count); |
rbuff | 591 | drivers/net/slip.c | sl->rbuff = (unsigned char *) kmalloc(len + 4, GFP_KERNEL); |
rbuff | 592 | drivers/net/slip.c | if (sl->rbuff == NULL) { |
rbuff | 642 | drivers/net/slip.c | kfree(sl->rbuff); |
rbuff | 899 | drivers/net/slip.c | sl->rbuff[sl->rcount++] = s; |
rbuff | 971 | drivers/net/slip.c | sl->rbuff[sl->rcount++] = c; |
rbuff | 58 | drivers/net/slip.h | unsigned char *rbuff; /* receiver buffer */ |