Home
last modified time | relevance | path

Searched refs:core (Results 1 – 25 of 29) sorted by relevance

12

/DragonOS-0.1.3/kernel/src/arch/x86_64/
Dcontext.rs3 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()
Dcpu.rs1 use core::arch::asm;
/DragonOS-0.1.3/kernel/src/sched/
Dcfs.rs1 use core::{
21 use super::core::Scheduler;
158 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched()
163 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched()
168 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched()
171 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched()
177 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched()
180 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched()
185 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched()
190 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sched()
[all …]
Dcore.rs1 use core::sync::atomic::compiler_fence;
33 compiler_fence(core::sync::atomic::Ordering::SeqCst); in __sched()
35 compiler_fence(core::sync::atomic::Ordering::SeqCst); in __sched()
39 compiler_fence(core::sync::atomic::Ordering::SeqCst); in __sched()
Dmod.rs1 pub mod core; module
/DragonOS-0.1.3/kernel/src/arch/x86_64/asm/
Dcurrent.rs3 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()
Dbitops.rs1 use core::arch::x86_64::_popcnt64;
Dirqflags.rs1 use core::{arch::asm, ptr::read_volatile};
/DragonOS-0.1.3/kernel/src/process/
Dfork.rs1 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()
Dprocess.rs1 use core::ptr::{read_volatile, write_volatile};
8 sched::core::{cpu_executing, sched_enqueue},
9 smp::core::{smp_get_processor_id, smp_send_reschedule},
Dinitial_proc.rs1 use core::ffi::c_void;
/DragonOS-0.1.3/kernel/src/mm/
Dallocator.rs4 use core::alloc::{GlobalAlloc, Layout};
19 return core::ptr::null_mut(); in local_alloc()
26 return core::ptr::null_mut(); in local_alloc_zeroed()
32 kfree(ptr as *mut ::core::ffi::c_void); in local_dealloc()
/DragonOS-0.1.3/kernel/src/arch/x86_64/mm/
Dmod.rs4 use core::arch::asm;
5 use core::ptr::read_volatile;
Dbarrier.rs2 use core::arch::asm;
/DragonOS-0.1.3/kernel/src/libs/
Dffi_convert.rs13 core::mem::transmute::< in __convert_mut()
23 core::mem::transmute::< in __convert_ref()
Datomic.rs2 use core::ptr::{read_volatile, write_volatile};
Dspinlock.rs2 use core::ptr::read_volatile;
4 use core::sync::atomic::{AtomicBool, Ordering};
/DragonOS-0.1.3/kernel/src/smp/
Dmod.rs1 pub mod core; module
/DragonOS-0.1.3/kernel/src/ipc/
Dsignal_types.rs4 use core::ffi::c_void;
5 use core::fmt::Debug;
61 pub _sa_sigaction: ::core::option::Option<
63 sig: ::core::ffi::c_int,
65 arg1: *mut ::core::ffi::c_void,
70 impl core::fmt::Debug for sigaction__union_u {
71 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt()
141 pub sa_handler: *mut core::ffi::c_void,
142 pub sa_sigaction: *mut core::ffi::c_void,
145 pub sa_restorer: *mut core::ffi::c_void,
[all …]
Dsignal.rs1 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.3/kernel/src/arch/x86_64/interrupt/
Dmod.rs2 use core::arch::asm;
/DragonOS-0.1.3/user/libs/libc/src/
Dlib.rs12 use core::panic::PanicInfo;
/DragonOS-0.1.3/user/libs/libc/.cargo/
Dconfig.toml5 build-std = ["core", "compiler_builtins", "alloc"]
/DragonOS-0.1.3/kernel/.cargo/
Dconfig.toml5 build-std = ["core", "compiler_builtins", "alloc"]
/DragonOS-0.1.3/kernel/src/exception/
Dsoftirq.rs1 use core::{ffi::c_void, ptr::null_mut};
27 pub action: Option<unsafe extern "C" fn(data: *mut ::core::ffi::c_void)>, //软中断处理函数
83 action: Option<unsafe extern "C" fn(data: *mut ::core::ffi::c_void)>, in register_softirq()
191 action: Option<unsafe extern "C" fn(data: *mut ::core::ffi::c_void)>, in register_softirq()

12