/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | ppkgmap.c | 43 ppkgmap(struct cfent *ept, FILE *fp) argument 45 if (ept->path == NULL) 48 if (ept->volno) { 49 if (fprintf(fp, "%d ", ept->volno) < 0) 53 if (ept->ftype == 'i') { 54 if (fprintf(fp, "%c %s", ept->ftype, ept->path) < 0) 57 if (fprintf(fp, "%c %s %s", ept->ftype, ept->pkg_class, 58 ept [all...] |
H A D | srchcfile.c | 58 static char lpath[PATH_MAX]; /* for ept->path */ 59 static char mylocal[PATH_MAX]; /* for ept->ainfo.local */ 94 * Arguments: ept - (struct cfent *) - [RO, *RW] 115 * - The ept structure supplied is filled in with a description of 117 * case of '0' in which case the contents of 'ept' is undefined. 118 * - NOTE: the ept->path item points to a path that is statically 120 * - NOTE: the ept->ainfo.local item points to a path that is 125 srchcfile(struct cfent *ept, char *path, PKGserver server) argument 150 /* initialize ept structure values */ 152 (void) strlcpy(ept [all...] |
H A D | tputcfent.c | 45 tputcfent(struct cfent *ept, FILE *fp) argument 53 if (ept->path == NULL) 56 (void) fprintf(fp, pkg_gt("Pathname: %s\n"), ept->path); 59 switch (ept->ftype) { 91 (ept->ftype == 'b') ? pkg_gt("block") : 94 if (ept->ainfo.major == BADMAJOR) 99 ept->ainfo.major); 101 if (ept->ainfo.minor == BADMINOR) 106 ept->ainfo.minor); 112 pt = (ept [all...] |
H A D | gpkgmap.c | 134 gpkgmap(struct cfent *ept, FILE *fp) argument 140 ept->volno = 0; 141 ept->ftype = BADFTYPE; 142 (void) strcpy(ept->pkg_class, BADCLASS); 143 ept->pkg_class_idx = -1; 144 ept->path = NULL; 145 ept->ainfo.local = NULL; 147 ept->ainfo.mode = d_mode; 148 (void) strcpy(ept->ainfo.owner, d_owner); 149 (void) strcpy(ept 636 gpkgmapvfp(struct cfent *ept, VFP_T *vfp) argument [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);
|
/illumos-gate/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) argument 75 errflg = finalck_warning(ept, attrchg, contchg); 77 errflg = finalck_error(ept, attrchg, contchg); 82 echoDebug(DBG_FINALCK_EXIT, errflg, ept->ftype, 83 ept->path ? ept->path : ""); 95 finalck_error(struct cfent *ept, int attrchg, int contchg) argument 101 echoDebug(DBG_FINALCK_ERROR, attrchg, contchg, ept 153 finalck_warning(struct cfent *ept, int attrchg, int contchg) argument [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, argument 99 if (nc >= 0 && ept->ftype != 'i') 100 if ((ept->pkg_class_idx = cl_idx(ept->pkg_class)) == -1) 103 if (ept->volno > nparts) 113 if ((mapflag > 1) && strchr("fve", ept->ftype)) { 114 if (ept->ainfo.local == NULL) { 116 (void) strcpy(&source[1], ept->path); 117 ept 198 struct cfent *ept = (struct cfent *)NULL; local 290 struct cfent *ept, *ept_i; local [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, argument 103 if (nc >= 0 && ept->ftype != 'i') 104 if ((ept->pkg_class_idx = cl_idx(ept->pkg_class)) == -1) 107 if (ept->volno > nparts) 117 if ((mapflag > 1) && strchr("fve", ept->ftype)) { 118 if (ept->ainfo.local == NULL) { 120 (void) strlcpy(&source[1], ept->path, 122 ept 286 struct cfent *ept, map_entry; local 390 struct cfent *ept, *ept_i; local [all...] |
/illumos-gate/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, argument 70 if (ept->ftype != 'i') { 72 mappath(2, ept->path); 74 basepath(ept->path, maptyp ? NULL : basedir, ir); 76 canonize(ept->path); 77 if (strchr("sl", ept->ftype)) { 79 mappath(2, ept->ainfo.local); 80 if (!RELATIVE(ept->ainfo.local)) { /* Absolute Path */ 82 if (ept 288 findspool(struct cfent *ept) argument [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/pkgremove/ |
H A D | delmap.c | 61 struct cfent *ept; local 84 ept = (struct cfent *)calloc(1, 86 if (!ept) { 92 while (n = srchcfile(ept, "*", *pkgserver)) { 97 (ept->path && *ept->path) ? ept->path : 103 pinfo = eptstat(ept, pkginst, (flag ? '@' : '-')); 104 if (ept->npkgs > 0) { 105 if (putcvfpfile(ept, *tmpf [all...] |
H A D | main.c | 1122 struct cfent *ept; local 1174 ept = eptlist[i]; 1176 if ((ept == NULL) || strcmp(aclass, ept->pkg_class)) { 1182 save_path = ept->path; 1183 tmp_path = fixpath(ept->path); 1184 ept->path = tmp_path; 1187 if (!ept->ftype || (ept->ftype == '^' && !script[0])) { 1197 echo(MSG_SHARED, ept [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/installf/ |
H A D | installf.c | 134 struct cfent *ept; local 136 ept = &(ext->cf_ent); 139 ept->pinfo = NULL; 140 (void) gpkgmapvfp(ept, (VFP_T *)NULL); /* This just clears stuff. */ 144 (void) strncpy(ept->pkg_class, classname, CLSSIZ); 172 ept->path = ext->client_path; 175 if (RELATIVE(ept->path)) { 176 progerr(gettext(ERR_RELPATH), ept->path); 182 ept->ftype = ((n >= argc) ? 'l' : argv[n++][0]); 186 progerr(gettext(ERR_LINK), ept [all...] |
H A D | main.c | 147 struct cfent *ept; local 405 ept = &(extlist[n]->cf_ent); 408 if ((n > 0) && (strncmp(ept->path, 420 if (ept->pinfo && 421 (ept->pinfo->status == SERVED_FILE) && 433 if (strncmp(ept->path, temp_cl_basedir, 439 &(ept->path[c])); 443 "%s\n", &(ept->path[c])); 448 &(ept->path[c])); 451 "%s\n", &(ept [all...] |
/illumos-gate/usr/src/cmd/tbl/ |
H A D | tv.c | 24 int tp=0, sl, ln, pos, epb, ept, vm; local 31 epb=ept=0; 67 ept=0; 75 ext= ".5m"; ept = -1; break; 80 ept = -4; 84 ept=0; 90 case THRU: ept += 1; break; 91 case LEFT: ept += (ln==0 ? 1 : -1); break; 92 case RIGHT: ept += (ln==1 ? 1 : -1); break; 97 case THRU: ept [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | instvol.c | 155 struct cfent *ept; local 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 848 struct cfent *ept = (struct cfent *)NULL; local 1215 struct cfent *ept; /* entry from the internal list */ local 1444 struct cfent *ept; local [all...] |
H A D | dockspace.c | 192 struct cfent *ept; local 203 ept = &(ext->cf_ent); 205 if (ept->ftype != 'i') 213 if (strcmp(ept->path, "pkginfo") == 0) 214 (void) sprintf(tpath, "%s/%s", pkgloc, ept->path); 217 ept->path); 249 if (ept->cinfo.size != BADCONT) 250 blk = nblk(ept->cinfo.size, 262 ept = &(extlist[i]->cf_ent); 264 if (ept [all...] |
H A D | check.c | 692 struct cfent *ept; local 699 ept = &(extlist[i]->cf_ent); 702 if (is_remote_fs(ept->path, &(extlist[i]->fsys_value)) && 703 !is_fs_writeable(ept->path, 716 if (ept->ftype == 'e') { 741 (mstat->rogue) ? "*" : " ", ept->path); 744 "conflict-contents=%s\n", ept->path); 758 (mstat->rogue) ? "*" : " ", ept->path); 761 "conflict-attributes=%s\n", ept->path); 1059 struct cfent *ept; local [all...] |
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | ckkeywd.c | 71 char *ept; local 74 ept = defmesg + strlen(defmesg); 77 (void) strcat(ept, ", "); 78 (void) strcat(ept, keyword[i++]); 80 (void) strcat(ept, ckquit ? ", q." : ".");
|
H A D | ckdate.c | 411 char *ept, end[128]; local 413 ept = end; 414 *ept = '\0'; 420 (void) sprintf(ept, "[?,q]");
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/ |
H A D | splpkgmap.c | 66 struct cfent *ept; member in struct:data 103 struct cfent *ept; local 189 f[i].ept = ept = eptlist[i]; 190 if (ept->volno > nparts) 191 nparts = ept->volno; 192 addclass(ept->pkg_class, 0); 193 if (strchr("dxslcbp", ept->ftype)) 207 f[i].blks = nblk(ept->cinfo.size, bsize, frsize); 209 if (!bpkginfo && (strcmp(f[i].ept [all...] |
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/ |
H A D | cmd_dperr.c | 223 cmd_dp_t *dpt, *ept; local 288 ept = cmd_dp_lookup_error(dpt); 289 if (ept != NULL && !fmd_case_closed(hdl, ept->dp_case)) { 292 fmd_case_add_ereport(hdl, ept->dp_case, ep); 294 if (dpt->dp_t_value != ept->dp_t_value) { 297 fmd_timer_remove(hdl, ept->dp_id); 298 ep = fmd_case_getprincipal(hdl, ept->dp_case); 299 ept->dp_id = fmd_timer_install(hdl, 347 ept [all...] |
/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) argument 457 ept->ainfo.local = mylocal; 458 ept->ftype = 's'; 463 (void) strlcpy(ept->ainfo.local, 466 (void) strncpy(ept->ainfo.local, buf, n); 467 ept->ainfo.local[n] = '\0'; 481 ept->ftype = 'l'; 482 ept->ainfo.local = mylocal; 483 (void) strlcpy(ept [all...] |
/illumos-gate/usr/src/uts/common/sys/usb/hcd/uhci/ |
H A D | uhcid.h | 280 queue_head_t *pp_qh; /* Pipe's ept */ 501 #define UHCI_XFER_TYPE(ept) ((ept)->bmAttributes & USB_EP_ATTR_MASK) 502 #define UHCI_XFER_DIR(ept) ((ept)->bEndpointAddress & \ 540 #define UHCI_PERIODIC_ENDPOINT(ept) \ 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); 3945 ohci_ed_t *ept = pp->pp_ept; local 3959 Set_ED(prev_ept->hced_prev, ohci_ed_cpu_to_iommu(ohcip, ept)); 3963 Set_ED(ept->hced_next, Get_OpReg(hcr_ctrl_head)); 3966 Set_OpReg(hcr_ctrl_head, ohci_ed_cpu_to_iommu(ohcip, ept)); 3992 ohci_ed_t *ept = pp->pp_ept; local 4006 Set_ED(prev_ept->hced_prev, ohci_ed_cpu_to_iommu(ohcip, ept)); 4010 Set_ED(ept->hced_next, Get_OpReg(hcr_bulk_head)); 4013 Set_OpReg(hcr_bulk_head, ohci_ed_cpu_to_iommu(ohcip, ept)); 4040 ohci_ed_t *ept = pp->pp_ept; local 4138 ohci_ed_t *ept = pp->pp_ept; local 4205 ohci_ed_t *ept = pp->pp_ept; local 4304 ohci_ed_t *ept = pp->pp_ept; /* ept to be removed */ local 4354 ohci_ed_t *ept = pp->pp_ept; /* ept to be removed */ local 4405 ohci_ed_t *ept = pp->pp_ept; /* ept to be removed */ local 4462 ohci_detach_ed_from_list( ohci_state_t *ohcip, ohci_ed_t *ept, uint_t ept_type) argument 4591 ohci_ed_t *ept = pp->pp_ept; /* ept to be removed */ local 4732 ohci_initialize_dummy( ohci_state_t *ohcip, ohci_ed_t *ept) argument 5879 ohci_ed_t *ept = pp->pp_ept; local 6265 ohci_ed_t *ept = pp->pp_ept; local 6444 ohci_ed_t *ept; local 10417 ohci_ed_t *ept = pp->pp_ept; local [all...] |
H A D | ohci_polled.c | 1866 ohci_ed_t *ept; local 1908 ept = pp->pp_ept; 1930 (ohci_td_iommu_to_cpu(ohcip, Get_ED(ept->hced_tailp))); 1947 Set_ED(ept->hced_tailp, (ohci_td_cpu_to_iommu(ohcip, td))); 2244 ohci_ed_t *ept = pp->pp_ept; local 2257 (ohci_td_iommu_to_cpu(ohcip, Get_ED(ept->hced_tailp))); 2271 Set_ED(ept->hced_tailp,
|