Searched refs:test (Results 326 - 350 of 687) sorted by relevance

<<11121314151617181920>>

/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dpmu_event_filter_test.c374 * test code herein has been verified to work on Zen1, Zen2, and Zen3.
444 * the test. Only that they are zero or non-zero.
528 * These are the test cases for the masked events tests.
530 * For each test, the guest enables 3 PMU counters (loads, stores,
532 * provided. The test then verifies that the counters agree with which
606 static int append_test_events(const struct masked_events_test *test, argument
612 evts = use_intel_pmu() ? test->intel_events : test->amd_events;
635 const struct masked_events_test *test = &test_cases[i]; local
637 /* Do any test cas
[all...]
/linux-master/tools/testing/selftests/mm/
H A Duffd-unit-tests.c14 /* The unit test doesn't need a large or random size, make it 32MB for now */
70 /* Arguments to be passed over to each uffd unit test */
124 * return 1 even if some test failed as long as uffd supported, because in
187 uffd_setup_environment(uffd_test_args_t *args, uffd_test_case_t *test, argument
192 uffd_test_case_ops = test->test_case_ops;
203 /* Initialize test arguments */
206 return uffd_test_ctx_init(test->uffd_feature_required, errmsg);
209 static bool uffd_feature_supported(uffd_test_case_t *test) argument
216 return (features & test->uffd_feature_required) ==
217 test
269 struct pin_longterm_test test = { local
1484 uffd_test_case_t *test; local
[all...]
/linux-master/lib/
H A Dcrc32test.c550 /* 100 test cases */
554 u32 length; /* random 11 bit length of test */
558 } const test[] __initconst =
678 bytes += test[i].length;
680 crc ^= __crc32c_le(test[i].crc, test_buf +
681 test[i].start, test[i].length);
689 if (test[i].crc32c_le != __crc32c_le(test[i].crc, test_buf +
690 test[
[all...]
H A Datomic64_test.c33 * @test should be a macro accepting parameters (bit, op, ...)
36 #define FAMILY_TEST(test, bit, op, args...) \
38 test(bit, op, ##args); \
39 test(bit, op##_acquire, ##args); \
40 test(bit, op##_release, ##args); \
41 test(bit, op##_relaxed, ##args); \
H A Dstackinit_kunit.c14 #include <kunit/test.h>
30 /* Location and size tracking to validate fill and test are colocated. */
43 /* Whether the test is expected to fail. */
67 * On m68k, if the leaf function test variable is longer than 8 bytes,
69 * test m68k char arrays, but leave it at 16 for other architectures.
150 * @name: unique string name for the test
154 * @xfail: is this test expected to fail?
158 static noinline void test_ ## name (struct kunit *test) \
164 /* Notice when a new test is larger than expected. */ \
169 /* Clear entire check buffer for 0xFF overlap test
[all...]
/linux-master/kernel/trace/
H A Dtrace_events_filter_test.h3 #define TRACE_SYSTEM test
/linux-master/net/bridge/
H A Dbr_mrp_switchdev.c106 struct switchdev_obj_ring_test_mrp test = { local
119 return br_mrp_switchdev_port_obj(br, &test.obj, interval != 0);
199 struct switchdev_obj_in_test_mrp test = { local
211 return br_mrp_switchdev_port_obj(br, &test.obj, interval != 0);
/linux-master/drivers/net/ethernet/xscale/
H A Dixp46x_ts.h30 u32 test; /* 0x10 Time Sync Test Register */ member in struct:ixp46x_ts_regs
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dtestmode.h46 u8 test[72]; member in union:mt7915_tm_cmd::__anon1974
/linux-master/tools/perf/tests/
H A Devsel-tp-sched.c35 static int test__perf_evsel__tp_sched_test(struct test_suite *test __maybe_unused,
H A Dopenat-syscall.c17 static int test__openat_syscall_event(struct test_suite *test __maybe_unused,
H A Dparse-no-sample-id-all.c60 * test__parse_no_sample_id_all - test parsing with no sample_id_all bit set.
66 * more than one selected event, so this test processes three events: 2
69 * Return: %0 on success, %-1 if the test fails.
71 static int test__parse_no_sample_id_all(struct test_suite *test __maybe_unused,
H A Dbitmap.c44 static int test__bitmap_print(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
/linux-master/tools/perf/arch/x86/tests/
H A Damd-ibs-via-core-pmu.c40 int test__amd_ibs_via_core_pmu(struct test_suite *test __maybe_unused,
/linux-master/arch/alpha/lib/
H A Dstrrchr.S22 zapnot a1, 1, a1 # e0 : zero extend our test character
24 sll a1, 8, t5 # e0 : replicate our test character
39 andnot t1, t4, t1 # .. e1 : clear garbage from null test
40 andnot t3, t4, t3 # e0 : clear garbage from char test
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.h19 struct ethtool_test *test, u64 *data);
/linux-master/arch/s390/lib/
H A Dtest_unwind.c6 #include <kunit/test.h>
494 static void test_unwind_flags(struct kunit *test) argument
499 current_test = test;
500 params = (const struct test_params *)test->param_value;
503 KUNIT_EXPECT_EQ(test, 0, test_unwind_task(&u));
505 KUNIT_EXPECT_EQ(test, 0, test_unwind_irq(&u));
507 KUNIT_EXPECT_EQ(test, 0, unwindme_func1(&u));
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dfib_lookup.c213 const struct fib_lookup_test *test,
222 params->tbid = test->tbid;
223 params->mark = test->mark;
225 if (inet_pton(AF_INET6, test->daddr, params->ipv6_dst) == 1) {
227 if (!(test->lookup_flags & BPF_FIB_LOOKUP_SRC)) {
236 ret = inet_pton(AF_INET, test->daddr, &params->ipv4_dst);
241 if (!(test->lookup_flags & BPF_FIB_LOOKUP_SRC)) {
303 /* The test does not use the skb->data, so
304 * use pkt_v6 for both v6 and v4 test.
212 set_lookup_params(struct bpf_fib_lookup *params, const struct fib_lookup_test *test, int ifindex) argument
H A Dlinked_list.c17 #define TEST(test, off) \
18 { #test "_missing_lock_push_front", \
20 { #test "_missing_lock_push_back", \
22 { #test "_missing_lock_pop_front", \
24 { #test "_missing_lock_pop_back", \
31 #define TEST(test, op) \
32 { #test "_kptr_incorrect_lock_" #op, \
35 { #test "_global_incorrect_lock_" #op, \
38 { #test "_map_incorrect_lock_" #op, \
41 { #test "_inner_map_incorrect_lock
[all...]
H A Dcore_reloc.c391 typedef int (*setup_test_fn)(struct core_reloc_test_case *test);
392 typedef int (*trigger_test_fn)(const struct core_reloc_test_case *test);
423 static int setup_type_id_case_local(struct core_reloc_test_case *test) argument
425 struct core_reloc_type_id_output *exp = (void *)test->output;
426 struct btf *local_btf = btf__parse(test->bpf_obj_file, NULL);
427 struct btf *targ_btf = btf__parse(test->btf_src_file, NULL);
495 static int setup_type_id_case_success(struct core_reloc_test_case *test) { argument
496 struct core_reloc_type_id_output *exp = (void *)test->output;
500 err = setup_type_id_case_local(test);
504 targ_btf = btf__parse(test
518 setup_type_id_case_failure(struct core_reloc_test_case *test) argument
538 __trigger_module_test_read(const struct core_reloc_test_case *test) argument
[all...]
/linux-master/tools/testing/selftests/bpf/
H A Dtest_sockmap.c96 {"test", required_argument, NULL, 't' },
520 /* Special case test for skb ingress + ktls */
756 * socket is not a valid test. So in this case lets not
757 * enable kTLS but still run the test.
953 static int run_options(struct sockmap_options *options, int cg_fd, int test) argument
957 /* If base test skip BPF setup */
958 if (test == BASE || test == BASE_SENDPAGE)
1014 fprintf(stderr, "ERROR: test socket failed: %d\n", err);
1229 int skb_fd = (test
1309 test_to_str(int test) argument
1376 __test_exec(int cgrp, int test, struct sockmap_options *opt) argument
1859 struct _test test[] = { variable in typeref:struct:_test
1987 int test = SELFTESTS; local
[all...]
/linux-master/arch/m68k/fpsp040/
H A Dskeleton.S105 cmpib #VER_40,(%sp) |test version number
108 btstb #E1,E_BYTE(%a6) |test for E1 set
110 btstb #snan_bit,2(%sp) |test for snan
117 btstb #ovfl_bit,2(%sp) |test for ovfl
124 btstb #unfl_bit,2(%sp) |test for unfl
145 bclrb #E3,E_BYTE(%a6) |clear and test E3 flag
154 bsrl b1238_fix |test for bug1238 case
182 bclrb #E3,E_BYTE(%a6) |clear and test E3 flag
208 bclrb #E3,E_BYTE(%a6) |clear and test E3 flag
H A Dgen_except.S58 cmpib #IDLE_SIZE-4,1(%a7) |test for idle frame
60 cmpib #UNIMP_40_SIZE-4,1(%a7) |test for orig unimp frame
62 cmpib #UNIMP_41_SIZE-4,1(%a7) |test for rev unimp frame
102 cmpib #UNIMP_40_SIZE-4,1(%a7) |test for orig unimp frame
107 cmpib #UNIMP_41_SIZE-4,1(%a7) |test for rev unimp frame
143 btstb #5,CMDREG1B(%a6) |test for fmove out
155 bfffo %d0{#24:#8},%d1 |test for first set bit
179 tstb UFLG_TMP(%a6) |test flag for unsup/unimp state
225 tstb UFLG_TMP(%a6) |test flag for unsupp/unimp state
257 tstb UFLG_TMP(%a6) |test fla
[all...]
/linux-master/arch/parisc/kernel/
H A Dperf.c294 uint32_t test; local
312 /* Get the interface type and test type */
314 test = (image_type & 0xffff);
329 (test >= MAX_CUDA_IMAGES)) ||
331 (test >= MAX_ONYX_IMAGES)))
336 return perf_config(cuda_images[test]);
338 return perf_config(onyx_images[test]);
/linux-master/samples/bpf/
H A Dmap_perf_test_user.c104 /* Populate the lru_hash_map for LRU_HASH_LOOKUP perf test.
120 static void do_test_lru(enum test_type test, int cpu) argument
129 if (test == INNER_LRU_HASH_PREALLOC && cpu) {
171 if (test == LRU_HASH_PREALLOC) {
174 } else if (test == NOCOMMON_LRU_HASH_PREALLOC) {
177 } else if (test == INNER_LRU_HASH_PREALLOC) {
180 } else if (test == LRU_HASH_LOOKUP) {
411 /* Only change the max_entries for the enabled test(s) */

Completed in 187 milliseconds

<<11121314151617181920>>