Home
last modified time | relevance | path

Searched refs:default (Results 1 – 25 of 63) sorted by relevance

123

/DragonOS-0.1.8/kernel/src/arch/x86_64/
Dfpu.rs39 fn default() -> Self { in default() method
42 fsw: Default::default(), in default()
43 ftw: Default::default(), in default()
44 fop: Default::default(), in default()
45 word2: Default::default(), in default()
46 word3: Default::default(), in default()
48 mxcsr_mask: Default::default(), in default()
49 mm: Default::default(), in default()
50 xmm: Default::default(), in default()
51 rest: Default::default(), in default()
[all …]
/DragonOS-0.1.8/kernel/src/filesystem/
Dmbr.rs2 use core::default::Default;
43 fn default() -> Self { in default() method
58 fn default() -> Self { in default() method
61 dpte: [Default::default(); 4], in default()
62 bs_trailsig: Default::default(), in default()
/DragonOS-0.1.8/kernel/src/time/
Dtimeconv.rs28 tm_year: Default::default(), in new()
29 tm_sec: Default::default(), in new()
30 tm_min: Default::default(), in new()
31 tm_hour: Default::default(), in new()
32 tm_mday: Default::default(), in new()
33 tm_mon: Default::default(), in new()
34 tm_wday: Default::default(), in new()
35 tm_yday: Default::default(), in new()
Dtimekeeping.rs69 shift: Default::default(), in new()
71 xtime_interval: Default::default(), in new()
72 xtime_remainder: Default::default(), in new()
73 raw_interval: Default::default(), in new()
74 xtime_nsec: Default::default(), in new()
75 ntp_error: Default::default(), in new()
76 ntp_error_shift: Default::default(), in new()
77 mult: Default::default(), in new()
/DragonOS-0.1.8/kernel/
DCargo.toml18 thingbuf = { version = "0.1.3", default-features = false, features = ["alloc"] }
20 …t.mirrors.dragonos.org/DragonOS-Community/smoltcp.git", rev = "9027825", default-features = false,…
22 ….mirrors.dragonos.org/DragonOS-Community/num-traits.git", rev="1597c1c", default-features = false }
23 num = { version = "0.4.0", default-features = false }
27 elf = { version = "0.7.2", default-features = false }
Dbuild.rs18 let bindings = bindgen::Builder::default() in main()
/DragonOS-0.1.8/kernel/src/filesystem/devfs/
Dnull_dev.rs34 self_ref: Weak::default(), in new()
35 fs: Weak::default(), in new()
42 atime: TimeSpec::default(), in new()
43 mtime: TimeSpec::default(), in new()
44 ctime: TimeSpec::default(), in new()
Dzero_dev.rs34 self_ref: Weak::default(), in new()
35 fs: Weak::default(), in new()
42 atime: TimeSpec::default(), in new()
43 mtime: TimeSpec::default(), in new()
44 ctime: TimeSpec::default(), in new()
Dmod.rs213 return Self::new_with_parent(Weak::default(), dev_type_, mode_, data_); in new()
224 self_ref: Weak::default(), in new_with_parent()
232 atime: TimeSpec::default(), in new_with_parent()
233 mtime: TimeSpec::default(), in new_with_parent()
234 ctime: TimeSpec::default(), in new_with_parent()
242 fs: Weak::default(), in new_with_parent()
308 self_ref: Weak::default(), in do_create_with_data()
316 atime: TimeSpec::default(), in do_create_with_data()
317 mtime: TimeSpec::default(), in do_create_with_data()
318 ctime: TimeSpec::default(), in do_create_with_data()
/DragonOS-0.1.8/kernel/src/ipc/
Dsignal_types.rs47 fn default() -> Self { in default() method
49 sig_cnt: Default::default(), in default()
78 fn default() -> Self { in default() method
115 fn default() -> Self { in default() method
117 _u: Default::default(), in default()
118 sa_flags: Default::default(), in default()
119 sa_mask: Default::default(), in default()
120 sa_restorer: Default::default(), in default()
237 fn default() -> Self { in default() method
239 siglock: Default::default(), in default()
[all …]
Dpipe.rs40 self_ref: Weak::default(), in new()
54 atime: TimeSpec::default(), in new()
55 mtime: TimeSpec::default(), in new()
56 ctime: TimeSpec::default(), in new()
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/
Dahci_inode.rs39 self_ref: Weak::default(), in new()
40 fs: Weak::default(), in new()
48 atime: TimeSpec::default(), in new()
49 mtime: TimeSpec::default(), in new()
50 ctime: TimeSpec::default(), in new()
/DragonOS-0.1.8/kernel/src/driver/base/map/
Dmod.rs25 fn default() -> Self { in default() method
26 Self(SpinLock::new(KObjMap::default())) in default()
35 fn default() -> Self { in default() method
/DragonOS-0.1.8/kernel/src/filesystem/sysfs/
Dmod.rs305 self_ref: Weak::default(), in do_create_with_data()
313 atime: TimeSpec::default(), in do_create_with_data()
314 mtime: TimeSpec::default(), in do_create_with_data()
315 ctime: TimeSpec::default(), in do_create_with_data()
416 return Self::new_with_parent(Weak::default(), dev_type_, mode_, data_); in new()
427 self_ref: Weak::default(), in new_with_parent()
435 atime: TimeSpec::default(), in new_with_parent()
436 mtime: TimeSpec::default(), in new_with_parent()
437 ctime: TimeSpec::default(), in new_with_parent()
445 fs: Weak::default(), in new_with_parent()
/DragonOS-0.1.8/kernel/src/driver/keyboard/
Dps2_keyboard.rs49 self_ref: Weak::default(), in new()
50 fs: Weak::default(), in new()
58 atime: TimeSpec::default(), in new()
59 mtime: TimeSpec::default(), in new()
60 ctime: TimeSpec::default(), in new()
/DragonOS-0.1.8/kernel/src/driver/uart/
Duart.rs28 pub static ref UART_DEV: Arc<LockedUart> = Arc::new(LockedUart::default());
30 pub static ref UART_DRV: Arc<LockedUartDriver> = Arc::new(LockedUartDriver::default());
109 fn default() -> Self { in default() method
123 fn default() -> Self { in default() method
124 Self(SpinLock::new(Uart::default())) in default()
185 fn default() -> Self { in default() method
199 fn default() -> Self { in default() method
200 Self(SpinLock::new(UartDriver::default())) in default()
/DragonOS-0.1.8/kernel/src/filesystem/ramfs/
Dmod.rs79 parent: Weak::default(), in new()
80 self_ref: Weak::default(), in new()
89 atime: TimeSpec::default(), in new()
90 mtime: TimeSpec::default(), in new()
91 ctime: TimeSpec::default(), in new()
99 fs: Weak::default(), in new()
251 self_ref: Weak::default(), in create_with_data()
260 atime: TimeSpec::default(), in create_with_data()
261 mtime: TimeSpec::default(), in create_with_data()
262 ctime: TimeSpec::default(), in create_with_data()
/DragonOS-0.1.8/kernel/src/driver/base/char/
Dmod.rs21 pub static ref CHARDEVS: Arc<LockedChrDevs> = Arc::new(LockedChrDevs::default());
24 pub static ref CDEVMAP: Arc<LockedKObjMap> = Arc::new(LockedKObjMap::default());
43 fn default() -> Self { in default() method
44 LockedChrDevs(SpinLock::new(ChrDevs::default())) in default()
53 fn default() -> Self { in default() method
/DragonOS-0.1.8/kernel/src/libs/
Dlist.rs11 fn default() -> Self { in default() method
Datomic.rs23 fn default() -> Self { in default() method
Dwait_queue.rs20 fn default() -> Self { in default() method
22 wait_list: Default::default(), in default()
23 lock: Default::default(), in default()
/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dbpb.rs149 fn default() -> Self { in default() method
150 return FATType::FAT32(BiosParameterBlockFAT32::default()); in default()
234 let mut bpb = BiosParameterBlock::default(); in new()
251 let mut bpb32 = BiosParameterBlockFAT32::default(); in new()
298 FATType::FAT12(BiosParameterBlockLegacy::default()) in new()
300 FATType::FAT16(BiosParameterBlockLegacy::default()) in new()
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dmod.rs496 fn default() -> Self { in default() method
503 atime: TimeSpec::default(), in default()
504 mtime: TimeSpec::default(), in default()
505 ctime: TimeSpec::default(), in default()
561 atime: TimeSpec::default(), in new()
562 mtime: TimeSpec::default(), in new()
563 ctime: TimeSpec::default(), in new()
/DragonOS-0.1.8/user/libs/libc/
Dbuild.rs18 let bindings = bindgen::Builder::default() in main()
/DragonOS-0.1.8/kernel/src/process/
Dfork.rs33 let mut sig: &mut sighand_struct = Box::leak(Box::new(sighand_struct::default())); in process_copy_sighand()
89 let sig: &mut signal_struct = Box::leak(Box::new(signal_struct::default())); in process_copy_signal()
104 Box::leak(Box::new(SigQueue::default())) as *mut SigQueue as *mut c_void; in process_copy_signal()

123