Lines Matching refs:endSlot
98 cache->nrHashed = dce->endSlot; in hashDce()
175 unsigned int endSlot) in freeDirCacheRange() argument
182 if(endSlot < beginSlot) { in freeDirCacheRange()
184 beginSlot, endSlot); in freeDirCacheRange()
188 while(beginSlot < endSlot) { in freeDirCacheRange()
199 clearEnd = entry->endSlot; in freeDirCacheRange()
200 if(clearEnd > endSlot) in freeDirCacheRange()
201 clearEnd = endSlot; in freeDirCacheRange()
209 if(entry->beginSlot == entry->endSlot) { in freeDirCacheRange()
232 unsigned int endSlot, in allocDirCacheEntry() argument
238 if(growDirCache(cache, endSlot) < 0) in allocDirCacheEntry()
248 entry->endSlot = endSlot; in allocDirCacheEntry()
251 freeDirCacheRange(cache, beginSlot, endSlot); in allocDirCacheEntry()
252 for(i=beginSlot; i<endSlot; i++) { in allocDirCacheEntry()
260 unsigned int endSlot, in addUsedEntry() argument
266 if(endSlot < beginSlot) { in addUsedEntry()
269 beginSlot, endSlot); in addUsedEntry()
274 entry = allocDirCacheEntry(cache, beginSlot, endSlot, DCET_USED); in addUsedEntry()
279 entry->endSlot = endSlot; in addUsedEntry()
304 for(i=next->beginSlot; i < next->endSlot; i++) in mergeFreeSlots()
306 previous->endSlot = next->endSlot; in mergeFreeSlots()
316 unsigned int endSlot, in addFreeEndEntry() argument
324 if(endSlot < beginSlot) { in addFreeEndEntry()
326 beginSlot, endSlot); in addFreeEndEntry()
330 if(endSlot == beginSlot) in addFreeEndEntry()
332 entry = allocDirCacheEntry(cache, beginSlot, endSlot, DCET_FREE); in addFreeEndEntry()
336 mergeFreeSlots(cache, endSlot); in addFreeEndEntry()
342 unsigned int endSlot) in addFreeEntry() argument
344 return addFreeEndEntry(cache, beginSlot, endSlot, 0); in addFreeEntry()