Home
last modified time | relevance | path

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

/DragonOS/kernel/src/init/
H A Dcmdline.rs29 pub enum KCmdlineParamType { enum
40 ty: KCmdlineParamType,
48 pub const fn new(name: &'static str, ty: KCmdlineParamType) -> Self { in new()
74 if matches!(self.ty, KCmdlineParamType::EarlyKV) { in build_early_kv()
89 KCmdlineParamType::Arg => Some(KernelCmdlineParameter::Arg(KernelCmdlineArg { in build()
96 KCmdlineParamType::KV => Some(KernelCmdlineParameter::KV(KernelCmdlineKV { in build()
268 if let Some(param) = self.find_param(node, option, KCmdlineParamType::EarlyKV) { in early_init()
341 if let Some(param) = self.find_param(node, option, KCmdlineParamType::KV) { in init()
355 } else if let Some(param) = self.find_param(node, option, KCmdlineParamType::Arg) { in init()
413 param_typ: KCmdlineParamType, in find_param() argument
[all …]
/DragonOS/kernel/crates/kcmdline_macros/src/
H A Dlib.rs20 crate::init::cmdline::KCmdlineParamType::Arg,
42 crate::init::cmdline::KCmdlineParamType::KV,
65 crate::init::cmdline::KCmdlineParamType::EarlyKV,