Lines Matching defs:chg
855 struct devtabent *chg; /* Changes to make to description */
875 if (chg = mkdevtabent(device, attrval)) {
878 if (chg->cdevice) {
880 ent->cdevice = chg->cdevice;
881 chg->cdevice = NULL;
885 if (chg->bdevice) {
887 ent->bdevice = chg->bdevice;
888 chg->bdevice = NULL;
892 if (chg->pathname) {
894 ent->pathname = chg->pathname;
895 chg->pathname = NULL;
901 if ((new = chg->attrlist) != NULL) do {
928 else chg->attrlist = new->next;
944 ent->attrlist = chg->attrlist;
945 chg->attrlist = NULL;
949 _freedevtabent(chg);
967 chg = ent; /* Remember new record */
969 if (ent->entryno != chg->entryno)
971 else noerr = _putdevtabrec(fd, chg) != EOF;
990 _freedevtabent(chg);