Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_isoch_chan.c431 size_t totalsz, segsz; in av1394_ic_alloc_pool() local
437 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()
/titanic_44/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_pgr.c435 uint32_t sz, totalsz; in sbd_pgr_meta_write() local
448 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()