/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_main.c | 1647 KMEM_FREE(num_chunks, sizeof (uint32_t) * ndmas); in hxge_alloc_rx_mem_pool() 1648 KMEM_FREE(dma_poolp, sizeof (hxge_dma_pool_t)); in hxge_alloc_rx_mem_pool() 1649 KMEM_FREE(dma_buf_p, ndmas * sizeof (p_hxge_dma_common_t)); in hxge_alloc_rx_mem_pool() 1650 KMEM_FREE(dma_rbr_cntl_poolp, sizeof (hxge_dma_pool_t)); in hxge_alloc_rx_mem_pool() 1651 KMEM_FREE(dma_rbr_cntl_p, ndmas * sizeof (p_hxge_dma_common_t)); in hxge_alloc_rx_mem_pool() 1652 KMEM_FREE(dma_rcr_cntl_poolp, sizeof (hxge_dma_pool_t)); in hxge_alloc_rx_mem_pool() 1653 KMEM_FREE(dma_rcr_cntl_p, ndmas * sizeof (p_hxge_dma_common_t)); in hxge_alloc_rx_mem_pool() 1654 KMEM_FREE(dma_mbox_cntl_poolp, sizeof (hxge_dma_pool_t)); in hxge_alloc_rx_mem_pool() 1655 KMEM_FREE(dma_mbox_cntl_p, ndmas * sizeof (p_hxge_dma_common_t)); in hxge_alloc_rx_mem_pool() 1733 KMEM_FREE(dma_buf_p[i], in hxge_free_rx_mem_pool() [all …]
|
H A D | hxge_rxdma.c | 896 KMEM_FREE(buffer, size); in hxge_allocb() 899 KMEM_FREE(hxge_mp, sizeof (rx_msg_t)); in hxge_allocb() 1037 KMEM_FREE(buffer, size); in hxge_freeb() 1040 KMEM_FREE(rx_msg_p, sizeof (rx_msg_t)); in hxge_freeb() 1055 KMEM_FREE(ring, sizeof (*ring)); in hxge_freeb() 2361 KMEM_FREE(rbr_rings, sizeof (p_rx_rbr_ring_t) * ndmas); in hxge_map_rxdma() 2362 KMEM_FREE(rx_rbr_rings, sizeof (rx_rbr_rings_t)); in hxge_map_rxdma() 2363 KMEM_FREE(rcr_rings, sizeof (p_rx_rcr_ring_t) * ndmas); in hxge_map_rxdma() 2364 KMEM_FREE(rx_rcr_rings, sizeof (rx_rcr_rings_t)); in hxge_map_rxdma() 2365 KMEM_FREE(rx_mbox_p, sizeof (p_rx_mbox_t) * ndmas); in hxge_map_rxdma() [all …]
|
H A D | hxge_txdma.c | 1610 KMEM_FREE(tx_desc_rings, sizeof (p_tx_ring_t) * ndmas); in hxge_map_txdma() 1611 KMEM_FREE(tx_rings, sizeof (tx_rings_t)); in hxge_map_txdma() 1612 KMEM_FREE(tx_mbox_p, sizeof (p_tx_mbox_t) * ndmas); in hxge_map_txdma() 1613 KMEM_FREE(tx_mbox_areas_p, sizeof (tx_mbox_areas_t)); in hxge_map_txdma() 1674 KMEM_FREE(tx_desc_rings, sizeof (p_tx_ring_t) * ndmas); in hxge_unmap_txdma() 1675 KMEM_FREE(tx_rings, sizeof (tx_rings_t)); in hxge_unmap_txdma() 1676 KMEM_FREE(tx_mbox_p, sizeof (p_tx_mbox_t) * ndmas); in hxge_unmap_txdma() 1677 KMEM_FREE(tx_mbox_areas_p, sizeof (tx_mbox_areas_t)); in hxge_unmap_txdma() 1847 KMEM_FREE(tx_mbox_p, sizeof (tx_mbox_t)); in hxge_unmap_txdma_channel_cfg_ring() 2000 KMEM_FREE(tx_msg_ring, size); in hxge_map_txdma_channel_buf_ring() [all …]
|
H A D | hxge_ndd.c | 454 KMEM_FREE((void *) hxgep->param_arr[i].value, in hxge_destroy_param() 456 KMEM_FREE((void *) hxgep->param_arr[i].old_value, in hxge_destroy_param() 461 KMEM_FREE(hxgep->param_arr, sizeof (hxge_param_arr)); in hxge_destroy_param() 1272 KMEM_FREE((char *)nd->nd_tbl, nd->nd_size); in hxge_nd_load() 1306 KMEM_FREE((char *)nd->nd_tbl, nd->nd_size); in hxge_nd_free() 1307 KMEM_FREE((char *)nd, sizeof (ND)); in hxge_nd_free()
|
H A D | hxge_virtual.c | 687 KMEM_FREE(ldgvp->ldgp, sizeof (hxge_ldg_t) * ldgvp->maxldgs); in hxge_ldgv_uninit() 690 KMEM_FREE(ldgvp->ldvp, sizeof (hxge_ldv_t) * ldgvp->maxldvs); in hxge_ldgv_uninit() 693 KMEM_FREE(ldgvp, sizeof (hxge_ldgv_t)); in hxge_ldgv_uninit()
|
H A D | hxge_common_impl.h | 134 #define KMEM_FREE(buf, size) kmem_free(buf, size) macro
|
H A D | hxge_pfc.c | 422 KMEM_FREE(hash_filter, sizeof (hash_filter_t)); in hxge_del_mcast_addr() 1045 KMEM_FREE((void *) classify_ptr->tcam_entries, alloc_size); in hxge_classify_exit_sw()
|
H A D | hxge_kstats.c | 824 KMEM_FREE(hxgep->statsp, hxgep->statsp->stats_size); in hxge_destroy_kstats()
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_main.c | 1047 KMEM_FREE(nxgep->phy_prop.arr, in nxge_unattach() 2527 KMEM_FREE(data, sizeof (nxge_dma_common_t) * NXGE_DMA_BLOCK); in nxge_free_rxb() 2528 KMEM_FREE(control, sizeof (nxge_dma_common_t)); in nxge_free_rxb() 2553 KMEM_FREE(nxgep->rx_cntl_pool_p->dma_buf_pool_p, in nxge_free_rx_mem_pool() 2555 KMEM_FREE(nxgep->rx_cntl_pool_p, sizeof (nxge_dma_pool_t)); in nxge_free_rx_mem_pool() 2557 KMEM_FREE(nxgep->rx_buf_pool_p->num_chunks, in nxge_free_rx_mem_pool() 2559 KMEM_FREE(nxgep->rx_buf_pool_p->dma_buf_pool_p, in nxge_free_rx_mem_pool() 2561 KMEM_FREE(nxgep->rx_buf_pool_p, sizeof (nxge_dma_pool_t)); in nxge_free_rx_mem_pool() 2566 KMEM_FREE(nxgep->rx_rbr_rings->rbr_rings, in nxge_free_rx_mem_pool() 2568 KMEM_FREE(nxgep->rx_rbr_rings, sizeof (rx_rbr_rings_t)); in nxge_free_rx_mem_pool() [all …]
|
H A D | nxge_intr.c | 736 KMEM_FREE(interrupts->htable, interrupts->intr_size); in nxge_hio_intr_uninit() 744 KMEM_FREE(control->ldgp, in nxge_hio_intr_uninit() 750 KMEM_FREE(control->ldvp, in nxge_hio_intr_uninit() 755 KMEM_FREE(control, sizeof (nxge_ldgv_t)); in nxge_hio_intr_uninit()
|
H A D | nxge_rxdma.c | 1552 KMEM_FREE(buffer, size); in nxge_allocb() 1556 KMEM_FREE(nxge_mp, sizeof (rx_msg_t)); in nxge_allocb() 1679 KMEM_FREE(buffer, size); in nxge_freeb() 1682 KMEM_FREE(rx_msg_p, sizeof (rx_msg_t)); in nxge_freeb() 1711 KMEM_FREE(ring->ring_info, in nxge_freeb() 1716 KMEM_FREE(ring->rx_msg_ring, in nxge_freeb() 1720 KMEM_FREE(ring, sizeof (*ring)); in nxge_freeb() 3714 KMEM_FREE(rcr_p, sizeof (rx_rcr_ring_t)); in nxge_unmap_rxdma_channel_cfg_ring() 3715 KMEM_FREE(rx_mbox_p, sizeof (rx_mbox_t)); in nxge_unmap_rxdma_channel_cfg_ring() 3927 KMEM_FREE(ring_info, sizeof (rxring_info_t)); in nxge_map_rxdma_channel_buf_ring() [all …]
|
H A D | nxge_hio.c | 185 KMEM_FREE(nhd, sizeof (*nhd)); in nxge_hio_uninit() 268 KMEM_FREE(set->group[i], sizeof (nxge_grp_t)); in nxge_grp_cleanup() 279 KMEM_FREE(set->group[i], sizeof (nxge_grp_t)); in nxge_grp_cleanup() 403 KMEM_FREE(group, sizeof (*group)); in nxge_grp_remove()
|
H A D | nxge_txdma.c | 2496 KMEM_FREE(tx_mbox_p, sizeof (tx_mbox_t)); in nxge_unmap_txdma_channel_cfg_ring() 2681 KMEM_FREE(tx_msg_ring, size); in nxge_map_txdma_channel_buf_ring() 2682 KMEM_FREE(tx_ring_p, sizeof (tx_ring_t)); in nxge_map_txdma_channel_buf_ring() 2751 KMEM_FREE(tx_msg_ring, sizeof (tx_msg_t) * tx_ring_p->tx_ring_size); in nxge_unmap_txdma_channel_buf_ring() 2752 KMEM_FREE(tx_ring_p, sizeof (tx_ring_t)); in nxge_unmap_txdma_channel_buf_ring()
|
H A D | nxge_ndd.c | 802 KMEM_FREE((void *)nxgep->param_arr[i].value, free_size); in nxge_destroy_param() 803 KMEM_FREE((void *)nxgep->param_arr[i].old_value, in nxge_destroy_param() 807 KMEM_FREE(nxgep->param_arr, sizeof (nxge_param_arr)); in nxge_destroy_param()
|
H A D | nxge_virtual.c | 3501 KMEM_FREE(ldgvp->ldvp_syserr, sizeof (nxge_ldv_t)); in nxge_ldgv_uninit() 3504 KMEM_FREE(ldgvp->ldgp, sizeof (nxge_ldg_t) * ldgvp->maxldgs); in nxge_ldgv_uninit() 3507 KMEM_FREE(ldgvp->ldvp, sizeof (nxge_ldv_t) * ldgvp->maxldvs); in nxge_ldgv_uninit() 3509 KMEM_FREE(ldgvp, sizeof (nxge_ldgv_t)); in nxge_ldgv_uninit()
|
H A D | nxge_kstats.c | 1695 KMEM_FREE(nxgep->statsp, nxgep->statsp->stats_size); in nxge_destroy_kstats()
|
H A D | nxge_mac.c | 5819 KMEM_FREE(hash_filter, sizeof (hash_filter_t)); in nxge_del_mcast_addr()
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vnet.h | 43 #define KMEM_FREE(_p) kmem_free((_p), sizeof (*(_p))) macro
|
H A D | vnet_gen.h | 47 #define KMEM_FREE(_p) kmem_free((_p), sizeof (*(_p))) macro
|
/illumos-gate/usr/src/uts/common/sys/nxge/ |
H A D | nxge_common_impl.h | 183 #define KMEM_FREE(buf, size) kmem_free(buf, size) macro
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vnet_gen.c | 558 KMEM_FREE(vgenp); in vgen_init() 624 KMEM_FREE(vgenp); in vgen_uninit() 1194 KMEM_FREE(portp); in vgen_port_detach() 1776 KMEM_FREE(parentp); in vgen_mdeg_reg() 1798 KMEM_FREE(vgenp->mdeg_parentp); in vgen_mdeg_unreg() 2099 KMEM_FREE(portp); in vgen_add_port() 2563 KMEM_FREE(ldcp); in vgen_ldc_attach() 2602 KMEM_FREE(ldcp); in vgen_ldc_detach()
|
H A D | vnet.c | 667 KMEM_FREE(vnetp); in vnet_unattach() 1620 KMEM_FREE(vresp); in vio_net_resource_reg() 1653 KMEM_FREE(vresp); in vio_net_resource_unreg()
|