Home
last modified time | relevance | path

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

/src/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-tsd.c74 uint_t ht_bits; member
106 hash = hash_long((ulong_t)key * (ulong_t)pid, table->ht_bits); in tsd_hash_search()
189 hash = hash_long((ulong_t)key * (ulong_t)pid, table->ht_bits); in tsd_hash_add()
255 hash = hash_long((ulong_t)*keyp * (ulong_t)DTOR_PID, table->ht_bits); in tsd_hash_add_key()
297 hash = hash_long((ulong_t)PID_KEY * (ulong_t)pid, table->ht_bits); in tsd_hash_add_pid()
352 table->ht_bits = bits; in tsd_hash_table_init()
376 for (i = 0, size = (1 << table->ht_bits); i < size; i++) { in tsd_hash_table_fini()
390 kmem_free(table->ht_bins, sizeof (tsd_hash_bin_t)*(1<<table->ht_bits)); in tsd_hash_table_fini()
417 (ulong_t)entry->he_pid, table->ht_bits); in tsd_remove_entry()
434 (ulong_t)pid_entry->he_pid, table->ht_bits); in tsd_remove_entry()
[all …]