/linux/drivers/android/ |
H A D | binder_internal.h | 180 * (protected by @proc->inner_lock) 182 * (protected by @proc->inner_lock) 184 * (protected by binder_dead_nodes_lock) 188 * (protected by @lock) 191 * (protected by @proc->inner_lock if @proc 194 * (protected by @proc->inner_lock if @proc 197 * (protected by @proc->inner_lock if @proc 200 * (protected by @proc->inner_lock while @proc 203 * it is also protected by @lock to provide safety 210 * (protected by @proc->inner_lock if @proc [all …]
|
/linux/mm/ |
H A D | page_counter.c | 24 unsigned long protected, old_protected; in propagate_protected_usage() local 30 protected = min(usage, READ_ONCE(c->min)); in propagate_protected_usage() 32 if (protected != old_protected) { in propagate_protected_usage() 33 old_protected = atomic_long_xchg(&c->min_usage, protected); in propagate_protected_usage() 34 delta = protected - old_protected; in propagate_protected_usage() 39 protected = min(usage, READ_ONCE(c->low)); in propagate_protected_usage() 41 if (protected != old_protected) { in propagate_protected_usage() 42 old_protected = atomic_long_xchg(&c->low_usage, protected); in propagate_protected_usage() 43 delta = protected - old_protected; in propagate_protected_usage() 228 * page_counter_set_min - set the amount of protected memory [all …]
|
/linux/arch/arm64/kvm/hyp/include/nvhe/ |
H A D | fixed_config.h | 25 * The approach taken for protected VMs is to allow features that are: 33 * Allow for protected VMs: 47 * Restrict to the following *unsigned* features for protected VMs: 63 * Allow for protected VMs: 75 * Allow for protected VMs: 89 * Restrict to the following *unsigned* features for protected VMs: 99 * Allow for protected VMs: 119 * Allow for protected VMs: 143 * No support for Scalable Vectors for protected VMs: 150 * No support for debug, including breakpoints, and watchpoints for protected [all …]
|
/linux/arch/x86/realmode/rm/ |
H A D | wakeup.h | 16 u32 pmode_entry; /* Protected mode resume point, 32-bit only */ 18 u32 pmode_cr0; /* Protected mode cr0 */ 19 u32 pmode_cr3; /* Protected mode cr3 */ 20 u32 pmode_cr4; /* Protected mode cr4 */ 21 u32 pmode_efer_low; /* Protected mode EFER */ 24 u32 pmode_misc_en_low; /* Protected mode MISC_ENABLE */
|
/linux/Documentation/virt/kvm/s390/ |
H A D | s390-pv-boot.rst | 4 s390 (IBM Z) Boot/IPL of Protected VMs 9 The memory of Protected Virtual Machines (PVMs) is not accessible to 17 KVM to decrypt the protected virtual machine. 19 Based on this data, KVM will make the protected virtual machine known 44 Subcode 10: Move into Protected Virtualization mode 67 When running in protected virtualization mode, some subcodes will result in 76 Re-IPL into a protected mode is only possible via a detour into non 77 protected mode.
|
/linux/arch/s390/kvm/ |
H A D | pv.c | 3 * Hosting Protected Virtual Machines 36 * struct pv_vm_to_be_destroyed - Represents a protected VM that needs to 40 * @old_gmap_table: the gmap table of the leftover protected VM 41 * @handle: the handle of the leftover protected VM 42 * @stor_var: pointer to the variable storage of the leftover protected VM 43 * @stor_base: address of the base storage of the leftover protected VM 45 * Represents a protected VM that is still registered with the Ultravisor, 202 * kvm_s390_pv_dispose_one_leftover - Clean up one leftover protected VM. 203 * @kvm: the KVM that was associated with this leftover protected VM 204 * @leftover: details about the leftover protected VM that needs a clean up [all …]
|
/linux/include/drm/ |
H A D | drm_auth.h | 51 * @unique: Unique identifier: e.g. busid. Protected by 56 * @unique_len: Length of unique field. Protected by 61 * @magic_map: Map of used authentication tokens. Protected by 87 * Protected by &drm_device.mode_config's &drm_mode_config.idr_mutex. 95 * Not used for owners. Protected by &drm_device.mode_config's 103 * List of drm_masters leasing from this one. Protected by 115 * Objects leased to this drm_master. Protected by 127 * Protected by &drm_device.mode_config's &drm_mode_config.idr_mutex.
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | core.h | 207 /* Protected by data_lock */ 431 /* protected by ar->data_lock */ 524 /* the following are protected by ar->data_lock */ 546 /* protected by conf_mutex */ 549 /* Protected with ar->data_lock */ 552 /* Protected with ar->data_lock */ 582 /* protected by data_lock */ 630 /* For setting VHT peer fixed rate, protected by conf_mutex */ 648 /* Copy Engine register dump, protected by ce-lock */ 665 /* used for crash-dump storage, protected by data-lock */ [all …]
|
/linux/rust/kernel/sync/ |
H A D | locked_by.rs | 3 //! A wrapper for data protected by a lock that does not wrap it. 11 /// In most cases, data protected by a lock is wrapped by the appropriate lock type, e.g., 14 /// to be protected by the same lock. 98 /// that the right owner is being used to access the protected data. If the owner is freed, the 101 /// because in any case at most one thread (or CPU) can access the protected data at a time. 115 /// Returns a reference to the protected data when the caller provides evidence (via a 119 /// the data protected by the lock without actually holding it. 123 /// Panics if `owner` is different from the data protected by the lock used in 144 /// Returns a mutable reference to the protected data when the caller provides evidence (via a 148 /// matches the data protected by the lock without actually holding it. [all …]
|
H A D | lock.rs | 23 /// - Implementers must ensure that only one thread/CPU may access the protected data once the lock 96 /// The data protected by the lock. 123 /// Acquires the lock and gives the caller access to the data protected by it. 137 /// protected by the lock. 145 // SAFETY: `Guard` is sync when the data protected by the lock is also sync. 165 // SAFETY: The caller owns the lock, so it is safe to deref the protected data. in deref() 172 // SAFETY: The caller owns the lock, so it is safe to deref the protected data. in deref_mut()
|
/linux/arch/s390/include/uapi/asm/ |
H A D | pkey.h | 24 #define PROTKEYBLOBSIZE 80 /* protected key blob size is always 80 bytes */ 25 #define MAXPROTKEYSIZE 64 /* a protected key blob may be up to 64 bytes */ 93 /* Struct to hold protected key and length info */ 97 __u8 protkey[MAXPROTKEYSIZE]; /* the protected key blob */ 143 * Fabricate AES protected key from a CCA AES secure key 149 struct pkey_protkey protkey; /* out: the protected key */ 154 * Fabricate AES protected key from clear key value 159 struct pkey_protkey protkey; /* out: the protected key */ 179 struct pkey_protkey protkey; /* out: the protected key */ 203 * Generate AES random protected key. [all …]
|
/linux/drivers/s390/crypto/ |
H A D | pkey_pckmo.c | 24 MODULE_DESCRIPTION("s390 protected key PCKMO handler"); 79 * Create a protected key from a clear key value via PCKMO instruction. 205 /* copy created protected key to key buffer including the wkvp block */ in pckmo_clr2protkey() 218 * Verify a raw protected key blob. 219 * Currently only AES protected keys are supported. 253 PKEY_DBF_ERR("%s invalid protected key size %u for keytype %u\n", in pckmo_verify_protkey() 266 PKEY_DBF_ERR("%s protected key is not valid\n", __func__); in pckmo_verify_protkey() 320 PKEY_DBF_ERR("%s protected key token: unknown keytype %u\n", in pckmo_key2protkey() 399 * Generate a random protected key. 400 * Currently only the generation of AES protected keys [all …]
|
H A D | pkey_base.h | 32 #define PROTKEYBLOBBUFSIZE 256 /* protected key buffer size used internal */ 36 /* inside view of a generic protected key token */ 40 u8 version; /* should be 0x01 for protected key token */ 44 u8 protkey[]; /* the protected key blob */ 47 /* inside view of a protected AES key token */ 51 u8 version; /* should be 0x01 for protected key token */ 55 u8 protkey[MAXPROTKEYSIZE]; /* the protected key blob */
|
/linux/net/mac80211/tests/ |
H A D | mfp.c | 77 /* protected dual of public action */ 79 .desc = "protected dual: drop unicast from unknown peer", 87 .desc = "protected dual: drop multicast from unknown peer", 95 .desc = "protected dual: drop unicast without MFP", 104 .desc = "protected dual: drop multicast without MFP", 113 .desc = "protected dual: drop undecrypted unicast with MFP", 123 .desc = "protected dual: drop undecrypted multicast with MFP", 133 .desc = "protected dual: accept unicast with MFP", 144 .desc = "protected dual: accept multicast with MFP",
|
/linux/drivers/crypto/ |
H A D | Kconfig | 79 tristate "Kernel API for protected key handling" 83 for creation and handling of protected keys. Other parts of the 86 The protected key support is distributed into: 90 implementations using protected key. 92 loaded when pckmo support (that is generation of protected keys 100 API for protected key handling. 107 This is the CCA support handler for deriving protected keys 109 way to make protected keys from clear key values. 115 this option unless you are sure you never need to derive protected 123 This is the EP11 support handler for deriving protected keys [all …]
|
/linux/drivers/virt/vboxguest/ |
H A D | vboxguest_core.h | 111 * Protected by session_mutex. 116 * Protected by session_mutex. 133 * Protected by session_mutex. 138 * Protected by session_mutex. 167 * Protected by vbg_gdev.session_mutex. 173 * host filter. Protected by vbg_gdev.session_mutex. 184 * host. Protected by vbg_gdev.session_mutex. 189 /** Set on CANCEL_ALL_WAITEVENTS, protected by vbg_devevent_spinlock. */
|
/linux/arch/arm64/include/asm/stacktrace/ |
H A D | nvhe.h | 7 * 1) Non-protected nVHE mode - the host can directly access the 12 * 2) pKVM (protected nVHE) mode - the host cannot directly access 42 * Conventional (non-protected) nVHE HYP stack unwinder 44 * In non-protected mode, the unwinding is done from kernel proper context
|
/linux/drivers/pinctrl/intel/ |
H A D | pinctrl-tangier.h | 32 * @protected: True if family is protected by access 39 bool protected; member 55 .protected = true, \
|
/linux/Documentation/pcmcia/ |
H A D | locking.rst | 62 protected by pcmcia_socket_list_rwsem; 67 The resource_ops and their data are protected by ops_mutex. 69 The "main" struct pcmcia_socket is protected as follows (read-only fields 112 The "main" struct pcmcia_device is protected as follows (read-only fields
|
/linux/arch/arm64/kvm/ |
H A D | stacktrace.c | 7 * 1) Non-protected nVHE mode - the host can directly access the 12 * 2) pKVM (protected nVHE) mode - the host cannot directly access 169 * hyp_dump_backtrace - Dump the non-protected nVHE backtrace. 173 * The host can directly access HYP stack pages in non-protected 204 * pkvm_dump_backtrace - Dump the protected nVHE HYP backtrace. 210 * host cannot directly access hypervisor memory in protected
|
/linux/include/linux/ |
H A D | cgroup-defs.h | 178 * linkage is protected by cgroup_mutex or RCU 222 * Protected by cgroup_mutex. 256 /* internal task count, protected by css_set_lock */ 262 * process of being migrated out or in. Protected by 288 * slot. Protected by css_set_lock 294 * css_set. Protected by css_set_lock. 300 * source or destination. Protected by cgroup_mutex. 311 * on this cset should be migrated to. Protected by cgroup_mutex. 320 /* For RCU-protected deletion */ 389 * Protected by per-cpu cgroup_rstat_cpu_lock. [all …]
|
H A D | rcupdate.h | 442 * lockdep_assert_in_rcu_read_lock - WARN if not protected by rcu_read_lock() 450 * lockdep_assert_in_rcu_read_lock_bh - WARN if not protected by rcu_read_lock_bh() 460 * lockdep_assert_in_rcu_read_lock_sched - WARN if not protected by rcu_read_lock_sched() 473 * type in effect. Note that regions of code protected by things like 521 * unrcu_pointer - mark a pointer as not being RCU protected 558 * RCU_INITIALIZER() - statically initialize an RCU-protected global variable 564 * rcu_assign_pointer() - assign to RCU-protected pointer 568 * Assigns the specified value to the specified RCU-protected 627 * Return the value of the specified RCU-protected pointer, but omit the 630 * not dereferenced, for example, when testing an RCU-protected pointer [all …]
|
/linux/net/ieee802154/ |
H A D | core.h | 14 /* also protected by devlist_mtx */ 18 /* protected by RTNL only */ 21 /* associated wpan interfaces, protected by rtnl or RCU */
|
/linux/include/drm/display/ |
H A D | drm_dp_mst_helper.h | 62 * @input: if this port is an input port. Protected by 64 * @mcs: message capability status - DP 1.2 spec. Protected by 66 * @ddps: DisplayPort Device Plug Status - DP 1.2. Protected by 68 * @pdt: Peer Device Type. Protected by 70 * @ldps: Legacy Device Plug Status. Protected by 72 * @dpcd_rev: DPCD revision of device on this port. Protected by 74 * @num_sdp_streams: Number of simultaneous streams. Protected by 76 * @num_sdp_stream_sinks: Number of stream sinks. Protected by 78 * @full_pbn: Max possible bandwidth for this port. Protected by 81 * @aux: i2c aux transport to talk to device connected to this port, protected [all …]
|
/linux/arch/x86/kernel/ |
H A D | umip.c | 2 * umip.c Emulation for instruction protected by the User-Mode Instruction 27 * the UMIP-protected instructions (in the form of a SIGSEGV signal), it can be 38 * The instructions protected by UMIP can be split in two groups. Those which 107 * UMIP-protected instructions. Thus, the printed text is prepended with the 137 * identify_insn() - Identify a UMIP-protected instruction 140 * From the opcode and ModRM.reg in @insn identify, if any, a UMIP-protected 145 * On success, a constant identifying a specific UMIP-protected instruction that 148 * -EINVAL on error or when not an UMIP-protected instruction that can be 194 * Emulate an instruction protected by UMIP and provide a dummy result. The
|