Searched refs:BUF_LOCKS (Results 1 – 1 of 1) sorted by relevance
876 #define BUF_LOCKS 256 macro880 struct ht_lock ht_locks[BUF_LOCKS];887 #define BUF_HASH_LOCK_NTRY(idx) (buf_hash_table.ht_locks[idx & (BUF_LOCKS-1)])1413 for (i = 0; i < BUF_LOCKS; i++) in buf_fini()1556 for (i = 0; i < BUF_LOCKS; i++) { in buf_init()7908 size_t bph = nbuckets / BUF_LOCKS; /* buckets per hash */ in arc_dump()7915 aih->aih_buf_locks = BUF_LOCKS; in arc_dump()7930 bucket = (i / bph) + (i % bph) * BUF_LOCKS; in arc_dump()