/DragonOS/kernel/src/net/ |
H A D | net_core.rs | 139 let guard: RwLockReadGuard<BTreeMap<usize, Arc<dyn NetDevice>>> = NET_DEVICES.read_irqsave(); in poll_ifaces() 160 NET_DEVICES.read_irqsave(); in poll_ifaces_try_lock() 190 let guard: RwLockReadGuard<BTreeMap<usize, Arc<dyn NetDevice>>> = NET_DEVICES.read_irqsave(); in poll_ifaces_try_lock_onetime() 207 let handle_guard = HANDLE_MAP.read_irqsave(); in send_event()
|
/DragonOS/kernel/src/mm/ |
H A D | page.rs | 190 let page_cache = page.read_irqsave().page_cache().unwrap(); in shrink_list() 191 for vma in page.read_irqsave().anon_vma() { in shrink_list() 201 page_cache.remove_page(page.read_irqsave().index().unwrap()); in shrink_list() 203 if page.read_irqsave().flags.contains(PageFlags::PG_DIRTY) { in shrink_list() 228 for vma in page.read_irqsave().anon_vma() { in page_writeback() 249 .read_irqsave() in page_writeback() 260 page.read_irqsave().index().unwrap(), in page_writeback() 264 MMArch::phys_2_virt(page.read_irqsave().phys_addr) in page_writeback() 280 if page.read_irqsave().flags().contains(PageFlags::PG_DIRTY) { in flush_dirty_pages() 321 pub fn read_irqsave(&self) -> RwLockReadGuard<InnerPage> { in read_irqsave() method [all …]
|
H A D | fault.rs | 323 MMArch::phys_2_virt(cache_page.read_irqsave().phys_address()) in do_cow_fault() 334 cache_page.read_irqsave().page_cache(), in do_cow_fault() 335 cache_page.read_irqsave().index(), in do_cow_fault() 442 let map_count = old_page.read_irqsave().map_count(); in do_wp_page() 612 let page_guard = page.read_irqsave(); in filemap_map_pages() 713 let page_phys = page_to_map.read_irqsave().phys_address(); in finish_fault()
|
H A D | ucontext.rs | 1173 if page.read_irqsave().can_deallocate() { in unmap() 1663 let page_guard = page.read_irqsave(); in page_address()
|
/DragonOS/kernel/src/driver/virtio/ |
H A D | irq.rs | 82 let map = self.map.read_irqsave(); in lookup_device()
|
/DragonOS/kernel/src/process/ |
H A D | mod.rs | 361 let r = current.parent_pcb.read_irqsave().upgrade(); in exit_notify() 784 if let Some(ppcb_arc) = pcb.parent_pcb.read_irqsave().upgrade() { in do_create_pcb() 834 return self.basic.read_irqsave(); in basic() 976 self.sig_info.read_irqsave() in sig_info_irqsave() 1031 return self.robust_list.read_irqsave(); in get_robust_list() 1059 if let Some(ppcb) = self.parent_pcb.read_irqsave().upgrade() { in drop() 1337 return self.inner_locked.read_irqsave(); in inner_lock_read_irqsave() 1391 return *self.sched_policy.read_irqsave(); in policy()
|
H A D | fork.rs | 494 current_pcb.thread.read_irqsave().group_leader.clone(); in copy_process() 510 current_pcb.real_parent_pcb.read_irqsave().clone(); in copy_process() 515 let leader = current_pcb.thread.read_irqsave().group_leader(); in copy_process()
|
H A D | syscall.rs | 257 if pcb.thread.read_irqsave().set_child_tid.is_some() { in clone() 258 let addr = pcb.thread.read_irqsave().set_child_tid.unwrap(); in clone()
|
/DragonOS/kernel/src/arch/riscv64/ |
H A D | cpu.rs | 22 return boot_params().read_irqsave().arch.boot_hartid; in current_cpu_id()
|
/DragonOS/kernel/src/net/socket/ |
H A D | inet.rs | 161 let iface = NET_DEVICES.read_irqsave().get(&0).unwrap().clone(); in write() 414 .read_irqsave() in poll() 620 .read_irqsave() in read() 684 .read_irqsave() in write() 734 let handle_map_guard = HANDLE_MAP.read_irqsave(); in poll()
|
/DragonOS/kernel/src/arch/x86_64/smp/ |
H A D | mod.rs | 267 .read_irqsave() in arch_init()
|
/DragonOS/kernel/src/driver/firmware/efi/ |
H A D | init.rs | 257 let inner_guard = efi_manager().inner.read_irqsave(); in reserve_memory_regions()
|
/DragonOS/kernel/src/mm/allocator/ |
H A D | page_frame.rs | 374 let page_guard = page.read_irqsave(); in deallocate_page_frames()
|
/DragonOS/kernel/src/exception/ |
H A D | softirq.rs | 211 let table_guard = self.table.read_irqsave(); in do_softirq()
|
H A D | irqdomain.rs | 175 if hwirq >= domain.revmap.read_irqsave().hwirq_max { in domain_associate() 535 self.revmap.read_irqsave() in revmap_read_irqsave()
|
H A D | irqdata.rs | 130 self.chip_info.read_irqsave() in chip_info_read_irqsave()
|
H A D | irqdesc.rs | 175 let guard = self.handler.read_irqsave(); in handler()
|
/DragonOS/kernel/src/driver/tty/ |
H A D | tty_core.rs | 367 *self.flags.read_irqsave() in flags() 377 self.termios.read_irqsave() in termios()
|
/DragonOS/kernel/src/time/ |
H A D | timekeeping.rs | 146 let timekeeper = self.inner.read_irqsave(); in timekeeping_get_ns()
|
/DragonOS/kernel/src/libs/ |
H A D | rwlock.rs | 167 pub fn read_irqsave(&self) -> RwLockReadGuard<T> { in read_irqsave() method
|
/DragonOS/kernel/src/ipc/ |
H A D | syscall.rs | 446 let shm_id = page.read_irqsave().shm_id().ok_or(SystemError::EINVAL)?; in shmdt()
|
H A D | shm.rs | 447 page.read_irqsave() in map_count()
|
/DragonOS/kernel/src/sched/ |
H A D | mod.rs | 940 prio_guard.prio = current.sched_info().prio_data.read_irqsave().normal_prio; in sched_fork()
|
/DragonOS/kernel/src/driver/tty/virtual_terminal/ |
H A D | virtual_console.rs | 498 if SOFTCURSOR_ORIGINAL.read_irqsave().is_some() { in add_softcursor()
|