/DragonOS-0.1.5/kernel/src/arch/x86_64/ |
D | context.rs | 3 use core::sync::atomic::compiler_fence; 14 compiler_fence(core::sync::atomic::Ordering::SeqCst); in switch_process() 18 compiler_fence(core::sync::atomic::Ordering::SeqCst); in switch_process()
|
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/ |
D | mod.rs | 24 use alloc::{format, string::String, sync::Arc, vec::Vec}; 25 use core::sync::atomic::compiler_fence; 52 compiler_fence(core::sync::atomic::Ordering::SeqCst); in ahci_rust_init() 60 compiler_fence(core::sync::atomic::Ordering::SeqCst); in ahci_rust_init() 69 compiler_fence(core::sync::atomic::Ordering::SeqCst); in ahci_rust_init() 78 compiler_fence(core::sync::atomic::Ordering::SeqCst); in ahci_rust_init() 82 compiler_fence(core::sync::atomic::Ordering::SeqCst); in ahci_rust_init() 89 compiler_fence(core::sync::atomic::Ordering::SeqCst); in ahci_rust_init() 110 compiler_fence(core::sync::atomic::Ordering::SeqCst); in ahci_rust_init() 124 compiler_fence(core::sync::atomic::Ordering::SeqCst); in ahci_rust_init() [all …]
|
D | ahcidisk.rs | 17 use alloc::sync::Weak; 18 use alloc::{string::String, sync::Arc, vec::Vec}; 21 use core::sync::atomic::compiler_fence; 58 compiler_fence(core::sync::atomic::Ordering::SeqCst); in read_at() 180 compiler_fence(core::sync::atomic::Ordering::SeqCst); in read_at() 191 compiler_fence(core::sync::atomic::Ordering::SeqCst); in write_at() 210 compiler_fence(core::sync::atomic::Ordering::SeqCst); in write_at() 220 compiler_fence(core::sync::atomic::Ordering::SeqCst); in write_at() 232 compiler_fence(core::sync::atomic::Ordering::SeqCst); in write_at() 241 compiler_fence(core::sync::atomic::Ordering::SeqCst); in write_at() [all …]
|
D | hba.rs | 4 use core::sync::atomic::compiler_fence; 203 compiler_fence(core::sync::atomic::Ordering::SeqCst); in init() 212 compiler_fence(core::sync::atomic::Ordering::SeqCst); in init() 224 compiler_fence(core::sync::atomic::Ordering::SeqCst); in init()
|
D | ahci_inode.rs | 14 sync::{Arc, Weak},
|
/DragonOS-0.1.5/kernel/src/arch/x86_64/asm/ |
D | current.rs | 3 use core::{arch::asm, sync::atomic::compiler_fence}; 11 compiler_fence(core::sync::atomic::Ordering::SeqCst); in current_pcb() 13 compiler_fence(core::sync::atomic::Ordering::SeqCst); in current_pcb()
|
/DragonOS-0.1.5/kernel/src/sched/ |
D | cfs.rs | 1 use core::{ptr::null_mut, sync::atomic::compiler_fence}; 194 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched() 199 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched() 203 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched() 206 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched() 212 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched() 219 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched() 224 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched() 226 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched() 228 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched()
|
D | core.rs | 1 use core::sync::atomic::compiler_fence; 78 compiler_fence(core::sync::atomic::Ordering::SeqCst); in __sched() 81 compiler_fence(core::sync::atomic::Ordering::SeqCst); in __sched() 106 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched_enqueue() 119 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched_enqueue() 121 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched_enqueue() 128 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched_enqueue()
|
D | rt.rs | 1 use core::{ptr::null_mut, sync::atomic::compiler_fence}; 181 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched() 199 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched()
|
/DragonOS-0.1.5/kernel/src/process/ |
D | fork.rs | 1 use core::{ffi::c_void, ptr::null_mut, sync::atomic::compiler_fence}; 49 compiler_fence(core::sync::atomic::Ordering::SeqCst); in process_copy_sighand() 55 compiler_fence(core::sync::atomic::Ordering::SeqCst); in process_copy_sighand() 64 compiler_fence(core::sync::atomic::Ordering::SeqCst); in process_copy_sighand() 67 compiler_fence(core::sync::atomic::Ordering::SeqCst); in process_copy_sighand() 71 compiler_fence(core::sync::atomic::Ordering::SeqCst); in process_copy_sighand() 74 compiler_fence(core::sync::atomic::Ordering::SeqCst); in process_copy_sighand() 76 compiler_fence(core::sync::atomic::Ordering::SeqCst); in process_copy_sighand()
|
/DragonOS-0.1.5/kernel/src/ipc/ |
D | signal.rs | 1 use core::{ffi::c_void, intrinsics::size_of, ptr::read_volatile, sync::atomic::compiler_fence}; 88 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sys_kill() 97 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sys_kill() 139 compiler_fence(core::sync::atomic::Ordering::SeqCst); in signal_kill_proc_info() 142 compiler_fence(core::sync::atomic::Ordering::SeqCst); in signal_kill_proc_info() 178 compiler_fence(core::sync::atomic::Ordering::SeqCst); in signal_send_sig_info() 181 compiler_fence(core::sync::atomic::Ordering::SeqCst); in signal_send_sig_info() 269 compiler_fence(core::sync::atomic::Ordering::SeqCst); in __send_signal_locked() 292 compiler_fence(core::sync::atomic::Ordering::SeqCst); in __send_signal_locked() 310 compiler_fence(core::sync::atomic::Ordering::SeqCst); in complete_signal() [all …]
|
/DragonOS-0.1.5/kernel/src/io/ |
D | device.rs | 3 use alloc::{sync::Arc, vec::Vec}; 45 fn sync(&self) -> Result<(), i32>; in sync() method 72 fn sync(&self) -> Result<(), i32>; in sync() method 171 fn sync(&self) -> Result<(), i32> { in sync() method 172 BlockDevice::sync(self) in sync()
|
D | disk_info.rs | 4 use alloc::sync::{Arc, Weak};
|
/DragonOS-0.1.5/kernel/src/libs/ |
D | semaphore.rs | 1 use core::sync::atomic::{AtomicI32, Ordering};
|
D | spinlock.rs | 6 use core::sync::atomic::{AtomicBool, Ordering};
|
/DragonOS-0.1.5/kernel/src/driver/keyboard/ |
D | ps2_keyboard.rs | 1 use alloc::sync::{Arc, Weak}; 144 fn fs(&self) -> alloc::sync::Arc<dyn crate::filesystem::vfs::FileSystem> { in fs()
|
/DragonOS-0.1.5/tools/ |
D | write_disk_image.sh | 132 sync
|
/DragonOS-0.1.5/ |
D | bochsrc | 34 clock: sync=none, time0=local, rtc_sync=0
|
/DragonOS-0.1.5/kernel/src/filesystem/devfs/ |
D | null_dev.rs | 12 sync::{Arc, Weak},
|
D | zero_dev.rs | 12 sync::{Arc, Weak},
|
/DragonOS-0.1.5/kernel/src/filesystem/vfs/ |
D | core.rs | 4 sync::atomic::{AtomicUsize, Ordering}, 7 use alloc::{boxed::Box, format, string::ToString, sync::Arc};
|
D | file.rs | 3 use alloc::{boxed::Box, string::String, sync::Arc, vec::Vec};
|
D | mod.rs | 11 use alloc::{string::String, sync::Arc, vec::Vec};
|
D | mount.rs | 5 sync::{Arc, Weak},
|
/DragonOS-0.1.5/kernel/src/filesystem/fat/ |
D | bpb.rs | 2 use alloc::{sync::Arc, vec::Vec};
|