Lines Matching refs:ent
149 Hash_ent *ent;
187 if ((ent = get_hash(tbl, ino, 0,
194 if ((obj = ent->e_obj) == NULL) {
211 ent->e_obj = obj;
213 return (ent);
221 _enterdir(Crle_desc *crle, const char *dir, Hash_ent *ent, Hash_obj *obj)
234 ent->e_key = (Addr)ndir;
235 ent->e_id = crle->c_dirnum++;
236 ent->e_obj = obj;
258 (void) printf(fmt, ent->e_id, dir);
270 Hash_ent *ent;
298 if ((ent = enterino(crle, ndir, status, flags)) == NULL)
300 obj = ent->e_obj;
305 if ((ent = get_hash(stbl, (Addr)ndir, 0,
313 if (ent->e_id == 0) {
314 if (_enterdir(crle, ndir, ent, obj) == 0)
323 return (ent);
328 if ((ent = get_hash(stbl, (Addr)odir, 0,
336 if (ent->e_id == 0) {
337 if (_enterdir(crle, odir, ent, obj) == 0)
341 return (ent);
351 Hash_ent *ent;
356 if ((ent = get_hash(crle->c_strtbl, (Addr)dir, 0,
364 if (ent->e_id == 0) {
371 if (_enterdir(crle, dir, ent, obj) == 0)
374 return (ent);
449 Hash_ent *rent, *ent;
487 if ((ent = get_hash(crle->c_strtbl, (Addr)file, dent->e_id,
491 if (ent->e_id == 0) {
492 if (_enterfile(crle, file, off, ent, rent, dent, obj) == 0)
495 return (ent);
507 Hash_ent *ent, *rent, *ndent = odent;
552 if ((ent = enterino(crle, npath, status, flags)) == NULL)
554 obj = ent->e_obj;
588 if ((ent = get_hash(stbl, (Addr)nfile, ndent->e_id,
591 if (ent->e_id == 0) {
592 if (_enterfile(crle, nfile, off, ent, rent, ndent, obj) == 0)
602 return (ent);
607 if ((ent = enterino(crle, opath, status, 0)) == NULL)
609 obj = ent->e_obj;
633 if ((ent = get_hash(stbl, (Addr)ofile, odent->e_id,
636 if (ent->e_id == 0) {
637 if (_enterfile(crle, ofile, off, ent, rent, odent, obj) == 0)
641 return (ent);
651 Hash_ent *ent;
668 if ((ent = get_hash(tbl, ino, 0, HASH_FND_ENT)) == NULL)
675 if ((ent = enterfile(crle, path, file, flags, dent,
678 obj = ent->e_obj;
779 if ((ent = enterfile(crle, path, file, flags, dent, status)) == NULL) {
783 obj = ent->e_obj;
818 ent = get_hash(crle->c_strtbl, (Addr)path, 0,
822 crle->c_app = (char *)ent->e_key;
850 Hash_ent *ent;
860 if ((ent = get_hash(stbl, (Addr)name, 0, HASH_FND_ENT)) != NULL) {
861 if (ent->e_obj->o_flags & RTC_OBJ_ALLENTS)
867 if ((ent = enterdir(crle, name, (flags | RTC_OBJ_ALLENTS),
871 ent->e_obj->o_flags |= RTC_OBJ_ALLENTS;
914 if (inspect_file(crle, path, file, flags, ent, &_status, 0)) {
938 Hash_ent *ent;
984 if ((ent = enternoexistdir(crle, name)) == NULL)
986 ent->e_flags |= flags;
1003 ent = get_hash(crle->c_strtbl, (Addr)name, 0, HASH_FND_ENT);
1004 ent->e_flags |= flags;
1045 if ((ent = get_hash(crle->c_strtbl,
1062 if ((ent = enternoexistdir(crle, dir)) == NULL)
1064 ent->e_flags |= nflags;
1067 if ((ent = enterdir(crle, dir, nflags,
1080 if ((ent = enternoexistfile(crle, name, file, ent)) == NULL)
1082 ent->e_flags |= nflags;
1083 if (enteralt(crle, name, file, flags, ent->e_obj) == 0)
1086 if (inspect_file(crle, name, file, nflags, ent, &status, 1))
1093 if (ent = get_hash(crle->c_strtbl, (Addr)name, 0, HASH_FND_ENT))
1094 ent->e_flags |= (flags & RTC_OBJ_CMDLINE);