Lines Matching refs:cache_count
35 int cache_count; in memfd_tag_pins() local
41 cache_count = 1; in memfd_tag_pins()
44 cache_count = HPAGE_PMD_NR; in memfd_tag_pins()
47 page_count(page) - total_mapcount(page) != cache_count) in memfd_tag_pins()
49 if (cache_count != 1) in memfd_tag_pins()
50 xas_set(xas, page->index + cache_count); in memfd_tag_pins()
52 latency += cache_count; in memfd_tag_pins()
85 int cache_count; in memfd_wait_for_pins() local
100 cache_count = 1; in memfd_wait_for_pins()
103 cache_count = HPAGE_PMD_NR; in memfd_wait_for_pins()
105 if (!xa_is_value(page) && cache_count != in memfd_wait_for_pins()
120 latency += cache_count; in memfd_wait_for_pins()