Home
last modified time | relevance | path

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

/DragonOS/kernel/src/init/
H A Dcmdline.rs73 pub const fn build_early_kv(self) -> Option<KernelCmdlineEarlyKV> { in build_early_kv() argument
75 Some(KernelCmdlineEarlyKV { in build_early_kv()
77 value: [0; KernelCmdlineEarlyKV::VALUE_MAX_LEN], in build_early_kv()
111 EarlyKV(&'static KernelCmdlineEarlyKV),
192 pub struct KernelCmdlineEarlyKV { struct
201 impl KernelCmdlineEarlyKV { argument
275 let len = value.len().min(KernelCmdlineEarlyKV::VALUE_MAX_LEN); in early_init()
293 let len = v.default.len().min(KernelCmdlineEarlyKV::VALUE_MAX_LEN); in early_init()
/DragonOS/kernel/crates/kcmdline_macros/src/
H A Dlib.rs61 static ___KV: crate::init::cmdline::KernelCmdlineEarlyKV = {
62 const { assert!($default_str.len() < KernelCmdlineEarlyKV::VALUE_MAX_LEN) };