Home
last modified time | relevance | path

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

123456

/DragonOS/kernel/src/arch/x86_64/
H A 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/tools/debugging/logmonitor/src/
H A 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/kernel/src/driver/video/fbdev/base/
H A Dmod.rs269 ..Default::default() in new()
613 fn default() -> Self { in default() method
615 xres: Default::default(), in default()
616 yres: Default::default(), in default()
617 xres_virtual: Default::default(), in default()
618 yres_virtual: Default::default(), in default()
619 xoffset: Default::default(), in default()
620 yoffset: Default::default(), in default()
621 bits_per_pixel: Default::default(), in default()
622 color_mode: Default::default(), in default()
[all …]
/DragonOS/kernel/src/time/
H A 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()
H A Dtimekeeping.rs74 shift: Default::default(), in new()
76 xtime_interval: Default::default(), in new()
77 xtime_remainder: Default::default(), in new()
78 raw_interval: Default::default(), in new()
79 xtime_nsec: Default::default(), in new()
80 ntp_error: Default::default(), in new()
81 ntp_error_shift: Default::default(), in new()
82 mult: Default::default(), in new()
/DragonOS/kernel/src/driver/tty/virtual_terminal/
H A Dvirtual_console.rs151 saved_state: Default::default(), in new()
152 cols: Default::default(), in new()
153 rows: Default::default(), in new()
155 scan_lines: Default::default(), in new()
156 cell_height: Default::default(), in new()
159 visible_origin: Default::default(), in new()
160 top: Default::default(), in new()
161 bottom: Default::default(), in new()
162 palette: [Default::default(); 16], in new()
163 def_color: Default::default(), in new()
[all …]
/DragonOS/kernel/src/filesystem/devfs/
H A Dnull_dev.rs37 self_ref: Weak::default(), in new()
38 fs: Weak::default(), in new()
45 atime: PosixTimeSpec::default(), in new()
46 mtime: PosixTimeSpec::default(), in new()
47 ctime: PosixTimeSpec::default(), in new()
53 raw_dev: DeviceNumber::default(), // 这里用来作为device number in new()
H A Dzero_dev.rs37 self_ref: Weak::default(), in new()
38 fs: Weak::default(), in new()
45 atime: PosixTimeSpec::default(), in new()
46 mtime: PosixTimeSpec::default(), in new()
47 ctime: PosixTimeSpec::default(), in new()
53 raw_dev: DeviceNumber::default(), // 这里用来作为device number in new()
H A Dmod.rs260 return Self::new_with_parent(Weak::default(), dev_type_, mode, data_); in new()
271 self_ref: Weak::default(), in new_with_parent()
279 atime: PosixTimeSpec::default(), in new_with_parent()
280 mtime: PosixTimeSpec::default(), in new_with_parent()
281 ctime: PosixTimeSpec::default(), in new_with_parent()
289 fs: Weak::default(), in new_with_parent()
290 dname: DName::default(), in new_with_parent()
362 self_ref: Weak::default(), in do_create_with_data()
370 atime: PosixTimeSpec::default(), in do_create_with_data()
371 mtime: PosixTimeSpec::default(), in do_create_with_data()
[all …]
/DragonOS/kernel/src/virt/kvm/
H A Dvcpu_dev.rs66 self_ref: Weak::default(), in new()
67 fs: Weak::default(), in new()
74 atime: PosixTimeSpec::default(), in new()
75 mtime: PosixTimeSpec::default(), in new()
76 ctime: PosixTimeSpec::default(), in new()
82 raw_dev: DeviceNumber::default(), // 这里用来作为device number in new()
171 let mut kvm_regs = VcpuContextFrame::default(); in ioctl()
H A Dvm_dev.rs64 self_ref: Weak::default(), in new()
65 fs: Weak::default(), in new()
72 atime: PosixTimeSpec::default(), in new()
73 mtime: PosixTimeSpec::default(), in new()
74 ctime: PosixTimeSpec::default(), in new()
80 raw_dev: DeviceNumber::default(), // 这里用来作为device number in new()
160 …let mut kvm_userspace_mem = KvmUserspaceMemoryRegion::default(); // = unsafe { (data as *const Kvm… in ioctl()
H A Dkvm_dev.rs55 self_ref: Weak::default(), in new()
56 fs: Weak::default(), in new()
63 atime: PosixTimeSpec::default(), in new()
64 mtime: PosixTimeSpec::default(), in new()
65 ctime: PosixTimeSpec::default(), in new()
71 raw_dev: DeviceNumber::default(), // 这里用来作为device number in new()
/DragonOS/user/apps/test_namespace/
H A Dmakefile.toml6 ARCH = { default = "x86_64" }
7 RUST_TARGET = { default = { if = "eq(env.ARCH, 'riscv64')", value = "riscv64gc-unknown-linux-gnu", …
8 INSTALL_DIR = { default = { if = "defined(env.DADK_CURRENT_BUILD_DIR)", value = "${DADK_CURRENT_BUI…
/DragonOS/kernel/src/driver/base/map/
H A Dmod.rs38 fn default() -> Self { in default() method
39 Self(SpinLock::new(KObjMap::default())) in default()
48 fn default() -> Self { in default() method
124 fn default() -> Self { in default() method
125 LockedDevsMap(SpinLock::new(DevsMap::default())) in default()
141 fn default() -> Self { in default() method
/DragonOS/kernel/
H A DCargo.toml18 default = ["backtrace", "kvm", "fatfs", "fatfs-secure", "static_keys_test"]
42 elf = { version = "=0.7.2", default-features = false }
52 num = { version = "=0.4.0", default-features = false }
54 …rrors.dragonos.org.cn/DragonOS-Community/num-traits.git", rev="1597c1c", default-features = false }
55 smoltcp = { version = "=0.11.0", default-features = false, features = ["log", "alloc", "socket-raw…
70 printf-compat = { version = "0.1.1", default-features = false }
73 …rrors.dragonos.org.cn/DragonOS-Community/unwinding", rev = "4eb845da62", default-features = false,…
/DragonOS/kernel/crates/kprobe/
H A DCargo.toml10 yaxpeax-x86 = { version = "2", default-features = false, features = ["fmt"] }
11 yaxpeax-arch = { version = "0", default-features = false }
/DragonOS/kernel/src/filesystem/ramfs/
H A Dmod.rs76 parent: Weak::default(), in new()
77 self_ref: Weak::default(), in new()
86 atime: PosixTimeSpec::default(), in new()
87 mtime: PosixTimeSpec::default(), in new()
88 ctime: PosixTimeSpec::default(), in new()
94 raw_dev: DeviceNumber::default(), in new()
96 fs: Weak::default(), in new()
98 name: Default::default(), in new()
323 self_ref: Weak::default(), in create_with_data()
332 atime: PosixTimeSpec::default(), in create_with_data()
[all …]
/DragonOS/kernel/crates/rbpf/
H A DCargo.toml30 byteorder = { version = "1.2", default-features = false }
31 log = {version = "0.4.21", default-features = false }
32 combine = { version = "4.6", default-features = false }
52 #default = ["std", "user", "cranelift"]
/DragonOS/kernel/src/filesystem/
H A Dmbr.rs1 use core::{default::Default, mem::size_of};
64 fn default() -> Self { in default() method
67 dpte: [Default::default(); 4], in default()
68 bs_trailsig: Default::default(), in default()
87 let mut table: MbrDiskPartionTable = Default::default(); in from_disk()
/DragonOS/kernel/crates/intertrait/macros/src/
H A 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/kernel/src/init/
H A Dcmdline.rs80 default: self.default_str, in build_early_kv()
94 default: self.default_bool, in build()
100 default: self.default_str, in build()
175 default: bool, field
188 default: &'static str, field
197 default: &'static str, field
293 let len = v.default.len().min(KernelCmdlineEarlyKV::VALUE_MAX_LEN); in early_init()
294 v.value[..len].copy_from_slice(v.default.as_bytes()); in early_init()
390 v.value = v.default; in default_initialize()
401 v.value = Some(CString::new(v.default).unwrap()); in default_initialize()
/DragonOS/kernel/src/ipc/
H A Dsignal_types.rs79 inner: Box::<InnerSignalStruct>::default(), in new()
85 fn default() -> Self { in default() method
105 fn default() -> Self { in default() method
107 cnt: Default::default(), in default()
108 handlers: [Sigaction::default(); MAX_SIG_NUM], in default()
198 fn default() -> Self { in default() method
201 flags: Default::default(), in default()
202 mask: Default::default(), in default()
203 restorer: Default::default(), in default()
/DragonOS/kernel/src/filesystem/fat/
H A Dbpb.rs149 fn default() -> Self { in default() method
150 return FATType::FAT32(BiosParameterBlockFAT32::default()); in default()
229 let mut bpb = BiosParameterBlock::default(); in new()
257 ..Default::default() in new()
293 FATType::FAT12(BiosParameterBlockLegacy::default()) in new()
295 FATType::FAT16(BiosParameterBlockLegacy::default()) in new()
/DragonOS/kernel/src/driver/keyboard/
H A Dps2_keyboard.rs78 self_ref: Weak::default(), in new()
79 fs: Weak::default(), in new()
86 atime: PosixTimeSpec::default(), in new()
87 mtime: PosixTimeSpec::default(), in new()
88 ctime: PosixTimeSpec::default(), in new()
/DragonOS/kernel/src/filesystem/procfs/
H A Dmod.rs106 fn default() -> Self { in default() method
326 parent: Weak::default(), in new()
327 self_ref: Weak::default(), in new()
336 atime: PosixTimeSpec::default(), in new()
337 mtime: PosixTimeSpec::default(), in new()
338 ctime: PosixTimeSpec::default(), in new()
344 raw_dev: DeviceNumber::default(), in new()
346 fs: Weak::default(), in new()
351 dname: DName::default(), in new()
615 self_ref: Weak::default(), in create_with_data()
[all …]

123456