Home
last modified time | relevance | path

Searched refs:bindings (Results 1 – 25 of 31) sorted by relevance

12

/DragonOS-0.1.3/kernel/src/libs/
Drefcount.rs1 use crate::{include::bindings::bindings::{atomic_inc, atomic_t, atomic_dec}, kwarn};
17 impl FFIBind2Rust<crate::include::bindings::bindings::refcount_struct> for RefCount{
19 src: *mut crate::include::bindings::bindings::refcount_struct, in convert_mut()
24 src: *const crate::include::bindings::bindings::refcount_struct, in convert_ref()
34 refs: $crate::include::bindings::bindings::atomic_t { value: $x },
Dwait_queue.rs1 use crate::include::bindings::bindings::{wait_queue_head_t};
Dlist.rs1 use crate::include::bindings::bindings::List;
Datomic.rs4 use crate::include::bindings::bindings::atomic_t;
Dspinlock.rs8 use crate::include::bindings::bindings::{spin_lock, spin_unlock, spinlock_t};
Dlockref.rs5 include::bindings::bindings::{ENOTSUP, ETIMEDOUT},
124 use crate::include::bindings::bindings::ENOTSUP; in cmpxchg_loop()
/DragonOS-0.1.3/kernel/
D.gitignore6 src/include/bindings/bindings.rs
8 src/include/bindings/bindings.h
Dbuild.rs18 let bindings = bindgen::Builder::default() in main() localVariable
43 bindings in main()
/DragonOS-0.1.3/kernel/src/ipc/
Dsignal_types.rs9 use crate::include::bindings::bindings::NULL;
11 use crate::include::bindings::bindings::atomic_t;
12 use crate::include::bindings::bindings::pt_regs;
13 use crate::include::bindings::bindings::spinlock_t;
374 impl FFIBind2Rust<crate::include::bindings::bindings::signal_struct> for signal_struct {
376 src: *mut crate::include::bindings::bindings::signal_struct, in convert_mut()
381 src: *const crate::include::bindings::bindings::signal_struct, in convert_ref()
390 impl FFIBind2Rust<crate::include::bindings::bindings::siginfo> for siginfo {
392 src: *mut crate::include::bindings::bindings::siginfo, in convert_mut()
397 src: *const crate::include::bindings::bindings::siginfo, in convert_ref()
[all …]
/DragonOS-0.1.3/kernel/src/process/
Dinitial_proc.rs6 include::bindings::bindings::{atomic_t, process_control_block, spinlock_t},
36 as *mut crate::include::bindings::bindings::sighand_struct; in initial_proc_init_signal()
38 as *mut crate::include::bindings::bindings::signal_struct; in initial_proc_init_signal()
Dfork.rs7 include::bindings::bindings::{
40 as *mut crate::include::bindings::bindings::sighand_struct; in process_copy_sighand()
56 if !(x as *const crate::include::bindings::bindings::sigaction).is_null() { in process_copy_sighand()
58 *sigaction::convert_ref(x as *const crate::include::bindings::bindings::sigaction) in process_copy_sighand()
96 as *mut crate::include::bindings::bindings::signal_struct; in process_copy_signal()
116 (*pcb).sighand = 0 as *mut crate::include::bindings::bindings::sighand_struct; in process_exit_signal()
130 (*pcb).signal = 0 as *mut crate::include::bindings::bindings::signal_struct; in process_exit_sighand()
Dpid.rs1 use crate::{include::bindings::bindings::pt_regs, arch::asm::current::current_pcb};
Dprocess.rs5 include::bindings::bindings::{
/DragonOS-0.1.3/kernel/src/mm/
Dgfp.rs1 use crate::include::bindings::bindings::gfp_t;
Dallocator.rs1 use crate::include::bindings::bindings::{gfp_t, kfree, kmalloc, PAGE_2M_SIZE};
/DragonOS-0.1.3/kernel/src/arch/x86_64/
Dsched.rs1 use crate::include::bindings::bindings::{enter_syscall_int, SYS_SCHED};
Dcontext.rs1 use crate::include::bindings::bindings::{process_control_block, switch_proc};
/DragonOS-0.1.3/kernel/src/arch/x86_64/asm/
Dptrace.rs2 use crate::include::bindings::bindings::pt_regs;
Dcurrent.rs1 use crate::include::bindings::bindings::process_control_block;
/DragonOS-0.1.3/kernel/src/arch/x86_64/mm/
Dmod.rs2 use crate::include::bindings::bindings::process_control_block;
/DragonOS-0.1.3/kernel/src/include/bindings/
Dmod.rs1 pub mod bindings; module
/DragonOS-0.1.3/kernel/src/include/
Dmod.rs2 pub mod bindings; module
/DragonOS-0.1.3/kernel/src/
Dlib.rs40 include::bindings::bindings::{process_do_exit, BLACK, GREEN},
/DragonOS-0.1.3/kernel/src/sched/
Dcore.rs5 include::bindings::bindings::{process_control_block, pt_regs, EPERM, SCHED_NORMAL},
/DragonOS-0.1.3/kernel/src/driver/timers/rtc/
Drtc.rs3 include::bindings::bindings::{io_in8, io_out8},

12