/titanic_44/usr/src/cmd/svr4pkg/libinst/ |
H A D | finalck.c | 61 static int finalck_warning(struct cfent *ept, int attrchg, int contchg); 62 static int finalck_error(struct cfent *ept, int attrchg, int contchg); 65 finalck(struct cfent *ept, int attrchg, int contchg, boolean_t a_warning) in finalck() argument 75 errflg = finalck_warning(ept, attrchg, contchg); in finalck() 77 errflg = finalck_error(ept, attrchg, contchg); in finalck() 82 echoDebug(DBG_FINALCK_EXIT, errflg, ept->ftype, in finalck() 83 ept->path ? ept->path : ""); in finalck() 95 finalck_error(struct cfent *ept, int attrchg, int contchg) in finalck_error() argument 101 echoDebug(DBG_FINALCK_ERROR, attrchg, contchg, ept->ftype, in finalck_error() 102 ept->path ? ept->path : ""); in finalck_error() [all …]
|
H A D | procmap.c | 61 static int procassign(struct cfent *ept, char **server_local, 91 procassign(struct cfent *ept, char **server_local, char **client_local, in procassign() argument 99 if (nc >= 0 && ept->ftype != 'i') in procassign() 100 if ((ept->pkg_class_idx = cl_idx(ept->pkg_class)) == -1) in procassign() 103 if (ept->volno > nparts) in procassign() 113 if ((mapflag > 1) && strchr("fve", ept->ftype)) { in procassign() 114 if (ept->ainfo.local == NULL) { in procassign() 116 (void) strcpy(&source[1], ept->path); in procassign() 117 ept->ainfo.local = pathdup(source); in procassign() 118 *server_local = ept->ainfo.local; in procassign() [all …]
|
H A D | pkgobjmap.c | 61 static int pkgobjassign(struct cfent *ept, char **server_local, 95 pkgobjassign(struct cfent *ept, char **server_local, char **client_local, in pkgobjassign() argument 103 if (nc >= 0 && ept->ftype != 'i') in pkgobjassign() 104 if ((ept->pkg_class_idx = cl_idx(ept->pkg_class)) == -1) in pkgobjassign() 107 if (ept->volno > nparts) in pkgobjassign() 117 if ((mapflag > 1) && strchr("fve", ept->ftype)) { in pkgobjassign() 118 if (ept->ainfo.local == NULL) { in pkgobjassign() 120 (void) strlcpy(&source[1], ept->path, in pkgobjassign() 122 ept->ainfo.local = pathdup(source); in pkgobjassign() 123 *server_local = ept->ainfo.local; in pkgobjassign() [all …]
|
/titanic_44/usr/src/cmd/svr4pkg/pkgchk/ |
H A D | ckentry.c | 58 static char *findspool(struct cfent *ept); 62 ckentry(int envflag, int maptyp, struct cfent *ept, VFP_T *vfp, in ckentry() argument 70 if (ept->ftype != 'i') { in ckentry() 72 mappath(2, ept->path); in ckentry() 74 basepath(ept->path, maptyp ? NULL : basedir, ir); in ckentry() 76 canonize(ept->path); in ckentry() 77 if (strchr("sl", ept->ftype)) { in ckentry() 79 mappath(2, ept->ainfo.local); in ckentry() 80 if (!RELATIVE(ept->ainfo.local)) { /* Absolute Path */ in ckentry() 82 if (ept->ftype == 'l') /* Hard Link */ in ckentry() [all …]
|
/titanic_44/usr/src/lib/libpkg/common/ |
H A D | ppkgmap.c | 43 ppkgmap(struct cfent *ept, FILE *fp) in ppkgmap() argument 45 if (ept->path == NULL) in ppkgmap() 48 if (ept->volno) { in ppkgmap() 49 if (fprintf(fp, "%d ", ept->volno) < 0) in ppkgmap() 53 if (ept->ftype == 'i') { in ppkgmap() 54 if (fprintf(fp, "%c %s", ept->ftype, ept->path) < 0) in ppkgmap() 57 if (fprintf(fp, "%c %s %s", ept->ftype, ept->pkg_class, in ppkgmap() 58 ept->path) < 0) in ppkgmap() 62 if (ept->ainfo.local) { in ppkgmap() 63 if (fprintf(fp, "=%s", ept->ainfo.local) < 0) in ppkgmap() [all …]
|
H A D | gpkgmap.c | 134 gpkgmap(struct cfent *ept, FILE *fp) in gpkgmap() argument 140 ept->volno = 0; in gpkgmap() 141 ept->ftype = BADFTYPE; in gpkgmap() 142 (void) strcpy(ept->pkg_class, BADCLASS); in gpkgmap() 143 ept->pkg_class_idx = -1; in gpkgmap() 144 ept->path = NULL; in gpkgmap() 145 ept->ainfo.local = NULL; in gpkgmap() 147 ept->ainfo.mode = d_mode; in gpkgmap() 148 (void) strcpy(ept->ainfo.owner, d_owner); in gpkgmap() 149 (void) strcpy(ept->ainfo.group, d_group); in gpkgmap() [all …]
|
H A D | srchcfile.c | 125 srchcfile(struct cfent *ept, char *path, PKGserver server) in srchcfile() argument 152 (void) strlcpy(ept->ainfo.group, BADGROUP, sizeof (ept->ainfo.group)); in srchcfile() 153 (void) strlcpy(ept->ainfo.owner, BADOWNER, sizeof (ept->ainfo.owner)); in srchcfile() 154 (void) strlcpy(ept->pkg_class, BADCLASS, sizeof (ept->pkg_class)); in srchcfile() 155 ept->ainfo.local = (char *)NULL; in srchcfile() 156 ept->ainfo.mode = BADMODE; in srchcfile() 157 ept->cinfo.cksum = BADCONT; in srchcfile() 158 ept->cinfo.modtime = BADCONT; in srchcfile() 159 ept->cinfo.size = (fsblkcnt_t)BADCONT; in srchcfile() 160 ept->ftype = BADFTYPE; in srchcfile() [all …]
|
H A D | tputcfent.c | 45 tputcfent(struct cfent *ept, FILE *fp) in tputcfent() argument 53 if (ept->path == NULL) in tputcfent() 56 (void) fprintf(fp, pkg_gt("Pathname: %s\n"), ept->path); in tputcfent() 59 switch (ept->ftype) { in tputcfent() 91 (ept->ftype == 'b') ? pkg_gt("block") : in tputcfent() 94 if (ept->ainfo.major == BADMAJOR) in tputcfent() 99 ept->ainfo.major); in tputcfent() 101 if (ept->ainfo.minor == BADMINOR) in tputcfent() 106 ept->ainfo.minor); in tputcfent() 112 pt = (ept->ainfo.local ? ept->ainfo.local : in tputcfent() [all …]
|
H A D | pkglib.h | 449 extern int gpkgmap(struct cfent *ept, FILE *fp); 450 extern int gpkgmapvfp(struct cfent *ept, VFP_T *fpv); 469 extern int ppkgmap(struct cfent *ept, FILE *fp); 470 extern int putcfile(struct cfent *ept, FILE *fp); 471 extern int putcvfpfile(struct cfent *ept, VFP_T *vfp); 481 extern int srchcfile(struct cfent *ept, char *path, PKGserver server); 508 extern void tputcfent(struct cfent *ept, FILE *fp);
|
/titanic_44/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | instvol.c | 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() [all …]
|
H A D | dockspace.c | 192 struct cfent *ept; in readmap() local 203 ept = &(ext->cf_ent); in readmap() 205 if (ept->ftype != 'i') in readmap() 213 if (strcmp(ept->path, "pkginfo") == 0) in readmap() 214 (void) sprintf(tpath, "%s/%s", pkgloc, ept->path); in readmap() 217 ept->path); in readmap() 249 if (ept->cinfo.size != BADCONT) in readmap() 250 blk = nblk(ept->cinfo.size, in readmap() 262 ept = &(extlist[i]->cf_ent); in readmap() 264 if (ept->ftype == 'i') in readmap() [all …]
|
H A D | check.c | 692 struct cfent *ept; in ckconflct() local 699 ept = &(extlist[i]->cf_ent); in ckconflct() 702 if (is_remote_fs(ept->path, &(extlist[i]->fsys_value)) && in ckconflct() 703 !is_fs_writeable(ept->path, in ckconflct() 716 if (ept->ftype == 'e') { in ckconflct() 741 (mstat->rogue) ? "*" : " ", ept->path); in ckconflct() 744 "conflict-contents=%s\n", ept->path); in ckconflct() 758 (mstat->rogue) ? "*" : " ", ept->path); in ckconflct() 761 "conflict-attributes=%s\n", ept->path); in ckconflct() 1059 struct cfent *ept; in ckpkgfiles() local [all …]
|
/titanic_44/usr/src/cmd/svr4pkg/installf/ |
H A D | installf.c | 134 struct cfent *ept; in validate() local 136 ept = &(ext->cf_ent); in validate() 139 ept->pinfo = NULL; in validate() 140 (void) gpkgmapvfp(ept, (VFP_T *)NULL); /* This just clears stuff. */ in validate() 144 (void) strncpy(ept->pkg_class, classname, CLSSIZ); in validate() 172 ept->path = ext->client_path; in validate() 175 if (RELATIVE(ept->path)) { in validate() 176 progerr(gettext(ERR_RELPATH), ept->path); in validate() 182 ept->ftype = ((n >= argc) ? 'l' : argv[n++][0]); in validate() 186 progerr(gettext(ERR_LINK), ept->path); in validate() [all …]
|
H A D | main.c | 147 struct cfent *ept; in main() local 405 ept = &(extlist[n]->cf_ent); in main() 408 if ((n > 0) && (strncmp(ept->path, in main() 420 if (ept->pinfo && in main() 421 (ept->pinfo->status == SERVED_FILE) && in main() 433 if (strncmp(ept->path, temp_cl_basedir, in main() 439 &(ept->path[c])); in main() 443 "%s\n", &(ept->path[c])); in main() 448 &(ept->path[c])); in main() 451 "%s\n", &(ept->path[c])); in main() [all …]
|
/titanic_44/usr/src/cmd/svr4pkg/pkgremove/ |
H A D | delmap.c | 61 struct cfent *ept; in delmap() local 84 ept = (struct cfent *)calloc(1, in delmap() 86 if (!ept) { in delmap() 92 while (n = srchcfile(ept, "*", *pkgserver)) { in delmap() 97 (ept->path && *ept->path) ? ept->path : in delmap() 103 pinfo = eptstat(ept, pkginst, (flag ? '@' : '-')); in delmap() 104 if (ept->npkgs > 0) { in delmap() 105 if (putcvfpfile(ept, *tmpfp)) { in delmap() 109 } else if (ept->path != NULL) { in delmap() 113 vfpPuts(*tmpfp, ept->path); in delmap() [all …]
|
H A D | main.c | 1122 struct cfent *ept; in rmclass() local 1174 ept = eptlist[i]; in rmclass() 1176 if ((ept == NULL) || strcmp(aclass, ept->pkg_class)) { in rmclass() 1182 save_path = ept->path; in rmclass() 1183 tmp_path = fixpath(ept->path); in rmclass() 1184 ept->path = tmp_path; in rmclass() 1187 if (!ept->ftype || (ept->ftype == '^' && !script[0])) { in rmclass() 1197 echo(MSG_SHARED, ept->path); in rmclass() 1198 } else if (ept->pinfo->status == SERVED_FILE && !rm_remote) { in rmclass() 1204 echo(MSG_SERVER, ept->path); in rmclass() [all …]
|
/titanic_44/usr/src/cmd/svr4pkg/pkgmk/ |
H A D | splpkgmap.c | 66 struct cfent *ept; member 103 struct cfent *ept; in splpkgmap() local 189 f[i].ept = ept = eptlist[i]; in splpkgmap() 190 if (ept->volno > nparts) in splpkgmap() 191 nparts = ept->volno; in splpkgmap() 192 addclass(ept->pkg_class, 0); in splpkgmap() 193 if (strchr("dxslcbp", ept->ftype)) in splpkgmap() 207 f[i].blks = nblk(ept->cinfo.size, bsize, frsize); in splpkgmap() 209 if (!bpkginfo && (strcmp(f[i].ept->path, "pkginfo") == 0)) in splpkgmap() 230 if (i == 1 && f[j].ept->ftype == 'i' && in splpkgmap() [all …]
|
/titanic_44/usr/src/cmd/tbl/ |
H A D | tv.c | 24 int tp=0, sl, ln, pos, epb, ept, vm; in drawvert() local 31 epb=ept=0; in drawvert() 67 ept=0; in drawvert() 75 ext= ".5m"; ept = -1; break; in drawvert() 80 ept = -4; in drawvert() 84 ept=0; in drawvert() 90 case THRU: ept += 1; break; in drawvert() 91 case LEFT: ept += (ln==0 ? 1 : -1); break; in drawvert() 92 case RIGHT: ept += (ln==1 ? 1 : -1); break; in drawvert() 97 case THRU: ept += 1; break; in drawvert() [all …]
|
/titanic_44/usr/src/cmd/ssh/libopenbsd-compat/common/ |
H A D | getcwd.c | 63 char *ept, *eup, *up; in getcwd() local 76 ept = pt + size; in getcwd() 80 ept = pt + ptsize; in getcwd() 82 bpt = ept - 1; in getcwd() 122 memmove(pt, bpt, ept - bpt); in getcwd() 199 len = ept - bpt; in getcwd() 204 ept = pt + ptsize; in getcwd() 205 memmove(ept - len, bpt, len); in getcwd() 206 bpt = ept - len; in getcwd()
|
/titanic_44/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/ |
H A D | cmd_dperr.c | 223 cmd_dp_t *dpt, *ept; in cmd_dp_common() local 288 ept = cmd_dp_lookup_error(dpt); in cmd_dp_common() 289 if (ept != NULL && !fmd_case_closed(hdl, ept->dp_case)) { in cmd_dp_common() 292 fmd_case_add_ereport(hdl, ept->dp_case, ep); in cmd_dp_common() 294 if (dpt->dp_t_value != ept->dp_t_value) { in cmd_dp_common() 297 fmd_timer_remove(hdl, ept->dp_id); in cmd_dp_common() 298 ep = fmd_case_getprincipal(hdl, ept->dp_case); in cmd_dp_common() 299 ept->dp_id = fmd_timer_install(hdl, in cmd_dp_common() 347 ept = cmd_dp_lookup_error(dpt); in cmd_dp_common() 348 if (ept != NULL && !fmd_case_closed(hdl, ept->dp_case)) { in cmd_dp_common() [all …]
|
/titanic_44/usr/src/lib/libadm/common/ |
H A D | ckkeywd.c | 71 char *ept; in ckkeywd() local 74 ept = defmesg + strlen(defmesg); in ckkeywd() 77 (void) strcat(ept, ", "); in ckkeywd() 78 (void) strcat(ept, keyword[i++]); in ckkeywd() 80 (void) strcat(ept, ckquit ? ", q." : "."); in ckkeywd()
|
H A D | ckdate.c | 411 char *ept, end[128]; in ckdate() local 413 ept = end; in ckdate() 414 *ept = '\0'; in ckdate() 420 (void) sprintf(ept, "[?,q]"); in ckdate()
|
/titanic_44/usr/src/cmd/svr4pkg/pkgproto/ |
H A D | main.c | 83 static void findlink(struct cfent *ept, char *path, char *svpath); 444 findlink(struct cfent *ept, char *path, char *svpath) in findlink() argument 457 ept->ainfo.local = mylocal; in findlink() 458 ept->ftype = 's'; in findlink() 463 (void) strlcpy(ept->ainfo.local, in findlink() 466 (void) strncpy(ept->ainfo.local, buf, n); in findlink() 467 ept->ainfo.local[n] = '\0'; in findlink() 481 ept->ftype = 'l'; in findlink() 482 ept->ainfo.local = mylocal; in findlink() 483 (void) strlcpy(ept->ainfo.local, in findlink() [all …]
|
/titanic_44/usr/src/uts/common/sys/usb/hcd/uhci/ |
H A D | uhcid.h | 501 #define UHCI_XFER_TYPE(ept) ((ept)->bmAttributes & USB_EP_ATTR_MASK) argument 502 #define UHCI_XFER_DIR(ept) ((ept)->bEndpointAddress & \ argument 540 #define UHCI_PERIODIC_ENDPOINT(ept) \ argument 541 (((((ept)->bmAttributes) & USB_EP_ATTR_MASK) == USB_EP_ATTR_INTR) || \ 542 ((((ept)->bmAttributes) & USB_EP_ATTR_MASK) == USB_EP_ATTR_ISOCH))
|
/titanic_44/usr/src/uts/common/io/usb/hcd/openhci/ |
H A D | ohci.c | 220 ohci_ed_t *ept, 228 ohci_ed_t *ept); 3945 ohci_ed_t *ept = pp->pp_ept; in ohci_insert_ctrl_ed() local 3959 Set_ED(prev_ept->hced_prev, ohci_ed_cpu_to_iommu(ohcip, ept)); in ohci_insert_ctrl_ed() 3963 Set_ED(ept->hced_next, Get_OpReg(hcr_ctrl_head)); in ohci_insert_ctrl_ed() 3966 Set_OpReg(hcr_ctrl_head, ohci_ed_cpu_to_iommu(ohcip, ept)); in ohci_insert_ctrl_ed() 3992 ohci_ed_t *ept = pp->pp_ept; in ohci_insert_bulk_ed() local 4006 Set_ED(prev_ept->hced_prev, ohci_ed_cpu_to_iommu(ohcip, ept)); in ohci_insert_bulk_ed() 4010 Set_ED(ept->hced_next, Get_OpReg(hcr_bulk_head)); in ohci_insert_bulk_ed() 4013 Set_OpReg(hcr_bulk_head, ohci_ed_cpu_to_iommu(ohcip, ept)); in ohci_insert_bulk_ed() [all …]
|