Searched refs:shm_id (Results 1 – 4 of 4) sorted by relevance
158 let shm_id = ShmId::new(id); in add() localVariable169 page.write_irqsave().set_shm_id(shm_id); in add()178 id: shm_id, in add()190 self.id2shm.insert(shm_id, shm_kernel); in add()191 self.key2id.insert(key, shm_id); in add()193 return Ok(shm_id.data()); in add()
446 let shm_id = page.read_irqsave().shm_id().ok_or(SystemError::EINVAL)?; in shmdt() localVariable452 .get_mut(&shm_id) in shmdt()
340 shm_id: Option<ShmId>, field359 shm_id: None, in new()389 pub fn shm_id(&self) -> Option<ShmId> { in shm_id() method390 self.shm_id in shm_id()418 pub fn set_shm_id(&mut self, shm_id: ShmId) { in set_shm_id()419 self.shm_id = Some(shm_id); in set_shm_id()
376 shm_manager_lock().free_id(&page_guard.shm_id().unwrap()); in deallocate_page_frames()