Home
last modified time | relevance | path

Searched defs:T (Results 1 – 10 of 10) sorted by relevance

/DragonOS-0.1.5/kernel/src/driver/virtio/
Dvolatile.rs33 unsafe fn vread(self) -> T; in vread()
37 unsafe fn vread(self) -> T { in vread()
43 unsafe fn vread(self) -> T { in vread()
51 unsafe fn vwrite(self, value: T); in vwrite()
55 unsafe fn vwrite(self, value: T) { in vwrite()
61 unsafe fn vwrite(self, value: T) { in vwrite()
Dvirtio.rs82 fn virtio_net<T: Transport>(transport: T) { in virtio_net()
Dtransport_pci.rs337 fn config_space<T>(&self) -> Result<NonNull<T>, Error> { in config_space()
478 ) -> Result<NonNull<T>, VirtioPciError> { in get_bar_region()
510 ) -> Result<NonNull<[T]>, VirtioPciError> { in get_bar_region_slice()
/DragonOS-0.1.5/kernel/src/libs/
Drwlock.rs78 pub fn into_inner(self) -> T { in into_inner()
87 pub fn as_mut_ptr(&self) -> *mut T { in as_mut_ptr()
112 pub fn try_read(&self) -> Option<RwLockReadGuard<T>> { in try_read()
139 pub fn read(&self) -> RwLockReadGuard<T> { in read()
167 pub fn try_write(&self) -> Option<RwLockWriteGuard<T>> { in try_write()
186 pub fn write(&self) -> RwLockWriteGuard<T> { in write()
198 pub fn try_upgradeable_read(&self) -> Option<RwLockUpgradableGuard<T>> { in try_upgradeable_read()
214 pub fn upgradeable_read(&self) -> RwLockUpgradableGuard<T> { in upgradeable_read()
242 pub fn get_mut(&mut self) -> &mut T { in get_mut()
264 pub fn leak(this: Self) -> &'rwlock T { in leak()
[all …]
Dwait_queue.rs62 pub fn sleep_unlock_spinlock<T>(&self, to_unlock: SpinLockGuard<T>) { in sleep_unlock_spinlock()
73 pub fn sleep_unlock_mutex<T>(&self, to_unlock: MutexGuard<T>) { in sleep_unlock_mutex()
84 pub fn sleep_uninterruptible_unlock_spinlock<T>(&self, to_unlock: SpinLockGuard<T>) { in sleep_uninterruptible_unlock_spinlock()
95 pub fn sleep_uninterruptible_unlock_mutex<T>(&self, to_unlock: MutexGuard<T>) { in sleep_uninterruptible_unlock_mutex()
Dmutex.rs61 pub fn lock(&self) -> MutexGuard<T> { in lock()
91 pub fn try_lock(&self) -> Result<MutexGuard<T>, i32> { in try_lock()
Dspinlock.rs172 pub fn lock(&self) -> SpinLockGuard<T> { in lock()
/DragonOS-0.1.5/kernel/src/ktest/
Dtest-idr.c363 int M = N / i, T = M / 3, b = 2 * T; in ktest_idr_case4() local
/DragonOS-0.1.5/kernel/src/io/
Ddevice.rs97 impl<T: BlockDevice> Device for T { implementation
/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dmod.rs339 pub fn downcast_ref<T: IndexNode>(&self) -> Option<&T> { in downcast_ref()