Lines Matching defs:new
326 uint8_t __aligned(16) new[16] = {};
334 MOP(test->vm, ABSOLUTE, CMPXCHG, new + offset,
341 memcpy(mem1 + offset, new + offset, size);
345 new[offset]++;
347 MOP(test->vm, ABSOLUTE, CMPXCHG, new + offset,
528 __uint128_t new;
537 new = rotate(16, old, i * 8);
538 byte0 = new & 0xff;
539 new &= ~0xff;
540 new = rotate(16, new, -i * 8);
541 new = rotate(16, new, j * 8);
542 byte1 = new & 0xff;
543 new = (new & ~0xff) | byte0;
544 new = rotate(16, new, -j * 8);
545 new = rotate(16, new, i * 8);
546 new = new | byte1;
547 new = rotate(16, new, -i * 8);
548 return new;
555 static bool _cmpxchg(int size, void *target, __uint128_t *old_addr, __uint128_t new)
563 asm volatile ("cs %[old],%[new],%[address]"
566 : [new] "d" ((uint32_t)new)
576 asm volatile ("csg %[old],%[new],%[address]"
579 : [new] "d" ((uint64_t)new)
589 asm volatile ("cdsg %[old],%[new],%[address]"
592 : [new] "d" (new)
609 __uint128_t old, new;
622 new = permutate_bits(true, i + j, size, old);
623 } while (!_cmpxchg(size, mem2 + offset, &old, new));
647 __uint128_t old, new;
659 new = 1;
660 MOP(t.vm, ABSOLUTE, CMPXCHG, &new,
661 sizeof(new), GADDR_V(mem1),
668 new = permutate_bits(false, i + j, size, old);
669 MOP(t.vm, ABSOLUTE, CMPXCHG, quad_to_char(&new, size),
801 * Set the guest program new PSW, so the guest state is not clobbered.
1002 HOST_SYNC(t.vcpu, STAGE_IDLED); /* To sync new state to SIE block */
1006 HOST_SYNC(t.vcpu, STAGE_IDLED); /* Run to sync new state */