Searched refs:address_space (Results 1 – 6 of 6) sorted by relevance
255 let address_space = AddressSpace::current()?; in brk() localVariable256 let mut address_space = address_space.write(); in brk() localVariable258 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() localVariable276 assert!(address_space.read().user_mapper.utable.is_current()); in sbrk()[all …]
192 let address_space = vma.lock_irqsave().address_space().unwrap(); in shrink_list() localVariable193 let address_space = address_space.upgrade().unwrap(); in shrink_list() localVariable194 let mut guard = address_space.write(); in shrink_list()229 let address_space = vma.lock_irqsave().address_space().unwrap(); in page_writeback() localVariable230 let address_space = address_space.upgrade().unwrap(); in page_writeback() localVariable231 let mut guard = address_space.write(); in page_writeback()
135 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()
1421 pub fn address_space(&self) -> Option<Weak<AddressSpace>> { in address_space() method
181 address_space: Option<Weak<AddressSpace>>, field196 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() localVariable540 address_space: Some(Arc::downgrade(&address_space)), in get_futex_key()
158 let address_space = AddressSpace::new(true).expect("Failed to create new address space"); in do_execve() localVariable160 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()