Lines Matching refs:ent
59 Hash_ent * ent; in get_hash() local
70 for (ent = tbl->t_entry[bucket]; ent != NULL; in get_hash()
71 ent = ent->e_next) { in get_hash()
73 if ((strcmp((const char *)ent->e_key, in get_hash()
75 (id == ent->e_id))) in get_hash()
76 return (ent); in get_hash()
78 if (ent->e_key == key) in get_hash()
79 return (ent); in get_hash()
89 if ((ent = calloc(1, sizeof (Hash_ent))) == NULL) in get_hash()
92 ent->e_key = key; in get_hash()
93 ent->e_hash = hashval; in get_hash()
98 ent->e_next = tbl->t_entry[bucket]; in get_hash()
99 tbl->t_entry[bucket] = ent; in get_hash()
101 return (ent); in get_hash()