Searched refs:ShmId (Results 1 – 4 of 4) sorted by relevance
/DragonOS/kernel/src/ipc/ |
H A D | shm.rs | 46 int_like!(ShmId, usize); 120 id2shm: HashMap<ShmId, KernelShm>, 122 key2id: HashMap<ShmKey, ShmId>, 158 let shm_id = ShmId::new(id); in add() 196 pub fn contains_key(&self, key: &ShmKey) -> Option<&ShmId> { in contains_key() argument 200 pub fn get_mut(&mut self, id: &ShmId) -> Option<&mut KernelShm> { in get_mut() 208 pub fn free_id(&mut self, id: &ShmId) { in free_id() argument 249 id: ShmId, in shm_stat() argument 297 id: ShmId, in ipc_set() argument 313 pub fn ipc_rmid(&mut self, id: ShmId) -> Result<usize, SystemError> { in ipc_rmid() [all …]
|
H A D | syscall.rs | 37 shm::{ShmCtlCmd, ShmFlags, ShmId, ShmKey}, 308 pub fn shmat(id: ShmId, vaddr: VirtAddr, shmflg: ShmFlags) -> Result<usize, SystemError> { in shmat() argument 479 id: ShmId, in shmctl() argument
|
/DragonOS/kernel/src/mm/ |
H A D | page.rs | 22 ipc::shm::ShmId, 340 shm_id: Option<ShmId>, 389 pub fn shm_id(&self) -> Option<ShmId> { in shm_id() argument 418 pub fn set_shm_id(&mut self, shm_id: ShmId) { in set_shm_id() argument
|
/DragonOS/kernel/src/syscall/ |
H A D | mod.rs | 10 ipc::shm::{ShmCtlCmd, ShmFlags, ShmId, ShmKey}, 1150 let id = ShmId::new(args[0]); in handle() 1161 let id = ShmId::new(args[0]); in handle()
|