Home
last modified time | relevance | path

Searched refs:Guard (Results 1 – 23 of 23) sorted by relevance

/linux/rust/kernel/sync/
H A Dlock.rs172 pub fn lock(&self) -> Guard<'_, T, B> { in lock()
177 unsafe { Guard::new(self, state) } in lock()
185 pub fn try_lock(&self) -> Option<Guard<'_, T, B>> { in try_lock()
188 unsafe { B::try_lock(self.state.get()).map(|state| Guard::new(self, state)) } in try_lock()
198 pub struct Guard<'a, T: ?Sized, B: Backend> { struct
205 unsafe impl<T: Sync + ?Sized, B: Backend> Sync for Guard<'_, T, B> {} implementation
207 impl<'a, T: ?Sized, B: Backend> Guard<'a, T, B> { impl
275 impl<T: ?Sized, B: Backend> core::ops::Deref for Guard<'_, T, B> { implementation
284 impl<T: ?Sized, B: Backend> core::ops::DerefMut for Guard<'_, T, B> implementation
294 impl<T: ?Sized, B: Backend> Drop for Guard<'_, T, B> { implementation
[all …]
H A Dcondvar.rs8 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 Dxarray.rs122 pub fn try_lock(&self) -> Option<Guard<'_, T>> { in try_lock()
125 Some(Guard { in try_lock()
135 pub fn lock(&self) -> Guard<'_, T> { in lock()
139 Guard { in lock()
150 pub struct Guard<'a, T: ForeignOwnable> { struct
155 impl<T: ForeignOwnable> Drop for Guard<'_, T> { implementation
180 impl<'a, T: ForeignOwnable> Guard<'a, T> { impl
H A Drevocable.rs118 pub fn try_access_with_guard<'a>(&'a self, _guard: &'a rcu::Guard) -> Option<&'a T> { in try_access_with_guard()
241 _rcu_guard: rcu::Guard,
246 fn new(data_ref: *const T, rcu_guard: rcu::Guard) -> Self { in new()
H A Ddevres.rs281 pub fn try_access_with_guard<'a>(&'a self, guard: &'a rcu::Guard) -> Option<&'a T> { in try_access_with_guard()
H A Dmaple_tree.rs275 let _rcu = kernel::sync::rcu::Guard::new(); in free_all_entries()
/linux/drivers/android/binder/
H A Dnode.rs10 sync::lock::{spinlock::SpinLockBackend, Guard},
326 guard: &mut Guard<'_, ProcessInner, SpinLockBackend>, in add_death()
481 guard: &Guard<'_, ProcessInner, SpinLockBackend>, in populate_counts()
491 guard: &Guard<'_, ProcessInner, SpinLockBackend>, in populate_debug_info()
504 pub(crate) fn force_has_count(&self, guard: &mut Guard<'_, ProcessInner, SpinLockBackend>) { in force_has_count()
520 guard: &mut Guard<'_, ProcessInner, SpinLockBackend>, in submit_oneway()
582 guard: &mut Guard<'_, ProcessInner, SpinLockBackend>, in take_outdated_transaction()
600 mut guard: Guard<'_, ProcessInner, SpinLockBackend>, in do_work_locked()
H A Dprocess.rs31 lock::{spinlock::SpinLockBackend, Guard},
1703 fn new(thread: &'a Arc<Thread>, guard: &mut Guard<'_, ProcessInner, SpinLockBackend>) -> Self { in new()
1729 pub(crate) inner: Guard<'a, ProcessInner, SpinLockBackend>,
H A Dpage_range.rs161 kernel::sync::lock::Guard<'static, (), kernel::sync::lock::mutex::MutexBackend>;
/linux/rust/kernel/sync/lock/
H A Dglobal.rs9 sync::lock::{Backend, Guard, Lock},
98 inner: Guard<'static, B::Item, B::Backend>,
/linux/Documentation/arch/arm/
H A Dmemory.rst51 ffc00000 ffc7ffff Guard region
/linux/Documentation/admin-guide/hw-vuln/
H A Dspecial-register-buffer-data-sampling.rst88 Software Guard Extensions (Intel SGX) enclaves. On logical processors that
/linux/Documentation/admin-guide/media/
H A Dbttv-cardlist.rst430 - Grand X-Guard / Trust 814PCI
H A Dvivid.rst726 - 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 Ddvb_intro.rst131 # T Frequency Bandwidth FEC FEC2 QAM Mode Guard Hier
/linux/Documentation/arch/x86/
H A Dsgx.rst4 Software Guard eXtensions (SGX)
10 Software Guard eXtensions (SGX) hardware enables for user space applications
/linux/arch/x86/kvm/
H A DKconfig123 bool "Software Guard eXtensions (SGX) Virtualization"
/linux/include/linux/
H A Dpage-flags.h1049 PAGE_TYPE_OPS(Guard, guard, guard) in PAGE_TYPE_OPS()
/linux/tools/memory-model/Documentation/
H A Dordering.txt523 o Guard all accesses to a given variable by a particular lock,
/linux/tools/arch/x86/kcpuid/
H A Dcpuid.csv191 0x7, 0, ebx, 2, sgx , Intel SGX (Software Guard Extensions)
406 # Intel Software Guard Extensions (SGX) enumeration
/linux/drivers/scsi/aic7xxx/
H A Daic7xxx.seq172 * Guard against a bus free after (re)selection
885 /* Guard against overruns */
H A Daic79xx.seq1542 * Guard against SG_CACHE_AVAIL activating during sg fetch
/linux/arch/x86/
H A DKconfig1862 bool "Software Guard eXtensions (SGX)"
1869 Intel(R) Software Guard eXtensions (SGX) is a set of CPU instructions