Searched defs:toc (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/cmd/hal/probing/volume/
H A Dprobe-volume.c312 uchar_t *toc, *p; local
316 * but extracting the toc directly works okay. And the toc
325 toc = (uchar_t *)calloc(1, toc_size);
326 if (toc == NULL || !read_toc(fd, 0, 1, toc_size, toc)) {
329 for (p = &toc[4]; p < (toc + toc_size); p += 8) {
341 free(toc);
/osnet-11/usr/src/lib/libpkg/common/
H A Ddstream.c234 ds_volsum(struct dstoc *toc) argument
238 if (toc->volnos[0]) {
240 sscanf(toc->volnos, "%d %[ 0-9]", &curpartcnt, volnos);
243 while (sum < toc->nparts && sscanf(volnos, "%d %[ 0-9]",
253 ds_volpart += toc->nparts;

Completed in 24 milliseconds