Home
last modified time | relevance | path

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

123456789

/linux-6.6.21/arch/powerpc/include/asm/
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()
/linux-6.6.21/Documentation/misc-devices/
Deeprom.rst38 Atmel 34C02B 2K 0x50 - 0x57, SW write protect at 0x30-37
39 Catalyst 34FC02 2K 0x50 - 0x57, SW write protect at 0x30-37
40 Catalyst 34RC02 2K 0x50 - 0x57, SW write protect at 0x30-37
41 Fairchild 34W02 2K 0x50 - 0x57, SW write protect at 0x30-37
42 Microchip 24AA52 2K 0x50 - 0x57, SW write protect at 0x30-37
43 ST M34C02 2K 0x50 - 0x57, SW write protect at 0x30-37
78 software write protect register at 0x30 - 0x37 (0x20 less than the memory
82 this address will write protect the memory array permanently, and the
/linux-6.6.21/arch/arm64/include/asm/
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()
/linux-6.6.21/tools/laptop/freefall/
Dfreefall.c80 static void protect(int seconds) in protect() function
102 protect(0); in ignore_me()
162 protect(21); in main()
/linux-6.6.21/arch/riscv/include/asm/
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()
/linux-6.6.21/arch/parisc/include/asm/
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()
/linux-6.6.21/arch/s390/include/asm/
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()
/linux-6.6.21/arch/x86/include/asm/
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()
/linux-6.6.21/arch/arm/include/asm/
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()
/linux-6.6.21/arch/loongarch/include/asm/
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()
/linux-6.6.21/tools/testing/selftests/powerpc/mm/
Dpkey_siginfo.c97 static void *protect(void *p) in protect() function
301 FAIL_IF(pthread_create(&prot_thread, &attr, &protect, &r) != 0); in test()
309 FAIL_IF(pthread_create(&prot_thread, &attr, &protect, &r) != 0); in test()
317 FAIL_IF(pthread_create(&prot_thread, &attr, &protect, &r) != 0); in test()
/linux-6.6.21/drivers/target/
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
675 if (unlikely(protect && in sbc_check_prot()
690 if (protect) in sbc_check_prot()
[all …]
/linux-6.6.21/arch/x86/kernel/
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()
/linux-6.6.21/arch/s390/kernel/
Dmachine_kexec.c149 static void crash_protect_pages(int protect) in crash_protect_pages() argument
156 if (protect) in crash_protect_pages()
/linux-6.6.21/Documentation/devicetree/bindings/nvmem/
Dnvmem.yaml36 GPIO to which the write-protect pin of the chip is connected.
37 The write-protect GPIO is asserted, when it's driven high
/linux-6.6.21/tools/testing/selftests/powerpc/dexcr/
DMakefile6 $(OUTPUT)/hashchk_test: CFLAGS += -fno-pie $(call cc-option,-mno-rop-protect)
/linux-6.6.21/drivers/irqchip/
Dirq-vic.c71 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()
/linux-6.6.21/drivers/mtd/devices/
Ddocg3.c1676 int protect, dps0, dps0_low, dps0_high, dps1, dps1_low, dps1_high; in protection_show() local
1679 protect = doc_register_readb(docg3, DOC_PROTECTION); in protection_show()
1688 seq_printf(s, "Protection = 0x%02x (", protect); in protection_show()
1689 if (protect & DOC_PROTECT_FOUNDRY_OTP_LOCK) in protection_show()
1691 if (protect & DOC_PROTECT_CUSTOMER_OTP_LOCK) in protection_show()
1693 if (protect & DOC_PROTECT_LOCK_INPUT) in protection_show()
1695 if (protect & DOC_PROTECT_STICKY_LOCK) in protection_show()
1697 if (protect & DOC_PROTECT_PROTECTION_ENABLED) in protection_show()
1699 if (protect & DOC_PROTECT_IPL_DOWNLOAD_LOCK) in protection_show()
1701 if (protect & DOC_PROTECT_PROTECTION_ERROR) in protection_show()
/linux-6.6.21/Documentation/driver-api/thermal/
Dnouveau_thermal.rst28 In order to protect the GPU from overheating, Nouveau supports 4 configurable
38 Shut the computer down to protect your GPU.
/linux-6.6.21/drivers/input/mouse/
Dpsmouse.h155 bool protect; member
177 .protect = _protect, \
/linux-6.6.21/drivers/gpu/drm/nouveau/dispnv04/
Dhw.h243 static inline void NVVgaProtect(struct drm_device *dev, int head, bool protect) in NVVgaProtect() argument
247 if (protect) { in NVVgaProtect()
255 NVSetEnablePalette(dev, head, protect); in NVVgaProtect()
/linux-6.6.21/drivers/gpu/host1x/
DKconfig26 Say yes if kernel should protect command streams from tampering.
/linux-6.6.21/Documentation/security/
Dlsm-development.rst7 what it tries to protect against and in what cases one would expect to
/linux-6.6.21/Documentation/devicetree/bindings/mmc/
Dmmc-controller.yaml107 When set, no physical write-protect line is present. This
109 dedicated write-protect detection logic. If a GPIO is always used
110 for the write-protect detection logic, it is sufficient to not
111 specify the wp-gpios property in the absence of a write-protect
117 GPIO to use for the write-protect detection.
/linux-6.6.21/Documentation/devicetree/bindings/extcon/
Dextcon-rt8973a.txt5 is a USB port accessory detector and switch that is optimized to protect low

123456789