Home
last modified time | relevance | path

Searched refs:zero_folio (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/include/trace/events/
Dfs_dax.h65 struct folio *zero_folio,
67 TP_ARGS(inode, vmf, zero_folio, radix_entry),
72 __field(struct folio *, zero_folio)
81 __entry->zero_folio = zero_folio;
91 __entry->zero_folio,
99 struct folio *zero_folio, void *radix_entry), \
100 TP_ARGS(inode, vmf, zero_folio, radix_entry))
/linux-6.12.1/mm/
Dhuge_memory.c199 struct folio *zero_folio; in get_huge_zero_page() local
204 zero_folio = folio_alloc((GFP_TRANSHUGE | __GFP_ZERO) & ~__GFP_MOVABLE, in get_huge_zero_page()
206 if (!zero_folio) { in get_huge_zero_page()
211 folio_clear_large_rmappable(zero_folio); in get_huge_zero_page()
213 if (cmpxchg(&huge_zero_folio, NULL, zero_folio)) { in get_huge_zero_page()
215 folio_put(zero_folio); in get_huge_zero_page()
218 WRITE_ONCE(huge_zero_pfn, folio_pfn(zero_folio)); in get_huge_zero_page()
267 struct folio *zero_folio = xchg(&huge_zero_folio, NULL); in shrink_huge_zero_page_scan() local
268 BUG_ON(zero_folio == NULL); in shrink_huge_zero_page_scan()
270 folio_put(zero_folio); in shrink_huge_zero_page_scan()
[all …]
/linux-6.12.1/fs/
Ddax.c1210 struct folio *zero_folio; in dax_pmd_load_hole() local
1215 zero_folio = mm_get_huge_zero_folio(vmf->vma->vm_mm); in dax_pmd_load_hole()
1217 if (unlikely(!zero_folio)) in dax_pmd_load_hole()
1220 pfn = page_to_pfn_t(&zero_folio->page); in dax_pmd_load_hole()
1240 pmd_entry = mk_pmd(&zero_folio->page, vmf->vma->vm_page_prot); in dax_pmd_load_hole()
1244 trace_dax_pmd_load_hole(inode, vmf, zero_folio, *entry); in dax_pmd_load_hole()
1250 trace_dax_pmd_load_hole_fallback(inode, vmf, zero_folio, *entry); in dax_pmd_load_hole()