Home
last modified time | relevance | path

Searched full:protect (Results 1 – 25 of 1374) sorted by relevance

12345678910>>...55

/linux/arch/x86/include/asm/
H A Dkfence.h40 /* Protect the given page and flush TLB. */
41 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
53 * protect requires making the page not-present. If the PTE is in kfence_protect_page()
56 if (protect != !!(val & _PAGE_PRESENT)) in kfence_protect_page()
71 if (!protect) in kfence_protect_page()
/linux/arch/mips/sgi-ip22/
H A Dip22-nvram.c18 #define EEPROM_PRREAD 0xc000 /* read protect register */
19 #define EEPROM_PREN 0x9800 /* enable protect register mode */
20 #define EEPROM_PRCLEAR 0xffff /* clear protect register */
21 #define EEPROM_PRWRITE 0xa000 /* write protect register */
22 #define EEPROM_PRDS 0x8000 /* disable protect register, forever */
24 #define EEPROM_EPROT 0x01 /* Protect register enable */
/linux/include/soc/at91/
H A Dat91sam9_ddrsdr.h114 #define AT91_DDRSDRC_WPMR 0xE4 /* Write Protect Mode Register [SAM9 Only] */
115 #define AT91_DDRSDRC_WP (1 << 0) /* Write protect enable */
116 #define AT91_DDRSDRC_WPKEY (0xffffff << 8) /* Write protect key */
117 #define AT91_DDRSDRC_KEY (0x444452 << 8) /* Write protect key = "DDR" */
119 #define AT91_DDRSDRC_WPSR 0xE8 /* Write Protect Status Register [SAM9 Only] */
120 #define AT91_DDRSDRC_WPVS (1 << 0) /* Write protect violation status */
121 #define AT91_DDRSDRC_WPVSRC (0xffff << 8) /* Write protect violation source */
/linux/drivers/net/wireless/microchip/wilc1000/
H A Dnetdev.h222 /* protect vif list */
234 /* protect head of transmit queue */
237 /* protect txq_entry_t transmit queue */
240 /* protect rxq_entry_t receiver queue */
243 /* lock to protect hif access */
255 /* lock to protect issue of wid command to firmware */
/linux/arch/parisc/include/asm/
H A Dkfence.h21 /* Protect the given page and flush TLB. */
22 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
34 if (protect) in kfence_protect_page()
/linux/security/
H A Dmin_addr.c8 /* amount of vm to protect from userspace access by both DAC and the LSM*/
10 /* amount of vm to protect from userspace using CAP_SYS_RAWIO (DAC) */
12 /* amount of vm to protect from userspace using the LSM = CONFIG_LSM_MMAP_MIN_ADDR */
/linux/arch/loongarch/include/asm/
H A Dkfence.h51 /* Protect the given page and flush TLB. */
52 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
59 if (protect) in kfence_protect_page()
/linux/drivers/virt/acrn/
H A Dacrn_drv.h114 * @range_lock: Lock to protect range_list
150 * @regions_mapping_lock: Lock to protect &acrn_vm.regions_mapping and
154 * @ioreq_clients_lock: Lock to protect ioreq_clients and default_client
161 * @ioeventfds_lock: Lock to protect ioeventfds list
164 * @irqfds_lock: Lock to protect irqfds list
/linux/sound/soc/renesas/rcar/
H A Drsnd.h395 #define __rsnd_mod_add_init 1 /* needs protect */
396 #define __rsnd_mod_add_quit -1 /* needs protect */
397 #define __rsnd_mod_add_start 1 /* needs protect */
398 #define __rsnd_mod_add_stop -1 /* needs protect */
399 #define __rsnd_mod_add_hw_params 1 /* needs protect */
400 #define __rsnd_mod_add_hw_free -1 /* needs protect */
410 #define __rsnd_mod_call_init 0 /* needs protect */
411 #define __rsnd_mod_call_quit 1 /* needs protect */
412 #define __rsnd_mod_call_start 0 /* needs protect */
413 #define __rsnd_mod_call_stop 1 /* needs protect */
[all...]
/linux/drivers/gpib/ni_usb/
H A Dni_usb_gpib.h75 struct mutex addressed_transfer_lock; // protect transfer lock
76 struct mutex bulk_transfer_lock; // protect bulk message sends
77 struct mutex control_transfer_lock; // protect control messages
78 struct mutex interrupt_transfer_lock; // protect interrupt messages
/linux/include/linux/mtd/
H A Dspi-nor.h104 #define SR_BP0 BIT(2) /* Block protect 0 */
105 #define SR_BP1 BIT(3) /* Block protect 1 */
106 #define SR_BP2 BIT(4) /* Block protect 2 */
107 #define SR_BP3 BIT(5) /* Block protect 3 */
108 #define SR_TB_BIT5 BIT(5) /* Top/Bottom protect */
109 #define SR_BP3_BIT6 BIT(6) /* Block protect 3 */
110 #define SR_TB_BIT6 BIT(6) /* Top/Bottom protect */
111 #define SR_SRWD BIT(7) /* SR write protect */
/linux/arch/mips/sibyte/swarm/
H A Drtc_xicor1241.c31 #define X1241REG_BL_BP2 0x80 /* block protect 2 */
32 #define X1241REG_BL_BP1 0x40 /* block protect 1 */
33 #define X1241REG_BL_BP0 0x20 /* block protect 0 */
42 #define X1241REG_BL 0x10 /* block protect bits */
/linux/Documentation/admin-guide/device-mapper/
H A Ddm-integrity.rst140 will protect the data against accidental corruption.
162 the size of files that were written. To protect against this
166 Protect sector numbers in the journal from accidental or malicious
167 modification. To protect against accidental modification, use a
168 crc algorithm, to protect against malicious modification, use a
279 numbers in the journal section, to protect against a
/linux/Documentation/devicetree/bindings/mmc/
H A Dmmc-controller-common.yaml66 The Write Protect line polarity is inverted.
107 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/drivers/gpu/drm/msm/adreno/
H A Da6xx_catalog.c696 .protect = &a630_protect,
727 .protect = &a630_protect,
746 .protect = &a630_protect,
777 .protect = &a630_protect,
802 .protect = &a630_protect,
827 .protect = &a630_protect,
852 .protect = &a630_protect,
877 .protect = &a630_protect,
903 .protect = &a650_protect,
926 .protect
[all...]
/linux/arch/arm64/include/asm/
H A Dkfence.h13 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
15 set_memory_valid(addr, 1, !protect); in kfence_protect_page()
/linux/drivers/misc/
H A Dsram-exec.c3 * SRAM protect-exec region helper functions
30 "SRAM pool marked with 'protect-exec' is not page aligned and will not be created.\n"); in sram_check_protect_exec()
58 * of 'protect-exec' pools which are normal sram pools but are always set
/linux/arch/sh/boards/mach-kfr2r09/
H A Dlcd_wqvga.c90 /* access protect OFF */ in read_device_code()
136 /* access protect off */ in display_on()
254 gpio_set_value(GPIO_PTF4, 0); /* PROTECT/ -> L */ in kfr2r09_lcd_setup()
256 gpio_set_value(GPIO_PTF4, 1); /* PROTECT/ -> H */ in kfr2r09_lcd_setup()
260 gpio_set_value(GPIO_PTF4, 0); /* PROTECT/ -> L */ in kfr2r09_lcd_setup()
/linux/arch/riscv/include/asm/
H A Dkfence.h17 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page()
21 if (protect) { in kfence_protect_page()
16 kfence_protect_page(unsigned long addr,bool protect) kfence_protect_page() argument
/linux/include/linux/platform_data/
H A Dlp8755.h19 *OCP : over current protect activated
20 *OVP : over voltage protect activated
/linux/arch/arm/include/asm/
H A 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/include/linux/dsa/
H A Dlan9303.h28 struct mutex indirect_mutex; /* protect indexed register access */
29 struct mutex alr_mutex; /* protect ALR access */
/linux/tools/laptop/freefall/
H A Dfreefall.c80 static void protect(int seconds) in protect() function
102 protect(0); in ignore_me()
162 protect(21); in main()
/linux/include/linux/mfd/
H A Dlochnagar.h29 * @analogue_config_lock: Lock used to protect updates in the analogue
38 /* Lock to protect updates to the analogue configuration */
/linux/Documentation/security/tpm/
H A Dtpm-security.rst32 evaporate. However, the goal of this document is to protect TPM
72 interception which HMAC protection alone cannot protect against, so
151 protect the integrity. Additionally, we use parameter encryption to
152 protect key sealing and parameter decryption to protect key unsealing

12345678910>>...55