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

12

/linux-master/arch/arm64/include/asm/
H A Dkfence.h15 static inline bool kfence_protect_page(unsigned long addr, bool protect) argument
17 set_memory_valid(addr, 1, !protect);
/linux-master/arch/powerpc/include/asm/
H A Dkfence.h24 static inline bool kfence_protect_page(unsigned long addr, bool protect) argument
28 __kernel_map_pages(page, 1, !protect);
33 static inline bool kfence_protect_page(unsigned long addr, bool protect) argument
37 if (protect) {
/linux-master/arch/parisc/include/asm/
H A Dkfence.h22 static inline bool kfence_protect_page(unsigned long addr, bool protect) argument
34 if (protect)
/linux-master/arch/s390/include/asm/
H A Dkfence.h36 static inline bool kfence_protect_page(unsigned long addr, bool protect) argument
38 __kernel_map_pages(virt_to_page((void *)addr), 1, !protect); local
/linux-master/arch/riscv/include/asm/
H A Dkfence.h16 static inline bool kfence_protect_page(unsigned long addr, bool protect) argument
20 if (protect)
/linux-master/tools/testing/selftests/powerpc/dexcr/
H A DMakefile6 $(OUTPUT)/hashchk_test: CFLAGS += -fno-pie $(call cc-option,-mno-rop-protect)
/linux-master/arch/x86/include/asm/
H A Dkfence.h41 static inline bool kfence_protect_page(unsigned long addr, bool protect) argument
56 if (protect)
/linux-master/arch/arm/include/asm/
H A Dkfence.h46 static inline bool kfence_protect_page(unsigned long addr, bool protect) argument
48 set_memory_valid(addr, 1, !protect);
/linux-master/arch/loongarch/include/asm/
H A Dkfence.h51 static inline bool kfence_protect_page(unsigned long addr, bool protect) argument
58 if (protect)
/linux-master/tools/laptop/freefall/
H A Dfreefall.c80 static void protect(int seconds) function
102 protect(0);
162 protect(21);
/linux-master/tools/testing/selftests/powerpc/mm/
H A Dpkey_siginfo.c97 static void *protect(void *p) function
119 * Repeatedly try to protect the common region with a permissive
164 * Repeatedly try to protect the common region with a restrictive
287 * the one from the protect-and-access thread since the other
294 /* Setup barrier for protect and protect-and-access threads */
298 /* Setup and start protect and protect-and-read threads */
299 puts("starting thread pair (protect, protect
[all...]
/linux-master/arch/x86/kernel/
H A Dmachine_kexec_64.c514 kexec_mark_range(unsigned long start, unsigned long end, bool protect) argument
528 if (protect)
534 static void kexec_mark_crashkres(bool protect) argument
538 kexec_mark_range(crashk_low_res.start, crashk_low_res.end, protect);
543 kexec_mark_range(crashk_res.start, control + PAGE_SIZE - 1, protect);
545 kexec_mark_range(control, crashk_res.end, protect);
/linux-master/arch/s390/kernel/
H A Dmachine_kexec.c150 static void crash_protect_pages(int protect) argument
157 if (protect)
/linux-master/drivers/net/wireless/ti/wl18xx/
H A Dscan.h54 u8 protect; /* ??? */ member in struct:wl18xx_cmd_scan_params
H A Dscan.c62 cmd->protect = 0;
198 cmd->protect = 0;
/linux-master/drivers/target/
H A Dtarget_core_sbc.c606 sbc_set_prot_op_checks(u8 protect, bool fabric_prot, enum target_prot_type prot_type, argument
611 protect ? TARGET_PROT_DOUT_PASS :
613 switch (protect) {
632 pr_err("Unsupported protect field %d\n", protect);
637 protect ? TARGET_PROT_DIN_PASS :
639 switch (protect) {
658 pr_err("Unsupported protect field %d\n", protect);
667 sbc_check_prot(struct se_device *dev, struct se_cmd *cmd, unsigned char protect, argument
[all...]
/linux-master/fs/affs/
H A Damigaffs.h90 __be32 protect; member in struct:affs_tail
H A Dinode.c51 prot = be32_to_cpu(tail->protect);
189 tail->protect = cpu_to_be32(AFFS_I(inode)->i_protect);
/linux-master/drivers/input/mouse/
H A Dpsmouse.h155 bool protect; member in struct:psmouse_attribute
177 .protect = _protect, \
/linux-master/drivers/gpu/drm/nouveau/dispnv04/
H A Dhw.h243 static inline void NVVgaProtect(struct drm_device *dev, int head, bool protect) argument
247 if (protect) {
255 NVSetEnablePalette(dev, head, protect);
/linux-master/drivers/irqchip/
H A Dirq-vic.c58 * @protect: Save for VIC_PROTECT.
70 u32 protect; member in struct:vic_device
111 writel(vic->protect, base + VIC_PROTECT);
140 vic->protect = readl(base + VIC_PROTECT);
/linux-master/arch/um/os-Linux/skas/
H A Dmem.c196 int protect(struct mm_id * mm_idp, unsigned long addr, unsigned long len, function
/linux-master/drivers/mtd/devices/
H A Ddocg3.c1676 int protect, dps0, dps0_low, dps0_high, dps1, dps1_low, dps1_high; local
1679 protect = doc_register_readb(docg3, DOC_PROTECTION);
1688 seq_printf(s, "Protection = 0x%02x (", protect);
1689 if (protect & DOC_PROTECT_FOUNDRY_OTP_LOCK)
1691 if (protect & DOC_PROTECT_CUSTOMER_OTP_LOCK)
1693 if (protect & DOC_PROTECT_LOCK_INPUT)
1695 if (protect & DOC_PROTECT_STICKY_LOCK)
1697 if (protect & DOC_PROTECT_PROTECTION_ENABLED)
1699 if (protect & DOC_PROTECT_IPL_DOWNLOAD_LOCK)
1701 if (protect
[all...]
/linux-master/drivers/infiniband/hw/qib/
H A Dqib_mad.h192 u8 protect; member in struct:ib_cc_key_info_attr
/linux-master/drivers/net/ethernet/aquantia/atlantic/macsec/
H A Dmacsec_struct.h258 /*! 0: Do not protect frames, all the packets will be forwarded
262 u32 protect; member in struct:aq_mss_egress_sc_record
752 * protect=0 (so packets are forwarded unchanged).

Completed in 235 milliseconds

12