Home
last modified time | relevance | path

Searched refs:one (Results 1 – 25 of 108) sorted by relevance

12345

/tools/testing/selftests/rcutorture/doc/
DTREE_RCU-kconfig.txt8 CONFIG_DEBUG_OBJECTS_RCU_HEAD -- Do one.
9 CONFIG_HZ_PERIODIC -- Do one.
11 CONFIG_NO_HZ_FULL -- Do two, one with partial CPU enablement.
15 CONFIG_RCU_BOOST -- one of PREEMPT_RCU.
17 CONFIG_RCU_FANOUT_LEAF -- Do one non-default.
18 CONFIG_RCU_FAST_NO_HZ -- Do one, but not with all nohz_full CPUs.
19 CONFIG_RCU_NOCB_CPU -- Do three, one with no rcu_nocbs CPUs, one with
20 rcu_nocbs=0, and one with all rcu_nocbs CPUs.
22 CONFIG_SMP -- Need one !SMP for PREEMPT_RCU.
24 CONFIG_RCU_EQS_DEBUG -- Do at least one for CONFIG_NO_HZ_FULL and not.
[all …]
/tools/testing/selftests/bpf/progs/
Dconnect4_prog.c113 int zero = 0, one = 1; in set_keepalive() local
115 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_KEEPALIVE, &one, sizeof(one))) in set_keepalive()
118 if (bpf_setsockopt(ctx, SOL_TCP, TCP_KEEPIDLE, &one, sizeof(one))) in set_keepalive()
120 if (bpf_setsockopt(ctx, SOL_TCP, TCP_KEEPINTVL, &one, sizeof(one))) in set_keepalive()
122 if (bpf_setsockopt(ctx, SOL_TCP, TCP_KEEPCNT, &one, sizeof(one))) in set_keepalive()
124 if (bpf_setsockopt(ctx, SOL_TCP, TCP_SYNCNT, &one, sizeof(one))) in set_keepalive()
126 if (bpf_setsockopt(ctx, SOL_TCP, TCP_USER_TIMEOUT, &one, sizeof(one))) in set_keepalive()
Dtest_sockmap_kern.h154 const int one = 1; in bpf_prog3() local
156 f = bpf_map_lookup_elem(&sock_skb_opts, &one); in bpf_prog3()
176 f = bpf_map_lookup_elem(&sock_skb_opts, &one); in bpf_prog3()
237 int *bytes, zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5; in bpf_prog4() local
247 end = bpf_map_lookup_elem(&sock_bytes, &one); in bpf_prog4()
267 int zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5, key = 0; in bpf_prog6() local
280 end = bpf_map_lookup_elem(&sock_bytes, &one); in bpf_prog6()
348 int zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5, err = 0; in bpf_prog10() local
357 end = bpf_map_lookup_elem(&sock_bytes, &one); in bpf_prog10()
Dtest_mmap.c32 int zero = 0, one = 1, two = 2, far = 1500; in test_mmap() local
44 bpf_map_update_elem(&data_map, &one, &val, 0); in test_mmap()
/tools/testing/selftests/seccomp/
Dseccomp_benchmark.c79 double one = i_one, one_bump = one * 0.01; in approx() local
82 one_bump = one + MAX(one_bump, 2.0); in approx()
86 if (one == two || in approx()
87 (one > two && one <= two_bump) || in approx()
88 (two > one && two <= one_bump)) in approx()
101 unsigned long long one, bool (*eval)(int, int), unsigned long long two) in compare() argument
106 (long long)one, name_eval, (long long)two); in compare()
107 if (one > INT_MAX) { in compare()
108 printf("Miscalculation! Measurement went negative: %lld\n", (long long)one); in compare()
116 good = eval(one, two); in compare()
/tools/testing/selftests/net/
Dtcp_inq.c99 int c, one = 1, inq = -1; in main() local
129 &one, sizeof(one)) != 0) in main()
146 if (setsockopt(fd, SOL_TCP, TCP_INQ, &one, sizeof(one)) != 0) in main()
Dnettest.c365 int one = 1; in set_pktinfo_v4() local
368 rc = setsockopt(sd, SOL_IP, IP_PKTINFO, &one, sizeof(one)); in set_pktinfo_v4()
377 int one = 1; in set_recvpktinfo_v6() local
380 rc = setsockopt(sd, SOL_IPV6, IPV6_RECVPKTINFO, &one, sizeof(one)); in set_recvpktinfo_v6()
389 int one = 1; in set_recverr_v4() local
392 rc = setsockopt(sd, SOL_IP, IP_RECVERR, &one, sizeof(one)); in set_recverr_v4()
401 int one = 1; in set_recverr_v6() local
404 rc = setsockopt(sd, SOL_IPV6, IPV6_RECVERR, &one, sizeof(one)); in set_recverr_v6()
468 unsigned int one = 1; in set_broadcast() local
471 if (setsockopt(sd, SOL_SOCKET, SO_BROADCAST, &one, sizeof(one)) != 0) { in set_broadcast()
[all …]
Dpsock_snd.c220 const int one = 1; in do_tx() local
231 setsockopt(fd, SOL_PACKET, PACKET_QDISC_BYPASS, &one, sizeof(one))) in do_tx()
235 setsockopt(fd, SOL_PACKET, PACKET_VNET_HDR, &one, sizeof(one))) in do_tx()
Dipv6_flowlabel.c186 const int one = 1; in main() local
206 if (setsockopt(fdr, SOL_IPV6, IPV6_FLOWINFO, &one, sizeof(one))) in main()
/tools/memory-model/litmus-tests/
DZ6.0+pooncerelease+poacquirerelease+fencembonceonce.litmus7 * when there is but one non-reads-from (AKA non-rf) link, does not suffice
8 * if there is more than one. Of the three processes, only P1() reads from
12 * When there are two or more non-rf links, you typically will need one
DISA2+pooncerelease+poacquirerelease+poacquireonce.litmus8 * that the release-acquire chain suffices is because in all but one
10 * write. In memory-model-speak, there is only one non-reads-from
DR+poonceonces.litmus6 * This is the unordered (thus lacking smp_mb()) version of one of the
DLB+poacquireonce+pooncerelease.litmus7 * test, where each process reads from one of two variables then writes
DREADME54 load-buffering litmus test, where each process reads from one
59 litmus test, where each process reads from one of two variables then
71 in one process, and use an acquire load followed by a pair of
75 Protect the access with a lock in one process, and use an
95 the loads) suffice for the message-passing litmus test, where one
101 This is the fully ordered (via smp_mb()) version of one of
168 sign ("+"), and one string for each process, separated by plus signs.
174 For example, if the one process writes to a pair of variables, and
177 left-hand end of the second row of tests on page one of test6.pdf.
DR+fencembonceonces.litmus6 * This is the fully ordered (via smp_mb()) version of one of the classic
/tools/perf/util/
Dexpr.c234 int expr__find_other(const char *expr, const char *one, in expr__find_other() argument
239 if (one) in expr__find_other()
240 expr__del_id(ctx, one); in expr__find_other()
Dexpr.h57 int expr__find_other(const char *expr, const char *one,
/tools/kvm/kvm_stat/
Dkvm_stat.txt65 run in batch mode for one second
83 limit statistics to one virtual machine (guest name)
104 limit statistics to one virtual machine (pid)
/tools/perf/tests/
Dsample-parsing.c72 COMP(read.one.value); in samples_same()
82 COMP(read.one.id); in samples_same()
263 sample.read.one.value = 0x08789faeb786aa87ULL; in do_test()
264 sample.read.one.id = 99; in do_test()
/tools/bpf/bpftool/Documentation/
Dbpftool-iter.rst32 (e.g., one task, one bpf_map, etc.). User space can
/tools/testing/kunit/test_data/
Dtest_is_test_passed-failure.log36 kunit example: one or more tests failed
/tools/testing/selftests/net/forwarding/
DREADME4 One of the nice things about network namespaces is that they allow one
38 not always available. With the VRF-based approach one merely needs to
/tools/memory-model/scripts/
DREADME34 with the absolute pathnames of the tests to run provided one
64 Run the litmus tests whose absolute pathnames are provided one
/tools/memory-model/Documentation/
Drecipes.txt15 there is only one CPU or only one memory location is accessed, and the
22 If there is only one CPU on the one hand or only one variable
38 3. If there is only one variable but multiple CPUs, that variable
203 The MP pattern has one CPU execute a pair of stores to a pair of variables
216 Use of smp_store_release() and smp_load_acquire() is one way to force
353 The LB pattern has one CPU load from one variable and then store to a
475 that one CPU first stores to one variable and then loads from a second,
558 o If all but one of the links are write-to-read links, then a
562 o If more than one of the links are something other than
/tools/lib/bpf/
DREADME.rst11 All types and functions provided by libbpf API should have one of the
20 and map one-on-one to corresponding commands.
84 non-static libbpf symbols should have one of the prefixes mentioned in

12345