Home
last modified time | relevance | path

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

/freebsd/sys/contrib/ck/src/
H A Dck_ht.c44 #ifndef CK_HT_BUCKET_LENGTH
52 #define CK_HT_BUCKET_LENGTH (1U << CK_HT_BUCKET_SHIFT) macro
53 #define CK_HT_BUCKET_MASK (CK_HT_BUCKET_LENGTH - 1)
146 if (n_entries < CK_HT_BUCKET_LENGTH) in ck_ht_map_create()
147 n_entries = CK_HT_BUCKET_LENGTH; in ck_ht_map_create()
247 (stride | CK_HT_BUCKET_LENGTH)) & map->mask; in ck_ht_map_probe_next()
308 for (j = 0; j < CK_HT_BUCKET_LENGTH; j++) { in ck_ht_map_probe_wr()
314 cursor = bucket + ((j + offset) & (CK_HT_BUCKET_LENGTH - 1)); in ck_ht_map_probe_wr()
523 for (j = 0; j < CK_HT_BUCKET_LENGTH; j++) { in ck_ht_map_probe_rd()
529 cursor = bucket + ((j + offset) & (CK_HT_BUCKET_LENGTH - 1)); in ck_ht_map_probe_rd()
[all …]