Searched defs:toc (Results 1 - 2 of 2) sorted by relevance
/osnet-11/usr/src/cmd/hal/probing/volume/ |
H A D | probe-volume.c | 312 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 D | dstream.c | 234 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