/DragonOS-0.1.5/kernel/src/process/ |
D | process.rs | 185 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
|
D | fork.rs | 27 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/ |
D | syscall.rs | 37 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
|
D | core.rs | 103 let r = new_root_inode.find(mountpoint_name); in do_migrate() localVariable 174 let r = migrate_virtual_filesystem(fatfs); in mount_root_fs() localVariable
|
D | file.rs | 270 let r: Result<(), i32> = self.inode.close(&mut self.private_data); in drop() localVariable
|
D | mount.rs | 246 let r = self.inner_inode.rmdir(name); in rmdir() localVariable
|
/DragonOS-0.1.5/kernel/src/time/ |
D | timekeep.rs | 21 let r = rtc_time.get(); in ktime_get_real() localVariable
|
/DragonOS-0.1.5/kernel/src/libs/libUI/ |
D | textui-render.c | 17 #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/ |
D | mod.rs | 43 let r = ahci_rust_init(); in ahci_init() localVariable
|
D | ahci.h | 290 uint8_t r : 1; // Reset member
|
/DragonOS-0.1.5/kernel/src/filesystem/fat/ |
D | fs.rs | 1175 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
|
D | entry.rs | 132 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/ |
D | ps2_keyboard.rs | 87 let r = unsafe { in read_at() localVariable
|
/DragonOS-0.1.5/kernel/src/filesystem/procfs/ |
D | mod.rs | 659 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/ |
D | lz4.c | 580 unsigned long r; in LZ4_NbCommonBytes() local
|