Home
last modified time | relevance | path

Searched defs:p (Results 1 – 25 of 26) sorted by relevance

12

/DragonOS/kernel/src/driver/timers/hpet/
H A Dmod.rs22 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 Dcasting.rs68 let p = Arc::into_raw(x); in downcast_arc() localVariable
/DragonOS/kernel/src/smp/cpu/
H A Dmod.rs117 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 Dmain.rs31 let p = CMD_ARGS.read().unwrap().clone(); in prepare_env() localVariable
/DragonOS/kernel/src/mm/
H A Dc_adapter.rs62 let p = guard.remove(&vaddr); in kfree() localVariable
H A Dno_init.rs74 let p = &self.pages[index] as *const EarlyRemapPage as usize; in allocate_page() localVariable
/DragonOS/kernel/src/arch/x86_64/smp/
H A Dmod.rs123 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 Ddir.rs90 let mut p = parent.clone(); in kernfs_path() localVariable
/DragonOS/kernel/src/init/
H A Dcmdline.rs163 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 Dboot.rs152 let p = BOOT_CALLBACKS in boot_callbacks() localVariable
/DragonOS/user/apps/http_server/
H A Dmain.c100 void *p = buffer; in send_file() local
/DragonOS/kernel/src/syscall/
H A Duser_access.rs32 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 Dhelpers.rs149 let mut p = (ptr + i) as *mut u8; in memfrob() localVariable
/DragonOS/kernel/src/filesystem/
H A Dmbr.rs181 let p = Partition::new_raw( in next() localVariable
/DragonOS/kernel/src/driver/video/
H A Dmod.rs272 let p: *mut u8 = vaddr.as_ptr(); in run() localVariable
/DragonOS/kernel/src/driver/base/
H A Dkset.rs59 let p = r.as_ref() as *const Self as *mut Self; in new() localVariable
/DragonOS/kernel/src/arch/riscv64/process/
H A Dmod.rs323 let p = stack_base.data() as *const *const ProcessControlBlock; in arch_current_pcb() localVariable
/DragonOS/kernel/src/arch/x86_64/process/
H A Dmod.rs276 let p = stack_base.data() as *const *const ProcessControlBlock; in arch_current_pcb() localVariable
/DragonOS/kernel/src/driver/firmware/efi/
H A Dtables.rs117 let p = unsafe { in parse_config_tables() localVariable
/DragonOS/kernel/crates/rust-slabmalloc/src/
H A Dpages.rs491 p: *mut T, field
/DragonOS/kernel/src/sched/
H A Dfair.rs148 let p = self as *const Self as usize; in force_mut() localVariable
1771 let p = se.pcb(); in pick_next_task() localVariable
H A Dmod.rs664 let p = CompletelyFairScheduler::pick_next_task(self, Some(prev.clone())); in pick_next_task() localVariable
/DragonOS/kernel/src/process/
H A Dmod.rs1448 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 Dioapic.rs291 let p = NonNull::new(self.virt_eoi as *mut LevelAck).unwrap(); in level_ack() localVariable
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dmod.rs428 let p = r.as_ref() as *const Self as *mut Self; in new() localVariable

12