Lines Matching defs:dstdev

96 static struct	pkgdev srcdev, dstdev;
391 if (devtype(device2, &dstdev)) {
397 if ((srcdev.cdevice && dstdev.cdevice) &&
398 strcmp(srcdev.cdevice, dstdev.cdevice) == 0) {
405 if (dstdev.cdevice && !dstdev.bdevice || dstdev.pathname)
409 if (!((ods_name = dstdev.cdevice) != NULL ||
410 (ods_name = dstdev.pathname) != NULL)) {
433 if ((srcdev.dirname && dstdev.dirname) &&
434 strcmp(srcdev.dirname, dstdev.dirname) == 0) {
440 if ((srcdev.pathname && dstdev.pathname) &&
441 strcmp(srcdev.pathname, dstdev.pathname) == 0) {
484 dst = dstdev.dirname;
520 if (!dstdev.pathname &&
522 dstdev.norewind))) {
605 if (!(options & PT_ODTSTREAM) && dstdev.mount) {
606 if (n = pkgmount(&dstdev, NULL, 0, 0, 1)) {
816 if (dstdev.capacity && totsize > dstdev.capacity) {
818 logerr(pkg_gt(MSG_NOSPACE), totsize, dstdev.capacity);
844 if (dstdev.capacity && maxpsize > dstdev.capacity) {
847 dstdev.capacity);
871 if (dstdev.capacity && dstdev.capacity < totsize) {
877 while (totsize <= dstdev.capacity &&
941 if (dstdev.pathname)
1210 dst = dstdev.dirname;
1371 if (dstdev.mount) {
1373 if (pkgumount(&dstdev))
1376 if (n = pkgmount(&dstdev, NULL, part+1,
1484 if ((ds_fd = open(dstdev.cdevice, O_WRONLY)) < 0) {
1486 logerr(pkg_gt(MSG_OPEN), dstdev.cdevice,
1490 if (ds_ginit(dstdev.cdevice) < 0) {
1492 logerr(pkg_gt(MSG_OPEN), dstdev.cdevice,
1623 if (!(options & PT_ODTSTREAM) && dstdev.mount) {
1625 if (pkgumount(&dstdev))
1630 n = pkgmount(&dstdev, NULL, part, nparts, 1);
1657 if ((ds_fd = open(dstdev.cdevice, 1)) < 0) {
1660 dstdev.cdevice, errno);
1663 if (ds_ginit(dstdev.cdevice) < 0) {
1666 dstdev.cdevice, errno);
1844 if (dstdev.mount && !ods_name)
1845 (void) pkgumount(&dstdev);