Home
last modified time | relevance | path

Searched refs:stack (Results 1 – 13 of 13) sorted by relevance

/DragonOS/kernel/crates/rbpf/src/
H A Dinterpreter.rs11 stack::StackFrame,
24 stack: &[u8], in check_mem()
39 stack.as_ptr() as u64, in check_mem()
40 stack.len() in check_mem()
53 stack: &[u8], in check_mem()
62 if stack.as_ptr() as u64 <= addr && addr_end <= stack.as_ptr() as u64 + stack.len() as u64 { in check_mem()
72 stack.as_ptr() as u64, stack.len() in check_mem()
100 let stack = StackFrame::new(); in execute_program() localVariable
113 stack.as_ptr() as u64 + stack.len() as u64, in execute_program()
115 stacks.push(stack); in execute_program()
[all …]
H A Dlib.rs50 mod stack; module
/DragonOS/docs/kernel/ipc/
H A Dsignal.md63 │ userland ├─►sa_restorer ├──────────────►│Restore the stack
/DragonOS/kernel/src/arch/x86_64/process/
H A Dmod.rs123 pub fn set_stack(&mut self, stack: VirtAddr) { in set_stack()
124 self.rsp = stack.data(); in set_stack()
217 pub fn init_syscall_stack(&mut self, stack: &KernelStack) { in init_syscall_stack()
218 self.gsdata.set_kstack(stack.stack_max_address() - 8); in init_syscall_stack()
324 let usp = clone_args.stack; in copy_thread()
/DragonOS/kernel/
H A Denv.mk21 export GLOBAL_CFLAGS := -fno-builtin -fno-stack-protector -D $(CFLAGS_DEFINE_ARCH) -D $(EMULATOR) -…
/DragonOS/kernel/src/process/
H A Dmod.rs1400 stack: Option<AlignedBox<[u8; KernelStack::SIZE], { KernelStack::ALIGN }>>, field
1411 stack: Some( in new()
1427 stack: Some( in from_existed()
1438 return VirtAddr::new(self.stack.as_ref().unwrap().as_ptr() as usize); in start_address()
1443 return VirtAddr::new(self.stack.as_ref().unwrap().as_ptr() as usize + Self::SIZE); in stack_max_address()
1487 let p = self.stack.as_ref().unwrap().as_ptr() as *const *const ProcessControlBlock; in pcb()
1503 if self.stack.is_some() { in drop()
1504 let ptr = self.stack.as_ref().unwrap().as_ptr() as *const *const ProcessControlBlock; in drop()
1512 let bx = self.stack.take(); in drop()
H A Dfork.rs104 pub stack: usize, field
130 stack: 0, in new()
/DragonOS/kernel/src/arch/riscv64/process/
H A Dmod.rs122 let usp = clone_args.stack; in copy_thread()
403 pub fn set_stack(&mut self, stack: VirtAddr) { in set_stack()
404 self.ksp = stack.data(); in set_stack()
/DragonOS/kernel/src/mm/
H A Ducontext.rs217 let stack = self.user_stack.as_mut().unwrap(); in extend_stack() localVariable
220 stack.mapped_size += bytes; in extend_stack()
221 let len = stack.stack_bottom - stack.mapped_size; in extend_stack()
725 let stack = UserStack::new(self, None, size)?; in new_user_stack() localVariable
726 self.user_stack = Some(stack); in new_user_stack()
/DragonOS/docs/kernel/trace/
H A DeBPF.md316 // Map helpers::Queue and stack helpers
/DragonOS/kernel/src/syscall/
H A Dmod.rs723 clone_args.stack = args[1]; in handle()
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.9.md1270 uses stack memory to capture fixed number of backtrace to avoid heap
/DragonOS/kernel/crates/rbpf/
H A DREADME.md609 stack, differs between uBPF and rbpf. The latter uses the same values as the