Lines Matching refs:priority

414 		struct ck_ht_entry *entry, *priority, snapshot;  in ck_ht_gc()  local
432 entry = ck_ht_map_probe_wr(map, h, &snapshot, &priority, in ck_ht_gc()
442 entry = ck_ht_map_probe_wr(map, h, &snapshot, &priority, in ck_ht_gc()
450 if (priority != NULL) { in ck_ht_gc()
454 CK_HT_TYPE_STORE(&priority->key_length, entry->key_length); in ck_ht_gc()
455 CK_HT_TYPE_STORE(&priority->hash, entry->hash); in ck_ht_gc()
457 ck_pr_store_ptr_unsafe(&priority->value, (void *)entry->value); in ck_ht_gc()
459 ck_pr_store_ptr_unsafe(&priority->key, (void *)entry->key); in ck_ht_gc()
823 struct ck_ht_entry snapshot, *candidate, *priority; in ck_ht_set_spmc() local
832 candidate = ck_ht_map_probe_wr(map, h, &snapshot, &priority, in ck_ht_set_spmc()
837 candidate = ck_ht_map_probe_wr(map, h, &snapshot, &priority, in ck_ht_set_spmc()
843 if (priority != NULL) { in ck_ht_set_spmc()
856 candidate = priority; in ck_ht_set_spmc()
861 priority != NULL && candidate != priority) { in ck_ht_set_spmc()
872 CK_HT_TYPE_STORE(&priority->key_length, entry->key_length); in ck_ht_set_spmc()
873 CK_HT_TYPE_STORE(&priority->hash, entry->hash); in ck_ht_set_spmc()
881 if (priority->value == CK_HT_KEY_TOMBSTONE) { in ck_ht_set_spmc()
886 ck_pr_store_ptr_unsafe(&priority->value, (void *)entry->value); in ck_ht_set_spmc()
888 ck_pr_store_ptr_unsafe(&priority->key, (void *)entry->key); in ck_ht_set_spmc()
910 if (priority != NULL) { in ck_ht_set_spmc()
911 if (priority->key == CK_HT_KEY_TOMBSTONE) { in ck_ht_set_spmc()
916 candidate = priority; in ck_ht_set_spmc()
960 struct ck_ht_entry snapshot, *candidate, *priority; in ck_ht_put_spmc() local
968 candidate = ck_ht_map_probe_wr(map, h, &snapshot, &priority, in ck_ht_put_spmc()
973 candidate = ck_ht_map_probe_wr(map, h, &snapshot, &priority, in ck_ht_put_spmc()
979 if (candidate != NULL || priority != NULL) in ck_ht_put_spmc()
986 if (priority != NULL) { in ck_ht_put_spmc()
992 candidate = priority; in ck_ht_put_spmc()