Home
last modified time | relevance | path

Searched refs:get_mut (Results 1 – 9 of 9) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/base/map/
Dmod.rs52 if let Some(map) = domain.0.lock().0.get_mut(dev_t.major() % 255) { in kobj_map()
68 if let Some(map) = domain.0.lock().0.get_mut(dev_t.major() % 255) { in kobj_unmap()
/DragonOS-0.1.8/kernel/src/libs/
Dlazy_init.rs104 pub fn get_mut(&mut self) -> &mut T { in get_mut() method
132 return self.get_mut(); in deref_mut()
Dvec_cursor.rs35 pub fn get_mut(&mut self) -> &mut Vec<u8> { in get_mut() method
Drwlock.rs276 pub unsafe fn get_mut(&mut self) -> &mut T { in get_mut() method
Drbtree.rs1172 pub fn get_mut(&mut self, k: &K) -> Option<&mut V> { in get_mut() method
1548 match m.get_mut(&5) { in test_find_mut()
/DragonOS-0.1.8/kernel/src/net/
Dsocket.rs288 let socket = socket_set_guard.get_mut::<raw::Socket>(self.handle.0); in read()
318 let socket = socket_set_guard.get_mut::<raw::Socket>(self.handle.0); in write()
333 socket_set_guard.get_mut::<raw::Socket>(self.handle.0); in write()
486 let socket = socket_set_guard.get_mut::<udp::Socket>(self.handle.0); in read()
521 let socket = socket_set_guard.get_mut::<udp::Socket>(self.handle.0); in write()
566 let socket = sockets.get_mut::<udp::Socket>(self.handle.0); in bind()
715 let socket = socket_set_guard.get_mut::<tcp::Socket>(self.handle.0); in read()
762 let socket = socket_set_guard.get_mut::<tcp::Socket>(self.handle.0); in write()
788 let socket = socket_set_guard.get_mut::<tcp::Socket>(self.handle.0); in poll()
811 let socket = sockets.get_mut::<tcp::Socket>(self.handle.0); in connect()
[all …]
Dnet_core.rs62 let event = sockets.get_mut::<dhcpv4::Socket>(dhcp_handle).poll(); in dhcp_query()
/DragonOS-0.1.8/kernel/src/mm/
Dpercpu.rs82 pub fn get_mut(&mut self) -> &mut T { in get_mut() method
/DragonOS-0.1.8/kernel/src/driver/base/char/
Dmod.rs213 if let Some(items) = CHARDEVS.0.lock().0.get_mut(Self::major_to_index(major)) { in __register_chardev_region()
251 .get_mut(Self::major_to_index(device_number.major())) in __unregister_chardev_region()