Lines Matching refs:rpqueue
702 skb_queue_purge(&dev->drv[di]->rpqueue[i]); in isdn_status_callback()
703 kfree(dev->drv[di]->rpqueue); in isdn_status_callback()
778 if (skb_queue_empty(&dev->drv[di]->rpqueue[channel])) { in isdn_readbchan()
781 !skb_queue_empty(&dev->drv[di]->rpqueue[channel])); in isdn_readbchan()
790 if (!(skb = skb_peek(&dev->drv[di]->rpqueue[channel]))) in isdn_readbchan()
849 skb = skb_dequeue(&dev->drv[di]->rpqueue[channel]); in isdn_readbchan()
892 if (skb_queue_empty(&dev->drv[di]->rpqueue[channel])) in isdn_readbchan_tty()
901 if (!(skb = skb_peek(&dev->drv[di]->rpqueue[channel]))) in isdn_readbchan_tty()
962 skb = skb_dequeue(&dev->drv[di]->rpqueue[channel]); in isdn_readbchan_tty()
1929 skb_queue_purge(&dev->drv[di]->rpqueue[ch]); in isdn_free_channel()
2081 if ((adding) && (d->rpqueue)) { in isdn_add_channels()
2083 skb_queue_purge(&d->rpqueue[j]); in isdn_add_channels()
2084 kfree(d->rpqueue); in isdn_add_channels()
2086 d->rpqueue = kmalloc_array(m, sizeof(struct sk_buff_head), GFP_ATOMIC); in isdn_add_channels()
2087 if (!d->rpqueue) { in isdn_add_channels()
2096 skb_queue_head_init(&d->rpqueue[j]); in isdn_add_channels()
2106 kfree(d->rpqueue); in isdn_add_channels()