protect           191 arch/s390/kernel/machine_kexec.c static void crash_protect_pages(int protect)
protect           198 arch/s390/kernel/machine_kexec.c 	if (protect)
protect           279 arch/um/include/shared/os.h extern int protect(struct mm_id * mm_idp, unsigned long addr,
protect            97 arch/um/kernel/tlb.c 				ret = protect(&hvc->mm->context.id,
protect           475 arch/um/kernel/tlb.c 		err = protect(mm_id, address, PAGE_SIZE, prot, 1, &flush);
protect           613 arch/x86/kernel/machine_kexec_64.c kexec_mark_range(unsigned long start, unsigned long end, bool protect)
protect           627 arch/x86/kernel/machine_kexec_64.c 	if (protect)
protect           633 arch/x86/kernel/machine_kexec_64.c static void kexec_mark_crashkres(bool protect)
protect           637 arch/x86/kernel/machine_kexec_64.c 	kexec_mark_range(crashk_low_res.start, crashk_low_res.end, protect);
protect           642 arch/x86/kernel/machine_kexec_64.c 	kexec_mark_range(crashk_res.start, control + PAGE_SIZE - 1, protect);
protect           644 arch/x86/kernel/machine_kexec_64.c 	kexec_mark_range(control, crashk_res.end, protect);
protect           382 drivers/gpu/drm/exynos/exynos5433_drm_decon.c static void decon_shadow_protect(struct decon_context *ctx, bool protect)
protect           385 drivers/gpu/drm/exynos/exynos5433_drm_decon.c 		       protect ? ~0 : 0);
protect           353 drivers/gpu/drm/exynos/exynos7_drm_decon.c 				     unsigned int win, bool protect)
protect           360 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	if (protect)
protect           732 drivers/gpu/drm/exynos/exynos_drm_fimd.c 				    unsigned int win, bool protect)
protect           755 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	if (protect)
protect           243 drivers/gpu/drm/nouveau/dispnv04/hw.h static inline void NVVgaProtect(struct drm_device *dev, int head, bool protect)
protect           247 drivers/gpu/drm/nouveau/dispnv04/hw.h 	if (protect) {
protect           255 drivers/gpu/drm/nouveau/dispnv04/hw.h 	NVSetEnablePalette(dev, head, protect);
protect           192 drivers/infiniband/hw/qib/qib_mad.h 	u8  protect;
protect          1840 drivers/input/mouse/psmouse-base.c 	if (attr->protect) {
protect          1857 drivers/input/mouse/psmouse-base.c 	if (attr->protect) {
protect           153 drivers/input/mouse/psmouse.h 	bool protect;
protect           175 drivers/input/mouse/psmouse.h 	.protect = _protect,							\
protect           668 drivers/iommu/mtk_iommu.c 	void                    *protect;
protect           678 drivers/iommu/mtk_iommu.c 	protect = devm_kzalloc(dev, MTK_PROTECT_PA_ALIGN * 2, GFP_KERNEL);
protect           679 drivers/iommu/mtk_iommu.c 	if (!protect)
protect           681 drivers/iommu/mtk_iommu.c 	data->protect_base = ALIGN(virt_to_phys(protect), MTK_PROTECT_PA_ALIGN);
protect           560 drivers/iommu/mtk_iommu_v1.c 	void				*protect;
protect           570 drivers/iommu/mtk_iommu_v1.c 	protect = devm_kzalloc(dev, MTK_PROTECT_PA_ALIGN * 2,
protect           572 drivers/iommu/mtk_iommu_v1.c 	if (!protect)
protect           574 drivers/iommu/mtk_iommu_v1.c 	data->protect_base = ALIGN(virt_to_phys(protect), MTK_PROTECT_PA_ALIGN);
protect            68 drivers/irqchip/irq-vic.c 	u32		protect;
protect           109 drivers/irqchip/irq-vic.c 	writel(vic->protect, base + VIC_PROTECT);
protect           138 drivers/irqchip/irq-vic.c 	vic->protect = readl(base + VIC_PROTECT);
protect          1668 drivers/mtd/devices/docg3.c 	int protect, dps0, dps0_low, dps0_high, dps1, dps1_low, dps1_high;
protect          1671 drivers/mtd/devices/docg3.c 	protect = doc_register_readb(docg3, DOC_PROTECTION);
protect          1680 drivers/mtd/devices/docg3.c 	seq_printf(s, "Protection = 0x%02x (", protect);
protect          1681 drivers/mtd/devices/docg3.c 	if (protect & DOC_PROTECT_FOUNDRY_OTP_LOCK)
protect          1683 drivers/mtd/devices/docg3.c 	if (protect & DOC_PROTECT_CUSTOMER_OTP_LOCK)
protect          1685 drivers/mtd/devices/docg3.c 	if (protect & DOC_PROTECT_LOCK_INPUT)
protect          1687 drivers/mtd/devices/docg3.c 	if (protect & DOC_PROTECT_STICKY_LOCK)
protect          1689 drivers/mtd/devices/docg3.c 	if (protect & DOC_PROTECT_PROTECTION_ENABLED)
protect          1691 drivers/mtd/devices/docg3.c 	if (protect & DOC_PROTECT_IPL_DOWNLOAD_LOCK)
protect          1693 drivers/mtd/devices/docg3.c 	if (protect & DOC_PROTECT_PROTECTION_ERROR)
protect           657 drivers/mtd/ubi/wl.c 	int err, scrubbing = 0, torture = 0, protect = 0, erroneous = 0;
protect           792 drivers/mtd/ubi/wl.c 			protect = 1;
protect           834 drivers/mtd/ubi/wl.c 			protect = 1;
protect           930 drivers/mtd/ubi/wl.c 	if (protect)
protect          14502 drivers/net/ethernet/broadcom/tg3.c 	u32 nvcfg1, protect = 0;
protect          14509 drivers/net/ethernet/broadcom/tg3.c 		protect = 1;
protect          14524 drivers/net/ethernet/broadcom/tg3.c 			tp->nvram_size = (protect ? 0x3e200 :
protect          14527 drivers/net/ethernet/broadcom/tg3.c 			tp->nvram_size = (protect ? 0x1f200 :
protect          14530 drivers/net/ethernet/broadcom/tg3.c 			tp->nvram_size = (protect ? 0x1f200 :
protect          14541 drivers/net/ethernet/broadcom/tg3.c 			tp->nvram_size = (protect ?
protect          14545 drivers/net/ethernet/broadcom/tg3.c 			tp->nvram_size = (protect ?
protect          14549 drivers/net/ethernet/broadcom/tg3.c 			tp->nvram_size = (protect ?
protect          14596 drivers/net/ethernet/broadcom/tg3.c 	u32 nvcfg1, protect = 0;
protect          14603 drivers/net/ethernet/broadcom/tg3.c 		protect = 1;
protect          14637 drivers/net/ethernet/broadcom/tg3.c 	if (protect) {
protect            62 drivers/net/wireless/ti/wl18xx/scan.c 	cmd->protect = 0;
protect           198 drivers/net/wireless/ti/wl18xx/scan.c 	cmd->protect = 0;
protect            54 drivers/net/wireless/ti/wl18xx/scan.h 	u8 protect;	 /* ??? */
protect           737 drivers/scsi/sd.c 	unsigned int protect = 0;
protect           758 drivers/scsi/sd.c 			protect = 3 << 5;	/* Disable target PI checking */
protect           760 drivers/scsi/sd.c 			protect = 1 << 5;	/* Enable target PI checking */
protect           767 drivers/scsi/sd.c 	return protect;
protect          1171 drivers/scsi/sd.c 	unsigned char protect, fua;
protect          1216 drivers/scsi/sd.c 		protect = sd_setup_protect_cmnd(cmd, dix, dif);
protect          1218 drivers/scsi/sd.c 		protect = 0;
protect          1220 drivers/scsi/sd.c 	if (protect && sdkp->protection_type == T10_PI_TYPE2_PROTECTION) {
protect          1222 drivers/scsi/sd.c 					 protect | fua);
protect          1225 drivers/scsi/sd.c 					 protect | fua);
protect          1227 drivers/scsi/sd.c 		   sdp->use_10_for_rw || protect) {
protect          1229 drivers/scsi/sd.c 					 protect | fua);
protect          1232 drivers/scsi/sd.c 					protect | fua);
protect           628 drivers/target/target_core_sbc.c sbc_set_prot_op_checks(u8 protect, bool fabric_prot, enum target_prot_type prot_type,
protect           633 drivers/target/target_core_sbc.c 			       protect ? TARGET_PROT_DOUT_PASS :
protect           635 drivers/target/target_core_sbc.c 		switch (protect) {
protect           654 drivers/target/target_core_sbc.c 			pr_err("Unsupported protect field %d\n", protect);
protect           659 drivers/target/target_core_sbc.c 			       protect ? TARGET_PROT_DIN_PASS :
protect           661 drivers/target/target_core_sbc.c 		switch (protect) {
protect           680 drivers/target/target_core_sbc.c 			pr_err("Unsupported protect field %d\n", protect);
protect           692 drivers/target/target_core_sbc.c 	u8 protect = cdb[1] >> 5;
protect           698 drivers/target/target_core_sbc.c 		if (unlikely(protect &&
protect           713 drivers/target/target_core_sbc.c 		if (protect)
protect           735 drivers/target/target_core_sbc.c 		if (!protect)
protect           740 drivers/target/target_core_sbc.c 		       "PROTECT: 0x%02x\n", cdb[0], protect);
protect           744 drivers/target/target_core_sbc.c 	if (sbc_set_prot_op_checks(protect, fabric_prot, pi_prot_type, is_write, cmd))
protect           756 drivers/target/target_core_sbc.c 	if (protect)
protect           422 drivers/video/fbdev/s3c-fb.c static void shadow_protect_win(struct s3c_fb_win *win, bool protect)
protect           427 drivers/video/fbdev/s3c-fb.c 	if (protect) {
protect            90 fs/affs/amigaffs.h 	__be32 protect;
protect            51 fs/affs/inode.c 	prot = be32_to_cpu(tail->protect);
protect           193 fs/affs/inode.c 		tail->protect = cpu_to_be32(AFFS_I(inode)->i_protect);
protect           298 sound/isa/msnd/msnd.c 	int	protect = start, nbanks = 0;
protect           342 sound/isa/msnd/msnd.c 		if (protect)
protect           102 tools/laptop/freefall/freefall.c 	protect(0);
protect           162 tools/laptop/freefall/freefall.c 		protect(21);