Home
last modified time | relevance | path

Searched refs:protect (Results 1 – 25 of 35) sorted by relevance

12

/arch/powerpc/include/asm/
A Dkfence.h37 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
41 __kernel_map_pages(page, 1, !protect); in kfence_protect_page()
46 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
50 if (protect) { in kfence_protect_page()
/arch/arm64/include/asm/
A Dkfence.h15 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
17 set_memory_valid(addr, 1, !protect); in kfence_protect_page()
/arch/s390/include/asm/
A Dkfence.h25 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
27 __kernel_map_pages(virt_to_page((void *)addr), 1, !protect); in kfence_protect_page()
/arch/parisc/include/asm/
A Dkfence.h22 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
34 if (protect) in kfence_protect_page()
/arch/riscv/include/asm/
A Dkfence.h16 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
20 if (protect) in kfence_protect_page()
/arch/x86/include/asm/
A Dkfence.h41 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
56 if (protect) in kfence_protect_page()
/arch/arm/include/asm/
A Dkfence.h46 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
48 set_memory_valid(addr, 1, !protect); in kfence_protect_page()
/arch/loongarch/include/asm/
A Dkfence.h52 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
59 if (protect) in kfence_protect_page()
/arch/x86/kernel/
A Dmachine_kexec_64.c600 kexec_mark_range(unsigned long start, unsigned long end, bool protect) in kexec_mark_range() argument
614 if (protect) in kexec_mark_range()
620 static void kexec_mark_crashkres(bool protect) in kexec_mark_crashkres() argument
624 kexec_mark_range(crashk_low_res.start, crashk_low_res.end, protect); in kexec_mark_crashkres()
628 kexec_mark_range(crashk_res.start, control - 1, protect); in kexec_mark_crashkres()
630 kexec_mark_range(control, crashk_res.end, protect); in kexec_mark_crashkres()
634 static void kexec_mark_dm_crypt_keys(bool protect) in kexec_mark_dm_crypt_keys() argument
643 if (protect) in kexec_mark_dm_crypt_keys()
/arch/s390/kernel/
A Dmachine_kexec.c152 static void crash_protect_pages(int protect) in crash_protect_pages() argument
159 if (protect) in crash_protect_pages()
/arch/arm/boot/dts/nxp/imx/
A Dimx6qdl-aristainetos2.dtsi619 MX6QDL_PAD_DI0_PIN4__GPIO4_IO20 0x1b0b0 /* SD1 write protect input */
633 MX6QDL_PAD_SD4_DAT2__GPIO2_IO10 0x1b0b0 /* SD2 write protect input */
A Dimx6q-novena.dts785 /* Write protect */
/arch/powerpc/boot/dts/
A Dac14xx.dts166 wp-gpios = <&gpio_pic 24 0>; /* write protect */
A Dxpedite5200.dts103 * 5: Flash write protect enable
A Dxpedite5200_xmon.dts107 * 5: Flash write protect enable
/arch/arm/boot/dts/rockchip/
A Drk3288-veyron.dtsi592 write-protect {
/arch/arm/boot/dts/samsung/
A Dexynos5410-odroidxu.dts549 /* Pin is floating so be sure to disable write-protect */
/arch/arm/boot/dts/ti/omap/
A Domap3-pandora-common.dtsi514 * Many pandora boards have been produced with defective write-protect switches
A Dam33xx.dtsi499 protect-exec;
A Dam4372.dtsi692 protect-exec;
/arch/arm64/boot/dts/qcom/
A Dsc7180-acer-aspire1.dts857 * The TZ seem to protect those because some boards can have
/arch/mips/boot/dts/img/
A Dpistachio.dtsi628 pin_sdhost_write_protect: sdhost-write-protect {
/arch/arm/mm/
A DKconfig634 using the DACR (domain access control register) to protect memory
636 and IO. The domains are used to protect userspace from kernelspace
/arch/arm64/boot/dts/rockchip/
A Drk3399-gru.dtsi859 write-protect {
/arch/arm/boot/dts/nvidia/
A Dtegra20-asus-tf101.dts1230 * The CPU zone is intended to protect silicon from damage.

Completed in 51 milliseconds

12