Home
last modified time | relevance | path

Searched refs:default_str (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/crates/kcmdline_macros/src/
H A Dlib.rs37 ($varname:ident, $name:ident, $default_str:expr) => {
44 .default_str($default_str)
58 ($varname:ident, $name:ident, $default_str:expr) => {
62 const { assert!($default_str.len() < KernelCmdlineEarlyKV::VALUE_MAX_LEN) };
67 .default_str($default_str)
/DragonOS/docs/kernel/boot/
H A Dcmdline.md68 kernel_cmdline_param_kv!(varname, name, default_str);
73 - `default_str`:默认值
78 kernel_cmdline_param_early_kv!(varname, name, default_str);
83 - `default_str`:默认值
/DragonOS/kernel/src/init/
H A Dcmdline.rs41 default_str: &'static str, field
52 default_str: "", in new()
58 pub const fn default_str(mut self, default_str: &'static str) -> Self { in default_str() method
59 self.default_str = default_str; in default_str()
80 default: self.default_str, in build_early_kv()
100 default: self.default_str, in build()