Home
last modified time | relevance | path

Searched refs:cdevice (Results 1 – 15 of 15) sorted by relevance

/titanic_44/usr/src/lib/libpkg/common/
H A Ddevtype.c48 devp->fstyp = devp->cdevice = devp->bdevice = devp->norewind = NULL; in devtype()
77 devp->cdevice = devattr(alias, "cdevice"); in devtype()
78 if (devp->cdevice && devp->cdevice[0]) { in devtype()
95 if (devp->cdevice) { in devtype()
96 free(devp->cdevice); in devtype()
97 devp->cdevice = NULL; in devtype()
H A Dpkgtrans.c350 if (ds_readbuf(srcdev.cdevice)) in _pkgtrans()
351 ids_name = srcdev.cdevice; in _pkgtrans()
354 if (srcdev.cdevice && !srcdev.bdevice) in _pkgtrans()
355 ids_name = srcdev.cdevice; in _pkgtrans()
397 if ((srcdev.cdevice && dstdev.cdevice) && in _pkgtrans()
398 strcmp(srcdev.cdevice, dstdev.cdevice) == 0) { in _pkgtrans()
405 if (dstdev.cdevice && !dstdev.bdevice || dstdev.pathname) in _pkgtrans()
409 if (!((ods_name = dstdev.cdevice) != NULL || in _pkgtrans()
452 if (srcdev.cdevice && !srcdev.bdevice && in _pkgtrans()
453 (n = _getvol(srcdev.cdevice, NULL, NULL, NULL, in _pkgtrans()
[all …]
/titanic_44/usr/src/cmd/svr4pkg/libinst/
H A Dopen_package_datastream.c109 a_pkgdev->cdevice ? a_pkgdev->cdevice : "?", in open_package_datastream()
159 if (ds_readbuf(a_pkgdev->cdevice)) { in open_package_datastream()
160 (*r_idsName) = a_pkgdev->cdevice; in open_package_datastream()
176 } else if (a_pkgdev->cdevice != (char *)NULL) { in open_package_datastream()
179 echoDebug(DBG_ODS_DATASTREAM_CDEV, a_pkgdev->cdevice); in open_package_datastream()
181 (*r_idsName) = a_pkgdev->cdevice; in open_package_datastream()
251 if ((a_pkgdev->cdevice != (char *)NULL) && in open_package_datastream()
/titanic_44/usr/src/lib/libadm/common/
H A Dgetvol.c63 static char *cdevice; /* character device name */ variable
106 cdevice = devattr(device, "cdevice"); in _getvol()
107 if ((cdevice == NULL) || !cdevice[0]) { in _getvol()
108 cdevice = devattr(device, "pathname"); in _getvol()
109 if ((cdevice == NULL) || !cdevice) in _getvol()
145 if ((tmp = fopen(norewind ? norewind : cdevice, "r")) == NULL) { in _getvol()
149 (void) fprintf(stderr, ERR_ACCESS, pname, cdevice); in _getvol()
198 (void) snprintf(buffer, sizeof (buffer), "/etc/labelit %s", cdevice); in ckilabel()
262 if (IFTAPE(cdevice)) { in wilabel()
265 cdevice, fsname, volname); in wilabel()
[all …]
H A Ddevtab.c746 if (ent->cdevice = malloc(strlen(p)+1)) { in _getdevtabent()
747 q = ent->cdevice; in _getdevtabent()
753 } else ent->cdevice = NULL; in _getdevtabent()
758 if (ent->cdevice) free(ent->cdevice); in _getdevtabent()
774 if (ent->cdevice) free(ent->cdevice); in _getdevtabent()
868 if (ent->cdevice) free(ent->cdevice); in _freedevtabent()
932 if (devrec->cdevice) in _getdevrec()
933 if (strcmp(device, devrec->cdevice) == 0) found = TRUE; in _getdevrec()
965 (devrec->cdevice != NULL)) in _getdevrec()
966 if (stat64(devrec->cdevice, &tblstatbuf) == 0) { in _getdevrec()
H A Dputdev.c453 devtabent->cdevice = NULL; /* cdevice */ in mkdevtabent()
487 if (!devtabent->cdevice) { in mkdevtabent()
494 devtabent->cdevice = val; in mkdevtabent()
682 if (rec->cdevice) in _putdevtabrec()
683 size += (strlen(rec->cdevice)*2) + 1; /* cdevice: */ in _putdevtabrec()
709 if (rec->cdevice) p = strcatesc(p, rec->cdevice); in _putdevtabrec()
878 if (chg->cdevice) { in _moddevtabrec()
879 if (ent->cdevice) free(ent->cdevice); in _moddevtabrec()
880 ent->cdevice = chg->cdevice; in _moddevtabrec()
881 chg->cdevice = NULL; in _moddevtabrec()
[all …]
H A Ddevattr.c128 val = (record->cdevice != NULL) ? record->cdevice : ""; in devattr()
H A Dlistdev.c153 if (devtabent->cdevice) n++; /* Char spcl, if defined */ in listdev()
177 if (noerror && devtabent->cdevice) { in listdev()
H A Dgetdev.c884 failed = !matches(ent->cdevice, p->cmp, p->fcn); in matchallcriteria()
984 matched = matches(ent->cdevice, p->cmp, p->fcn); in matchanycriteria()
/titanic_44/usr/src/cmd/devmgmt/data/
H A Ddevice.tab28 # alias:cdevice:bdevice:pathname:attrs
32 # cdevice Pathname to the inode for the character device
/titanic_44/usr/src/head/
H A Dpkgdev.h46 char *cdevice; member
/titanic_44/usr/src/cmd/svr4pkg/pkginstall/
H A Dpkgvolume.c53 if (devp->cdevice) in pkgvolume()
H A Dmain.c820 pkgdev.cdevice = device; in main()
1045 (pkgdev.cdevice == (char *)NULL) && in main()
1319 if (!suppressCopyright && !pkgdev.cdevice) { in main()
1525 if (pkgdev.cdevice) { in main()
2061 if ((part > 1) && pkgdev.cdevice) { in main()
2661 if (pkgdev.cdevice) { in do_pkgask()
2857 dparts = ds_findpkg(pkgdev.cdevice, srcinst); in unpack()
2867 if (ds_next(pkgdev.cdevice, instdir)) { in unpack()
H A Dquit.c367 ds_skiptoend(pkgdev.cdevice); in quit()
/titanic_44/usr/src/lib/libadm/inc/
H A Ddevtab.h119 char *cdevice; /* Character device pathname */ member