Home
last modified time | relevance | path

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

12345678910>>...65

/linux-5.10/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-5.10/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-5.10/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-5.10/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-5.10/drivers/net/wireless/microchip/wilc1000/
Dnetdev.h212 /* 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 */
/linux-5.10/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-5.10/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-5.10/Documentation/devicetree/bindings/sound/
Dqcom,msm8916-wcd-analog.txt15 "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-5.10/drivers/lightnvm/
Dpblk-rb.c178 /* 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 …]
/linux-5.10/include/linux/platform_data/
Dmmc-s3cmci.h7 * @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.
Dlp8755.h19 *OCP : over current protect activated
20 *OVP : over voltage protect activated
/linux-5.10/drivers/target/
Dtarget_core_sbc.c628 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()
692 u8 protect = cdb[1] >> 5; in sbc_check_prot() local
698 if (unlikely(protect && in sbc_check_prot()
700 pr_err("CDB contains protect bit, but device + fabric does" in sbc_check_prot()
[all …]
/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h77 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-5.10/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-5.10/drivers/pinctrl/
Dpinctrl-equilibrium.h107 * @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-5.10/Documentation/admin-guide/device-mapper/
Ddm-integrity.rst130 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
247 numbers in the journal section, to protect against a
/linux-5.10/drivers/staging/media/atomisp/include/hmm/
Dhmm_pool.h73 * @list_lock: list lock is used to protect the operation
90 * @list_lock: list lock is used to protect the operation
98 /* list lock is used to protect the free pages block lists */
/linux-5.10/include/linux/mtd/
Dspi-nor.h111 #define SR_BP0 BIT(2) /* Block protect 0 */
112 #define SR_BP1 BIT(3) /* Block protect 1 */
113 #define SR_BP2 BIT(4) /* Block protect 2 */
114 #define SR_BP3 BIT(5) /* Block protect 3 */
115 #define SR_TB_BIT5 BIT(5) /* Top/Bottom protect */
116 #define SR_BP3_BIT6 BIT(6) /* Block protect 3 */
117 #define SR_TB_BIT6 BIT(6) /* Top/Bottom protect */
118 #define SR_SRWD BIT(7) /* SR write protect */
/linux-5.10/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-5.10/Documentation/RCU/
DarrayRCU.rst3 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-5.10/arch/sh/boards/mach-kfr2r09/
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-5.10/include/linux/dsa/
Dlan9303.h28 struct mutex indirect_mutex; /* protect indexed register access */
29 struct mutex alr_mutex; /* protect ALR access */
/linux-5.10/include/linux/mfd/
Dlochnagar.h29 * @analogue_config_lock: Lock used to protect updates in the analogue
38 /* Lock to protect updates to the analogue configuration */
/linux-5.10/Documentation/devicetree/bindings/mmc/
Dmmc-controller.yaml73 The Write Protect line polarity is inverted.
99 When set, no physical write-protect line is present. This
101 dedicated write-protect detection logic. If a GPIO is always used
102 for the write-protect detection logic, it is sufficient to not
103 specify the wp-gpios property in the absence of a write-protect
108 GPIO to use for the write-protect detection.
/linux-5.10/drivers/misc/
Dsram-exec.c2 * SRAM protect-exec region helper functions
38 "SRAM pool marked with 'protect-exec' is not page aligned and will not be created.\n"); in sram_check_protect_exec()
66 * of 'protect-exec' pools which are normal sram pools but are always set

12345678910>>...65