Lines Matching refs:he_vcc

1773 	struct he_vcc *he_vcc;  in he_service_rbrq()  local
1816 he_vcc = HE_VCC(vcc); in he_service_rbrq()
1817 if (he_vcc == NULL) { in he_service_rbrq()
1830 he_vcc->iov_tail->iov_base = RBRQ_ADDR(he_dev->rbrq_head); in he_service_rbrq()
1831 he_vcc->iov_tail->iov_len = buf_len; in he_service_rbrq()
1832 he_vcc->pdu_len += buf_len; in he_service_rbrq()
1833 ++he_vcc->iov_tail; in he_service_rbrq()
1838 wake_up(&he_vcc->rx_waitq); in he_service_rbrq()
1843 if ((he_vcc->iov_tail - he_vcc->iov_head) > HE_MAXIOV) { in he_service_rbrq()
1863 skb = atm_alloc_charge(vcc, he_vcc->pdu_len + rx_skb_reserve, in he_service_rbrq()
1875 for (iov = he_vcc->iov_head; in he_service_rbrq()
1876 iov < he_vcc->iov_tail; ++iov) { in he_service_rbrq()
1896 skb->len = AAL5_LEN(skb->data, he_vcc->pdu_len); in he_service_rbrq()
1902 he_vcc->pdu_len); in he_service_rbrq()
1923 for (iov = he_vcc->iov_head; in he_service_rbrq()
1924 iov < he_vcc->iov_tail; ++iov) { in he_service_rbrq()
1935 he_vcc->iov_tail = he_vcc->iov_head; in he_service_rbrq()
1936 he_vcc->pdu_len = 0; in he_service_rbrq()
2317 struct he_vcc *he_vcc; in he_open() local
2337 he_vcc = (struct he_vcc *) kmalloc(sizeof(struct he_vcc), GFP_ATOMIC); in he_open()
2338 if (he_vcc == NULL) { in he_open()
2343 he_vcc->iov_tail = he_vcc->iov_head; in he_open()
2344 he_vcc->pdu_len = 0; in he_open()
2345 he_vcc->rc_index = -1; in he_open()
2347 init_waitqueue_head(&he_vcc->rx_waitq); in he_open()
2348 init_waitqueue_head(&he_vcc->tx_waitq); in he_open()
2350 vcc->dev_data = he_vcc; in he_open()
2422 he_vcc->rc_index = reg; in he_open()
2526 if (he_vcc) in he_open()
2527 kfree(he_vcc); in he_open()
2544 struct he_vcc *he_vcc = HE_VCC(vcc); in he_close() local
2568 add_wait_queue(&he_vcc->rx_waitq, &wait); in he_close()
2578 remove_wait_queue(&he_vcc->rx_waitq, &wait); in he_close()
2645 add_wait_queue(&he_vcc->tx_waitq, &wait); in he_close()
2652 remove_wait_queue(&he_vcc->tx_waitq, &wait); in he_close()
2675 int reg = he_vcc->rc_index; in he_close()
2691 kfree(he_vcc); in he_close()