Lines Matching refs:ept
155 struct cfent *ept; in instvol() local
249 ept = &(ext->cf_ent); in instvol()
254 ept = &(ext->cf_ent); in instvol()
268 ((ept->ftype == 'e') || (ept->ftype == 'v')) && in instvol()
269 (strcmp(ept->pkg_class, "none") != 0)) { in instvol()
315 ((ept->ftype == 'e') || in instvol()
316 (ept->ftype == 'n'))) { in instvol()
317 if (ck_efile(srcp, ept)) { in instvol()
335 ((is_fs_writeable(ept->path, in instvol()
399 ((ept->ftype == 'e') || (ept->ftype == 'v') && in instvol()
400 (strcmp(ept->pkg_class, "none") != 0))) { in instvol()
438 n = is_remote_fs(ept->path, &(ext->fsys_value)); in instvol()
440 !is_fs_writeable(ept->path, in instvol()
456 if (is_mounted(ept->path, &(ext->fsys_value))) { in instvol()
508 if ((ept->ftype != 'e') && in instvol()
509 (ept->ftype != 'v') && in instvol()
510 (strcmp(cl_nam(ept->pkg_class_idx), in instvol()
514 n = finalck(ept, 1, 1, B_TRUE); in instvol()
541 if (is_fs_writeable(ept->path, in instvol()
544 dstp, ept->ainfo.mode); in instvol()
548 } else if (!finalck(ept, 1, 1, B_FALSE)) { in instvol()
678 ept = &(extlist[rfp->val]->cf_ent); in instvol()
679 cverify(1, &ept->ftype, ept->path, in instvol()
680 &ept->cinfo, 0); in instvol()
848 struct cfent *ept = (struct cfent *)NULL; in domerg() local
873 ept = &(extlist[i]->cf_ent); in domerg()
878 if (myclass != ept->pkg_class_idx) { in domerg()
883 if (ept->pkg_class_idx == -1) { in domerg()
884 progerr(ERR_CLIDX, ept->pkg_class_idx, in domerg()
885 (ept->path && *ept->path) ? ept->path : "unknown"); in domerg()
887 (ept->path && *ept->path) ? ept->path : "unknown"); in domerg()
889 (ept->pkg_class && *ept->pkg_class) ? in domerg()
890 ept->pkg_class : "Unknown"); in domerg()
901 if (dir_is_populated(ept->path)) { in domerg()
902 logerr(WRN_INSTVOL_NOTDIR, ept->path); in domerg()
911 if (rmdir(ept->path)) { in domerg()
918 progerr(ERR_RMDIR, ept->path); in domerg()
927 if (ept->volno > maxvol) { in domerg()
928 maxvol = ept->volno; in domerg()
933 if (part != ept->volno) { in domerg()
941 if (nocnflct && mstat->shared && ept->ftype != 'e') { in domerg()
943 echo(MSG_SHIGN, ept->path); in domerg()
956 if (is_fs_writeable(ept->path, in domerg()
959 echo(MSG_UGMOD, ept->path); in domerg()
961 echo(MSG_UGID, ept->path); in domerg()
968 switch (ept->ftype) { in domerg()
980 if (averify(0, &ept->ftype, in domerg()
981 ept->path, &ept->ainfo)) in domerg()
982 echo(MSG_SLINK, ept->path); in domerg()
999 if (is_remote_fs(ept->path, in domerg()
1001 !is_fs_writeable(ept->path, in domerg()
1008 if (averify(1, &ept->ftype, ept->path, in domerg()
1009 &ept->ainfo) == 0) { in domerg()
1012 progerr(ERR_CREATE_PKGOBJ, ept->path); in domerg()
1043 ((ept->ftype == 'e') || (ept->ftype == 'v')))) { in domerg()
1044 *dstp = ept->path; in domerg()
1045 if ((ept->ftype == 'f') || (ept->ftype == 'e') || in domerg()
1046 (ept->ftype == 'v')) { in domerg()
1047 *srcp = ept->ainfo.local; in domerg()
1053 if (ept->ftype != 'f') { in domerg()
1076 ept->ainfo.local); in domerg()
1085 &(ept->ainfo.local[1]), in domerg()
1091 ept->ftype, cl_nam(ept->pkg_class_idx), in domerg()
1092 ept->path); in domerg()
1101 if (!is_fs_writeable(ept->path, in domerg()
1104 ept->ftype, in domerg()
1105 cl_nam(ept->pkg_class_idx), in domerg()
1106 ept->path); in domerg()
1112 ept->ftype, cl_nam(ept->pkg_class_idx), in domerg()
1113 ept->path); in domerg()
1122 backup(ept->path, 0); in domerg()
1124 echo(MSG_ATTRIB, ept->path); in domerg()
1127 if (averify(1, &ept->ftype, in domerg()
1128 ept->path, in domerg()
1129 &ept->ainfo) == 0) { in domerg()
1140 if ((stateFlag == B_FALSE) || (ept == (struct cfent *)NULL)) { in domerg()
1153 ept->path); in domerg()
1155 *r_updated = ept->path; in domerg()
1215 struct cfent *ept; /* entry from the internal list */ in endofclass() local
1242 ept = &(extlist[idx]->cf_ent); in endofclass()
1273 progerr(ERR_CFMISSING, ept->path); in endofclass()
1289 progerr(ERR_COULD_NOT_INSTALL, ept->path); in endofclass()
1298 repl_cfent(ept, &(entry.cf_ent)); in endofclass()
1304 if (ept->ftype == RM_RDY) { in endofclass()
1309 if (ept->ftype == 'l') { in endofclass()
1310 if (averify(0, &ept->ftype, in endofclass()
1311 ept->path, &ept->ainfo)) { in endofclass()
1313 ept->path); in endofclass()
1324 if (is_remote_fs(ept->path, in endofclass()
1326 !is_fs_writeable(ept->path, in endofclass()
1330 flag = finalck(ept, mstat->attrchg, in endofclass()
1353 if (flag < 0 || is_served(ept->path, in endofclass()
1381 ((ept->ftype == 'e') || (ept->ftype == 'v')) && in endofclass()
1382 (strcmp(ept->pkg_class, "none") == 0)) { in endofclass()
1405 if (cppath(MODE_SRC, ept->path, scrpt_dst, 0644)) { in endofclass()
1444 struct cfent *ept; in fix_attributes() local
1452 ept = &(extlist[i]->cf_ent); in fix_attributes()
1467 if (ept->ftype == 'i' || ept->ftype == 'e' || in fix_attributes()
1472 progerr(ERR_COULD_NOT_INSTALL, ept->path); in fix_attributes()
1477 if (ept->pkg_class_idx < 0 || ept->pkg_class_idx > nc) { in fix_attributes()
1478 progerr(ERR_CLIDX, ept->pkg_class_idx, in fix_attributes()
1479 (ept->path && *ept->path) ? ept->path : "unknown"); in fix_attributes()
1484 if (ept->pkg_class_idx == idx) { in fix_attributes()
1485 if (fverify(1, &ept->ftype, ept->path, in fix_attributes()
1486 &ept->ainfo, &ept->cinfo) == 0) { in fix_attributes()
1499 ((ept->ftype == 'e') || (ept->ftype == 'v')) && in fix_attributes()
1500 (strcmp(ept->pkg_class, "none") == 0)) { in fix_attributes()
1523 if (cppath(MODE_SRC, ept->path, scrpt_dst, 0644)) { in fix_attributes()