Searched refs:idx_new (Results 1 – 2 of 2) sorted by relevance
317 unsigned i, idx_cur, idx_new, idx_min; in manager_sample_spike_detection() local331 idx_new = (idx_cur + 1) % ELEMENTSOF(m->samples); in manager_sample_spike_detection()332 m->samples_idx = idx_new; in manager_sample_spike_detection()333 m->samples[idx_new].offset = offset; in manager_sample_spike_detection()334 m->samples[idx_new].delay = delay; in manager_sample_spike_detection()
1494 unsigned old_hash, new_hash, idx_old, idx_new; in hashmap_remove_and_replace() local1507 idx_new = bucket_scan(h, new_hash, new_key); in hashmap_remove_and_replace()1508 if (idx_new != IDX_NIL) in hashmap_remove_and_replace()1509 if (idx_old != idx_new) { in hashmap_remove_and_replace()1510 remove_entry(h, idx_new); in hashmap_remove_and_replace()