Home | History | Annotate | Download | only in disk_cache

Lines Matching defs:info

73   // We grab a bunch of info from the backend to make the code a little cleaner
272 EntryStore* info = entry->entry()->Data();
273 DCHECK(ENTRY_NORMAL == info->state);
276 info->state = ENTRY_EVICTED;
375 EntryStore* info = entry->entry()->Data();
376 DCHECK(ENTRY_NORMAL == info->state);
378 if (info->reuse_count < kint32max) {
379 info->reuse_count++;
383 if (1 == info->reuse_count) {
387 } else if (kHighUse == info->reuse_count) {
396 EntryStore* info = entry->entry()->Data();
397 switch (info->state) {
399 DCHECK(!info->reuse_count);
400 DCHECK(!info->refetch_count);
404 if (info->refetch_count < kint32max)
405 info->refetch_count++;
407 if (info->refetch_count > kHighUse && info->reuse_count < kHighUse) {
408 info->reuse_count = kHighUse;
410 info->reuse_count++;
412 info->state = ENTRY_NORMAL;
425 EntryStore* info = entry->entry()->Data();
426 if (ENTRY_NORMAL != info->state)
430 info->state = ENTRY_DOOMED;
437 info->state = ENTRY_DOOMED;
450 EntryStore* info = entry->entry()->Data();
451 DCHECK(ENTRY_NORMAL == info->state);
453 if (!info->reuse_count)
456 if (info->reuse_count < kHighUse)