Searched refs:totalsz (Results 1 – 2 of 2) sorted by relevance
431 size_t totalsz, segsz; in av1394_ic_alloc_pool() local437 totalsz = framesz * cnt; in av1394_ic_alloc_pool()438 ASSERT(totalsz > 0); in av1394_ic_alloc_pool()441 if (btopr(totalsz) > physmem / AV1394_MEM_MAX_PERCENT) { in av1394_ic_alloc_pool()454 nsegs = totalsz / segsz; in av1394_ic_alloc_pool()455 if ((totalsz % segsz) != 0) in av1394_ic_alloc_pool()458 ASSERT(segsz * nsegs >= totalsz); in av1394_ic_alloc_pool()
435 uint32_t sz, totalsz; in sbd_pgr_meta_write() local448 totalsz = sz; in sbd_pgr_meta_write()450 spi = (sbd_pgr_info_t *)kmem_zalloc(totalsz, KM_SLEEP); in sbd_pgr_meta_write()457 spi->pgr_sms_header.sms_size = totalsz; in sbd_pgr_meta_write()489 kmem_free(spi, totalsz); in sbd_pgr_meta_write()