Searched refs:h_index (Results 1 – 3 of 3) sorted by relevance
232 size_t h_index, key_len; in ht_add_item() local261 h_index = handle->ht_hash(handle, key); in ht_add_item()266 item->hi_next = handle->ht_table[h_index].he_head; in ht_add_item()267 handle->ht_table[h_index].he_head = item; in ht_add_item()269 handle->ht_table[h_index].he_count++; in ht_add_item()310 size_t h_index; in ht_remove_item() local323 h_index = handle->ht_hash(handle, key); in ht_remove_item()325 cur = handle->ht_table[h_index].he_head; in ht_remove_item()333 handle->ht_table[h_index].he_head = in ht_remove_item()349 handle->ht_table[h_index].he_count--; in ht_remove_item()[all …]
724 int h_index; in user_name() local728 h_index = uid % HASHNAMESIZE; in user_name()729 for (hp = hashtable[h_index]; hp != NULL; hp = hp->name_nxt) { in user_name()735 hp->name_nxt = hashtable[h_index]; in user_name()737 hashtable[h_index] = hp; in user_name()
270 idnhlog.h_log[idnhlog.h_index].e_time = TIMESTAMP(); \271 idnhlog.h_log[idnhlog.h_index].e_op = (ushort_t)(op); \272 idnhlog.h_log[idnhlog.h_index].e_data[0] = (ushort_t)(d0); \273 idnhlog.h_log[idnhlog.h_index].e_data[1] = (ushort_t)(d1); \274 idnhlog.h_log[idnhlog.h_index].e_data[2] = (ushort_t)(d2); \275 idnhlog.h_index++; \276 idnhlog.h_index &= (IDN_HISTORY_NUM - 1); \296 int h_index; member