Home
last modified time | relevance | path

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

/DragonOS/kernel/src/libs/futex/
H A Dfutex.rs572 let old_val = Self::arch_futex_atomic_op_inuser(op, oparg, uaddr)?; in futex_atomic_op_inuser() localVariable
576 return Ok(cmparg == old_val); in futex_atomic_op_inuser()
579 return Ok(cmparg != old_val); in futex_atomic_op_inuser()
582 return Ok(cmparg < old_val); in futex_atomic_op_inuser()
585 return Ok(cmparg <= old_val); in futex_atomic_op_inuser()
588 return Ok(cmparg >= old_val); in futex_atomic_op_inuser()
591 return Ok(cmparg > old_val); in futex_atomic_op_inuser()
/DragonOS/kernel/src/filesystem/fat/
H A Dfs.rs1108 let old_val: u16 = cursor.read_u16()?; in set_entry() localVariable
1110 (old_val & 0x000f) | (raw_val << 4) in set_entry()
1112 (old_val & 0xf000) | raw_val in set_entry()