Home
last modified time | relevance | path

Searched refs:two (Results 1 – 25 of 97) sorted by relevance

1234

/tools/testing/selftests/seccomp/
A Dseccomp_benchmark.c86 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 Dshort_splice_read.sh100 two=$(echo "$full" | grep -m1 . | cut -c-2)
110 if ! do_splice "$filename" 2 "$two" "'$two'" ; then
/tools/testing/selftests/bpf/prog_tests/
A Dsubprogs.c15 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 Dtest_sockmap_ktls.c36 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 Dtest_mmap.c30 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 Dtest_sockmap_kern.h98 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 Dcpumap.c251 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 Dintel-hybrid.txt10 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 Dperf-bench.txt32 (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 DZ6.0+pooncerelease+poacquirerelease+fencembonceonce.litmus9 * 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 DCoWW+poonceonce.litmus6 * Test of write-write coherence, that is, whether or not two successive
A DCoRR+poonceonce+Once.litmus6 * Test of read-read coherence, that is, whether or not two successive
A DLB+poacquireonce+pooncerelease.litmus7 * test, where each process reads from one of two variables then writes
A DS+poonceonces.litmus6 * Starting with a two-process release-acquire chain ordering P0()'s
A DMP+unlocklockonceonce+fencermbonceonce.litmus6 * If two locked critical sections execute on the same CPU, stores in the
A DREADME6 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 DIRIW+poonceonces+OnceOnce.litmus8 * needed to cause two different reading processes to agree on the order
/tools/testing/selftests/net/packetdrill/
A Dtcp_zerocopy_epoll_edge.pkt7 // fire two sends with MSG_ZEROCOPY and receive the acks. confirm that EPOLLERR
37 // receive only one EPOLLERR for the two sends above.
A Dtcp_zerocopy_epoll_exclusive.pkt8 // fire two sends with MSG_ZEROCOPY and receive the acks. confirm that EPOLLERR
39 // receive only one EPOLLERR for the two sends above.
A Dtcp_zerocopy_epoll_oneshot.pkt7 // 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 DTREE_RCU-kconfig.txt10 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 Dstats.py215 two = __run_inf_loop("cat /proc/net/dev")
216 defer(two.kill)
221 ksft_is(two.poll(), None)
/tools/power/pm-graph/config/
A Dfreeze.cfg54 # Run two suspend/resumes back to back (default: false)
58 # Time delay between the two test runs in ms (default: 0 ms)
A Dstandby.cfg54 # 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 Devent-mod.tc169 echo two events should be enabled
175 echo only two events should be enabled

Completed in 21 milliseconds

1234