Home
last modified time | relevance | path

Searched refs:cases (Results 1 – 25 of 560) sorted by relevance

12345678910>>...23

/linux/tools/testing/selftests/drivers/net/hw/
H A Dcsum.py94 cases = []
96 cases.append(test_builder("rx_tcp", cfg, ipver, False, "-t"))
97 cases.append(test_builder("rx_tcp_invalid", cfg, ipver, False, "-t -E"))
99 cases.append(test_builder("rx_udp", cfg, ipver, False, ""))
100 cases.append(test_builder("rx_udp_invalid", cfg, ipver, False, "-E"))
102 cases.append(test_builder("tx_udp_csum_offload", cfg, ipver, True, "-U"))
103 cases.append(test_builder("tx_udp_zero_checksum", cfg, ipver, True, "-U -Z"))
105 ksft_run(cases=cases, args=(cfg, ))
H A Dtso.py298 # Run non-tunnel test cases under the BIG TCP limits too.
404 cases = []
412 cases += [
417 cases.append(test_builder(info[0], cfg, outer_ipver, info[2], None, outer_ipver))
419 ksft_run(cases=cases, args=(cfg, ))
H A Ddevlink_rate_tc_bw.py417 Main entry point for running the test cases.
431 cases = [test_no_tc_mapping_bandwidth, test_tc_mapping_bandwidth]
433 ksft_run(cases=cases, args=(cfg,))
/linux/tools/testing/selftests/net/lib/py/
H A Dksft.py286 ksft_run(cases=[my_case], args=(cfg, ))
288 Will generate cases:
346 def _ksft_generate_test_cases(cases, globs, case_pfx, args, cli_args):
352 cases = cases or []
362 cases.append(value)
365 for func in cases:
392 def ksft_run(cases=None, globs=None, case_pfx=None, args=()):
394 test_cases = _ksft_generate_test_cases(cases, globs, case_pfx, args,
213 ksft_run(cases=None, globs=None, case_pfx=None, args=()) global() argument
/linux/tools/testing/selftests/net/
H A Dudp_splice_checksum.c34 static const struct test_case cases[] = { variable
351 ksft_set_plan(ARRAY_SIZE(families) * 2 * ARRAY_SIZE(cases)); in main()
355 for (i = 0; i < ARRAY_SIZE(cases); i++) { in main()
356 ret = run_case(family, connected, &cases[i], in main()
362 cases[i].name, in main()
368 cases[i].name); in main()
H A Dlink_netns.py119 cases = [
127 for src_net, netns, link_netns, exp1, exp2 in cases:
158 cases = [
170 for src_net, netns, link_netns, peer_netns, exp in cases:
/linux/scripts/coccinelle/misc/
H A Dcond_no_effect.cocci5 // There can be false positives in cases where the positional
7 // is a placeholder for not yet handled cases.
17 // the two known cases are:
38 // All other cases look like bugs or at least lack of documentation
H A Dbadty.cocci4 //# This makes an effort to find cases where the argument to sizeof is wrong
7 //# to the the memory being allocated. There are false positives in cases the
/linux/Documentation/livepatch/
H A Dreliable-stacktrace.rst41 In some cases it is legitimate to omit specific functions from the trace,
42 but all other functions must be reported. These cases are described in
45 Secondly, the reliable stacktrace function must be robust to cases where
47 function should attempt to detect such cases and return a non-zero error
49 an unsafe way. Specific cases are described in further detail below.
55 To ensure that kernel code can be correctly unwound in all cases,
63 In some cases, an unwinder may require metadata to correctly unwind.
115 To ensure that such cases do not result in functions being omitted from a
148 Architectures which cannot identify when it is reliable to unwind such cases
154 Architectures which can identify when it is reliable to unwind such cases (or
[all …]
/linux/net/bluetooth/
H A DKconfig123 cases are run first thing at module load time. When the Bluetooth
124 subsystem is compiled into the kernel image, then the test cases
128 bool "ECDH test cases"
131 Run test cases for ECDH cryptographic functionality used by the
135 bool "SMP test cases"
138 Run test cases for SMP cryptographic functionality, including both
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlibbpf_probes.c102 } cases[] = { in test_libbpf_probe_helpers() local
113 size_t case_cnt = ARRAY_SIZE(cases), i; in test_libbpf_probe_helpers()
117 const struct case_def *d = &cases[i]; in test_libbpf_probe_helpers()
/linux/tools/testing/selftests/rcutorture/doc/
H A DTINY_RCU.txt1 This document gives a brief rationale for the TINY_RCU test cases.
19 In common code tested by TREE_RCU test cases.
/linux/Documentation/RCU/
H A Drcuref.rst11 those unusual cases where percpu-ref would consume too much memory,
82 update (write) stream. In such cases, atomic_inc_not_zero() might be
84 use atomic_inc() in such cases.
87 search_and_reference() code path. In such cases, the
139 In cases where delete() can sleep, synchronize_rcu() can be called from
/linux/Documentation/power/regulator/
H A Ddesign.rst24 Consumer use cases
36 The consumer API should be structured so that these use cases are
/linux/sound/hda/core/
H A DKconfig26 # A fallback is provided so that the code compiles in all cases.
34 # A fallback is provided so that the code compiles in all cases.
/linux/Documentation/devicetree/bindings/iommu/
H A Diommu.txt44 the specific IOMMU. Below are a few examples of typical use-cases:
51 In such cases the number of cells will usually be 1 as in the next case.
53 in order to enable translation for a given master. In such cases the single
54 address cell corresponds to the master device's ID. In some cases more than
62 Note that these are merely examples and real-world use-cases may use different
85 have a means to turn off translation. But it is invalid in such cases to
/linux/tools/testing/selftests/core/
H A Dclose_range_test.c896 } cases[] = { in TEST() local
909 for (c = 0; c < ARRAY_SIZE(cases); c++) { in TEST()
914 ret = sys_close_range(cases[c].fd, cases[c].max_fd, in TEST()
915 cases[c].flags); in TEST()
921 bool kept = fd >= cases[c].fd && in TEST()
922 fd <= cases[c].max_fd; in TEST()
1195 } cases[] = { in TEST() local
1204 for (c = 0; c < ARRAY_SIZE(cases); c++) { in TEST()
1209 ret = sys_close_range(cases[c].fd, cases[c].max_fd, in TEST()
1217 bool kept = !(i % 2) || (fd >= cases[c].fd && in TEST()
[all …]
/linux/tools/testing/selftests/tc-testing/creating-testcases/
H A DAddingTestCases.txt1 tdc - Adding test cases for tdc
10 template.json for the required JSON format for test cases.
18 If you wish to store your custom test cases elsewhere, be sure to run
83 in the test cases. tdc will output a series of TAP results for the skipped
/linux/lib/kunit/
H A DKconfig82 In most cases this should be left as Y. Only if additional opt-in
94 In most cases this should be left as Y. Only if additional opt-in
125 Sets the default timeout, in seconds, for Kunit test cases. This value
132 cases.
/linux/tools/testing/selftests/tc-testing/creating-plugins/
H A DAddingPlugins.txt15 - adding commands to be run before and/or after the test cases
16 - adding commands to be run before and/or after the execute phase of the test cases
59 the TAP output for the extra test cases.
/linux/Documentation/dev-tools/kunit/
H A Dindex.rst28 of test cases called test suites. The tests either run on kernel boot
30 failed test cases in the kernel log. The test results appear in
78 Arrange-Act-Assert. This is a great way to structure test cases and
/linux/Documentation/arch/powerpc/
H A Dultravisor.rst312 Use cases
386 Use cases
437 Use cases
483 Use cases
544 Use cases
593 Use cases
638 Use cases
673 Use cases
720 Use cases
770 Use cases
[all …]
/linux/arch/m68k/fpsp040/
H A Dsto_res.S35 cmpib #3,%d0 |check for fp0/fp1 cases
68 cmpib #3,%d0 |check for fp0/fp1 cases
/linux/tools/net/sunrpc/xdrgen/generators/
H A Dunion.py69 for case in node.cases:
186 for case in node.cases:
196 for case in node.cases:
344 for case in node.cases:
354 for case in node.cases:
/linux/Documentation/gpu/rfc/
H A Di915_small_bar.rst5 I915_MEMORY_CLASS_DEVICE), but in some cases the final BAR size might still be
6 smaller than the total probed_size. In such cases, only some subset of

12345678910>>...23