Lines Matching refs:key
148 key: ShmKey, in add()
179 key, in add()
191 self.key2id.insert(key, shm_id); in add()
196 pub fn contains_key(&self, key: &ShmKey) -> Option<&ShmId> { in contains_key()
197 self.key2id.get(key) in contains_key()
204 pub fn free_key(&mut self, key: &ShmKey) { in free_key()
205 self.key2id.remove(key); in free_key()
255 let key = kernel_shm.kern_ipc_perm.key.data().to_i32().unwrap(); in shm_stat() localVariable
258 let shm_perm = PosixIpcPerm::new(key, 0, 0, 0, 0, mode); in shm_stat()
319 let key = kernel_shm.kern_ipc_perm.key; in ipc_rmid() localVariable
334 self.free_key(&key); in ipc_rmid()
349 self.free_key(&key) in ipc_rmid()
485 key: ShmKey, field
627 key: i32, field
646 pub fn new(key: i32, uid: u32, gid: u32, cuid: u32, cgid: u32, mode: u32) -> Self { in new()
648 key, in new()