Searched refs:LockRef (Results 1 – 2 of 2) sorted by relevance
10 pub struct LockRef { struct17 pub struct LockRef { argument32 impl LockRef { implementation33 pub const INIT: LockRef = LockRef {38 pub fn new() -> LockRef { in new()39 assert_eq!(size_of::<LockRef>(), 8); in new()40 return LockRef::INIT; in new()55 let mut old: LockRef = LockRef::INIT; in cmpxchg_loop()59 let mut new = LockRef::INIT; in cmpxchg_loop()61 *(&mut new as *mut LockRef as *mut usize as *mut u64) = in cmpxchg_loop()[all …]
17 pub struct LockRef {24 pub struct LockRef {