/DragonOS/kernel/src/libs/ |
H A D | volatile.rs | 71 pub struct ReadOnly<T: Copy>(T); 74 impl<T: Copy> ReadOnly<T> { 84 pub struct WriteOnly<T: Copy>(T); 89 pub struct Volatile<T: Copy>(T); 92 impl<T: Copy> Volatile<T> { 105 impl<T: Copy> VolatileReadable<T> for *const ReadOnly<T> { 111 impl<T: Copy> VolatileReadable<T> for *const Volatile<T> { 123 impl<T: Copy> VolatileWritable<T> for *mut WriteOnly<T> { 129 impl<T: Copy> VolatileWritable<T> for *mut Volatile<T> {
|
H A D | notifier.rs | 10 pub trait NotifierBlock<V: Clone + Copy, T>: Debug + Send + Sync { 20 struct NotifierChain<V: Clone + Copy, T>(Vec<Arc<dyn NotifierBlock<V, T>>>); 22 impl<V: Clone + Copy, T> NotifierChain<V, T> { 106 pub struct AtomicNotifierChain<V: Clone + Copy, T>(SpinLock<NotifierChain<V, T>>); 108 impl<V: Clone + Copy, T> Default for AtomicNotifierChain<V, T> { 114 impl<V: Clone + Copy, T> AtomicNotifierChain<V, T> { 151 pub struct BlockingNotifierChain<V: Clone + Copy, T>(RwLock<NotifierChain<V, T>>); 153 impl<V: Clone + Copy, T> BlockingNotifierChain<V, T> { 188 pub struct RawNotifierChain<V: Clone + Copy, T>(NotifierChain<V, T>); 190 impl<V: Clone + Copy, T> RawNotifierChain<V, T> {
|
/DragonOS/kernel/src/include/bindings/ |
H A D | linux_bpf.rs | 4 #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] 189 #[derive(Debug, Copy, Clone)] 244 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq, FromPrimitive)] 294 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq, FromPrimitive)] 333 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq, FromPrimitive)] 371 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq, FromPrimitive)] 432 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] 480 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] 485 #[derive(Copy, Clone)] 509 #[derive(Debug, Copy, Clone)] [all …]
|
/DragonOS/kernel/src/process/ |
H A D | resource.rs | 8 #[derive(Debug, Clone, Copy, PartialEq, Eq, Default)] 53 #[derive(Debug, Clone, Copy, PartialEq, Eq)] 78 #[derive(Debug, Clone, Copy, PartialEq, Eq)] 92 #[derive(Debug, Clone, Copy, PartialEq, Eq, FromPrimitive)]
|
H A D | pid.rs | 2 #[derive(Debug, Clone, Copy)]
|
/DragonOS/kernel/src/libs/lib_ui/font/ |
H A D | mod.rs | 8 #[derive(Clone, Copy)] 56 #[derive(Clone, Copy)] 68 #[derive(Clone, Copy)]
|
/DragonOS/kernel/src/driver/video/fbdev/base/ |
H A D | mod.rs | 478 #[derive(Debug, Copy, Clone, Eq, PartialEq)] 486 #[derive(Debug, Copy, Clone, Eq, PartialEq)] 509 #[derive(Debug, Copy, Clone, Eq, PartialEq)] 541 #[derive(Debug, Copy, Clone, Eq, PartialEq)] 544 Copy, enumerator 552 #[derive(Debug, Copy, Clone, Eq, PartialEq)] 583 #[derive(Debug, Copy, Clone, Eq, PartialEq)] 679 #[derive(Debug, Copy, Clone, Eq, PartialEq, Default)] 698 #[derive(Debug, Copy, Clone, Eq, PartialEq, Default)] 754 #[derive(Debug, Copy, Clone, Eq, PartialEq, Default)] [all …]
|
/DragonOS/kernel/src/driver/base/device/ |
H A D | device_number.rs | 1 #[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Default)] 35 #[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
/DragonOS/user/apps/test_statx/src/ |
H A D | main.rs | 5 #[derive(Debug, Clone, Copy)] 34 #[derive(Debug, Clone, Copy)]
|
/DragonOS/kernel/src/exception/ |
H A D | ipi.rs | 21 #[derive(Debug, Copy, Clone, Eq, PartialEq)] 30 #[derive(Debug, Copy, Clone, Eq, PartialEq)]
|
/DragonOS/kernel/crates/klog_types/src/ |
H A D | lib.rs | 13 #[derive(Debug, Copy, Clone, PartialEq, Eq)] 118 #[derive(Debug, Copy, Clone, PartialEq, Eq)] 128 #[derive(Copy, Clone, PartialEq, Eq)] 162 #[derive(Debug, Copy, Clone, PartialEq, Eq)]
|
/DragonOS/kernel/src/arch/x86_64/ |
H A D | elf.rs | 3 #[derive(Debug, Clone, Copy, Hash)]
|
/DragonOS/kernel/src/arch/riscv64/ |
H A D | elf.rs | 3 #[derive(Debug, Clone, Copy, Hash)]
|
/DragonOS/kernel/src/driver/pci/ |
H A D | dev_id.rs | 9 #[derive(Debug, Copy, Clone)] 98 #[derive(PartialEq, Eq, PartialOrd, Ord, Debug, Copy, Clone)]
|
/DragonOS/kernel/src/time/ |
H A D | syscall.rs | 20 #[derive(Default, Debug, Copy, Clone)] 27 #[derive(Default, Debug, Copy, Clone)] 43 #[derive(Debug, Copy, Clone, PartialEq, Eq, FromPrimitive)]
|
/DragonOS/kernel/src/ipc/ |
H A D | signal_types.rs | 113 #[derive(Debug, Copy, Clone)] 143 #[derive(Debug, Copy, Clone)] 188 #[derive(Debug, Copy, Clone)] 288 #[derive(Debug, Clone, Copy)] 302 #[derive(Copy, Clone, Debug)] 340 #[derive(Copy, Clone, Debug)]
|
/DragonOS/docs/kernel/filesystem/unionfs/ |
H A D | overlayfs.md | 20 ## Copy-up
|
/DragonOS/kernel/src/arch/x86_64/init/pvh/ |
H A D | param.rs | 125 #[derive(Debug, Copy, Clone, Default)] 144 #[derive(Debug, Copy, Clone, Default)] 153 #[derive(Debug, Copy, Clone, Default)] 162 #[derive(Copy, Clone, Debug)]
|
/DragonOS/kernel/src/filesystem/fat/ |
H A D | bpb.rs | 14 #[derive(Debug, Clone, Copy, Default)] 65 #[derive(Debug, Clone, Copy)] 73 #[derive(Debug, Clone, Copy, Default)] 89 #[derive(Debug, Clone, Copy, Default)]
|
/DragonOS/kernel/src/driver/tty/ |
H A D | termios.rs | 5 #[derive(Debug, Clone, Copy, PartialEq, Default)] 29 #[derive(Debug, Clone, Copy)] 41 #[derive(Clone, Copy, Default)]
|
/DragonOS/kernel/src/net/ |
H A D | syscall.rs | 506 #[derive(Debug, Clone, Copy)] 515 #[derive(Debug, Clone, Copy)] 522 #[derive(Debug, Clone, Copy)] 534 #[derive(Debug, Clone, Copy)] 543 #[derive(Debug, Clone, Copy)] 550 #[derive(Clone, Copy)] 733 #[derive(Debug, Clone, Copy)] 751 #[derive(Debug, Clone, Copy, FromPrimitive, ToPrimitive, PartialEq, Eq)] 827 #[derive(Debug, Clone, Copy, FromPrimitive, ToPrimitive, PartialEq, Eq)] 947 #[derive(Debug, Clone, Copy, PartialEq, Eq, FromPrimitive, ToPrimitive)]
|
/DragonOS/kernel/src/net/socket/ |
H A D | handle.rs | 11 #[derive(Debug, Hash, Eq, PartialEq, Clone, Copy)]
|
/DragonOS/kernel/src/driver/rtc/ |
H A D | mod.rs | 56 #[derive(Default, Debug, Clone, Copy)] 165 #[derive(Debug, Default, PartialEq, PartialOrd, Clone, Copy)]
|
/DragonOS/kernel/src/syscall/ |
H A D | user_access.rs | 206 pub fn copy_from_user<T: core::marker::Copy>( in copy_from_user() 221 pub fn copy_one_from_user<T: core::marker::Copy>( in copy_one_from_user() 298 pub fn copy_to_user<T: core::marker::Copy>( in copy_to_user() 314 pub fn copy_one_to_user<T: core::marker::Copy>( in copy_one_to_user()
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | fcntl.rs | 7 #[derive(Debug, Copy, Clone, Eq, PartialEq, FromPrimitive, ToPrimitive)]
|