Searched refs:toc_size (Results 1 – 4 of 4) sorted by relevance
/titanic_44/usr/src/cmd/cdrw/ |
H A D | dumpinfo.c | 44 int ret, toc_size; in info() local 130 toc_size = 256*toc[0] + toc[1] + 2; in info() 134 toc = (uchar_t *)my_zalloc(toc_size); in info() 136 if (!read_toc(target->d_fd, 0, 1, toc_size, toc)) { in info() 149 for (p = &toc[4]; p < (toc + toc_size); p += 8) { in info()
|
H A D | mmc.c | 195 uint16_t toc_size; in read_toc() local 197 toc_size = (((uint16_t)(buf[3] + 1)) * 8) + 2; in read_toc() 198 load_scsi16(buf, toc_size); in read_toc()
|
/titanic_44/usr/src/cmd/hal/probing/volume/ |
H A D | probe-volume.c | 312 size_t toc_size; in probe_disc() local 325 toc_size = smalltoc[0] * 256 + smalltoc[1] + 2; in probe_disc() 326 toc = (uchar_t *)calloc(1, toc_size); in probe_disc() 327 if (toc == NULL || !read_toc(fd, 0, 1, toc_size, toc)) { in probe_disc() 330 for (p = &toc[4]; p < (toc + toc_size); p += 8) { in probe_disc()
|
/titanic_44/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_log.c | 171 size_t toc_size = ea_pack_object(&toc, NULL, 0); in fmd_log_write_hdr() local 173 size_t size = hdr_size + toc_size; in fmd_log_write_hdr() 177 (void) ea_pack_object(&toc, (char *)buf + hdr_size, toc_size); in fmd_log_write_hdr() 188 lp->log_beg = lp->log_off + hdr_size + toc_size; in fmd_log_write_hdr() 189 lp->log_off = lp->log_off + hdr_size + toc_size; in fmd_log_write_hdr()
|