Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/virtio/
H A Dvirtio_main.c1309 virtio_interrupts_alloc(virtio_t *vio, int type, int nrequired) in virtio_interrupts_alloc() argument
1334 if (navail < nrequired) { in virtio_interrupts_alloc()
1336 "available", nrequired, virtio_interrupt_type_name(type), in virtio_interrupts_alloc()
1343 sizeof (ddi_intr_handle_t) * nrequired, KM_SLEEP); in virtio_interrupts_alloc()
1346 if ((r = ddi_intr_alloc(dip, vio->vio_interrupts, type, 0, nrequired, in virtio_interrupts_alloc()
1351 sizeof (ddi_intr_handle_t) * nrequired); in virtio_interrupts_alloc()
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_main.c3786 int nactual, nrequired, nrequest; in hxge_add_intrs_adv_type() local
3882 nrequired = 0; in hxge_add_intrs_adv_type()
3883 status = hxge_ldgv_init(hxgep, &nactual, &nrequired); in hxge_add_intrs_adv_type()
3899 "After hxge_ldgv_init(): nreq %d nactual %d", nrequired, nactual)); in hxge_add_intrs_adv_type()
3901 if (nactual < nrequired) in hxge_add_intrs_adv_type()
3904 loop = nrequired; in hxge_add_intrs_adv_type()
3977 int nactual, nrequired; in hxge_add_intrs_adv_type_fix() local
4032 nrequired = 0; in hxge_add_intrs_adv_type_fix()
4033 status = hxge_ldgv_init(hxgep, &nactual, &nrequired); in hxge_add_intrs_adv_type_fix()
4048 for (x = 0; x < nrequired; x++, ldgp++) { in hxge_add_intrs_adv_type_fix()
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_main.c6043 int nactual, nrequired; in nxge_add_intrs_adv_type() local
6131 nrequired = 0; in nxge_add_intrs_adv_type()
6134 status = nxge_ldgv_init(nxgep, &nactual, &nrequired); in nxge_add_intrs_adv_type()
6138 status = nxge_ldgv_init_n2(nxgep, &nactual, &nrequired); in nxge_add_intrs_adv_type()
6156 for (x = 0; x < nrequired; x++, ldgp++) { in nxge_add_intrs_adv_type()
6238 int nactual, nrequired; in nxge_add_intrs_adv_type_fix() local
6296 nrequired = 0; in nxge_add_intrs_adv_type_fix()
6299 status = nxge_ldgv_init(nxgep, &nactual, &nrequired); in nxge_add_intrs_adv_type_fix()
6303 status = nxge_ldgv_init_n2(nxgep, &nactual, &nrequired); in nxge_add_intrs_adv_type_fix()
6321 for (x = 0; x < nrequired; x++, ldgp++) { in nxge_add_intrs_adv_type_fix()