Lines Matching defs:old

49 	void *old;
87 ksmo.old_addr = (uint64_t)desc->old;
88 memcpy(desc->old_value, desc->old, desc->size);
183 int diff = memcmp(desc->old_value, desc->old, desc->size);
224 #define CMPXCHG_OLD(o) .old = (o)
328 uint8_t __aligned(16) old[16];
334 memcpy(&old, mem1, 16);
337 CMPXCHG_OLD(old + offset),
345 memcpy(&old, mem1, 16);
347 old[offset]++;
350 CMPXCHG_OLD(old + offset),
356 ASSERT_MEM_EQ(&old, mem1, 16);
544 static __uint128_t permutate_bits(bool guest, int i, int size, __uint128_t old)
565 return old;
566 new = rotate(16, old, i * 8);
581 return rotate(size, old, amount);
590 uint32_t old = *old_addr;
592 asm volatile ("cs %[old],%[new],%[address]"
593 : [old] "+d" (old),
598 ret = old == (uint32_t)*old_addr;
599 *old_addr = old;
603 uint64_t old = *old_addr;
605 asm volatile ("csg %[old],%[new],%[address]"
606 : [old] "+d" (old),
611 ret = old == (uint64_t)*old_addr;
612 *old_addr = old;
616 __uint128_t old = *old_addr;
618 asm volatile ("cdsg %[old],%[new],%[address]"
619 : [old] "+d" (old),
624 ret = old == *old_addr;
625 *old_addr = old;
638 __uint128_t old, new;
646 old = 1;
647 } while (!_cmpxchg(16, mem1, &old, 0));
651 new = permutate_bits(true, i + j, size, old);
652 } while (!_cmpxchg(size, mem2 + offset, &old, new));
676 __uint128_t old, new;
687 old = 0;
691 CMPXCHG_OLD(&old),
697 new = permutate_bits(false, i + j, size, old);
700 CMPXCHG_OLD(quad_to_char(&old, size)),
804 __uint128_t old = 0;
807 CMPXCHG_OLD(&old), KEY(2));
1051 __uint128_t old;
1062 CMPXCHG_OLD(&old));
1068 CMPXCHG_OLD(&old));
1073 CMPXCHG_OLD(&old));