Home
last modified time | relevance | path

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

/linux/arch/arm64/kernel/
H A Dhibernate.c408 void *zero_page; in swsusp_arch_resume() local
433 zero_page = (void *)get_safe_page(GFP_ATOMIC); in swsusp_arch_resume()
434 if (!zero_page) { in swsusp_arch_resume()
470 resume_hdr.__hyp_stub_vectors, virt_to_phys(zero_page)); in swsusp_arch_resume()
H A Dmachine_kexec.c139 kimage->arch.zero_page = __pa_symbol(empty_zero_page); in machine_kexec_post_load()
/linux/arch/arm64/include/asm/
H A Dkexec.h116 phys_addr_t zero_page; member
H A Dassembler.h468 .macro break_before_make_ttbr_switch zero_page, page_table, tmp, tmp2
469 phys_to_ttbr \tmp, \zero_page
/linux/fs/iomap/
H A Ddirect-io.c32 static struct page *zero_page; variable
304 __bio_add_page(bio, zero_page, len, 0); in iomap_dio_zero()
828 zero_page = alloc_pages(GFP_KERNEL | __GFP_ZERO, in iomap_dio_init()
831 if (!zero_page) in iomap_dio_init()
/linux/include/target/
H A Dtarget_core_fabric.h227 u32 length, bool zero_page, bool chainable);
/linux/drivers/nvdimm/
H A Dpfn_devs.c368 void *zero_page = page_address(ZERO_PAGE(0)); in nd_pfn_clear_memmap_errors() local
407 rc = nvdimm_write_bytes(ndns, nsoff, zero_page, in nd_pfn_clear_memmap_errors()
H A Dbtt.c512 void *zero_page = page_address(ZERO_PAGE(0)); in arena_clear_freelist_error() local
522 ret = arena_write_bytes(arena, nsoff, zero_page, in arena_clear_freelist_error()
/linux/arch/arm/mm/
H A Dmmu.c1757 void *zero_page; in paging_init() local
1785 zero_page = early_alloc(PAGE_SIZE); in paging_init()
1789 empty_zero_page = virt_to_page(zero_page); in paging_init()
/linux/arch/x86/virt/vmx/tdx/
H A Dtdx.c642 const void *zero_page = (const void *)page_address(ZERO_PAGE(0)); in reset_tdx_pages() local
647 movdir64b(__va(phys), zero_page); in reset_tdx_pages()
/linux/drivers/target/
H A Dtarget_core_transport.c2768 bool zero_page, bool chainable) in target_alloc_sgl() argument
2770 gfp_t gfp = GFP_KERNEL | (zero_page ? __GFP_ZERO : 0); in target_alloc_sgl()
/linux/arch/x86/kvm/vmx/
H A Dtdx.c286 const void *zero_page = (const void *) page_to_virt(ZERO_PAGE(0)); in tdx_clear_page() local
295 movdir64b(dest + i, zero_page); in tdx_clear_page()
H A Dvmx.c3851 const void *zero_page = (const void *) __va(page_to_phys(ZERO_PAGE(0))); in init_rmode_tss() local
3856 if (__copy_to_user(ua + PAGE_SIZE * i, zero_page, PAGE_SIZE)) in init_rmode_tss()
/linux/arch/arm64/kvm/
H A Dsys_regs.c5381 const void *zero_page = page_to_virt(ZERO_PAGE(0)); in kvm_vm_ioctl_get_reg_writable_masks() local
5386 memcmp(range->reserved, zero_page, sizeof(range->reserved))) in kvm_vm_ioctl_get_reg_writable_masks()
/linux/virt/kvm/
H A Dkvm_main.c3492 const void *zero_page = (const void *) __va(page_to_phys(ZERO_PAGE(0))); in kvm_clear_guest() local
3499 ret = kvm_write_guest_page(kvm, gfn, zero_page, offset, seg); in kvm_clear_guest()