Searched refs:test (Results 301 - 325 of 687) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/net/wireless/mediatek/mt76/
H A Dtestmode.c33 struct mt76_testmode_data *td = &phy->test;
95 struct mt76_testmode_data *td = &phy->test;
106 struct mt76_testmode_data *td = &phy->test;
180 struct mt76_testmode_data *td = &phy->test;
272 struct mt76_testmode_data *td = &phy->test;
284 struct mt76_testmode_data *td = &phy->test;
314 struct mt76_testmode_data *td = &phy->test;
332 enum mt76_testmode_state prev_state = phy->test.state;
356 memset(&phy->test.rx_stats, 0, sizeof(phy->test
[all...]
/linux-master/drivers/net/ethernet/intel/ixgbevf/
H A Dethtool.c69 "Register test (offline)",
70 "Link test (on/offline)"
562 /* ethtool register test data */
588 /* default VF register test */
622 "pattern test reg %04X failed: got 0x%08X expected 0x%08X\n",
647 pr_err("set/check reg %04X test failed: got 0x%08X expected 0x%08X\n",
659 const struct ixgbevf_reg_test *test; local
664 "Adapter removed - register test blocked\n");
668 test = reg_test_vf;
670 /* Perform the register test, loopin
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dalign.c266 /* Now, test in the other direction. Adding first
602 static int do_test_single(struct bpf_align_test *test) argument
604 struct bpf_insn *prog = test->insns;
605 int prog_type = test->prog_type;
622 if (fd_prog < 0 && test->result != REJECT) {
626 } else if (fd_prog >= 0 && test->result == REJECT) {
637 struct bpf_reg_match m = test->matches[i];
696 struct bpf_align_test *test = &tests[i]; local
698 if (!test__start_subtest(test->descr))
701 ASSERT_OK(do_test_single(test), tes
[all...]
H A Dbtf.c105 .descr = "struct test #1",
157 .descr = "struct test #2",
198 .descr = "struct test #3 Invalid member offset",
234 .descr = "global data test #1",
274 .descr = "global data test #2",
309 .descr = "global data test #3",
331 .descr = "global data test #4, unsupported linkage",
355 .descr = "global data test #5, invalid var type",
377 .descr = "global data test #6, invalid var type (fwd type)",
402 .descr = "global data test #
4350 struct btf_raw_test *test = &raw_tests[test_num - 1]; local
4477 const struct btf_get_info_test *test = &get_info_tests[test_num - 1]; local
4560 const struct btf_get_info_test *test = &get_info_tests[test_num - 1]; local
4683 const struct btf_get_info_test *test = &get_info_tests[test_num - 1]; local
4779 const struct btf_file_test *test = &file_tests[test_num - 1]; local
5412 const struct btf_raw_test *test = &pprint_test_template[test_num]; local
6489 test_get_finfo(const struct prog_info_raw_test *test, int prog_fd) argument
6570 test_get_linfo(const struct prog_info_raw_test *test, const void *patched_linfo, __u32 cnt, int prog_fd) argument
6790 const struct prog_info_raw_test *test = &info_raw_tests[test_num - 1]; local
8034 struct btf_dedup_test *test = &dedup_tests[test_num - 1]; local
[all...]
H A Dusdt.c32 STAP_PROBE(test, usdt0);
34 STAP_PROBE3(test, usdt3, x, y, &bla);
36 STAP_PROBE12(test, usdt12,
65 "test", "usdt0", &opts);
132 "/proc/self/exe", "test", "usdt3", &opts);
166 STAP_PROBE1(test, usdt_100, x);
174 /* we shouldn't be able to attach to test:usdt2_300 USDT as we don't have as
181 STAP_PROBE1(test, usdt_300, x);
193 STAP_PROBE1(test, usdt_400, 400);
236 /* Stress test fre
[all...]
/linux-master/tools/perf/tests/
H A Dbuiltin-test.c3 * builtin-test.c
38 * Command line option to not fork the test running in the same process and
226 struct test_suite *test; member in struct:child_test
237 pr_debug("test child forked, pid %d\n", getpid());
238 err = test_function(child->test, child->subtest)(child->test, child->subtest);
277 struct test_suite *t = child_test->test;
286 * For test suites with subtests, display the suite name ahead of the
287 * sub test names.
333 /* Add header for test tha
347 start_test(struct test_suite *test, int i, int subi, struct child_test **child, int width) argument
[all...]
H A Dcpumap.c103 static int test__cpu_map_synthesize(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
147 static int test__cpu_map_print(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
159 static int test__cpu_map_merge(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
190 static int test__cpu_map_intersect(struct test_suite *test __maybe_unused,
214 static int test__cpu_map_equal(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
H A Dthread-map.c23 static int test__thread_map(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
30 /* test map on current pid */
46 /* test dummy pid */
90 static int test__thread_map_synthesize(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
97 /* test map on current pid */
110 static int test__thread_map_remove(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
/linux-master/security/landlock/
H A Dfs.c13 #include <kunit/test.h>
478 #define NMA_TRUE(...) KUNIT_EXPECT_TRUE(test, no_more_access(__VA_ARGS__))
479 #define NMA_FALSE(...) KUNIT_EXPECT_FALSE(test, no_more_access(__VA_ARGS__))
483 static void test_no_more_access(struct kunit *const test) argument
613 static void test_scope_to_request_with_exec_none(struct kunit *const test) argument
619 KUNIT_EXPECT_TRUE(test, scope_to_request(LANDLOCK_ACCESS_FS_EXECUTE,
621 KUNIT_EXPECT_EQ(test, 0,
623 KUNIT_EXPECT_EQ(test, 0,
627 static void test_scope_to_request_with_exec_some(struct kunit *const test) argument
636 KUNIT_EXPECT_FALSE(test, scope_to_reques
644 test_scope_to_request_without_access(struct kunit *const test) argument
690 test_is_eacces_with_none(struct kunit *const test) argument
700 test_is_eacces_with_refer(struct kunit *const test) argument
712 test_is_eacces_with_write(struct kunit *const test) argument
[all...]
/linux-master/tools/testing/selftests/kvm/s390x/
H A Dmemop.c264 /* Guest set storage keys (specifics up to test case) */
266 /* Guest copied memory (locations up to test case) */
323 static void default_cmpxchg(struct test_default *test, uint8_t key) argument
332 default_write_read(test->vcpu, test->vcpu, LOGICAL, 16, NO_KEY);
335 MOP(test->vm, ABSOLUTE, CMPXCHG, new + offset,
339 HOST_SYNC(test->vcpu, STAGE_COPIED);
340 MOP(test->vm, ABSOLUTE, READ, mem2, 16, GADDR_V(mem2));
348 MOP(test->vm, ABSOLUTE, CMPXCHG, new + offset,
352 HOST_SYNC(test
[all...]
H A Ddebug_test.c140 void (*test)(void); member in struct:testdef
156 testlist[idx].test();
/linux-master/drivers/gpu/drm/tests/
H A Ddrm_framebuffer_test.c8 #include <kunit/test.h>
333 static int drm_framebuffer_test_init(struct kunit *test) argument
337 mock = kunit_kzalloc(test, sizeof(*mock), GFP_KERNEL);
338 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, mock);
346 test->priv = mock;
350 static void drm_test_framebuffer_create(struct kunit *test) argument
352 const struct drm_framebuffer_test *params = test->param_value;
353 struct drm_device *mock = test->priv;
358 KUNIT_EXPECT_EQ(test, params->buffer_created, buffer_created);
/linux-master/tools/testing/selftests/net/
H A Dreuseport_bpf_cpu.c184 static void test(int *rcv_fd, int len, int family, int proto) function
244 test(rcv_fd, cpus, AF_INET, SOCK_DGRAM);
247 test(rcv_fd, cpus, AF_INET6, SOCK_DGRAM);
250 test(rcv_fd, cpus, AF_INET, SOCK_STREAM);
253 test(rcv_fd, cpus, AF_INET6, SOCK_STREAM);
H A Dreuseport_bpf_numa.c3 * Test functionality of BPF filters with SO_REUSEPORT. Same test as
194 static void test(int *rcv_fd, int len, int family, int proto) function
247 test(rcv_fd, nodes, AF_INET, SOCK_DGRAM);
250 test(rcv_fd, nodes, AF_INET6, SOCK_DGRAM);
253 test(rcv_fd, nodes, AF_INET, SOCK_STREAM);
256 test(rcv_fd, nodes, AF_INET6, SOCK_STREAM);
/linux-master/drivers/net/wireless/ti/wl12xx/
H A Dcmd.c29 ext_radio_parms->test.id = TEST_CMD_INI_FILE_RF_EXTENDED_PARAM;
70 gen_parms->test.id = TEST_CMD_INI_FILE_GENERAL_PARAM;
137 gen_parms->test.id = TEST_CMD_INI_FILE_GENERAL_PARAM;
198 radio_parms->test.id = TEST_CMD_INI_FILE_RADIO_PARAM;
242 radio_parms->test.id = TEST_CMD_INI_FILE_RADIO_PARAM;
/linux-master/drivers/hid/
H A Dhid-uclogic-rdesc-test.c9 #include <kunit/test.h>
190 static void hid_test_uclogic_template(struct kunit *test) argument
193 const struct uclogic_template_case *params = test->param_value;
199 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, res);
200 KUNIT_EXPECT_MEMEQ(test, res, params->expected, params->template_size);
/linux-master/net/bpf/
H A Dbpf_dummy_struct_ops.c35 size_in = kattr->test.ctx_size_in;
43 ctx_in = u64_to_user_ptr(kattr->test.ctx_in);
72 dummy_ops_test_ret_fn test = (void *)image + cfi_get_offset(); local
78 return test(state, args->args[1], args->args[2],
193 if (put_user(prog_ret, &uattr->test.retval))
/linux-master/tools/testing/selftests/x86/
H A Dtest_FCOMI.c36 int test(long flags) function
312 err |= test(0);
316 err |= test(CF|ZF|PF);
/linux-master/tools/testing/selftests/powerpc/mm/
H A Dstack_expansion_ldst.c6 * Based on test code by Tom Lane.
171 static int test(void) function
195 return test_harness(test, "stack_expansion_ldst");
200 return test();
/linux-master/arch/x86/math-emu/
H A Dwm_shrx.S138 orl %ebx,%ebx /* test these 32 bits */
140 test $0x7fffffff,%eax /* and 31 bits here */
159 test $0x7fffffff,%eax /* only need to look at eax here */
182 test $0x7fffffff,%eax /* only need to look at eax here */
/linux-master/tools/lib/bpf/
H A Dskel_internal.h312 const size_t test_run_attr_sz = offsetofend(union bpf_attr, test);
349 attr.test.prog_fd = prog_fd;
350 attr.test.ctx_in = (long) opts->ctx;
351 attr.test.ctx_size_in = opts->ctx->sz;
353 if (err < 0 || (int)attr.test.retval < 0) {
358 err = (int)attr.test.retval;
/linux-master/kernel/trace/
H A Dtrace_events_trigger.c570 struct event_trigger_data *test; local
575 list_for_each_entry(test, &file->triggers, list) {
576 if (test->cmd_ops->trigger_type == data->cmd_ops->trigger_type) {
604 struct event_trigger_data *test,
612 if (iter->cmd_ops->trigger_type == test->cmd_ops->trigger_type) {
634 * @test: Trigger-specific data used to find the trigger to remove
643 struct event_trigger_data *test,
646 try_unregister_trigger(glob, test, file);
1167 * @test: The trigger data to test
603 try_unregister_trigger(char *glob, struct event_trigger_data *test, struct trace_event_file *file) argument
642 unregister_trigger(char *glob, struct event_trigger_data *test, struct trace_event_file *file) argument
1171 is_named_trigger(struct event_trigger_data *test) argument
1215 struct event_trigger_data *test; local
1878 struct event_trigger_data *test; local
1912 event_enable_unregister_trigger(char *glob, struct event_trigger_data *test, struct trace_event_file *file) argument
[all...]
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Ddebug.h110 #define brcmf_dbg_hex_dump(test, data, len, fmt, ...) \
113 if (test) \
/linux-master/tools/testing/selftests/efivarfs/
H A Defivarfs.sh33 local test="$1"
36 echo "running $test"
39 if [ "$(type -t $test)" = 'function' ]; then
40 ( $test )
42 ( ./$test )
119 # test that we can remove a variable by issuing a write with only
148 # test that we can create a range of filenames
/linux-master/samples/bpf/
H A Dsyscall_tp_user.c21 printf(" -i nr_tests # rounds of test to run\n");
48 static int test(char *filename, int nr_tests) function
154 return test(filename, nr_tests);

Completed in 385 milliseconds

<<11121314151617181920>>