Lines Matching refs:endSlot
95 cache->nrHashed = dce->endSlot;
164 unsigned int endSlot)
171 if(endSlot < beginSlot) {
173 beginSlot, endSlot);
177 while(beginSlot < endSlot) {
184 clearEnd = entry->endSlot;
185 if(clearEnd > endSlot)
186 clearEnd = endSlot;
192 if(entry->endSlot == endSlot)
193 entry->endSlot = beginSlot;
195 entry->beginSlot = endSlot;
199 fprintf(stderr, "%d %d\n", beginSlot, endSlot);
201 entry->endSlot);
205 if(entry->beginSlot == entry->endSlot) {
218 int endSlot,
224 if(growDirCache(cache, endSlot) < 0)
234 entry->endSlot = endSlot;
236 freeDirCacheRange(cache, beginSlot, endSlot);
237 for(i=beginSlot; i<endSlot; i++) {
243 dirCacheEntry_t *addUsedEntry(dirCache_t *cache, int beginSlot, int endSlot,
249 if(endSlot < beginSlot) {
252 beginSlot, endSlot);
257 entry = allocDirCacheEntry(cache, beginSlot, endSlot, DCET_USED);
262 entry->endSlot = endSlot;
282 for(i=next->beginSlot; i < next->endSlot; i++)
284 previous->endSlot = next->endSlot;
291 unsigned int endSlot)
298 if(endSlot < beginSlot) {
300 beginSlot, endSlot);
304 if(endSlot == beginSlot)
306 entry = allocDirCacheEntry(cache, beginSlot, endSlot, DCET_FREE);
308 mergeFreeSlots(cache, endSlot);