Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 123) sorted by relevance

12345

/DragonOS/kernel/src/arch/riscv64/interrupt/
H A Dhandle.rs6 use log::{error, trace};
56 error!("riscv64_do_irq: exception code out of range"); in riscv64_do_exception()
65 error!("riscv64_do_irq: handler not found"); in default_handler()
73 error!("riscv64_do_irq: do_trap_insn_misaligned"); in do_trap_insn_misaligned()
81 error!("riscv64_do_irq: do_trap_insn_access_fault"); in do_trap_insn_access_fault()
89 error!("riscv64_do_irq: do_trap_insn_illegal"); in do_trap_insn_illegal()
104 error!("riscv64_do_irq: do_trap_load_misaligned"); in do_trap_load_misaligned()
112 error!("riscv64_do_irq: do_trap_load_access_fault"); in do_trap_load_access_fault()
120 error!("riscv64_do_irq: do_trap_store_misaligned"); in do_trap_store_misaligned()
128 error!("riscv64_do_irq: do_trap_store_access_fault"); in do_trap_store_access_fault()
[all …]
/DragonOS/kernel/crates/rbpf/src/
H A Dno_std_error.rs16 error: String, field
22 pub fn new<S: Into<String>>(kind: ErrorKind, error: S) -> Error { in new()
25 error: error.into(), in new()
/DragonOS/kernel/src/arch/x86_64/interrupt/
H A Dtrap.rs1 use log::{error, trace, warn};
116 error!( in do_divide_error()
144 error!( in do_nmi()
172 error!( in do_overflow()
186 error!( in do_bounds()
200 error!( in do_undefined_opcode()
214 error!( in do_dev_not_avaliable()
228 error!( in do_double_fault()
242 error!( in do_coprocessor_segment_overrun()
276 error!( in do_invalid_TSS()
[all …]
/DragonOS/kernel/src/filesystem/fat/
H A Dbpb.rs3 use log::error;
193 error!("Invalid fat_size_16 value in BPB (should be zero for FAT32)"); in validate()
198 error!("Invalid root_entries value in BPB (should be zero for FAT32)"); in validate()
203 error!("Invalid total_sectors_16 value in BPB (should be zero for FAT32)"); in validate()
208 error!("Invalid fat_size_32 value in BPB (should be non-zero for FAT32)"); in validate()
213 error!("Unknown FAT FS version"); in validate()
314 error!("Invalid bytes per sector(not a power of 2)"); in validate()
317 error!("Invalid bytes per sector (value < 512)"); in validate()
320 error!("Invalid bytes per sector (value > 4096)"); in validate()
325 error!("Invalid rsvd_sec_cnt value in BPB"); in validate()
[all …]
/DragonOS/kernel/src/time/
H A Dtimekeeping.rs161 pub fn timekeeping_bigadjust(&self, error: i64, interval: i64, offset: i64) -> (i64, i64, i32) { in timekeeping_bigadjust()
162 let mut error = error; in timekeeping_bigadjust() localVariable
171 if error < 0 { in timekeeping_bigadjust()
172 error = -error; in timekeeping_bigadjust()
177 while error > tmp { in timekeeping_bigadjust()
179 error >>= 1; in timekeeping_bigadjust()
197 let mut error = timekeeper.ntp_error >> (timekeeper.ntp_error_shift - 1); in timekeeping_adjust() localVariable
200 if error >= 0 { in timekeeping_adjust()
201 if error > interval { in timekeeping_adjust()
202 error >>= 2; in timekeeping_adjust()
[all …]
/DragonOS/user/apps/user-manage/src/cmd/
H A Dpasswd.rs2 check::check::PasswdCheck, error::error::ExitStatus, executor::executor::PasswdExecutor,
10 mod error; module
H A Duseradd.rs3 error::error::{ErrorHandler, ExitStatus},
13 mod error; module
H A Duserdel.rs3 error::error::{ErrorHandler, ExitStatus},
13 mod error; module
H A Dgroupadd.rs3 error::error::{ErrorHandler, ExitStatus},
13 mod error; module
H A Dgroupdel.rs3 error::error::{ErrorHandler, ExitStatus},
13 mod error; module
H A Dgroupmod.rs3 error::error::{ErrorHandler, ExitStatus},
13 mod error; module
H A Dusermod.rs3 error::error::{ErrorHandler, ExitStatus},
13 mod error; module
/DragonOS/kernel/src/arch/x86_64/ipc/
H A Dsignal.rs3 use log::error;
89 error!("Try to convert an invalid number to Signal"); in from()
104 error!("Try to convert an invalid number to Signal"); in from()
148 error!("attempting to handler an Invalid"); in handle_default()
465 error!("Trying to handle a Sigerror on Process:{:?}", pcb.pid()); in do_signal()
492 error!( in do_signal()
506 error!("rsp doesn't from user level"); in sys_rt_sigreturn()
515 error!("unable to restore sigcontext"); in sys_rt_sigreturn()
573 error!("attempting to execute a signal handler from kernel"); in setup_frame()
582 error!( in setup_frame()
[all …]
/DragonOS/kernel/src/arch/riscv64/process/
H A Didle.rs3 use log::error;
14 error!("Idle process should not be scheduled with IRQs disabled."); in arch_idle_func()
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dfault.rs7 use log::error;
80 error!("kernel tried to execute NX-protected page - exploit attempt?"); in show_fault_oops()
84 error!("unable to execute userspace code (SMEP?)"); in show_fault_oops()
89 error!( in show_fault_oops()
94 error!( in show_fault_oops()
100 error!( in show_fault_oops()
120 error!( in show_fault_oops()
238 log::error!( in do_user_addr_fault()
269 log::error!( in do_user_addr_fault()
/DragonOS/kernel/src/common/
H A Derr.h38 static inline void* __must_check ERR_PTR(long error) in ERR_PTR() argument
40 return (void*)(error); in ERR_PTR()
/DragonOS/kernel/src/arch/x86_64/process/
H A Didle.rs3 use log::error;
25 error!("Idle process should not be scheduled with IRQs disabled."); in arch_idle_func()
/DragonOS/kernel/src/init/
H A Dinitial_kthread.rs6 use log::{debug, error};
29 log::error!("Failed to initialize kernel: {:?}", err); in initial_kernel_thread()
41 .inspect_err(|e| log::error!("ahci_init failed: {:?}", e)) in kernel_init()
47 error!("Failed to initialize network: {:?}", err); in kernel_init()
127 error!( in try_to_run_init_process()
/DragonOS/kernel/src/driver/virtio/
H A Dsysfs.rs7 use log::error;
83 error!( in probe()
91 error!( in probe()
124 error!( in match_device()
131 error!( in match_device()
220 error!( in setup_irq()
232 error!( in setup_irq()
323 error!("AttrDevice::show() failed: kobj is not a VirtIODevice"); in show()
350 error!("AttrVendor::show() failed: kobj is not a VirtIODevice"); in show()
H A Dmmio.rs2 use log::error;
13 error!("virtio_probe_mmio failed: {:?}", e); in virtio_probe_mmio()
/DragonOS/kernel/src/arch/riscv64/ipc/
H A Dsignal.rs1 use log::error;
72 error!("Try to convert an invalid number to Signal"); in from()
87 error!("Try to convert an invalid number to Signal"); in from()
131 error!("attempting to handler an Invalid"); in handle_default()
316 error!( in sig_stop()
331 error!( in sig_continue()
/DragonOS/kernel/src/driver/pci/
H A Decam.rs1 use log::{error, warn};
65 error!("add_ecam_root_info(): failed to create PciRoot: {:?}", err); in add_ecam_root_info()
/DragonOS/kernel/src/driver/acpi/
H A Dmod.rs5 use log::{error, info};
70 error!("acpi_init(): ACPI not provided by bootloader"); in init()
86 error!( in map_tables()
100 error!( in map_tables()
170 error!( in platform_info()
/DragonOS/kernel/src/misc/
H A Dksysfs.rs10 use log::error;
33 error!("Failed to create sysfs groups for kernel kset: {:?}", e); in ksysfs_init()
/DragonOS/user/apps/user-manage/src/error/
H A Dmod.rs2 pub mod error; module

12345