Lines Matching defs:a_pkgdev
84 * a_pkgdev - (struct pkgdev *) - [RO, *RW]
93 struct pkgdev *a_pkgdev, int a_optind)
102 assert(a_pkgdev != (struct pkgdev *)NULL);
108 a_pkgdev->bdevice ? a_pkgdev->bdevice : "?",
109 a_pkgdev->cdevice ? a_pkgdev->cdevice : "?",
110 a_pkgdev->pathname ? a_pkgdev->pathname : "?",
131 if (a_pkgdev->bdevice != (char *)NULL) {
152 echoDebug(DBG_ODS_DATASTREAM_BDEV, a_pkgdev->bdevice);
154 n = _getvol(a_pkgdev->bdevice, NULL, 0L,
155 MSG_INSERT_VOL, a_pkgdev->norewind);
159 if (ds_readbuf(a_pkgdev->cdevice)) {
160 (*r_idsName) = a_pkgdev->cdevice;
167 progerr(ERR_UNKNOWN_DEV, a_pkgdev->name);
176 } else if (a_pkgdev->cdevice != (char *)NULL) {
179 echoDebug(DBG_ODS_DATASTREAM_CDEV, a_pkgdev->cdevice);
181 (*r_idsName) = a_pkgdev->cdevice;
182 } else if (a_pkgdev->pathname != (char *)NULL) {
185 echoDebug(DBG_ODS_DATASTREAM_ISFILE, a_pkgdev->pathname);
187 (*r_idsName) = a_pkgdev->pathname;
209 if (setup_temporary_directory(&a_pkgdev->dirname, a_tmpdir,
232 if (((*r_idsName) == (char *)NULL) && a_pkgdev->mount) {
234 a_pkgdev->mount);
235 a_pkgdev->rdonly++;
236 n = pkgmount(a_pkgdev, NULL, 0, 0, 0);
251 if ((a_pkgdev->cdevice != (char *)NULL) &&
252 (a_pkgdev->bdevice == (char *)NULL)) {
253 n = _getvol(a_pkgdev->name, NULL, 0L, NULL,
254 a_pkgdev->norewind);
263 progerr(ERR_UNKNOWN_DEV, a_pkgdev->name);
274 if (chdir(a_pkgdev->dirname)) {
275 progerr(ERR_CHDIR, a_pkgdev->dirname);
285 * (a_pkgdev->dirname) for each package and retrieves each
290 a_pkgdev->norewind)) {