Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zfs/
H A Daggsum.c98 as->as_numbuckets = ((boot_ncpus - 1) >> as->as_bucketshift) + 1; in aggsum_init()
99 as->as_buckets = kmem_zalloc(as->as_numbuckets * in aggsum_init()
101 for (int i = 0; i < as->as_numbuckets; i++) { in aggsum_init()
110 for (int i = 0; i < as->as_numbuckets; i++) in aggsum_fini()
112 kmem_free(as->as_buckets, as->as_numbuckets * sizeof (aggsum_bucket_t)); in aggsum_fini()
138 for (int i = 0; i < as->as_numbuckets; i++) { in aggsum_value()
145 for (int i = 0; i < as->as_numbuckets; i++) { in aggsum_value()
171 as->as_numbuckets]; in aggsum_add()
226 for (i = 0; i < as->as_numbuckets; i++) { in aggsum_compare()
239 if (i >= as->as_numbuckets) in aggsum_compare()
/freebsd/sys/contrib/openzfs/include/sys/
H A Daggsum.h44 uint_t as_numbuckets; member