/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | finalck.c | 83 ept->path ? ept->path : ""); in finalck() 102 ept->path ? ept->path : ""); in finalck_error() 110 n = averify(1, &ept->ftype, ept->path, &ept->ainfo); in finalck_error() 131 ept->cinfo.size = BADCONT; in finalck_error() 132 ept->cinfo.cksum = BADCONT; in finalck_error() 135 n = cverify(1, &ept->ftype, ept->path, &ept->cinfo, 1); in finalck_error() 160 ept->path ? ept->path : ""); in finalck_warning() 170 n = averify(1, &ept->ftype, ept->path, &ept->ainfo); in finalck_warning() 191 ept->cinfo.size = BADCONT; in finalck_warning() 192 ept->cinfo.cksum = BADCONT; in finalck_warning() [all …]
|
H A D | procmap.c | 100 if ((ept->pkg_class_idx = cl_idx(ept->pkg_class)) == -1) in procassign() 103 if (ept->volno > nparts) in procassign() 137 ept->path); in procassign() 157 ept->ainfo.local); in procassign() 174 ept->path = *server_path; in procassign() 229 (ept && ept->path && *ept->path) ? in procmap() 230 ept->path : "Unknown"); in procmap() 246 ept = *ept_ptr; in procmap() 307 ept = eptlist[index]; in sortentry() 331 ept->path); in sortentry() [all …]
|
H A D | pkgobjmap.c | 104 if ((ept->pkg_class_idx = cl_idx(ept->pkg_class)) == -1) in pkgobjassign() 107 if (ept->volno > nparts) in pkgobjassign() 142 ept->path); in pkgobjassign() 157 if (ept->ftype == 'l') { in pkgobjassign() 162 ept->ainfo.local); in pkgobjassign() 179 ept->path = *server_path; in pkgobjassign() 332 ept = &(ext->cf_ent); in pkgobjmap() 338 if (pkgobjassign(ept, in pkgobjmap() 408 ept = &(ext->cf_ent); in sortentry() 440 ept->path); in sortentry() [all …]
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgchk/ |
H A D | ckentry.c | 75 canonize(ept->path); in ckentry() 117 ept->ainfo.mode = (ept->ainfo.mode & S_IAMB); in ckentry() 130 ept->path); in ckentry() 140 &ept->cinfo, 1); in ckentry() 150 if (a_err = averify(fflag, &ept->ftype, ept->path, in ckentry() 155 ept->path); in ckentry() 171 &ept->ftype, ept->path, &ept->cinfo, 1)) { in ckentry() 176 ept->path); in ckentry() 303 ept->path + (ept->path[0] == '/')); in findspool() 309 if ((ept->ftype != 'i') && (ept->volno > 0)) { in findspool() [all …]
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | ppkgmap.c | 45 if (ept->path == NULL) in ppkgmap() 48 if (ept->volno) { 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() 86 ept->ainfo.mode) < 0) in ppkgmap() 88 if (fprintf(fp, " %s %s", ept->ainfo.owner, ept->ainfo.group) < in ppkgmap() 100 ept->cinfo.size) < 0) in ppkgmap() [all …]
|
H A D | gpkgmap.c | 195 ept->volno = (ept->volno*10)+c-'0'; in gpkgmap() 283 if (ept->ftype == 's' || ept->ftype == 'l') { in gpkgmap() 712 ept->volno = (ept->volno*10)+c-'0'; in gpkgmapvfp() 808 if (ept->ftype == 's' || ept->ftype == 'l') { in gpkgmapvfp() 834 if (((ept->ftype == 's') || (ept->ftype == 'l')) && in gpkgmapvfp() 840 if (((ept->ftype == 'c') || (ept->ftype == 'b'))) { in gpkgmapvfp() 863 if ((ept->ftype == 'd') || (ept->ftype == 'x') || (ept->ftype == 'c') || in gpkgmapvfp() 864 (ept->ftype == 'b') || (ept->ftype == 'p') || in gpkgmapvfp() 865 (ept->ftype == 'f') || (ept->ftype == 'v') || in gpkgmapvfp() 914 if ((ept->ftype == 'i') || (ept->ftype == 'f') || in gpkgmapvfp() [all …]
|
H A D | srchcfile.c | 161 ept->npkgs = 0; in srchcfile() 165 ept->volno = 0; in srchcfile() 318 if (((ept->ftype == 's') || (ept->ftype == 'l')) && in srchcfile() 326 if (((ept->ftype == 'c') || (ept->ftype == 'b'))) { in srchcfile() 338 if ((ept->ftype == 'd') || (ept->ftype == 'x') || (ept->ftype == 'c') || in srchcfile() 339 (ept->ftype == 'b') || (ept->ftype == 'p') || in srchcfile() 340 (ept->ftype == 'f') || (ept->ftype == 'v') || in srchcfile() 344 getstr(&p, sizeof (ept->ainfo.owner), ept->ainfo.owner, in srchcfile() 355 if ((ept->ftype == 'i') || (ept->ftype == 'f') || in srchcfile() 356 (ept->ftype == 'v') || (ept->ftype == 'e')) { in srchcfile() [all …]
|
H A D | tputcfent.c | 53 if (ept->path == NULL) in tputcfent() 59 switch (ept->ftype) { in tputcfent() 99 ept->ainfo.major); in tputcfent() 106 ept->ainfo.minor); in tputcfent() 112 pt = (ept->ainfo.local ? ept->ainfo.local : in tputcfent() 119 pt = (ept->ainfo.local ? ept->ainfo.local : in tputcfent() 135 ept->ainfo.mode); in tputcfent() 138 ept->ainfo.owner); in tputcfent() 140 ept->ainfo.group); in tputcfent() 145 ept->cinfo.size); in tputcfent() [all …]
|
H A D | pkglib.h | 424 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 D | instvol.c | 682 cverify(1, &ept->ftype, ept->path, in instvol() 888 (ept->path && *ept->path) ? ept->path : "unknown"); in domerg() 890 (ept->path && *ept->path) ? ept->path : "unknown"); in domerg() 892 (ept->pkg_class && *ept->pkg_class) ? in domerg() 984 ept->path, &ept->ainfo)) in domerg() 1011 if (averify(1, &ept->ftype, ept->path, in domerg() 1094 ept->ftype, cl_nam(ept->pkg_class_idx), in domerg() 1314 ept->path, &ept->ainfo)) { in endofclass() 1482 (ept->path && *ept->path) ? ept->path : "unknown"); in fix_attributes() 1488 if (fverify(1, &ept->ftype, ept->path, in fix_attributes() [all …]
|
H A D | dockspace.c | 196 struct cfent *ept; in readmap() local 207 ept = &(ext->cf_ent); in readmap() 209 if (ept->ftype != 'i') 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() 310 strcpy(tpath, ept->path); in readmap() 316 if (strchr("dxs", ept->ftype)) in readmap() [all …]
|
H A D | check.c | 692 struct cfent *ept; in ckconflct() local 699 ept = &(extlist[i]->cf_ent); in ckconflct() 703 !is_fs_writeable(ept->path, in ckconflct() 716 if (ept->ftype == 'e') { in ckconflct() 1059 struct cfent *ept; in ckpkgfiles() local 1065 ept = &(extlist[i]->cf_ent); in ckpkgfiles() 1066 if (ept->ftype != 'i') { in ckpkgfiles() 1070 if (ept->ainfo.local) { in ckpkgfiles() 1072 "%s/%s", instdir, ept->ainfo.local); in ckpkgfiles() 1075 "%s/%s", instdir, ept->path); in ckpkgfiles() [all …]
|
/illumos-gate/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() 172 ept->path = ext->client_path; in validate() 175 if (RELATIVE(ept->path)) { in validate() 201 progerr(gettext(ERR_LINKFTYPE), ept->ftype, ept->path); in validate() 216 ept->ftype = argv[n++][0]; in validate() 221 progerr(gettext(ERR_FTYPE), ept->ftype, ept->path); in validate() 225 if (ept->ftype == 'b' || ept->ftype == 'c') { in validate() 230 ept->path); in validate() [all …]
|
H A D | main.c | 146 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() 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() 458 ept = &(extlist[n]->cf_ent); in main() 461 tp = fixpath(ept->path); in main() [all …]
|
/illumos-gate/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() 97 (ept->path && *ept->path) ? ept->path : in delmap() 104 if (ept->npkgs > 0) { in delmap() 113 vfpPuts(*tmpfp, ept->path); in delmap() 134 ept->ftype = (ept->ftype == 'e') ? '^' : '\0'; in delmap() 137 eptlist[eptnum] = ept; in delmap() 139 ept->path = pathdup(ept->path); in delmap() 140 if (ept->ainfo.local != NULL) in delmap() [all …]
|
H A D | main.c | 1117 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() 1179 ept->path = tmp_path; in rmclass() 1182 if (!ept->ftype || (ept->ftype == '^' && !script[0])) { in rmclass() 1210 if (rmdir(ept->path)) { in rmclass() 1223 echo("%s", ept->path); in rmclass() 1238 if (ept->npkgs > 1) { in rmclass() 1245 if (unlink(ept->path)) { in rmclass() [all …]
|
/illumos-gate/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() 281 if (f[j].ept->ftype != 'i') in splpkgmap() 290 if (!f[j].ept->volno) { in splpkgmap() 291 f[j].ept->volno = 1; in splpkgmap() 414 if (sf[i]->ept->volno || strchr("sldxcbp", sf[i]->ept->ftype)) in store() [all …]
|
/illumos-gate/usr/src/cmd/tbl/ |
H A D | tv.c | 22 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() 95 case THRU: ept += 1; break; in drawvert() 111 pos = ept-epb; in drawvert() 119 if (ept) in drawvert() [all …]
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | ckkeywd.c | 70 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 D | ckdate.c | 407 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 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 …]
|
/illumos-gate/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))
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/openhci/ |
H A D | ohci.c | 220 ohci_ed_t *ept, 228 ohci_ed_t *ept); 4048 Set_ED(ept->hced_next, in ohci_insert_intr_ed() 4082 Set_ED(ept->hced_prev, in ohci_insert_intr_ed() 4205 Set_ED(ept->hced_ctrl, (Get_ED(ept->hced_ctrl) & ~HC_EPT_sKip)); in ohci_modify_sKip_bit() 4225 Set_ED(ept->hced_ctrl, in ohci_modify_sKip_bit() 4448 ohci_ed_t *ept, in ohci_detach_ed_from_list() argument 4716 ohci_ed_t *ept) in ohci_initialize_dummy() argument 5922 Set_ED(ept->hced_tailp, in ohci_insert_hc_td() 6426 ohci_ed_t *ept; in ohci_traverse_tds() local [all …]
|
H A D | ohci_polled.c | 1869 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 D | uhci.c | 1324 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()
|