Searched refs:address_space (Results 1 – 13 of 13) sorted by relevance
72 let address_space = AddressSpace::current()?; in brk() localVariable73 let mut address_space = address_space.write(); in brk() localVariable75 if new_addr < address_space.brk_start || new_addr >= MMArch::USER_END_VADDR { in brk()76 return Ok(address_space.brk); in brk()78 if new_addr == address_space.brk { in brk()79 return Ok(address_space.brk); in brk()83 address_space in brk()87 return Ok(address_space.sbrk(0).unwrap()); in brk()94 let address_space = AddressSpace::current()?; in sbrk() localVariable95 let mut address_space = address_space.write(); in sbrk() localVariable[all …]
51 pub unsafe fn set_INITIAL_PROCESS_ADDRESS_SPACE(address_space: Arc<AddressSpace>) { in set_INITIAL_PROCESS_ADDRESS_SPACE()59 __INITIAL_PROCESS_ADDRESS_SPACE = Some(address_space); in set_INITIAL_PROCESS_ADDRESS_SPACE()
68 .address_space() in current()
192 let old_address_space = current_pcb().address_space(); in tmp_rs_execve()198 let address_space = AddressSpace::new(true).expect("Failed to create new address space"); in tmp_rs_execve() localVariable200 current_pcb().set_address_space(address_space.clone()); in tmp_rs_execve()203 AddressSpace::is_current(&address_space), in tmp_rs_execve()209 unsafe { address_space.read().user_mapper.utable.make_current() }; in tmp_rs_execve()214 let mut param = ExecParam::new(path.as_str(), address_space.clone(), ExecParamFlags::EXEC); in tmp_rs_execve()229 address_space in tmp_rs_execve()
19 let new_address_space = next.address_space().unwrap_or_else(|| { in switch_process()
319 let p = self.address_space as *const AddressSpace; in drop_address_space()325 self.address_space = null_mut(); in drop_address_space()332 pub unsafe fn set_address_space(&mut self, address_space: Arc<AddressSpace>) { in set_address_space()333 assert!(self.address_space.is_null(), "Address space already set"); in set_address_space()334 self.address_space = Arc::into_raw(address_space) as *mut c_void; in set_address_space()338 pub fn address_space(&self) -> Option<Arc<AddressSpace>> { in address_space() method339 let ptr = self.address_space as *const AddressSpace; in address_space()
27 current_pcb().address_space = null_mut(); in process_init()
139 void *address_space; member
153 .address_space() in copy_mm()
189 pcb->address_space = NULL; in process_copy_mm()
61 ….signal = &INITIAL_SIGNALS, .sighand = &INITIAL_SIGHAND, .address_space = NULL …
177 current_pcb->address_space = NULL; in smp_ap_start()
172 let binding = current_pcb().address_space().unwrap(); in open_status()