Lines Matching refs:heb
771 struct he_buff *heb, *next; in he_init_group() local
818 heb = dma_pool_alloc(he_dev->rbpl_pool, GFP_KERNEL, &mapping); in he_init_group()
819 if (!heb) in he_init_group()
821 heb->mapping = mapping; in he_init_group()
822 list_add(&heb->entry, &he_dev->rbpl_outstanding); in he_init_group()
825 he_dev->rbpl_virt[i] = heb; in he_init_group()
891 list_for_each_entry_safe(heb, next, &he_dev->rbpl_outstanding, entry) in he_init_group()
892 dma_pool_free(he_dev->rbpl_pool, heb, heb->mapping); in he_init_group()
1528 struct he_buff *heb, *next; in he_stop() local
1572 list_for_each_entry_safe(heb, next, &he_dev->rbpl_outstanding, entry) in he_stop()
1573 dma_pool_free(he_dev->rbpl_pool, heb, heb->mapping); in he_stop()
1650 struct he_buff *heb, *next; in he_service_rbrq() local
1672 heb = he_dev->rbpl_virt[i]; in he_service_rbrq()
1683 list_del(&heb->entry); in he_service_rbrq()
1684 dma_pool_free(he_dev->rbpl_pool, heb, heb->mapping); in he_service_rbrq()
1696 heb->len = RBRQ_BUFLEN(he_dev->rbrq_head) * 4; in he_service_rbrq()
1698 list_move_tail(&heb->entry, &he_vcc->buffers); in he_service_rbrq()
1699 he_vcc->pdu_len += heb->len; in he_service_rbrq()
1735 list_for_each_entry(heb, &he_vcc->buffers, entry) in he_service_rbrq()
1736 memcpy(skb_put(skb, heb->len), &heb->data, heb->len); in he_service_rbrq()
1776 list_for_each_entry_safe(heb, next, &he_vcc->buffers, entry) in he_service_rbrq()
1777 dma_pool_free(he_dev->rbpl_pool, heb, heb->mapping); in he_service_rbrq()
1884 struct he_buff *heb; in he_service_rbpl() local
1908 heb = dma_pool_alloc(he_dev->rbpl_pool, GFP_ATOMIC, &mapping); in he_service_rbpl()
1909 if (!heb) in he_service_rbpl()
1911 heb->mapping = mapping; in he_service_rbpl()
1912 list_add(&heb->entry, &he_dev->rbpl_outstanding); in he_service_rbpl()
1913 he_dev->rbpl_virt[i] = heb; in he_service_rbpl()