Home
last modified time | relevance | path

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

/DragonOS-0.1.2/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.2/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,
9 smp::core::{smp_get_processor_id, smp_send_reschedule},
Dinitial_proc.rs1 use core::ffi::c_void;
/DragonOS-0.1.2/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.2/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;
Dprintk.rs3 use ::core::ffi::c_char;
5 use core::fmt;
/DragonOS-0.1.2/kernel/src/smp/
Dmod.rs1 pub mod core; module
/DragonOS-0.1.2/kernel/src/sched/
Dmod.rs1 pub mod core; module
/DragonOS-0.1.2/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};
87 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sys_kill()
91 compiler_fence(core::sync::atomic::Ordering::SeqCst); in sys_kill()
124 compiler_fence(core::sync::atomic::Ordering::SeqCst); in signal_kill_proc_info()
127 compiler_fence(core::sync::atomic::Ordering::SeqCst); in signal_kill_proc_info()
163 compiler_fence(core::sync::atomic::Ordering::SeqCst); in signal_send_sig_info()
166 compiler_fence(core::sync::atomic::Ordering::SeqCst); in signal_send_sig_info()
255 compiler_fence(core::sync::atomic::Ordering::SeqCst); in __send_signal_locked()
263 compiler_fence(core::sync::atomic::Ordering::SeqCst); in __send_signal_locked()
281 compiler_fence(core::sync::atomic::Ordering::SeqCst); in complete_signal()
[all …]
/DragonOS-0.1.2/kernel/src/arch/x86_64/interrupt/
Dmod.rs2 use core::arch::asm;
/DragonOS-0.1.2/kernel/src/arch/x86_64/
Dcpu.rs1 use core::arch::asm;
/DragonOS-0.1.2/user/libs/libc/src/
Dlib.rs12 use core::panic::PanicInfo;
/DragonOS-0.1.2/kernel/.cargo/
Dconfig.toml5 build-std = ["core", "compiler_builtins", "alloc"]
/DragonOS-0.1.2/user/libs/libc/.cargo/
Dconfig.toml5 build-std = ["core", "compiler_builtins", "alloc"]
/DragonOS-0.1.2/kernel/src/
Dlib.rs11 use core::panic::PanicInfo;
/DragonOS-0.1.2/kernel/src/driver/uart/
Duart.rs2 use core::{str, char, intrinsics::offset};