Home
last modified time | relevance | path

Searched refs:info (Results 1 – 25 of 107) sorted by relevance

12345

/DragonOS/user/apps/user-manage/src/check/
H A Dcheck.rs1 use super::info::{GAddInfo, GDelInfo, GModInfo, PasswdInfo, UAddInfo, UDelInfo, UModInfo};
25 let mut info = UAddInfo::default(); in check() localVariable
26 info.username = cmd.username; in check()
32 info.shell = arg.clone(); in check()
35 info.comment = arg.clone(); in check()
38 info.uid = arg.clone(); in check()
41 info.group = arg.clone(); in check()
44 info.gid = arg.clone(); in check()
47 info.home_dir = arg.clone(); in check()
60 if info.username.is_empty() { in check()
[all …]
H A Dinfo.rs19 fn from(info: UAddInfo) -> Self { in from()
22 info.username, info.uid, info.gid, info.comment, info.home_dir, info.shell in from()
/DragonOS/user/apps/user-manage/src/executor/
H A Dexecutor.rs2 check::info::{GAddInfo, GDelInfo, GModInfo, PasswdInfo, UAddInfo, UDelInfo, UModInfo},
69 pub fn execute(info: UAddInfo) { in execute()
71 let home = info.home_dir.clone(); in execute()
80 Self::write_passwd_file(&info); in execute()
81 Self::write_shadow_file(&info); in execute()
82 Self::write_group_file(&info); in execute()
83 Self::write_gshadow_file(&info); in execute()
87 fn write_passwd_file(info: &UAddInfo) { in write_passwd_file()
88 let userinfo: String = info.clone().into(); in write_passwd_file()
98 fn write_group_file(info: &UAddInfo) { in write_group_file()
[all …]
/DragonOS/kernel/src/debug/kprobe/
H A Dtest.rs5 use log::info;
10 info!("detect_func: hart_id: {}, x: {}, y:{}", hart, x, y); in detect_func()
16 info!( in pre_handler()
24 info!( in post_handler()
32 info!( in fault_handler()
39 info!("kprobe test for [detect_func]: {:#x}", detect_func as usize); in kprobe_test()
54 info!( in kprobe_test()
71 info!( in kprobe_test()
78 info!( in kprobe_test()
83 info!("kprobe test end"); in kprobe_test()
/DragonOS/kernel/src/process/
H A Dkthread.rs13 use log::info;
267 info!("Initializing kernel thread mechanism stage1..."); in init_stage1()
299 info!("Initializing kernel thread mechanism stage1 complete"); in init_stage1()
308 info!("Initializing kernel thread mechanism stage2..."); in init_stage2()
311 let info = KernelThreadCreateInfo::new(closure, "kthreadd".to_string()); in init_stage2() localVariable
312 info.set_to_mark_sleep(false) in init_stage2()
315 &info, in init_stage2()
324 info!("Initialize kernel thread mechanism stage2 complete"); in init_stage2()
340 let info = KernelThreadCreateInfo::new(func, name); in create() localVariable
345 KTHREAD_CREATE_LIST.lock().push_back(info.clone()); in create()
[all …]
/DragonOS/user/apps/test_ebpf/src/
H A Dmain.rs5 use log::{info, warn};
31 info!("attacch the kprobe to dragonos_kernel::syscall::Syscall::handle"); in main()
56 info!("Waiting for Ctrl-C..."); in main()
58 info!("Exiting..."); in main()
/DragonOS/kernel/src/arch/riscv64/mm/
H A Dinit.rs3 use log::{debug, info};
137 info!("Successfully initialized buddy allocator"); in riscv_mm_init()
158 info!("riscv mm init done"); in riscv_mm_init()
183 let info = efi_manager().kernel_load_info().unwrap(); in remap_at_low_address() localVariable
184 let base = PhysAddr::new(info.paddr as usize); in remap_at_low_address()
185 let size = info.size as usize; in remap_at_low_address()
205 let info = efi_manager().kernel_load_info().unwrap(); in unmap_at_low_address() localVariable
206 let base = PhysAddr::new(info.paddr as usize); in unmap_at_low_address()
207 let size = info.size as usize; in unmap_at_low_address()
/DragonOS/user/apps/user-manage/src/cmd/
H A Duseradd.rs38 let info = UAddCheck::check(cmd); in main() localVariable
39 let username = info.username.clone(); in main()
40 UAddExecutor::execute(info); in main()
H A Duserdel.rs38 let info = UDelCheck::check(cmd); in main() localVariable
39 let username = info.username.clone(); in main()
40 UDelExecutor::execute(info); in main()
H A Dgroupadd.rs38 let info = GAddCheck::check(cmd); in main() localVariable
39 let groupname = info.groupname.clone(); in main()
40 GAddExecutor::execute(info); in main()
H A Dgroupdel.rs38 let info = GDelCheck::check(cmd); in main() localVariable
39 let groupname = info.groupname.clone(); in main()
40 GDelExecutor::execute(info); in main()
H A Dgroupmod.rs39 let info = GModCheck::check(cmd); in main() localVariable
40 let groupname = info.groupname.clone(); in main()
41 GModExecutor::execute(info); in main()
H A Dusermod.rs39 let info = UModCheck::check(cmd); in main() localVariable
40 let username = info.username.clone(); in main()
41 UModExecutor::execute(info); in main()
H A Dpasswd.rs21 let info = PasswdCheck::check(cmd); in main() localVariable
22 PasswdExecutor::execute(info); in main()
/DragonOS/docs/kernel/debug/
H A Ddebug-kernel-with-gdb.md141   您可以通过`info b`,`info break`或者`info breakpoints`来查看所有的断点信息:
148 (gdb) info b
209 #您可以通过info display命令来查看所有display编号
222 # 您可以通过info display命令来查看所有display编号
287   您可以通过`info threads`命令来查看各个核心的运行状态
290 (gdb) info threads
333 info args #显示当前函数的参数及其值
334 info breakpoints #显示断点以及监视点信息
335 info display #显示当前设置的display列表
336 info locals #显示当前函数/栈帧中的局部变量及其值
[all …]
/DragonOS/user/apps/test_shm/
H A DMakefile14 $(CC) -static -o $(NAME_PREFIX)info test_info.c
20 mv $(NAME_PREFIX)info $(DADK_CURRENT_BUILD_DIR)/
23 rm $(NAME_PREFIX)receiver $(NAME_PREFIX)sender $(NAME_PREFIX)info *.o
/DragonOS/tools/debugging/logmonitor/src/backend/
H A Dloader.rs4 use log::info;
15 info!("Loading kernel: {:?}", kernel); in load()
25 info!("Parsing symbols..."); in load()
30 info!("Parsed {} symbols", result.symbols().len()); in load()
31 info!("Loaded kernel: {:?}", kernel); in load()
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dbump.rs17 let info: X86_64MMBootstrapInfo = BOOTSTRAP_MM_INFO.unwrap(); in arch_remain_areas() localVariable
18 let load_base = info.kernel_load_base_paddr; in arch_remain_areas()
19 let kernel_code_start = MMA::virt_2_phys(VirtAddr::new(info.kernel_code_start)) in arch_remain_areas()
/DragonOS/kernel/src/arch/x86_64/process/
H A Dkthread.rs25 info: &Arc<KernelThreadCreateInfo>, in __inner_create()
30 KernelThreadCreateInfo::generate_unsafe_arc_ptr(info.clone()); in __inner_create()
51 .set_name(info.name().clone()); in __inner_create()
/DragonOS/kernel/src/driver/clocksource/
H A Dacpi_pm.rs18 use log::info;
180 use log::info; in verify_pmtmr_rate()
191 info!( in verify_pmtmr_rate()
221 info!( in find_acpi_pm_clock()
269 info!("PM Timer had inconsistens results: {} {}", value1, value2); in init_acpi_pm_clocksource()
276 info!("PM Timer failed consistency check: {}", value1); in init_acpi_pm_clocksource()
301 info!("ACPI PM Timer registered as clocksource sccessfully"); in init_acpi_pm_clocksource()
305 info!("ACPI PM Timer init registered failed"); in init_acpi_pm_clocksource()
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/
H A Dmm.rs11 use log::info;
46 info!("mm_log_buffer_symbol: {:?}", mm_log_buffer_symbol); in new()
74 info!("MMLogMonitor::run()"); in run()
105 info!("memory log rate: {} logs/s", x - last_cnt); in handle_logs()
154 info!("MMMonitorThread::run(): kmem_path: {:?}", self.kmem_path); in run()
171 info!("Channel header loaded!"); in run()
249 info!("channel_header: {:?}", header); in load_header()
253info!("MM Log Channel not found... Maybe the kernel not started? Or the kernel version is not supp… in load_header()
/DragonOS/kernel/src/smp/
H A Dinit.rs1 use log::info;
27 info!("Successfully started AP {}", smp_get_processor_id().data()); in do_ap_start_stage2()
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/
H A Dvmexit.rs253 let info = vmx_vmread(VmcsFields::VMEXIT_INSTR_LEN as u32).unwrap() as u32; in vmexit_handler() localVariable
254 debug!("vmexit handler: VMEXIT_INSTR_LEN: {}!", info); in vmexit_handler()
255 let info = vmx_vmread(VmcsFields::VMEXIT_INSTR_INFO as u32).unwrap() as u32; in vmexit_handler() localVariable
256 debug!("vmexit handler: VMEXIT_INSTR_INFO: {}!", info); in vmexit_handler()
257 let info = vmx_vmread(VmcsFields::CTRL_EXPECTION_BITMAP as u32).unwrap() as u32; in vmexit_handler() localVariable
258 debug!("vmexit handler: CTRL_EXPECTION_BITMAP: {}!", info); in vmexit_handler()
/DragonOS/kernel/src/arch/x86_64/driver/
H A Dtsc.rs11 use log::{debug, error, info, warn};
86 info!( in determine_cpu_tsc_frequency()
91 info!( in determine_cpu_tsc_frequency()
172 info!( in calibrate_cpu_by_pit_hpet_ptimer()
201 info!( in calibrate_cpu_by_pit_hpet_ptimer()
210 info!("Using PIT calibration value"); in calibrate_cpu_by_pit_hpet_ptimer()
230 info!("Using PIT calibration value"); in calibrate_cpu_by_pit_hpet_ptimer()
/DragonOS/kernel/src/ipc/
H A Dsignal_types.rs420 let (info, still_pending) = self.queue_mut().find_and_delete(sig); in collect_signal()
427 if let Some(info) = info { in collect_signal()
428 return info; in collect_signal()
444 let info: Option<SigInfo> = if sig != Signal::INVALID { in dequeue_signal() localVariable
453 return (sig, info); in dequeue_signal()
484 let mut info: Option<&SigInfo> = None; in find() localVariable
488 if info.is_some() { in find()
492 info = Some(x); in find()
496 return (info, still_pending); in find()

12345