Searched refs:totalsz (Results 1 – 2 of 2) sorted by relevance
387 size_t totalsz, segsz; in av1394_ic_alloc_pool() local391 totalsz = framesz * cnt; in av1394_ic_alloc_pool()392 ASSERT(totalsz > 0); in av1394_ic_alloc_pool()395 if (btopr(totalsz) > physmem / AV1394_MEM_MAX_PERCENT) { in av1394_ic_alloc_pool()405 nsegs = totalsz / segsz; in av1394_ic_alloc_pool()406 if ((totalsz % segsz) != 0) in av1394_ic_alloc_pool()409 ASSERT(segsz * nsegs >= totalsz); in av1394_ic_alloc_pool()
458 uint32_t sz, totalsz; in sbd_pgr_meta_write() local471 totalsz = sz; in sbd_pgr_meta_write()473 spi = (sbd_pgr_info_t *)kmem_zalloc(totalsz, KM_SLEEP); in sbd_pgr_meta_write()480 spi->pgr_sms_header.sms_size = totalsz; in sbd_pgr_meta_write()516 kmem_free(spi, totalsz); in sbd_pgr_meta_write()