Home
last modified time | relevance | path

Searched defs:result (Results 1 – 25 of 54) sorted by relevance

123

/DragonOS/user/apps/test-chown/src/
H A Dmain.rs32 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 Dmain.rs20 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 Dmain.rs58 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 Dassembler.rs44 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 Dpci.rs120 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 Dtimer.rs48 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 Dtimeconv.rs86 let mut result = CalendarTime::new(); in time_to_calendar() localVariable
/DragonOS/build-scripts/kernel_build/src/utils/
H A Dmod.rs17 let mut result = Vec::new(); in list_all_files() localVariable
/DragonOS/kernel/crates/rbpf/examples/
H A Drbpf_plugin.rs97 let result: u64; in main() localVariable
/DragonOS/kernel/src/driver/virtio/
H A Dvirtio.rs90 let result = get_pci_device_structures_mut_by_vendor_id(list, 0x1AF4); in virtio_device_search() localVariable
/DragonOS/tools/debugging/logmonitor/src/
H A Dlogging.rs12 let mut result = LoggingInitResult::new(None); in init() localVariable
/DragonOS/kernel/src/driver/net/e1000e/
H A De1000e_driver.rs104 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 Dmod.rs40 let result = get_pci_device_structure_mut(list, AHCI_CLASS, AHCI_SUBCLASS); in ahci_device_search() localVariable
/DragonOS/kernel/src/process/
H A Dtimer.rs39 let result = AlarmTimer { in new() localVariable
H A Dkthread.rs153 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 Dloader.rs23 let mut result = KernelMetadata::new(kernel.clone()); in load() localVariable
/DragonOS/user/apps/test_statx/src/
H A Dmain.rs47 let result = unsafe { in main() localVariable
/DragonOS/kernel/src/filesystem/devfs/
H A Dzero_dev.rs57 let result = Arc::new(LockedZeroInode(SpinLock::new(inode))); in new() localVariable
H A Dnull_dev.rs57 let result = Arc::new(LockedNullInode(SpinLock::new(inode))); in new() localVariable
/DragonOS/kernel/src/driver/acpi/
H A Dmod.rs204 let result: acpi::PhysicalMapping<AcpiHandlerImpl, T> = acpi::PhysicalMapping::new( in map_physical_region() localVariable
/DragonOS/kernel/src/filesystem/procfs/
H A Dmod.rs354 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 Dvcpu_dev.rs89 let result = Arc::new(LockedVcpuInode(SpinLock::new(inode))); in new() localVariable
/DragonOS/kernel/src/libs/
H A Dcpumask.rs145 let result = self.index; in next() localVariable
H A Dvec_cursor.rs27 let mut result = VecCursor { in zerod() localVariable
/DragonOS/kernel/crates/bitmap/src/
H A Dalloc_bitmap.rs124 let mut result = AllocBitmap::new(self.elements); in bitand() localVariable

123