Home
last modified time | relevance | path

Searched refs:totalsz (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_isoch_chan.c387 size_t totalsz, segsz; in av1394_ic_alloc_pool() local
391 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()
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_pgr.c458 uint32_t sz, totalsz; in sbd_pgr_meta_write() local
471 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()