| /tools/testing/selftests/seccomp/ |
| A D | seccomp_benchmark.c | 86 double two = i_two, two_bump = two * 0.1; in approx() local 89 two_bump = two + MAX(two_bump, 2.0); in approx() 92 if (one == two || in approx() 93 (one > two && one <= two_bump) || in approx() 94 (two > one && two <= one_bump)) in approx() 107 unsigned long long one, bool (*eval)(int, int), unsigned long long two, in compare() argument 119 (long long)one, name_eval, (long long)two); in compare() 125 if (two > INT_MAX) { in compare() 126 ksft_print_msg("Miscalculation! Measurement went negative: %lld\n", (long long)two); in compare() 131 good = eval(one, two); in compare()
|
| /tools/testing/selftests/splice/ |
| A D | short_splice_read.sh | 100 two=$(echo "$full" | grep -m1 . | cut -c-2) 110 if ! do_splice "$filename" 2 "$two" "'$two'" ; then
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | subprogs.c | 15 char two = '2'; in toggle_jit_harden() local 20 write(ctx->fd, &two, sizeof(two)); in toggle_jit_harden()
|
| /tools/testing/selftests/bpf/progs/ |
| A D | test_sockmap_ktls.c | 36 int two = 2; in prog_sk_policy_redir() local 39 return bpf_msg_redirect_map(msg, &sock_map, two, 0); in prog_sk_policy_redir()
|
| A D | test_mmap.c | 30 int zero = 0, one = 1, two = 2, far = 1500; in test_mmap() local 36 bpf_map_update_elem(&data_map, &two, (const void *)&in_val, 0); in test_mmap()
|
| A D | test_sockmap_kern.h | 98 int *f, two = 2; in bpf_prog1() local 100 f = bpf_map_lookup_elem(&sock_skb_opts, &two); in bpf_prog1() 236 int *bytes, zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5; in bpf_prog4() local 249 start_push = bpf_map_lookup_elem(&sock_bytes, &two); in bpf_prog4() 266 int zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5, key = 0; in bpf_prog6() local 283 start_push = bpf_map_lookup_elem(&sock_bytes, &two); in bpf_prog6() 352 int zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5, err = 0; in bpf_prog10() local 364 start_push = bpf_map_lookup_elem(&sock_bytes, &two); in bpf_prog10()
|
| /tools/perf/tests/ |
| A D | cpumap.c | 251 struct perf_cpu_map *two = perf_cpu_map__new("2"); in test__cpu_map_equal() local 252 struct perf_cpu_map *empty = perf_cpu_map__intersect(one, two); in test__cpu_map_equal() 255 struct perf_cpu_map **maps[] = {&empty, &any, &one, &two, &pair}; in test__cpu_map_equal() 269 perf_cpu_map__merge(&two, one); in test__cpu_map_equal() 270 TEST_ASSERT_VAL("pair", perf_cpu_map__equal(pair, two)); in test__cpu_map_equal()
|
| /tools/perf/Documentation/ |
| A D | intel-hybrid.txt | 10 Kernel exports two new cpu pmus via sysfs: 49 Create two events for one hardware event automatically 52 two events are created automatically. One is for atom, the other is for 84 perf stat -e cycles -a (use system-wide in this example), two events 118 For perf-stat result, it displays two events: 137 As previous, two events are created. 173 it creates two default 'cycles' and adds them to event list. One
|
| A D | perf-bench.txt | 32 (executing 1000000 pipe operations between two tasks) 140 (executing 1000000 pipe operations between two tasks) 147 (executing 1000 pipe operations between two tasks) 156 # Executed 1000000 pipe operations between two processes
|
| /tools/memory-model/litmus-tests/ |
| A D | Z6.0+pooncerelease+poacquirerelease+fencembonceonce.litmus | 9 * P0's write, which means that there are two non-rf links: P1() to P2() 12 * When there are two or more non-rf links, you typically will need one
|
| A D | CoWW+poonceonce.litmus | 6 * Test of write-write coherence, that is, whether or not two successive
|
| A D | CoRR+poonceonce+Once.litmus | 6 * Test of read-read coherence, that is, whether or not two successive
|
| A D | LB+poacquireonce+pooncerelease.litmus | 7 * test, where each process reads from one of two variables then writes
|
| A D | S+poonceonces.litmus | 6 * Starting with a two-process release-acquire chain ordering P0()'s
|
| A D | MP+unlocklockonceonce+fencermbonceonce.litmus | 6 * If two locked critical sections execute on the same CPU, stores in the
|
| A D | README | 6 Test of read-read coherence, that is, whether or not two 20 Test of write-write coherence, that is, whether or not two 26 sufficient to cause two different reading processes to agree on 34 needed to cause two different reading processes to agree on the 55 of two variables then writes to the other? 59 litmus test, where each process reads from one of two variables then 106 but with two processes instead of three.) 142 These two are members of an extension of the MP litmus-test
|
| A D | IRIW+poonceonces+OnceOnce.litmus | 8 * needed to cause two different reading processes to agree on the order
|
| /tools/testing/selftests/net/packetdrill/ |
| A D | tcp_zerocopy_epoll_edge.pkt | 7 // fire two sends with MSG_ZEROCOPY and receive the acks. confirm that EPOLLERR 37 // receive only one EPOLLERR for the two sends above.
|
| A D | tcp_zerocopy_epoll_exclusive.pkt | 8 // fire two sends with MSG_ZEROCOPY and receive the acks. confirm that EPOLLERR 39 // receive only one EPOLLERR for the two sends above.
|
| A D | tcp_zerocopy_epoll_oneshot.pkt | 7 // fire two sends with MSG_ZEROCOPY and receive the acks. confirm that EPOLLERR 38 // receive only one EPOLLERR for the two sends above.
|
| /tools/testing/selftests/rcutorture/doc/ |
| A D | TREE_RCU-kconfig.txt | 10 CONFIG_NO_HZ_IDLE -- Do those not otherwise specified. (Groups of two.) 11 CONFIG_NO_HZ_FULL -- Do two, one with partial CPU enablement.
|
| /tools/testing/selftests/drivers/net/ |
| A D | stats.py | 215 two = __run_inf_loop("cat /proc/net/dev") 216 defer(two.kill) 221 ksft_is(two.poll(), None)
|
| /tools/power/pm-graph/config/ |
| A D | freeze.cfg | 54 # Run two suspend/resumes back to back (default: false) 58 # Time delay between the two test runs in ms (default: 0 ms)
|
| A D | standby.cfg | 54 # Run two suspend/resumes back to back (default: false) 58 # Time delay between the two test runs in ms (default: 0 ms)
|
| /tools/testing/selftests/ftrace/test.d/event/ |
| A D | event-mod.tc | 169 echo two events should be enabled 175 echo only two events should be enabled
|