Lines Matching refs:generation
102 if (entry->generation != fCurrentGeneration) {
104 fGenerations[entry->generation].entries[entry->index] = NULL;
117 entry->generation = fCurrentGeneration;
143 // remove the entry from its generation and delete it
144 fGenerations[entry->generation].entries[entry->index] = NULL;
148 // to another generation. We mark it removed and the other thread will
168 int32 oldGeneration = atomic_set(&entry->generation, fCurrentGeneration);
170 // The entry is already in the current generation or is being moved to
176 // remove from old generation array
180 // add to the current generation
189 // The current generation is full, so we probably need to clear the oldest
226 // the generation might not be full yet
230 entry->generation = fCurrentGeneration;
235 // we have to clear the oldest generation
247 // set the new generation and add the entry
251 entry->generation = newGeneration;