Home
last modified time | relevance | path

Searched refs:Copy (Results 1 – 25 of 112) sorted by relevance

12345

/DragonOS/kernel/src/libs/
H A Dvolatile.rs71 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 Dnotifier.rs10 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 Dlinux_bpf.rs4 #[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 Dresource.rs8 #[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 Dpid.rs2 #[derive(Debug, Clone, Copy)]
/DragonOS/kernel/src/libs/lib_ui/font/
H A Dmod.rs8 #[derive(Clone, Copy)]
56 #[derive(Clone, Copy)]
68 #[derive(Clone, Copy)]
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Dmod.rs478 #[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 Ddevice_number.rs1 #[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 Dmain.rs5 #[derive(Debug, Clone, Copy)]
34 #[derive(Debug, Clone, Copy)]
/DragonOS/kernel/src/exception/
H A Dipi.rs21 #[derive(Debug, Copy, Clone, Eq, PartialEq)]
30 #[derive(Debug, Copy, Clone, Eq, PartialEq)]
/DragonOS/kernel/crates/klog_types/src/
H A Dlib.rs13 #[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 Delf.rs3 #[derive(Debug, Clone, Copy, Hash)]
/DragonOS/kernel/src/arch/riscv64/
H A Delf.rs3 #[derive(Debug, Clone, Copy, Hash)]
/DragonOS/kernel/src/driver/pci/
H A Ddev_id.rs9 #[derive(Debug, Copy, Clone)]
98 #[derive(PartialEq, Eq, PartialOrd, Ord, Debug, Copy, Clone)]
/DragonOS/kernel/src/time/
H A Dsyscall.rs20 #[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 Dsignal_types.rs113 #[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 Doverlayfs.md20 ## Copy-up
/DragonOS/kernel/src/arch/x86_64/init/pvh/
H A Dparam.rs125 #[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 Dbpb.rs14 #[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 Dtermios.rs5 #[derive(Debug, Clone, Copy, PartialEq, Default)]
29 #[derive(Debug, Clone, Copy)]
41 #[derive(Clone, Copy, Default)]
/DragonOS/kernel/src/net/
H A Dsyscall.rs506 #[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 Dhandle.rs11 #[derive(Debug, Hash, Eq, PartialEq, Clone, Copy)]
/DragonOS/kernel/src/driver/rtc/
H A Dmod.rs56 #[derive(Default, Debug, Clone, Copy)]
165 #[derive(Debug, Default, PartialEq, PartialOrd, Clone, Copy)]
/DragonOS/kernel/src/syscall/
H A Duser_access.rs206 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 Dfcntl.rs7 #[derive(Debug, Copy, Clone, Eq, PartialEq, FromPrimitive, ToPrimitive)]

12345