Home
last modified time | relevance | path

Searched refs:RefCount (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.2/kernel/src/libs/
Drefcount.rs6 pub struct RefCount { struct
10 impl Default for RefCount{ implementation
17 impl FFIBind2Rust<crate::include::bindings::bindings::refcount_struct> for RefCount{ implementation
33 $crate::libs::refcount::RefCount {
42 pub fn refcount_inc(r: &mut RefCount) { in refcount_inc() argument
55 pub fn refcount_dec(r: &mut RefCount){ in refcount_dec() argument
/DragonOS-0.1.2/kernel/src/process/
Dfork.rs17 refcount::{refcount_inc, RefCount},
27 let r = RefCount::convert_mut(unsafe { &mut (*(current_pcb().sighand)).count }).unwrap(); in process_copy_sighand()
/DragonOS-0.1.2/kernel/src/ipc/
Dsignal_types.rs18 use crate::libs::refcount::RefCount;
231 pub count: RefCount,