Lines Matching defs:ds_toc
94 } *ds_head, *ds_toc;
96 #define ds_nparts ds_toc->nparts
97 #define ds_maxsiz ds_toc->maxsiz
256 if (ds_toc->volnos[0])
257 sscanf(ds_toc->volnos, "%d %[ 0-9]", &ds_curpartcnt, ds_volnos);
270 ds_skippart, ds_bufsize, ds_toc->nparts, ds_toc->maxsiz,
271 ds_toc->volnos);
277 ds_toc = (struct dstoc *)calloc(1, sizeof (struct dstoc));
280 &ds_volpart, &ds_skippart, &ds_bufsize, &ds_toc->nparts,
281 &ds_toc->maxsiz, ds_toc->volnos);
283 return (ds_toc->nparts);
521 ds_toc = ds_head;
549 ds_toc = ds_head;
550 while (ds_toc) {
551 if (strcmp(ds_toc->pkg, pkg) == 0)
553 nskip += ds_toc->nparts;
554 ds_volno += ds_volsum(ds_toc);
555 ds_toc = ds_toc->next;
557 if (!ds_toc) {
723 nparts = ds_toc->nparts;