Home
last modified time | relevance | path

Searched refs:h_index (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_ht.c230 size_t h_index, key_len; in ht_add_item() local
259 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() local
321 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 …]
/illumos-gate/usr/src/cmd/fs.d/ufs/ff/
H A Dff.c722 int h_index; in user_name() local
726 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()