Home
last modified time | relevance | path

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

12345678910>>...76

/Linux-v6.6/tools/testing/selftests/powerpc/mm/
Dpkey_siginfo.c97 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.6/Documentation/misc-devices/
Deeprom.rst38 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.6/arch/powerpc/include/asm/
Dkfence.h24 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.6/arch/mips/sgi-ip22/
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-v6.6/include/soc/at91/
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-v6.6/drivers/scsi/
Dpmcraid.h666 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.6/drivers/net/wireless/microchip/wilc1000/
Dnetdev.h213 /* 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.6/arch/parisc/include/asm/
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-v6.6/security/
Dmin_addr.c7 /* 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.6/arch/loongarch/include/asm/
Dkfence.h41 /* 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()
/Linux-v6.6/arch/x86/include/asm/
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
56 if (protect) in kfence_protect_page()
/Linux-v6.6/drivers/target/
Dtarget_core_sbc.c606 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-v6.6/drivers/pinctrl/
Dpinctrl-equilibrium.h108 * @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 */
/Linux-v6.6/drivers/infiniband/hw/irdma/
Dmain.h171 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-v6.6/include/rdma/
Drdma_vt.h38 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.6/drivers/virt/acrn/
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-v6.6/include/linux/soundwire/
Dsdw_amd.h31 /* 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 */
/Linux-v6.6/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h79 spinlock_t lock; /* protect srq */
86 spinlock_t sq_lock; /* protect sq */
87 spinlock_t rq_lock; /* protect rq */
101 spinlock_t cq_lock; /* protect cq */
141 spinlock_t sh_lock; /* protect shpg */
/Linux-v6.6/sound/soc/sh/rcar/
Drsnd.h400 #define __rsnd_mod_add_init 1 /* needs protect */
401 #define __rsnd_mod_add_quit -1 /* needs protect */
402 #define __rsnd_mod_add_start 1 /* needs protect */
403 #define __rsnd_mod_add_stop -1 /* needs protect */
404 #define __rsnd_mod_add_hw_params 1 /* needs protect */
405 #define __rsnd_mod_add_hw_free -1 /* needs protect */
415 #define __rsnd_mod_call_init 0 /* needs protect */
416 #define __rsnd_mod_call_quit 1 /* needs protect */
417 #define __rsnd_mod_call_start 0 /* needs protect */
418 #define __rsnd_mod_call_stop 1 /* needs protect */
[all …]
/Linux-v6.6/arch/mips/sibyte/swarm/
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-v6.6/include/linux/mtd/
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-v6.6/arch/arm64/include/asm/
Dkfence.h15 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.6/drivers/mtd/spi-nor/
Dswp.c39 /* 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
304 /* Don't protect status register if we're fully unlocked */ in spi_nor_sr_unlock()
/Linux-v6.6/arch/riscv/include/asm/
Dkfence.h16 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
20 if (protect) in kfence_protect_page()
/Linux-v6.6/Documentation/devicetree/bindings/mmc/
Dmmc-controller.yaml74 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.

12345678910>>...76