Home
last modified time | relevance | path

Searched refs:extra_pins (Results 1 – 2 of 2) sorted by relevance

/mm/
Dmemory-failure.c831 bool extra_pins) in has_extra_refcount() argument
835 if (extra_pins) in has_extra_refcount()
875 bool extra_pins; in me_pagecache_clean() local
908 extra_pins = shmem_mapping(mapping); in me_pagecache_clean()
916 if (has_extra_refcount(ps, p, extra_pins)) in me_pagecache_clean()
999 bool extra_pins = false; in me_swapcache_dirty() local
1009 extra_pins = true; in me_swapcache_dirty()
1011 if (has_extra_refcount(ps, p, extra_pins)) in me_swapcache_dirty()
1043 bool extra_pins = false; in me_huge_page() local
1052 extra_pins = true; in me_huge_page()
[all …]
Dhuge_memory.c2584 int extra_pins; in can_split_huge_page() local
2588 extra_pins = PageSwapCache(page) ? thp_nr_pages(page) : 0; in can_split_huge_page()
2590 extra_pins = thp_nr_pages(page); in can_split_huge_page()
2592 *pextra_pins = extra_pins; in can_split_huge_page()
2593 return total_mapcount(page) == page_count(page) - extra_pins - 1; in can_split_huge_page()
2621 int extra_pins, ret; in split_huge_page_to_list() local
2681 if (!can_split_huge_page(head, &extra_pins)) { in split_huge_page_to_list()
2704 if (page_ref_freeze(head, 1 + extra_pins)) { in split_huge_page_to_list()