Home
last modified time | relevance | path

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

/DragonOS/docs/kernel/boot/
H A Dcmdline.md23 - Arg类型
27 #### Arg类型
29 Arg类型的参数在命令行中只有名称,没有值。分为以下两种类型:
56 ### Arg类型参数声明
/DragonOS/kernel/src/init/
H A Dcmdline.rs31 Arg, enumerator
89 KCmdlineParamType::Arg => Some(KernelCmdlineParameter::Arg(KernelCmdlineArg { in build()
109 Arg(KernelCmdlineArg), enumerator
118 KernelCmdlineParameter::Arg(v) => v.name, in name()
127 KernelCmdlineParameter::Arg(v) => Some(v.value()), in value_bool()
135 KernelCmdlineParameter::Arg(_) => None, in value_str()
145 matches!(self, KernelCmdlineParameter::Arg(_)) in is_arg()
355 } else if let Some(param) = self.find_param(node, option, KCmdlineParamType::Arg) { in init()
358 KernelCmdlineParameter::Arg(p) => { in init()
388 if let KernelCmdlineParameter::Arg(v) = x { in default_initialize()
[all …]
/DragonOS/kernel/crates/kcmdline_macros/src/
H A Dlib.rs20 crate::init::cmdline::KCmdlineParamType::Arg,