Home
last modified time | relevance | path

Searched refs:KernelCmdlineParameter (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/init/
H A Dcmdline.rs13 pub static KCMDLINE_PARAM_EARLY_KV: [KernelCmdlineParameter] = [..];
16 pub static KCMDLINE_PARAM_KV: [KernelCmdlineParameter] = [..];
19 pub static KCMDLINE_PARAM_ARG: [KernelCmdlineParameter] = [..];
87 pub const fn build(self) -> Option<KernelCmdlineParameter> { in build() argument
89 KCmdlineParamType::Arg => Some(KernelCmdlineParameter::Arg(KernelCmdlineArg { in build()
96 KCmdlineParamType::KV => Some(KernelCmdlineParameter::KV(KernelCmdlineKV { in build()
108 pub enum KernelCmdlineParameter { enum
115 impl KernelCmdlineParameter { implementation
118 KernelCmdlineParameter::Arg(v) => v.name, in name()
119 KernelCmdlineParameter::KV(v) => v.name, in name()
[all …]
/DragonOS/kernel/crates/kcmdline_macros/src/
H A Dlib.rs17 static $varname: crate::init::cmdline::KernelCmdlineParameter =
39 static $varname: crate::init::cmdline::KernelCmdlineParameter =
60 static $varname: crate::init::cmdline::KernelCmdlineParameter = {
71 crate::init::cmdline::KernelCmdlineParameter::EarlyKV(&___KV)