Home
last modified time | relevance | path

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

1234

/DragonOS-0.1.9/kernel/src/arch/x86_64/
Dfpu.rs26 fn default() -> Self { in default() method
29 fsw: Default::default(), in default()
30 ftw: Default::default(), in default()
31 fop: Default::default(), in default()
32 word2: Default::default(), in default()
33 word3: Default::default(), in default()
35 mxcsr_mask: Default::default(), in default()
36 mm: Default::default(), in default()
37 xmm: Default::default(), in default()
38 rest: Default::default(), in default()
[all …]
/DragonOS-0.1.9/tools/debugging/logmonitor/src/
Dui.rs38 let chunks = Layout::default() in render()
45 .map(|t| text::Line::from(Span::styled(*t, Style::default().fg(Color::Green)))) in render()
48 .block(Block::default().borders(Borders::ALL).title(app.title)) in render()
49 .highlight_style(Style::default().fg(Color::Yellow)) in render()
60 let chunks = Layout::default() in draw_first_tab()
74 let chunks = Layout::default() in draw_memory_logging_speed_gauges()
78 let block = Block::default().borders(Borders::ALL).title("Speed:"); in draw_memory_logging_speed_gauges()
81 let sparkline = Sparkline::default() in draw_memory_logging_speed_gauges()
82 .block(Block::default().title("Memory Log Speed:")) in draw_memory_logging_speed_gauges()
83 .style(Style::default().fg(Color::Green)) in draw_memory_logging_speed_gauges()
[all …]
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/
Dmod.rs284 ..Default::default() in new()
626 fn default() -> Self { in default() method
628 xres: Default::default(), in default()
629 yres: Default::default(), in default()
630 xres_virtual: Default::default(), in default()
631 yres_virtual: Default::default(), in default()
632 xoffset: Default::default(), in default()
633 yoffset: Default::default(), in default()
634 bits_per_pixel: Default::default(), in default()
635 color_mode: Default::default(), in default()
[all …]
/DragonOS-0.1.9/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.9/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.rs72 shift: Default::default(), in new()
74 xtime_interval: Default::default(), in new()
75 xtime_remainder: Default::default(), in new()
76 raw_interval: Default::default(), in new()
77 xtime_nsec: Default::default(), in new()
78 ntp_error: Default::default(), in new()
79 ntp_error_shift: Default::default(), in new()
80 mult: Default::default(), in new()
/DragonOS-0.1.9/kernel/src/driver/tty/virtual_terminal/
Dvirtual_console.rs150 saved_state: Default::default(), in new()
151 cols: Default::default(), in new()
152 rows: Default::default(), in new()
154 scan_lines: Default::default(), in new()
155 cell_height: Default::default(), in new()
158 visible_origin: Default::default(), in new()
159 top: Default::default(), in new()
160 bottom: Default::default(), in new()
161 palette: [Default::default(); 16], in new()
162 def_color: Default::default(), in new()
[all …]
/DragonOS-0.1.9/kernel/src/filesystem/devfs/
Dnull_dev.rs36 self_ref: Weak::default(), in new()
37 fs: Weak::default(), in new()
44 atime: TimeSpec::default(), in new()
45 mtime: TimeSpec::default(), in new()
46 ctime: TimeSpec::default(), in new()
52 raw_dev: DeviceNumber::default(), // 这里用来作为device number in new()
Dzero_dev.rs36 self_ref: Weak::default(), in new()
37 fs: Weak::default(), in new()
44 atime: TimeSpec::default(), in new()
45 mtime: TimeSpec::default(), in new()
46 ctime: TimeSpec::default(), in new()
52 raw_dev: DeviceNumber::default(), // 这里用来作为device number in new()
Dmod.rs236 return Self::new_with_parent(Weak::default(), dev_type_, mode, data_); in new()
247 self_ref: Weak::default(), in new_with_parent()
255 atime: TimeSpec::default(), in new_with_parent()
256 mtime: TimeSpec::default(), in new_with_parent()
257 ctime: TimeSpec::default(), in new_with_parent()
265 fs: Weak::default(), in new_with_parent()
337 self_ref: Weak::default(), in do_create_with_data()
345 atime: TimeSpec::default(), in do_create_with_data()
346 mtime: TimeSpec::default(), in do_create_with_data()
347 ctime: TimeSpec::default(), in do_create_with_data()
/DragonOS-0.1.9/kernel/src/virt/kvm/
Dvcpu_dev.rs64 self_ref: Weak::default(), in new()
65 fs: Weak::default(), in new()
72 atime: TimeSpec::default(), in new()
73 mtime: TimeSpec::default(), in new()
74 ctime: TimeSpec::default(), in new()
80 raw_dev: DeviceNumber::default(), // 这里用来作为device number in new()
165 let mut kvm_regs = VcpuContextFrame::default(); in ioctl()
Dvm_dev.rs62 self_ref: Weak::default(), in new()
63 fs: Weak::default(), in new()
70 atime: TimeSpec::default(), in new()
71 mtime: TimeSpec::default(), in new()
72 ctime: TimeSpec::default(), in new()
78 raw_dev: DeviceNumber::default(), // 这里用来作为device number in new()
154 …let mut kvm_userspace_mem = KvmUserspaceMemoryRegion::default(); // = unsafe { (data as *const Kvm… in ioctl()
Dkvm_dev.rs53 self_ref: Weak::default(), in new()
54 fs: Weak::default(), in new()
61 atime: TimeSpec::default(), in new()
62 mtime: TimeSpec::default(), in new()
63 ctime: TimeSpec::default(), in new()
69 raw_dev: DeviceNumber::default(), // 这里用来作为device number in new()
/DragonOS-0.1.9/kernel/src/driver/base/map/
Dmod.rs38 fn default() -> Self { in default() method
39 Self(SpinLock::new(KObjMap::default())) in default()
48 fn default() -> Self { in default() method
127 fn default() -> Self { in default() method
128 LockedDevsMap(SpinLock::new(DevsMap::default())) in default()
144 fn default() -> Self { in default() method
/DragonOS-0.1.9/kernel/src/ipc/
Dsignal_types.rs78 inner: Box::new(InnerSignalStruct::default()), in new()
98 fn default() -> Self { in default() method
100 cnt: Default::default(), in default()
101 handlers: [Sigaction::default(); MAX_SIG_NUM as usize], in default()
191 fn default() -> Self { in default() method
194 flags: Default::default(), in default()
195 mask: Default::default(), in default()
196 restorer: Default::default(), in default()
363 fn default() -> Self { in default() method
365 signal: SigSet::default(), in default()
[all …]
/DragonOS-0.1.9/kernel/src/filesystem/ramfs/
Dmod.rs85 parent: Weak::default(), in new()
86 self_ref: Weak::default(), in new()
95 atime: TimeSpec::default(), in new()
96 mtime: TimeSpec::default(), in new()
97 ctime: TimeSpec::default(), in new()
103 raw_dev: DeviceNumber::default(), in new()
105 fs: Weak::default(), in new()
273 self_ref: Weak::default(), in create_with_data()
282 atime: TimeSpec::default(), in create_with_data()
283 mtime: TimeSpec::default(), in create_with_data()
[all …]
/DragonOS-0.1.9/kernel/crates/system_error/
DCargo.toml10 …rrors.dragonos.org.cn/DragonOS-Community/num-traits.git", rev="1597c1c", default-features = false }
11 num = { version = "0.4.0", default-features = false }
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/
Dahci_inode.rs40 self_ref: Weak::default(), in new()
41 fs: Weak::default(), in new()
49 atime: TimeSpec::default(), in new()
50 mtime: TimeSpec::default(), in new()
51 ctime: TimeSpec::default(), in new()
/DragonOS-0.1.9/kernel/
DCargo.toml19 default = ["backtrace", "kvm"]
35 elf = { version = "=0.7.2", default-features = false }
42 num = { version = "=0.4.0", default-features = false }
44 …rrors.dragonos.org.cn/DragonOS-Community/num-traits.git", rev="1597c1c", default-features = false }
45 …irrors.dragonos.org.cn/DragonOS-Community/smoltcp.git", rev = "9027825", default-features = false,…
/DragonOS-0.1.9/kernel/src/libs/intertrait/macros/src/
Ditem_impl.rs52 eq_token: Default::default(), in fully_bound_trait()
72 lt_token: Default::default(), in fully_bound_trait()
74 gt_token: Default::default(), in fully_bound_trait()
/DragonOS-0.1.9/kernel/src/filesystem/vfs/
Dmod.rs551 fn default() -> Self { in default() method
558 atime: TimeSpec::default(), in default()
559 mtime: TimeSpec::default(), in default()
560 ctime: TimeSpec::default(), in default()
566 raw_dev: DeviceNumber::default(), in default()
617 atime: TimeSpec::default(), in new()
618 mtime: TimeSpec::default(), in new()
619 ctime: TimeSpec::default(), in new()
625 raw_dev: DeviceNumber::default(), in new()
Dmount.rs52 self_ref: Weak::default(), in new()
80 self_ref: Weak::default(), in mountpoint_root_inode()
155 self_ref: Weak::default(), in create_with_data()
219 self_ref: Weak::default(), in create()
286 self_ref: Weak::default(), in find()
298 self_ref: Weak::default(), in find()
363 self_ref: Weak::default(), in mknod()
/DragonOS-0.1.9/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.9/kernel/src/driver/keyboard/
Dps2_keyboard.rs74 self_ref: Weak::default(), in new()
75 fs: Weak::default(), in new()
82 atime: TimeSpec::default(), in new()
83 mtime: TimeSpec::default(), in new()
84 ctime: TimeSpec::default(), in new()
/DragonOS-0.1.9/kernel/src/filesystem/procfs/
Dmod.rs291 parent: Weak::default(), in new()
292 self_ref: Weak::default(), in new()
301 atime: TimeSpec::default(), in new()
302 mtime: TimeSpec::default(), in new()
303 ctime: TimeSpec::default(), in new()
309 raw_dev: DeviceNumber::default(), in new()
311 fs: Weak::default(), in new()
567 self_ref: Weak::default(), in create_with_data()
576 atime: TimeSpec::default(), in create_with_data()
577 mtime: TimeSpec::default(), in create_with_data()
[all …]

1234