| /linux/rust/kernel/sync/ |
| H A D | lock.rs | 174 pub fn lock(&self) -> Guard<'_, T, B> { in lock() 179 unsafe { Guard::new(self, state) } 188 pub fn try_lock(&self) -> Option<Guard<'_, T, B>> { in try_lock() 191 unsafe { B::try_lock(self.state.get()).map(|state| Guard::new(self, state)) } 201 pub struct Guard<'a, T: ?Sized, B: Backend> { 207 // SAFETY: `Guard` is sync when the data protected by the lock is also sync. implementation 208 unsafe impl<T: Sync + ?Sized, B: Backend> Sync for Guard<'_, T, B> {} 210 impl<'a, T: ?Sized, B: Backend> Guard<'a, T, B> { 215 /// The following example shows how to use [`Guard::lock_ref()`] to assert the corresponding 219 /// # use kernel::{new_spinlock, sync::lock::{Backend, Guard, Loc 198 pub struct Guard<'a, T: ?Sized, B: Backend> { global() struct 200 stateGuard global() argument 204 _not_sendGuard global() argument 205 unsafe impl<T: Sync + ?Sized, B: Backend> Sync for Guard<'_, T, B> {} global() implementation 275 impl<T: ?Sized, B: Backend> core::ops::Deref for Guard<'_, T, B> { global() implementation 284 impl<T: ?Sized, B: Backend> core::ops::DerefMut for Guard<'_, T, B> global() implementation 294 impl<T: ?Sized, B: Backend> Drop for Guard<'_, T, B> { global() implementation 301 impl<'a, T: ?Sized, B: Backend> Guard<'a, T, B> { global() implementation [all...] |
| H A D | srcu.rs | 69 pub fn read_lock(&self) -> Guard<'_> { in read_lock() 74 Guard { in read_lock() 152 pub struct Guard<'a> { struct 158 impl Guard<'_> { impl 164 impl Drop for Guard<'_> { implementation
|
| H A D | condvar.rs | 8 use super::{lock::Backend, lock::Guard, LockClassKey}; 117 guard: &mut Guard<'_, T, B>, in wait_internal() 145 pub fn wait<T: ?Sized, B: Backend>(&self, guard: &mut Guard<'_, T, B>) { in wait() 156 pub fn wait_interruptible<T: ?Sized, B: Backend>(&self, guard: &mut Guard<'_, T, B>) -> bool { in wait_interruptible() 170 guard: &mut Guard<'_, T, B>, in wait_interruptible_freezable() 188 guard: &mut Guard<'_, T, B>, in wait_interruptible_timeout()
|
| /linux/rust/kernel/ |
| H A D | xarray.rs | 128 pub fn try_lock(&self) -> Option<Guard<'_, T>> { in try_lock() 131 Some(Guard { in try_lock() 141 pub fn lock(&self) -> Guard<'_, T> { in lock() 145 Guard { 156 pub struct Guard<'a, T: ForeignOwnable> { in drop() 161 impl<T: ForeignOwnable> Drop for Guard<'_, T> { in drop() 170 /// The error returned by [`store`](Guard::store). 187 impl<'a, T: ForeignOwnable> Guard<'a, T> { in load() 150 pub struct Guard<'a, T: ForeignOwnable> { global() struct 155 impl<T: ForeignOwnable> Drop for Guard<'_, T> { global() implementation 180 impl<'a, T: ForeignOwnable> Guard<'a, T> { global() implementation
|
| H A D | revocable.rs | 127 pub fn try_access_with_guard<'a>(&'a self, _guard: &'a rcu::Guard) -> Option<&'a T> { 249 _rcu_guard: rcu::Guard, in new() 254 fn new(data_ref: *const T, rcu_guard: rcu::Guard) -> Self {
|
| H A D | devres.rs | 359 pub fn try_access_with_guard<'a>(&'a self, guard: &'a rcu::Guard) -> Option<&'a T> { in try_access_with_guard()
|
| H A D | maple_tree.rs | 275 let _rcu = kernel::sync::rcu::Guard::new(); in free_all_entries()
|
| /linux/drivers/android/binder/ |
| H A D | node.rs | 10 sync::lock::{spinlock::SpinLockBackend, Guard}, 334 guard: &mut Guard<'_, ProcessInner, SpinLockBackend>, in add_death() 489 guard: &Guard<'_, ProcessInner, SpinLockBackend>, in populate_counts() 499 guard: &Guard<'_, ProcessInner, SpinLockBackend>, in populate_debug_info() 512 pub(crate) fn force_has_count(&self, guard: &mut Guard<'_, ProcessInner, SpinLockBackend>) { in force_has_count() 528 guard: &mut Guard<'_, ProcessInner, SpinLockBackend>, in submit_oneway() 590 guard: &mut Guard<'_, ProcessInner, SpinLockBackend>, in take_outdated_transaction() 608 mut guard: Guard<'_, ProcessInner, SpinLockBackend>, in do_work_locked()
|
| H A D | process.rs | 32 lock::{spinlock::SpinLockBackend, Guard}, 1738 fn new(thread: &'a Arc<Thread>, guard: &mut Guard<'_, ProcessInner, SpinLockBackend>) -> Self { in new() 1764 pub(crate) inner: Guard<'a, ProcessInner, SpinLockBackend>,
|
| /linux/rust/kernel/sync/lock/ |
| H A D | global.rs | 9 sync::lock::{Backend, Guard, Lock}, 102 inner: Guard<'static, B::Item, B::Backend>,
|
| /linux/Documentation/arch/arm/ |
| H A D | memory.rst | 51 ffc00000 ffc7ffff Guard region
|
| /linux/Documentation/admin-guide/hw-vuln/ |
| H A D | special-register-buffer-data-sampling.rst | 88 Software Guard Extensions (Intel SGX) enclaves. On logical processors that
|
| /linux/Documentation/admin-guide/media/ |
| H A D | bttv-cardlist.rst | 430 - Grand X-Guard / Trust 814PCI
|
| H A D | vivid.rst | 726 - Insert Video Guard Band 728 adds 4 columns of pixels with the HDMI Video Guard Band code at the 731 to the HDMI Video Guard Band code that precedes each active video line 733 receiver has correct HDMI Video Guard Band processing, enable this 736 have the same value as the Video Guard Band that precedes them. 737 Receivers that will just keep skipping Video Guard Band values will
|
| H A D | dvb_intro.rst | 131 # T Frequency Bandwidth FEC FEC2 QAM Mode Guard Hier
|
| /linux/Documentation/arch/x86/ |
| H A D | sgx.rst | 4 Software Guard eXtensions (SGX) 10 Software Guard eXtensions (SGX) hardware enables for user space applications
|
| /linux/arch/x86/kvm/ |
| H A D | Kconfig | 123 bool "Software Guard eXtensions (SGX) Virtualization"
|
| /linux/tools/memory-model/Documentation/ |
| H A D | ordering.txt | 523 o Guard all accesses to a given variable by a particular lock,
|
| /linux/tools/arch/x86/kcpuid/ |
| H A D | cpuid.csv | 192 0x7, 0, ebx, 2, sgx , Intel SGX (Software Guard Extensions) 414 # Intel SGX (Software Guard Extensions)
|
| /linux/drivers/scsi/aic7xxx/ |
| H A D | aic7xxx.seq | 172 * Guard against a bus free after (re)selection 885 /* Guard against overruns */
|
| H A D | aic79xx.seq | 1542 * Guard against SG_CACHE_AVAIL activating during sg fetch
|