| /kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/ |
| D | pkey_siginfo.c | 97 static void *protect(void *p) in protect() function 119 * Repeatedly try to protect the common region with a permissive in protect() 164 * Repeatedly try to protect the common region with a restrictive in protect_access() 287 * the one from the protect-and-access thread since the other in test() 294 /* Setup barrier for protect and protect-and-access threads */ in test() 298 /* Setup and start protect and protect-and-read threads */ in test() 299 puts("starting thread pair (protect, protect-and-read)"); in test() 301 FAIL_IF(pthread_create(&prot_thread, &attr, &protect, &r) != 0); in test() 306 /* Setup and start protect and protect-and-write threads */ in test() 307 puts("starting thread pair (protect, protect-and-write)"); in test() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/powerpc/mm/ |
| D | pkey_siginfo.c | 97 static void *protect(void *p) in protect() function 119 * Repeatedly try to protect the common region with a permissive in protect() 164 * Repeatedly try to protect the common region with a restrictive in protect_access() 287 * the one from the protect-and-access thread since the other in test() 294 /* Setup barrier for protect and protect-and-access threads */ in test() 298 /* Setup and start protect and protect-and-read threads */ in test() 299 puts("starting thread pair (protect, protect-and-read)"); in test() 301 FAIL_IF(pthread_create(&prot_thread, &attr, &protect, &r) != 0); in test() 306 /* Setup and start protect and protect-and-write threads */ in test() 307 puts("starting thread pair (protect, protect-and-write)"); in test() [all …]
|
| /kernel/linux/linux-5.10/Documentation/misc-devices/ |
| D | eeprom.rst | 38 Atmel 34C02B 2K 0x50 - 0x57, SW write protect at 0x30-37 39 Catalyst 34FC02 2K 0x50 - 0x57, SW write protect at 0x30-37 40 Catalyst 34RC02 2K 0x50 - 0x57, SW write protect at 0x30-37 41 Fairchild 34W02 2K 0x50 - 0x57, SW write protect at 0x30-37 42 Microchip 24AA52 2K 0x50 - 0x57, SW write protect at 0x30-37 43 ST M34C02 2K 0x50 - 0x57, SW write protect at 0x30-37 78 software write protect register at 0x30 - 0x37 (0x20 less than the memory 82 this address will write protect the memory array permanently, and the
|
| /kernel/linux/linux-6.6/Documentation/misc-devices/ |
| D | eeprom.rst | 38 Atmel 34C02B 2K 0x50 - 0x57, SW write protect at 0x30-37 39 Catalyst 34FC02 2K 0x50 - 0x57, SW write protect at 0x30-37 40 Catalyst 34RC02 2K 0x50 - 0x57, SW write protect at 0x30-37 41 Fairchild 34W02 2K 0x50 - 0x57, SW write protect at 0x30-37 42 Microchip 24AA52 2K 0x50 - 0x57, SW write protect at 0x30-37 43 ST M34C02 2K 0x50 - 0x57, SW write protect at 0x30-37 78 software write protect register at 0x30 - 0x37 (0x20 less than the memory 82 this address will write protect the memory array permanently, and the
|
| /kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
| D | kfence.h | 24 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument 28 __kernel_map_pages(page, 1, !protect); in kfence_protect_page() 33 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument 37 if (protect) { in kfence_protect_page()
|
| /kernel/linux/linux-5.10/arch/mips/sgi-ip22/ |
| D | ip22-nvram.c | 18 #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 */
|
| /kernel/linux/linux-6.6/arch/mips/sgi-ip22/ |
| D | ip22-nvram.c | 18 #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 */
|
| /kernel/linux/linux-5.10/include/soc/at91/ |
| D | at91sam9_ddrsdr.h | 114 #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 */
|
| /kernel/linux/linux-6.6/include/soc/at91/ |
| D | at91sam9_ddrsdr.h | 114 #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 */
|
| /kernel/linux/linux-6.6/drivers/scsi/ |
| D | pmcraid.h | 666 spinlock_t resource_lock; /* spinlock to protect resource list */ 943 "Data Protect, device is read/write protected by IOA"}, 945 "Data Protect, IOA doesn't support device attribute"}, 947 "Data Protect, NVRAM mirroring prohibited"}, 949 "Data Protect, array is short 2 or more devices"}, 951 "Data Protect, exposed array is short a required device"}, 953 "Data Protect, array members not at required addresses"}, 955 "Data Protect, exposed mode device resource address conflict"}, 957 "Data Protect, incorrect resource address of exposed mode device"}, 959 "Data Protect, Array is missing a device and parity is out of sync"}, [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/microchip/wilc1000/ |
| D | netdev.h | 213 /* protect vif list */ 218 /* protect head of transmit queue */ 221 /* protect txq_entry_t transmit queue */ 224 /* protect rxq_entry_t receiver queue */ 227 /* lock to protect hif access */ 239 /* lock to protect issue of wid command to firmware */
|
| /kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/ |
| D | netdev.h | 212 /* protect vif list */ 217 /* protect head of transmit queue */ 220 /* protect txq_entry_t transmit queue */ 223 /* protect rxq_entry_t receiver queue */ 226 /* lock to protect hif access */ 238 /* lock to protect issue of wid command to firmware */
|
| /kernel/linux/linux-5.10/drivers/scsi/ |
| D | pmcraid.h | 666 spinlock_t resource_lock; /* spinlock to protect resource list */ 943 "Data Protect, device is read/write protected by IOA"}, 945 "Data Protect, IOA doesn't support device attribute"}, 947 "Data Protect, NVRAM mirroring prohibited"}, 949 "Data Protect, array is short 2 or more devices"}, 951 "Data Protect, exposed array is short a required device"}, 953 "Data Protect, array members not at required addresses"}, 955 "Data Protect, exposed mode device resource address conflict"}, 957 "Data Protect, incorrect resource address of exposed mode device"}, 959 "Data Protect, Array is missing a device and parity is out of sync"}, [all …]
|
| /kernel/linux/linux-6.6/arch/parisc/include/asm/ |
| D | kfence.h | 21 /* 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()
|
| /kernel/linux/linux-6.6/security/ |
| D | min_addr.c | 7 /* amount of vm to protect from userspace access by both DAC and the LSM*/ 9 /* amount of vm to protect from userspace using CAP_SYS_RAWIO (DAC) */ 11 /* amount of vm to protect from userspace using the LSM = CONFIG_LSM_MMAP_MIN_ADDR */
|
| /kernel/linux/linux-5.10/security/ |
| D | min_addr.c | 7 /* amount of vm to protect from userspace access by both DAC and the LSM*/ 9 /* amount of vm to protect from userspace using CAP_SYS_RAWIO (DAC) */ 11 /* amount of vm to protect from userspace using the LSM = CONFIG_LSM_MMAP_MIN_ADDR */
|
| /kernel/linux/linux-6.6/arch/loongarch/include/asm/ |
| D | kfence.h | 41 /* Protect the given page and flush TLB. */ 42 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument 49 if (protect) in kfence_protect_page()
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | qcom,msm8916-wcd-analog.txt | 15 "cdc_spk_ocp_int" - Speaker over current protect interrupt. 21 "cdc_ear_ocp_int" - Earphone over current protect interrupt. 22 "cdc_hphr_ocp_int" - Headphone R over current protect interrupt. 23 "cdc_hphl_ocp_det" - Headphone L over current protect interrupt.
|
| /kernel/linux/linux-6.6/arch/x86/include/asm/ |
| D | kfence.h | 40 /* Protect the given page and flush TLB. */ 41 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument 56 if (protect) in kfence_protect_page()
|
| /kernel/linux/linux-5.10/include/linux/platform_data/ |
| D | mmc-s3cmci.h | 7 * @no_wprotect: Set this to indicate there is no write-protect switch. 9 * @wprotect_invert: Invert the default sense of the write protect switch. 12 * @gpio_wprotect: GPIO number for the write protect line.
|
| /kernel/linux/linux-5.10/drivers/lightnvm/ |
| D | pblk-rb.c | 178 /* Release flags on context. Protect from writes and reads */ in clean_wctx() 312 /* Protect from reads and writes */ in pblk_rb_sync_l2p() 356 /* Release flags on write context. Protect from writes */ in pblk_rb_write_entry_user() 382 /* Release flags on write context. Protect from writes */ in pblk_rb_write_entry_gc() 407 /* Protect flush points */ in pblk_rb_flush_point_set() 447 /* Protect from read count */ in pblk_rb_may_write() 483 /* Protect from read count */ in pblk_rb_may_write_flush() 594 /* Release flags on context. Protect from writes */ in pblk_rb_read_to_bio() 604 /* Release flags on context. Protect from writes */ in pblk_rb_read_to_bio() 612 /* Release flags on context. Protect from writes */ in pblk_rb_read_to_bio() [all …]
|
| /kernel/linux/linux-6.6/drivers/pinctrl/ |
| D | pinctrl-equilibrium.h | 108 * @lock: spin lock to protect gpio register write. 117 raw_spinlock_t lock; /* protect gpio register */ 130 * @lock: protect pinctrl register write 141 raw_spinlock_t lock; /* protect pinpad register */
|
| /kernel/linux/linux-6.6/drivers/target/ |
| D | target_core_sbc.c | 606 sbc_set_prot_op_checks(u8 protect, bool fabric_prot, enum target_prot_type prot_type, in sbc_set_prot_op_checks() argument 611 protect ? TARGET_PROT_DOUT_PASS : in sbc_set_prot_op_checks() 613 switch (protect) { in sbc_set_prot_op_checks() 632 pr_err("Unsupported protect field %d\n", protect); in sbc_set_prot_op_checks() 637 protect ? TARGET_PROT_DIN_PASS : in sbc_set_prot_op_checks() 639 switch (protect) { in sbc_set_prot_op_checks() 658 pr_err("Unsupported protect field %d\n", protect); in sbc_set_prot_op_checks() 667 sbc_check_prot(struct se_device *dev, struct se_cmd *cmd, unsigned char protect, in sbc_check_prot() argument 675 if (unlikely(protect && in sbc_check_prot() 677 pr_err("CDB contains protect bit, but device + fabric does" in sbc_check_prot() [all …]
|
| /kernel/linux/linux-5.10/drivers/target/ |
| D | target_core_sbc.c | 628 sbc_set_prot_op_checks(u8 protect, bool fabric_prot, enum target_prot_type prot_type, in sbc_set_prot_op_checks() argument 633 protect ? TARGET_PROT_DOUT_PASS : in sbc_set_prot_op_checks() 635 switch (protect) { in sbc_set_prot_op_checks() 654 pr_err("Unsupported protect field %d\n", protect); in sbc_set_prot_op_checks() 659 protect ? TARGET_PROT_DIN_PASS : in sbc_set_prot_op_checks() 661 switch (protect) { in sbc_set_prot_op_checks() 680 pr_err("Unsupported protect field %d\n", protect); in sbc_set_prot_op_checks() 689 sbc_check_prot(struct se_device *dev, struct se_cmd *cmd, unsigned char protect, in sbc_check_prot() argument 697 if (unlikely(protect && in sbc_check_prot() 699 pr_err("CDB contains protect bit, but device + fabric does" in sbc_check_prot() [all …]
|
| /kernel/linux/linux-6.6/include/linux/soundwire/ |
| D | sdw_amd.h | 31 /* mutex to protect acp common register access */ 66 * @acp_sdw_lock: mutex to protect acp share register access 90 /* mutex to protect acp common register access */
|