Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-tsd.c73 uint_t ht_bits; member
105 hash = hash_long((ulong_t)key * (ulong_t)pid, table->ht_bits); in tsd_hash_search()
188 hash = hash_long((ulong_t)key * (ulong_t)pid, table->ht_bits); in tsd_hash_add()
254 hash = hash_long((ulong_t)*keyp * (ulong_t)DTOR_PID, table->ht_bits); in tsd_hash_add_key()
296 hash = hash_long((ulong_t)PID_KEY * (ulong_t)pid, table->ht_bits); in tsd_hash_add_pid()
351 table->ht_bits = bits; in tsd_hash_table_init()
375 for (i = 0, size = (1 << table->ht_bits); i < size; i++) { in tsd_hash_table_fini()
389 kmem_free(table->ht_bins, sizeof (tsd_hash_bin_t)*(1<<table->ht_bits)); in tsd_hash_table_fini()
416 (ulong_t)entry->he_pid, table->ht_bits); in tsd_remove_entry()
433 (ulong_t)pid_entry->he_pid, table->ht_bits); in tsd_remove_entry()
[all …]