Home
last modified time | relevance | path

Searched refs:panic (Results 1 – 25 of 88) sorted by relevance

1234

/DragonOS/tools/debugging/logmonitor/src/
H A Dtui.rs7 use std::panic;
39 let panic_hook = panic::take_hook(); in init()
40 panic::set_hook(Box::new(move |panic| { in init()
42 panic_hook(panic); in init()
/DragonOS/kernel/src/arch/x86_64/interrupt/
H A Dtrap.rs124 panic!("Divide Error"); in do_divide_error()
152 panic!("NMI Interrupt"); in do_nmi()
180 panic!("Overflow Exception"); in do_overflow()
194 panic!("Bounds Check"); in do_bounds()
208 panic!("Undefined Opcode"); in do_undefined_opcode()
222 panic!("Device Not Available"); in do_dev_not_avaliable()
236 panic!("Double Fault"); in do_double_fault()
250 panic!("Coprocessor Segment Overrun"); in do_coprocessor_segment_overrun()
286 panic!("Invalid TSS"); in do_invalid_TSS()
300 panic!("Segment Not Exists"); in do_segment_not_exists()
[all …]
/DragonOS/kernel/src/libs/
H A Dwait_queue.rs43 panic!("sleep error: {:?}", e); in prepare_to_wait_event()
69 panic!("sleep error: {:?}", e); in sleep()
85 panic!("sleep error: {:?}", e); in sleep_with_func()
115 panic!("sleep error: {:?}", e); in sleep_without_schedule()
127 panic!("sleep error: {:?}", e); in sleep_without_schedule_uninterruptible()
138 panic!("sleep error: {:?}", e); in sleep_uninterruptible()
153 panic!("sleep error: {:?}", e); in sleep_unlock_spinlock()
169 panic!("sleep error: {:?}", e); in sleep_unlock_mutex()
185 panic!("sleep error: {:?}", e); in sleep_uninterruptible_unlock_spinlock()
201 panic!("sleep error: {:?}", e); in sleep_uninterruptible_unlock_mutex()
[all …]
/DragonOS/kernel/src/arch/riscv64/
H A Dtime.rs21 panic!("init_time_freq: failed to get fdt"); in init_time_freq()
27 panic!("init_time_freq: failed to find /cpus node"); in init_time_freq()
36 panic!("init_time_freq: failed to get timebase-frequency"); in init_time_freq()
/DragonOS/kernel/src/process/
H A Dfork.rs193 panic!( in fork()
203 panic!( in fork()
246 panic!( in copy_mm()
257 panic!( in copy_mm()
434 panic!( in copy_process()
442 panic!( in copy_process()
450 panic!( in copy_process()
457panic!("fork: Failed to copy namespace form current process, current pid: [{:?}], new pid: [{:?}].… in copy_process()
463 panic!( in copy_process()
471 panic!( in copy_process()
[all …]
H A Didle.rs27 panic!("Idle process already initialized"); in init_idle()
47 panic!("Failed to create kernel stack struct for AP {}: {:?}", i, e) in init_idle()
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dfault.rs3 panic,
143 panic!() in page_fault_oops()
157 panic!( in do_kern_addr_fault()
204 panic!( in do_user_addr_fault()
262 panic!( in do_user_addr_fault()
285 panic!( in do_user_addr_fault()
315 panic!("fault error: {:?}", fault) in do_user_addr_fault()
/DragonOS/kernel/crates/unified-init/src/
H A Dmain.rs13 pub fn panic(_info: &core::panic::PanicInfo) -> ! { in panic() function
/DragonOS/kernel/src/init/
H A Dinitial_kthread.rs30 panic!() in initial_kernel_thread()
58 panic!("Failed to initialize subsystems: {:?}", err); in kenrel_init_freeable()
94 panic!( in switch_to_user()
108 panic!("Failed to run init process: No working init found."); in switch_to_user()
/DragonOS/kernel/crates/rbpf/examples/
H A Dto_json.rs63 Err(e) => panic!("Error: {:?}", e), in main()
68 None => panic!("Failed to look up .classifier section"), in main()
H A Dload_elf.rs56 Err(e) => panic!("Error: {:?}", e), in main()
61 None => panic!("Failed to look up .classifier section"), in main()
/DragonOS/user/apps/test_ebpf/syscall_ebpf/syscall_ebpf-ebpf/src/
H A Dmain.rs42 fn panic(_info: &core::panic::PanicInfo) -> ! { in panic() function
/DragonOS/user/apps/test_ebpf/syscall_ebpf/syscall_ebpf-ebpf/
H A DCargo.toml22 panic = "abort"
29 panic = "abort"
/DragonOS/user/apps/test-mount/src/
H A Dmain.rs12 panic!("mkdir /mnt/tmp fail."); in main()
24 panic!("mkdir /mnt/tmp/tmp fail."); in main()
/DragonOS/kernel/src/arch/riscv64/pci/
H A Dpci_host_ecam.rs29 _ => panic!("Unexpected bus-range length"), in pci_host_ecam_driver_init()
39 _ => panic!("Unexpected linux,pci-domain length"), in pci_host_ecam_driver_init()
/DragonOS/kernel/src/perf/
H A Dkprobe.rs93 panic!("read_at not implemented for PerfEvent"); in read_at()
103 panic!("write_at not implemented for PerfEvent"); in write_at()
107 panic!("fs not implemented for PerfEvent"); in fs()
H A Dmod.rs123 panic!("read_at not implemented for PerfEvent"); in read_at()
133 panic!("write_at not implemented for PerfEvent"); in write_at()
212 panic!("PerfFakeFs does not have a root inode") in root_inode()
216 panic!("PerfFakeFs does not have a filesystem info") in info()
228 panic!("PerfFakeFs does not have a super block") in super_block()
/DragonOS/kernel/src/mm/
H A Dpercpu.rs37 panic!("PerCpu::init() called twice"); in init()
71 panic!("PerCpu::init() not called"); in new()
/DragonOS/build-scripts/kernel_build/src/bindgen/arch/
H A Dmod.rs18 _ => panic!("Unsupported arch: {:?}", arch), in current_bindgenarch()
/DragonOS/kernel/crates/intertrait/tests/ui/
H A Dunknown-flag.rs26 greet.unwrap_or_else(|_| panic!("can't happen")).greet(); in main()
H A Dduplicate-flags.rs26 greet.unwrap_or_else(|_| panic!("can't happen")).greet(); in main()
/DragonOS/kernel/src/filesystem/sysfs/
H A Dfile.rs40 panic!("attribute and bin_attribute can't be both None"); in new()
43 panic!("attribute and bin_attribute can't be both Some"); in new()
79 panic!("attribute and bin_attribute can't be both None"); in callback_read()
93 panic!("attribute and bin_attribute can't be both None"); in callback_write()
128 panic!("parent '{path}' is not a dir"); in add_file_with_mode()
246 panic!("parent '{path}' is not a dir"); in add_bin_file_with_mode()
/DragonOS/build-scripts/kernel_build/src/cfiles/arch/
H A Dmod.rs30 _ => panic!("Unsupported arch: {:?}", arch), in current_cfiles_arch()
/DragonOS/kernel/src/
H A Dlib.rs41 use core::panic::PanicInfo;
113 pub fn panic(info: &PanicInfo) -> ! { in panic() function
/DragonOS/docs/kernel/trace/
H A DeBPF.md233 panic!("value_ptr not implemented")
271 panic!("mmap not implemented for PerfEvent");
274 panic!("set_bpf_prog not implemented for PerfEvent");
277 panic!("enable not implemented");
280 panic!("disable not implemented");
283 panic!("readable not implemented");

1234