Searched refs:h_index (Results 1 – 2 of 2) sorted by relevance
230 size_t h_index, key_len; in ht_add_item() local259 h_index = handle->ht_hash(handle, key); in ht_add_item()264 item->hi_next = handle->ht_table[h_index].he_head; in ht_add_item()265 handle->ht_table[h_index].he_head = item; in ht_add_item()267 handle->ht_table[h_index].he_count++; in ht_add_item()308 size_t h_index; in ht_remove_item() local321 h_index = handle->ht_hash(handle, key); in ht_remove_item()323 cur = handle->ht_table[h_index].he_head; in ht_remove_item()331 handle->ht_table[h_index].he_head = in ht_remove_item()347 handle->ht_table[h_index].he_count--; in ht_remove_item()[all …]
722 int h_index; in user_name() local726 h_index = uid % HASHNAMESIZE; in user_name()727 for (hp = hashtable[h_index]; hp != NULL; hp = hp->name_nxt) { in user_name()733 hp->name_nxt = hashtable[h_index]; in user_name()735 hashtable[h_index] = hp; in user_name()