Lines Matching defs:he_vcc
1669 struct he_vcc *he_vcc;
1699 if (vcc == NULL || (he_vcc = HE_VCC(vcc)) == NULL) {
1700 hprintk("vcc/he_vcc == NULL (cid 0x%x)\n", cid);
1718 list_move_tail(&heb->entry, &he_vcc->buffers);
1719 he_vcc->pdu_len += heb->len;
1724 wake_up(&he_vcc->rx_waitq);
1743 skb = atm_alloc_charge(vcc, he_vcc->pdu_len + rx_skb_reserve,
1755 list_for_each_entry(heb, &he_vcc->buffers, entry)
1767 skb->len = AAL5_LEN(skb->data, he_vcc->pdu_len);
1773 he_vcc->pdu_len);
1796 list_for_each_entry_safe(heb, next, &he_vcc->buffers, entry)
1798 INIT_LIST_HEAD(&he_vcc->buffers);
1799 he_vcc->pdu_len = 0;
2135 struct he_vcc *he_vcc;
2150 he_vcc = kmalloc(sizeof(struct he_vcc), GFP_ATOMIC);
2151 if (he_vcc == NULL) {
2152 hprintk("unable to allocate he_vcc during open\n");
2156 INIT_LIST_HEAD(&he_vcc->buffers);
2157 he_vcc->pdu_len = 0;
2158 he_vcc->rc_index = -1;
2160 init_waitqueue_head(&he_vcc->rx_waitq);
2161 init_waitqueue_head(&he_vcc->tx_waitq);
2163 vcc->dev_data = he_vcc;
2235 he_vcc->rc_index = reg;
2334 kfree(he_vcc);
2351 struct he_vcc *he_vcc = HE_VCC(vcc);
2376 add_wait_queue(&he_vcc->rx_waitq, &wait);
2385 remove_wait_queue(&he_vcc->rx_waitq, &wait);
2451 add_wait_queue(&he_vcc->tx_waitq, &wait);
2457 remove_wait_queue(&he_vcc->tx_waitq, &wait);
2480 int reg = he_vcc->rc_index;
2496 kfree(he_vcc);