Lines Matching defs:data_sz
234 size_t data_sz;
247 data_sz = vswp->max_frame_size + VNET_IPALIGN + VNET_LDCALIGN;
263 if (data_sz <= VNET_12K) {
264 data_sz = VNET_ROUNDUP_2K(data_sz);
266 data_sz = VNET_ROUNDUP_4K(data_sz);
269 dp->desc_data_sz = data_sz;
272 dp->data_sz = (vsw_num_descriptors * data_sz) + VNET_8K;
273 data_addr = kmem_alloc(dp->data_sz, KM_SLEEP);
277 dp->data_sz, dp->data_addr);
434 kmem_free(dp->data_addr, dp->data_sz);
518 size_t data_sz;
529 data_sz = vswp->max_frame_size + VNET_IPALIGN + VNET_LDCALIGN;
530 data_sz = VNET_ROUNDUP_2K(data_sz);
566 if (vsw_jumbo_rxpools == B_FALSE || data_sz == VNET_2K) {
583 switch (data_sz) {
599 default: /* data_sz: 4K+ to 16K */
603 sz3 = data_sz >> 1; /* Jumbo-size/2 */
604 sz4 = data_sz; /* Jumbo-size */