Searched refs:hashindex (Results 1 – 2 of 2) sorted by relevance
59 int hashindex; in username() local61 hashindex = hashit(uid); in username()62 if (is_empty_hash(hashindex) || (hash_table[hashindex].uid != uid)) in username()65 hashindex = get_user(uid); in username()67 return(hash_table[hashindex].name); in username()95 int hashindex; in enter_user() local101 hashindex = hashit(uid); in enter_user()103 if (!is_empty_hash(hashindex)) in enter_user()107 if (hash_table[hashindex].uid == uid) in enter_user()108 return(hashindex); /* Fortuitous find */ in enter_user()[all …]
80 int hashindex; in elftc_string_table_find_hash_entry() local83 hashindex = libelftc_hash_string(string) % st->st_nbuckets; in elftc_string_table_find_hash_entry()86 *rhashindex = hashindex; in elftc_string_table_find_hash_entry()88 SLIST_FOREACH(ste, &st->st_buckets[hashindex], ste_next) { in elftc_string_table_find_hash_entry()239 int hashindex; in elftc_string_table_image() local268 &hashindex); in elftc_string_table_image()269 head = &st->st_buckets[hashindex]; in elftc_string_table_image()309 int hashindex; in elftc_string_table_insert() local311 hashindex = 0; in elftc_string_table_insert()313 ste = elftc_string_table_find_hash_entry(st, string, &hashindex); in elftc_string_table_insert()[all …]