Home
last modified time | relevance | path

Searched refs:Default (Results 1 – 25 of 38) sorted by relevance

12

/DragonOS-0.1.8/kernel/src/arch/x86_64/
Dfpu.rs38 impl Default for FpState {
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()
/DragonOS-0.1.8/kernel/src/filesystem/
Dmbr.rs2 use core::default::Default;
42 impl Default for MbrDiskPartitionTableEntry {
57 impl Default for MbrDiskPartionTable {
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()
Dsyscall.rs17 #[derive(Default, Debug)]
24 #[derive(Default, Debug)]
Djiffies.rs71 max_idle_ns: Default::default(), in new()
77 self_ref: Default::default(), in new()
Dmod.rs40 #[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
186 #[derive(Debug, Default, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)]
/DragonOS-0.1.8/kernel/src/ipc/
Dsignal_types.rs46 impl Default for signal_struct {
49 sig_cnt: Default::default(), in default()
77 impl Default for sigaction__union_u {
114 impl Default for sigaction {
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()
236 impl Default for sighand_struct {
239 siglock: Default::default(), in default()
[all …]
Dsyscall.rs92 let mut new_ka: sigaction = Default::default(); in sigaction()
93 let mut old_ka: sigaction = Default::default(); in sigaction()
/DragonOS-0.1.8/kernel/src/libs/
Dvolatile.rs69 #[derive(Default)]
82 #[derive(Default)]
87 #[derive(Default)]
Dlist.rs10 impl Default for List {
Datomic.rs22 impl Default for atomic_t {
Dwait_queue.rs19 impl Default for wait_queue_head_t {
22 wait_list: Default::default(), in default()
23 lock: Default::default(), in default()
Drefcount.rs16 impl Default for RefCount {
Drwlock.rs281 impl<T: Default> Default for RwLock<T> {
283 Self::new(Default::default()) in default()
Dspinlock.rs41 impl Default for spinlock_t {
/DragonOS-0.1.8/kernel/src/driver/base/map/
Dmod.rs24 impl Default for LockedKObjMap {
34 impl Default for KObjMap {
/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dbpb.rs14 #[derive(Debug, Clone, Copy, Default)]
73 #[derive(Debug, Clone, Copy, Default)]
89 #[derive(Debug, Clone, Copy, Default)]
148 impl Default for FATType {
/DragonOS-0.1.8/kernel/src/driver/uart/
Duart.rs108 impl Default for Uart {
122 impl Default for LockedUart {
184 impl Default for UartDriver {
198 impl Default for LockedUartDriver {
/DragonOS-0.1.8/kernel/src/sched/
Drt.rs111 cpu_queue: Default::default(), in new()
112 load_list: Default::default(), in new()
/DragonOS-0.1.8/kernel/src/driver/timers/rtc/
Drtc.rs17 impl Default for RtcTime {
/DragonOS-0.1.8/kernel/src/driver/base/char/
Dmod.rs42 impl Default for LockedChrDevs {
52 impl Default for ChrDevs {
/DragonOS-0.1.8/kernel/src/driver/tty/
Dmod.rs22 #[derive(Default)]
34 #[derive(Debug, Default, Clone)]
/DragonOS-0.1.8/kernel/src/filesystem/procfs/
Dmod.rs39 Default, enumerator
46 _ => ProcFileType::Default, in from()
264 ftype: ProcFileType::Default, in new()
394 ProcFileType::Default => (), in read_at()
515 ftype: ProcFileType::Default, in create_with_data()
/DragonOS-0.1.8/kernel/src/mm/
Dmmio_buddy.rs594 ..Default::default() in new()
598 impl Default for MmioFreeRegionList {
601 list: Default::default(), in default()

12