Home
last modified time | relevance | path

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

12

/DragonOS-0.1.8/user/libs/libc/src/
Dlib.rs10 use core::panic::PanicInfo;
17 fn panic(_info: &PanicInfo) -> ! { in panic() function
/DragonOS-0.1.8/kernel/src/mm/
Dno_init.rs36 panic!("NoInitAllocator can't allocate page frame"); in allocate()
40 panic!("NoInitAllocator can't free page frame"); in free()
46 panic!("NoInitAllocator can't get page frame usage"); in usage()
Dpercpu.rs29 panic!("PerCpu::init() called twice"); in init()
62 panic!("PerCpu::init() not called"); in new()
Dc_adapter.rs102 panic!( in do_kmalloc()
/DragonOS-0.1.8/kernel/src/
Dlib.rs20 use core::panic::PanicInfo;
73 pub fn panic(info: &PanicInfo) -> ! { in panic() function
/DragonOS-0.1.8/kernel/src/arch/x86_64/
Dcontext.rs20 panic!( in switch_process()
Dsyscall.rs1 use core::{ffi::c_void, panic};
145 panic!("Failed to execve: {:?}", e); in rs_do_execve()
152 panic!( in rs_do_execve()
217 .unwrap_or_else(|e| panic!("Failed to load binary file: {:?}, path: {:?}", e, path)); in tmp_rs_execve()
Dfpu.rs124 panic!("fp_state_restore: fp_state is null. pid={}", pcb.pid); in fp_state_restore()
/DragonOS-0.1.8/kernel/src/filesystem/sysfs/
Dmod.rs116 Err(_) => panic!("SysFS: Failed to create /sys/devices"), in new()
123 Err(_) => panic!("SysFS: Failed to create /sys/bus"), in new()
130 Err(_) => panic!("SysFS: Failed to create /sys/class"), in new()
137 Err(_) => panic!("SysFS: Failed to create /sys/fs"), in new()
234 …_ => panic!("Sysfs get_entry_name: key.len()={key_len}>1, current inode_id={inode_id}, to find={to… in get_entry_name()
/DragonOS-0.1.8/kernel/src/libs/
Dlazy_init.rs65 panic!("Lazy value was not initialized"); in ensure()
Dalign.rs37 panic!("Check alignment failed at compile time.")
/DragonOS-0.1.8/kernel/src/mm/allocator/
Dkernel_allocator.rs100 panic!("global_alloc_error, layout: {:?}", layout); in global_alloc_err_handler()
Dbuddy.rs325 panic!( in pop_front()
354panic!("entry={:?} is not aligned, spec_order={spec_order}, page_list.entry_num={}", entry, tmp_cu… in pop_front()
444 panic!( in buddy_free()
565 panic!( in buddy_free()
/DragonOS-0.1.8/
Dbochsrc42 panic: action=ask
/DragonOS-0.1.8/kernel/src/sched/
Dcore.rs136 panic!("This policy is not supported at this time"); in sched_enqueue()
Drt.rs32 panic!("Try to init RT Scheduler twice."); in sched_rt_init()
Dcfs.rs32 panic!("Try to init CFS Scheduler twice."); in sched_cfs_init()
/DragonOS-0.1.8/kernel/src/process/
Dfork.rs162 panic!( in copy_mm()
Dexec.rs191 .unwrap_or_else(|e| panic!("load_binary_file failed: error: {e:?}, param: {param:?}")); in load_binary_file()
/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/
Dmod.rs215 .unwrap_or_else(|| panic!("entry {} not found", pml4_entry_no)); in setup_new_usermapper()
305 panic!("mm_init() can only be called once"); in mm_init()
577 panic!("Cannot set inner allocator twice!"); in set_inner_allocator()
/DragonOS-0.1.8/kernel/src/filesystem/procfs/
Dmod.rs357 panic!("ProcFS: FilePrivateData mismatch!"); in close()
387 panic!("ProcFS: FilePrivateData mismatch!"); in read_at()
636 …_ => panic!("Procfs get_entry_name: key.len()={key_len}>1, current inode_id={inode_id}, to find={t… in get_entry_name()
/DragonOS-0.1.8/kernel/src/ipc/
Dsignal_types.rs290 _ => panic!("si code not valid"), in from_i32()
573 panic!("Unsupported signal number: {:?}", sig); in sigset_del()
/DragonOS-0.1.8/kernel/src/driver/net/
Dvirtio_net.rs156 Err(err) => panic!("VirtIO receive failed: {}", err), in receive()
/DragonOS-0.1.8/kernel/src/driver/virtio/
Dtransport_pci.rs321 panic!( in config_space()
/DragonOS-0.1.8/kernel/src/syscall/
Dmod.rs400 panic!("Cannot initialize syscall more than once!"); in init()
993 _ => panic!("Unsupported syscall ID: {}", syscall_num), in handle()

12