/Linux-v6.1/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 …]
|
/Linux-v6.1/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
|
/Linux-v6.1/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()
|
/Linux-v6.1/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 */
|
/Linux-v6.1/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 */
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 */
|
/Linux-v6.1/drivers/infiniband/sw/rxe/ |
D | rxe_queue.h | 30 * - These queues are lock free. The user and driver must protect 100 /* protect user index */ in queue_get_producer() 107 /* protect driver index */ in queue_get_producer() 128 /* protect user index */ in queue_get_consumer() 135 /* protect driver index */ in queue_get_consumer() 182 /* protect user index */ in queue_advance_producer() 207 /* protect user index */ in queue_advance_consumer()
|
/Linux-v6.1/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()
|
/Linux-v6.1/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 */
|
/Linux-v6.1/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.
|
/Linux-v6.1/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()
|
/Linux-v6.1/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.
|
/Linux-v6.1/drivers/target/ |
D | target_core_sbc.c | 603 sbc_set_prot_op_checks(u8 protect, bool fabric_prot, enum target_prot_type prot_type, in sbc_set_prot_op_checks() argument 608 protect ? TARGET_PROT_DOUT_PASS : in sbc_set_prot_op_checks() 610 switch (protect) { in sbc_set_prot_op_checks() 629 pr_err("Unsupported protect field %d\n", protect); in sbc_set_prot_op_checks() 634 protect ? TARGET_PROT_DIN_PASS : in sbc_set_prot_op_checks() 636 switch (protect) { in sbc_set_prot_op_checks() 655 pr_err("Unsupported protect field %d\n", protect); in sbc_set_prot_op_checks() 664 sbc_check_prot(struct se_device *dev, struct se_cmd *cmd, unsigned char protect, in sbc_check_prot() argument 672 if (unlikely(protect && in sbc_check_prot() 674 pr_err("CDB contains protect bit, but device + fabric does" in sbc_check_prot() [all …]
|
/Linux-v6.1/include/rdma/ |
D | rdma_vt.h | 38 spinlock_t lock; /* protect changes in this struct */ 395 spinlock_t n_pds_lock; /* Protect pd allocated count */ 398 spinlock_t n_ahs_lock; /* Protect ah allocated count */ 401 spinlock_t n_srqs_lock; /* Protect srqs allocated count */ 411 spinlock_t n_qps_lock; /* protect qps, rc qps and busy jiffy counts */ 415 spinlock_t mmap_offset_lock; /* protect mmap_offset */ 417 spinlock_t pending_lock; /* protect pending mmap list */ 421 spinlock_t n_cqs_lock; /* protect count of in use cqs */
|
/Linux-v6.1/drivers/virt/acrn/ |
D | acrn_drv.h | 114 * @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-v6.1/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.h | 77 spinlock_t lock; /* protect srq */ 84 spinlock_t sq_lock; /* protect sq */ 85 spinlock_t rq_lock; /* protect rq */ 99 spinlock_t cq_lock; /* protect cq */ 136 spinlock_t sh_lock; /* protect shpg */
|
/Linux-v6.1/drivers/pinctrl/ |
D | pinctrl-equilibrium.h | 109 * @lock: spin lock to protect gpio register write. 119 raw_spinlock_t lock; /* protect gpio register */ 132 * @lock: protect pinctrl register write 143 raw_spinlock_t lock; /* protect pinpad register */
|
/Linux-v6.1/Documentation/admin-guide/device-mapper/ |
D | dm-integrity.rst | 130 will protect the data against accidental corruption. 152 the size of files that were written. To protect against this 156 Protect sector numbers in the journal from accidental or malicious 157 modification. To protect against accidental modification, use a 158 crc algorithm, to protect against malicious modification, use a 264 numbers in the journal section, to protect against a
|
/Linux-v6.1/sound/soc/sh/rcar/ |
D | rsnd.h | 394 #define __rsnd_mod_add_init 1 /* needs protect */ 395 #define __rsnd_mod_add_quit -1 /* needs protect */ 396 #define __rsnd_mod_add_start 1 /* needs protect */ 397 #define __rsnd_mod_add_stop -1 /* needs protect */ 398 #define __rsnd_mod_add_hw_params 1 /* needs protect */ 399 #define __rsnd_mod_add_hw_free -1 /* needs protect */ 409 #define __rsnd_mod_call_init 0 /* needs protect */ 410 #define __rsnd_mod_call_quit 1 /* needs protect */ 411 #define __rsnd_mod_call_start 0 /* needs protect */ 412 #define __rsnd_mod_call_stop 1 /* needs protect */ [all …]
|
/Linux-v6.1/arch/arm64/include/asm/ |
D | kfence.h | 15 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument 17 set_memory_valid(addr, 1, !protect); in kfence_protect_page()
|
/Linux-v6.1/Documentation/RCU/ |
D | arrayRCU.rst | 3 Using RCU to Protect Read-Mostly Arrays 6 Although RCU is more commonly used to protect linked lists, it can 7 also be used to protect arrays. Three situations are as follows: 17 of RCU to instead protect the index into an array, however, this use
|
/Linux-v6.1/arch/mips/sibyte/swarm/ |
D | rtc_xicor1241.c | 31 #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-v6.1/include/linux/mtd/ |
D | spi-nor.h | 105 #define SR_BP0 BIT(2) /* Block protect 0 */ 106 #define SR_BP1 BIT(3) /* Block protect 1 */ 107 #define SR_BP2 BIT(4) /* Block protect 2 */ 108 #define SR_BP3 BIT(5) /* Block protect 3 */ 109 #define SR_TB_BIT5 BIT(5) /* Top/Bottom protect */ 110 #define SR_BP3_BIT6 BIT(6) /* Block protect 3 */ 111 #define SR_TB_BIT6 BIT(6) /* Top/Bottom protect */ 112 #define SR_SRWD BIT(7) /* SR write protect */
|
/Linux-v6.1/drivers/mtd/spi-nor/ |
D | swp.c | 39 /* Reserved one for "protect none" and one for "protect all". */ in spi_nor_get_min_prot_length_sr() 126 * - SEC: sector/block protect - only handle SEC=0 (block protect) 127 * - CMP: complement protect - only support CMP=0 (range is not complemented) 130 * - TB: top/bottom protect 299 /* Don't protect status register if we're fully unlocked */ in spi_nor_sr_unlock()
|