Searched refs:vmplp (Results 1 – 2 of 2) sorted by relevance
54 vio_mblk_pool_t *vmplp; in vio_create_mblks() local65 vmplp = kmem_zalloc(sizeof (*vmplp), KM_SLEEP); in vio_create_mblks()66 vmplp->quelen = num_mblks; in vio_create_mblks()67 vmplp->quemask = num_mblks - 1; /* expects quelen is power-of-2 */ in vio_create_mblks()68 vmplp->mblk_size = mblk_size; in vio_create_mblks()70 mutex_init(&vmplp->hlock, NULL, MUTEX_DRIVER, in vio_create_mblks()72 mutex_init(&vmplp->tlock, NULL, MUTEX_DRIVER, in vio_create_mblks()75 vmplp->basep = kmem_zalloc(num_mblks * sizeof (vio_mblk_t), KM_SLEEP); in vio_create_mblks()77 vmplp->datap = kmem_zalloc(num_mblks * mblk_size, KM_SLEEP); in vio_create_mblks()79 vmplp->datap = mblk_datap; in vio_create_mblks()[all …]
116 struct vio_mblk_pool *vmplp; /* pointer to parent pool */ member144 #define VIO_MBLK_DATA_OFF(vmp) ((vmp)->datap - ((vmp)->vmplp)->datap)156 void vio_clobber_pool(vio_mblk_pool_t *vmplp);