/DragonOS/tools/debugging/logmonitor/src/ |
H A D | tui.rs | 7 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 D | trap.rs | 124 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 D | wait_queue.rs | 43 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 D | time.rs | 21 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 D | fork.rs | 193 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() 457 …panic!("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 D | idle.rs | 27 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 D | fault.rs | 3 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 D | main.rs | 13 pub fn panic(_info: &core::panic::PanicInfo) -> ! { in panic() function
|
/DragonOS/kernel/src/init/ |
H A D | initial_kthread.rs | 30 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 D | to_json.rs | 63 Err(e) => panic!("Error: {:?}", e), in main() 68 None => panic!("Failed to look up .classifier section"), in main()
|
H A D | load_elf.rs | 56 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 D | main.rs | 42 fn panic(_info: &core::panic::PanicInfo) -> ! { in panic() function
|
/DragonOS/user/apps/test_ebpf/syscall_ebpf/syscall_ebpf-ebpf/ |
H A D | Cargo.toml | 22 panic = "abort" 29 panic = "abort"
|
/DragonOS/user/apps/test-mount/src/ |
H A D | main.rs | 12 panic!("mkdir /mnt/tmp fail."); in main() 24 panic!("mkdir /mnt/tmp/tmp fail."); in main()
|
/DragonOS/kernel/src/arch/riscv64/pci/ |
H A D | pci_host_ecam.rs | 29 _ => 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 D | kprobe.rs | 93 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 D | mod.rs | 123 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 D | percpu.rs | 37 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 D | mod.rs | 18 _ => panic!("Unsupported arch: {:?}", arch), in current_bindgenarch()
|
/DragonOS/kernel/crates/intertrait/tests/ui/ |
H A D | unknown-flag.rs | 26 greet.unwrap_or_else(|_| panic!("can't happen")).greet(); in main()
|
H A D | duplicate-flags.rs | 26 greet.unwrap_or_else(|_| panic!("can't happen")).greet(); in main()
|
/DragonOS/kernel/src/filesystem/sysfs/ |
H A D | file.rs | 40 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 D | mod.rs | 30 _ => panic!("Unsupported arch: {:?}", arch), in current_cfiles_arch()
|
/DragonOS/kernel/src/ |
H A D | lib.rs | 41 use core::panic::PanicInfo; 113 pub fn panic(info: &PanicInfo) -> ! { in panic() function
|
/DragonOS/docs/kernel/trace/ |
H A D | eBPF.md | 233 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");
|