Home
last modified time | relevance | path

Searched refs:RobustListHead (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/libs/futex/
H A Dsyscall.rs11 futex::{Futex, RobustListHead},
119 let ret = RobustListHead::set_robust_list(head_uaddr, len); in set_robust_list()
132 let ret = RobustListHead::get_robust_list(pid, head_uaddr, len_ptr_uaddr); in get_robust_list()
H A Dfutex.rs654 pub struct RobustListHead { struct
660 impl RobustListHead { argument
680 let robust_list_head_len = mem::size_of::<&RobustListHead>(); in set_robust_list()
686 head_uaddr.as_ptr::<RobustListHead>(), in set_robust_list()
687 mem::size_of::<RobustListHead>(), in set_robust_list()
690 let robust_list_head = *user_buffer_reader.read_one_from_user::<RobustListHead>(0)?; in set_robust_list()
729 user_writer.copy_one_to_user(&mem::size_of::<RobustListHead>(), 0)?; in get_robust_list()
732 head_uaddr.as_ptr::<RobustListHead>(), in get_robust_list()
733 mem::size_of::<RobustListHead>(), in get_robust_list()
828 robust_list_head: &'a RobustListHead,
[all …]
/DragonOS/user/apps/test-for-robustfutex/src/
H A Dmain.rs85 struct RobustListHead { struct
193 let head = RobustListHead { in set_list()
213 let len = mem::size_of::<*mut RobustListHead>(); in set_list()
234 let head = RobustListHead { in test01()
283 let len = mem::size_of::<*mut RobustListHead>(); in test01()
/DragonOS/kernel/src/process/
H A Dmod.rs40 futex::{Futex, RobustListHead},
416 RobustListHead::exit_robust_list(pcb.clone()); in exit()
663 robust_list: RwLock<Option<RobustListHead>>,
1033 pub fn get_robust_list(&self) -> RwLockReadGuard<Option<RobustListHead>> { in get_robust_list() argument
1038 pub fn set_robust_list(&self, new_robust_list: Option<RobustListHead>) { in set_robust_list() argument