Home
last modified time | relevance | path

Searched refs:current (Results 1 – 25 of 38) sorted by relevance

12

/DragonOS-0.1.8/kernel/src/arch/x86_64/include/asm/
Dcurrent.h10 struct process_control_block *current = NULL; in get_current_pcb() local
14 : "=r"(current) in get_current_pcb()
18 return current; in get_current_pcb()
/DragonOS-0.1.8/kernel/src/mm/allocator/
Dpage_frame.rs50 current: PhysPageFrame, field
58 current: start, in new()
68 if unlikely(self.current == self.end) { in next()
71 let current = self.current.next(); in next() localVariable
72 return Some(current); in next()
108 current: start, in iter_range()
123 current: VirtPageFrame, field
132 current: start, in new()
142 if unlikely(self.current == self.end) { in next()
145 let current: VirtPageFrame = self.current; in next() localVariable
[all …]
/DragonOS-0.1.8/kernel/src/mm/
Dsyscall.rs72 let address_space = AddressSpace::current()?; in brk()
94 let address_space = AddressSpace::current()?; in sbrk()
149 let current_address_space = AddressSpace::current()?; in mmap()
181 let current_address_space: Arc<AddressSpace> = AddressSpace::current()?; in munmap()
216 let current_address_space: Arc<AddressSpace> = AddressSpace::current()?; in mprotect()
Dkernel_mapper.rs64 let mapper = unsafe { PageMapper::current(PageTableKind::Kernel, LockedFrameAllocator) }; in lock()
Ducontext.rs19 arch::{asm::current::current_pcb, mm::PageMapper, CurrentIrqArch, MMArch},
66 pub fn current() -> Result<Arc<AddressSpace>, SystemError> { in current() method
75 let current = Self::current(); in is_current() localVariable
76 if let Ok(current) = current { in is_current()
77 return Arc::ptr_eq(&current, self); in is_current()
/DragonOS-0.1.8/kernel/src/libs/
Dint_like.rs84 current: $new_type_name,
91 .compare_exchange(current.into(), new.into(), success, failure)
100 current: $new_type_name,
106 current.into(),
Dsemaphore.rs3 use crate::{arch::asm::current::current_pcb, kdebug, syscall::SystemError};
Dprintk.c606 unsigned char current; in printk_color() local
611 current = *(buf + i); in printk_color()
613 textui_putchar(current, FRcolor, BKcolor); in printk_color()
Dmutex.rs9 arch::{asm::current::current_pcb, sched::sched},
Dlz4.c1268 U32 const current = (U32)(forwardIp - base); in LZ4_compress_generic_validated() local
1270 assert(matchIndex <= current); in LZ4_compress_generic_validated()
1317 LZ4_putIndexOnHash(current, h, cctx->hashTable, tableType); in LZ4_compress_generic_validated()
1319 DEBUGLOG(7, "candidate at pos=%u (offset=%u \n", matchIndex, current - matchIndex); in LZ4_compress_generic_validated()
1324 assert(matchIndex < current); in LZ4_compress_generic_validated()
1325 …6) || (LZ4_DISTANCE_MAX < LZ4_DISTANCE_ABSOLUTE_MAX)) && (matchIndex + LZ4_DISTANCE_MAX < current)) in LZ4_compress_generic_validated()
1329 … assert((current - matchIndex) <= LZ4_DISTANCE_MAX); /* match now expected within distance */ in LZ4_compress_generic_validated()
1334 offset = current - matchIndex; in LZ4_compress_generic_validated()
1520 U32 const current = (U32)(ip - base); in LZ4_compress_generic_validated() local
1522 assert(matchIndex < current); in LZ4_compress_generic_validated()
[all …]
Dwait_queue.rs5 arch::{asm::current::current_pcb, sched::sched, CurrentIrqArch},
/DragonOS-0.1.8/kernel/src/arch/x86_64/asm/
Dmod.rs3 pub mod current; module
/DragonOS-0.1.8/kernel/src/process/
Dpreempt.rs1 use crate::arch::asm::current::current_pcb;
Dmod.rs7 arch::asm::current::current_pcb,
Dsyscall.rs4 arch::asm::current::current_pcb,
Dc_adapter.rs6 arch::{asm::current::current_pcb, fpu::FpState},
Dfork.rs6 arch::asm::current::current_pcb,
/DragonOS-0.1.8/kernel/src/smp/
Dmod.rs2 arch::{asm::current::current_pcb, interrupt::ipi::send_ipi},
/DragonOS-0.1.8/kernel/src/sched/
Dsyscall.rs2 arch::{asm::current::current_pcb, context::switch_process, CurrentIrqArch},
Dcore.rs4 arch::asm::current::current_pcb,
Drt.rs6 arch::asm::current::current_pcb,
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/
Dstdio.md48 ``#define SEEK_CUR 1 /* Seek relative to current position */``
/DragonOS-0.1.8/kernel/src/time/
Dsleep.rs6 arch::{asm::current::current_pcb, sched::sched, CurrentIrqArch},
/DragonOS-0.1.8/kernel/src/
Dlib.rs61 arch::asm::current::current_pcb,
/DragonOS-0.1.8/kernel/src/ipc/
Dsyscall.rs7 arch::asm::current::current_pcb,

12