Home
last modified time | relevance | path

Searched refs:address_space (Results 1 – 6 of 6) sorted by relevance

/DragonOS/kernel/src/mm/
H A Dsyscall.rs255 let address_space = AddressSpace::current()?; in brk() localVariable
256 let mut address_space = address_space.write(); in brk() localVariable
258 if new_addr < address_space.brk_start || new_addr >= MMArch::USER_END_VADDR { in brk()
259 return Ok(address_space.brk); in brk()
261 if new_addr == address_space.brk { in brk()
262 return Ok(address_space.brk); in brk()
266 address_space in brk()
270 return Ok(address_space.sbrk(0).unwrap()); in brk()
275 let address_space = AddressSpace::current()?; in sbrk() localVariable
276 assert!(address_space.read().user_mapper.utable.is_current()); in sbrk()
[all …]
H A Dpage.rs192 let address_space = vma.lock_irqsave().address_space().unwrap(); in shrink_list() localVariable
193 let address_space = address_space.upgrade().unwrap(); in shrink_list() localVariable
194 let mut guard = address_space.write(); in shrink_list()
229 let address_space = vma.lock_irqsave().address_space().unwrap(); in page_writeback() localVariable
230 let address_space = address_space.upgrade().unwrap(); in page_writeback() localVariable
231 let mut guard = address_space.write(); in page_writeback()
H A Dmod.rs135 pub unsafe fn set_IDLE_PROCESS_ADDRESS_SPACE(address_space: Arc<AddressSpace>) { in set_IDLE_PROCESS_ADDRESS_SPACE()
143 __IDLE_PROCESS_ADDRESS_SPACE = Some(address_space); in set_IDLE_PROCESS_ADDRESS_SPACE()
H A Ducontext.rs1421 pub fn address_space(&self) -> Option<Weak<AddressSpace>> { in address_space() method
/DragonOS/kernel/src/libs/futex/
H A Dfutex.rs181 address_space: Option<Weak<AddressSpace>>, field
196 if self.address_space.is_none() && other.address_space.is_none() { in eq()
200 .address_space in eq()
203 .ptr_eq(other.address_space.as_ref().unwrap_or(&Weak::default())) in eq()
526 address_space: None, in get_futex_key()
532 let address_space = AddressSpace::current()?; in get_futex_key() localVariable
540 address_space: Some(Arc::downgrade(&address_space)), in get_futex_key()
/DragonOS/kernel/src/process/
H A Dsyscall.rs158 let address_space = AddressSpace::new(true).expect("Failed to create new address space"); in do_execve() localVariable
160 let mut param = ExecParam::new(path.as_str(), address_space.clone(), ExecParamFlags::EXEC)?; in do_execve()
161 let old_vm = do_execve_switch_user_vm(address_space.clone()); in do_execve()
177 address_space in do_execve()
195 address_space.write().user_stack = Some(ustack_message); in do_execve()