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

12

/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/wireless/ti/wl18xx/
H A Dscan.c62 cmd->protect = 0;
198 cmd->protect = 0;
H A Dscan.h54 u8 protect; /* ??? */ member in struct:wl18xx_cmd_scan_params
/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/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/loongarch/include/asm/
H A Dkfence.h51 static inline bool kfence_protect_page(unsigned long addr, bool protect) argument
58 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/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/riscv/include/asm/
H A Dkfence.h16 static inline bool kfence_protect_page(unsigned long addr, bool protect) argument
20 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/s390/kernel/
H A Dmachine_kexec.c150 static void crash_protect_pages(int protect) argument
157 if (protect)
/linux-master/arch/um/include/shared/
H A Dos.h282 extern int protect(struct mm_id * mm_idp, unsigned long addr,
/linux-master/arch/um/kernel/
H A Dtlb.c96 ret = protect(&hvc->mm->context.id,
512 err = protect(mm_id, address, PAGE_SIZE, prot, 1, &flush);
/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/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/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/drivers/gpu/drm/exynos/
H A Dexynos5433_drm_decon.c383 static void decon_shadow_protect(struct decon_context *ctx, bool protect) argument
386 protect ? ~0 : 0);
H A Dexynos7_drm_decon.c350 * @win: window to protect registers for
351 * @protect: 1 to protect (disable updates)
354 unsigned int win, bool protect)
361 if (protect)
403 * with protect window setting, the register fields with prefix '_F'
488 /* protect windows */
353 decon_shadow_protect_win(struct decon_context *ctx, unsigned int win, bool protect) argument
H A Dexynos_drm_fimd.c769 * @win: window to protect registers for
770 * @protect: 1 to protect (disable updates)
773 unsigned int win, bool protect)
782 * with protect window setting, the register fields with prefix '_F'
796 if (protect)
772 fimd_shadow_protect_win(struct fimd_context *ctx, unsigned int win, bool protect) argument
/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/input/mouse/
H A Dpsmouse-base.c1824 if (attr->protect) {
1841 if (attr->protect) {
H A Dpsmouse.h155 bool protect; member in struct:psmouse_attribute
177 .protect = _protect, \
/linux-master/drivers/iommu/
H A Dmtk_iommu.c255 phys_addr_t protect_base; /* protect memory base */
1254 void *protect; local
1268 protect = devm_kcalloc(dev, 2, MTK_PROTECT_PA_ALIGN, GFP_KERNEL);
1269 if (!protect)
1271 data->protect_base = ALIGN(virt_to_phys(protect), MTK_PROTECT_PA_ALIGN);
H A Dmtk_iommu_v1.c101 phys_addr_t protect_base; /* protect memory base */
564 /* protect memory,hw will write here while translation fault */
616 void *protect; local
626 protect = devm_kcalloc(dev, 2, MTK_PROTECT_PA_ALIGN,
628 if (!protect)
630 data->protect_base = ALIGN(virt_to_phys(protect), MTK_PROTECT_PA_ALIGN);
/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);

Completed in 612 milliseconds

12