Lines Matching refs:ds_toc
86 } *ds_head, *ds_toc; variable
88 #define ds_nparts ds_toc->nparts
89 #define ds_maxsiz ds_toc->maxsiz
248 if (ds_toc->volnos[0]) in ds_pkginit()
249 (void) sscanf(ds_toc->volnos, "%d %[ 0-9]", &ds_curpartcnt, in ds_pkginit()
263 ds_skippart, ds_bufsize, ds_toc->nparts, ds_toc->maxsiz, in ds_putinfo()
264 ds_toc->volnos); in ds_putinfo()
270 ds_toc = (struct dstoc *)calloc(1, sizeof (struct dstoc)); in ds_getinfo()
273 &ds_volpart, &ds_skippart, &ds_bufsize, &ds_toc->nparts, in ds_getinfo()
274 &ds_toc->maxsiz, ds_toc->volnos); in ds_getinfo()
276 return (ds_toc->nparts); in ds_getinfo()
512 ds_toc = ds_head; in ds_init()
540 ds_toc = ds_head; in ds_findpkg()
541 while (ds_toc) { in ds_findpkg()
542 if (strcmp(ds_toc->pkg, pkg) == 0) in ds_findpkg()
544 nskip += ds_toc->nparts; in ds_findpkg()
545 ds_volno += ds_volsum(ds_toc); in ds_findpkg()
546 ds_toc = ds_toc->next; in ds_findpkg()
548 if (!ds_toc) { in ds_findpkg()
702 nparts = ds_toc->nparts; in ds_next()