Searched refs:set_val (Results 1 – 1 of 1) sorted by relevance
/DragonOS/user/apps/test-for-robustfutex/src/ |
H A D | main.rs | 45 pub fn set_val(&self, val: u32, offset: isize) { in set_val() method 69 pub fn set_val(&self, val: i32, offset: isize) { in set_val() method 113 lock.set_val(0, offset_count); in futex_wait() 117 futexes.set_val(futexes.get_val(offset_futex) | tid, offset_futex); in futex_wait() 124 futexes.set_val(futex_val | 0x8000_0000, offset_futex); in futex_wait() 146 lock.set_val(1, offset_count); in futex_wait() 149 futexes.set_val(futexes.get_val(offset_futex) & 0xc000_0000, offset_futex); in futex_wait() 162 lock.set_val(1, offset_count); in futex_wake() 165 futexes.set_val(futexes.get_val(offset_futex) & 0xc000_0000, offset_futex); in futex_wake() 173 futexes.set_val(futex_val & !(1 << 31), offset_futex); in futex_wake() [all …]
|