/linux-master/arch/arm64/include/asm/ |
H A D | kfence.h | 15 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 D | kfence.h | 24 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 D | kfence.h | 22 static inline bool kfence_protect_page(unsigned long addr, bool protect) argument 34 if (protect)
|
/linux-master/arch/s390/include/asm/ |
H A D | kfence.h | 36 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 D | kfence.h | 16 static inline bool kfence_protect_page(unsigned long addr, bool protect) argument 20 if (protect)
|
/linux-master/tools/testing/selftests/powerpc/dexcr/ |
H A D | Makefile | 6 $(OUTPUT)/hashchk_test: CFLAGS += -fno-pie $(call cc-option,-mno-rop-protect)
|
/linux-master/arch/x86/include/asm/ |
H A D | kfence.h | 41 static inline bool kfence_protect_page(unsigned long addr, bool protect) argument 56 if (protect)
|
/linux-master/arch/arm/include/asm/ |
H A D | kfence.h | 46 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 D | kfence.h | 51 static inline bool kfence_protect_page(unsigned long addr, bool protect) argument 58 if (protect)
|
/linux-master/tools/laptop/freefall/ |
H A D | freefall.c | 80 static void protect(int seconds) function 102 protect(0); 162 protect(21);
|
/linux-master/tools/testing/selftests/powerpc/mm/ |
H A D | pkey_siginfo.c | 97 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 D | machine_kexec_64.c | 514 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 D | machine_kexec.c | 150 static void crash_protect_pages(int protect) argument 157 if (protect)
|
/linux-master/drivers/net/wireless/ti/wl18xx/ |
H A D | scan.h | 54 u8 protect; /* ??? */ member in struct:wl18xx_cmd_scan_params
|
H A D | scan.c | 62 cmd->protect = 0; 198 cmd->protect = 0;
|
/linux-master/drivers/target/ |
H A D | target_core_sbc.c | 606 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 D | amigaffs.h | 90 __be32 protect; member in struct:affs_tail
|
H A D | inode.c | 51 prot = be32_to_cpu(tail->protect); 189 tail->protect = cpu_to_be32(AFFS_I(inode)->i_protect);
|
/linux-master/drivers/input/mouse/ |
H A D | psmouse.h | 155 bool protect; member in struct:psmouse_attribute 177 .protect = _protect, \
|
/linux-master/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | hw.h | 243 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 D | irq-vic.c | 58 * @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 D | mem.c | 196 int protect(struct mm_id * mm_idp, unsigned long addr, unsigned long len, function
|
/linux-master/drivers/mtd/devices/ |
H A D | docg3.c | 1676 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 D | qib_mad.h | 192 u8 protect; member in struct:ib_cc_key_info_attr
|
/linux-master/drivers/net/ethernet/aquantia/atlantic/macsec/ |
H A D | macsec_struct.h | 258 /*! 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).
|