Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c294 uint64_t numbuckets; in cksummer() local
300 numbuckets = ddt.max_ddt_size / (sizeof (dedup_entry_t)); in cksummer()
306 if (!ISP2(numbuckets)) in cksummer()
307 numbuckets = 1 << high_order_bit(numbuckets); in cksummer()
309 ddt.dedup_hash_array = calloc(numbuckets, sizeof (dedup_entry_t *)); in cksummer()
312 ddt.cur_ddt_size = numbuckets * sizeof (dedup_entry_t *); in cksummer()
313 ddt.numhashbits = high_order_bit(numbuckets) - 1; in cksummer()