Searched refs:vmultip (Results 1 – 2 of 2) sorted by relevance
308 vio_init_multipools(vio_multi_pool_t *vmultip, int num_pools, ...) in vio_init_multipools() argument322 vmultip->tbsz = (sizeof (uint32_t) * num_pools) + in vio_init_multipools()325 tbuf = kmem_zalloc(vmultip->tbsz, KM_SLEEP); in vio_init_multipools()326 vmultip->bufsz_tbl = (uint32_t *)tbuf; in vio_init_multipools()327 vmultip->nbuf_tbl = (uint32_t *)(tbuf + in vio_init_multipools()329 vmultip->vmpp = (vio_mblk_pool_t **)(tbuf + in vio_init_multipools()331 vmultip->num_pools = num_pools; in vio_init_multipools()336 vmultip->bufsz_tbl[i] = va_arg(vap, uint32_t); in vio_init_multipools()339 vmultip->nbuf_tbl[i] = va_arg(vap, uint32_t); in vio_init_multipools()343 for (i = 0; i < vmultip->num_pools; i++) { in vio_init_multipools()[all …]
152 int vio_init_multipools(vio_multi_pool_t *vmultip, int num_pools, ...);153 void vio_destroy_multipools(vio_multi_pool_t *vmultip, vio_mblk_pool_t **fvmp);154 vio_mblk_t *vio_multipool_allocb(vio_multi_pool_t *vmultip, size_t size);155 int vio_check_pending_pools(vio_multi_pool_t *vmultip);