/tools/testing/selftests/kvm/x86_64/ |
D | hyperv_clock.c | 53 u64 tsc_freq, r1, r2, t1, t2; in check_tsc_msr_rdtsc() local 64 r2 = rdtsc(); in check_tsc_msr_rdtsc() 66 r2 = (r2 + rdtsc()) / 2; in check_tsc_msr_rdtsc() 68 GUEST_ASSERT(r2 > r1 && t2 > t1); in check_tsc_msr_rdtsc() 71 delta_ns = ((t2 - t1) * 100) - ((r2 - r1) * 1000000000 / tsc_freq); in check_tsc_msr_rdtsc() 86 u64 r1, r2, t1, t2; in check_tsc_msr_tsc_page() local 97 r2 = rdmsr(HV_X64_MSR_TIME_REF_COUNT); in check_tsc_msr_tsc_page() 98 GUEST_ASSERT(r2 >= t1 && r2 - t2 < 100000); in check_tsc_msr_tsc_page() 180 u64 tsc_freq, r1, r2, t1, t2; in host_check_tsc_msr_rdtsc() local 191 r2 = rdtsc(); in host_check_tsc_msr_rdtsc() [all …]
|
/tools/memory-model/litmus-tests/ |
D | SB+rfionceonce-poonceonces.litmus | 14 int r2; 18 r2 = READ_ONCE(*y); 32 exists (0:r2=0 /\ 1:r4=0)
|
D | ISA2+pooncelock+pooncelock+pombonce.litmus | 33 int r2; 35 r2 = READ_ONCE(*z); 40 exists (1:r0=1 /\ 2:r2=1 /\ 2:r1=0)
|
D | MP+polockonce+poacquiresilsil.litmus | 25 int r2; 29 r2 = spin_is_locked(lo); 33 exists (1:r1=1 /\ 1:r2=0 /\ 1:r3=1) (* Bad outcome. *)
|
D | MP+polockmbonce+poacquiresilsil.litmus | 26 int r2; 30 r2 = spin_is_locked(lo); 34 exists (1:r1=1 /\ 1:r2=0 /\ 1:r3=1) (* Bad outcome. *)
|
D | README | 187 int r2; 191 r2 = READ_ONCE(*y);
|
/tools/testing/selftests/powerpc/security/ |
D | branch_loops.S | 46 ld r6, jump_table@got(%r2) 49 ld r7, .Lstate_0@got(%r2) 75 ld r4, 2f@got(%r2)
|
/tools/testing/selftests/powerpc/switch_endian/ |
D | switch_endian_test.S | 21 ld r15, pattern@TOC(%r2) 81 ld r4, success_message@got(%r2) 94 ld r4, failure_message@got(%r2)
|
/tools/testing/selftests/net/ |
D | icmp_redirect.sh | 145 for ns in h1 h2 r1 r2; do 175 for ns in h1 h2 r1 r2; do 202 ip -netns h1 li set r2h1 netns r2 name eth0 up 206 ip -netns h2 li set r2h2 netns r2 name eth2 up 210 ip -netns r1 li set r2r1 netns r2 name eth1 up 253 ip -netns r2 addr add dev eth0 ${R2_N1_IP}/24 254 ip -netns r2 -6 addr add dev eth0 ${R2_N1_IP6}/64 nodad 255 ip -netns r2 addr add dev eth1 ${R2_R1_N1_IP}/30 256 ip -netns r2 -6 addr add dev eth1 ${R2_R1_N1_IP6}/126 nodad 257 ip -netns r2 addr add dev eth2 ${R2_N2_IP}/24 [all …]
|
D | vrf_route_leaking.sh | 176 for ns in h1 h2 r1 r2; do 297 for ns in h1 h2 r1 r2; do 317 ip -netns h1 link set r2h1 netns r2 name eth0 up 323 ip -netns h2 link set r2h2 netns r2 name eth1 up 376 ip -netns r2 addr add dev eth0 ${R2_N1_IP}/24 377 ip -netns r2 -6 addr add dev eth0 ${R2_N1_IP6}/64 nodad 378 ip -netns r2 addr add dev eth1 ${R2_N2_IP}/24 379 ip -netns r2 -6 addr add dev eth1 ${R2_N2_IP6}/64 nodad
|
/tools/testing/selftests/powerpc/pmu/ebb/ |
D | ebb_handler.S | 12 #define r2 2 macro 89 0: addis r2,r12,(.TOC.-0b)@ha; \ 90 addi r2,r2,(.TOC.-0b)@l; 96 LOAD_REG_IMMEDIATE(r2, name) \ 97 ld r2,8(r2);
|
/tools/testing/selftests/powerpc/include/ |
D | basic_asm.h | 64 std %r2, STACK_FRAME_TOC_POS(%r1); 67 ld %r2, STACK_FRAME_TOC_POS(%r1); \
|
/tools/testing/selftests/net/forwarding/ |
D | router_multipath.sh | 115 ip link set dev $rp21 master vrf-r2 116 ip link set dev $rp22 master vrf-r2 117 ip link set dev $rp23 master vrf-r2 119 ip link set dev vrf-r2 up 133 ip route add 192.0.2.0/24 vrf vrf-r2 \ 136 ip route add 2001:db8:1::/64 vrf vrf-r2 \ 143 ip route del 2001:db8:1::/64 vrf vrf-r2 144 ip route del 192.0.2.0/24 vrf vrf-r2
|
D | router_mpath_nh_res.sh | 119 ip link set dev $rp21 master vrf-r2 120 ip link set dev $rp22 master vrf-r2 121 ip link set dev $rp23 master vrf-r2 123 ip link set dev vrf-r2 up 140 ip route del 2001:db8:1::/64 vrf vrf-r2 141 ip route del 192.0.2.0/24 vrf vrf-r2 182 ip route add 192.0.2.0/24 vrf vrf-r2 nhid 203 188 ip route add 2001:db8:1::/64 vrf vrf-r2 nhid 206
|
D | router_mpath_nh.sh | 121 ip link set dev $rp21 master vrf-r2 122 ip link set dev $rp22 master vrf-r2 123 ip link set dev $rp23 master vrf-r2 125 ip link set dev vrf-r2 up 142 ip route del 2001:db8:1::/64 vrf vrf-r2 143 ip route del 192.0.2.0/24 vrf vrf-r2 181 ip route add 192.0.2.0/24 vrf vrf-r2 nhid 203 186 ip route add 2001:db8:1::/64 vrf vrf-r2 nhid 206
|
/tools/testing/selftests/bpf/ |
D | README.rst | 96 14: (bf) r2 = r8 97 15: (0f) r2 += r1 99 16: (7b) *(u64 *)(r8 +64) = r2 109 15: (bf) r2 = r7 110 16: (0f) r2 += r1 112 17: (7b) *(u64 *)(r7 +0) = r2 147 21: b7 02 00 00 00 00 00 00 r2 = 0
|
/tools/memory-model/Documentation/ |
D | litmus-tests.txt | 393 8 int r2; 397 12 r2 = READ_ONCE(*y); 410 25 exists (0:r2=0 /\ 1:r4=0) 416 3 0:r2=0; 1:r4=0; 417 4 0:r2=0; 1:r4=1; 418 5 0:r2=1; 1:r4=0; 419 6 0:r2=1; 1:r4=1; 423 10 Condition exists (0:r2=0 /\ 1:r4=0) 446 8 int r2; 450 12 r2 = READ_ONCE(*y); [all …]
|
D | explanation.txt | 124 int r2 = 0; 128 r2 = READ_ONCE(buf); 136 data from buf into a second private variable r2 for copying to 154 from flag and buf, or equivalently, what values r1 and r2 might end up 158 predict that r1 = 42 or r2 = -7, because neither of those values ever 163 r2 will both be 0 at the end. Or P0 might run entirely before P1 164 begins, in which case r1 and r2 will both be 1. 168 store to buf but before the store to flag. In this case, r1 and r2 170 unconditionally then we would instead have r1 = 0 and r2 = 1.) 172 However, the most interesting possibility is where r1 = 1 and r2 = 0. [all …]
|
D | glossary.txt | 78 r0 = READ_ONCE(y); r1 = READ_ONCE(z); r2 = READ_ONCE(x); 83 each pair of memory accesses, the outcome where r0, r1, and r2
|
D | recipes.txt | 428 r2 = READ_ONCE(x); 431 In this case, if r0 and r1 both have final values of 1, then r2 must
|
/tools/perf/arch/arm/tests/ |
D | regs_load.S | 43 str r2, [r0, #R2]
|
/tools/testing/selftests/bpf/progs/ |
D | test_tunnel_kern.c | 36 __u8 r2:1; member 413 gopt.r2 = 0; in _geneve_set_tunnel() 481 gopt.r2 = 0; in _ip6geneve_set_tunnel()
|
/tools/perf/arch/powerpc/util/ |
D | perf_regs.c | 22 SMPL_REG(r2, PERF_REG_POWERPC_R2),
|