Lines Matching refs:ept

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