Lines Matching refs:heb
771 struct he_buff *heb, *next; in he_init_group() local
820 heb = dma_pool_alloc(he_dev->rbpl_pool, GFP_KERNEL, &mapping); in he_init_group()
821 if (!heb) in he_init_group()
823 heb->mapping = mapping; in he_init_group()
824 list_add(&heb->entry, &he_dev->rbpl_outstanding); in he_init_group()
827 he_dev->rbpl_virt[i] = heb; in he_init_group()
893 list_for_each_entry_safe(heb, next, &he_dev->rbpl_outstanding, entry) in he_init_group()
894 dma_pool_free(he_dev->rbpl_pool, heb, heb->mapping); in he_init_group()
1530 struct he_buff *heb, *next; in he_stop() local
1574 list_for_each_entry_safe(heb, next, &he_dev->rbpl_outstanding, entry) in he_stop()
1575 dma_pool_free(he_dev->rbpl_pool, heb, heb->mapping); in he_stop()
1652 struct he_buff *heb, *next; in he_service_rbrq() local
1674 heb = he_dev->rbpl_virt[i]; in he_service_rbrq()
1685 list_del(&heb->entry); in he_service_rbrq()
1686 dma_pool_free(he_dev->rbpl_pool, heb, heb->mapping); in he_service_rbrq()
1698 heb->len = RBRQ_BUFLEN(he_dev->rbrq_head) * 4; in he_service_rbrq()
1700 list_move_tail(&heb->entry, &he_vcc->buffers); in he_service_rbrq()
1701 he_vcc->pdu_len += heb->len; in he_service_rbrq()
1737 list_for_each_entry(heb, &he_vcc->buffers, entry) in he_service_rbrq()
1738 skb_put_data(skb, &heb->data, heb->len); in he_service_rbrq()
1778 list_for_each_entry_safe(heb, next, &he_vcc->buffers, entry) in he_service_rbrq()
1779 dma_pool_free(he_dev->rbpl_pool, heb, heb->mapping); in he_service_rbrq()
1886 struct he_buff *heb; in he_service_rbpl() local
1910 heb = dma_pool_alloc(he_dev->rbpl_pool, GFP_ATOMIC, &mapping); in he_service_rbpl()
1911 if (!heb) in he_service_rbpl()
1913 heb->mapping = mapping; in he_service_rbpl()
1914 list_add(&heb->entry, &he_dev->rbpl_outstanding); in he_service_rbpl()
1915 he_dev->rbpl_virt[i] = heb; in he_service_rbpl()