Home
last modified time | relevance | path

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

12

/DragonOS-0.1.5/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.5/kernel/src/ipc/
Dsignal_types.rs46 fn default() -> Self { in default() method
48 sig_cnt: Default::default(), in default()
77 fn default() -> Self { in default() method
114 fn default() -> Self { in default() method
116 _u: Default::default(), in default()
117 sa_flags: Default::default(), in default()
118 sa_mask: Default::default(), in default()
119 sa_restorer: Default::default(), in default()
236 fn default() -> Self { in default() method
238 siglock: Default::default(), in default()
[all …]
/DragonOS-0.1.5/kernel/src/filesystem/devfs/
Dnull_dev.rs37 self_ref: Weak::default(), in new()
38 fs: Weak::default(), in new()
45 atime: TimeSpec::default(), in new()
46 mtime: TimeSpec::default(), in new()
47 ctime: TimeSpec::default(), in new()
Dzero_dev.rs37 self_ref: Weak::default(), in new()
38 fs: Weak::default(), in new()
45 atime: TimeSpec::default(), in new()
46 mtime: TimeSpec::default(), in new()
47 ctime: TimeSpec::default(), in new()
Dmod.rs198 return Self::new_with_parent(Weak::default(), dev_type_, mode_, data_); in new()
209 self_ref: Weak::default(), in new_with_parent()
217 atime: TimeSpec::default(), in new_with_parent()
218 mtime: TimeSpec::default(), in new_with_parent()
219 ctime: TimeSpec::default(), in new_with_parent()
227 fs: Weak::default(), in new_with_parent()
289 self_ref: Weak::default(), in do_create_with_data()
297 atime: TimeSpec::default(), in do_create_with_data()
298 mtime: TimeSpec::default(), in do_create_with_data()
299 ctime: TimeSpec::default(), in do_create_with_data()
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/
Dahci_inode.rs41 self_ref: Weak::default(), in new()
42 fs: Weak::default(), in new()
50 atime: TimeSpec::default(), in new()
51 mtime: TimeSpec::default(), in new()
52 ctime: TimeSpec::default(), in new()
/DragonOS-0.1.5/kernel/src/driver/keyboard/
Dps2_keyboard.rs35 self_ref: Weak::default(), in new()
36 fs: Weak::default(), in new()
44 atime: TimeSpec::default(), in new()
45 mtime: TimeSpec::default(), in new()
46 ctime: TimeSpec::default(), in new()
/DragonOS-0.1.5/kernel/src/libs/
Dlist.rs11 fn default() -> Self { in default() method
Dwait_queue.rs19 fn default() -> Self { in default() method
21 wait_list: Default::default(), in default()
22 lock: Default::default(), in default()
Datomic.rs23 fn default() -> Self { in default() method
Drefcount.rs17 fn default() -> Self { in default() method
/DragonOS-0.1.5/kernel/src/filesystem/ramfs/
Dmod.rs81 parent: Weak::default(), in new()
82 self_ref: Weak::default(), in new()
91 atime: TimeSpec::default(), in new()
92 mtime: TimeSpec::default(), in new()
93 ctime: TimeSpec::default(), in new()
101 fs: Weak::default(), in new()
255 self_ref: Weak::default(), in create_with_data()
264 atime: TimeSpec::default(), in create_with_data()
265 mtime: TimeSpec::default(), in create_with_data()
266 ctime: TimeSpec::default(), in create_with_data()
/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dbpb.rs149 fn default() -> Self { in default() method
150 return FATType::FAT32(BiosParameterBlockFAT32::default()); in default()
195 let mut bpb = BiosParameterBlock::default(); in new()
212 let mut bpb32 = BiosParameterBlockFAT32::default(); in new()
262 FATType::FAT12(BiosParameterBlockLegacy::default()) in new()
264 FATType::FAT16(BiosParameterBlockLegacy::default()) in new()
/DragonOS-0.1.5/user/libs/libc/
Dbuild.rs18 let bindings = bindgen::Builder::default() in main()
/DragonOS-0.1.5/kernel/
Dbuild.rs18 let bindings = bindgen::Builder::default() in main()
/DragonOS-0.1.5/kernel/src/exception/
Dsoftirq.rs32 fn default() -> Self { in default() method
53 SOFTIRQ_HANDLER_PTR = Box::leak(Box::new(Softirq::default())); in softirq_init()
126 fn default() -> Self { in default() method
131 table: [Default::default(); MAX_SOFTIRQ_NUM as usize], in default()
/DragonOS-0.1.5/kernel/src/process/
Dfork.rs32 let mut sig: &mut sighand_struct = Box::leak(Box::new(sighand_struct::default())); in process_copy_sighand()
88 let sig: &mut signal_struct = Box::leak(Box::new(signal_struct::default())); in process_copy_signal()
103 Box::leak(Box::new(SigQueue::default())) as *mut SigQueue as *mut c_void; in process_copy_signal()
Dinitial_proc.rs43 Box::leak(Box::new(SigQueue::default())) as *mut SigQueue as *mut c_void; in initial_proc_init_signal()
/DragonOS-0.1.5/kernel/src/mm/
Dmmio_buddy.rs40 fn default() -> Self { in default() method
51 ..Default::default() in new()
618 ..Default::default() in new()
623 fn default() -> Self { in default() method
625 vaddr: Default::default(), in default()
640 ..Default::default() in new()
645 fn default() -> Self { in default() method
647 list: Default::default(), in default()
/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dmount.rs49 self_ref: Weak::default(), in new()
77 self_ref: Weak::default(), in mountpoint_root_inode()
215 self_ref: Weak::default(), in create()
282 self_ref: Weak::default(), in find()
294 self_ref: Weak::default(), in find()
/DragonOS-0.1.5/tools/
DDockerfile26 RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y && \
37 rustup default nightly && \
/DragonOS-0.1.5/kernel/src/filesystem/procfs/
Dmod.rs239 parent: Weak::default(), in new()
240 self_ref: Weak::default(), in new()
249 atime: TimeSpec::default(), in new()
250 mtime: TimeSpec::default(), in new()
251 ctime: TimeSpec::default(), in new()
259 fs: Weak::default(), in new()
493 self_ref: Weak::default(), in create_with_data()
502 atime: TimeSpec::default(), in create_with_data()
503 mtime: TimeSpec::default(), in create_with_data()
504 ctime: TimeSpec::default(), in create_with_data()
/DragonOS-0.1.5/docs/kernel/ipc/
Dsignal.md52 ┌─────▼─────┐ default │ │ │
/DragonOS-0.1.5/user/libs/libc/src/
DMakefile38 rustup default nightly
/DragonOS-0.1.5/kernel/src/time/
Dtimekeep.rs18 let mut rtc_time: RtcTime = RtcTime::default(); in ktime_get_real()

12