Home
last modified time | relevance | path

Searched refs:include (Results 1 – 25 of 27) sorted by relevance

12

/DragonOS-0.1.2/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.rs6 use crate::include::bindings::bindings::{spin_lock, spin_unlock, spinlock_t};
Dprintk.rs2 use crate::include::bindings::bindings::{printk_color, BLACK, WHITE};
/DragonOS-0.1.2/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.2/kernel/
D.gitignore6 src/include/bindings/bindings.rs
8 src/include/bindings/bindings.h
Dcbindgen.toml23 # An optional name to use as an include guard
24 # default: doesn't emit an include guard
36 # Whether to include a comment with the version of cbindgen used to generate the file
52 # A list of sys headers to #include (with angle brackets)
56 # 生成的binding文件要include的头文件
57 # A list of headers to #include (with quotes)
172 # A list of additional items to always include in the generated bindings if they're
176 include = ["MyOrphanStruct", "MyGreatTypeRename"]
178 # A list of items to not include in the generated bindings
563 # Whether to parse dependent crates and include their types in the output
[all …]
/DragonOS-0.1.2/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()
Dprocess.rs5 include::bindings::bindings::{
/DragonOS-0.1.2/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.2/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.2/kernel/src/
Dlib.rs16 mod include; module
35 include::bindings::bindings::{process_do_exit, BLACK, GREEN},
DMakefile13 …LOBAL_CFLAGS) -D $(PIC) -I $(shell pwd) -I $(shell pwd)/include -I $(shell pwd)/arch/x86_64/include
/DragonOS-0.1.2/kernel/src/sched/
Dcore.rs1 use crate::{include::bindings::bindings::process_control_block, process::process::process_cpu, arch…
/DragonOS-0.1.2/docs/userland/libc/apis/
Dindex.rst21 ``#include<libc/src/xxx.h>``
/DragonOS-0.1.2/kernel/src/time/
Dtimekeep.rs2 use crate::include::bindings::bindings::{rtc_get_cmos_time, rtc_time_t};
/DragonOS-0.1.2/docs/community/ChangeLog/V0.1.x/
DV0.1.1.md117include目录下的rust代码转移到他们应当属于的模块中 (#96)
119 * 将include目录下的rust代码转移到他们应当属于的模块下。
207 * 解决由于spinlock.h中包含preempt_enable()带来的循环include问题
254 * 解决由于spinlock.h中包含preempt_enable()带来的循环include问题
/DragonOS-0.1.2/docs/kernel/sched/
Dwaiting.md23 &emsp;&emsp;要使用wait_queue,您需要`#include<common/wait_queue.h>`,并创建一个`wait_queue_node_t`类型的变量,作为等待队列的头…
/DragonOS-0.1.2/kernel/src/driver/uart/
Duart.rs1 use crate::include::bindings::bindings::{io_in8, io_out8};
/DragonOS-0.1.2/docs/kernel/filesystem/vfs/
Doverview.md36 #include<filesystem/VFS/VFS.h>

12