Home
last modified time | relevance | path

Searched refs:zeropage (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/arch/sh/boot/romimage/
H A DMakefile8 targets := vmlinux head.o zeropage.bin piggy.o
24 $(obj)/zeropage.bin: vmlinux FORCE
29 $(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/zeropage.bin arch/sh/boot/zImage FORCE
/kernel/linux/linux-6.6/arch/sh/boot/romimage/
H A DMakefile8 targets := vmlinux head.o zeropage.bin piggy.o
24 $(obj)/zeropage.bin: vmlinux FORCE
29 $(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/zeropage.bin arch/sh/boot/zImage FORCE
/kernel/linux/linux-5.10/mm/
H A Duserfaultfd.c212 bool zeropage) in __mcopy_atomic_hugetlb()
232 if (zeropage) { in __mcopy_atomic_hugetlb()
413 bool zeropage);
422 bool zeropage, in mfill_atomic_pte()
438 if (!zeropage) in mfill_atomic_pte()
447 if (!zeropage) in mfill_atomic_pte()
463 bool zeropage, in __mcopy_atomic()
532 src_start, len, zeropage); in __mcopy_atomic()
582 src_addr, &page, zeropage, wp_copy); in __mcopy_atomic()
207 __mcopy_atomic_hugetlb(struct mm_struct *dst_mm, struct vm_area_struct *dst_vma, unsigned long dst_start, unsigned long src_start, unsigned long len, bool zeropage) __mcopy_atomic_hugetlb() argument
416 mfill_atomic_pte(struct mm_struct *dst_mm, pmd_t *dst_pmd, struct vm_area_struct *dst_vma, unsigned long dst_addr, unsigned long src_addr, struct page **page, bool zeropage, bool wp_copy) mfill_atomic_pte() argument
459 __mcopy_atomic(struct mm_struct *dst_mm, unsigned long dst_start, unsigned long src_start, unsigned long len, bool zeropage, bool *mmap_changing, __u64 mode) __mcopy_atomic() argument
H A Dshmem.c2356 bool zeropage, in shmem_mfill_atomic_pte()
2390 if (!zeropage) { /* mcopy_atomic */ in shmem_mfill_atomic_pte()
2351 shmem_mfill_atomic_pte(struct mm_struct *dst_mm, pmd_t *dst_pmd, struct vm_area_struct *dst_vma, unsigned long dst_addr, unsigned long src_addr, bool zeropage, struct page **pagep) shmem_mfill_atomic_pte() argument
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
H A Duserfaultfd.c90 static char *zeropage; variable
424 if (!my_bcmp(area_dst + page_nr * page_size, zeropage, in locking_thread()
437 while (!bcmp(area_dst + page_nr * page_size, zeropage, in locking_thread()
945 if (my_bcmp(area_dst + nr * page_size, zeropage, page_size)) { in faulting_process()
962 if (uffdio_zeropage->zeropage != -EEXIST) { in retry_uffdio_zeropage()
964 uffdio_zeropage->zeropage); in retry_uffdio_zeropage()
969 uffdio_zeropage->zeropage); exit(1); in retry_uffdio_zeropage()
990 /* real retval in ufdio_zeropage.zeropage */ in __uffdio_zeropage()
992 if (uffdio_zeropage.zeropage == -EEXIST) { in __uffdio_zeropage()
997 uffdio_zeropage.zeropage); in __uffdio_zeropage()
[all...]
/kernel/linux/linux-5.10/drivers/spi/
H A Dspi-ep93xx.c83 * @zeropage: dummy page used as RX buffer when only TX buffer is passed in by
99 void *zeropage; member
317 * because we are using @espi->zeropage to provide a zero RX buffer in ep93xx_spi_dma_prepare()
342 sg_set_page(sg, virt_to_page(espi->zeropage), in ep93xx_spi_dma_prepare()
592 espi->zeropage = (void *)get_zeroed_page(GFP_KERNEL); in ep93xx_spi_setup_dma()
593 if (!espi->zeropage) in ep93xx_spi_setup_dma()
627 free_page((unsigned long)espi->zeropage); in ep93xx_spi_setup_dma()
643 if (espi->zeropage) in ep93xx_spi_release_dma()
644 free_page((unsigned long)espi->zeropage); in ep93xx_spi_release_dma()
/kernel/linux/linux-6.6/drivers/spi/
H A Dspi-ep93xx.c83 * @zeropage: dummy page used as RX buffer when only TX buffer is passed in by
99 void *zeropage; member
317 * because we are using @espi->zeropage to provide a zero RX buffer in ep93xx_spi_dma_prepare()
342 sg_set_page(sg, virt_to_page(espi->zeropage), in ep93xx_spi_dma_prepare()
592 espi->zeropage = (void *)get_zeroed_page(GFP_KERNEL); in ep93xx_spi_setup_dma()
593 if (!espi->zeropage) in ep93xx_spi_setup_dma()
627 free_page((unsigned long)espi->zeropage); in ep93xx_spi_setup_dma()
643 if (espi->zeropage) in ep93xx_spi_release_dma()
644 free_page((unsigned long)espi->zeropage); in ep93xx_spi_release_dma()
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Duffd-stress.c49 static char *zeropage; variable
258 zeropage = area; in userfaultfd_stress()
259 bzero(zeropage, page_size); in userfaultfd_stress()
311 * next bounce, effectively leaving a zeropage in the in userfaultfd_stress()
H A Duffd-unit-tests.c874 if (uffdio_zeropage->zeropage != -EEXIST) in retry_uffdio_zeropage()
876 (int64_t)uffdio_zeropage->zeropage); in retry_uffdio_zeropage()
879 (int64_t)uffdio_zeropage->zeropage); in retry_uffdio_zeropage()
893 res = uffdio_zeropage.zeropage; in do_uffdio_zeropage()
895 /* real retval in ufdio_zeropage.zeropage */ in do_uffdio_zeropage()
913 * Registers a range with MISSING mode only for zeropage test. Return true
924 err("zeropage register fail"); in uffd_register_detect_zeropage()
1067 * Note that _UFFDIO_ZEROPAGE is tested separately in the zeropage test.
1137 .name = "zeropage",
/kernel/linux/linux-6.6/arch/parisc/include/asm/
H A Dpage.h185 #define PAGE0 ((struct zeropage *)absolute_pointer(__PAGE_OFFSET))
/kernel/linux/linux-5.10/include/uapi/linux/
H A Duserfaultfd.h234 * "zeropage" is written by the ioctl and must be at the end:
237 __s64 zeropage; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Duserfaultfd.h131 __s64 zeropage; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Duserfaultfd.h119 __s64 zeropage; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Duserfaultfd.h119 __s64 zeropage; member
/kernel/linux/linux-5.10/arch/parisc/include/asm/
H A Dpage.h187 #define PAGE0 ((struct zeropage *)absolute_pointer(__PAGE_OFFSET))
/kernel/linux/linux-6.6/include/uapi/linux/
H A Duserfaultfd.h286 * "zeropage" is written by the ioctl and must be at the end:
289 __s64 zeropage; member
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/
H A Dpdc.h390 struct zeropage { struct
/kernel/linux/linux-6.6/arch/parisc/include/uapi/asm/
H A Dpdc.h395 struct zeropage { struct
/kernel/linux/linux-5.10/fs/
H A Duserfaultfd.c1730 /* don't copy "zeropage" last field */ in userfaultfd_zeropage()
1750 if (unlikely(put_user(ret, &user_uffdio_zeropage->zeropage))) in userfaultfd_zeropage()
/kernel/linux/linux-6.6/fs/
H A Duserfaultfd.c1818 /* don't copy "zeropage" last field */ in userfaultfd_zeropage()
1838 if (unlikely(put_user(ret, &user_uffdio_zeropage->zeropage))) in userfaultfd_zeropage()

Completed in 24 milliseconds