Home
last modified time | relevance | path

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

/xnu-8019.80.24/bsd/skywalk/lib/
H A Dcuckoo_hashtable.c202 uint32_t _bitmask; /* 1s' mask for quick MOD */ member
253 return __get_bucket(h, hash & h->_bitmask); in __prim_bucket()
259 return __get_bucket(h, __alt_hash(hash) & h->_bitmask); in __alt_bucket()
427 h->_bitmask = n_buckets - 1; in cuckoo_hashtable_create()
714 queue[0].bkt_idx = hash & h->_bitmask; in cuckoo_probe()
750 queue[tail].bkt_idx = __alt_hash(s->_hash) & h->_bitmask; in cuckoo_probe()
911 h->_bitmask = tmp_h->_bitmask; in cuckoo_resize()