/DragonOS/user/apps/test-chown/src/ |
H A D | main.rs | 32 let result = unsafe { fchownat(AT_FDCWD, c_filename.as_ptr(), new_uid, new_gid, flags) }; in test_fchownat() localVariable 43 let result = unsafe { chown(c_filename.as_ptr(), new_uid, new_gid) }; in test_chown() localVariable 53 let result = unsafe { fchown(fd, new_uid, new_gid) }; in test_fchown() localVariable 63 let result = unsafe { lchown(c_symlink.as_ptr(), new_uid, new_gid) }; in test_lchown() localVariable 135 let result = unsafe { mount(source, target, fstype, flags, data) }; in mount_test_ramfs() localVariable 148 let result = unsafe { umount(path) }; in umount_test_ramfs() localVariable
|
/DragonOS/user/apps/test-mount/src/ |
H A D | main.rs | 20 let result = unsafe { mount(source, target, fstype, flags, data) }; in main() localVariable 27 let result = unsafe { mount(source, target, fstype, flags, data) }; in main() localVariable
|
/DragonOS/user/apps/test-symlink/src/ |
H A D | main.rs | 58 let result = unsafe { mount(source, target, fstype, flags, data) }; in mount_test_ramfs() localVariable 71 let result = unsafe { umount(path) }; in umount_test_ramfs() localVariable
|
/DragonOS/kernel/crates/rbpf/src/ |
H A D | assembler.rs | 44 let mut result = BTreeMap::new(); in make_instruction_map() localVariable 215 let mut result: Vec<Insn> = vec![]; in assemble_internal() localVariable 272 let mut result: Vec<u8> = vec![]; in assemble() localVariable
|
/DragonOS/kernel/src/driver/pci/ |
H A D | pci.rs | 120 let mut result: Vec<Arc<(dyn PciDeviceStructure)>> = Vec::new(); in get_pci_device_structures_mut_by_vendor_id() localVariable 147 let mut result = Vec::new(); in get_pci_device_structure_mut() localVariable 177 let mut result = Vec::new(); in get_pci_device_structure() localVariable 658 let result = pci_root_0().read_config(bus_device_function, STATUS_COMMAND_OFFSET.into()); in capabilities_offset() localVariable 677 let result = pci_root_0().read_config(bus_device_function, 0x00); in pci_read_header() localVariable 681 let result = pci_root_0().read_config(bus_device_function, 0x04); in pci_read_header() localVariable 685 let result = pci_root_0().read_config(bus_device_function, 0x08); in pci_read_header() localVariable 691 let result = pci_root_0().read_config(bus_device_function, 0x0c); in pci_read_header() localVariable 766 let result = pci_root_0().read_config(*bus_device_function, 0x2c); in pci_read_general_device_header() localVariable 772 let result = pci_root_0().read_config(*bus_device_function, 0x34); in pci_read_general_device_header() localVariable [all …]
|
/DragonOS/kernel/src/time/ |
H A D | timer.rs | 48 let result = TIMER_JIFFIES.load(Ordering::SeqCst) + self.data(); in timer_jiffies() localVariable 65 let result = Duration::from_millis(ms); in from() localVariable 82 let result = Jiffies::new(jiffies); in from() localVariable 120 let result: Arc<Timer> = Arc::new(Timer { in new() localVariable
|
H A D | timeconv.rs | 86 let mut result = CalendarTime::new(); in time_to_calendar() localVariable
|
/DragonOS/build-scripts/kernel_build/src/utils/ |
H A D | mod.rs | 17 let mut result = Vec::new(); in list_all_files() localVariable
|
/DragonOS/kernel/crates/rbpf/examples/ |
H A D | rbpf_plugin.rs | 97 let result: u64; in main() localVariable
|
/DragonOS/kernel/src/driver/virtio/ |
H A D | virtio.rs | 90 let result = get_pci_device_structures_mut_by_vendor_id(list, 0x1AF4); in virtio_device_search() localVariable
|
/DragonOS/tools/debugging/logmonitor/src/ |
H A D | logging.rs | 12 let mut result = LoggingInitResult::new(None); in init() localVariable
|
/DragonOS/kernel/src/driver/net/e1000e/ |
H A D | e1000e_driver.rs | 104 let result = f(self.0.as_mut_slice()); in consume() localVariable 116 let result = f(buffer.as_mut_slice()); in consume() localVariable 134 let result = E1000EDriver { inner }; in new() localVariable 205 let result = Arc::new(E1000EInterface { in new() localVariable
|
/DragonOS/kernel/src/driver/disk/ahci/ |
H A D | mod.rs | 40 let result = get_pci_device_structure_mut(list, AHCI_CLASS, AHCI_SUBCLASS); in ahci_device_search() localVariable
|
/DragonOS/kernel/src/process/ |
H A D | timer.rs | 39 let result = AlarmTimer { in new() localVariable
|
H A D | kthread.rs | 153 let result = Arc::new(Self { in new() localVariable 467 let result: Result<Pid, SystemError> = Self::__inner_create( in kthread_daemon() localVariable
|
/DragonOS/tools/debugging/logmonitor/src/backend/ |
H A D | loader.rs | 23 let mut result = KernelMetadata::new(kernel.clone()); in load() localVariable
|
/DragonOS/user/apps/test_statx/src/ |
H A D | main.rs | 47 let result = unsafe { in main() localVariable
|
/DragonOS/kernel/src/filesystem/devfs/ |
H A D | zero_dev.rs | 57 let result = Arc::new(LockedZeroInode(SpinLock::new(inode))); in new() localVariable
|
H A D | null_dev.rs | 57 let result = Arc::new(LockedNullInode(SpinLock::new(inode))); in new() localVariable
|
/DragonOS/kernel/src/driver/acpi/ |
H A D | mod.rs | 204 let result: acpi::PhysicalMapping<AcpiHandlerImpl, T> = acpi::PhysicalMapping::new( in map_physical_region() localVariable
|
/DragonOS/kernel/src/filesystem/procfs/ |
H A D | mod.rs | 354 let result: Arc<ProcFS> = Arc::new(ProcFS { in new() localVariable 612 let result: Arc<LockedProcFSInode> = in create_with_data() localVariable 838 let mut result = None; in procfs_init() localVariable
|
/DragonOS/kernel/src/virt/kvm/ |
H A D | vcpu_dev.rs | 89 let result = Arc::new(LockedVcpuInode(SpinLock::new(inode))); in new() localVariable
|
/DragonOS/kernel/src/libs/ |
H A D | cpumask.rs | 145 let result = self.index; in next() localVariable
|
H A D | vec_cursor.rs | 27 let mut result = VecCursor { in zerod() localVariable
|
/DragonOS/kernel/crates/bitmap/src/ |
H A D | alloc_bitmap.rs | 124 let mut result = AllocBitmap::new(self.elements); in bitand() localVariable
|