Lines Matching refs:path
85 if let Some(path) = kenrel_cmdline_param_manager().init_proc_path() { in switch_to_user()
86 log::info!("Boot with specified init process: {:?}", path); in switch_to_user()
89 path.as_c_str().to_str().unwrap(), in switch_to_user()
96 path, e in switch_to_user()
101 for path in INIT_PROC_TRYLIST.iter() { in switch_to_user()
102 if try_to_run_init_process(path, &mut proc_init_info, &mut trap_frame).is_ok() { in switch_to_user()
119 path: &str, in try_to_run_init_process()
123 proc_init_info.proc_name = CString::new(path).unwrap(); in try_to_run_init_process()
124 proc_init_info.args.insert(0, CString::new(path).unwrap()); in try_to_run_init_process()
145 let path = proc_init_info.proc_name.to_str().unwrap(); in run_init_process() localVariable
148 path.to_string(), in run_init_process()