Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/openzfs/module/os/linux/spl/
H A Dspl-tsd.c72 spinlock_t ht_lock; member
177 spin_lock(&table->ht_lock); in tsd_hash_add()
198 spin_unlock(&table->ht_lock); in tsd_hash_add()
230 spin_lock(&table->ht_lock); in tsd_hash_add_key()
261 spin_unlock(&table->ht_lock); in tsd_hash_add_key()
287 spin_lock(&table->ht_lock); in tsd_hash_add_pid()
303 spin_unlock(&table->ht_lock); in tsd_hash_add_pid()
374 spin_lock(&table->ht_lock); in tsd_hash_table_fini()
413 spin_lock(&table->ht_lock); in tsd_remove_entry()
599 spin_lock(&table->ht_lock); in tsd_destroy()
[all …]
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Darc.c776 struct ht_lock { struct
777 kmutex_t ht_lock; member
787 struct ht_lock ht_locks[BUF_LOCKS]; argument
795 #define BUF_HASH_LOCK(idx) (&(BUF_HASH_LOCK_NTRY(idx).ht_lock))
1147 mutex_destroy(&buf_hash_table.ht_locks[i].ht_lock); in buf_fini()
1313 mutex_init(&buf_hash_table.ht_locks[i].ht_lock, in buf_init()