Home
last modified time | relevance | path

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

1234

/DragonOS/kernel/src/driver/rtc/
H A Dclass.rs54 let r = Self { in new() localVariable
57 let r = Arc::new(r); in new() localVariable
93 let r = rtc_read_time(dev); in rtc_hctosys() localVariable
101 let r = do_settimeofday64(timespec64); in rtc_hctosys() localVariable
/DragonOS/user/apps/user-manage/src/check/
H A Dcheck.rs106 let r = fs::read_to_string("/etc/group"); in check_group_gid() localVariable
163 let r = std::process::Command::new("/bin/groupadd") in check_group_gid() localVariable
447 let r = fs::read_to_string("/etc/passwd"); in cur_username() localVariable
476 let r = fs::read_to_string("/etc/shadow"); in check_password() localVariable
587 let r = fs::read_to_string("/etc/passwd"); in is_main_group() localVariable
645 let r = fs::read_to_string("/etc/group"); in check_group_file() localVariable
715 let r = uid.parse::<u32>(); in scan_passwd() localVariable
796 let r = gid.parse::<u32>(); in scan_group() localVariable
877 let r = fs::read_to_string("/etc/group"); in check_groupname() localVariable
/DragonOS/build-scripts/kernel_build/src/kconfig/
H A Dmod.rs18 let mut r = Vec::new(); in build() localVariable
90 let r = Self::include(&cfg_content); in parse_kernel_config() localVariable
97 let mut r = Vec::new(); in parse_d_configs() localVariable
112 let mut r = Vec::new(); in parse_d_config() localVariable
134 let mut r = Vec::new(); in include() localVariable
/DragonOS/kernel/src/driver/base/device/
H A Ddd.rs72 let mut r = Ok(false); in do_device_attach() localVariable
98 let r = self.do_device_attach_driver(driver, &mut data); in do_device_attach() localVariable
153 let r = bus.match_device(&data.dev, driver); in do_device_attach_driver() localVariable
207 let r = driver_manager().driver_sysfs_add(dev); in device_bind_driver() localVariable
303 let r = self.match_device(driver, device).unwrap_or(false); in do_driver_attach() localVariable
351 let r = self.do_probe_device(driver, device); in probe_device() localVariable
516 let r = bus.probe(device); in call_driver_probe() localVariable
/DragonOS/kernel/src/driver/tty/
H A Dsysfs.rs37 let r = Self { in new() localVariable
40 let r = Arc::new(r); in new() localVariable
/DragonOS/kernel/src/ipc/
H A Dsyscall.rs142 let r = UserBufferWriter::new(act, core::mem::size_of::<Sigaction>(), from_user); in sigaction() localVariable
213 let r = in sigaction() localVariable
317 let r = match vaddr.data() { in shmat() localVariable
377 let r = unsafe { in shmat() localVariable
/DragonOS/kernel/src/arch/riscv64/mm/
H A Dmod.rs52 let r = sbi_rt::remote_sfence_vma(Into::into(cpu), address.data(), size); in remote_invalidate_page() localVariable
63 let r = Self::remote_invalidate_page( in remote_invalidate_all() localVariable
73 let r = sbi_rt::remote_sfence_vma(mask, 0, 1 << RiscV64MMArch::ENTRY_ADDRESS_SHIFT); in remote_invalidate_all_with_mask() localVariable
220 let r = KERNEL_BEGIN_VA + (phys - KERNEL_BEGIN_PA); in phys_2_virt() localVariable
233 let r = KERNEL_BEGIN_PA + (virt - KERNEL_BEGIN_VA); in virt_2_phys() localVariable
238 let r = PhysAddr::new(paddr); in virt_2_phys() localVariable
247 let r = ((ppn & ((1 << 54) - 1)) << 10) | page_flags; in make_entry() localVariable
/DragonOS/kernel/src/driver/firmware/efi/
H A Dinit.rs57 let r = uefi_init(PhysAddr::new(data_from_fdt.systable.unwrap() as usize)); in efi_init() localVariable
210 let r = efi_manager().parse_config_tables(cfg_tables); in uefi_init() localVariable
/DragonOS/kernel/src/driver/input/serio/
H A Dmod.rs27 let r = bus_register(serio_bus.clone() as Arc<dyn Bus>); in serio_bus_init() localVariable
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/
H A Dmm.rs53 let r = Self { in new() localVariable
63 let r = Arc::new(r); in new() localVariable
197 let r = kmem_file in process_logs() localVariable
/DragonOS/kernel/src/libs/
H A Drwlock.rs122 let r = self.inner_try_read(); in try_read() localVariable
211 let r = self.inner_try_write(); in try_write() localVariable
225 let r = self.inner_try_write().map(|mut g| { in try_write_irqsave() localVariable
288 let r = self.inner_try_upgradeable_read(); in try_upgradeable_read() localVariable
300 let mut r = self.inner_try_upgradeable_read(); in try_upgradeable_read_irqsave() localVariable
H A Donce.rs35 let r = self.inner.compare_exchange( in call_once() localVariable
/DragonOS/kernel/src/driver/base/
H A Dkobject.rs148 let r = attr.show(kobj, buf).map_err(|e| { in show() localVariable
165 let r = attr.store(kobj, buf).map_err(|e| { in store() localVariable
206 let r = Self::create_dir(kobj.clone()); in add_kobj() localVariable
233 let r = sysfs_instance().create_groups(&kobj, groups); in create_dir() localVariable
H A Dkset.rs48 let r = Self { in new() localVariable
56 let r = Arc::new(r); in new() localVariable
/DragonOS/kernel/src/process/
H A Dexit.rs93 let r = do_wait(&mut kwo)?; in kernel_wait4() localVariable
144 let r = do_waitpid(child_pcb, kwo); in do_wait() localVariable
/DragonOS/kernel/src/time/
H A Dtimekeep.rs30 let r = time_spec.tv_sec * 1_000_000_000 + time_spec.tv_nsec; in ktime_get_real() localVariable
/DragonOS/kernel/src/mm/
H A Ducontext.rs586 let r = r.lock_irqsave().region; in munmap() localVariable
587 let r = self.mappings.remove_vma(&r).unwrap(); in munmap() localVariable
640 let r = *r.lock_irqsave().region(); in mprotect() localVariable
641 let r = self.mappings.remove_vma(&r).unwrap(); in mprotect() localVariable
698 let r = *r.lock_irqsave().region(); in madvise() localVariable
699 let r = self.mappings.remove_vma(&r).unwrap(); in madvise() localVariable
913 let r = self in conflicts() localVariable
1104 let r = Arc::new(Self { in new() localVariable
1142 let r = unsafe { in remap() localVariable
1500 let r = unsafe { in remap() localVariable
[all …]
H A Dc_adapter.rs93 let r = mmio_pool().create_mmio(size as usize); in rs_mmio_create() localVariable
/DragonOS/kernel/src/debug/klog/
H A Dmm.rs66 let r = __MM_ALLOCATOR_LOG_CHANNEL.buf.push(log); in log() localVariable
/DragonOS/kernel/src/mm/allocator/
H A Dkernel_allocator.rs109 let r = self.local_alloc_zeroed(layout); in alloc() localVariable
119 let r = self.local_alloc_zeroed(layout); in alloc_zeroed() localVariable
/DragonOS/kernel/src/driver/base/platform/
H A Dmod.rs91 let r = bus_register(paltform_bus.clone() as Arc<dyn Bus>); in platform_bus_init() localVariable
/DragonOS/kernel/src/exception/
H A Dmanage.rs812 let r = if force || !cpumask.is_empty() { in irq_do_set_affinity() localVariable
907 let r = irq_domain_manager().activate_irq(irq_data, false); in __irq_startup_managed() localVariable
954 let r = chip.irq_set_type(desc_inner_guard.irq_data(), trigger_type); in do_set_irq_trigger() localVariable
1043 let r = chip.irq_mask(irq_data); in mask_irq() localVariable
1056 let r = desc_inner_guard in unmask_irq() localVariable
/DragonOS/kernel/src/filesystem/sysfs/
H A Dfile.rs155 let r = parent.add_file( in add_file_with_mode() localVariable
185 let r = parent.remove(attr.name()); in remove_file() localVariable
221 let r = parent.remove(attr.name()); in remove_bin_file() localVariable
267 let r = parent.add_file( in add_bin_file_with_mode() localVariable
/DragonOS/kernel/src/arch/x86_64/ipc/
H A Dsignal.rs589 let r = Syscall::kill( in setup_frame() localVariable
624 let r: Result<UserBufferWriter<'_>, SystemError> = in setup_frame() localVariable
629 let r = Syscall::kill(ProcessManager::current_pcb().pid(), Signal::SIGSEGV as i32); in setup_frame() localVariable
640 let r = Syscall::kill(ProcessManager::current_pcb().pid(), Signal::SIGSEGV as i32); in setup_frame() localVariable
654 let r = Syscall::kill(ProcessManager::current_pcb().pid(), Signal::SIGSEGV as i32); in setup_frame() localVariable
/DragonOS/kernel/src/libs/lib_ui/
H A Dscreen_manager.rs385 let r = CURRENT_FRAMEWORK in scm_enable_put_to_window() localVariable
403 let r = CURRENT_FRAMEWORK in scm_disable_put_to_window() localVariable
419 let r = true_scm_reinit(); in scm_reinit() localVariable

1234