Home
last modified time | relevance | path

Searched refs:RobustList (Results 1 – 2 of 2) sorted by relevance

/DragonOS/user/apps/test-for-robustfutex/src/
H A Dmain.rs80 struct RobustList { struct
81 next: *const RobustList, argument
86 list: RobustList,
98 list_op_pending: *const RobustList,
194 list: RobustList { next: ptr::null() }, in set_list()
202 head_ref_mut.list.next = futexes.get_addr(0) as *const RobustList; in set_list() constant
207 list_2_ref_mut.next = futexes.get_addr(1) as *const RobustList; in set_list() constant
235 list: RobustList { next: ptr::null() }, in test01()
271 head_ref_mut.list.next = futexes.offset(0) as *const RobustList; in test01() constant
274 list_2_ref_mut.next = futexes.offset(1) as *const RobustList; in test01() constant
/DragonOS/kernel/src/libs/futex/
H A Dfutex.rs649 pub struct RobustList { struct
655 list: RobustList, argument
855 while self.entry.data() != &self.robust_list_head.list as *const RobustList as usize { in next() constant
871 self.entry.as_ptr::<RobustList>(), in next()
872 mem::size_of::<RobustList>(), in next()
877 .read_one_from_user::<RobustList>(0) in next()