/DragonOS-0.1.3/kernel/src/libs/ |
D | refcount.rs | 1 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 },
|
D | wait_queue.rs | 1 use crate::include::bindings::bindings::{wait_queue_head_t};
|
D | list.rs | 1 use crate::include::bindings::bindings::List;
|
D | atomic.rs | 4 use crate::include::bindings::bindings::atomic_t;
|
D | spinlock.rs | 8 use crate::include::bindings::bindings::{spin_lock, spin_unlock, spinlock_t};
|
D | lockref.rs | 5 include::bindings::bindings::{ENOTSUP, ETIMEDOUT}, 124 use crate::include::bindings::bindings::ENOTSUP; in cmpxchg_loop()
|
/DragonOS-0.1.3/kernel/ |
D | .gitignore | 6 src/include/bindings/bindings.rs 8 src/include/bindings/bindings.h
|
D | build.rs | 18 let bindings = bindgen::Builder::default() in main() localVariable 43 bindings in main()
|
/DragonOS-0.1.3/kernel/src/ipc/ |
D | signal_types.rs | 9 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/ |
D | initial_proc.rs | 6 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()
|
D | fork.rs | 7 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()
|
D | pid.rs | 1 use crate::{include::bindings::bindings::pt_regs, arch::asm::current::current_pcb};
|
D | process.rs | 5 include::bindings::bindings::{
|
/DragonOS-0.1.3/kernel/src/mm/ |
D | gfp.rs | 1 use crate::include::bindings::bindings::gfp_t;
|
D | allocator.rs | 1 use crate::include::bindings::bindings::{gfp_t, kfree, kmalloc, PAGE_2M_SIZE};
|
/DragonOS-0.1.3/kernel/src/arch/x86_64/ |
D | sched.rs | 1 use crate::include::bindings::bindings::{enter_syscall_int, SYS_SCHED};
|
D | context.rs | 1 use crate::include::bindings::bindings::{process_control_block, switch_proc};
|
/DragonOS-0.1.3/kernel/src/arch/x86_64/asm/ |
D | ptrace.rs | 2 use crate::include::bindings::bindings::pt_regs;
|
D | current.rs | 1 use crate::include::bindings::bindings::process_control_block;
|
/DragonOS-0.1.3/kernel/src/arch/x86_64/mm/ |
D | mod.rs | 2 use crate::include::bindings::bindings::process_control_block;
|
/DragonOS-0.1.3/kernel/src/include/bindings/ |
D | mod.rs | 1 pub mod bindings; module
|
/DragonOS-0.1.3/kernel/src/include/ |
D | mod.rs | 2 pub mod bindings; module
|
/DragonOS-0.1.3/kernel/src/ |
D | lib.rs | 40 include::bindings::bindings::{process_do_exit, BLACK, GREEN},
|
/DragonOS-0.1.3/kernel/src/sched/ |
D | core.rs | 5 include::bindings::bindings::{process_control_block, pt_regs, EPERM, SCHED_NORMAL},
|
/DragonOS-0.1.3/kernel/src/driver/timers/rtc/ |
D | rtc.rs | 3 include::bindings::bindings::{io_in8, io_out8},
|