Home
last modified time | relevance | path

Searched refs:cf_ent (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dpkgdbmerg.c81 extern int cp_cfent(struct cfent *cf_ent, struct cfextra *el_ent);
97 static int merg(struct cfextra *el_ent, struct cfent *cf_ent);
99 struct cfent *cf_ent, int ctrl);
101 static int typechg(struct cfent *el_ent, struct cfent *cf_ent,
105 static void chgclass(struct cfent *cf_ent, struct pinfo *pinfo);
118 static struct cfent cf_ent; /* scratch area */ in pkgdbmerg() local
124 cf_ent.pinfo = (NULL); in pkgdbmerg()
136 if ((el_ent->cf_ent.ftype == 'i') || in pkgdbmerg()
137 (el_ent->cf_ent.ftype == 'n')) { in pkgdbmerg()
146 if ((eptnum > 0) && (strncmp(el_ent->cf_ent.path, in pkgdbmerg()
[all …]
H A Dpkgobjmap.c239 (ptrdiff_t)ext->cf_ent.path); in seed_pkgobjmap()
241 (ptrdiff_t)ext->cf_ent.path); in seed_pkgobjmap()
243 (ptrdiff_t)ext->cf_ent.path); in seed_pkgobjmap()
245 (ptrdiff_t)ext->cf_ent.ainfo.local); in seed_pkgobjmap()
247 (ptrdiff_t)ext->cf_ent.ainfo.local); in seed_pkgobjmap()
250 ext->cf_ent.path = pathdup(path); in seed_pkgobjmap()
253 ext->client_path = (ext->cf_ent.path + client_path_os); in seed_pkgobjmap()
254 ext->server_path = (ext->cf_ent.path + server_path_os); in seed_pkgobjmap()
255 ext->map_path = (ext->cf_ent.path + map_path_os); in seed_pkgobjmap()
259 ext->cf_ent.ainfo.local = pathdup(local); in seed_pkgobjmap()
[all …]
H A Ddryrun.c346 extptr[n]->cf_ent.ftype, in write_dryrun_ascii()
350 if (extptr[n]->cf_ent.ftype != 'i') in write_dryrun_ascii()
418 if (extptr[n]->cf_ent.ftype == 'i') in write_dryrun_bin()
437 if (!write_string(fd_drb, extptr[n]->cf_ent.path)) in write_dryrun_bin()
440 if (!write_string(fd_drb, extptr[n]->cf_ent.ainfo.local)) in write_dryrun_bin()
443 extptr[n]->cf_ent.pinfo = eptstat(&(extptr[n]->cf_ent), in write_dryrun_bin()
450 pkginfo = extptr[n]->cf_ent.pinfo; in write_dryrun_bin()
612 ext_entry.cf_ent.pinfo = NULL; in read_continue_bin()
625 pinfo_ptr = eptstat(&(ext_entry.cf_ent), in read_continue_bin()
/illumos-gate/usr/src/cmd/svr4pkg/installf/
H A Ddofinal.c63 entry.cf_ent.pinfo = NULL; in dofinal()
68 while (extlist && extlist[indx] && (extlist[indx]->cf_ent.ftype == 'i')) in dofinal()
76 while (n = srchcfile(&(entry.cf_ent), "*", server)) { in dofinal()
81 (entry.cf_ent.path && *(entry.cf_ent.path)) ? in dofinal()
82 entry.cf_ent.path : "Unknown"); in dofinal()
92 entry.cf_ent.path = save_path; in dofinal()
111 if (myclass && strcmp(myclass, entry->cf_ent.pkg_class)) { in check_db_entry()
124 pinfo = entry->cf_ent.pinfo; in check_db_entry()
144 (void) eptstat(&(entry->cf_ent), pkginst, '@'); in check_db_entry()
146 if (entry->cf_ent.npkgs) { in check_db_entry()
[all …]
H A Dremovef.c104 new->cf_ent.ftype = '-'; in removef()
109 new->cf_ent.path = new->client_path; in removef()
H A Dinstallf.c136 ept = &(ext->cf_ent); in validate()
277 return (strcmp(ext1->cf_ent.path, ext2->cf_ent.path)); in cfentcmp()
H A Dmain.c404 ept = &(extlist[n]->cf_ent); in main()
408 extlist[n-1]->cf_ent.path, PATH_MAX) == 0)) { in main()
458 ept = &(extlist[n]->cf_ent); in main()
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dcheck.c695 if (extlist[i]->cf_ent.ftype == 'i') { in ckconflct()
699 ept = &(extlist[i]->cf_ent); in ckconflct()
887 extlist[i]->cf_ent.path, in cksetuid()
888 extlist[i]->cf_ent.ainfo.owner, in cksetuid()
889 extlist[i]->cf_ent.ainfo.group); in cksetuid()
892 extlist[i]->cf_ent.path, in cksetuid()
893 extlist[i]->cf_ent.ainfo.owner); in cksetuid()
895 extlist[i]->cf_ent.path, in cksetuid()
896 extlist[i]->cf_ent.ainfo.group); in cksetuid()
903 extlist[i]->cf_ent.path, in cksetuid()
[all …]
H A Dinstvol.c252 ept = &(ext->cf_ent); in instvol()
257 ept = &(ext->cf_ent); in instvol()
275 parametricpath(ext->cf_ent.ainfo.local, in instvol()
305 if (is_fs_writeable(ext->cf_ent.path, in instvol()
406 parametricpath(ext->cf_ent.ainfo.local, in instvol()
681 ept = &(extlist[rfp->val]->cf_ent); in instvol()
876 ept = &(extlist[i]->cf_ent); in domerg()
1234 if ((extlist[idx]->cf_ent.ftype != 'i') && in endofclass()
1235 extlist[idx]->cf_ent.pkg_class_idx == myclass) { in endofclass()
1245 ept = &(extlist[idx]->cf_ent); in endofclass()
[all …]
H A Dsortmap.c121 n = (*extlist)[i]->cf_ent.volno; in sortmap()
152 ext[count]->cf_ent.path = ext[count]->client_path; in client_refer()
153 ext[count]->cf_ent.ainfo.local = ext[count]->client_local; in client_refer()
165 ext[count]->cf_ent.path = ext[count]->server_path; in server_refer()
166 ext[count]->cf_ent.ainfo.local = ext[count]->server_local; in server_refer()
H A Ddockspace.c207 ept = &(ext->cf_ent); in readmap()
266 ept = &(extlist[i]->cf_ent); in readmap()
/illumos-gate/usr/src/lib/libpkg/common/
H A Dcfext.h68 struct cfent cf_ent; /* basic contents file entry */ member