/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_main.c | 1200 dev_regs = KMEM_ZALLOC(sizeof (dev_regs_t), KM_SLEEP); in nxge_map_regs() 2269 dma_poolp = (p_nxge_dma_pool_t)KMEM_ZALLOC(sizeof (nxge_dma_pool_t), in nxge_alloc_rx_mem_pool() 2271 dma_buf_p = (p_nxge_dma_common_t *)KMEM_ZALLOC( in nxge_alloc_rx_mem_pool() 2275 KMEM_ZALLOC(sizeof (nxge_dma_pool_t), KM_SLEEP); in nxge_alloc_rx_mem_pool() 2276 dma_cntl_p = (p_nxge_dma_common_t *)KMEM_ZALLOC( in nxge_alloc_rx_mem_pool() 2279 num_chunks = (uint32_t *)KMEM_ZALLOC( in nxge_alloc_rx_mem_pool() 2401 KMEM_ZALLOC(sizeof (rx_rbr_rings_t), KM_SLEEP); in nxge_alloc_rx_mem_pool() 2403 KMEM_ZALLOC(sizeof (p_rx_rbr_ring_t) * rdc_max, KM_SLEEP); in nxge_alloc_rx_mem_pool() 2405 KMEM_ZALLOC(sizeof (rx_rcr_rings_t), KM_SLEEP); in nxge_alloc_rx_mem_pool() 2407 KMEM_ZALLOC(sizeof (p_rx_rcr_ring_t) * rdc_max, KM_SLEEP); in nxge_alloc_rx_mem_pool() [all …]
|
H A D | nxge_intr.c | 932 control = KMEM_ZALLOC(sizeof (nxge_ldgv_t), KM_SLEEP); in nxge_hio_ldsv_add() 936 control->ldgp = KMEM_ZALLOC( in nxge_hio_ldsv_add() 938 control->ldvp = KMEM_ZALLOC( in nxge_hio_ldsv_add()
|
H A D | nxge_virtual.c | 1816 KMEM_ZALLOC(sizeof (nxge_phy_mdio_val_t) * tun_cnt, in nxge_get_config_properties() 3061 ldgvp = KMEM_ZALLOC(sizeof (nxge_ldgv_t), KM_SLEEP); in nxge_ldgv_init_n2() 3065 ldgp = ldgvp->ldgp = KMEM_ZALLOC( in nxge_ldgv_init_n2() 3067 ldvp = ldgvp->ldvp = KMEM_ZALLOC( in nxge_ldgv_init_n2() 3175 sysldvp = KMEM_ZALLOC(sizeof (nxge_ldv_t), KM_SLEEP); in nxge_ldgv_init_n2() 3329 ldgvp = KMEM_ZALLOC(sizeof (nxge_ldgv_t), KM_SLEEP); in nxge_ldgv_init() 3333 ldgp = ldgvp->ldgp = KMEM_ZALLOC(sizeof (nxge_ldg_t) * maxldgs, in nxge_ldgv_init() 3335 ldvp = ldgvp->ldvp = KMEM_ZALLOC(sizeof (nxge_ldv_t) * maxldvs, in nxge_ldgv_init()
|
H A D | nxge_hio.c | 137 nhd = KMEM_ZALLOC(sizeof (*nhd), KM_SLEEP); in nxge_hio_init() 310 group = KMEM_ZALLOC(sizeof (*group), KM_SLEEP); in nxge_grp_add() 983 nhd = KMEM_ZALLOC(sizeof (*nhd), KM_SLEEP); in nxge_hio_init()
|
H A D | nxge_rxdma.c | 1497 nxge_mp = KMEM_ZALLOC(sizeof (rx_msg_t), KM_NOSLEEP); in nxge_allocb() 3555 KMEM_ZALLOC(sizeof (rx_rcr_ring_t), KM_SLEEP); in nxge_map_rxdma_channel_cfg_ring() 3635 KMEM_ZALLOC(sizeof (rx_mbox_t), KM_SLEEP); in nxge_map_rxdma_channel_cfg_ring() 3764 rbrp = (p_rx_rbr_ring_t)KMEM_ZALLOC(sizeof (*rbrp), KM_SLEEP); in nxge_map_rxdma_channel_buf_ring() 3767 rx_msg_ring = KMEM_ZALLOC(size, KM_SLEEP); in nxge_map_rxdma_channel_buf_ring() 3768 ring_info = (rxring_info_t *)KMEM_ZALLOC(sizeof (rxring_info_t), in nxge_map_rxdma_channel_buf_ring()
|
H A D | nxge_hio_guest.c | 73 nxge->dev_regs = KMEM_ZALLOC(sizeof (dev_regs_t), KM_SLEEP); in nxge_guest_regs_map()
|
H A D | nxge_ndd.c | 745 KMEM_ZALLOC(sizeof (nxge_param_arr), KM_SLEEP); in nxge_init_param() 755 (uint64_t)KMEM_ZALLOC(alloc_size, KM_SLEEP); in nxge_init_param() 757 (uint64_t)KMEM_ZALLOC(alloc_size, KM_SLEEP); in nxge_init_param()
|
H A D | nxge_txdma.c | 2445 KMEM_ZALLOC(sizeof (tx_mbox_t), KM_SLEEP); in nxge_map_txdma_channel_cfg_ring() 2568 KMEM_ZALLOC(sizeof (tx_ring_t), KM_SLEEP); in nxge_map_txdma_channel_buf_ring() 2589 tx_msg_ring = KMEM_ZALLOC(size, KM_SLEEP); in nxge_map_txdma_channel_buf_ring()
|
H A D | nxge_kstats.c | 50 nxgep->statsp = KMEM_ZALLOC(stats_size, KM_SLEEP); in nxge_init_statsp()
|
H A D | nxge_mac.c | 5758 nxgep->hash_filter = KMEM_ZALLOC(sizeof (hash_filter_t), in nxge_add_mcast_addr()
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_main.c | 765 dev_regs = KMEM_ZALLOC(sizeof (dev_regs_t), KM_SLEEP); in hxge_map_regs() 1466 dma_poolp = (p_hxge_dma_pool_t)KMEM_ZALLOC(sizeof (hxge_dma_pool_t), in hxge_alloc_rx_mem_pool() 1468 dma_buf_p = (p_hxge_dma_common_t *)KMEM_ZALLOC( in hxge_alloc_rx_mem_pool() 1472 KMEM_ZALLOC(sizeof (hxge_dma_pool_t), KM_SLEEP); in hxge_alloc_rx_mem_pool() 1473 dma_rbr_cntl_p = (p_hxge_dma_common_t *)KMEM_ZALLOC( in hxge_alloc_rx_mem_pool() 1476 KMEM_ZALLOC(sizeof (hxge_dma_pool_t), KM_SLEEP); in hxge_alloc_rx_mem_pool() 1477 dma_rcr_cntl_p = (p_hxge_dma_common_t *)KMEM_ZALLOC( in hxge_alloc_rx_mem_pool() 1480 KMEM_ZALLOC(sizeof (hxge_dma_pool_t), KM_SLEEP); in hxge_alloc_rx_mem_pool() 1481 dma_mbox_cntl_p = (p_hxge_dma_common_t *)KMEM_ZALLOC( in hxge_alloc_rx_mem_pool() 1484 num_chunks = (uint32_t *)KMEM_ZALLOC(sizeof (uint32_t) * ndmas, in hxge_alloc_rx_mem_pool() [all …]
|
H A D | hxge_rxdma.c | 842 hxge_mp = KMEM_ZALLOC(sizeof (rx_msg_t), KM_NOSLEEP); in hxge_allocb() 2286 KMEM_ZALLOC(sizeof (rx_rbr_rings_t), KM_SLEEP); in hxge_map_rxdma() 2287 rbr_rings = (p_rx_rbr_ring_t *)KMEM_ZALLOC( in hxge_map_rxdma() 2291 KMEM_ZALLOC(sizeof (rx_rcr_rings_t), KM_SLEEP); in hxge_map_rxdma() 2292 rcr_rings = (p_rx_rcr_ring_t *)KMEM_ZALLOC( in hxge_map_rxdma() 2296 KMEM_ZALLOC(sizeof (rx_mbox_areas_t), KM_SLEEP); in hxge_map_rxdma() 2297 rx_mbox_p = (p_rx_mbox_t *)KMEM_ZALLOC( in hxge_map_rxdma() 2711 rcrp = (p_rx_rcr_ring_t)KMEM_ZALLOC(sizeof (rx_rcr_ring_t), KM_SLEEP); in hxge_map_rxdma_channel_cfg_ring() 2780 mboxp = (p_rx_mbox_t)KMEM_ZALLOC(sizeof (rx_mbox_t), KM_SLEEP); in hxge_map_rxdma_channel_cfg_ring() 2876 rbrp = (p_rx_rbr_ring_t)KMEM_ZALLOC(sizeof (rx_rbr_ring_t), KM_SLEEP); in hxge_map_rxdma_channel_buf_ring() [all …]
|
H A D | hxge_ndd.c | 399 param_arr = (p_hxge_param_t)KMEM_ZALLOC( in hxge_init_param() 409 (uint64_t)KMEM_ZALLOC(alloc_size, KM_SLEEP); in hxge_init_param() 411 (uint64_t)KMEM_ZALLOC(alloc_size, KM_SLEEP); in hxge_init_param() 1255 if ((nd = (ND *) KMEM_ZALLOC(sizeof (ND), KM_NOSLEEP)) == NULL) in hxge_nd_load() 1266 if ((nde = (NDE *) KMEM_ZALLOC(nd->nd_size + in hxge_nd_load()
|
H A D | hxge_virtual.c | 508 ldgvp = KMEM_ZALLOC(sizeof (hxge_ldgv_t), KM_SLEEP); in hxge_ldgv_init() 513 KMEM_ZALLOC(sizeof (hxge_ldg_t) * maxldgs, KM_SLEEP); in hxge_ldgv_init() 515 KMEM_ZALLOC(sizeof (hxge_ldv_t) * maxldvs, KM_SLEEP); in hxge_ldgv_init()
|
H A D | hxge_txdma.c | 1552 tx_rings = (p_tx_rings_t)KMEM_ZALLOC(sizeof (tx_rings_t), KM_SLEEP); in hxge_map_txdma() 1553 tx_desc_rings = (p_tx_ring_t *)KMEM_ZALLOC( in hxge_map_txdma() 1560 KMEM_ZALLOC(sizeof (tx_mbox_areas_t), KM_SLEEP); in hxge_map_txdma() 1561 tx_mbox_p = (p_tx_mbox_t *)KMEM_ZALLOC( in hxge_map_txdma() 1804 mboxp = (p_tx_mbox_t)KMEM_ZALLOC(sizeof (tx_mbox_t), KM_SLEEP); in hxge_map_txdma_channel_cfg_ring() 1895 tx_ring_p = (p_tx_ring_t)KMEM_ZALLOC(sizeof (tx_ring_t), KM_SLEEP); in hxge_map_txdma_channel_buf_ring() 1912 tx_msg_ring = KMEM_ZALLOC(size, KM_SLEEP); in hxge_map_txdma_channel_buf_ring()
|
H A D | hxge_common_impl.h | 133 #define KMEM_ZALLOC(size, flag) kmem_zalloc(size, flag) macro
|
H A D | hxge_pfc.c | 347 hxgep->hash_filter = KMEM_ZALLOC(sizeof (hash_filter_t), in hxge_add_mcast_addr() 1020 classify_ptr->tcam_entries = KMEM_ZALLOC(alloc_size, KM_SLEEP); in hxge_classify_init_sw()
|
H A D | hxge_kstats.c | 44 hxgep->statsp = KMEM_ZALLOC(stats_size, KM_SLEEP); in hxge_init_statsp()
|
/illumos-gate/usr/src/uts/common/sys/nxge/ |
H A D | nxge_common_impl.h | 182 #define KMEM_ZALLOC(size, flag) kmem_zalloc(size, flag) macro
|