Home
last modified time | relevance | path

Searched refs:ept (Results 1 – 25 of 30) sorted by relevance

12

/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dfinalck.c61 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 Dprocmap.c61 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 Dpkgobjmap.c61 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 …]
/illumos-gate/usr/src/cmd/svr4pkg/pkgchk/
H A Dckentry.c58 static char *findspool(struct cfent *ept);
62 ckentry(int envflag, int maptyp, struct cfent *ept, VFP_T *vfp, in ckentry() argument
69 if (ept->ftype != 'i') { in ckentry()
71 mappath(2, ept->path); in ckentry()
73 basepath(ept->path, maptyp ? NULL : basedir, ir); in ckentry()
75 canonize(ept->path); in ckentry()
76 if (strchr("sl", ept->ftype)) { in ckentry()
78 mappath(2, ept->ainfo.local); in ckentry()
79 if (!RELATIVE(ept->ainfo.local)) { /* Absolute Path */ in ckentry()
81 if (ept->ftype == 'l') /* Hard Link */ in ckentry()
[all …]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dppkgmap.c43 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 Dgpkgmap.c138 gpkgmap(struct cfent *ept, FILE *fp) in gpkgmap() argument
144 ept->volno = 0; in gpkgmap()
145 ept->ftype = BADFTYPE; in gpkgmap()
146 (void) strcpy(ept->pkg_class, BADCLASS); in gpkgmap()
147 ept->pkg_class_idx = -1; in gpkgmap()
148 ept->path = NULL; in gpkgmap()
149 ept->ainfo.local = NULL; in gpkgmap()
151 ept->ainfo.mode = d_mode; in gpkgmap()
152 (void) strcpy(ept->ainfo.owner, d_owner); in gpkgmap()
153 (void) strcpy(ept->ainfo.group, d_group); in gpkgmap()
[all …]
H A Dsrchcfile.c125 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 Dtputcfent.c45 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 Dpkglib.h424 extern int gpkgmap(struct cfent *ept, FILE *fp);
425 extern int gpkgmapvfp(struct cfent *ept, VFP_T *fpv);
444 extern int ppkgmap(struct cfent *ept, FILE *fp);
445 extern int putcfile(struct cfent *ept, FILE *fp);
446 extern int putcvfpfile(struct cfent *ept, VFP_T *vfp);
453 extern int srchcfile(struct cfent *ept, char *path, PKGserver server);
479 extern void tputcfent(struct cfent *ept, FILE *fp);
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dinstvol.c158 struct cfent *ept; in instvol() local
252 ept = &(ext->cf_ent); in instvol()
257 ept = &(ext->cf_ent); in instvol()
271 ((ept->ftype == 'e') || (ept->ftype == 'v')) && in instvol()
272 (strcmp(ept->pkg_class, "none") != 0)) { in instvol()
318 ((ept->ftype == 'e') || in instvol()
319 (ept->ftype == 'n'))) { in instvol()
320 if (ck_efile(srcp, ept)) { in instvol()
338 ((is_fs_writeable(ept->path, in instvol()
402 ((ept->ftype == 'e') || (ept->ftype == 'v') && in instvol()
[all …]
H A Ddockspace.c196 struct cfent *ept; in readmap() local
207 ept = &(ext->cf_ent); in readmap()
209 if (ept->ftype != 'i') in readmap()
217 if (strcmp(ept->path, "pkginfo") == 0) in readmap()
218 (void) sprintf(tpath, "%s/%s", pkgloc, ept->path); in readmap()
221 ept->path); in readmap()
253 if (ept->cinfo.size != BADCONT) in readmap()
254 blk = nblk(ept->cinfo.size, in readmap()
266 ept = &(extlist[i]->cf_ent); in readmap()
268 if (ept->ftype == 'i') in readmap()
[all …]
H A Dcheck.c692 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 …]
/illumos-gate/usr/src/cmd/svr4pkg/installf/
H A Dinstallf.c134 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 Dmain.c146 struct cfent *ept; in main() local
404 ept = &(extlist[n]->cf_ent); in main()
407 if ((n > 0) && (strncmp(ept->path, in main()
419 if (ept->pinfo && in main()
420 (ept->pinfo->status == SERVED_FILE) && in main()
432 if (strncmp(ept->path, temp_cl_basedir, in main()
438 &(ept->path[c])); in main()
442 "%s\n", &(ept->path[c])); in main()
447 &(ept->path[c])); in main()
450 "%s\n", &(ept->path[c])); in main()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/pkgremove/
H A Ddelmap.c61 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 Dmain.c1117 struct cfent *ept; in rmclass() local
1169 ept = eptlist[i]; in rmclass()
1171 if ((ept == NULL) || strcmp(aclass, ept->pkg_class)) { in rmclass()
1177 save_path = ept->path; in rmclass()
1178 tmp_path = fixpath(ept->path); in rmclass()
1179 ept->path = tmp_path; in rmclass()
1182 if (!ept->ftype || (ept->ftype == '^' && !script[0])) { in rmclass()
1192 echo(MSG_SHARED, ept->path); in rmclass()
1193 } else if (ept->pinfo->status == SERVED_FILE && !rm_remote) { in rmclass()
1199 echo(MSG_SERVER, ept->path); in rmclass()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/
H A Dsplpkgmap.c66 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 …]
/illumos-gate/usr/src/cmd/tbl/
H A Dtv.c22 int tp=0, sl, ln, pos, epb, ept, vm; in drawvert() local
29 epb=ept=0; in drawvert()
65 ept=0; in drawvert()
73 ext= ".5m"; ept = -1; break; in drawvert()
78 ept = -4; in drawvert()
82 ept=0; in drawvert()
88 case THRU: ept += 1; break; in drawvert()
89 case LEFT: ept += (ln==0 ? 1 : -1); break; in drawvert()
90 case RIGHT: ept += (ln==1 ? 1 : -1); break; in drawvert()
95 case THRU: ept += 1; break; in drawvert()
[all …]
/illumos-gate/usr/src/lib/libadm/common/
H A Dckkeywd.c70 char *ept; in ckkeywd() local
73 ept = defmesg + strlen(defmesg); in ckkeywd()
76 (void) strcat(ept, ", "); in ckkeywd()
77 (void) strcat(ept, keyword[i++]); in ckkeywd()
79 (void) strcat(ept, ckquit ? ", q." : "."); in ckkeywd()
H A Dckdate.c407 char *ept, end[128]; in ckdate() local
409 ept = end; in ckdate()
410 *ept = '\0'; in ckdate()
416 (void) sprintf(ept, "[?,q]"); in ckdate()
/illumos-gate/usr/src/cmd/svr4pkg/pkgproto/
H A Dmain.c83 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 …]
/illumos-gate/usr/src/uts/common/sys/usb/hcd/uhci/
H A Duhcid.h501 #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))
/illumos-gate/usr/src/uts/common/io/usb/hcd/openhci/
H A Dohci.c220 ohci_ed_t *ept,
228 ohci_ed_t *ept);
3929 ohci_ed_t *ept = pp->pp_ept; in ohci_insert_ctrl_ed() local
3943 Set_ED(prev_ept->hced_prev, ohci_ed_cpu_to_iommu(ohcip, ept)); in ohci_insert_ctrl_ed()
3947 Set_ED(ept->hced_next, Get_OpReg(hcr_ctrl_head)); in ohci_insert_ctrl_ed()
3950 Set_OpReg(hcr_ctrl_head, ohci_ed_cpu_to_iommu(ohcip, ept)); in ohci_insert_ctrl_ed()
3976 ohci_ed_t *ept = pp->pp_ept; in ohci_insert_bulk_ed() local
3990 Set_ED(prev_ept->hced_prev, ohci_ed_cpu_to_iommu(ohcip, ept)); in ohci_insert_bulk_ed()
3994 Set_ED(ept->hced_next, Get_OpReg(hcr_bulk_head)); in ohci_insert_bulk_ed()
3997 Set_OpReg(hcr_bulk_head, ohci_ed_cpu_to_iommu(ohcip, ept)); in ohci_insert_bulk_ed()
[all …]
H A Dohci_polled.c1869 ohci_ed_t *ept; in ohci_polled_insert_td() local
1911 ept = pp->pp_ept; in ohci_polled_insert_td()
1933 (ohci_td_iommu_to_cpu(ohcip, Get_ED(ept->hced_tailp))); in ohci_polled_insert_td()
1950 Set_ED(ept->hced_tailp, (ohci_td_cpu_to_iommu(ohcip, td))); in ohci_polled_insert_td()
2247 ohci_ed_t *ept = pp->pp_ept; in ohci_polled_insert_hc_td() local
2260 (ohci_td_iommu_to_cpu(ohcip, Get_ED(ept->hced_tailp))); in ohci_polled_insert_hc_td()
2274 Set_ED(ept->hced_tailp, in ohci_polled_insert_hc_td()
/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/
H A Duhci.c1324 usb_ep_descr_t *ept = &pp->pp_pipe_handle->p_ep; in uhci_sendup_td_message() local
1335 switch (UHCI_XFER_TYPE(ept)) { in uhci_sendup_td_message()
1365 uhci_do_byte_stats(uhcip, length, ept->bmAttributes, in uhci_sendup_td_message()
1366 (UHCI_XFER_TYPE(ept) == USB_EP_ATTR_CONTROL) ? in uhci_sendup_td_message()
1367 USB_EP_DIR_IN : ept->bEndpointAddress); in uhci_sendup_td_message()
1373 if (UHCI_XFER_TYPE(ept) == USB_EP_ATTR_ISOCH) { in uhci_sendup_td_message()

12