Home
last modified time | relevance | path

Searched refs:srsp (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_rx.c2083 sfxge_rx_scale_t *srsp = &(sp->s_rx_scale); in sfxge_rx_scale_kstat_update() local
2091 ASSERT(mutex_owned(&(srsp->srs_lock))); in sfxge_rx_scale_kstat_update()
2105 index = srsp->srs_tbl[entry]; in sfxge_rx_scale_kstat_update()
2116 knp->value.ui64 = srsp->srs_count; in sfxge_rx_scale_kstat_update()
2133 sfxge_rx_scale_t *srsp = &(sp->s_rx_scale); in sfxge_rx_scale_kstat_init() local
2151 srsp->srs_ksp = ksp; in sfxge_rx_scale_kstat_init()
2155 ksp->ks_lock = &(srsp->srs_lock); in sfxge_rx_scale_kstat_init()
2181 sfxge_rx_scale_t *srsp = &(sp->s_rx_scale); in sfxge_rx_scale_kstat_fini() local
2184 kstat_delete(srsp->srs_ksp); in sfxge_rx_scale_kstat_fini()
2185 srsp->srs_ksp = NULL; in sfxge_rx_scale_kstat_fini()
[all …]
H A Dsfxge_tx.c2811 sfxge_rx_scale_t *srsp = &(sp->s_rx_scale); in sfxge_tx_packet_add() local
2813 if (srsp->srs_state == SFXGE_RX_SCALE_STARTED) { in sfxge_tx_packet_add()
2816 if (srsp->srs_count > 1) { in sfxge_tx_packet_add()
2835 index = srsp->srs_tbl[hash % in sfxge_tx_packet_add()
2847 index = srsp->srs_tbl[hash % in sfxge_tx_packet_add()
2855 index = srsp->srs_tbl[0]; in sfxge_tx_packet_add()
2863 index = srsp->srs_tbl[0]; in sfxge_tx_packet_add()
2889 sfxge_rx_scale_t *srsp = &(sp->s_rx_scale); in sfxge_tx_packet_add() local
2891 if (srsp->srs_state == SFXGE_RX_SCALE_STARTED) { in sfxge_tx_packet_add()
2894 if (srsp->srs_count > 1) { in sfxge_tx_packet_add()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/psm/
H A Dpsm_common.c458 ACPI_RESOURCE *srsp; in acpi_set_irq_resource() local
481 srsp = NULL; in acpi_set_irq_resource()
492 srsp = kmem_zalloc(srs_len, KM_SLEEP); in acpi_set_irq_resource()
493 bcopy(resp, srsp, resp->Length); in acpi_set_irq_resource()
494 endtag = ACPI_NEXT_RESOURCE(srsp); in acpi_set_irq_resource()
506 if (srsp == NULL) in acpi_set_irq_resource()
513 switch (srsp->Type) { in acpi_set_irq_resource()
515 srsp->Data.Irq.InterruptCount = 1; in acpi_set_irq_resource()
516 srsp->Data.Irq.Interrupts[0] = (uint8_t)irq; in acpi_set_irq_resource()
519 srsp->Data.ExtendedIrq.InterruptCount = 1; in acpi_set_irq_resource()
[all …]