/linux-6.12.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-6.12.1/arch/powerpc/include/asm/ |
D | kfence.h | 33 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument 37 __kernel_map_pages(page, 1, !protect); in kfence_protect_page() 42 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument 46 if (protect) { in kfence_protect_page()
|
/linux-6.12.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-6.12.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-6.12.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-6.12.1/drivers/net/wireless/microchip/wilc1000/ |
D | netdev.h | 222 /* 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-6.12.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-6.12.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-6.12.1/arch/loongarch/include/asm/ |
D | kfence.h | 51 /* 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-6.12.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-6.12.1/include/linux/soundwire/ |
D | sdw_amd.h | 33 /* mutex to protect acp common register access */ 60 * @acp_sdw_lock: mutex to protect acp share register access 82 /* mutex to protect acp common register access */ 157 /* use to protect acp common registers access */
|
/linux-6.12.1/drivers/pinctrl/ |
D | pinctrl-equilibrium.h | 96 * @lock: spin lock to protect gpio register write. 105 raw_spinlock_t lock; /* protect gpio register */ 118 * @lock: protect pinctrl register write 129 raw_spinlock_t lock; /* protect pinpad register */
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/drivers/infiniband/hw/irdma/ |
D | main.h | 171 spinlock_t req_lock; /* protect CQP request list */ 172 spinlock_t compl_lock; /* protect CQP completion processing */ 309 spinlock_t arp_lock; /*protect ARP table access*/ 310 spinlock_t rsrc_lock; /* protect HW resource array access */ 311 spinlock_t qptable_lock; /*protect QP table access*/ 312 spinlock_t cqtable_lock; /*protect CQ table access*/ 315 spinlock_t qh_list_lock; /* protect mc_qht_list */ 341 struct mutex ah_tbl_lock; /* protect AH hash table access */
|
/linux-6.12.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-6.12.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-6.12.1/include/linux/framer/ |
D | framer.h | 73 * @mutex: mutex to protect framer_ops 74 * @init_count: used to protect when the framer is used by multiple consumers 75 * @power_count: used to protect when the framer is used by multiple consumers 86 struct mutex mutex; /* Protect framer */
|
/linux-6.12.1/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.h | 79 spinlock_t lock; /* protect srq */ 88 spinlock_t sq_lock; /* protect sq */ 89 spinlock_t rq_lock; /* protect rq */ 103 spinlock_t cq_lock; /* protect cq */ 145 spinlock_t sh_lock; /* protect shpg */
|
/linux-6.12.1/sound/soc/sh/rcar/ |
D | rsnd.h | 388 #define __rsnd_mod_add_init 1 /* needs protect */ 389 #define __rsnd_mod_add_quit -1 /* needs protect */ 390 #define __rsnd_mod_add_start 1 /* needs protect */ 391 #define __rsnd_mod_add_stop -1 /* needs protect */ 392 #define __rsnd_mod_add_hw_params 1 /* needs protect */ 393 #define __rsnd_mod_add_hw_free -1 /* needs protect */ 403 #define __rsnd_mod_call_init 0 /* needs protect */ 404 #define __rsnd_mod_call_quit 1 /* needs protect */ 405 #define __rsnd_mod_call_start 0 /* needs protect */ 406 #define __rsnd_mod_call_stop 1 /* needs protect */ [all …]
|
/linux-6.12.1/drivers/gpu/drm/msm/adreno/ |
D | a6xx_catalog.c | 689 .protect = &a630_protect, 721 .protect = &a630_protect, 751 .protect = &a630_protect, 775 .protect = &a630_protect, 799 .protect = &a630_protect, 823 .protect = &a630_protect, 847 .protect = &a630_protect, 873 .protect = &a650_protect, 900 .protect = &a630_protect, 919 .protect = &a630_protect, [all …]
|
D | a6xx_gpu.h | 19 * @protect: CP_PROTECT settings 23 const struct adreno_protect *protect; member 65 * as performance counters) this allows us to protect a much larger range with a
|
/linux-6.12.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-6.12.1/include/linux/mtd/ |
D | spi-nor.h | 104 #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-6.12.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-6.12.1/drivers/mtd/spi-nor/ |
D | swp.c | 45 /* Reserved one for "protect none" and one for "protect all". */ in spi_nor_get_min_prot_length_sr() 130 * - SEC: sector/block protect - only handle SEC=0 (block protect) 131 * - CMP: complement protect - only support CMP=0 (range is not complemented) 134 * - TB: top/bottom protect 308 /* Don't protect status register if we're fully unlocked */ in spi_nor_sr_unlock()
|