/DragonOS-0.1.9/kernel/src/net/socket/ |
D | sockets.rs | 103 let socket = socket_set_guard.get_mut::<raw::Socket>(self.handle.0); in read() 136 let socket = socket_set_guard.get_mut::<raw::Socket>(self.handle.0); in write() 151 socket_set_guard.get_mut::<raw::Socket>(self.handle.0); in write() 313 let socket = socket_set_guard.get_mut::<udp::Socket>(self.handle.0); in read() 350 let socket = socket_set_guard.get_mut::<udp::Socket>(self.handle.0); in write() 394 let socket = sockets.get_mut::<udp::Socket>(self.handle.0); in bind() 574 let socket = socket_set_guard.get_mut::<tcp::Socket>(self.handle.0); in read() 608 .get_mut(&self.socket_handle()) in read() 639 let socket = socket_set_guard.get_mut::<tcp::Socket>(self.handle.0); in write() 664 let socket = socket_set_guard.get_mut::<tcp::Socket>(self.handle.0); in poll() [all …]
|
D | mod.rs | 240 .get_mut(&self.socket_handle()) in add_epoll() 249 .get_mut(&self.socket_handle()) in remove_epoll() 258 let handle_item = handle_map_guard.get_mut(&self.socket_handle()).unwrap(); in clear_epoll()
|
/DragonOS-0.1.9/kernel/src/libs/futex/ |
D | futex.rs | 232 let bucket = futex_map_guard.get_mut(&key); in futex_wait() 240 futex_map_guard.get_mut(&key).unwrap() in futex_wait() 296 let bucket = futex_map_guard.get_mut(&key); in futex_wait() 364 let bucket_mut = binding.get_mut(&key).ok_or(SystemError::EINVAL)?; in futex_wake() 429 let bucket_1_mut = futex_data_guard.get_mut(&key1).ok_or(SystemError::EINVAL)?; in futex_requeue() 433 let bucket_1_mut = futex_data_guard.get_mut(&key1).ok_or(SystemError::EINVAL)?; in futex_requeue() 438 futex_data_guard.get_mut(&key2).ok_or(SystemError::EINVAL)?; in futex_requeue() 475 let bucket1 = futex_data_guard.get_mut(&key1).ok_or(SystemError::EINVAL)?; in futex_wake_op() 485 let bucket2 = futex_data_guard.get_mut(&key2).ok_or(SystemError::EINVAL)?; in futex_wake_op()
|
/DragonOS-0.1.9/kernel/src/libs/ |
D | lazy_init.rs | 104 pub fn get_mut(&mut self) -> &mut T { in get_mut() method 132 return self.get_mut(); in deref_mut()
|
D | lock_free_flags.rs | 22 pub fn get_mut(&self) -> &mut T { in get_mut() method
|
D | vec_cursor.rs | 36 pub fn get_mut(&mut self) -> &mut Vec<u8> { in get_mut() method
|
D | rwlock.rs | 372 pub unsafe fn get_mut(&mut self) -> &mut T { in get_mut() method
|
D | rbtree.rs | 1175 pub fn get_mut(&mut self, k: &K) -> Option<&mut V> { in get_mut() method 1559 match m.get_mut(&5) { in test_find_mut()
|
/DragonOS-0.1.9/tools/debugging/logmonitor/src/backend/monitor/ |
D | logset.rs | 72 pub fn get_mut(&mut self, key: &K) -> Option<&mut V> { in get_mut() method 73 self.inner.get_mut(key) in get_mut()
|
/DragonOS-0.1.9/kernel/src/driver/base/map/ |
D | mod.rs | 69 .get_mut((dev_t.major().data() % 255) as usize) in kobj_map() 90 .get_mut((dev_t.major().data() % 255) as usize) in kobj_unmap()
|
/DragonOS-0.1.9/kernel/src/driver/base/char/ |
D | mod.rs | 148 if let Some(items) = CHARDEVS.lock().get_mut(Self::major_to_index(major)) { in __register_chardev_region() 185 .get_mut(Self::major_to_index(device_number.major())) in __unregister_chardev_region()
|
/DragonOS-0.1.9/kernel/src/mm/ |
D | percpu.rs | 83 pub fn get_mut(&mut self) -> &mut T { in get_mut() method
|
/DragonOS-0.1.9/kernel/src/net/ |
D | net_core.rs | 66 let event = binding.get_mut::<dhcpv4::Socket>(dhcp_handle).poll(); in dhcp_query() 232 let handle_item = handle_guard.get_mut(&handle).unwrap(); in send_event()
|
/DragonOS-0.1.9/kernel/src/driver/base/block/ |
D | block_device.rs | 435 if let Some(items) = BLOCKDEVS.lock().get_mut(Self::major_to_index(major)) { in __register_blockdev_region() 472 .get_mut(Self::major_to_index(device_number.major())) in __unregister_blockdev_region()
|
/DragonOS-0.1.9/kernel/src/process/ |
D | kthread.rs | 273 .get_mut() in init_stage1() 287 .get_mut() in init_stage1()
|
D | mod.rs | 401 .get_mut() in switch_finish_hook() 408 .get_mut() in switch_finish_hook() 715 return self.flags.get_mut(); in flags()
|
D | fork.rs | 206 *new_pcb.flags.get_mut() = ProcessManager::current_pcb().flags().clone(); in copy_flags()
|
/DragonOS-0.1.9/kernel/src/libs/lib_ui/ |
D | textui.rs | 676 if let Some(v_char) = vline.chars.get_mut(i as usize) { in textui_new_line() 722 if let Some(v_char) = vline.chars.get_mut(index) { in true_textui_putchar_window() 814 vline.chars.get_mut(<LineIndex as Into<usize>>::into(tmp)) in textui_putchar_window() 831 if let Some(v_char) = vline.chars.get_mut(i as usize) { in textui_putchar_window()
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/process/ |
D | mod.rs | 424 SWITCH_RESULT.as_mut().unwrap().get_mut().prev_pcb = Some(prev); in switch_process() 425 SWITCH_RESULT.as_mut().unwrap().get_mut().next_pcb = Some(next); in switch_process()
|
/DragonOS-0.1.9/kernel/crates/bitmap/src/ |
D | bitmap_core.rs | 40 let element = data.get_mut(element_index)?; in set()
|
/DragonOS-0.1.9/kernel/src/exception/ |
D | irqdesc.rs | 701 self.per_cpu_dev_id.as_mut().map(|v| v.get_mut()) in per_cpu_dev_id_mut()
|
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/fbcon/ |
D | framebuffer_console.rs | 380 let col = palette.get_mut(idx as usize).unwrap(); in con_set_palette()
|