Home
last modified time | relevance | path

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

/freebsd/sys/contrib/ck/include/
H A Dck_ht.h87 #ifndef CK_HT_KEY_EMPTY
88 #define CK_HT_KEY_EMPTY ((uintptr_t)0) macro
92 #define CK_HT_KEY_TOMBSTONE (~CK_HT_KEY_EMPTY)
138 return entry->key == CK_HT_KEY_EMPTY; in ck_ht_entry_empty()
/freebsd/sys/contrib/ck/src/
H A Dck_ht.c330 if (cursor->key == CK_HT_KEY_EMPTY) in ck_ht_map_probe_wr()
420 if (entry->key == CK_HT_KEY_EMPTY || in ck_ht_gc()
552 if (snapshot->key == CK_HT_KEY_EMPTY) in ck_ht_map_probe_rd()
621 if (key != CK_HT_KEY_EMPTY && key != CK_HT_KEY_TOMBSTONE) in ck_ht_next()
712 if (CK_CC_LIKELY(cursor->key == CK_HT_KEY_EMPTY)) { in ck_ht_grow_spmc()
764 if (candidate == NULL || snapshot.key == CK_HT_KEY_EMPTY) in ck_ht_remove_spmc()
811 if (candidate == NULL || snapshot.key == CK_HT_KEY_EMPTY) in ck_ht_get_spmc()
860 if (candidate->key != CK_HT_KEY_EMPTY && in ck_ht_set_spmc()
907 bool replace = candidate->key != CK_HT_KEY_EMPTY && in ck_ht_set_spmc()
947 entry->key = CK_HT_KEY_EMPTY; in ck_ht_set_spmc()
[all …]