Lines Matching refs:itemstats

57 static itemstats_t itemstats[LARGEST_ID];  variable
72 memset(&itemstats[i], 0, sizeof(itemstats_t)); in item_stats_reset()
80 itemstats[i].crawler_reclaimed += reclaimed; in do_item_stats_add_crawl()
81 itemstats[i].expired_unfetched += unfetched; in do_item_stats_add_crawl()
82 itemstats[i].crawler_items_checked += checked; in do_item_stats_add_crawl()
201 itemstats[id].direct_reclaims += i; in do_item_alloc_pull()
303 itemstats[id].outofmemory++; in do_item_alloc()
449 itemstats[it->slabs_clsid].moves_to_warm++; in item_link_q_warm()
708 cur->outofmemory = itemstats[i].outofmemory; in fill_item_stats_automove()
714 cur->evicted = itemstats[i].evicted; in fill_item_stats_automove()
741 totals.evicted += itemstats[i].evicted; in item_stats_totals()
742 totals.reclaimed += itemstats[i].reclaimed; in item_stats_totals()
743 totals.expired_unfetched += itemstats[i].expired_unfetched; in item_stats_totals()
744 totals.evicted_unfetched += itemstats[i].evicted_unfetched; in item_stats_totals()
745 totals.evicted_active += itemstats[i].evicted_active; in item_stats_totals()
746 totals.crawler_reclaimed += itemstats[i].crawler_reclaimed; in item_stats_totals()
747 totals.crawler_items_checked += itemstats[i].crawler_items_checked; in item_stats_totals()
748 totals.lrutail_reflocked += itemstats[i].lrutail_reflocked; in item_stats_totals()
749 totals.moves_to_cold += itemstats[i].moves_to_cold; in item_stats_totals()
750 totals.moves_to_warm += itemstats[i].moves_to_warm; in item_stats_totals()
751 totals.moves_within_lru += itemstats[i].moves_within_lru; in item_stats_totals()
752 totals.direct_reclaims += itemstats[i].direct_reclaims; in item_stats_totals()
809 totals.evicted += itemstats[i].evicted; in item_stats()
810 totals.evicted_nonzero += itemstats[i].evicted_nonzero; in item_stats()
811 totals.reclaimed += itemstats[i].reclaimed; in item_stats()
812 totals.outofmemory += itemstats[i].outofmemory; in item_stats()
813 totals.tailrepairs += itemstats[i].tailrepairs; in item_stats()
814 totals.expired_unfetched += itemstats[i].expired_unfetched; in item_stats()
815 totals.evicted_unfetched += itemstats[i].evicted_unfetched; in item_stats()
816 totals.evicted_active += itemstats[i].evicted_active; in item_stats()
817 totals.crawler_reclaimed += itemstats[i].crawler_reclaimed; in item_stats()
818 totals.crawler_items_checked += itemstats[i].crawler_items_checked; in item_stats()
819 totals.lrutail_reflocked += itemstats[i].lrutail_reflocked; in item_stats()
820 totals.moves_to_cold += itemstats[i].moves_to_cold; in item_stats()
821 totals.moves_to_warm += itemstats[i].moves_to_warm; in item_stats()
822 totals.moves_within_lru += itemstats[i].moves_within_lru; in item_stats()
823 totals.direct_reclaims += itemstats[i].direct_reclaims; in item_stats()
835 totals.evicted_time = itemstats[i].evicted_time; in item_stats()
1146 itemstats[id].lrutail_reflocked++; in lru_pull_tail()
1151 itemstats[id].tailrepairs++; in lru_pull_tail()
1164 itemstats[id].reclaimed++; in lru_pull_tail()
1166 itemstats[id].expired_unfetched++; in lru_pull_tail()
1194 itemstats[id].moves_within_lru++; in lru_pull_tail()
1201 itemstats[id].moves_to_warm++; in lru_pull_tail()
1208 itemstats[id].moves_to_cold++; in lru_pull_tail()
1226 itemstats[id].evicted++; in lru_pull_tail()
1227 itemstats[id].evicted_time = current_time - search->time; in lru_pull_tail()
1229 itemstats[id].evicted_nonzero++; in lru_pull_tail()
1231 itemstats[id].evicted_unfetched++; in lru_pull_tail()
1234 itemstats[id].evicted_active++; in lru_pull_tail()
1249 itemstats[id].moves_to_warm++; in lru_pull_tail()