Home
last modified time | relevance | path

Searched refs:read_irqsave (Results 1 – 24 of 24) sorted by relevance

/DragonOS/kernel/src/net/
H A Dnet_core.rs139 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 Dpage.rs190 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 Dfault.rs323 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 Ducontext.rs1173 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 Dirq.rs82 let map = self.map.read_irqsave(); in lookup_device()
/DragonOS/kernel/src/process/
H A Dmod.rs361 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 Dfork.rs494 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 Dsyscall.rs257 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 Dcpu.rs22 return boot_params().read_irqsave().arch.boot_hartid; in current_cpu_id()
/DragonOS/kernel/src/net/socket/
H A Dinet.rs161 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 Dmod.rs267 .read_irqsave() in arch_init()
/DragonOS/kernel/src/driver/firmware/efi/
H A Dinit.rs257 let inner_guard = efi_manager().inner.read_irqsave(); in reserve_memory_regions()
/DragonOS/kernel/src/mm/allocator/
H A Dpage_frame.rs374 let page_guard = page.read_irqsave(); in deallocate_page_frames()
/DragonOS/kernel/src/exception/
H A Dsoftirq.rs211 let table_guard = self.table.read_irqsave(); in do_softirq()
H A Dirqdomain.rs175 if hwirq >= domain.revmap.read_irqsave().hwirq_max { in domain_associate()
535 self.revmap.read_irqsave() in revmap_read_irqsave()
H A Dirqdata.rs130 self.chip_info.read_irqsave() in chip_info_read_irqsave()
H A Dirqdesc.rs175 let guard = self.handler.read_irqsave(); in handler()
/DragonOS/kernel/src/driver/tty/
H A Dtty_core.rs367 *self.flags.read_irqsave() in flags()
377 self.termios.read_irqsave() in termios()
/DragonOS/kernel/src/time/
H A Dtimekeeping.rs146 let timekeeper = self.inner.read_irqsave(); in timekeeping_get_ns()
/DragonOS/kernel/src/libs/
H A Drwlock.rs167 pub fn read_irqsave(&self) -> RwLockReadGuard<T> { in read_irqsave() method
/DragonOS/kernel/src/ipc/
H A Dsyscall.rs446 let shm_id = page.read_irqsave().shm_id().ok_or(SystemError::EINVAL)?; in shmdt()
H A Dshm.rs447 page.read_irqsave() in map_count()
/DragonOS/kernel/src/sched/
H A Dmod.rs940 prio_guard.prio = current.sched_info().prio_data.read_irqsave().normal_prio; in sched_fork()
/DragonOS/kernel/src/driver/tty/virtual_terminal/
H A Dvirtual_console.rs498 if SOFTCURSOR_ORIGINAL.read_irqsave().is_some() { in add_softcursor()