Home
last modified time | relevance | path

Searched refs:zero_page (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/include/trace/events/
Dfs_dax.h65 struct page *zero_page,
67 TP_ARGS(inode, vmf, zero_page, radix_entry),
72 __field(struct page *, zero_page)
81 __entry->zero_page = zero_page;
91 __entry->zero_page,
99 struct page *zero_page, void *radix_entry), \
100 TP_ARGS(inode, vmf, zero_page, radix_entry))
/kernel/linux/linux-5.10/arch/arm/mm/
Dnommu.c158 void *zero_page; in paging_init() local
164 zero_page = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in paging_init()
165 if (!zero_page) in paging_init()
171 empty_zero_page = virt_to_page(zero_page); in paging_init()
Dmmu.c1666 void *zero_page; in paging_init() local
1680 zero_page = early_alloc(PAGE_SIZE); in paging_init()
1684 empty_zero_page = virt_to_page(zero_page); in paging_init()
/kernel/linux/linux-5.10/arch/nds32/mm/
Dinit.c140 void *zero_page; in paging_init() local
152 zero_page = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in paging_init()
153 if (!zero_page) in paging_init()
158 empty_zero_page = virt_to_page(zero_page); in paging_init()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dhibernate-asm.S25 .macro break_before_make_ttbr_switch zero_page, page_table, tmp, tmp2
26 phys_to_ttbr \tmp, \zero_page
Dhibernate.c645 void *zero_page; in swsusp_arch_resume() local
665 zero_page = (void *)get_safe_page(GFP_ATOMIC); in swsusp_arch_resume()
666 if (!zero_page) { in swsusp_arch_resume()
711 resume_hdr.__hyp_stub_vectors, virt_to_phys(zero_page)); in swsusp_arch_resume()
/kernel/linux/linux-5.10/mm/
Dhuge_memory.c92 struct page *zero_page; in get_huge_zero_page() local
97 zero_page = alloc_pages((GFP_TRANSHUGE | __GFP_ZERO) & ~__GFP_MOVABLE, in get_huge_zero_page()
99 if (!zero_page) { in get_huge_zero_page()
105 if (cmpxchg(&huge_zero_page, NULL, zero_page)) { in get_huge_zero_page()
107 __free_pages(zero_page, compound_order(zero_page)); in get_huge_zero_page()
110 WRITE_ONCE(huge_zero_pfn, page_to_pfn(zero_page)); in get_huge_zero_page()
158 struct page *zero_page = xchg(&huge_zero_page, NULL); in shrink_huge_zero_page_scan() local
159 BUG_ON(zero_page == NULL); in shrink_huge_zero_page_scan()
161 __free_pages(zero_page, compound_order(zero_page)); in shrink_huge_zero_page_scan()
697 struct page *zero_page) in set_huge_zero_page() argument
[all …]
/kernel/linux/linux-5.10/drivers/dma/
Dbcm2835-dma.c50 dma_addr_t zero_page; member
750 if (buf_addr == od->zero_page && !c->is_lite_channel) in bcm2835_dma_prep_dma_cyclic()
852 dma_unmap_page_attrs(od->ddev.dev, od->zero_page, PAGE_SIZE, in bcm2835_dma_free()
937 od->zero_page = dma_map_page_attrs(od->ddev.dev, ZERO_PAGE(0), 0, in bcm2835_dma_probe()
940 if (dma_mapping_error(od->ddev.dev, od->zero_page)) { in bcm2835_dma_probe()
/kernel/linux/linux-5.10/fs/
Ddax.c1438 struct page *zero_page; in dax_pmd_load_hole() local
1443 zero_page = mm_get_huge_zero_page(vmf->vma->vm_mm); in dax_pmd_load_hole()
1445 if (unlikely(!zero_page)) in dax_pmd_load_hole()
1448 pfn = page_to_pfn_t(zero_page); in dax_pmd_load_hole()
1468 pmd_entry = mk_pmd(zero_page, vmf->vma->vm_page_prot); in dax_pmd_load_hole()
1472 trace_dax_pmd_load_hole(inode, vmf, zero_page, *entry); in dax_pmd_load_hole()
1478 trace_dax_pmd_load_hole_fallback(inode, vmf, zero_page, *entry); in dax_pmd_load_hole()
/kernel/linux/linux-5.10/include/target/
Dtarget_core_fabric.h207 u32 length, bool zero_page, bool chainable);
/kernel/linux/linux-5.10/net/ceph/
Dmessenger.c187 static struct page *zero_page; /* used in certain error cases */ variable
257 BUG_ON(zero_page == NULL); in _ceph_msgr_exit()
258 put_page(zero_page); in _ceph_msgr_exit()
259 zero_page = NULL; in _ceph_msgr_exit()
269 BUG_ON(zero_page != NULL); in ceph_msgr_init()
270 zero_page = ZERO_PAGE(0); in ceph_msgr_init()
271 get_page(zero_page); in ceph_msgr_init()
1628 ret = ceph_tcp_sendpage(con->sock, zero_page, 0, size, more); in write_partial_skip()
/kernel/linux/linux-5.10/drivers/nvdimm/
Dpfn_devs.c364 void *zero_page = page_address(ZERO_PAGE(0)); in nd_pfn_clear_memmap_errors() local
402 rc = nvdimm_write_bytes(ndns, nsoff, zero_page, in nd_pfn_clear_memmap_errors()
Dbtt.c510 void *zero_page = page_address(ZERO_PAGE(0)); in arena_clear_freelist_error() local
520 ret = arena_write_bytes(arena, nsoff, zero_page, in arena_clear_freelist_error()
/kernel/linux/linux-5.10/drivers/target/
Dtarget_core_transport.c2605 bool zero_page, bool chainable) in target_alloc_sgl() argument
2607 gfp_t gfp = GFP_KERNEL | (zero_page ? __GFP_ZERO : 0); in target_alloc_sgl()
/kernel/linux/linux-5.10/virt/kvm/
Dkvm_main.c2698 const void *zero_page = (const void *) __va(page_to_phys(ZERO_PAGE(0))); in kvm_clear_guest_page() local
2700 return kvm_write_guest_page(kvm, gfn, zero_page, offset, len); in kvm_clear_guest_page()