/DragonOS/kernel/src/mm/ |
H A D | fault.rs | 258 page.write_irqsave().insert_vma(vma.clone()); in do_anonymous_page() 333 cow_page.write_irqsave().set_page_cache_index( in do_cow_fault() 380 cache_page.write_irqsave().add_flags(PageFlags::PG_DIRTY); in do_shared_fault() 455 old_page.write_irqsave().add_flags(PageFlags::PG_DIRTY); in do_wp_page() 469 old_page.write_irqsave().remove_vma(&vma); in do_wp_page() 476 page.write_irqsave().insert_vma(vma.clone()); in do_wp_page() 492 old_page.write_irqsave().remove_vma(&vma); in do_wp_page() 499 page.write_irqsave().insert_vma(vma.clone()); in do_wp_page() 675 page.write_irqsave().add_flags(PageFlags::PG_LRU); in filemap_fault() 680 page.write_irqsave() in filemap_fault() [all …]
|
H A D | ucontext.rs | 195 page.write_irqsave().insert_vma(new_vma.clone()); in try_clone() 1170 page.write_irqsave().remove_vma(self); in unmap() 1258 let mut page_guard = page.write_irqsave(); in extract() 1271 let mut page_guard = page.write_irqsave(); in extract() 1583 page.write_irqsave().insert_vma(r.clone()); in physmap() 1656 page.write_irqsave().insert_vma(r.clone()); in zeroed()
|
H A D | page.rs | 225 page.write_irqsave().remove_flags(PageFlags::PG_DIRTY); in page_writeback() 325 pub fn write_irqsave(&self) -> RwLockWriteGuard<InnerPage> { in write_irqsave() method 326 self.inner.write_irqsave() in write_irqsave() 641 new_page.write_irqsave().set_page_cache_index( in clone()
|
/DragonOS/kernel/src/time/ |
H A D | timekeeping.rs | 116 let mut timekeeper = self.inner.write_irqsave(); in timekeeper_setup_internals() 191 let mut timekeeper = self.inner.write_irqsave(); in timekeeping_adjust() 255 let mut timekeeper = self.inner.write_irqsave(); in logarithmic_accumulation() 351 timekeeper().inner.write_irqsave().xtime = time; in do_settimeofday64() 372 let mut timekeeper = timekeeper().inner.write_irqsave(); in timekeeping_init() 398 let mut tk = timekeeper().inner.write_irqsave(); in update_wall_time() 462 let mut timekeeper = timekeeper().inner.write_irqsave(); in update_rt_offset()
|
/DragonOS/kernel/src/driver/virtio/ |
H A D | irq.rs | 48 let mut map = self.map.write_irqsave(); in register_device() 68 let mut map = self.map.write_irqsave(); in unregister_device()
|
/DragonOS/kernel/src/process/ |
H A D | fork.rs | 251 let new_address_space = old_address_space.write_irqsave().try_clone().unwrap_or_else(|e| { in copy_mm() 409 pcb.thread.write_irqsave().clear_child_tid = Some(clone_args.child_tid); in copy_process() 414 pcb.thread.write_irqsave().set_child_tid = Some(clone_args.child_tid); in copy_process() 488 pcb.thread.write_irqsave().group_leader = in copy_process() 495 pcb.thread.write_irqsave().group_leader = Arc::downgrade(pcb); in copy_process() 504 *pcb.real_parent_pcb.write_irqsave() = in copy_process() 525 *pcb.real_parent_pcb.write_irqsave() = Arc::downgrade(current_pcb); in copy_process()
|
H A D | idle.rs | 62 *idle_pcb.sched_info().sched_policy.write_irqsave() = crate::sched::SchedPolicy::IDLE; in init_idle()
|
H A D | mod.rs | 403 let thread = pcb.thread.write_irqsave(); in exit() 788 let mut children = ppcb_arc.children.write_irqsave(); in do_create_pcb() 847 return self.basic.write_irqsave(); in basic_mut() 993 self.sig_info.write_irqsave() in sig_info_mut() 1039 *self.robust_list.write_irqsave() = new_robust_list; in set_robust_list() 1064 .write_irqsave() in drop() 1336 return self.inner_locked.write_irqsave(); in inner_lock_write_irqsave()
|
H A D | syscall.rs | 312 pcb.thread.write_irqsave().vfork_done = Some(vfork.clone()); in clone() 344 pcb.thread.write_irqsave().clear_child_tid = Some(VirtAddr::new(ptr)); in set_tid_address()
|
/DragonOS/kernel/src/driver/firmware/efi/ |
H A D | tables.rs | 318 .write_irqsave() in post_process() 345 efi_manager().inner.write_irqsave().memreserve_table_paddr = in post_process() 375 efi_manager().inner.write_irqsave().esrt_table_paddr = in post_process()
|
H A D | memmap.rs | 152 let mut inner_guard = self.inner.write_irqsave(); in efi_memmap_unmap()
|
/DragonOS/kernel/src/arch/x86_64/smp/ |
H A D | mod.rs | 206 .write_irqsave() in post_init() 280 .write_irqsave() in arch_init()
|
/DragonOS/kernel/src/driver/video/ |
H A D | mod.rs | 81 let mut bp = boot_params().write_irqsave(); in init_frame_buffer() 138 let mut refresh_target = self.refresh_target.write_irqsave(); in set_refresh_target()
|
/DragonOS/kernel/src/exception/ |
H A D | softirq.rs | 150 let mut table_guard = self.table.write_irqsave(); in register_softirq() 173 let mut table_guard = self.table.write_irqsave(); in unregister_softirq()
|
H A D | irqdomain.rs | 141 self.inner.write_irqsave().default_domain = Some(domain); in set_default_domain() 238 domain.revmap.write_irqsave().insert(hwirq, irq_data); in irq_domain_set_mapping() 541 self.revmap.write_irqsave() in revmap_write_irqsave()
|
/DragonOS/kernel/src/arch/x86_64/init/pvh/ |
H A D | mod.rs | 52 .write_irqsave() in init_kernel_cmdline()
|
/DragonOS/kernel/src/net/socket/ |
H A D | inet.rs | 665 .write_irqsave() in read() 756 let iface: Arc<dyn NetDevice> = NET_DEVICES.write_irqsave().get(&0).unwrap().clone(); in connect() 821 let mut handle_guard = HANDLE_MAP.write_irqsave(); in listen() 874 .write_irqsave() in shutdown() 932 let mut handle_guard = HANDLE_MAP.write_irqsave(); in accept()
|
H A D | mod.rs | 92 .write_irqsave() in new_socket() 318 .write_irqsave() in do_close() 481 self.shutdown_type.write_irqsave() in shutdown_type_writer()
|
/DragonOS/kernel/src/init/ |
H A D | initial_kthread.rs | 75 *current_pcb.sched_info().sched_policy.write_irqsave() = crate::sched::SchedPolicy::CFS; in switch_to_user()
|
/DragonOS/kernel/src/sched/ |
H A D | mod.rs | 937 let mut prio_guard = pcb.sched_info().prio_data.write_irqsave(); in sched_fork() 946 *policy.write_irqsave() = SchedPolicy::RT; in sched_fork() 949 *policy.write_irqsave() = SchedPolicy::CFS; in sched_fork()
|
/DragonOS/kernel/src/net/ |
H A D | net_core.rs | 49 let binding = NET_DEVICES.write_irqsave(); in dhcp_query()
|
/DragonOS/kernel/src/arch/x86_64/mm/ |
H A D | fault.rs | 229 let mut space_guard = current_address_space.write_irqsave(); in do_user_addr_fault()
|
/DragonOS/kernel/src/arch/x86_64/init/ |
H A D | multiboot2.rs | 94 .write_irqsave() in init_kernel_cmdline()
|
/DragonOS/kernel/src/ipc/ |
H A D | shm.rs | 169 page.write_irqsave().set_shm_id(shm_id); in add() 328 page.write_irqsave().set_dealloc_when_zero(true); in ipc_rmid()
|
/DragonOS/kernel/src/driver/tty/ |
H A D | tty_core.rs | 372 self.flags.write_irqsave() in flags_write() 382 self.termios.write_irqsave() in termios_write()
|