/DragonOS/kernel/src/driver/timers/hpet/ |
H A D | mod.rs | 22 let p = NonNull::new(self as *const HpetRegisters as *mut HpetRegisters).unwrap(); in timers_num() localVariable 29 let p = NonNull::new(self as *const HpetRegisters as *mut HpetRegisters).unwrap(); in counter_clock_period() localVariable 40 let p = NonNull::new(self as *const HpetRegisters as *mut HpetRegisters).unwrap(); in main_counter_value() localVariable 46 let p = NonNull::new(self as *const HpetRegisters as *mut HpetRegisters).unwrap(); in write_main_counter_value() localVariable 52 let p = NonNull::new(self as *const HpetRegisters as *mut HpetRegisters).unwrap(); in general_config() localVariable 57 let p = NonNull::new(self as *const HpetRegisters as *mut HpetRegisters).unwrap(); in write_general_config() localVariable 63 let p = NonNull::new(self as *const HpetRegisters as *mut HpetRegisters).unwrap(); in general_intr_status() localVariable
|
/DragonOS/kernel/src/libs/ |
H A D | casting.rs | 68 let p = Arc::into_raw(x); in downcast_arc() localVariable
|
/DragonOS/kernel/src/smp/cpu/ |
H A D | mod.rs | 117 let p = (self as *const Self as *mut Self).as_mut().unwrap(); in set_possible_cpu() localVariable 147 let p = (self as *const Self as *mut Self).as_mut().unwrap(); in set_present_cpu() localVariable 178 let p = self.cpuhp_state.force_get_mut(cpu_id); in set_cpuhp_state() localVariable
|
/DragonOS/tools/debugging/logmonitor/src/ |
H A D | main.rs | 31 let p = CMD_ARGS.read().unwrap().clone(); in prepare_env() localVariable
|
/DragonOS/kernel/src/mm/ |
H A D | c_adapter.rs | 62 let p = guard.remove(&vaddr); in kfree() localVariable
|
H A D | no_init.rs | 74 let p = &self.pages[index] as *const EarlyRemapPage as usize; in allocate_page() localVariable
|
/DragonOS/kernel/src/arch/x86_64/smp/ |
H A D | mod.rs | 123 let p = self as *const SmpBootData as *mut SmpBootData; in set_cpu_count() localVariable 130 let p = self as *const SmpBootData as *mut SmpBootData; in set_phys_id() localVariable
|
/DragonOS/kernel/src/filesystem/sysfs/ |
H A D | dir.rs | 90 let mut p = parent.clone(); in kernfs_path() localVariable
|
/DragonOS/kernel/src/init/ |
H A D | cmdline.rs | 163 let p = self as *const Self as *mut Self; in force_mut() localVariable 219 let p = self as *const Self as *mut Self; in force_mut() localVariable 272 let p = unsafe { p.force_mut() }; in early_init() localVariable
|
H A D | boot.rs | 152 let p = BOOT_CALLBACKS in boot_callbacks() localVariable
|
/DragonOS/user/apps/http_server/ |
H A D | main.c | 100 void *p = buffer; in send_file() local
|
/DragonOS/kernel/src/syscall/ |
H A D | user_access.rs | 32 let p = dest.data() as *mut u8; in clear_user() localVariable 41 let p = dest.data() as *mut u8; in copy_to_user() localVariable
|
/DragonOS/kernel/crates/rbpf/src/ |
H A D | helpers.rs | 149 let mut p = (ptr + i) as *mut u8; in memfrob() localVariable
|
/DragonOS/kernel/src/filesystem/ |
H A D | mbr.rs | 181 let p = Partition::new_raw( in next() localVariable
|
/DragonOS/kernel/src/driver/video/ |
H A D | mod.rs | 272 let p: *mut u8 = vaddr.as_ptr(); in run() localVariable
|
/DragonOS/kernel/src/driver/base/ |
H A D | kset.rs | 59 let p = r.as_ref() as *const Self as *mut Self; in new() localVariable
|
/DragonOS/kernel/src/arch/riscv64/process/ |
H A D | mod.rs | 323 let p = stack_base.data() as *const *const ProcessControlBlock; in arch_current_pcb() localVariable
|
/DragonOS/kernel/src/arch/x86_64/process/ |
H A D | mod.rs | 276 let p = stack_base.data() as *const *const ProcessControlBlock; in arch_current_pcb() localVariable
|
/DragonOS/kernel/src/driver/firmware/efi/ |
H A D | tables.rs | 117 let p = unsafe { in parse_config_tables() localVariable
|
/DragonOS/kernel/crates/rust-slabmalloc/src/ |
H A D | pages.rs | 491 p: *mut T, field
|
/DragonOS/kernel/src/sched/ |
H A D | fair.rs | 148 let p = self as *const Self as usize; in force_mut() localVariable 1771 let p = se.pcb(); in pick_next_task() localVariable
|
H A D | mod.rs | 664 let p = CompletelyFairScheduler::pick_next_task(self, Some(prev.clone())); in pick_next_task() localVariable
|
/DragonOS/kernel/src/process/ |
H A D | mod.rs | 1448 let p: *const ProcessControlBlock = Weak::into_raw(pcb); in set_pcb() localVariable 1487 let p = self.stack.as_ref().unwrap().as_ptr() as *const *const ProcessControlBlock; in pcb() localVariable
|
/DragonOS/kernel/src/arch/x86_64/driver/apic/ |
H A D | ioapic.rs | 291 let p = NonNull::new(self.virt_eoi as *mut LevelAck).unwrap(); in level_ack() localVariable
|
/DragonOS/kernel/src/driver/serial/serial8250/ |
H A D | mod.rs | 428 let p = r.as_ref() as *const Self as *mut Self; in new() localVariable
|