Lines Matching refs:entry
56 #define ERR_WRITE "write of entry failed"
171 struct cfent entry;
182 entry.volno = 0;
183 entry.ftype = '?';
184 entry.path = mypath;
185 (void) strlcpy(entry.pkg_class, def_class, sizeof (entry.pkg_class));
186 (void) strlcpy(entry.path, path, PATH_MAX);
187 entry.ainfo.local = NULL;
188 entry.ainfo.mode = BADMODE;
189 (void) strlcpy(entry.ainfo.owner, BADOWNER, sizeof (entry.ainfo.owner));
190 (void) strlcpy(entry.ainfo.group, BADGROUP, sizeof (entry.ainfo.group));
194 entry.ftype = '?';
195 if (cverify(0, &entry.ftype, path, &entry.cinfo, 1)) {
210 if ((s = averify(0, &entry.ftype, path, &entry.ainfo)) == VE_EXIST &&
212 entry.ftype = 's'; /* try again assuming symlink */
216 entry.ainfo.local = mylocal;
217 if (averify(0, &entry.ftype, path, &entry.ainfo)) {
237 if (strchr("fev", entry.ftype)) {
238 entry.ainfo.local = mylocal;
239 (void) strlcpy(entry.ainfo.local, entry.path,
241 canonize(entry.ainfo.local);
244 entry.ainfo.local = mylocal;
245 (void) strlcpy(entry.path, local, PATH_MAX);
246 (void) strcat(entry.path, path+n);
248 (void) strlcpy(entry.path,
253 canonize(entry.path);
254 if (entry.path[0]) {
255 findlink(&entry, path, entry.path);
256 if (strchr("dcbp", entry.ftype) ||
257 (nflag && !strchr("sl", entry.ftype)))
258 entry.ainfo.local = NULL;
259 if (ppkgmap(&entry, stdout)) {