Lines Matching refs:cache_count
36 int cache_count; in memfd_tag_pins() local
42 cache_count = 1; in memfd_tag_pins()
45 cache_count = HPAGE_PMD_NR; in memfd_tag_pins()
48 page_count(page) - total_mapcount(page) != cache_count) in memfd_tag_pins()
50 if (cache_count != 1) in memfd_tag_pins()
51 xas_set(xas, page->index + cache_count); in memfd_tag_pins()
53 latency += cache_count; in memfd_tag_pins()
86 int cache_count; in memfd_wait_for_pins() local
101 cache_count = 1; in memfd_wait_for_pins()
104 cache_count = HPAGE_PMD_NR; in memfd_wait_for_pins()
106 if (!xa_is_value(page) && cache_count != in memfd_wait_for_pins()
121 latency += cache_count; in memfd_wait_for_pins()