Lines Matching defs:chg
857 struct devtabent *chg; /* Changes to make to description */
877 if (chg = mkdevtabent(device, attrval)) {
880 if (chg->cdevice) {
882 ent->cdevice = chg->cdevice;
883 chg->cdevice = NULL;
887 if (chg->bdevice) {
889 ent->bdevice = chg->bdevice;
890 chg->bdevice = NULL;
894 if (chg->pathname) {
896 ent->pathname = chg->pathname;
897 chg->pathname = NULL;
903 if ((new = chg->attrlist) != NULL) do {
930 else chg->attrlist = new->next;
946 ent->attrlist = chg->attrlist;
947 chg->attrlist = NULL;
951 _freedevtabent(chg);
969 chg = ent; /* Remember new record */
971 if (ent->entryno != chg->entryno)
973 else noerr = _putdevtabrec(fd, chg) != EOF;
992 _freedevtabent(chg);