Home
last modified time | relevance | path

Searched refs:protect (Results 1 - 25 of 72) sorted by relevance

123

/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dkfence.h24 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
28 __kernel_map_pages(page, 1, !protect); in kfence_protect_page()
33 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
37 if (protect) { in kfence_protect_page()
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H 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()
/kernel/linux/linux-6.6/arch/riscv/include/asm/
H 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()
/kernel/linux/linux-6.6/arch/parisc/include/asm/
H 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()
/kernel/linux/linux-6.6/arch/s390/include/asm/
H A Dkfence.h36 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
38 __kernel_map_pages(virt_to_page((void *)addr), 1, !protect); in kfence_protect_page() local
/kernel/linux/linux-6.6/arch/x86/include/asm/
H 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()
/kernel/linux/linux-6.6/arch/loongarch/include/asm/
H A Dkfence.h42 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
49 if (protect) in kfence_protect_page()
/kernel/linux/linux-6.6/arch/arm/include/asm/
H 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()
/kernel/linux/linux-5.10/tools/laptop/freefall/
H A Dfreefall.c80 static void protect(int seconds) in protect() function
102 protect(0); in ignore_me()
162 protect(21); in main()
/kernel/linux/linux-6.6/tools/laptop/freefall/
H A Dfreefall.c80 static void protect(int seconds) in protect() function
102 protect(0); in ignore_me()
162 protect(21); in main()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/
H A Dpkey_siginfo.c97 static void *protect(void *p) in protect() function
119 * Repeatedly try to protect the common region with a permissive in protect()
164 * Repeatedly try to protect the common region with a restrictive in protect_access()
287 * the one from the protect-and-access thread since the other in test()
294 /* Setup barrier for protect and protect-and-access threads */ in test()
298 /* Setup and start protect and protect-and-read threads */ in test()
299 puts("starting thread pair (protect, protect in test()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/mm/
H A Dpkey_siginfo.c97 static void *protect(void *p) in protect() function
119 * Repeatedly try to protect the common region with a permissive in protect()
164 * Repeatedly try to protect the common region with a restrictive in protect_access()
287 * the one from the protect-and-access thread since the other in test()
294 /* Setup barrier for protect and protect-and-access threads */ in test()
298 /* Setup and start protect and protect-and-read threads */ in test()
299 puts("starting thread pair (protect, protect in test()
[all...]
/kernel/linux/linux-5.10/drivers/target/
H A Dtarget_core_sbc.c628 sbc_set_prot_op_checks(u8 protect, bool fabric_prot, enum target_prot_type prot_type, in sbc_set_prot_op_checks() argument
633 protect ? TARGET_PROT_DOUT_PASS : in sbc_set_prot_op_checks()
635 switch (protect) { in sbc_set_prot_op_checks()
654 pr_err("Unsupported protect field %d\n", protect); in sbc_set_prot_op_checks()
659 protect ? TARGET_PROT_DIN_PASS : in sbc_set_prot_op_checks()
661 switch (protect) { in sbc_set_prot_op_checks()
680 pr_err("Unsupported protect field %d\n", protect); in sbc_set_prot_op_checks()
689 sbc_check_prot(struct se_device *dev, struct se_cmd *cmd, unsigned char protect, in sbc_check_prot() argument
[all...]
/kernel/linux/linux-6.6/drivers/target/
H A Dtarget_core_sbc.c606 sbc_set_prot_op_checks(u8 protect, bool fabric_prot, enum target_prot_type prot_type, in sbc_set_prot_op_checks() argument
611 protect ? TARGET_PROT_DOUT_PASS : in sbc_set_prot_op_checks()
613 switch (protect) { in sbc_set_prot_op_checks()
632 pr_err("Unsupported protect field %d\n", protect); in sbc_set_prot_op_checks()
637 protect ? TARGET_PROT_DIN_PASS : in sbc_set_prot_op_checks()
639 switch (protect) { in sbc_set_prot_op_checks()
658 pr_err("Unsupported protect field %d\n", protect); in sbc_set_prot_op_checks()
667 sbc_check_prot(struct se_device *dev, struct se_cmd *cmd, unsigned char protect, in sbc_check_prot() argument
[all...]
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dmachine_kexec_64.c546 kexec_mark_range(unsigned long start, unsigned long end, bool protect) in kexec_mark_range() argument
560 if (protect) in kexec_mark_range()
566 static void kexec_mark_crashkres(bool protect) in kexec_mark_crashkres() argument
570 kexec_mark_range(crashk_low_res.start, crashk_low_res.end, protect); in kexec_mark_crashkres()
575 kexec_mark_range(crashk_res.start, control + PAGE_SIZE - 1, protect); in kexec_mark_crashkres()
577 kexec_mark_range(control, crashk_res.end, protect); in kexec_mark_crashkres()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dmachine_kexec_64.c515 kexec_mark_range(unsigned long start, unsigned long end, bool protect) in kexec_mark_range() argument
529 if (protect) in kexec_mark_range()
535 static void kexec_mark_crashkres(bool protect) in kexec_mark_crashkres() argument
539 kexec_mark_range(crashk_low_res.start, crashk_low_res.end, protect); in kexec_mark_crashkres()
544 kexec_mark_range(crashk_res.start, control + PAGE_SIZE - 1, protect); in kexec_mark_crashkres()
546 kexec_mark_range(control, crashk_res.end, protect); in kexec_mark_crashkres()
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dmachine_kexec.c158 static void crash_protect_pages(int protect) in crash_protect_pages() argument
165 if (protect) in crash_protect_pages()
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Dmachine_kexec.c149 static void crash_protect_pages(int protect) in crash_protect_pages() argument
156 if (protect) in crash_protect_pages()
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/dexcr/
H A DMakefile6 $(OUTPUT)/hashchk_test: CFLAGS += -fno-pie $(call cc-option,-mno-rop-protect)
/kernel/linux/linux-5.10/drivers/input/mouse/
H A Dpsmouse.h153 bool protect; member
175 .protect = _protect, \
/kernel/linux/linux-6.6/drivers/input/mouse/
H A Dpsmouse.h155 bool protect; member
177 .protect = _protect, \
/kernel/linux/linux-5.10/drivers/iommu/
H A Dmtk_iommu_v1.c501 /* protect memory,hw will write here while translation fault */ in mtk_iommu_hw_init()
552 void *protect; in mtk_iommu_probe() local
562 protect = devm_kzalloc(dev, MTK_PROTECT_PA_ALIGN * 2, in mtk_iommu_probe()
564 if (!protect) in mtk_iommu_probe()
566 data->protect_base = ALIGN(virt_to_phys(protect), MTK_PROTECT_PA_ALIGN); in mtk_iommu_probe()
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl18xx/
H A Dscan.h54 u8 protect; /* ??? */ member
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl18xx/
H A Dscan.h54 u8 protect; /* ??? */ member
/kernel/linux/linux-5.10/drivers/irqchip/
H A Dirq-vic.c59 * @protect: Save for VIC_PROTECT.
71 u32 protect; member
112 writel(vic->protect, base + VIC_PROTECT); in resume_one_vic()
141 vic->protect = readl(base + VIC_PROTECT); in suspend_one_vic()

Completed in 14 milliseconds

123