Home
last modified time | relevance | path

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

/xnu-10002.81.5/bsd/skywalk/lib/
H A Dcuckoo_hashtable.c203 uint32_t _bitmask; /* 1s' mask for quick MOD */ member
256 return __get_bucket(h, hash & h->_bitmask); in __prim_bucket()
262 return __get_bucket(h, __alt_hash(hash) & h->_bitmask); in __alt_bucket()
421 h->_bitmask = n_buckets - 1; in cuckoo_hashtable_create()
708 queue[0].bkt_idx = hash & h->_bitmask; in cuckoo_probe()
744 queue[tail].bkt_idx = __alt_hash(s->_hash) & h->_bitmask; in cuckoo_probe()
905 h->_bitmask = tmp_h->_bitmask; in cuckoo_resize()