Searched refs:toc_size (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/cdrw/
H A Ddumpinfo.c44 int ret, toc_size; local
130 toc_size = 256*toc[0] + toc[1] + 2;
134 toc = (uchar_t *)my_zalloc(toc_size);
136 if (!read_toc(target->d_fd, 0, 1, toc_size, toc)) {
149 for (p = &toc[4]; p < (toc + toc_size); p += 8) {
H A Dmmc.c195 uint16_t toc_size; local
197 toc_size = (((uint16_t)(buf[3] + 1)) * 8) + 2;
198 load_scsi16(buf, toc_size);
/illumos-gate/usr/src/cmd/hal/probing/volume/
H A Dprobe-volume.c312 size_t toc_size; local
325 toc_size = smalltoc[0] * 256 + smalltoc[1] + 2;
326 toc = (uchar_t *)calloc(1, toc_size);
327 if (toc == NULL || !read_toc(fd, 0, 1, toc_size, toc)) {
330 for (p = &toc[4]; p < (toc + toc_size); p += 8) {
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_log.c171 size_t toc_size = ea_pack_object(&toc, NULL, 0); local
173 size_t size = hdr_size + toc_size;
177 (void) ea_pack_object(&toc, (char *)buf + hdr_size, toc_size);
188 lp->log_beg = lp->log_off + hdr_size + toc_size;
189 lp->log_off = lp->log_off + hdr_size + toc_size;

Completed in 75 milliseconds