Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dmemory-failure.c986 bool extra_pins) in has_extra_refcount() argument
990 if (extra_pins) in has_extra_refcount()
1030 bool extra_pins; in me_pagecache_clean() local
1063 extra_pins = shmem_mapping(mapping); in me_pagecache_clean()
1071 if (has_extra_refcount(ps, p, extra_pins)) in me_pagecache_clean()
1154 bool extra_pins = false; in me_swapcache_dirty() local
1164 extra_pins = true; in me_swapcache_dirty()
1166 if (has_extra_refcount(ps, p, extra_pins)) in me_swapcache_dirty()
1199 bool extra_pins = false; in me_huge_page() local
1205 extra_pins = true; in me_huge_page()
[all …]
H A Dhuge_memory.c2584 int extra_pins; in can_split_folio() local
2588 extra_pins = folio_test_swapcache(folio) ? in can_split_folio()
2591 extra_pins = folio_nr_pages(folio); in can_split_folio()
2593 *pextra_pins = extra_pins; in can_split_folio()
2594 return folio_mapcount(folio) == folio_ref_count(folio) - extra_pins - 1; in can_split_folio()
2623 int extra_pins, ret; in split_huge_page_to_list() local
2700 if (!can_split_folio(folio, &extra_pins)) { in split_huge_page_to_list()
2722 if (folio_ref_freeze(folio, 1 + extra_pins)) { in split_huge_page_to_list()