Searched refs:default_str (Results 1 – 3 of 3) sorted by relevance
/DragonOS/kernel/crates/kcmdline_macros/src/ |
H A D | lib.rs | 37 ($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 D | cmdline.md | 68 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 D | cmdline.rs | 41 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()
|