Home
last modified time | relevance | path

Searched refs:s_max_io_slots (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/io/scsi/adapters/smartpqi/
H A Dsmartpqi_init.c240 s->s_max_io_slots = s->s_max_outstanding_requests; in pqi_calculate_io_resources()
266 if (pqi_max_io_slots != 0 && pqi_max_io_slots < s->s_max_io_slots) { in pqi_check_alloc()
267 s->s_max_io_slots = pqi_max_io_slots; in pqi_check_alloc()
270 s->s_error_dma = pqi_alloc_single(s, (s->s_max_io_slots * in pqi_check_alloc()
574 s->s_io_rqst_pool = kmem_zalloc(s->s_max_io_slots * sizeof (*io), in pqi_alloc_io_resource()
579 for (i = 0; i < s->s_max_io_slots; i++) { in pqi_alloc_io_resource()
604 for (i = 0; i < s->s_max_io_slots; i++) { in pqi_alloc_io_resource()
614 kmem_free(s->s_io_rqst_pool, s->s_max_io_slots * sizeof (*io)); in pqi_alloc_io_resource()
1094 for (i = 0; i < s->s_max_io_slots; i++) { in pqi_free_io_resource()
1103 kmem_free(s->s_io_rqst_pool, s->s_max_io_slots * sizeof (*io)); in pqi_free_io_resource()
H A Dsmartpqi_util.c284 for (loop = 0; loop < s->s_max_io_slots; loop++) { in pqi_alloc_io()
294 i = (i + 1) % s->s_max_io_slots; in pqi_alloc_io()
300 if (loop != s->s_max_io_slots) in pqi_alloc_io()
H A Dsmartpqi_intr.c136 ASSERT(rqst_ix < s->s_max_io_slots); in pqi_process_io_intr()
H A Dsmartpqi.h400 uint32_t s_max_io_slots; member
/illumos-gate/usr/src/cmd/mdb/common/modules/smartpqi/
H A Dsmartpqi.c536 mdb_printf("s_max_io_slots\t\t\t\t%d\n", pqi_statep->s_max_io_slots); in pqi_display_instance()