Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/process/
Dprocess.rs185 let r: Option<&mut FileDescriptorVec> = FileDescriptorVec::from_pcb(current_pcb()); in alloc_fd() localVariable
215 let r: &mut FileDescriptorVec = FileDescriptorVec::from_pcb(current_pcb()).unwrap(); in get_file_mut_by_fd() localVariable
229 let r: &mut FileDescriptorVec = FileDescriptorVec::from_pcb(current_pcb()).unwrap(); in get_file_ref_by_fd() localVariable
241 let r: &mut FileDescriptorVec = FileDescriptorVec::from_pcb(current_pcb()).unwrap(); in drop_fd() localVariable
264 let r = current_pcb().init_files(); in process_init_files() localVariable
281 let r = current_pcb().copy_files(clone_flags, from); in process_copy_files() localVariable
296 let r: Result<(), i32> = pcb.exit_files(); in process_exit_files() localVariable
Dfork.rs27 let r = RefCount::convert_mut(unsafe { &mut (*(current_pcb().sighand)).count }).unwrap(); in process_copy_sighand() localVariable
/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dsyscall.rs37 let r: Result<i32, i32> = do_open(path, open_flags); in sys_open() localVariable
52 let r: Result<(), i32> = current_pcb().drop_fd(fd); in sys_close() localVariable
81 let r: Result<usize, i32> = do_read(fd, buf); in sys_read() localVariable
110 let r: Result<usize, i32> = do_write(fd, buf); in sys_write() localVariable
138 let r: Result<usize, i32> = do_lseek(fd, w); in sys_lseek() localVariable
Dcore.rs103 let r = new_root_inode.find(mountpoint_name); in do_migrate() localVariable
174 let r = migrate_virtual_filesystem(fatfs); in mount_root_fs() localVariable
Dfile.rs270 let r: Result<(), i32> = self.inode.close(&mut self.private_data); in drop() localVariable
Dmount.rs246 let r = self.inner_inode.rmdir(name); in rmdir() localVariable
/DragonOS-0.1.5/kernel/src/time/
Dtimekeep.rs21 let r = rtc_time.get(); in ktime_get_real() localVariable
/DragonOS-0.1.5/kernel/src/libs/libUI/
Dtextui-render.c17 #define calculate_color(r, g, b) ((((r & 0xff) << 16) | ((g & 0xff) << 8) | (b & 0xff)) & 0x00fffff… argument
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/
Dmod.rs43 let r = ahci_rust_init(); in ahci_init() localVariable
Dahci.h290 uint8_t r : 1; // Reset member
/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dfs.rs1175 let r = self.umount(); in drop() localVariable
1355 let r = f.read( in read_at() localVariable
1385 let r = f.write(fs, &buf[0..len], offset as u64); in write_at() localVariable
1539 let r = dir.remove(guard.fs.upgrade().unwrap().clone(), name, true); in unlink() localVariable
1567 let r: Result<(), i32> = dir.remove(guard.fs.upgrade().unwrap().clone(), name, true); in rmdir() localVariable
1571 let r = r.unwrap_err(); in rmdir() localVariable
Dentry.rs132 let r = fs.partition.disk().device().read_at( in read() localVariable
541 let r: Result<FATDirEntryOrShortName, i32> = in create_file() localVariable
580 let r: Result<FATDirEntryOrShortName, i32> = in create_dir() localVariable
2296 let r: (Cluster, u64) = self.current_offset; in next() localVariable
/DragonOS-0.1.5/kernel/src/driver/keyboard/
Dps2_keyboard.rs87 let r = unsafe { in read_at() localVariable
/DragonOS-0.1.5/kernel/src/filesystem/procfs/
Dmod.rs659 let r = procfs_register_pid(pid); in rs_procfs_register_pid() localVariable
685 let r = procfs_unregister_pid(pid); in rs_procfs_unregister_pid() localVariable
/DragonOS-0.1.5/kernel/src/libs/
Dlz4.c580 unsigned long r; in LZ4_NbCommonBytes() local