Lines Matching defs:toc_pt
125 struct dstoc *toc_pt;
129 toc_pt = ds_head;
131 while (toc_pt) {
133 if (strcmp(list[j], toc_pt->pkg) == 0) {
140 toc_pt = toc_pt->next;
301 struct dstoc *tail, *toc_pt;
449 toc_pt = (struct dstoc *)calloc(1, sizeof (struct dstoc));
450 if (!toc_pt) {
457 if (sscanf(line, "%s %d %d %[ 0-9]", toc_pt->pkg,
458 &toc_pt->nparts, &toc_pt->maxsiz, toc_pt->volnos) < 3) {
461 free(toc_pt);
467 tail->next = toc_pt;
468 tail = toc_pt;
470 ds_head = tail = toc_pt;
471 ds_volcnt += ds_volsum(toc_pt);