Home
last modified time | relevance | path

Searched defs:res (Results 1 – 15 of 15) sorted by relevance

/DragonOS-0.1.8/kernel/src/arch/x86_64/math/
Dbitcount.h27 int res = 0; in __clzl() local
46 int res = 0; in __clzll() local
/DragonOS-0.1.8/kernel/src/common/math/
Dpow.c12 int64_t res = 1; in pow() local
/DragonOS-0.1.8/user/libs/libc/src/math/
Dpow.c6 int64_t res = 1; in pow() local
/DragonOS-0.1.8/kernel/src/libs/
Dvec_cursor.rs58 let mut res = 0u16; in read_u16() localVariable
72 let mut res = 0u32; in read_u32() localVariable
86 let mut res = 0u64; in read_u64() localVariable
Drwlock.rs192 let res: bool = self in inner_try_write() localVariable
316 let res = self.inner.lock.compare_exchange( in try_upgrade() localVariable
Dspinlock.rs92 let res = self in try_lock() localVariable
/DragonOS-0.1.8/kernel/src/syscall/
Dmod.rs416 let res = if path.is_err() { in handle() localVariable
438 let res = if from_user && verify_area(virt_addr, len as usize).is_err() { in handle() localVariable
457 let res = if from_user && verify_area(virt_addr, len as usize).is_err() { in handle() localVariable
486 let res = if w.is_err() { in handle() localVariable
548 let res = if from_user && verify_area(virt_addr, len as usize).is_err() { in handle() localVariable
975 let res = if let Some(cmd) = cmd { in handle() localVariable
988 let res = Self::ftruncate(fd, len); in handle() localVariable
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dfile.rs296 let mut res: Box<File> = Box::new(Self { in try_clone() localVariable
413 let mut res: Box<FileDescriptorVec> = FileDescriptorVec::new(); in clone() localVariable
Dsyscall.rs387 let res = current_pcb().alloc_fd(*file_cp, None).map(|x| x as usize); in dup() localVariable
437 let res = current_pcb() in dup2() localVariable
/DragonOS-0.1.8/kernel/src/sched/
Dcfs.rs77 let res: &'static mut process_control_block; in dequeue() localVariable
Drt.rs67 let res: Option<&'static mut process_control_block>; in dequeue() localVariable
/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci.c482 …evice_structure(uint8_t class_code, uint8_t sub_class, struct pci_device_structure_header_t *res[] in pci_get_device_structure()
/DragonOS-0.1.8/kernel/src/ipc/
Dsignal.rs413 let res = handle_signal(sig_number, ka.unwrap(), &info.unwrap(), &oldset, regs); in do_signal() localVariable
/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dfs.rs383 let res: FATEntry = match self.bpb.fat_type { in get_fat_entry() localVariable
477 let res = match self.bpb.fat_type { in get_fat_entry_raw() localVariable
Dentry.rs647 let res = self in create_dir() localVariable